@aws-sdk/client-datasync 3.128.0 → 3.137.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/commands/CancelTaskExecutionCommand.js +2 -2
- package/dist-cjs/commands/CreateAgentCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationEfsCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationFsxLustreCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationFsxOntapCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationFsxOpenZfsCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationFsxWindowsCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationHdfsCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationNfsCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationObjectStorageCommand.js +2 -2
- package/dist-cjs/commands/CreateLocationS3Command.js +2 -2
- package/dist-cjs/commands/CreateLocationSmbCommand.js +2 -2
- package/dist-cjs/commands/CreateTaskCommand.js +2 -2
- package/dist-cjs/commands/DeleteAgentCommand.js +2 -2
- package/dist-cjs/commands/DeleteLocationCommand.js +2 -2
- package/dist-cjs/commands/DeleteTaskCommand.js +2 -2
- package/dist-cjs/commands/DescribeAgentCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationEfsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationFsxLustreCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationFsxOntapCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationFsxOpenZfsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationFsxWindowsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationHdfsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationNfsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationObjectStorageCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationS3Command.js +2 -2
- package/dist-cjs/commands/DescribeLocationSmbCommand.js +2 -2
- package/dist-cjs/commands/DescribeTaskCommand.js +2 -2
- package/dist-cjs/commands/DescribeTaskExecutionCommand.js +2 -2
- package/dist-cjs/commands/ListAgentsCommand.js +2 -2
- package/dist-cjs/commands/ListLocationsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListTaskExecutionsCommand.js +2 -2
- package/dist-cjs/commands/ListTasksCommand.js +2 -2
- package/dist-cjs/commands/StartTaskExecutionCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateAgentCommand.js +2 -2
- package/dist-cjs/commands/UpdateLocationHdfsCommand.js +2 -2
- package/dist-cjs/commands/UpdateLocationNfsCommand.js +2 -2
- package/dist-cjs/commands/UpdateLocationObjectStorageCommand.js +2 -2
- package/dist-cjs/commands/UpdateLocationSmbCommand.js +2 -2
- package/dist-cjs/commands/UpdateTaskCommand.js +2 -2
- package/dist-cjs/commands/UpdateTaskExecutionCommand.js +2 -2
- package/dist-cjs/models/models_0.js +454 -674
- package/dist-cjs/protocols/Aws_json1_1.js +3 -0
- package/dist-es/commands/CancelTaskExecutionCommand.js +3 -3
- package/dist-es/commands/CreateAgentCommand.js +3 -3
- package/dist-es/commands/CreateLocationEfsCommand.js +3 -3
- package/dist-es/commands/CreateLocationFsxLustreCommand.js +3 -3
- package/dist-es/commands/CreateLocationFsxOntapCommand.js +3 -3
- package/dist-es/commands/CreateLocationFsxOpenZfsCommand.js +3 -3
- package/dist-es/commands/CreateLocationFsxWindowsCommand.js +3 -3
- package/dist-es/commands/CreateLocationHdfsCommand.js +3 -3
- package/dist-es/commands/CreateLocationNfsCommand.js +3 -3
- package/dist-es/commands/CreateLocationObjectStorageCommand.js +3 -3
- package/dist-es/commands/CreateLocationS3Command.js +3 -3
- package/dist-es/commands/CreateLocationSmbCommand.js +3 -3
- package/dist-es/commands/CreateTaskCommand.js +3 -3
- package/dist-es/commands/DeleteAgentCommand.js +3 -3
- package/dist-es/commands/DeleteLocationCommand.js +3 -3
- package/dist-es/commands/DeleteTaskCommand.js +3 -3
- package/dist-es/commands/DescribeAgentCommand.js +3 -3
- package/dist-es/commands/DescribeLocationEfsCommand.js +3 -3
- package/dist-es/commands/DescribeLocationFsxLustreCommand.js +3 -3
- package/dist-es/commands/DescribeLocationFsxOntapCommand.js +3 -3
- package/dist-es/commands/DescribeLocationFsxOpenZfsCommand.js +3 -3
- package/dist-es/commands/DescribeLocationFsxWindowsCommand.js +3 -3
- package/dist-es/commands/DescribeLocationHdfsCommand.js +3 -3
- package/dist-es/commands/DescribeLocationNfsCommand.js +3 -3
- package/dist-es/commands/DescribeLocationObjectStorageCommand.js +3 -3
- package/dist-es/commands/DescribeLocationS3Command.js +3 -3
- package/dist-es/commands/DescribeLocationSmbCommand.js +3 -3
- package/dist-es/commands/DescribeTaskCommand.js +3 -3
- package/dist-es/commands/DescribeTaskExecutionCommand.js +3 -3
- package/dist-es/commands/ListAgentsCommand.js +3 -3
- package/dist-es/commands/ListLocationsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListTaskExecutionsCommand.js +3 -3
- package/dist-es/commands/ListTasksCommand.js +3 -3
- package/dist-es/commands/StartTaskExecutionCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateAgentCommand.js +3 -3
- package/dist-es/commands/UpdateLocationHdfsCommand.js +3 -3
- package/dist-es/commands/UpdateLocationNfsCommand.js +3 -3
- package/dist-es/commands/UpdateLocationObjectStorageCommand.js +3 -3
- package/dist-es/commands/UpdateLocationSmbCommand.js +3 -3
- package/dist-es/commands/UpdateTaskCommand.js +3 -3
- package/dist-es/commands/UpdateTaskExecutionCommand.js +3 -3
- package/dist-es/models/models_0.js +110 -440
- package/dist-es/protocols/Aws_json1_1.js +3 -0
- package/dist-types/DataSync.d.ts +22 -20
- package/dist-types/commands/CreateTaskCommand.d.ts +21 -19
- package/dist-types/commands/ListTasksCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +522 -689
- package/dist-types/ts3.4/models/models_0.d.ts +220 -440
- package/package.json +9 -9
|
@@ -3934,6 +3934,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
3934
3934
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
3935
3935
|
var sanitizeErrorCode = function (rawValue) {
|
|
3936
3936
|
var cleanValue = rawValue;
|
|
3937
|
+
if (typeof cleanValue === "number") {
|
|
3938
|
+
cleanValue = cleanValue.toString();
|
|
3939
|
+
}
|
|
3937
3940
|
if (cleanValue.indexOf(":") >= 0) {
|
|
3938
3941
|
cleanValue = cleanValue.split(":")[0];
|
|
3939
3942
|
}
|
package/dist-types/DataSync.d.ts
CHANGED
|
@@ -158,25 +158,27 @@ export declare class DataSync extends DataSyncClient {
|
|
|
158
158
|
createLocationSmb(args: CreateLocationSmbCommandInput, cb: (err: any, data?: CreateLocationSmbCommandOutput) => void): void;
|
|
159
159
|
createLocationSmb(args: CreateLocationSmbCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationSmbCommandOutput) => void): void;
|
|
160
160
|
/**
|
|
161
|
-
* <p>
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
* <
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
161
|
+
* <p>Configures a task, which defines where and how DataSync transfers your
|
|
162
|
+
* data.</p>
|
|
163
|
+
* <p>A task includes a source location, a destination location, and the preferences for how and
|
|
164
|
+
* when you want to transfer your data (such as bandwidth limits, scheduling, among other
|
|
165
|
+
* options).</p>
|
|
166
|
+
* <p>When you create a task that transfers data between Amazon Web Services services in
|
|
167
|
+
* different Amazon Web Services Regions, one of your locations must reside in the Region where
|
|
168
|
+
* you're using DataSync.</p>
|
|
169
|
+
* <p>For more information, see the following topics:</p>
|
|
170
|
+
* <ul>
|
|
171
|
+
* <li>
|
|
172
|
+
* <p>
|
|
173
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html">Working with DataSync locations</a>
|
|
174
|
+
* </p>
|
|
175
|
+
* </li>
|
|
176
|
+
* <li>
|
|
177
|
+
* <p>
|
|
178
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html">Configure DataSync task settings</a>
|
|
179
|
+
* </p>
|
|
180
|
+
* </li>
|
|
181
|
+
* </ul>
|
|
180
182
|
*/
|
|
181
183
|
createTask(args: CreateTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateTaskCommandOutput>;
|
|
182
184
|
createTask(args: CreateTaskCommandInput, cb: (err: any, data?: CreateTaskCommandOutput) => void): void;
|
|
@@ -321,7 +323,7 @@ export declare class DataSync extends DataSyncClient {
|
|
|
321
323
|
listTaskExecutions(args: ListTaskExecutionsCommandInput, cb: (err: any, data?: ListTaskExecutionsCommandOutput) => void): void;
|
|
322
324
|
listTaskExecutions(args: ListTaskExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTaskExecutionsCommandOutput) => void): void;
|
|
323
325
|
/**
|
|
324
|
-
* <p>Returns a list of
|
|
326
|
+
* <p>Returns a list of the DataSync tasks you created.</p>
|
|
325
327
|
*/
|
|
326
328
|
listTasks(args: ListTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListTasksCommandOutput>;
|
|
327
329
|
listTasks(args: ListTasksCommandInput, cb: (err: any, data?: ListTasksCommandOutput) => void): void;
|
|
@@ -7,25 +7,27 @@ export interface CreateTaskCommandInput extends CreateTaskRequest {
|
|
|
7
7
|
export interface CreateTaskCommandOutput extends CreateTaskResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* <
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
10
|
+
* <p>Configures a task, which defines where and how DataSync transfers your
|
|
11
|
+
* data.</p>
|
|
12
|
+
* <p>A task includes a source location, a destination location, and the preferences for how and
|
|
13
|
+
* when you want to transfer your data (such as bandwidth limits, scheduling, among other
|
|
14
|
+
* options).</p>
|
|
15
|
+
* <p>When you create a task that transfers data between Amazon Web Services services in
|
|
16
|
+
* different Amazon Web Services Regions, one of your locations must reside in the Region where
|
|
17
|
+
* you're using DataSync.</p>
|
|
18
|
+
* <p>For more information, see the following topics:</p>
|
|
19
|
+
* <ul>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>
|
|
22
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html">Working with DataSync locations</a>
|
|
23
|
+
* </p>
|
|
24
|
+
* </li>
|
|
25
|
+
* <li>
|
|
26
|
+
* <p>
|
|
27
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html">Configure DataSync task settings</a>
|
|
28
|
+
* </p>
|
|
29
|
+
* </li>
|
|
30
|
+
* </ul>
|
|
29
31
|
* @example
|
|
30
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
33
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface ListTasksCommandInput extends ListTasksRequest {
|
|
|
7
7
|
export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns a list of
|
|
10
|
+
* <p>Returns a list of the DataSync tasks you created.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|