@aws-sdk/client-datasync 3.370.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 +24 -0
- 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 +143 -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 +134 -0
- package/dist-types/DataSync.d.ts +21 -0
- package/dist-types/DataSyncClient.d.ts +5 -2
- 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/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/models/models_0.d.ts +240 -45
- 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 +63 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +2 -2
|
@@ -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,
|
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
|
*/
|
|
@@ -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
|
*/
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
5
|
+
import { CreateLocationAzureBlobRequest, CreateLocationAzureBlobResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateLocationAzureBlobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateLocationAzureBlobCommandInput extends CreateLocationAzureBlobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateLocationAzureBlobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateLocationAzureBlobCommandOutput extends CreateLocationAzureBlobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates an endpoint for a Microsoft Azure Blob Storage container that DataSync can use as a transfer source or destination.</p>
|
|
27
|
+
* <p>Before you begin, make sure you know <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access">how DataSync accesses Azure Blob Storage</a> and works with <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers">access tiers</a> and <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#blob-types">blob types</a>. You also need a <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-creating-agent">DataSync agent</a> that can connect to your
|
|
28
|
+
* container.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { DataSyncClient, CreateLocationAzureBlobCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
33
|
+
* // const { DataSyncClient, CreateLocationAzureBlobCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
34
|
+
* const client = new DataSyncClient(config);
|
|
35
|
+
* const input = { // CreateLocationAzureBlobRequest
|
|
36
|
+
* ContainerUrl: "STRING_VALUE", // required
|
|
37
|
+
* AuthenticationType: "SAS", // required
|
|
38
|
+
* SasConfiguration: { // AzureBlobSasConfiguration
|
|
39
|
+
* Token: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* BlobType: "BLOCK",
|
|
42
|
+
* AccessTier: "HOT" || "COOL" || "ARCHIVE",
|
|
43
|
+
* Subdirectory: "STRING_VALUE",
|
|
44
|
+
* AgentArns: [ // AgentArnList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* Tags: [ // InputTagList
|
|
48
|
+
* { // TagListEntry
|
|
49
|
+
* Key: "STRING_VALUE", // required
|
|
50
|
+
* Value: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
54
|
+
* const command = new CreateLocationAzureBlobCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // CreateLocationAzureBlobResponse
|
|
57
|
+
* // LocationArn: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param CreateLocationAzureBlobCommandInput - {@link CreateLocationAzureBlobCommandInput}
|
|
63
|
+
* @returns {@link CreateLocationAzureBlobCommandOutput}
|
|
64
|
+
* @see {@link CreateLocationAzureBlobCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link CreateLocationAzureBlobCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalException} (server fault)
|
|
69
|
+
* <p>This exception is thrown when an error occurs in the DataSync
|
|
70
|
+
* service.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
73
|
+
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link DataSyncServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from DataSync service.</p>
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
export declare class CreateLocationAzureBlobCommand extends $Command<CreateLocationAzureBlobCommandInput, CreateLocationAzureBlobCommandOutput, DataSyncClientResolvedConfig> {
|
|
80
|
+
readonly input: CreateLocationAzureBlobCommandInput;
|
|
81
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
constructor(input: CreateLocationAzureBlobCommandInput);
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLocationAzureBlobCommandInput, CreateLocationAzureBlobCommandOutput>;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private serialize;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private deserialize;
|
|
98
|
+
}
|
|
@@ -23,8 +23,8 @@ export interface CreateLocationNfsCommandOutput extends CreateLocationNfsRespons
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
*
|
|
26
|
+
* <p>Creates an endpoint for an Network File System (NFS) file server that DataSync can use for a
|
|
27
|
+
* data transfer.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -23,7 +23,9 @@ export interface CreateLocationSmbCommandOutput extends CreateLocationSmbRespons
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates an endpoint for a Server Message Block (SMB) file server that DataSync can
|
|
26
|
+
* <p>Creates an endpoint for a Server Message Block (SMB) file server that DataSync can use for a data transfer.</p>
|
|
27
|
+
* <p>Before you begin, make sure that you understand how DataSync
|
|
28
|
+
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html">accesses an SMB file server</a>.</p>
|
|
27
29
|
* @example
|
|
28
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
31
|
* ```javascript
|