openapi: 3.1.0 info: title: 'Amazon DataSync REST Amazon DataSync REST API #DescribeTask API' description: AWS DataSync is an online data transfer service that simplifies, automates, and accelerates moving data between on-premises storage systems and AWS storage services. This API enables management of transfer tasks, source and destination locations, agents, and task executions. version: '2018-11-09' contact: name: AWS Support url: https://aws.amazon.com/premiumsupport/ license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html termsOfService: https://aws.amazon.com/service-terms/ x-logo: url: https://a0.awsstatic.com/libra-css/images/logos/aws_logo_smile_1200x630.png servers: - url: https://datasync.{region}.amazonaws.com description: Amazon DataSync regional endpoint variables: region: default: us-east-1 description: AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - eu-west-1 - eu-west-2 - eu-central-1 - ap-northeast-1 - ap-southeast-1 - ap-southeast-2 - ap-south-1 - sa-east-1 security: - sigv4: [] tags: - name: '#DescribeTask' paths: /#DescribeTask: post: summary: Amazon DataSync Describe Task description: Provides information about a DataSync transfer task. operationId: describeTask requestBody: required: true content: application/x-amz-json-1.1: schema: $ref: '#/components/schemas/DescribeTaskRequest' responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/DescribeTaskResponse' x-amz-target: FmrsService.DescribeTask tags: - '#DescribeTask' components: schemas: DescribeTaskResponse: type: object properties: TaskArn: type: string Status: type: string Name: type: string SourceLocationArn: type: string DestinationLocationArn: type: string Options: $ref: '#/components/schemas/Options' DescribeTaskRequest: type: object required: - TaskArn properties: TaskArn: type: string Options: type: object properties: VerifyMode: type: string enum: - POINT_IN_TIME_CONSISTENT - ONLY_FILES_TRANSFERRED - NONE OverwriteMode: type: string enum: - ALWAYS - NEVER Atime: type: string enum: - NONE - BEST_EFFORT Mtime: type: string enum: - NONE - PRESERVE PreserveDeletedFiles: type: string enum: - PRESERVE - REMOVE TransferMode: type: string enum: - CHANGED - ALL LogLevel: type: string enum: - false - BASIC - TRANSFER securitySchemes: sigv4: type: apiKey name: Authorization in: header description: AWS Signature Version 4 externalDocs: description: Amazon DataSync API Reference url: https://docs.aws.amazon.com/datasync/latest/userguide/API_Reference.html