Skip to content

Commit 2e6785c

Browse files
author
awstools
committed
feat(client-datasync): AgentArns field is made optional for Object Storage and Azure Blob location create requests. Location credentials are now managed via Secrets Manager, and may be encrypted with service managed or customer managed keys. Authentication is now optional for Azure Blob locations.
1 parent 3ed9c12 commit 2e6785c

14 files changed

+578
-46
lines changed

clients/client-datasync/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ AWS SDK for JavaScript DataSync Client for Node.js, Browser and React Native.
88

99
<fullname>DataSync</fullname>
1010

11-
<p>DataSync is an online data movement and discovery service that simplifies
12-
data migration and helps you quickly, easily, and securely transfer your file or object data
13-
to, from, and between Amazon Web Services storage services.</p>
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>
1414
<p>This API interface reference includes documentation for using DataSync
1515
programmatically. For complete information, see the <i>
1616
<a href="https://docs.aws.amazon.com/datasync/latest/userguide/what-is-datasync.html">DataSync User

clients/client-datasync/src/DataSync.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,9 +1117,9 @@ export interface DataSync {
11171117

11181118
/**
11191119
* <fullname>DataSync</fullname>
1120-
* <p>DataSync is an online data movement and discovery service that simplifies
1121-
* data migration and helps you quickly, easily, and securely transfer your file or object data
1122-
* to, from, and between Amazon Web Services storage services.</p>
1120+
* <p>DataSync is an online data movement service that simplifies data
1121+
* migration and helps you quickly, easily, and securely transfer your file or object data to,
1122+
* from, and between Amazon Web Services storage services.</p>
11231123
* <p>This API interface reference includes documentation for using DataSync
11241124
* programmatically. For complete information, see the <i>
11251125
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/what-is-datasync.html">DataSync User

clients/client-datasync/src/DataSyncClient.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,9 @@ export interface DataSyncClientResolvedConfig extends DataSyncClientResolvedConf
503503

504504
/**
505505
* <fullname>DataSync</fullname>
506-
* <p>DataSync is an online data movement and discovery service that simplifies
507-
* data migration and helps you quickly, easily, and securely transfer your file or object data
508-
* to, from, and between Amazon Web Services storage services.</p>
506+
* <p>DataSync is an online data movement service that simplifies data
507+
* migration and helps you quickly, easily, and securely transfer your file or object data to,
508+
* from, and between Amazon Web Services storage services.</p>
509509
* <p>This API interface reference includes documentation for using DataSync
510510
* programmatically. For complete information, see the <i>
511511
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/what-is-datasync.html">DataSync User

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

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ export interface CreateLocationAzureBlobCommandOutput extends CreateLocationAzur
3333

3434
/**
3535
* <p>Creates a transfer <i>location</i> for a Microsoft Azure Blob Storage
36-
* container. DataSync can use this location as a transfer source or
37-
* destination.</p>
38-
* <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
36+
* container. DataSync can use this location as a transfer source or destination.
37+
* 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
3938
* container.</p>
39+
* <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>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript
@@ -45,14 +45,14 @@ export interface CreateLocationAzureBlobCommandOutput extends CreateLocationAzur
4545
* const client = new DataSyncClient(config);
4646
* const input = { // CreateLocationAzureBlobRequest
4747
* ContainerUrl: "STRING_VALUE", // required
48-
* AuthenticationType: "SAS", // required
48+
* AuthenticationType: "SAS" || "NONE", // required
4949
* SasConfiguration: { // AzureBlobSasConfiguration
5050
* Token: "STRING_VALUE", // required
5151
* },
5252
* BlobType: "BLOCK",
5353
* AccessTier: "HOT" || "COOL" || "ARCHIVE",
5454
* Subdirectory: "STRING_VALUE",
55-
* AgentArns: [ // AgentArnList // required
55+
* AgentArns: [ // AgentArnList
5656
* "STRING_VALUE",
5757
* ],
5858
* Tags: [ // InputTagList
@@ -61,6 +61,14 @@ export interface CreateLocationAzureBlobCommandOutput extends CreateLocationAzur
6161
* Value: "STRING_VALUE",
6262
* },
6363
* ],
64+
* CmkSecretConfig: { // CmkSecretConfig
65+
* SecretArn: "STRING_VALUE",
66+
* KmsKeyArn: "STRING_VALUE",
67+
* },
68+
* CustomSecretConfig: { // CustomSecretConfig
69+
* SecretArn: "STRING_VALUE",
70+
* SecretAccessRoleArn: "STRING_VALUE",
71+
* },
6472
* };
6573
* const command = new CreateLocationAzureBlobCommand(input);
6674
* const response = await client.send(command);

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ export interface CreateLocationObjectStorageCommandOutput
3434
__MetadataBearer {}
3535

3636
/**
37-
* <p>Creates a transfer <i>location</i> for an object storage system. DataSync can use this location as a source or destination for transferring
38-
* data.</p>
37+
* <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
38+
* 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
39+
* agent</a>.</p>
3940
* <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>
4041
* @example
4142
* Use a bare-bones client and the command you need to make an API call.
@@ -51,7 +52,7 @@ export interface CreateLocationObjectStorageCommandOutput
5152
* BucketName: "STRING_VALUE", // required
5253
* AccessKey: "STRING_VALUE",
5354
* SecretKey: "STRING_VALUE",
54-
* AgentArns: [ // AgentArnList // required
55+
* AgentArns: [ // AgentArnList
5556
* "STRING_VALUE",
5657
* ],
5758
* Tags: [ // InputTagList
@@ -61,6 +62,14 @@ export interface CreateLocationObjectStorageCommandOutput
6162
* },
6263
* ],
6364
* ServerCertificate: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
65+
* CmkSecretConfig: { // CmkSecretConfig
66+
* SecretArn: "STRING_VALUE",
67+
* KmsKeyArn: "STRING_VALUE",
68+
* },
69+
* CustomSecretConfig: { // CustomSecretConfig
70+
* SecretArn: "STRING_VALUE",
71+
* SecretAccessRoleArn: "STRING_VALUE",
72+
* },
6473
* };
6574
* const command = new CreateLocationObjectStorageCommand(input);
6675
* const response = await client.send(command);

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,24 @@ export interface DescribeLocationAzureBlobCommandOutput extends DescribeLocation
4444
* // { // DescribeLocationAzureBlobResponse
4545
* // LocationArn: "STRING_VALUE",
4646
* // LocationUri: "STRING_VALUE",
47-
* // AuthenticationType: "SAS",
47+
* // AuthenticationType: "SAS" || "NONE",
4848
* // BlobType: "BLOCK",
4949
* // AccessTier: "HOT" || "COOL" || "ARCHIVE",
5050
* // AgentArns: [ // AgentArnList
5151
* // "STRING_VALUE",
5252
* // ],
5353
* // CreationTime: new Date("TIMESTAMP"),
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+
* // },
5465
* // };
5566
*
5667
* ```

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@ export interface DescribeLocationObjectStorageCommandOutput
5757
* // ],
5858
* // CreationTime: new Date("TIMESTAMP"),
5959
* // ServerCertificate: new Uint8Array(),
60+
* // ManagedSecretConfig: { // ManagedSecretConfig
61+
* // SecretArn: "STRING_VALUE",
62+
* // },
63+
* // CmkSecretConfig: { // CmkSecretConfig
64+
* // SecretArn: "STRING_VALUE",
65+
* // KmsKeyArn: "STRING_VALUE",
66+
* // },
67+
* // CustomSecretConfig: { // CustomSecretConfig
68+
* // SecretArn: "STRING_VALUE",
69+
* // SecretAccessRoleArn: "STRING_VALUE",
70+
* // },
6071
* // };
6172
*
6273
* ```

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ export interface DescribeTaskExecutionCommandOutput extends DescribeTaskExecutio
156156
* // Verify: Number("long"),
157157
* // Delete: Number("long"),
158158
* // },
159+
* // LaunchTime: new Date("TIMESTAMP"),
160+
* // EndTime: new Date("TIMESTAMP"),
159161
* // };
160162
*
161163
* ```

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export interface UpdateLocationAzureBlobCommandOutput extends UpdateLocationAzur
4444
* const input = { // UpdateLocationAzureBlobRequest
4545
* LocationArn: "STRING_VALUE", // required
4646
* Subdirectory: "STRING_VALUE",
47-
* AuthenticationType: "SAS",
47+
* AuthenticationType: "SAS" || "NONE",
4848
* SasConfiguration: { // AzureBlobSasConfiguration
4949
* Token: "STRING_VALUE", // required
5050
* },
@@ -53,6 +53,14 @@ export interface UpdateLocationAzureBlobCommandOutput extends UpdateLocationAzur
5353
* AgentArns: [ // AgentArnList
5454
* "STRING_VALUE",
5555
* ],
56+
* CmkSecretConfig: { // CmkSecretConfig
57+
* SecretArn: "STRING_VALUE",
58+
* KmsKeyArn: "STRING_VALUE",
59+
* },
60+
* CustomSecretConfig: { // CustomSecretConfig
61+
* SecretArn: "STRING_VALUE",
62+
* SecretAccessRoleArn: "STRING_VALUE",
63+
* },
5664
* };
5765
* const command = new UpdateLocationAzureBlobCommand(input);
5866
* const response = await client.send(command);

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ export interface UpdateLocationObjectStorageCommandOutput
5656
* "STRING_VALUE",
5757
* ],
5858
* ServerCertificate: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
59+
* CmkSecretConfig: { // CmkSecretConfig
60+
* SecretArn: "STRING_VALUE",
61+
* KmsKeyArn: "STRING_VALUE",
62+
* },
63+
* CustomSecretConfig: { // CustomSecretConfig
64+
* SecretArn: "STRING_VALUE",
65+
* SecretAccessRoleArn: "STRING_VALUE",
66+
* },
5967
* };
6068
* const command = new UpdateLocationObjectStorageCommand(input);
6169
* const response = await client.send(command);

clients/client-datasync/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
/* eslint-disable */
33
/**
44
* <fullname>DataSync</fullname>
5-
* <p>DataSync is an online data movement and discovery service that simplifies
6-
* data migration and helps you quickly, easily, and securely transfer your file or object data
7-
* to, from, and between Amazon Web Services storage services.</p>
5+
* <p>DataSync is an online data movement service that simplifies data
6+
* migration and helps you quickly, easily, and securely transfer your file or object data to,
7+
* from, and between Amazon Web Services storage services.</p>
88
* <p>This API interface reference includes documentation for using DataSync
99
* programmatically. For complete information, see the <i>
1010
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/what-is-datasync.html">DataSync User

0 commit comments

Comments
 (0)