Skip to content

Commit c86827e

Browse files
author
awstools
committed
feat(client-datasync): AWS DataSync now supports Enhanced mode tasks. This task mode supports transfer of virtually unlimited numbers of objects with enhanced metrics, more detailed logs, and higher performance than Basic mode. This mode currently supports transfers between Amazon S3 locations.
1 parent 09bd2fa commit c86827e

File tree

11 files changed

+621
-217
lines changed

11 files changed

+621
-217
lines changed

clients/client-datasync/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Guide</a>
1919

2020
## Installing
2121

22-
To install the this package, simply type add or install @aws-sdk/client-datasync
22+
To install this package, simply type add or install @aws-sdk/client-datasync
2323
using your favorite package manager:
2424

2525
- `npm install @aws-sdk/client-datasync`

clients/client-datasync/src/commands/CreateAgentCommand.ts

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,10 @@ export interface CreateAgentCommandInput extends CreateAgentRequest {}
2828
export interface CreateAgentCommandOutput extends CreateAgentResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Activates an DataSync agent that you've deployed in your storage
32-
* environment. The activation process associates the agent with your Amazon Web Services account.</p>
33-
* <p>If you haven't deployed an agent yet, see the following topics to learn more:</p>
34-
* <ul>
35-
* <li>
36-
* <p>
37-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/agent-requirements.html">Agent requirements</a>
38-
* </p>
39-
* </li>
40-
* <li>
41-
* <p>
42-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/configure-agent.html">Create an agent</a>
43-
* </p>
44-
* </li>
45-
* </ul>
46-
* <note>
47-
* <p>If you're transferring between Amazon Web Services storage services, you don't need a
48-
* DataSync agent. </p>
49-
* </note>
31+
* <p>Activates an DataSync agent that you deploy in your storage environment.
32+
* The activation process associates the agent with your Amazon Web Services account.</p>
33+
* <p>If you haven't deployed an agent yet, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/do-i-need-datasync-agent.html">Do I need a DataSync agent?</a>
34+
* </p>
5035
* @example
5136
* Use a bare-bones client and the command you need to make an API call.
5237
* ```javascript

clients/client-datasync/src/commands/CreateTaskCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ export interface CreateTaskCommandOutput extends CreateTaskResponse, __MetadataB
125125
* },
126126
* },
127127
* },
128+
* TaskMode: "BASIC" || "ENHANCED",
128129
* };
129130
* const command = new CreateTaskCommand(input);
130131
* const response = await client.send(command);

clients/client-datasync/src/commands/DescribeTaskCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ export interface DescribeTaskCommandOutput extends DescribeTaskResponse, __Metad
133133
* // DisabledReason: "STRING_VALUE",
134134
* // DisabledBy: "USER" || "SERVICE",
135135
* // },
136+
* // TaskMode: "BASIC" || "ENHANCED",
136137
* // };
137138
*
138139
* ```

clients/client-datasync/src/commands/DescribeTaskExecutionCommand.ts

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,13 @@ export interface DescribeTaskExecutionCommandOutput extends DescribeTaskExecutio
2929

3030
/**
3131
* <p>Provides information about an execution of your DataSync task. You can
32-
* use this operation to help monitor the progress of an ongoing transfer or check the results of
33-
* the transfer.</p>
32+
* use this operation to help monitor the progress of an ongoing data transfer or check the
33+
* results of the transfer.</p>
34+
* <note>
35+
* <p>Some <code>DescribeTaskExecution</code> response elements are only relevant to a
36+
* specific task mode. For information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html#task-mode-differences">Understanding task mode differences</a> and <a href="https://docs.aws.amazon.com/datasync/latest/userguide/transfer-performance-metrics.html">Understanding data
37+
* transfer performance metrics</a>.</p>
38+
* </note>
3439
* @example
3540
* Use a bare-bones client and the command you need to make an API call.
3641
* ```javascript
@@ -139,6 +144,18 @@ export interface DescribeTaskExecutionCommandOutput extends DescribeTaskExecutio
139144
* // ErrorDetail: "STRING_VALUE",
140145
* // },
141146
* // EstimatedFilesToDelete: Number("long"),
147+
* // TaskMode: "BASIC" || "ENHANCED",
148+
* // FilesPrepared: Number("long"),
149+
* // FilesListed: { // TaskExecutionFilesListedDetail
150+
* // AtSource: Number("long"),
151+
* // AtDestinationForDelete: Number("long"),
152+
* // },
153+
* // FilesFailed: { // TaskExecutionFilesFailedDetail
154+
* // Prepare: Number("long"),
155+
* // Transfer: Number("long"),
156+
* // Verify: Number("long"),
157+
* // Delete: Number("long"),
158+
* // },
142159
* // };
143160
*
144161
* ```

clients/client-datasync/src/commands/ListTaskExecutionsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export interface ListTaskExecutionsCommandOutput extends ListTaskExecutionsRespo
4747
* // { // TaskExecutionListEntry
4848
* // TaskExecutionArn: "STRING_VALUE",
4949
* // Status: "QUEUED" || "CANCELLING" || "LAUNCHING" || "PREPARING" || "TRANSFERRING" || "VERIFYING" || "SUCCESS" || "ERROR",
50+
* // TaskMode: "BASIC" || "ENHANCED",
5051
* // },
5152
* // ],
5253
* // NextToken: "STRING_VALUE",

clients/client-datasync/src/commands/ListTasksCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea
5656
* // TaskArn: "STRING_VALUE",
5757
* // Status: "AVAILABLE" || "CREATING" || "QUEUED" || "RUNNING" || "UNAVAILABLE",
5858
* // Name: "STRING_VALUE",
59+
* // TaskMode: "BASIC" || "ENHANCED",
5960
* // },
6061
* // ],
6162
* // NextToken: "STRING_VALUE",

clients/client-datasync/src/commands/StartTaskExecutionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface StartTaskExecutionCommandOutput extends StartTaskExecutionRespo
3030
/**
3131
* <p>Starts an DataSync transfer task. For each task, you can only run one task
3232
* execution at a time.</p>
33-
* <p>There are several phases to a task execution. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#understand-task-execution-statuses">Task execution statuses</a>.</p>
33+
* <p>There are several steps to a task execution. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#understand-task-execution-statuses">Task execution statuses</a>.</p>
3434
* <important>
3535
* <p>If you're planning to transfer data to or from an Amazon S3 location, review
3636
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-s3-requests">how

0 commit comments

Comments
 (0)