@aws-sdk/client-datasync 3.369.0 → 3.377.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/README.md +27 -3
- package/dist-cjs/DataSync.js +6 -0
- package/dist-cjs/commands/CreateLocationAzureBlobCommand.js +47 -0
- package/dist-cjs/commands/DescribeLocationAzureBlobCommand.js +46 -0
- package/dist-cjs/commands/UpdateLocationAzureBlobCommand.js +47 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +28 -2
- package/dist-cjs/protocols/Aws_json1_1.js +146 -3
- package/dist-es/DataSync.js +6 -0
- package/dist-es/commands/CreateLocationAzureBlobCommand.js +43 -0
- package/dist-es/commands/DescribeLocationAzureBlobCommand.js +42 -0
- package/dist-es/commands/UpdateLocationAzureBlobCommand.js +43 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +23 -0
- package/dist-es/protocols/Aws_json1_1.js +137 -0
- package/dist-types/DataSync.d.ts +24 -3
- package/dist-types/DataSyncClient.d.ts +8 -5
- package/dist-types/commands/CreateAgentCommand.d.ts +19 -12
- package/dist-types/commands/CreateLocationAzureBlobCommand.d.ts +98 -0
- package/dist-types/commands/CreateLocationNfsCommand.d.ts +2 -2
- package/dist-types/commands/CreateLocationSmbCommand.d.ts +3 -1
- package/dist-types/commands/DescribeLocationAzureBlobCommand.d.ts +88 -0
- package/dist-types/commands/DescribeStorageSystemResourcesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +2 -1
- package/dist-types/commands/UpdateLocationAzureBlobCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +295 -87
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/DataSync.d.ts +51 -0
- package/dist-types/ts3.4/DataSyncClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateLocationAzureBlobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeLocationAzureBlobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateLocationAzureBlobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +66 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +16 -17
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { CreateLocationAzureBlobRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_CreateLocationAzureBlobCommand, se_CreateLocationAzureBlobCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateLocationAzureBlobCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateLocationAzureBlobCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "DataSyncClient";
|
|
26
|
+
const commandName = "CreateLocationAzureBlobCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: CreateLocationAzureBlobRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_CreateLocationAzureBlobCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_CreateLocationAzureBlobCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DescribeLocationAzureBlobCommand, se_DescribeLocationAzureBlobCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeLocationAzureBlobCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeLocationAzureBlobCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DataSyncClient";
|
|
25
|
+
const commandName = "DescribeLocationAzureBlobCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DescribeLocationAzureBlobCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DescribeLocationAzureBlobCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { UpdateLocationAzureBlobRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_UpdateLocationAzureBlobCommand, se_UpdateLocationAzureBlobCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateLocationAzureBlobCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateLocationAzureBlobCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "DataSyncClient";
|
|
26
|
+
const commandName = "UpdateLocationAzureBlobCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: UpdateLocationAzureBlobRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_UpdateLocationAzureBlobCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_UpdateLocationAzureBlobCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AddStorageSystemCommand";
|
|
2
2
|
export * from "./CancelTaskExecutionCommand";
|
|
3
3
|
export * from "./CreateAgentCommand";
|
|
4
|
+
export * from "./CreateLocationAzureBlobCommand";
|
|
4
5
|
export * from "./CreateLocationEfsCommand";
|
|
5
6
|
export * from "./CreateLocationFsxLustreCommand";
|
|
6
7
|
export * from "./CreateLocationFsxOntapCommand";
|
|
@@ -17,6 +18,7 @@ export * from "./DeleteLocationCommand";
|
|
|
17
18
|
export * from "./DeleteTaskCommand";
|
|
18
19
|
export * from "./DescribeAgentCommand";
|
|
19
20
|
export * from "./DescribeDiscoveryJobCommand";
|
|
21
|
+
export * from "./DescribeLocationAzureBlobCommand";
|
|
20
22
|
export * from "./DescribeLocationEfsCommand";
|
|
21
23
|
export * from "./DescribeLocationFsxLustreCommand";
|
|
22
24
|
export * from "./DescribeLocationFsxOntapCommand";
|
|
@@ -48,6 +50,7 @@ export * from "./TagResourceCommand";
|
|
|
48
50
|
export * from "./UntagResourceCommand";
|
|
49
51
|
export * from "./UpdateAgentCommand";
|
|
50
52
|
export * from "./UpdateDiscoveryJobCommand";
|
|
53
|
+
export * from "./UpdateLocationAzureBlobCommand";
|
|
51
54
|
export * from "./UpdateLocationHdfsCommand";
|
|
52
55
|
export * from "./UpdateLocationNfsCommand";
|
|
53
56
|
export * from "./UpdateLocationObjectStorageCommand";
|
|
@@ -38,6 +38,17 @@ export const Atime = {
|
|
|
38
38
|
BEST_EFFORT: "BEST_EFFORT",
|
|
39
39
|
NONE: "NONE",
|
|
40
40
|
};
|
|
41
|
+
export const AzureAccessTier = {
|
|
42
|
+
ARCHIVE: "ARCHIVE",
|
|
43
|
+
COOL: "COOL",
|
|
44
|
+
HOT: "HOT",
|
|
45
|
+
};
|
|
46
|
+
export const AzureBlobAuthenticationType = {
|
|
47
|
+
SAS: "SAS",
|
|
48
|
+
};
|
|
49
|
+
export const AzureBlobType = {
|
|
50
|
+
BLOCK: "BLOCK",
|
|
51
|
+
};
|
|
41
52
|
export const EfsInTransitEncryption = {
|
|
42
53
|
NONE: "NONE",
|
|
43
54
|
TLS1_2: "TLS1_2",
|
|
@@ -231,6 +242,14 @@ export const AddStorageSystemRequestFilterSensitiveLog = (obj) => ({
|
|
|
231
242
|
...obj,
|
|
232
243
|
...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }),
|
|
233
244
|
});
|
|
245
|
+
export const AzureBlobSasConfigurationFilterSensitiveLog = (obj) => ({
|
|
246
|
+
...obj,
|
|
247
|
+
...(obj.Token && { Token: SENSITIVE_STRING }),
|
|
248
|
+
});
|
|
249
|
+
export const CreateLocationAzureBlobRequestFilterSensitiveLog = (obj) => ({
|
|
250
|
+
...obj,
|
|
251
|
+
...(obj.SasConfiguration && { SasConfiguration: AzureBlobSasConfigurationFilterSensitiveLog(obj.SasConfiguration) }),
|
|
252
|
+
});
|
|
234
253
|
export const FsxProtocolSmbFilterSensitiveLog = (obj) => ({
|
|
235
254
|
...obj,
|
|
236
255
|
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
@@ -267,6 +286,10 @@ export const DescribeLocationFsxOpenZfsResponseFilterSensitiveLog = (obj) => ({
|
|
|
267
286
|
...obj,
|
|
268
287
|
...(obj.Protocol && { Protocol: FsxProtocolFilterSensitiveLog(obj.Protocol) }),
|
|
269
288
|
});
|
|
289
|
+
export const UpdateLocationAzureBlobRequestFilterSensitiveLog = (obj) => ({
|
|
290
|
+
...obj,
|
|
291
|
+
...(obj.SasConfiguration && { SasConfiguration: AzureBlobSasConfigurationFilterSensitiveLog(obj.SasConfiguration) }),
|
|
292
|
+
});
|
|
270
293
|
export const UpdateLocationObjectStorageRequestFilterSensitiveLog = (obj) => ({
|
|
271
294
|
...obj,
|
|
272
295
|
...(obj.SecretKey && { SecretKey: SENSITIVE_STRING }),
|
|
@@ -28,6 +28,12 @@ export const se_CreateAgentCommand = async (input, context) => {
|
|
|
28
28
|
body = JSON.stringify(_json(input));
|
|
29
29
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
30
|
};
|
|
31
|
+
export const se_CreateLocationAzureBlobCommand = async (input, context) => {
|
|
32
|
+
const headers = sharedHeaders("CreateLocationAzureBlob");
|
|
33
|
+
let body;
|
|
34
|
+
body = JSON.stringify(_json(input));
|
|
35
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
|
+
};
|
|
31
37
|
export const se_CreateLocationEfsCommand = async (input, context) => {
|
|
32
38
|
const headers = sharedHeaders("CreateLocationEfs");
|
|
33
39
|
let body;
|
|
@@ -131,6 +137,12 @@ export const se_DescribeDiscoveryJobCommand = async (input, context) => {
|
|
|
131
137
|
}
|
|
132
138
|
return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body);
|
|
133
139
|
};
|
|
140
|
+
export const se_DescribeLocationAzureBlobCommand = async (input, context) => {
|
|
141
|
+
const headers = sharedHeaders("DescribeLocationAzureBlob");
|
|
142
|
+
let body;
|
|
143
|
+
body = JSON.stringify(_json(input));
|
|
144
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
145
|
+
};
|
|
134
146
|
export const se_DescribeLocationEfsCommand = async (input, context) => {
|
|
135
147
|
const headers = sharedHeaders("DescribeLocationEfs");
|
|
136
148
|
let body;
|
|
@@ -387,6 +399,12 @@ export const se_UpdateDiscoveryJobCommand = async (input, context) => {
|
|
|
387
399
|
}
|
|
388
400
|
return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body);
|
|
389
401
|
};
|
|
402
|
+
export const se_UpdateLocationAzureBlobCommand = async (input, context) => {
|
|
403
|
+
const headers = sharedHeaders("UpdateLocationAzureBlob");
|
|
404
|
+
let body;
|
|
405
|
+
body = JSON.stringify(_json(input));
|
|
406
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
407
|
+
};
|
|
390
408
|
export const se_UpdateLocationHdfsCommand = async (input, context) => {
|
|
391
409
|
const headers = sharedHeaders("UpdateLocationHdfs");
|
|
392
410
|
let body;
|
|
@@ -541,6 +559,41 @@ const de_CreateAgentCommandError = async (output, context) => {
|
|
|
541
559
|
});
|
|
542
560
|
}
|
|
543
561
|
};
|
|
562
|
+
export const de_CreateLocationAzureBlobCommand = async (output, context) => {
|
|
563
|
+
if (output.statusCode >= 300) {
|
|
564
|
+
return de_CreateLocationAzureBlobCommandError(output, context);
|
|
565
|
+
}
|
|
566
|
+
const data = await parseBody(output.body, context);
|
|
567
|
+
let contents = {};
|
|
568
|
+
contents = _json(data);
|
|
569
|
+
const response = {
|
|
570
|
+
$metadata: deserializeMetadata(output),
|
|
571
|
+
...contents,
|
|
572
|
+
};
|
|
573
|
+
return response;
|
|
574
|
+
};
|
|
575
|
+
const de_CreateLocationAzureBlobCommandError = async (output, context) => {
|
|
576
|
+
const parsedOutput = {
|
|
577
|
+
...output,
|
|
578
|
+
body: await parseErrorBody(output.body, context),
|
|
579
|
+
};
|
|
580
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
581
|
+
switch (errorCode) {
|
|
582
|
+
case "InternalException":
|
|
583
|
+
case "com.amazonaws.datasync#InternalException":
|
|
584
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
585
|
+
case "InvalidRequestException":
|
|
586
|
+
case "com.amazonaws.datasync#InvalidRequestException":
|
|
587
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
588
|
+
default:
|
|
589
|
+
const parsedBody = parsedOutput.body;
|
|
590
|
+
return throwDefaultError({
|
|
591
|
+
output,
|
|
592
|
+
parsedBody,
|
|
593
|
+
errorCode,
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
};
|
|
544
597
|
export const de_CreateLocationEfsCommand = async (output, context) => {
|
|
545
598
|
if (output.statusCode >= 300) {
|
|
546
599
|
return de_CreateLocationEfsCommandError(output, context);
|
|
@@ -1101,6 +1154,41 @@ const de_DescribeDiscoveryJobCommandError = async (output, context) => {
|
|
|
1101
1154
|
});
|
|
1102
1155
|
}
|
|
1103
1156
|
};
|
|
1157
|
+
export const de_DescribeLocationAzureBlobCommand = async (output, context) => {
|
|
1158
|
+
if (output.statusCode >= 300) {
|
|
1159
|
+
return de_DescribeLocationAzureBlobCommandError(output, context);
|
|
1160
|
+
}
|
|
1161
|
+
const data = await parseBody(output.body, context);
|
|
1162
|
+
let contents = {};
|
|
1163
|
+
contents = de_DescribeLocationAzureBlobResponse(data, context);
|
|
1164
|
+
const response = {
|
|
1165
|
+
$metadata: deserializeMetadata(output),
|
|
1166
|
+
...contents,
|
|
1167
|
+
};
|
|
1168
|
+
return response;
|
|
1169
|
+
};
|
|
1170
|
+
const de_DescribeLocationAzureBlobCommandError = async (output, context) => {
|
|
1171
|
+
const parsedOutput = {
|
|
1172
|
+
...output,
|
|
1173
|
+
body: await parseErrorBody(output.body, context),
|
|
1174
|
+
};
|
|
1175
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1176
|
+
switch (errorCode) {
|
|
1177
|
+
case "InternalException":
|
|
1178
|
+
case "com.amazonaws.datasync#InternalException":
|
|
1179
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1180
|
+
case "InvalidRequestException":
|
|
1181
|
+
case "com.amazonaws.datasync#InvalidRequestException":
|
|
1182
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1183
|
+
default:
|
|
1184
|
+
const parsedBody = parsedOutput.body;
|
|
1185
|
+
return throwDefaultError({
|
|
1186
|
+
output,
|
|
1187
|
+
parsedBody,
|
|
1188
|
+
errorCode,
|
|
1189
|
+
});
|
|
1190
|
+
}
|
|
1191
|
+
};
|
|
1104
1192
|
export const de_DescribeLocationEfsCommand = async (output, context) => {
|
|
1105
1193
|
if (output.statusCode >= 300) {
|
|
1106
1194
|
return de_DescribeLocationEfsCommandError(output, context);
|
|
@@ -2186,6 +2274,41 @@ const de_UpdateDiscoveryJobCommandError = async (output, context) => {
|
|
|
2186
2274
|
});
|
|
2187
2275
|
}
|
|
2188
2276
|
};
|
|
2277
|
+
export const de_UpdateLocationAzureBlobCommand = async (output, context) => {
|
|
2278
|
+
if (output.statusCode >= 300) {
|
|
2279
|
+
return de_UpdateLocationAzureBlobCommandError(output, context);
|
|
2280
|
+
}
|
|
2281
|
+
const data = await parseBody(output.body, context);
|
|
2282
|
+
let contents = {};
|
|
2283
|
+
contents = _json(data);
|
|
2284
|
+
const response = {
|
|
2285
|
+
$metadata: deserializeMetadata(output),
|
|
2286
|
+
...contents,
|
|
2287
|
+
};
|
|
2288
|
+
return response;
|
|
2289
|
+
};
|
|
2290
|
+
const de_UpdateLocationAzureBlobCommandError = async (output, context) => {
|
|
2291
|
+
const parsedOutput = {
|
|
2292
|
+
...output,
|
|
2293
|
+
body: await parseErrorBody(output.body, context),
|
|
2294
|
+
};
|
|
2295
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2296
|
+
switch (errorCode) {
|
|
2297
|
+
case "InternalException":
|
|
2298
|
+
case "com.amazonaws.datasync#InternalException":
|
|
2299
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2300
|
+
case "InvalidRequestException":
|
|
2301
|
+
case "com.amazonaws.datasync#InvalidRequestException":
|
|
2302
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2303
|
+
default:
|
|
2304
|
+
const parsedBody = parsedOutput.body;
|
|
2305
|
+
return throwDefaultError({
|
|
2306
|
+
output,
|
|
2307
|
+
parsedBody,
|
|
2308
|
+
errorCode,
|
|
2309
|
+
});
|
|
2310
|
+
}
|
|
2311
|
+
};
|
|
2189
2312
|
export const de_UpdateLocationHdfsCommand = async (output, context) => {
|
|
2190
2313
|
if (output.statusCode >= 300) {
|
|
2191
2314
|
return de_UpdateLocationHdfsCommandError(output, context);
|
|
@@ -2561,6 +2684,17 @@ const de_DescribeDiscoveryJobResponse = (output, context) => {
|
|
|
2561
2684
|
StorageSystemArn: __expectString,
|
|
2562
2685
|
});
|
|
2563
2686
|
};
|
|
2687
|
+
const de_DescribeLocationAzureBlobResponse = (output, context) => {
|
|
2688
|
+
return take(output, {
|
|
2689
|
+
AccessTier: __expectString,
|
|
2690
|
+
AgentArns: _json,
|
|
2691
|
+
AuthenticationType: __expectString,
|
|
2692
|
+
BlobType: __expectString,
|
|
2693
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2694
|
+
LocationArn: __expectString,
|
|
2695
|
+
LocationUri: __expectString,
|
|
2696
|
+
});
|
|
2697
|
+
};
|
|
2564
2698
|
const de_DescribeLocationEfsResponse = (output, context) => {
|
|
2565
2699
|
return take(output, {
|
|
2566
2700
|
AccessPointArn: __expectString,
|
|
@@ -2776,6 +2910,7 @@ const de_NetAppONTAPCluster = (output, context) => {
|
|
|
2776
2910
|
ClusterBlockStorageSize: __expectLong,
|
|
2777
2911
|
ClusterBlockStorageUsed: __expectLong,
|
|
2778
2912
|
ClusterName: __expectString,
|
|
2913
|
+
LunCount: __expectLong,
|
|
2779
2914
|
MaxP95Performance: (_) => de_MaxP95Performance(_, context),
|
|
2780
2915
|
NfsExportedVolumes: __expectLong,
|
|
2781
2916
|
RecommendationStatus: __expectString,
|
|
@@ -2796,6 +2931,7 @@ const de_NetAppONTAPSVM = (output, context) => {
|
|
|
2796
2931
|
CifsShareCount: __expectLong,
|
|
2797
2932
|
ClusterUuid: __expectString,
|
|
2798
2933
|
EnabledProtocols: _json,
|
|
2934
|
+
LunCount: __expectLong,
|
|
2799
2935
|
MaxP95Performance: (_) => de_MaxP95Performance(_, context),
|
|
2800
2936
|
NfsExportedVolumes: __expectLong,
|
|
2801
2937
|
RecommendationStatus: __expectString,
|
|
@@ -2822,6 +2958,7 @@ const de_NetAppONTAPVolume = (output, context) => {
|
|
|
2822
2958
|
CapacityUsed: __expectLong,
|
|
2823
2959
|
CifsShareCount: __expectLong,
|
|
2824
2960
|
LogicalCapacityUsed: __expectLong,
|
|
2961
|
+
LunCount: __expectLong,
|
|
2825
2962
|
MaxP95Performance: (_) => de_MaxP95Performance(_, context),
|
|
2826
2963
|
NfsExported: __expectBoolean,
|
|
2827
2964
|
RecommendationStatus: __expectString,
|
package/dist-types/DataSync.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
|
2
2
|
import { AddStorageSystemCommandInput, AddStorageSystemCommandOutput } from "./commands/AddStorageSystemCommand";
|
|
3
3
|
import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } from "./commands/CancelTaskExecutionCommand";
|
|
4
4
|
import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
5
|
+
import { CreateLocationAzureBlobCommandInput, CreateLocationAzureBlobCommandOutput } from "./commands/CreateLocationAzureBlobCommand";
|
|
5
6
|
import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
|
|
6
7
|
import { CreateLocationFsxLustreCommandInput, CreateLocationFsxLustreCommandOutput } from "./commands/CreateLocationFsxLustreCommand";
|
|
7
8
|
import { CreateLocationFsxOntapCommandInput, CreateLocationFsxOntapCommandOutput } from "./commands/CreateLocationFsxOntapCommand";
|
|
@@ -18,6 +19,7 @@ import { DeleteLocationCommandInput, DeleteLocationCommandOutput } from "./comma
|
|
|
18
19
|
import { DeleteTaskCommandInput, DeleteTaskCommandOutput } from "./commands/DeleteTaskCommand";
|
|
19
20
|
import { DescribeAgentCommandInput, DescribeAgentCommandOutput } from "./commands/DescribeAgentCommand";
|
|
20
21
|
import { DescribeDiscoveryJobCommandInput, DescribeDiscoveryJobCommandOutput } from "./commands/DescribeDiscoveryJobCommand";
|
|
22
|
+
import { DescribeLocationAzureBlobCommandInput, DescribeLocationAzureBlobCommandOutput } from "./commands/DescribeLocationAzureBlobCommand";
|
|
21
23
|
import { DescribeLocationEfsCommandInput, DescribeLocationEfsCommandOutput } from "./commands/DescribeLocationEfsCommand";
|
|
22
24
|
import { DescribeLocationFsxLustreCommandInput, DescribeLocationFsxLustreCommandOutput } from "./commands/DescribeLocationFsxLustreCommand";
|
|
23
25
|
import { DescribeLocationFsxOntapCommandInput, DescribeLocationFsxOntapCommandOutput } from "./commands/DescribeLocationFsxOntapCommand";
|
|
@@ -49,6 +51,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
49
51
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
50
52
|
import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
|
|
51
53
|
import { UpdateDiscoveryJobCommandInput, UpdateDiscoveryJobCommandOutput } from "./commands/UpdateDiscoveryJobCommand";
|
|
54
|
+
import { UpdateLocationAzureBlobCommandInput, UpdateLocationAzureBlobCommandOutput } from "./commands/UpdateLocationAzureBlobCommand";
|
|
52
55
|
import { UpdateLocationHdfsCommandInput, UpdateLocationHdfsCommandOutput } from "./commands/UpdateLocationHdfsCommand";
|
|
53
56
|
import { UpdateLocationNfsCommandInput, UpdateLocationNfsCommandOutput } from "./commands/UpdateLocationNfsCommand";
|
|
54
57
|
import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCommandOutput } from "./commands/UpdateLocationObjectStorageCommand";
|
|
@@ -76,6 +79,12 @@ export interface DataSync {
|
|
|
76
79
|
createAgent(args: CreateAgentCommandInput, options?: __HttpHandlerOptions): Promise<CreateAgentCommandOutput>;
|
|
77
80
|
createAgent(args: CreateAgentCommandInput, cb: (err: any, data?: CreateAgentCommandOutput) => void): void;
|
|
78
81
|
createAgent(args: CreateAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAgentCommandOutput) => void): void;
|
|
82
|
+
/**
|
|
83
|
+
* @see {@link CreateLocationAzureBlobCommand}
|
|
84
|
+
*/
|
|
85
|
+
createLocationAzureBlob(args: CreateLocationAzureBlobCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationAzureBlobCommandOutput>;
|
|
86
|
+
createLocationAzureBlob(args: CreateLocationAzureBlobCommandInput, cb: (err: any, data?: CreateLocationAzureBlobCommandOutput) => void): void;
|
|
87
|
+
createLocationAzureBlob(args: CreateLocationAzureBlobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationAzureBlobCommandOutput) => void): void;
|
|
79
88
|
/**
|
|
80
89
|
* @see {@link CreateLocationEfsCommand}
|
|
81
90
|
*/
|
|
@@ -172,6 +181,12 @@ export interface DataSync {
|
|
|
172
181
|
describeDiscoveryJob(args: DescribeDiscoveryJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDiscoveryJobCommandOutput>;
|
|
173
182
|
describeDiscoveryJob(args: DescribeDiscoveryJobCommandInput, cb: (err: any, data?: DescribeDiscoveryJobCommandOutput) => void): void;
|
|
174
183
|
describeDiscoveryJob(args: DescribeDiscoveryJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDiscoveryJobCommandOutput) => void): void;
|
|
184
|
+
/**
|
|
185
|
+
* @see {@link DescribeLocationAzureBlobCommand}
|
|
186
|
+
*/
|
|
187
|
+
describeLocationAzureBlob(args: DescribeLocationAzureBlobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationAzureBlobCommandOutput>;
|
|
188
|
+
describeLocationAzureBlob(args: DescribeLocationAzureBlobCommandInput, cb: (err: any, data?: DescribeLocationAzureBlobCommandOutput) => void): void;
|
|
189
|
+
describeLocationAzureBlob(args: DescribeLocationAzureBlobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationAzureBlobCommandOutput) => void): void;
|
|
175
190
|
/**
|
|
176
191
|
* @see {@link DescribeLocationEfsCommand}
|
|
177
192
|
*/
|
|
@@ -358,6 +373,12 @@ export interface DataSync {
|
|
|
358
373
|
updateDiscoveryJob(args: UpdateDiscoveryJobCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDiscoveryJobCommandOutput>;
|
|
359
374
|
updateDiscoveryJob(args: UpdateDiscoveryJobCommandInput, cb: (err: any, data?: UpdateDiscoveryJobCommandOutput) => void): void;
|
|
360
375
|
updateDiscoveryJob(args: UpdateDiscoveryJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDiscoveryJobCommandOutput) => void): void;
|
|
376
|
+
/**
|
|
377
|
+
* @see {@link UpdateLocationAzureBlobCommand}
|
|
378
|
+
*/
|
|
379
|
+
updateLocationAzureBlob(args: UpdateLocationAzureBlobCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationAzureBlobCommandOutput>;
|
|
380
|
+
updateLocationAzureBlob(args: UpdateLocationAzureBlobCommandInput, cb: (err: any, data?: UpdateLocationAzureBlobCommandOutput) => void): void;
|
|
381
|
+
updateLocationAzureBlob(args: UpdateLocationAzureBlobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationAzureBlobCommandOutput) => void): void;
|
|
361
382
|
/**
|
|
362
383
|
* @see {@link UpdateLocationHdfsCommand}
|
|
363
384
|
*/
|
|
@@ -404,9 +425,9 @@ export interface DataSync {
|
|
|
404
425
|
/**
|
|
405
426
|
* @public
|
|
406
427
|
* <fullname>DataSync</fullname>
|
|
407
|
-
* <p>DataSync is
|
|
408
|
-
*
|
|
409
|
-
*
|
|
428
|
+
* <p>DataSync is an online data movement and discovery service that simplifies data migration
|
|
429
|
+
* and helps you quickly, easily, and securely transfer your file or object data to, from, and
|
|
430
|
+
* between Amazon Web Services storage services.</p>
|
|
410
431
|
* <p>This API interface reference includes documentation for using DataSync
|
|
411
432
|
* programmatically. For complete information, see the <i>
|
|
412
433
|
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/what-is-datasync.html">DataSync User
|
|
@@ -11,6 +11,7 @@ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as
|
|
|
11
11
|
import { AddStorageSystemCommandInput, AddStorageSystemCommandOutput } from "./commands/AddStorageSystemCommand";
|
|
12
12
|
import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } from "./commands/CancelTaskExecutionCommand";
|
|
13
13
|
import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
14
|
+
import { CreateLocationAzureBlobCommandInput, CreateLocationAzureBlobCommandOutput } from "./commands/CreateLocationAzureBlobCommand";
|
|
14
15
|
import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
|
|
15
16
|
import { CreateLocationFsxLustreCommandInput, CreateLocationFsxLustreCommandOutput } from "./commands/CreateLocationFsxLustreCommand";
|
|
16
17
|
import { CreateLocationFsxOntapCommandInput, CreateLocationFsxOntapCommandOutput } from "./commands/CreateLocationFsxOntapCommand";
|
|
@@ -27,6 +28,7 @@ import { DeleteLocationCommandInput, DeleteLocationCommandOutput } from "./comma
|
|
|
27
28
|
import { DeleteTaskCommandInput, DeleteTaskCommandOutput } from "./commands/DeleteTaskCommand";
|
|
28
29
|
import { DescribeAgentCommandInput, DescribeAgentCommandOutput } from "./commands/DescribeAgentCommand";
|
|
29
30
|
import { DescribeDiscoveryJobCommandInput, DescribeDiscoveryJobCommandOutput } from "./commands/DescribeDiscoveryJobCommand";
|
|
31
|
+
import { DescribeLocationAzureBlobCommandInput, DescribeLocationAzureBlobCommandOutput } from "./commands/DescribeLocationAzureBlobCommand";
|
|
30
32
|
import { DescribeLocationEfsCommandInput, DescribeLocationEfsCommandOutput } from "./commands/DescribeLocationEfsCommand";
|
|
31
33
|
import { DescribeLocationFsxLustreCommandInput, DescribeLocationFsxLustreCommandOutput } from "./commands/DescribeLocationFsxLustreCommand";
|
|
32
34
|
import { DescribeLocationFsxOntapCommandInput, DescribeLocationFsxOntapCommandOutput } from "./commands/DescribeLocationFsxOntapCommand";
|
|
@@ -58,6 +60,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
58
60
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
59
61
|
import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
|
|
60
62
|
import { UpdateDiscoveryJobCommandInput, UpdateDiscoveryJobCommandOutput } from "./commands/UpdateDiscoveryJobCommand";
|
|
63
|
+
import { UpdateLocationAzureBlobCommandInput, UpdateLocationAzureBlobCommandOutput } from "./commands/UpdateLocationAzureBlobCommand";
|
|
61
64
|
import { UpdateLocationHdfsCommandInput, UpdateLocationHdfsCommandOutput } from "./commands/UpdateLocationHdfsCommand";
|
|
62
65
|
import { UpdateLocationNfsCommandInput, UpdateLocationNfsCommandOutput } from "./commands/UpdateLocationNfsCommand";
|
|
63
66
|
import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCommandOutput } from "./commands/UpdateLocationObjectStorageCommand";
|
|
@@ -70,11 +73,11 @@ export { __Client };
|
|
|
70
73
|
/**
|
|
71
74
|
* @public
|
|
72
75
|
*/
|
|
73
|
-
export type ServiceInputTypes = AddStorageSystemCommandInput | CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxLustreCommandInput | CreateLocationFsxOntapCommandInput | CreateLocationFsxOpenZfsCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationHdfsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeDiscoveryJobCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxLustreCommandInput | DescribeLocationFsxOntapCommandInput | DescribeLocationFsxOpenZfsCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationHdfsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeStorageSystemCommandInput | DescribeStorageSystemResourceMetricsCommandInput | DescribeStorageSystemResourcesCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | GenerateRecommendationsCommandInput | ListAgentsCommandInput | ListDiscoveryJobsCommandInput | ListLocationsCommandInput | ListStorageSystemsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | RemoveStorageSystemCommandInput | StartDiscoveryJobCommandInput | StartTaskExecutionCommandInput | StopDiscoveryJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateDiscoveryJobCommandInput | UpdateLocationHdfsCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationSmbCommandInput | UpdateStorageSystemCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
|
|
76
|
+
export type ServiceInputTypes = AddStorageSystemCommandInput | CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationAzureBlobCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxLustreCommandInput | CreateLocationFsxOntapCommandInput | CreateLocationFsxOpenZfsCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationHdfsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeDiscoveryJobCommandInput | DescribeLocationAzureBlobCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxLustreCommandInput | DescribeLocationFsxOntapCommandInput | DescribeLocationFsxOpenZfsCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationHdfsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeStorageSystemCommandInput | DescribeStorageSystemResourceMetricsCommandInput | DescribeStorageSystemResourcesCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | GenerateRecommendationsCommandInput | ListAgentsCommandInput | ListDiscoveryJobsCommandInput | ListLocationsCommandInput | ListStorageSystemsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | RemoveStorageSystemCommandInput | StartDiscoveryJobCommandInput | StartTaskExecutionCommandInput | StopDiscoveryJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateDiscoveryJobCommandInput | UpdateLocationAzureBlobCommandInput | UpdateLocationHdfsCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationSmbCommandInput | UpdateStorageSystemCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
|
|
74
77
|
/**
|
|
75
78
|
* @public
|
|
76
79
|
*/
|
|
77
|
-
export type ServiceOutputTypes = AddStorageSystemCommandOutput | CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxLustreCommandOutput | CreateLocationFsxOntapCommandOutput | CreateLocationFsxOpenZfsCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationHdfsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeDiscoveryJobCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxLustreCommandOutput | DescribeLocationFsxOntapCommandOutput | DescribeLocationFsxOpenZfsCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationHdfsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeStorageSystemCommandOutput | DescribeStorageSystemResourceMetricsCommandOutput | DescribeStorageSystemResourcesCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | GenerateRecommendationsCommandOutput | ListAgentsCommandOutput | ListDiscoveryJobsCommandOutput | ListLocationsCommandOutput | ListStorageSystemsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | RemoveStorageSystemCommandOutput | StartDiscoveryJobCommandOutput | StartTaskExecutionCommandOutput | StopDiscoveryJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateDiscoveryJobCommandOutput | UpdateLocationHdfsCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationSmbCommandOutput | UpdateStorageSystemCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
|
|
80
|
+
export type ServiceOutputTypes = AddStorageSystemCommandOutput | CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationAzureBlobCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxLustreCommandOutput | CreateLocationFsxOntapCommandOutput | CreateLocationFsxOpenZfsCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationHdfsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeDiscoveryJobCommandOutput | DescribeLocationAzureBlobCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxLustreCommandOutput | DescribeLocationFsxOntapCommandOutput | DescribeLocationFsxOpenZfsCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationHdfsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeStorageSystemCommandOutput | DescribeStorageSystemResourceMetricsCommandOutput | DescribeStorageSystemResourcesCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | GenerateRecommendationsCommandOutput | ListAgentsCommandOutput | ListDiscoveryJobsCommandOutput | ListLocationsCommandOutput | ListStorageSystemsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | RemoveStorageSystemCommandOutput | StartDiscoveryJobCommandOutput | StartTaskExecutionCommandOutput | StopDiscoveryJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateDiscoveryJobCommandOutput | UpdateLocationAzureBlobCommandOutput | UpdateLocationHdfsCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationSmbCommandOutput | UpdateStorageSystemCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
|
|
78
81
|
/**
|
|
79
82
|
* @public
|
|
80
83
|
*/
|
|
@@ -203,9 +206,9 @@ export interface DataSyncClientResolvedConfig extends DataSyncClientResolvedConf
|
|
|
203
206
|
/**
|
|
204
207
|
* @public
|
|
205
208
|
* <fullname>DataSync</fullname>
|
|
206
|
-
* <p>DataSync is
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
+
* <p>DataSync is an online data movement and discovery service that simplifies data migration
|
|
210
|
+
* and helps you quickly, easily, and securely transfer your file or object data to, from, and
|
|
211
|
+
* between Amazon Web Services storage services.</p>
|
|
209
212
|
* <p>This API interface reference includes documentation for using DataSync
|
|
210
213
|
* programmatically. For complete information, see the <i>
|
|
211
214
|
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/what-is-datasync.html">DataSync User
|
|
@@ -23,18 +23,25 @@ export interface CreateAgentCommandOutput extends CreateAgentResponse, __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Activates an DataSync agent that you
|
|
27
|
-
* environment. The activation process associates
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
26
|
+
* <p>Activates an DataSync agent that you've deployed in your storage
|
|
27
|
+
* environment. The activation process associates the agent with your Amazon Web Services account.</p>
|
|
28
|
+
* <p>If you haven't deployed an agent yet, see the following topics to learn more:</p>
|
|
29
|
+
* <ul>
|
|
30
|
+
* <li>
|
|
31
|
+
* <p>
|
|
32
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/agent-requirements.html">Agent requirements</a>
|
|
33
|
+
* </p>
|
|
34
|
+
* </li>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>
|
|
37
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/configure-agent.html">Create an agent</a>
|
|
38
|
+
* </p>
|
|
39
|
+
* </li>
|
|
40
|
+
* </ul>
|
|
41
|
+
* <note>
|
|
42
|
+
* <p>If you're transferring between Amazon Web Services storage services, you don't need a
|
|
43
|
+
* DataSync agent. </p>
|
|
44
|
+
* </note>
|
|
38
45
|
* @example
|
|
39
46
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
47
|
* ```javascript
|