@aws-sdk/client-datasync 3.817.0 → 3.821.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 +3 -3
- package/dist-cjs/index.js +14 -1
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +12 -0
- package/dist-types/DataSync.d.ts +3 -3
- package/dist-types/DataSyncClient.d.ts +3 -3
- package/dist-types/commands/CreateLocationAzureBlobCommand.d.ts +13 -5
- package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +12 -3
- package/dist-types/commands/DescribeLocationAzureBlobCommand.d.ts +12 -1
- package/dist-types/commands/DescribeLocationObjectStorageCommand.d.ts +11 -0
- package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateLocationAzureBlobCommand.d.ts +9 -1
- package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +8 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +258 -12
- package/dist-types/ts3.4/models/models_0.d.ts +30 -2
- package/package.json +33 -33
package/README.md
CHANGED
|
@@ -8,9 +8,9 @@ AWS SDK for JavaScript DataSync Client for Node.js, Browser and React Native.
|
|
|
8
8
|
|
|
9
9
|
<fullname>DataSync</fullname>
|
|
10
10
|
|
|
11
|
-
<p>DataSync is an online data movement
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
<p>DataSync is an online data movement service that simplifies data
|
|
12
|
+
migration and helps you quickly, easily, and securely transfer your file or object data to,
|
|
13
|
+
from, and between Amazon Web Services storage services.</p>
|
|
14
14
|
<p>This API interface reference includes documentation for using DataSync
|
|
15
15
|
programmatically. For complete information, see the <i>
|
|
16
16
|
<a href="https://docs.aws.amazon.com/datasync/latest/userguide/what-is-datasync.html">DataSync User
|
package/dist-cjs/index.js
CHANGED
|
@@ -335,6 +335,7 @@ var AzureAccessTier = {
|
|
|
335
335
|
HOT: "HOT"
|
|
336
336
|
};
|
|
337
337
|
var AzureBlobAuthenticationType = {
|
|
338
|
+
NONE: "NONE",
|
|
338
339
|
SAS: "SAS"
|
|
339
340
|
};
|
|
340
341
|
var AzureBlobType = {
|
|
@@ -1720,6 +1721,8 @@ var se_CreateLocationObjectStorageRequest = /* @__PURE__ */ __name((input, conte
|
|
|
1720
1721
|
AccessKey: [],
|
|
1721
1722
|
AgentArns: import_smithy_client._json,
|
|
1722
1723
|
BucketName: [],
|
|
1724
|
+
CmkSecretConfig: import_smithy_client._json,
|
|
1725
|
+
CustomSecretConfig: import_smithy_client._json,
|
|
1723
1726
|
SecretKey: [],
|
|
1724
1727
|
ServerCertificate: context.base64Encoder,
|
|
1725
1728
|
ServerHostname: [],
|
|
@@ -1767,6 +1770,8 @@ var se_UpdateLocationObjectStorageRequest = /* @__PURE__ */ __name((input, conte
|
|
|
1767
1770
|
return (0, import_smithy_client.take)(input, {
|
|
1768
1771
|
AccessKey: [],
|
|
1769
1772
|
AgentArns: import_smithy_client._json,
|
|
1773
|
+
CmkSecretConfig: import_smithy_client._json,
|
|
1774
|
+
CustomSecretConfig: import_smithy_client._json,
|
|
1770
1775
|
LocationArn: [],
|
|
1771
1776
|
SecretKey: [],
|
|
1772
1777
|
ServerCertificate: context.base64Encoder,
|
|
@@ -1811,9 +1816,12 @@ var de_DescribeLocationAzureBlobResponse = /* @__PURE__ */ __name((output, conte
|
|
|
1811
1816
|
AgentArns: import_smithy_client._json,
|
|
1812
1817
|
AuthenticationType: import_smithy_client.expectString,
|
|
1813
1818
|
BlobType: import_smithy_client.expectString,
|
|
1819
|
+
CmkSecretConfig: import_smithy_client._json,
|
|
1814
1820
|
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
1821
|
+
CustomSecretConfig: import_smithy_client._json,
|
|
1815
1822
|
LocationArn: import_smithy_client.expectString,
|
|
1816
|
-
LocationUri: import_smithy_client.expectString
|
|
1823
|
+
LocationUri: import_smithy_client.expectString,
|
|
1824
|
+
ManagedSecretConfig: import_smithy_client._json
|
|
1817
1825
|
});
|
|
1818
1826
|
}, "de_DescribeLocationAzureBlobResponse");
|
|
1819
1827
|
var de_DescribeLocationEfsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1894,9 +1902,12 @@ var de_DescribeLocationObjectStorageResponse = /* @__PURE__ */ __name((output, c
|
|
|
1894
1902
|
return (0, import_smithy_client.take)(output, {
|
|
1895
1903
|
AccessKey: import_smithy_client.expectString,
|
|
1896
1904
|
AgentArns: import_smithy_client._json,
|
|
1905
|
+
CmkSecretConfig: import_smithy_client._json,
|
|
1897
1906
|
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
1907
|
+
CustomSecretConfig: import_smithy_client._json,
|
|
1898
1908
|
LocationArn: import_smithy_client.expectString,
|
|
1899
1909
|
LocationUri: import_smithy_client.expectString,
|
|
1910
|
+
ManagedSecretConfig: import_smithy_client._json,
|
|
1900
1911
|
ServerCertificate: context.base64Decoder,
|
|
1901
1912
|
ServerPort: import_smithy_client.expectInt32,
|
|
1902
1913
|
ServerProtocol: import_smithy_client.expectString
|
|
@@ -1931,6 +1942,7 @@ var de_DescribeTaskExecutionResponse = /* @__PURE__ */ __name((output, context)
|
|
|
1931
1942
|
BytesCompressed: import_smithy_client.expectLong,
|
|
1932
1943
|
BytesTransferred: import_smithy_client.expectLong,
|
|
1933
1944
|
BytesWritten: import_smithy_client.expectLong,
|
|
1945
|
+
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
1934
1946
|
EstimatedBytesToTransfer: import_smithy_client.expectLong,
|
|
1935
1947
|
EstimatedFilesToDelete: import_smithy_client.expectLong,
|
|
1936
1948
|
EstimatedFilesToTransfer: import_smithy_client.expectLong,
|
|
@@ -1943,6 +1955,7 @@ var de_DescribeTaskExecutionResponse = /* @__PURE__ */ __name((output, context)
|
|
|
1943
1955
|
FilesTransferred: import_smithy_client.expectLong,
|
|
1944
1956
|
FilesVerified: import_smithy_client.expectLong,
|
|
1945
1957
|
Includes: import_smithy_client._json,
|
|
1958
|
+
LaunchTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LaunchTime"),
|
|
1946
1959
|
ManifestConfig: import_smithy_client._json,
|
|
1947
1960
|
Options: import_smithy_client._json,
|
|
1948
1961
|
ReportResult: import_smithy_client._json,
|
|
@@ -1072,6 +1072,8 @@ const se_CreateLocationObjectStorageRequest = (input, context) => {
|
|
|
1072
1072
|
AccessKey: [],
|
|
1073
1073
|
AgentArns: _json,
|
|
1074
1074
|
BucketName: [],
|
|
1075
|
+
CmkSecretConfig: _json,
|
|
1076
|
+
CustomSecretConfig: _json,
|
|
1075
1077
|
SecretKey: [],
|
|
1076
1078
|
ServerCertificate: context.base64Encoder,
|
|
1077
1079
|
ServerHostname: [],
|
|
@@ -1119,6 +1121,8 @@ const se_UpdateLocationObjectStorageRequest = (input, context) => {
|
|
|
1119
1121
|
return take(input, {
|
|
1120
1122
|
AccessKey: [],
|
|
1121
1123
|
AgentArns: _json,
|
|
1124
|
+
CmkSecretConfig: _json,
|
|
1125
|
+
CustomSecretConfig: _json,
|
|
1122
1126
|
LocationArn: [],
|
|
1123
1127
|
SecretKey: [],
|
|
1124
1128
|
ServerCertificate: context.base64Encoder,
|
|
@@ -1163,9 +1167,12 @@ const de_DescribeLocationAzureBlobResponse = (output, context) => {
|
|
|
1163
1167
|
AgentArns: _json,
|
|
1164
1168
|
AuthenticationType: __expectString,
|
|
1165
1169
|
BlobType: __expectString,
|
|
1170
|
+
CmkSecretConfig: _json,
|
|
1166
1171
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1172
|
+
CustomSecretConfig: _json,
|
|
1167
1173
|
LocationArn: __expectString,
|
|
1168
1174
|
LocationUri: __expectString,
|
|
1175
|
+
ManagedSecretConfig: _json,
|
|
1169
1176
|
});
|
|
1170
1177
|
};
|
|
1171
1178
|
const de_DescribeLocationEfsResponse = (output, context) => {
|
|
@@ -1246,9 +1253,12 @@ const de_DescribeLocationObjectStorageResponse = (output, context) => {
|
|
|
1246
1253
|
return take(output, {
|
|
1247
1254
|
AccessKey: __expectString,
|
|
1248
1255
|
AgentArns: _json,
|
|
1256
|
+
CmkSecretConfig: _json,
|
|
1249
1257
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1258
|
+
CustomSecretConfig: _json,
|
|
1250
1259
|
LocationArn: __expectString,
|
|
1251
1260
|
LocationUri: __expectString,
|
|
1261
|
+
ManagedSecretConfig: _json,
|
|
1252
1262
|
ServerCertificate: context.base64Decoder,
|
|
1253
1263
|
ServerPort: __expectInt32,
|
|
1254
1264
|
ServerProtocol: __expectString,
|
|
@@ -1283,6 +1293,7 @@ const de_DescribeTaskExecutionResponse = (output, context) => {
|
|
|
1283
1293
|
BytesCompressed: __expectLong,
|
|
1284
1294
|
BytesTransferred: __expectLong,
|
|
1285
1295
|
BytesWritten: __expectLong,
|
|
1296
|
+
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1286
1297
|
EstimatedBytesToTransfer: __expectLong,
|
|
1287
1298
|
EstimatedFilesToDelete: __expectLong,
|
|
1288
1299
|
EstimatedFilesToTransfer: __expectLong,
|
|
@@ -1295,6 +1306,7 @@ const de_DescribeTaskExecutionResponse = (output, context) => {
|
|
|
1295
1306
|
FilesTransferred: __expectLong,
|
|
1296
1307
|
FilesVerified: __expectLong,
|
|
1297
1308
|
Includes: _json,
|
|
1309
|
+
LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1298
1310
|
ManifestConfig: _json,
|
|
1299
1311
|
Options: _json,
|
|
1300
1312
|
ReportResult: _json,
|
package/dist-types/DataSync.d.ts
CHANGED
|
@@ -379,9 +379,9 @@ export interface DataSync {
|
|
|
379
379
|
}
|
|
380
380
|
/**
|
|
381
381
|
* <fullname>DataSync</fullname>
|
|
382
|
-
* <p>DataSync is an online data movement
|
|
383
|
-
*
|
|
384
|
-
*
|
|
382
|
+
* <p>DataSync is an online data movement service that simplifies data
|
|
383
|
+
* migration and helps you quickly, easily, and securely transfer your file or object data to,
|
|
384
|
+
* from, and between Amazon Web Services storage services.</p>
|
|
385
385
|
* <p>This API interface reference includes documentation for using DataSync
|
|
386
386
|
* programmatically. For complete information, see the <i>
|
|
387
387
|
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/what-is-datasync.html">DataSync User
|
|
@@ -223,9 +223,9 @@ export interface DataSyncClientResolvedConfig extends DataSyncClientResolvedConf
|
|
|
223
223
|
}
|
|
224
224
|
/**
|
|
225
225
|
* <fullname>DataSync</fullname>
|
|
226
|
-
* <p>DataSync is an online data movement
|
|
227
|
-
*
|
|
228
|
-
*
|
|
226
|
+
* <p>DataSync is an online data movement service that simplifies data
|
|
227
|
+
* migration and helps you quickly, easily, and securely transfer your file or object data to,
|
|
228
|
+
* from, and between Amazon Web Services storage services.</p>
|
|
229
229
|
* <p>This API interface reference includes documentation for using DataSync
|
|
230
230
|
* programmatically. For complete information, see the <i>
|
|
231
231
|
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/what-is-datasync.html">DataSync User
|
|
@@ -28,10 +28,10 @@ declare const CreateLocationAzureBlobCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a transfer <i>location</i> for a Microsoft Azure Blob Storage
|
|
31
|
-
* container. DataSync can use this location as a transfer source or
|
|
32
|
-
*
|
|
33
|
-
* <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
|
|
31
|
+
* container. DataSync can use this location as a transfer source or destination.
|
|
32
|
+
* You can make transfers with or without a <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-creating-agent">DataSync agent</a> that connects to your
|
|
34
33
|
* container.</p>
|
|
34
|
+
* <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>.</p>
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
37
|
* ```javascript
|
|
@@ -40,14 +40,14 @@ declare const CreateLocationAzureBlobCommand_base: {
|
|
|
40
40
|
* const client = new DataSyncClient(config);
|
|
41
41
|
* const input = { // CreateLocationAzureBlobRequest
|
|
42
42
|
* ContainerUrl: "STRING_VALUE", // required
|
|
43
|
-
* AuthenticationType: "SAS", // required
|
|
43
|
+
* AuthenticationType: "SAS" || "NONE", // required
|
|
44
44
|
* SasConfiguration: { // AzureBlobSasConfiguration
|
|
45
45
|
* Token: "STRING_VALUE", // required
|
|
46
46
|
* },
|
|
47
47
|
* BlobType: "BLOCK",
|
|
48
48
|
* AccessTier: "HOT" || "COOL" || "ARCHIVE",
|
|
49
49
|
* Subdirectory: "STRING_VALUE",
|
|
50
|
-
* AgentArns: [ // AgentArnList
|
|
50
|
+
* AgentArns: [ // AgentArnList
|
|
51
51
|
* "STRING_VALUE",
|
|
52
52
|
* ],
|
|
53
53
|
* Tags: [ // InputTagList
|
|
@@ -56,6 +56,14 @@ declare const CreateLocationAzureBlobCommand_base: {
|
|
|
56
56
|
* Value: "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
58
|
* ],
|
|
59
|
+
* CmkSecretConfig: { // CmkSecretConfig
|
|
60
|
+
* SecretArn: "STRING_VALUE",
|
|
61
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* CustomSecretConfig: { // CustomSecretConfig
|
|
64
|
+
* SecretArn: "STRING_VALUE",
|
|
65
|
+
* SecretAccessRoleArn: "STRING_VALUE",
|
|
66
|
+
* },
|
|
59
67
|
* };
|
|
60
68
|
* const command = new CreateLocationAzureBlobCommand(input);
|
|
61
69
|
* const response = await client.send(command);
|
|
@@ -27,8 +27,9 @@ declare const CreateLocationObjectStorageCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a transfer <i>location</i> for an object storage system. DataSync can use this location as a source or destination for transferring
|
|
31
|
-
*
|
|
30
|
+
* <p>Creates a transfer <i>location</i> for an object storage system. DataSync can use this location as a source or destination for transferring data. You
|
|
31
|
+
* can make transfers with or without a <a href="https://docs.aws.amazon.com/datasync/latest/userguide/do-i-need-datasync-agent.html#when-agent-required">DataSync
|
|
32
|
+
* agent</a>.</p>
|
|
32
33
|
* <p>Before you begin, make sure that you understand the <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html#create-object-location-prerequisites">prerequisites</a> for DataSync to work with object storage systems.</p>
|
|
33
34
|
* @example
|
|
34
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -44,7 +45,7 @@ declare const CreateLocationObjectStorageCommand_base: {
|
|
|
44
45
|
* BucketName: "STRING_VALUE", // required
|
|
45
46
|
* AccessKey: "STRING_VALUE",
|
|
46
47
|
* SecretKey: "STRING_VALUE",
|
|
47
|
-
* AgentArns: [ // AgentArnList
|
|
48
|
+
* AgentArns: [ // AgentArnList
|
|
48
49
|
* "STRING_VALUE",
|
|
49
50
|
* ],
|
|
50
51
|
* Tags: [ // InputTagList
|
|
@@ -54,6 +55,14 @@ declare const CreateLocationObjectStorageCommand_base: {
|
|
|
54
55
|
* },
|
|
55
56
|
* ],
|
|
56
57
|
* ServerCertificate: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
58
|
+
* CmkSecretConfig: { // CmkSecretConfig
|
|
59
|
+
* SecretArn: "STRING_VALUE",
|
|
60
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* CustomSecretConfig: { // CustomSecretConfig
|
|
63
|
+
* SecretArn: "STRING_VALUE",
|
|
64
|
+
* SecretAccessRoleArn: "STRING_VALUE",
|
|
65
|
+
* },
|
|
57
66
|
* };
|
|
58
67
|
* const command = new CreateLocationObjectStorageCommand(input);
|
|
59
68
|
* const response = await client.send(command);
|
|
@@ -43,13 +43,24 @@ declare const DescribeLocationAzureBlobCommand_base: {
|
|
|
43
43
|
* // { // DescribeLocationAzureBlobResponse
|
|
44
44
|
* // LocationArn: "STRING_VALUE",
|
|
45
45
|
* // LocationUri: "STRING_VALUE",
|
|
46
|
-
* // AuthenticationType: "SAS",
|
|
46
|
+
* // AuthenticationType: "SAS" || "NONE",
|
|
47
47
|
* // BlobType: "BLOCK",
|
|
48
48
|
* // AccessTier: "HOT" || "COOL" || "ARCHIVE",
|
|
49
49
|
* // AgentArns: [ // AgentArnList
|
|
50
50
|
* // "STRING_VALUE",
|
|
51
51
|
* // ],
|
|
52
52
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // ManagedSecretConfig: { // ManagedSecretConfig
|
|
54
|
+
* // SecretArn: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // CmkSecretConfig: { // CmkSecretConfig
|
|
57
|
+
* // SecretArn: "STRING_VALUE",
|
|
58
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // CustomSecretConfig: { // CustomSecretConfig
|
|
61
|
+
* // SecretArn: "STRING_VALUE",
|
|
62
|
+
* // SecretAccessRoleArn: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
53
64
|
* // };
|
|
54
65
|
*
|
|
55
66
|
* ```
|
|
@@ -51,6 +51,17 @@ declare const DescribeLocationObjectStorageCommand_base: {
|
|
|
51
51
|
* // ],
|
|
52
52
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
53
53
|
* // ServerCertificate: new Uint8Array(),
|
|
54
|
+
* // ManagedSecretConfig: { // ManagedSecretConfig
|
|
55
|
+
* // SecretArn: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // CmkSecretConfig: { // CmkSecretConfig
|
|
58
|
+
* // SecretArn: "STRING_VALUE",
|
|
59
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // CustomSecretConfig: { // CustomSecretConfig
|
|
62
|
+
* // SecretArn: "STRING_VALUE",
|
|
63
|
+
* // SecretAccessRoleArn: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
54
65
|
* // };
|
|
55
66
|
*
|
|
56
67
|
* ```
|
|
@@ -39,7 +39,7 @@ declare const UpdateLocationAzureBlobCommand_base: {
|
|
|
39
39
|
* const input = { // UpdateLocationAzureBlobRequest
|
|
40
40
|
* LocationArn: "STRING_VALUE", // required
|
|
41
41
|
* Subdirectory: "STRING_VALUE",
|
|
42
|
-
* AuthenticationType: "SAS",
|
|
42
|
+
* AuthenticationType: "SAS" || "NONE",
|
|
43
43
|
* SasConfiguration: { // AzureBlobSasConfiguration
|
|
44
44
|
* Token: "STRING_VALUE", // required
|
|
45
45
|
* },
|
|
@@ -48,6 +48,14 @@ declare const UpdateLocationAzureBlobCommand_base: {
|
|
|
48
48
|
* AgentArns: [ // AgentArnList
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
|
+
* CmkSecretConfig: { // CmkSecretConfig
|
|
52
|
+
* SecretArn: "STRING_VALUE",
|
|
53
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* CustomSecretConfig: { // CustomSecretConfig
|
|
56
|
+
* SecretArn: "STRING_VALUE",
|
|
57
|
+
* SecretAccessRoleArn: "STRING_VALUE",
|
|
58
|
+
* },
|
|
51
59
|
* };
|
|
52
60
|
* const command = new UpdateLocationAzureBlobCommand(input);
|
|
53
61
|
* const response = await client.send(command);
|
|
@@ -49,6 +49,14 @@ declare const UpdateLocationObjectStorageCommand_base: {
|
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
51
|
* ServerCertificate: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
52
|
+
* CmkSecretConfig: { // CmkSecretConfig
|
|
53
|
+
* SecretArn: "STRING_VALUE",
|
|
54
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* CustomSecretConfig: { // CustomSecretConfig
|
|
57
|
+
* SecretArn: "STRING_VALUE",
|
|
58
|
+
* SecretAccessRoleArn: "STRING_VALUE",
|
|
59
|
+
* },
|
|
52
60
|
* };
|
|
53
61
|
* const command = new UpdateLocationObjectStorageCommand(input);
|
|
54
62
|
* const response = await client.send(command);
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* <fullname>DataSync</fullname>
|
|
3
|
-
* <p>DataSync is an online data movement
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* <p>DataSync is an online data movement service that simplifies data
|
|
4
|
+
* migration and helps you quickly, easily, and securely transfer your file or object data to,
|
|
5
|
+
* from, and between Amazon Web Services storage services.</p>
|
|
6
6
|
* <p>This API interface reference includes documentation for using DataSync
|
|
7
7
|
* programmatically. For complete information, see the <i>
|
|
8
8
|
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/what-is-datasync.html">DataSync User
|
|
@@ -93,6 +93,7 @@ export type AzureAccessTier = (typeof AzureAccessTier)[keyof typeof AzureAccessT
|
|
|
93
93
|
* @enum
|
|
94
94
|
*/
|
|
95
95
|
export declare const AzureBlobAuthenticationType: {
|
|
96
|
+
readonly NONE: "NONE";
|
|
96
97
|
readonly SAS: "SAS";
|
|
97
98
|
};
|
|
98
99
|
/**
|
|
@@ -173,6 +174,31 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
173
174
|
*/
|
|
174
175
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
175
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* <p>Specifies configuration information for a DataSync-managed secret, such as an
|
|
179
|
+
* authentication token or secret key that DataSync uses to access a specific storage
|
|
180
|
+
* location, with a customer-managed KMS key.</p>
|
|
181
|
+
* <note>
|
|
182
|
+
* <p>You can use either <code>CmkSecretConfig</code> or <code>CustomSecretConfig</code> to
|
|
183
|
+
* provide credentials for a <code>CreateLocation</code> request. Do not provide both
|
|
184
|
+
* parameters for the same request.</p>
|
|
185
|
+
* </note>
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
export interface CmkSecretConfig {
|
|
189
|
+
/**
|
|
190
|
+
* <p>Specifies the ARN for the DataSync-managed Secrets Manager secret that
|
|
191
|
+
* that is used to access a specific storage location. This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for <code>KmsKeyArn</code>.</p>
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
SecretArn?: string | undefined;
|
|
195
|
+
/**
|
|
196
|
+
* <p>Specifies the ARN for the customer-managed KMS key that DataSync uses to encrypt the DataSync-managed secret stored for
|
|
197
|
+
* <code>SecretArn</code>. DataSync provides this key to Secrets Manager.</p>
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
KmsKeyArn?: string | undefined;
|
|
201
|
+
}
|
|
176
202
|
/**
|
|
177
203
|
* <p>A key-value pair representing a single tag that's been applied to an Amazon Web Services
|
|
178
204
|
* resource.</p>
|
|
@@ -248,6 +274,31 @@ export interface CreateAgentResponse {
|
|
|
248
274
|
*/
|
|
249
275
|
AgentArn?: string | undefined;
|
|
250
276
|
}
|
|
277
|
+
/**
|
|
278
|
+
* <p>Specifies configuration information for a customer-managed Secrets Manager secret where
|
|
279
|
+
* a storage location authentication token or secret key is stored in plain text. This
|
|
280
|
+
* configuration includes the secret ARN, and the ARN for an IAM role that
|
|
281
|
+
* provides access to the secret.</p>
|
|
282
|
+
* <note>
|
|
283
|
+
* <p>You can use either <code>CmkSecretConfig</code> or <code>CustomSecretConfig</code> to
|
|
284
|
+
* provide credentials for a <code>CreateLocation</code> request. Do not provide both
|
|
285
|
+
* parameters for the same request.</p>
|
|
286
|
+
* </note>
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
export interface CustomSecretConfig {
|
|
290
|
+
/**
|
|
291
|
+
* <p>Specifies the ARN for an Secrets Manager secret.</p>
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
SecretArn?: string | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* <p>Specifies the ARN for the Identity and Access Management role that DataSync uses to
|
|
297
|
+
* access the secret specified for <code>SecretArn</code>.</p>
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
SecretAccessRoleArn?: string | undefined;
|
|
301
|
+
}
|
|
251
302
|
/**
|
|
252
303
|
* @public
|
|
253
304
|
*/
|
|
@@ -267,6 +318,12 @@ export interface CreateLocationAzureBlobRequest {
|
|
|
267
318
|
/**
|
|
268
319
|
* <p>Specifies the SAS configuration that allows DataSync to access your Azure Blob
|
|
269
320
|
* Storage.</p>
|
|
321
|
+
* <note>
|
|
322
|
+
* <p>If you provide an authentication token using <code>SasConfiguration</code>, but do not
|
|
323
|
+
* provide secret configuration details using <code>CmkSecretConfig</code> or
|
|
324
|
+
* <code>CustomSecretConfig</code>, then DataSync stores the token using your
|
|
325
|
+
* Amazon Web Services account's secrets manager secret.</p>
|
|
326
|
+
* </note>
|
|
270
327
|
* @public
|
|
271
328
|
*/
|
|
272
329
|
SasConfiguration?: AzureBlobSasConfiguration | undefined;
|
|
@@ -290,19 +347,58 @@ export interface CreateLocationAzureBlobRequest {
|
|
|
290
347
|
*/
|
|
291
348
|
Subdirectory?: string | undefined;
|
|
292
349
|
/**
|
|
293
|
-
* <p>Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
|
294
|
-
* with your Azure Blob Storage container
|
|
350
|
+
* <p>(Optional) Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
|
351
|
+
* can connect with your Azure Blob Storage container. If you are setting up an agentless
|
|
352
|
+
* cross-cloud transfer, you do not need to specify a value for this parameter.</p>
|
|
295
353
|
* <p>You can specify more than one agent. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html">Using multiple
|
|
296
354
|
* agents for your transfer</a>.</p>
|
|
355
|
+
* <note>
|
|
356
|
+
* <p>Make sure you configure this parameter correctly when you first create your storage
|
|
357
|
+
* location. You cannot add or remove agents from a storage location after you create
|
|
358
|
+
* it.</p>
|
|
359
|
+
* </note>
|
|
297
360
|
* @public
|
|
298
361
|
*/
|
|
299
|
-
AgentArns
|
|
362
|
+
AgentArns?: string[] | undefined;
|
|
300
363
|
/**
|
|
301
364
|
* <p>Specifies labels that help you categorize, filter, and search for your Amazon Web Services
|
|
302
365
|
* resources. We recommend creating at least a name tag for your transfer location.</p>
|
|
303
366
|
* @public
|
|
304
367
|
*/
|
|
305
368
|
Tags?: TagListEntry[] | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* <p>Specifies configuration information for a DataSync-managed secret, which
|
|
371
|
+
* includes the authentication token that DataSync uses to access a specific AzureBlob
|
|
372
|
+
* storage location, with a customer-managed KMS key.</p>
|
|
373
|
+
* <p>When you include this paramater as part of a <code>CreateLocationAzureBlob</code> request,
|
|
374
|
+
* you provide only the KMS key ARN. DataSync uses this KMS key together with the authentication token you specify for
|
|
375
|
+
* <code>SasConfiguration</code> to create a DataSync-managed secret to store the
|
|
376
|
+
* location access credentials.</p>
|
|
377
|
+
* <p>Make sure the DataSync has permission to access the KMS key that
|
|
378
|
+
* you specify.</p>
|
|
379
|
+
* <note>
|
|
380
|
+
* <p>You can use either <code>CmkSecretConfig</code> (with <code>SasConfiguration</code>) or
|
|
381
|
+
* <code>CustomSecretConfig</code> (without <code>SasConfiguration</code>) to provide
|
|
382
|
+
* credentials for a <code>CreateLocationAzureBlob</code> request. Do not provide both
|
|
383
|
+
* parameters for the same request.</p>
|
|
384
|
+
* </note>
|
|
385
|
+
* @public
|
|
386
|
+
*/
|
|
387
|
+
CmkSecretConfig?: CmkSecretConfig | undefined;
|
|
388
|
+
/**
|
|
389
|
+
* <p>Specifies configuration information for a customer-managed Secrets Manager secret where
|
|
390
|
+
* the authentication token for an AzureBlob storage location is stored in plain text. This
|
|
391
|
+
* configuration includes the secret ARN, and the ARN for an IAM role that
|
|
392
|
+
* provides access to the secret.</p>
|
|
393
|
+
* <note>
|
|
394
|
+
* <p>You can use either <code>CmkSecretConfig</code> (with <code>SasConfiguration</code>) or
|
|
395
|
+
* <code>CustomSecretConfig</code> (without <code>SasConfiguration</code>) to provide
|
|
396
|
+
* credentials for a <code>CreateLocationAzureBlob</code> request. Do not provide both
|
|
397
|
+
* parameters for the same request.</p>
|
|
398
|
+
* </note>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
CustomSecretConfig?: CustomSecretConfig | undefined;
|
|
306
402
|
}
|
|
307
403
|
/**
|
|
308
404
|
* @public
|
|
@@ -1165,11 +1261,17 @@ export interface CreateLocationObjectStorageRequest {
|
|
|
1165
1261
|
*/
|
|
1166
1262
|
SecretKey?: string | undefined;
|
|
1167
1263
|
/**
|
|
1168
|
-
* <p>Specifies the Amazon Resource Names (ARNs) of the DataSync agents
|
|
1169
|
-
* connect with your object storage system
|
|
1264
|
+
* <p>(Optional) Specifies the Amazon Resource Names (ARNs) of the DataSync agents
|
|
1265
|
+
* that can connect with your object storage system. If you are setting up an agentless
|
|
1266
|
+
* cross-cloud transfer, you do not need to specify a value for this parameter.</p>
|
|
1267
|
+
* <note>
|
|
1268
|
+
* <p>Make sure you configure this parameter correctly when you first create your storage
|
|
1269
|
+
* location. You cannot add or remove agents from a storage location after you create
|
|
1270
|
+
* it.</p>
|
|
1271
|
+
* </note>
|
|
1170
1272
|
* @public
|
|
1171
1273
|
*/
|
|
1172
|
-
AgentArns
|
|
1274
|
+
AgentArns?: string[] | undefined;
|
|
1173
1275
|
/**
|
|
1174
1276
|
* <p>Specifies the key-value pair that represents a tag that you want to add to the resource.
|
|
1175
1277
|
* Tags can help you manage, filter, and search for your resources. We recommend creating a name
|
|
@@ -1205,6 +1307,38 @@ export interface CreateLocationObjectStorageRequest {
|
|
|
1205
1307
|
* @public
|
|
1206
1308
|
*/
|
|
1207
1309
|
ServerCertificate?: Uint8Array | undefined;
|
|
1310
|
+
/**
|
|
1311
|
+
* <p>Specifies configuration information for a DataSync-managed secret, which
|
|
1312
|
+
* includes the <code>SecretKey</code> that DataSync uses to access a specific object
|
|
1313
|
+
* storage location, with a customer-managed KMS key.</p>
|
|
1314
|
+
* <p>When you include this paramater as part of a <code>CreateLocationObjectStorage</code>
|
|
1315
|
+
* request, you provide only the KMS key ARN. DataSync uses this KMS key together with the value you specify for the <code>SecretKey</code> parameter
|
|
1316
|
+
* to create a DataSync-managed secret to store the location access credentials.</p>
|
|
1317
|
+
* <p>Make sure the DataSync has permission to access the KMS key that
|
|
1318
|
+
* you specify.</p>
|
|
1319
|
+
* <note>
|
|
1320
|
+
* <p>You can use either <code>CmkSecretConfig</code> (with <code>SecretKey</code>) or
|
|
1321
|
+
* <code>CustomSecretConfig</code> (without <code>SecretKey</code>) to provide credentials
|
|
1322
|
+
* for a <code>CreateLocationObjectStorage</code> request. Do not provide both parameters for
|
|
1323
|
+
* the same request.</p>
|
|
1324
|
+
* </note>
|
|
1325
|
+
* @public
|
|
1326
|
+
*/
|
|
1327
|
+
CmkSecretConfig?: CmkSecretConfig | undefined;
|
|
1328
|
+
/**
|
|
1329
|
+
* <p>Specifies configuration information for a customer-managed Secrets Manager secret where
|
|
1330
|
+
* the secret key for a specific object storage location is stored in plain text. This
|
|
1331
|
+
* configuration includes the secret ARN, and the ARN for an IAM role that
|
|
1332
|
+
* provides access to the secret.</p>
|
|
1333
|
+
* <note>
|
|
1334
|
+
* <p>You can use either <code>CmkSecretConfig</code> (with <code>SecretKey</code>) or
|
|
1335
|
+
* <code>CustomSecretConfig</code> (without <code>SecretKey</code>) to provide credentials
|
|
1336
|
+
* for a <code>CreateLocationObjectStorage</code> request. Do not provide both parameters for
|
|
1337
|
+
* the same request.</p>
|
|
1338
|
+
* </note>
|
|
1339
|
+
* @public
|
|
1340
|
+
*/
|
|
1341
|
+
CustomSecretConfig?: CustomSecretConfig | undefined;
|
|
1208
1342
|
}
|
|
1209
1343
|
/**
|
|
1210
1344
|
* <p>CreateLocationObjectStorageResponse</p>
|
|
@@ -2456,7 +2590,9 @@ export interface CreateTaskRequest {
|
|
|
2456
2590
|
* <code>ENHANCED</code> - Transfer virtually unlimited numbers of objects with higher
|
|
2457
2591
|
* performance than Basic mode. Enhanced mode tasks optimize the data transfer process by
|
|
2458
2592
|
* listing, preparing, transferring, and verifying data in parallel. Enhanced mode is
|
|
2459
|
-
* currently available for transfers between Amazon S3 locations
|
|
2593
|
+
* currently available for transfers between Amazon S3 locations, transfers between
|
|
2594
|
+
* Azure Blob and Amazon S3 without an agent, and transfers between other clouds and
|
|
2595
|
+
* Amazon S3 without an agent.</p>
|
|
2460
2596
|
* <note>
|
|
2461
2597
|
* <p>To create an Enhanced mode task, the IAM role that you use to call
|
|
2462
2598
|
* the <code>CreateTask</code> operation must have the
|
|
@@ -2663,6 +2799,19 @@ export interface DescribeLocationAzureBlobRequest {
|
|
|
2663
2799
|
*/
|
|
2664
2800
|
LocationArn: string | undefined;
|
|
2665
2801
|
}
|
|
2802
|
+
/**
|
|
2803
|
+
* <p>Specifies configuration information for a DataSync-managed secret, such as an
|
|
2804
|
+
* authentication token or set of credentials that DataSync uses to access a specific
|
|
2805
|
+
* transfer location. DataSync uses the default Amazon Web Services-managed KMS key to encrypt this secret in Secrets Manager.</p>
|
|
2806
|
+
* @public
|
|
2807
|
+
*/
|
|
2808
|
+
export interface ManagedSecretConfig {
|
|
2809
|
+
/**
|
|
2810
|
+
* <p>Specifies the ARN for an Secrets Manager secret.</p>
|
|
2811
|
+
* @public
|
|
2812
|
+
*/
|
|
2813
|
+
SecretArn?: string | undefined;
|
|
2814
|
+
}
|
|
2666
2815
|
/**
|
|
2667
2816
|
* @public
|
|
2668
2817
|
*/
|
|
@@ -2707,6 +2856,28 @@ export interface DescribeLocationAzureBlobResponse {
|
|
|
2707
2856
|
* @public
|
|
2708
2857
|
*/
|
|
2709
2858
|
CreationTime?: Date | undefined;
|
|
2859
|
+
/**
|
|
2860
|
+
* <p>Describes configuration information for a DataSync-managed secret, such as an
|
|
2861
|
+
* authentication token that DataSync uses to access a specific storage location.
|
|
2862
|
+
* DataSync uses the default Amazon Web Services-managed KMS key to
|
|
2863
|
+
* encrypt this secret in Secrets Manager.</p>
|
|
2864
|
+
* @public
|
|
2865
|
+
*/
|
|
2866
|
+
ManagedSecretConfig?: ManagedSecretConfig | undefined;
|
|
2867
|
+
/**
|
|
2868
|
+
* <p>Describes configuration information for a DataSync-managed secret, such as an
|
|
2869
|
+
* authentication token that DataSync uses to access a specific storage location, with
|
|
2870
|
+
* a customer-managed KMS key.</p>
|
|
2871
|
+
* @public
|
|
2872
|
+
*/
|
|
2873
|
+
CmkSecretConfig?: CmkSecretConfig | undefined;
|
|
2874
|
+
/**
|
|
2875
|
+
* <p>Describes configuration information for a customer-managed secret, such as an
|
|
2876
|
+
* authentication token that DataSync uses to access a specific storage location, with
|
|
2877
|
+
* a customer-managed KMS key.</p>
|
|
2878
|
+
* @public
|
|
2879
|
+
*/
|
|
2880
|
+
CustomSecretConfig?: CustomSecretConfig | undefined;
|
|
2710
2881
|
}
|
|
2711
2882
|
/**
|
|
2712
2883
|
* <p>DescribeLocationEfsRequest</p>
|
|
@@ -3140,6 +3311,27 @@ export interface DescribeLocationObjectStorageResponse {
|
|
|
3140
3311
|
* @public
|
|
3141
3312
|
*/
|
|
3142
3313
|
ServerCertificate?: Uint8Array | undefined;
|
|
3314
|
+
/**
|
|
3315
|
+
* <p>Describes configuration information for a DataSync-managed secret, such as an
|
|
3316
|
+
* authentication token or set of credentials that DataSync uses to access a specific
|
|
3317
|
+
* transfer location. DataSync uses the default Amazon Web Services-managed KMS key to encrypt this secret in Secrets Manager.</p>
|
|
3318
|
+
* @public
|
|
3319
|
+
*/
|
|
3320
|
+
ManagedSecretConfig?: ManagedSecretConfig | undefined;
|
|
3321
|
+
/**
|
|
3322
|
+
* <p>Describes configuration information for a DataSync-managed secret, such as an
|
|
3323
|
+
* authentication token or set of credentials that DataSync uses to access a specific
|
|
3324
|
+
* transfer location, and a customer-managed KMS key.</p>
|
|
3325
|
+
* @public
|
|
3326
|
+
*/
|
|
3327
|
+
CmkSecretConfig?: CmkSecretConfig | undefined;
|
|
3328
|
+
/**
|
|
3329
|
+
* <p>Describes configuration information for a customer-managed secret, such as an
|
|
3330
|
+
* authentication token or set of credentials that DataSync uses to access a specific
|
|
3331
|
+
* transfer location, and a customer-managed KMS key.</p>
|
|
3332
|
+
* @public
|
|
3333
|
+
*/
|
|
3334
|
+
CustomSecretConfig?: CustomSecretConfig | undefined;
|
|
3143
3335
|
}
|
|
3144
3336
|
/**
|
|
3145
3337
|
* <p>DescribeLocationS3Request</p>
|
|
@@ -3738,7 +3930,10 @@ export interface DescribeTaskExecutionResponse {
|
|
|
3738
3930
|
*/
|
|
3739
3931
|
ManifestConfig?: ManifestConfig | undefined;
|
|
3740
3932
|
/**
|
|
3741
|
-
* <p>The time
|
|
3933
|
+
* <p>The time that DataSync sends the request to start the task execution. For
|
|
3934
|
+
* non-queued tasks, <code>LaunchTime</code> and <code>StartTime</code> are typically the same.
|
|
3935
|
+
* For queued tasks, <code>LaunchTime</code> is typically later than <code>StartTime</code>
|
|
3936
|
+
* because previously queued tasks must finish running before newer tasks can begin.</p>
|
|
3742
3937
|
* @public
|
|
3743
3938
|
*/
|
|
3744
3939
|
StartTime?: Date | undefined;
|
|
@@ -3903,6 +4098,19 @@ export interface DescribeTaskExecutionResponse {
|
|
|
3903
4098
|
* @public
|
|
3904
4099
|
*/
|
|
3905
4100
|
FilesFailed?: TaskExecutionFilesFailedDetail | undefined;
|
|
4101
|
+
/**
|
|
4102
|
+
* <p>The time that the task execution actually begins. For non-queued tasks,
|
|
4103
|
+
* <code>LaunchTime</code> and <code>StartTime</code> are typically the same. For queued tasks,
|
|
4104
|
+
* <code>LaunchTime</code> is typically later than <code>StartTime</code> because previously
|
|
4105
|
+
* queued tasks must finish running before newer tasks can begin.</p>
|
|
4106
|
+
* @public
|
|
4107
|
+
*/
|
|
4108
|
+
LaunchTime?: Date | undefined;
|
|
4109
|
+
/**
|
|
4110
|
+
* <p>The time that the transfer task ends.</p>
|
|
4111
|
+
* @public
|
|
4112
|
+
*/
|
|
4113
|
+
EndTime?: Date | undefined;
|
|
3906
4114
|
}
|
|
3907
4115
|
/**
|
|
3908
4116
|
* <p>ListAgentsRequest</p>
|
|
@@ -4474,13 +4682,32 @@ export interface UpdateLocationAzureBlobRequest {
|
|
|
4474
4682
|
*/
|
|
4475
4683
|
AccessTier?: AzureAccessTier | undefined;
|
|
4476
4684
|
/**
|
|
4477
|
-
* <p>Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
|
4478
|
-
* with your Azure Blob Storage container
|
|
4685
|
+
* <p>(Optional) Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
|
4686
|
+
* can connect with your Azure Blob Storage container. If you are setting up an agentless
|
|
4687
|
+
* cross-cloud transfer, you do not need to specify a value for this parameter.</p>
|
|
4479
4688
|
* <p>You can specify more than one agent. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html">Using multiple
|
|
4480
4689
|
* agents for your transfer</a>.</p>
|
|
4690
|
+
* <note>
|
|
4691
|
+
* <p>You cannot add or remove agents from a storage location after you initially create
|
|
4692
|
+
* it.</p>
|
|
4693
|
+
* </note>
|
|
4481
4694
|
* @public
|
|
4482
4695
|
*/
|
|
4483
4696
|
AgentArns?: string[] | undefined;
|
|
4697
|
+
/**
|
|
4698
|
+
* <p>Specifies configuration information for a DataSync-managed secret, such as an
|
|
4699
|
+
* authentication token or set of credentials that DataSync uses to access a specific
|
|
4700
|
+
* transfer location, and a customer-managed KMS key.</p>
|
|
4701
|
+
* @public
|
|
4702
|
+
*/
|
|
4703
|
+
CmkSecretConfig?: CmkSecretConfig | undefined;
|
|
4704
|
+
/**
|
|
4705
|
+
* <p>Specifies configuration information for a customer-managed secret, such as an
|
|
4706
|
+
* authentication token or set of credentials that DataSync uses to access a specific
|
|
4707
|
+
* transfer location, and a customer-managed KMS key.</p>
|
|
4708
|
+
* @public
|
|
4709
|
+
*/
|
|
4710
|
+
CustomSecretConfig?: CustomSecretConfig | undefined;
|
|
4484
4711
|
}
|
|
4485
4712
|
/**
|
|
4486
4713
|
* @public
|
|
@@ -4901,8 +5128,13 @@ export interface UpdateLocationObjectStorageRequest {
|
|
|
4901
5128
|
*/
|
|
4902
5129
|
SecretKey?: string | undefined;
|
|
4903
5130
|
/**
|
|
4904
|
-
* <p>Specifies the Amazon Resource Names (ARNs) of the DataSync agents
|
|
4905
|
-
* connect with your object storage system
|
|
5131
|
+
* <p>(Optional) Specifies the Amazon Resource Names (ARNs) of the DataSync agents
|
|
5132
|
+
* that can connect with your object storage system. If you are setting up an agentless
|
|
5133
|
+
* cross-cloud transfer, you do not need to specify a value for this parameter.</p>
|
|
5134
|
+
* <note>
|
|
5135
|
+
* <p>You cannot add or remove agents from a storage location after you initially create
|
|
5136
|
+
* it.</p>
|
|
5137
|
+
* </note>
|
|
4906
5138
|
* @public
|
|
4907
5139
|
*/
|
|
4908
5140
|
AgentArns?: string[] | undefined;
|
|
@@ -4935,6 +5167,20 @@ export interface UpdateLocationObjectStorageRequest {
|
|
|
4935
5167
|
* @public
|
|
4936
5168
|
*/
|
|
4937
5169
|
ServerCertificate?: Uint8Array | undefined;
|
|
5170
|
+
/**
|
|
5171
|
+
* <p>Specifies configuration information for a DataSync-managed secret, such as an
|
|
5172
|
+
* authentication token or set of credentials that DataSync uses to access a specific
|
|
5173
|
+
* transfer location, and a customer-managed KMS key.</p>
|
|
5174
|
+
* @public
|
|
5175
|
+
*/
|
|
5176
|
+
CmkSecretConfig?: CmkSecretConfig | undefined;
|
|
5177
|
+
/**
|
|
5178
|
+
* <p>Specifies configuration information for a customer-managed secret, such as an
|
|
5179
|
+
* authentication token or set of credentials that DataSync uses to access a specific
|
|
5180
|
+
* transfer location, and a customer-managed KMS key.</p>
|
|
5181
|
+
* @public
|
|
5182
|
+
*/
|
|
5183
|
+
CustomSecretConfig?: CustomSecretConfig | undefined;
|
|
4938
5184
|
}
|
|
4939
5185
|
/**
|
|
4940
5186
|
* @public
|
|
@@ -27,6 +27,7 @@ export declare const AzureAccessTier: {
|
|
|
27
27
|
export type AzureAccessTier =
|
|
28
28
|
(typeof AzureAccessTier)[keyof typeof AzureAccessTier];
|
|
29
29
|
export declare const AzureBlobAuthenticationType: {
|
|
30
|
+
readonly NONE: "NONE";
|
|
30
31
|
readonly SAS: "SAS";
|
|
31
32
|
};
|
|
32
33
|
export type AzureBlobAuthenticationType =
|
|
@@ -57,6 +58,10 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
57
58
|
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
58
59
|
);
|
|
59
60
|
}
|
|
61
|
+
export interface CmkSecretConfig {
|
|
62
|
+
SecretArn?: string | undefined;
|
|
63
|
+
KmsKeyArn?: string | undefined;
|
|
64
|
+
}
|
|
60
65
|
export interface TagListEntry {
|
|
61
66
|
Key: string | undefined;
|
|
62
67
|
Value?: string | undefined;
|
|
@@ -72,6 +77,10 @@ export interface CreateAgentRequest {
|
|
|
72
77
|
export interface CreateAgentResponse {
|
|
73
78
|
AgentArn?: string | undefined;
|
|
74
79
|
}
|
|
80
|
+
export interface CustomSecretConfig {
|
|
81
|
+
SecretArn?: string | undefined;
|
|
82
|
+
SecretAccessRoleArn?: string | undefined;
|
|
83
|
+
}
|
|
75
84
|
export interface CreateLocationAzureBlobRequest {
|
|
76
85
|
ContainerUrl: string | undefined;
|
|
77
86
|
AuthenticationType: AzureBlobAuthenticationType | undefined;
|
|
@@ -79,8 +88,10 @@ export interface CreateLocationAzureBlobRequest {
|
|
|
79
88
|
BlobType?: AzureBlobType | undefined;
|
|
80
89
|
AccessTier?: AzureAccessTier | undefined;
|
|
81
90
|
Subdirectory?: string | undefined;
|
|
82
|
-
AgentArns
|
|
91
|
+
AgentArns?: string[] | undefined;
|
|
83
92
|
Tags?: TagListEntry[] | undefined;
|
|
93
|
+
CmkSecretConfig?: CmkSecretConfig | undefined;
|
|
94
|
+
CustomSecretConfig?: CustomSecretConfig | undefined;
|
|
84
95
|
}
|
|
85
96
|
export interface CreateLocationAzureBlobResponse {
|
|
86
97
|
LocationArn?: string | undefined;
|
|
@@ -257,9 +268,11 @@ export interface CreateLocationObjectStorageRequest {
|
|
|
257
268
|
BucketName: string | undefined;
|
|
258
269
|
AccessKey?: string | undefined;
|
|
259
270
|
SecretKey?: string | undefined;
|
|
260
|
-
AgentArns
|
|
271
|
+
AgentArns?: string[] | undefined;
|
|
261
272
|
Tags?: TagListEntry[] | undefined;
|
|
262
273
|
ServerCertificate?: Uint8Array | undefined;
|
|
274
|
+
CmkSecretConfig?: CmkSecretConfig | undefined;
|
|
275
|
+
CustomSecretConfig?: CustomSecretConfig | undefined;
|
|
263
276
|
}
|
|
264
277
|
export interface CreateLocationObjectStorageResponse {
|
|
265
278
|
LocationArn?: string | undefined;
|
|
@@ -552,6 +565,9 @@ export interface DescribeAgentResponse {
|
|
|
552
565
|
export interface DescribeLocationAzureBlobRequest {
|
|
553
566
|
LocationArn: string | undefined;
|
|
554
567
|
}
|
|
568
|
+
export interface ManagedSecretConfig {
|
|
569
|
+
SecretArn?: string | undefined;
|
|
570
|
+
}
|
|
555
571
|
export interface DescribeLocationAzureBlobResponse {
|
|
556
572
|
LocationArn?: string | undefined;
|
|
557
573
|
LocationUri?: string | undefined;
|
|
@@ -560,6 +576,9 @@ export interface DescribeLocationAzureBlobResponse {
|
|
|
560
576
|
AccessTier?: AzureAccessTier | undefined;
|
|
561
577
|
AgentArns?: string[] | undefined;
|
|
562
578
|
CreationTime?: Date | undefined;
|
|
579
|
+
ManagedSecretConfig?: ManagedSecretConfig | undefined;
|
|
580
|
+
CmkSecretConfig?: CmkSecretConfig | undefined;
|
|
581
|
+
CustomSecretConfig?: CustomSecretConfig | undefined;
|
|
563
582
|
}
|
|
564
583
|
export interface DescribeLocationEfsRequest {
|
|
565
584
|
LocationArn: string | undefined;
|
|
@@ -654,6 +673,9 @@ export interface DescribeLocationObjectStorageResponse {
|
|
|
654
673
|
AgentArns?: string[] | undefined;
|
|
655
674
|
CreationTime?: Date | undefined;
|
|
656
675
|
ServerCertificate?: Uint8Array | undefined;
|
|
676
|
+
ManagedSecretConfig?: ManagedSecretConfig | undefined;
|
|
677
|
+
CmkSecretConfig?: CmkSecretConfig | undefined;
|
|
678
|
+
CustomSecretConfig?: CustomSecretConfig | undefined;
|
|
657
679
|
}
|
|
658
680
|
export interface DescribeLocationS3Request {
|
|
659
681
|
LocationArn: string | undefined;
|
|
@@ -797,6 +819,8 @@ export interface DescribeTaskExecutionResponse {
|
|
|
797
819
|
FilesPrepared?: number | undefined;
|
|
798
820
|
FilesListed?: TaskExecutionFilesListedDetail | undefined;
|
|
799
821
|
FilesFailed?: TaskExecutionFilesFailedDetail | undefined;
|
|
822
|
+
LaunchTime?: Date | undefined;
|
|
823
|
+
EndTime?: Date | undefined;
|
|
800
824
|
}
|
|
801
825
|
export interface ListAgentsRequest {
|
|
802
826
|
MaxResults?: number | undefined;
|
|
@@ -928,6 +952,8 @@ export interface UpdateLocationAzureBlobRequest {
|
|
|
928
952
|
BlobType?: AzureBlobType | undefined;
|
|
929
953
|
AccessTier?: AzureAccessTier | undefined;
|
|
930
954
|
AgentArns?: string[] | undefined;
|
|
955
|
+
CmkSecretConfig?: CmkSecretConfig | undefined;
|
|
956
|
+
CustomSecretConfig?: CustomSecretConfig | undefined;
|
|
931
957
|
}
|
|
932
958
|
export interface UpdateLocationAzureBlobResponse {}
|
|
933
959
|
export interface UpdateLocationEfsRequest {
|
|
@@ -1007,6 +1033,8 @@ export interface UpdateLocationObjectStorageRequest {
|
|
|
1007
1033
|
SecretKey?: string | undefined;
|
|
1008
1034
|
AgentArns?: string[] | undefined;
|
|
1009
1035
|
ServerCertificate?: Uint8Array | undefined;
|
|
1036
|
+
CmkSecretConfig?: CmkSecretConfig | undefined;
|
|
1037
|
+
CustomSecretConfig?: CustomSecretConfig | undefined;
|
|
1010
1038
|
}
|
|
1011
1039
|
export interface UpdateLocationObjectStorageResponse {}
|
|
1012
1040
|
export interface UpdateLocationS3Request {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-datasync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Datasync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.821.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-datasync",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.1.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.0.
|
|
37
|
-
"@smithy/hash-node": "^4.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
42
|
-
"@smithy/middleware-serde": "^4.0.
|
|
43
|
-
"@smithy/middleware-stack": "^4.0.
|
|
44
|
-
"@smithy/node-config-provider": "^4.1.
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
46
|
-
"@smithy/protocol-http": "^5.1.
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.0.
|
|
23
|
+
"@aws-sdk/core": "3.821.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.821.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.821.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
30
|
+
"@aws-sdk/types": "3.821.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.821.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.821.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.1.4",
|
|
35
|
+
"@smithy/core": "^3.5.1",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.0.4",
|
|
37
|
+
"@smithy/hash-node": "^4.0.4",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.0.4",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.0.4",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.9",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.10",
|
|
42
|
+
"@smithy/middleware-serde": "^4.0.8",
|
|
43
|
+
"@smithy/middleware-stack": "^4.0.4",
|
|
44
|
+
"@smithy/node-config-provider": "^4.1.3",
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.6",
|
|
46
|
+
"@smithy/protocol-http": "^5.1.2",
|
|
47
|
+
"@smithy/smithy-client": "^4.4.1",
|
|
48
|
+
"@smithy/types": "^4.3.1",
|
|
49
|
+
"@smithy/url-parser": "^4.0.4",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
55
|
-
"@smithy/util-endpoints": "^3.0.
|
|
56
|
-
"@smithy/util-middleware": "^4.0.
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.17",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.17",
|
|
55
|
+
"@smithy/util-endpoints": "^3.0.6",
|
|
56
|
+
"@smithy/util-middleware": "^4.0.4",
|
|
57
|
+
"@smithy/util-retry": "^4.0.5",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|