@aws-sdk/client-datasync 3.1007.0 → 3.1009.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 CHANGED
@@ -17,8 +17,9 @@ Guide</a>
17
17
  </i>.</p>
18
18
 
19
19
  ## Installing
20
- To install this package, simply type add or install @aws-sdk/client-datasync
21
- using your favorite package manager:
20
+
21
+ To install this package, use the CLI of your favorite package manager:
22
+
22
23
  - `npm install @aws-sdk/client-datasync`
23
24
  - `yarn add @aws-sdk/client-datasync`
24
25
  - `pnpm add @aws-sdk/client-datasync`
@@ -43,15 +44,15 @@ import { DataSyncClient, ListAgentsCommand } from "@aws-sdk/client-datasync";
43
44
 
44
45
  ### Usage
45
46
 
46
- To send a request, you:
47
+ To send a request:
47
48
 
48
- - Initiate client with configuration (e.g. credentials, region).
49
- - Initiate command with input parameters.
50
- - Call `send` operation on client with command object as input.
51
- - If you are using a custom http handler, you may call `destroy()` to close open connections.
49
+ - Instantiate a client with configuration (e.g. credentials, region).
50
+ - See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details.
51
+ - See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options.
52
+ - Instantiate a command with input parameters.
53
+ - Call the `send` operation on the client, providing the command object as input.
52
54
 
53
55
  ```js
54
- // a client can be shared by different commands.
55
56
  const client = new DataSyncClient({ region: "REGION" });
56
57
 
57
58
  const params = { /** input parameters */ };
@@ -60,7 +61,7 @@ const command = new ListAgentsCommand(params);
60
61
 
61
62
  #### Async/await
62
63
 
63
- We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
64
+ We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
64
65
  operator to wait for the promise returned by send operation as follows:
65
66
 
66
67
  ```js
@@ -75,26 +76,9 @@ try {
75
76
  }
76
77
  ```
77
78
 
78
- Async-await is clean, concise, intuitive, easy to debug and has better error handling
79
- as compared to using Promise chains or callbacks.
80
-
81
79
  #### Promises
82
80
 
83
- You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
84
- to execute send operation.
85
-
86
- ```js
87
- client.send(command).then(
88
- (data) => {
89
- // process data.
90
- },
91
- (error) => {
92
- // error handling.
93
- }
94
- );
95
- ```
96
-
97
- Promises can also be called using `.catch()` and `.finally()` as follows:
81
+ You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining).
98
82
 
99
83
  ```js
100
84
  client
@@ -110,27 +94,21 @@ client
110
94
  });
111
95
  ```
112
96
 
113
- #### Callbacks
114
-
115
- We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
116
- but they are supported by the send operation.
97
+ #### Aggregated client
117
98
 
118
- ```js
119
- // callbacks.
120
- client.send(command, (err, data) => {
121
- // process err and data.
122
- });
123
- ```
99
+ The aggregated client class is exported from the same package, but without the "Client" suffix.
124
100
 
125
- #### v2 compatible style
101
+ `DataSync` extends `DataSyncClient` and additionally supports all operations, waiters, and paginators as methods.
102
+ This style may be familiar to you from the AWS SDK for JavaScript v2.
126
103
 
127
- The client can also send requests using v2 compatible style.
128
- However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post
129
- on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/)
104
+ If you are bundling the AWS SDK, we recommend using only the bare-bones client (`DataSyncClient`).
105
+ More details are in the blog post on
106
+ [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/).
130
107
 
131
108
  ```ts
132
- import * as AWS from "@aws-sdk/client-datasync";
133
- const client = new AWS.DataSync({ region: "REGION" });
109
+ import { DataSync } from "@aws-sdk/client-datasync";
110
+
111
+ const client = new DataSync({ region: "REGION" });
134
112
 
135
113
  // async/await.
136
114
  try {
@@ -150,7 +128,7 @@ client
150
128
  // error handling.
151
129
  });
152
130
 
153
- // callbacks.
131
+ // callbacks (not recommended).
154
132
  client.listAgents(params, (err, data) => {
155
133
  // process err and data.
156
134
  });
@@ -178,12 +156,14 @@ try {
178
156
  }
179
157
  ```
180
158
 
159
+ See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md).
160
+
181
161
  ## Getting Help
182
162
 
183
163
  Please use these community resources for getting help.
184
- We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
164
+ We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
185
165
 
186
- - Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
166
+ - Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
187
167
  or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
188
168
  - Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
189
169
  on AWS Developer Blog.
@@ -511,8 +511,8 @@ exports.CreateLocationFsxOpenZfsResponse$ = [3, n0, _CLFOZRr,
511
511
  ];
512
512
  exports.CreateLocationFsxWindowsRequest$ = [3, n0, _CLFWR,
513
513
  0,
514
- [_FFA, _SGA, _U, _Pa, _Su, _Ta, _D],
515
- [0, 64 | 0, 0, [() => SmbPassword, 0], 0, () => InputTagList, 0], 4
514
+ [_FFA, _SGA, _U, _Su, _Ta, _D, _Pa, _CSC, _CSCu],
515
+ [0, 64 | 0, 0, 0, () => InputTagList, 0, [() => SmbPassword, 0], () => exports.CmkSecretConfig$, () => exports.CustomSecretConfig$], 3
516
516
  ];
517
517
  exports.CreateLocationFsxWindowsResponse$ = [3, n0, _CLFWRr,
518
518
  0,
@@ -521,8 +521,8 @@ exports.CreateLocationFsxWindowsResponse$ = [3, n0, _CLFWRr,
521
521
  ];
522
522
  exports.CreateLocationHdfsRequest$ = [3, n0, _CLHR,
523
523
  0,
524
- [_NN, _AT, _AAg, _Su, _BS, _RF, _KKPU, _QC, _SU, _KP, _KK, _KKC, _Ta],
525
- [() => HdfsNameNodeList, 0, 64 | 0, 0, 1, 1, 0, () => exports.QopConfiguration$, 0, 0, 21, 21, () => InputTagList], 3
524
+ [_NN, _AT, _AAg, _Su, _BS, _RF, _KKPU, _QC, _SU, _KP, _KK, _KKC, _Ta, _CSC, _CSCu],
525
+ [() => HdfsNameNodeList, 0, 64 | 0, 0, 1, 1, 0, () => exports.QopConfiguration$, 0, 0, 21, 21, () => InputTagList, () => exports.CmkSecretConfig$, () => exports.CustomSecretConfig$], 3
526
526
  ];
527
527
  exports.CreateLocationHdfsResponse$ = [3, n0, _CLHRr,
528
528
  0,
@@ -681,8 +681,8 @@ exports.DescribeLocationFsxWindowsRequest$ = [3, n0, _DLFWR,
681
681
  ];
682
682
  exports.DescribeLocationFsxWindowsResponse$ = [3, n0, _DLFWRe,
683
683
  0,
684
- [_LA, _LU, _SGA, _CT, _U, _D],
685
- [0, 0, 64 | 0, 4, 0, 0]
684
+ [_LA, _LU, _SGA, _CT, _U, _D, _MSC, _CSC, _CSCu],
685
+ [0, 0, 64 | 0, 4, 0, 0, () => exports.ManagedSecretConfig$, () => exports.CmkSecretConfig$, () => exports.CustomSecretConfig$]
686
686
  ];
687
687
  exports.DescribeLocationHdfsRequest$ = [3, n0, _DLHR,
688
688
  0,
@@ -691,8 +691,8 @@ exports.DescribeLocationHdfsRequest$ = [3, n0, _DLHR,
691
691
  ];
692
692
  exports.DescribeLocationHdfsResponse$ = [3, n0, _DLHRe,
693
693
  0,
694
- [_LA, _LU, _NN, _BS, _RF, _KKPU, _QC, _AT, _SU, _KP, _AAg, _CT],
695
- [0, 0, () => HdfsNameNodeList, 1, 1, 0, () => exports.QopConfiguration$, 0, 0, 0, 64 | 0, 4]
694
+ [_LA, _LU, _NN, _BS, _RF, _KKPU, _QC, _AT, _SU, _KP, _AAg, _CT, _MSC, _CSC, _CSCu],
695
+ [0, 0, () => HdfsNameNodeList, 1, 1, 0, () => exports.QopConfiguration$, 0, 0, 0, 64 | 0, 4, () => exports.ManagedSecretConfig$, () => exports.CmkSecretConfig$, () => exports.CustomSecretConfig$]
696
696
  ];
697
697
  exports.DescribeLocationNfsRequest$ = [3, n0, _DLNR,
698
698
  0,
@@ -776,8 +776,8 @@ exports.FsxProtocolNfs$ = [3, n0, _FPN,
776
776
  ];
777
777
  exports.FsxProtocolSmb$ = [3, n0, _FPS,
778
778
  0,
779
- [_Pa, _U, _D, _MO],
780
- [[() => SmbPassword, 0], 0, 0, () => exports.SmbMountOptions$], 2
779
+ [_U, _D, _MO, _Pa, _MSC, _CSC, _CSCu],
780
+ [0, 0, () => exports.SmbMountOptions$, [() => SmbPassword, 0], () => exports.ManagedSecretConfig$, () => exports.CmkSecretConfig$, () => exports.CustomSecretConfig$], 1
781
781
  ];
782
782
  exports.FsxUpdateProtocol$ = [3, n0, _FUP,
783
783
  0,
@@ -786,8 +786,8 @@ exports.FsxUpdateProtocol$ = [3, n0, _FUP,
786
786
  ];
787
787
  exports.FsxUpdateProtocolSmb$ = [3, n0, _FUPS,
788
788
  0,
789
- [_D, _MO, _Pa, _U],
790
- [0, () => exports.SmbMountOptions$, [() => SmbPassword, 0], 0]
789
+ [_D, _MO, _Pa, _U, _CSC, _CSCu],
790
+ [0, () => exports.SmbMountOptions$, [() => SmbPassword, 0], 0, () => exports.CmkSecretConfig$, () => exports.CustomSecretConfig$]
791
791
  ];
792
792
  exports.HdfsNameNode$ = [3, n0, _HNN,
793
793
  0,
@@ -1091,8 +1091,8 @@ exports.UpdateLocationFsxOpenZfsResponse$ = [3, n0, _ULFOZRp,
1091
1091
  ];
1092
1092
  exports.UpdateLocationFsxWindowsRequest$ = [3, n0, _ULFWR,
1093
1093
  0,
1094
- [_LA, _Su, _D, _U, _Pa],
1095
- [0, 0, 0, 0, [() => SmbPassword, 0]], 1
1094
+ [_LA, _Su, _D, _U, _Pa, _CSC, _CSCu],
1095
+ [0, 0, 0, 0, [() => SmbPassword, 0], () => exports.CmkSecretConfig$, () => exports.CustomSecretConfig$], 1
1096
1096
  ];
1097
1097
  exports.UpdateLocationFsxWindowsResponse$ = [3, n0, _ULFWRp,
1098
1098
  0,
@@ -1101,8 +1101,8 @@ exports.UpdateLocationFsxWindowsResponse$ = [3, n0, _ULFWRp,
1101
1101
  ];
1102
1102
  exports.UpdateLocationHdfsRequest$ = [3, n0, _ULHR,
1103
1103
  0,
1104
- [_LA, _Su, _NN, _BS, _RF, _KKPU, _QC, _AT, _SU, _KP, _KK, _KKC, _AAg],
1105
- [0, 0, () => HdfsNameNodeList, 1, 1, 0, () => exports.QopConfiguration$, 0, 0, 0, 21, 21, 64 | 0], 1
1104
+ [_LA, _Su, _NN, _BS, _RF, _KKPU, _QC, _AT, _SU, _KP, _KK, _KKC, _AAg, _CSC, _CSCu],
1105
+ [0, 0, () => HdfsNameNodeList, 1, 1, 0, () => exports.QopConfiguration$, 0, 0, 0, 21, 21, 64 | 0, () => exports.CmkSecretConfig$, () => exports.CustomSecretConfig$], 1
1106
1106
  ];
1107
1107
  exports.UpdateLocationHdfsResponse$ = [3, n0, _ULHRp,
1108
1108
  0,
@@ -504,8 +504,8 @@ export var CreateLocationFsxOpenZfsResponse$ = [3, n0, _CLFOZRr,
504
504
  ];
505
505
  export var CreateLocationFsxWindowsRequest$ = [3, n0, _CLFWR,
506
506
  0,
507
- [_FFA, _SGA, _U, _Pa, _Su, _Ta, _D],
508
- [0, 64 | 0, 0, [() => SmbPassword, 0], 0, () => InputTagList, 0], 4
507
+ [_FFA, _SGA, _U, _Su, _Ta, _D, _Pa, _CSC, _CSCu],
508
+ [0, 64 | 0, 0, 0, () => InputTagList, 0, [() => SmbPassword, 0], () => CmkSecretConfig$, () => CustomSecretConfig$], 3
509
509
  ];
510
510
  export var CreateLocationFsxWindowsResponse$ = [3, n0, _CLFWRr,
511
511
  0,
@@ -514,8 +514,8 @@ export var CreateLocationFsxWindowsResponse$ = [3, n0, _CLFWRr,
514
514
  ];
515
515
  export var CreateLocationHdfsRequest$ = [3, n0, _CLHR,
516
516
  0,
517
- [_NN, _AT, _AAg, _Su, _BS, _RF, _KKPU, _QC, _SU, _KP, _KK, _KKC, _Ta],
518
- [() => HdfsNameNodeList, 0, 64 | 0, 0, 1, 1, 0, () => QopConfiguration$, 0, 0, 21, 21, () => InputTagList], 3
517
+ [_NN, _AT, _AAg, _Su, _BS, _RF, _KKPU, _QC, _SU, _KP, _KK, _KKC, _Ta, _CSC, _CSCu],
518
+ [() => HdfsNameNodeList, 0, 64 | 0, 0, 1, 1, 0, () => QopConfiguration$, 0, 0, 21, 21, () => InputTagList, () => CmkSecretConfig$, () => CustomSecretConfig$], 3
519
519
  ];
520
520
  export var CreateLocationHdfsResponse$ = [3, n0, _CLHRr,
521
521
  0,
@@ -674,8 +674,8 @@ export var DescribeLocationFsxWindowsRequest$ = [3, n0, _DLFWR,
674
674
  ];
675
675
  export var DescribeLocationFsxWindowsResponse$ = [3, n0, _DLFWRe,
676
676
  0,
677
- [_LA, _LU, _SGA, _CT, _U, _D],
678
- [0, 0, 64 | 0, 4, 0, 0]
677
+ [_LA, _LU, _SGA, _CT, _U, _D, _MSC, _CSC, _CSCu],
678
+ [0, 0, 64 | 0, 4, 0, 0, () => ManagedSecretConfig$, () => CmkSecretConfig$, () => CustomSecretConfig$]
679
679
  ];
680
680
  export var DescribeLocationHdfsRequest$ = [3, n0, _DLHR,
681
681
  0,
@@ -684,8 +684,8 @@ export var DescribeLocationHdfsRequest$ = [3, n0, _DLHR,
684
684
  ];
685
685
  export var DescribeLocationHdfsResponse$ = [3, n0, _DLHRe,
686
686
  0,
687
- [_LA, _LU, _NN, _BS, _RF, _KKPU, _QC, _AT, _SU, _KP, _AAg, _CT],
688
- [0, 0, () => HdfsNameNodeList, 1, 1, 0, () => QopConfiguration$, 0, 0, 0, 64 | 0, 4]
687
+ [_LA, _LU, _NN, _BS, _RF, _KKPU, _QC, _AT, _SU, _KP, _AAg, _CT, _MSC, _CSC, _CSCu],
688
+ [0, 0, () => HdfsNameNodeList, 1, 1, 0, () => QopConfiguration$, 0, 0, 0, 64 | 0, 4, () => ManagedSecretConfig$, () => CmkSecretConfig$, () => CustomSecretConfig$]
689
689
  ];
690
690
  export var DescribeLocationNfsRequest$ = [3, n0, _DLNR,
691
691
  0,
@@ -769,8 +769,8 @@ export var FsxProtocolNfs$ = [3, n0, _FPN,
769
769
  ];
770
770
  export var FsxProtocolSmb$ = [3, n0, _FPS,
771
771
  0,
772
- [_Pa, _U, _D, _MO],
773
- [[() => SmbPassword, 0], 0, 0, () => SmbMountOptions$], 2
772
+ [_U, _D, _MO, _Pa, _MSC, _CSC, _CSCu],
773
+ [0, 0, () => SmbMountOptions$, [() => SmbPassword, 0], () => ManagedSecretConfig$, () => CmkSecretConfig$, () => CustomSecretConfig$], 1
774
774
  ];
775
775
  export var FsxUpdateProtocol$ = [3, n0, _FUP,
776
776
  0,
@@ -779,8 +779,8 @@ export var FsxUpdateProtocol$ = [3, n0, _FUP,
779
779
  ];
780
780
  export var FsxUpdateProtocolSmb$ = [3, n0, _FUPS,
781
781
  0,
782
- [_D, _MO, _Pa, _U],
783
- [0, () => SmbMountOptions$, [() => SmbPassword, 0], 0]
782
+ [_D, _MO, _Pa, _U, _CSC, _CSCu],
783
+ [0, () => SmbMountOptions$, [() => SmbPassword, 0], 0, () => CmkSecretConfig$, () => CustomSecretConfig$]
784
784
  ];
785
785
  export var HdfsNameNode$ = [3, n0, _HNN,
786
786
  0,
@@ -1084,8 +1084,8 @@ export var UpdateLocationFsxOpenZfsResponse$ = [3, n0, _ULFOZRp,
1084
1084
  ];
1085
1085
  export var UpdateLocationFsxWindowsRequest$ = [3, n0, _ULFWR,
1086
1086
  0,
1087
- [_LA, _Su, _D, _U, _Pa],
1088
- [0, 0, 0, 0, [() => SmbPassword, 0]], 1
1087
+ [_LA, _Su, _D, _U, _Pa, _CSC, _CSCu],
1088
+ [0, 0, 0, 0, [() => SmbPassword, 0], () => CmkSecretConfig$, () => CustomSecretConfig$], 1
1089
1089
  ];
1090
1090
  export var UpdateLocationFsxWindowsResponse$ = [3, n0, _ULFWRp,
1091
1091
  0,
@@ -1094,8 +1094,8 @@ export var UpdateLocationFsxWindowsResponse$ = [3, n0, _ULFWRp,
1094
1094
  ];
1095
1095
  export var UpdateLocationHdfsRequest$ = [3, n0, _ULHR,
1096
1096
  0,
1097
- [_LA, _Su, _NN, _BS, _RF, _KKPU, _QC, _AT, _SU, _KP, _KK, _KKC, _AAg],
1098
- [0, 0, () => HdfsNameNodeList, 1, 1, 0, () => QopConfiguration$, 0, 0, 0, 21, 21, 64 | 0], 1
1097
+ [_LA, _Su, _NN, _BS, _RF, _KKPU, _QC, _AT, _SU, _KP, _KK, _KKC, _AAg, _CSC, _CSCu],
1098
+ [0, 0, () => HdfsNameNodeList, 1, 1, 0, () => QopConfiguration$, 0, 0, 0, 21, 21, 64 | 0, () => CmkSecretConfig$, () => CustomSecretConfig$], 1
1099
1099
  ];
1100
1100
  export var UpdateLocationHdfsResponse$ = [3, n0, _ULHRp,
1101
1101
  0,
@@ -52,8 +52,19 @@ declare const CreateLocationFsxOntapCommand_base: {
52
52
  * MountOptions: { // SmbMountOptions
53
53
  * Version: "AUTOMATIC" || "SMB2" || "SMB3" || "SMB1" || "SMB2_0",
54
54
  * },
55
- * Password: "STRING_VALUE", // required
55
+ * Password: "STRING_VALUE",
56
56
  * User: "STRING_VALUE", // required
57
+ * ManagedSecretConfig: { // ManagedSecretConfig
58
+ * SecretArn: "STRING_VALUE",
59
+ * },
60
+ * CmkSecretConfig: { // CmkSecretConfig
61
+ * SecretArn: "STRING_VALUE",
62
+ * KmsKeyArn: "STRING_VALUE",
63
+ * },
64
+ * CustomSecretConfig: { // CustomSecretConfig
65
+ * SecretArn: "STRING_VALUE",
66
+ * SecretAccessRoleArn: "STRING_VALUE",
67
+ * },
57
68
  * },
58
69
  * },
59
70
  * SecurityGroupArns: [ // Ec2SecurityGroupArnList // required
@@ -58,8 +58,19 @@ declare const CreateLocationFsxOpenZfsCommand_base: {
58
58
  * MountOptions: { // SmbMountOptions
59
59
  * Version: "AUTOMATIC" || "SMB2" || "SMB3" || "SMB1" || "SMB2_0",
60
60
  * },
61
- * Password: "STRING_VALUE", // required
61
+ * Password: "STRING_VALUE",
62
62
  * User: "STRING_VALUE", // required
63
+ * ManagedSecretConfig: { // ManagedSecretConfig
64
+ * SecretArn: "STRING_VALUE",
65
+ * },
66
+ * CmkSecretConfig: { // CmkSecretConfig
67
+ * SecretArn: "STRING_VALUE",
68
+ * KmsKeyArn: "STRING_VALUE",
69
+ * },
70
+ * CustomSecretConfig: { // CustomSecretConfig
71
+ * SecretArn: "STRING_VALUE",
72
+ * SecretAccessRoleArn: "STRING_VALUE",
73
+ * },
63
74
  * },
64
75
  * },
65
76
  * SecurityGroupArns: [ // Ec2SecurityGroupArnList // required
@@ -55,7 +55,15 @@ declare const CreateLocationFsxWindowsCommand_base: {
55
55
  * ],
56
56
  * User: "STRING_VALUE", // required
57
57
  * Domain: "STRING_VALUE",
58
- * Password: "STRING_VALUE", // required
58
+ * Password: "STRING_VALUE",
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 CreateLocationFsxWindowsCommand(input);
61
69
  * const response = await client.send(command);
@@ -70,6 +70,14 @@ declare const CreateLocationHdfsCommand_base: {
70
70
  * Value: "STRING_VALUE",
71
71
  * },
72
72
  * ],
73
+ * CmkSecretConfig: { // CmkSecretConfig
74
+ * SecretArn: "STRING_VALUE",
75
+ * KmsKeyArn: "STRING_VALUE",
76
+ * },
77
+ * CustomSecretConfig: { // CustomSecretConfig
78
+ * SecretArn: "STRING_VALUE",
79
+ * SecretAccessRoleArn: "STRING_VALUE",
80
+ * },
73
81
  * };
74
82
  * const command = new CreateLocationHdfsCommand(input);
75
83
  * const response = await client.send(command);
@@ -60,8 +60,19 @@ declare const DescribeLocationFsxOntapCommand_base: {
60
60
  * // MountOptions: { // SmbMountOptions
61
61
  * // Version: "AUTOMATIC" || "SMB2" || "SMB3" || "SMB1" || "SMB2_0",
62
62
  * // },
63
- * // Password: "STRING_VALUE", // required
63
+ * // Password: "STRING_VALUE",
64
64
  * // User: "STRING_VALUE", // required
65
+ * // ManagedSecretConfig: { // ManagedSecretConfig
66
+ * // SecretArn: "STRING_VALUE",
67
+ * // },
68
+ * // CmkSecretConfig: { // CmkSecretConfig
69
+ * // SecretArn: "STRING_VALUE",
70
+ * // KmsKeyArn: "STRING_VALUE",
71
+ * // },
72
+ * // CustomSecretConfig: { // CustomSecretConfig
73
+ * // SecretArn: "STRING_VALUE",
74
+ * // SecretAccessRoleArn: "STRING_VALUE",
75
+ * // },
65
76
  * // },
66
77
  * // },
67
78
  * // SecurityGroupArns: [ // Ec2SecurityGroupArnList
@@ -62,8 +62,19 @@ declare const DescribeLocationFsxOpenZfsCommand_base: {
62
62
  * // MountOptions: { // SmbMountOptions
63
63
  * // Version: "AUTOMATIC" || "SMB2" || "SMB3" || "SMB1" || "SMB2_0",
64
64
  * // },
65
- * // Password: "STRING_VALUE", // required
65
+ * // Password: "STRING_VALUE",
66
66
  * // User: "STRING_VALUE", // required
67
+ * // ManagedSecretConfig: { // ManagedSecretConfig
68
+ * // SecretArn: "STRING_VALUE",
69
+ * // },
70
+ * // CmkSecretConfig: { // CmkSecretConfig
71
+ * // SecretArn: "STRING_VALUE",
72
+ * // KmsKeyArn: "STRING_VALUE",
73
+ * // },
74
+ * // CustomSecretConfig: { // CustomSecretConfig
75
+ * // SecretArn: "STRING_VALUE",
76
+ * // SecretAccessRoleArn: "STRING_VALUE",
77
+ * // },
67
78
  * // },
68
79
  * // },
69
80
  * // CreationTime: new Date("TIMESTAMP"),
@@ -50,6 +50,17 @@ declare const DescribeLocationFsxWindowsCommand_base: {
50
50
  * // CreationTime: new Date("TIMESTAMP"),
51
51
  * // User: "STRING_VALUE",
52
52
  * // Domain: "STRING_VALUE",
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
  * ```
@@ -65,6 +65,17 @@ declare const DescribeLocationHdfsCommand_base: {
65
65
  * // "STRING_VALUE",
66
66
  * // ],
67
67
  * // CreationTime: new Date("TIMESTAMP"),
68
+ * // ManagedSecretConfig: { // ManagedSecretConfig
69
+ * // SecretArn: "STRING_VALUE",
70
+ * // },
71
+ * // CmkSecretConfig: { // CmkSecretConfig
72
+ * // SecretArn: "STRING_VALUE",
73
+ * // KmsKeyArn: "STRING_VALUE",
74
+ * // },
75
+ * // CustomSecretConfig: { // CustomSecretConfig
76
+ * // SecretArn: "STRING_VALUE",
77
+ * // SecretAccessRoleArn: "STRING_VALUE",
78
+ * // },
68
79
  * // };
69
80
  *
70
81
  * ```
@@ -54,6 +54,14 @@ declare const UpdateLocationFsxOntapCommand_base: {
54
54
  * },
55
55
  * Password: "STRING_VALUE",
56
56
  * User: "STRING_VALUE",
57
+ * CmkSecretConfig: { // CmkSecretConfig
58
+ * SecretArn: "STRING_VALUE",
59
+ * KmsKeyArn: "STRING_VALUE",
60
+ * },
61
+ * CustomSecretConfig: { // CustomSecretConfig
62
+ * SecretArn: "STRING_VALUE",
63
+ * SecretAccessRoleArn: "STRING_VALUE",
64
+ * },
57
65
  * },
58
66
  * },
59
67
  * Subdirectory: "STRING_VALUE",
@@ -56,8 +56,19 @@ declare const UpdateLocationFsxOpenZfsCommand_base: {
56
56
  * MountOptions: { // SmbMountOptions
57
57
  * Version: "AUTOMATIC" || "SMB2" || "SMB3" || "SMB1" || "SMB2_0",
58
58
  * },
59
- * Password: "STRING_VALUE", // required
59
+ * Password: "STRING_VALUE",
60
60
  * User: "STRING_VALUE", // required
61
+ * ManagedSecretConfig: { // ManagedSecretConfig
62
+ * SecretArn: "STRING_VALUE",
63
+ * },
64
+ * CmkSecretConfig: { // CmkSecretConfig
65
+ * SecretArn: "STRING_VALUE",
66
+ * KmsKeyArn: "STRING_VALUE",
67
+ * },
68
+ * CustomSecretConfig: { // CustomSecretConfig
69
+ * SecretArn: "STRING_VALUE",
70
+ * SecretAccessRoleArn: "STRING_VALUE",
71
+ * },
61
72
  * },
62
73
  * },
63
74
  * Subdirectory: "STRING_VALUE",
@@ -45,6 +45,14 @@ declare const UpdateLocationFsxWindowsCommand_base: {
45
45
  * Domain: "STRING_VALUE",
46
46
  * User: "STRING_VALUE",
47
47
  * Password: "STRING_VALUE",
48
+ * CmkSecretConfig: { // CmkSecretConfig
49
+ * SecretArn: "STRING_VALUE",
50
+ * KmsKeyArn: "STRING_VALUE",
51
+ * },
52
+ * CustomSecretConfig: { // CustomSecretConfig
53
+ * SecretArn: "STRING_VALUE",
54
+ * SecretAccessRoleArn: "STRING_VALUE",
55
+ * },
48
56
  * };
49
57
  * const command = new UpdateLocationFsxWindowsCommand(input);
50
58
  * const response = await client.send(command);
@@ -63,6 +63,14 @@ declare const UpdateLocationHdfsCommand_base: {
63
63
  * AgentArns: [ // AgentArnList
64
64
  * "STRING_VALUE",
65
65
  * ],
66
+ * CmkSecretConfig: { // CmkSecretConfig
67
+ * SecretArn: "STRING_VALUE",
68
+ * KmsKeyArn: "STRING_VALUE",
69
+ * },
70
+ * CustomSecretConfig: { // CustomSecretConfig
71
+ * SecretArn: "STRING_VALUE",
72
+ * SecretAccessRoleArn: "STRING_VALUE",
73
+ * },
66
74
  * };
67
75
  * const command = new UpdateLocationHdfsCommand(input);
68
76
  * const response = await client.send(command);
@@ -286,7 +286,8 @@ export interface CreateLocationAzureBlobRequest {
286
286
  * <code>SasConfiguration</code> to create a DataSync-managed secret to store the
287
287
  * location access credentials.</p>
288
288
  * <p>Make sure that DataSync has permission to access the KMS key that
289
- * you specify.</p>
289
+ * you specify. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/location-credentials.html#service-secret-custom-key">
290
+ * Using a service-managed secret encrypted with a custom KMS key</a>.</p>
290
291
  * <note>
291
292
  * <p>You can use either <code>CmkSecretConfig</code> (with <code>SasConfiguration</code>) or
292
293
  * <code>CustomSecretConfig</code> (without <code>SasConfiguration</code>) to provide
@@ -300,7 +301,8 @@ export interface CreateLocationAzureBlobRequest {
300
301
  * <p>Specifies configuration information for a customer-managed Secrets Manager secret where
301
302
  * the authentication token for an AzureBlob storage location is stored in plain text, in Secrets
302
303
  * Manager. This configuration includes the secret ARN, and the ARN for an IAM role
303
- * that provides access to the secret.</p>
304
+ * that provides access to the secret. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/location-credentials.html#custom-secret-custom-key">
305
+ * Using a secret that you manage</a>.</p>
304
306
  * <note>
305
307
  * <p>You can use either <code>CmkSecretConfig</code> (with <code>SasConfiguration</code>) or
306
308
  * <code>CustomSecretConfig</code> (without <code>SasConfiguration</code>) to provide
@@ -521,6 +523,19 @@ export interface FsxProtocolNfs {
521
523
  */
522
524
  MountOptions?: NfsMountOptions | undefined;
523
525
  }
526
+ /**
527
+ * <p>Specifies configuration information for a DataSync-managed secret, such as an
528
+ * authentication token or set of credentials that DataSync uses to access a specific
529
+ * transfer location. DataSync uses the default Amazon Web Services-managed KMS key to encrypt this secret in Secrets Manager.</p>
530
+ * @public
531
+ */
532
+ export interface ManagedSecretConfig {
533
+ /**
534
+ * <p>Specifies the ARN for an Secrets Manager secret.</p>
535
+ * @public
536
+ */
537
+ SecretArn?: string | undefined;
538
+ }
524
539
  /**
525
540
  * <p>Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.</p>
526
541
  * @public
@@ -592,7 +607,7 @@ export interface FsxProtocolSmb {
592
607
  * <p>Specifies the password of a user who has permission to access your SVM.</p>
593
608
  * @public
594
609
  */
595
- Password: string | undefined;
610
+ Password?: string | undefined;
596
611
  /**
597
612
  * <p>Specifies a user that can mount and access the files, folders, and metadata in your
598
613
  * SVM.</p>
@@ -602,6 +617,53 @@ export interface FsxProtocolSmb {
602
617
  * @public
603
618
  */
604
619
  User: string | undefined;
620
+ /**
621
+ * <p>Describes configuration information for a DataSync-managed secret, such as a
622
+ * <code>Password</code> that DataSync uses to access
623
+ * a specific storage location. DataSync uses the default Amazon Web Services-managed
624
+ * KMS key to encrypt this secret in Secrets Manager.</p>
625
+ * <note>
626
+ * <p>Do not provide this for a <code>CreateLocation</code> request. <code>ManagedSecretConfig</code>
627
+ * is a ReadOnly property and is only be populated in the <code>DescribeLocation</code>
628
+ * response.</p>
629
+ * </note>
630
+ * @public
631
+ */
632
+ ManagedSecretConfig?: ManagedSecretConfig | undefined;
633
+ /**
634
+ * <p>Specifies configuration information for a DataSync-managed secret, which
635
+ * includes the password that DataSync uses to access a specific FSx for ONTAP
636
+ * storage location (using SMB), with a customer-managed KMS key.</p>
637
+ * <p>When you include this parameter as part of a <code>CreateLocationFsxOntap</code> request,
638
+ * you provide only the KMS key ARN. DataSync uses this KMS key together with the <code>Password</code> you specify for
639
+ * to create a DataSync-managed secret to store the location access credentials.</p>
640
+ * <p>Make sure that DataSync has permission to access the KMS key that
641
+ * you specify. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/location-credentials.html#service-secret-custom-key">
642
+ * Using a service-managed secret encrypted with a custom KMS key</a>.</p>
643
+ * <note>
644
+ * <p>You can use either <code>CmkSecretConfig</code> (with <code>Password</code>) or
645
+ * <code>CustomSecretConfig</code> (without <code>Password</code>) to provide
646
+ * credentials for a <code>CreateLocationFsxOntap</code> request. Do not provide both
647
+ * parameters for the same request.</p>
648
+ * </note>
649
+ * @public
650
+ */
651
+ CmkSecretConfig?: CmkSecretConfig | undefined;
652
+ /**
653
+ * <p>Specifies configuration information for a customer-managed Secrets Manager secret where
654
+ * the password for an FSx for ONTAP storage location (using SMB) is stored in plain text,
655
+ * in Secrets Manager. This configuration includes the secret ARN, and the ARN for
656
+ * an IAM role that provides access to the secret. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/location-credentials.html#custom-secret-custom-key">
657
+ * Using a secret that you manage</a>.</p>
658
+ * <note>
659
+ * <p>You can use either <code>CmkSecretConfig</code> (with <code>Password</code>) or
660
+ * <code>CustomSecretConfig</code> (without <code>Password</code>) to provide
661
+ * credentials for a <code>CreateLocationFsxOntap</code> request. Do not provide both
662
+ * parameters for the same request.</p>
663
+ * </note>
664
+ * @public
665
+ */
666
+ CustomSecretConfig?: CustomSecretConfig | undefined;
605
667
  }
606
668
  /**
607
669
  * <p>Specifies the data transfer protocol that DataSync uses to access your
@@ -801,7 +863,41 @@ export interface CreateLocationFsxWindowsRequest {
801
863
  * folders, and file metadata in your FSx for Windows File Server file system.</p>
802
864
  * @public
803
865
  */
804
- Password: string | undefined;
866
+ Password?: string | undefined;
867
+ /**
868
+ * <p>Specifies configuration information for a DataSync-managed secret, which
869
+ * includes the password that DataSync uses to access a specific FSx Windows
870
+ * storage location, with a customer-managed KMS key.</p>
871
+ * <p>When you include this parameter as part of a <code>CreateLocationFsxWindows</code> request,
872
+ * you provide only the KMS key ARN. DataSync uses this KMS key together with the <code>Password</code> you specify for
873
+ * to create a DataSync-managed secret to store the location access credentials.</p>
874
+ * <p>Make sure that DataSync has permission to access the KMS key that
875
+ * you specify. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/location-credentials.html#service-secret-custom-key">
876
+ * Using a service-managed secret encrypted with a custom KMS key</a>.</p>
877
+ * <note>
878
+ * <p>You can use either <code>CmkSecretConfig</code> (with <code>Password</code>) or
879
+ * <code>CustomSecretConfig</code> (without <code>Password</code>) to provide
880
+ * credentials for a <code>CreateLocationFsxWindows</code> request. Do not provide both
881
+ * parameters for the same request.</p>
882
+ * </note>
883
+ * @public
884
+ */
885
+ CmkSecretConfig?: CmkSecretConfig | undefined;
886
+ /**
887
+ * <p>Specifies configuration information for a customer-managed Secrets Manager secret where
888
+ * the password for an FSx for Windows File Server storage location is stored in plain text, in Secrets
889
+ * Manager. This configuration includes the secret ARN, and the ARN for an IAM role
890
+ * that provides access to the secret. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/location-credentials.html#custom-secret-custom-key">
891
+ * Using a secret that you manage</a>.</p>
892
+ * <note>
893
+ * <p>You can use either <code>CmkSecretConfig</code> (with <code>Password</code>) or
894
+ * <code>CustomSecretConfig</code> (without <code>Password</code>) to provide
895
+ * credentials for a <code>CreateLocationFsxWindows</code> request. Do not provide both
896
+ * parameters for the same request.</p>
897
+ * </note>
898
+ * @public
899
+ */
900
+ CustomSecretConfig?: CustomSecretConfig | undefined;
805
901
  }
806
902
  /**
807
903
  * @public
@@ -959,6 +1055,41 @@ export interface CreateLocationHdfsRequest {
959
1055
  * @public
960
1056
  */
961
1057
  Tags?: TagListEntry[] | undefined;
1058
+ /**
1059
+ * <p>Specifies configuration information for a DataSync-managed secret, which
1060
+ * includes the Kerberos keytab that DataSync uses to access a specific Hadoop
1061
+ * Distributed File System (HDFS) storage location, with a
1062
+ * customer-managed KMS key.</p>
1063
+ * <p>When you include this parameter as part of a <code>CreateLocationHdfs</code> request,
1064
+ * you provide only the KMS key ARN. DataSync uses this KMS key together with the <code>KerberosKeytab</code> you specify for
1065
+ * to create a DataSync-managed secret to store the location access credentials.</p>
1066
+ * <p>Make sure that DataSync has permission to access the KMS key that
1067
+ * you specify. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/location-credentials.html#service-secret-custom-key">
1068
+ * Using a service-managed secret encrypted with a custom KMS key</a>.</p>
1069
+ * <note>
1070
+ * <p>You can use either <code>CmkSecretConfig</code> (with <code>KerberosKeytab</code>) or
1071
+ * <code>CustomSecretConfig</code> (without <code>KerberosKeytab</code>) to provide
1072
+ * credentials for a <code>CreateLocationHdfs</code> request. Do not provide both
1073
+ * parameters for the same request.</p>
1074
+ * </note>
1075
+ * @public
1076
+ */
1077
+ CmkSecretConfig?: CmkSecretConfig | undefined;
1078
+ /**
1079
+ * <p>Specifies configuration information for a customer-managed Secrets Manager secret where
1080
+ * the Kerberos keytab for the HDFS storage location is stored in binary, in Secrets
1081
+ * Manager. This configuration includes the secret ARN, and the ARN for an IAM role
1082
+ * that provides access to the secret. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/location-credentials.html#custom-secret-custom-key">
1083
+ * Using a secret that you manage</a>.</p>
1084
+ * <note>
1085
+ * <p>You can use either <code>CmkSecretConfig</code> (with <code>KerberosKeytab</code>) or
1086
+ * <code>CustomSecretConfig</code> (without <code>KerberosKeytab</code>) to provide
1087
+ * credentials for a <code>CreateLocationHdfs</code> request. Do not provide both
1088
+ * parameters for the same request.</p>
1089
+ * </note>
1090
+ * @public
1091
+ */
1092
+ CustomSecretConfig?: CustomSecretConfig | undefined;
962
1093
  }
963
1094
  /**
964
1095
  * @public
@@ -1139,7 +1270,8 @@ export interface CreateLocationObjectStorageRequest {
1139
1270
  * 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
1140
1271
  * to create a DataSync-managed secret to store the location access credentials.</p>
1141
1272
  * <p>Make sure that DataSync has permission to access the KMS key that
1142
- * you specify.</p>
1273
+ * you specify. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/location-credentials.html#service-secret-custom-key">
1274
+ * Using a service-managed secret encrypted with a custom KMS key</a>.</p>
1143
1275
  * <note>
1144
1276
  * <p>You can use either <code>CmkSecretConfig</code> (with <code>SecretKey</code>) or
1145
1277
  * <code>CustomSecretConfig</code> (without <code>SecretKey</code>) to provide credentials
@@ -1153,7 +1285,8 @@ export interface CreateLocationObjectStorageRequest {
1153
1285
  * <p>Specifies configuration information for a customer-managed Secrets Manager secret where
1154
1286
  * the secret key for a specific object storage location is stored in plain text, in Secrets Manager.
1155
1287
  * This configuration includes the secret ARN, and the ARN for an IAM role that
1156
- * provides access to the secret.</p>
1288
+ * provides access to the secret. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/location-credentials.html#custom-secret-custom-key">
1289
+ * Using a secret that you manage</a>.</p>
1157
1290
  * <note>
1158
1291
  * <p>You can use either <code>CmkSecretConfig</code> (with <code>SecretKey</code>) or
1159
1292
  * <code>CustomSecretConfig</code> (without <code>SecretKey</code>) to provide credentials
@@ -1337,7 +1470,8 @@ export interface CreateLocationSmbRequest {
1337
1470
  * you specify to create a DataSync-managed secret to store the location access
1338
1471
  * credentials.</p>
1339
1472
  * <p>Make sure that DataSync has permission to access the KMS key that
1340
- * you specify.</p>
1473
+ * you specify. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/location-credentials.html#service-secret-custom-key">
1474
+ * Using a service-managed secret encrypted with a custom KMS key</a>.</p>
1341
1475
  * <note>
1342
1476
  * <p>You can use either <code>CmkSecretConfig</code> (with either <code>Password</code> or
1343
1477
  * <code>KerberosKeytab</code>) or <code>CustomSecretConfig</code> (without any <code>Password</code>
@@ -1352,7 +1486,9 @@ export interface CreateLocationSmbRequest {
1352
1486
  * <p>Specifies configuration information for a customer-managed Secrets Manager secret where
1353
1487
  * the SMB storage location credentials is stored in Secrets Manager as plain text (for
1354
1488
  * <code>Password</code>) or binary (for <code>KerberosKeytab</code>). This configuration includes
1355
- * the secret ARN, and the ARN for an IAM role that provides access to the secret.</p>
1489
+ * the secret ARN, and the ARN for an IAM role that provides access to the secret. For
1490
+ * more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/location-credentials.html#custom-secret-custom-key">
1491
+ * Using a secret that you manage</a>.</p>
1356
1492
  * <note>
1357
1493
  * <p>You can use either <code>CmkSecretConfig</code> (with <code>SasConfiguration</code>) or
1358
1494
  * <code>CustomSecretConfig</code> (without <code>SasConfiguration</code>) to provide
@@ -2349,19 +2485,6 @@ export interface DescribeLocationAzureBlobRequest {
2349
2485
  */
2350
2486
  LocationArn: string | undefined;
2351
2487
  }
2352
- /**
2353
- * <p>Specifies configuration information for a DataSync-managed secret, such as an
2354
- * authentication token or set of credentials that DataSync uses to access a specific
2355
- * transfer location. DataSync uses the default Amazon Web Services-managed KMS key to encrypt this secret in Secrets Manager.</p>
2356
- * @public
2357
- */
2358
- export interface ManagedSecretConfig {
2359
- /**
2360
- * <p>Specifies the ARN for an Secrets Manager secret.</p>
2361
- * @public
2362
- */
2363
- SecretArn?: string | undefined;
2364
- }
2365
2488
  /**
2366
2489
  * @public
2367
2490
  */
@@ -2424,7 +2547,8 @@ export interface DescribeLocationAzureBlobResponse {
2424
2547
  /**
2425
2548
  * <p>Describes configuration information for a customer-managed secret, such as an
2426
2549
  * authentication token that DataSync uses to access a specific storage location, with
2427
- * a customer-managed KMS key.</p>
2550
+ * a customer-managed Identity and Access Management (IAM) role that provides access to
2551
+ * the secret.</p>
2428
2552
  * @public
2429
2553
  */
2430
2554
  CustomSecretConfig?: CustomSecretConfig | undefined;
@@ -2677,6 +2801,29 @@ export interface DescribeLocationFsxWindowsResponse {
2677
2801
  * @public
2678
2802
  */
2679
2803
  Domain?: string | undefined;
2804
+ /**
2805
+ * <p>Describes configuration information for a DataSync-managed secret, such as a
2806
+ * <code>Password</code> that DataSync uses to access
2807
+ * a specific storage location. DataSync uses the default Amazon Web Services-managed
2808
+ * KMS key to encrypt this secret in Secrets Manager.</p>
2809
+ * @public
2810
+ */
2811
+ ManagedSecretConfig?: ManagedSecretConfig | undefined;
2812
+ /**
2813
+ * <p>Describes configuration information for a DataSync-managed secret, such as a
2814
+ * <code>Password</code> that DataSync uses to access
2815
+ * a specific storage location, with a customer-managed KMS key.</p>
2816
+ * @public
2817
+ */
2818
+ CmkSecretConfig?: CmkSecretConfig | undefined;
2819
+ /**
2820
+ * <p>Describes configuration information for a customer-managed secret, such as a
2821
+ * <code>Password</code> that DataSync uses to access
2822
+ * a specific storage location, with a customer-managed Identity and Access Management
2823
+ * (IAM) role that provides access to the secret.</p>
2824
+ * @public
2825
+ */
2826
+ CustomSecretConfig?: CustomSecretConfig | undefined;
2680
2827
  }
2681
2828
  /**
2682
2829
  * @public
@@ -2756,6 +2903,29 @@ export interface DescribeLocationHdfsResponse {
2756
2903
  * @public
2757
2904
  */
2758
2905
  CreationTime?: Date | undefined;
2906
+ /**
2907
+ * <p>Describes configuration information for a DataSync-managed secret, such as a
2908
+ * <code>KerberosKeytab</code> that DataSync uses to access
2909
+ * a specific storage location. DataSync uses the default Amazon Web Services-managed
2910
+ * KMS key to encrypt this secret in Secrets Manager.</p>
2911
+ * @public
2912
+ */
2913
+ ManagedSecretConfig?: ManagedSecretConfig | undefined;
2914
+ /**
2915
+ * <p>Describes configuration information for a DataSync-managed secret, such as a
2916
+ * <code>KerberosKeytab</code> that DataSync uses to access
2917
+ * a specific storage location, with a customer-managed KMS key.</p>
2918
+ * @public
2919
+ */
2920
+ CmkSecretConfig?: CmkSecretConfig | undefined;
2921
+ /**
2922
+ * <p>Describes configuration information for a customer-managed secret, such as a
2923
+ * <code>KerberosKeytab</code> that DataSync uses to access
2924
+ * a specific storage location, with a customer-managed Identity and Access Management
2925
+ * (IAM) role that provides access to the secret.</p>
2926
+ * @public
2927
+ */
2928
+ CustomSecretConfig?: CustomSecretConfig | undefined;
2759
2929
  }
2760
2930
  /**
2761
2931
  * <p>DescribeLocationNfsRequest</p>
@@ -2878,7 +3048,8 @@ export interface DescribeLocationObjectStorageResponse {
2878
3048
  /**
2879
3049
  * <p>Describes configuration information for a customer-managed secret, such as an
2880
3050
  * authentication token or set of credentials that DataSync uses to access a specific
2881
- * transfer location, and a customer-managed KMS key.</p>
3051
+ * transfer location, and a customer-managed Identity and Access Management (IAM) role
3052
+ * that provides access to the secret.</p>
2882
3053
  * @public
2883
3054
  */
2884
3055
  CustomSecretConfig?: CustomSecretConfig | undefined;
@@ -3032,7 +3203,8 @@ export interface DescribeLocationSmbResponse {
3032
3203
  /**
3033
3204
  * <p>Describes configuration information for a customer-managed secret, such as a
3034
3205
  * <code>Password</code> or <code>KerberosKeytab</code> that DataSync uses to access
3035
- * a specific storage location, with a customer-managed KMS key.</p>
3206
+ * a specific storage location, with a customer-managed Identity and Access Management (IAM)
3207
+ * role that provides access to the secret.</p>
3036
3208
  * @public
3037
3209
  */
3038
3210
  CustomSecretConfig?: CustomSecretConfig | undefined;
@@ -4401,7 +4573,8 @@ export interface UpdateLocationAzureBlobRequest {
4401
4573
  /**
4402
4574
  * <p>Specifies configuration information for a customer-managed secret, such as an
4403
4575
  * authentication token or set of credentials that DataSync uses to access a specific
4404
- * transfer location, and a customer-managed KMS key.</p>
4576
+ * transfer location, and a customer-managed Identity and Access Management (IAM) role that
4577
+ * provides access to the secret.</p>
4405
4578
  * @public
4406
4579
  */
4407
4580
  CustomSecretConfig?: CustomSecretConfig | undefined;
@@ -4519,6 +4692,21 @@ export interface FsxUpdateProtocolSmb {
4519
4692
  * @public
4520
4693
  */
4521
4694
  User?: string | undefined;
4695
+ /**
4696
+ * <p>Specifies configuration information for a DataSync-managed secret, such as a
4697
+ * <code>Password</code> or set of credentials that DataSync uses to access a
4698
+ * specific transfer location, and a customer-managed KMS key.</p>
4699
+ * @public
4700
+ */
4701
+ CmkSecretConfig?: CmkSecretConfig | undefined;
4702
+ /**
4703
+ * <p>Specifies configuration information for a customer-managed secret, such as a
4704
+ * <code>Password</code> or set of credentials that DataSync uses to access a
4705
+ * specific transfer location. This configuration includes the secret ARN, and the ARN
4706
+ * for an IAM role that provides access to the secret.</p>
4707
+ * @public
4708
+ */
4709
+ CustomSecretConfig?: CustomSecretConfig | undefined;
4522
4710
  }
4523
4711
  /**
4524
4712
  * <p>Specifies the data transfer protocol that DataSync uses to access your
@@ -4646,6 +4834,21 @@ export interface UpdateLocationFsxWindowsRequest {
4646
4834
  * @public
4647
4835
  */
4648
4836
  Password?: string | undefined;
4837
+ /**
4838
+ * <p>Specifies configuration information for a DataSync-managed secret, such as a
4839
+ * <code>Password</code> or set of credentials that DataSync uses to access a specific
4840
+ * transfer location, and a customer-managed KMS key.</p>
4841
+ * @public
4842
+ */
4843
+ CmkSecretConfig?: CmkSecretConfig | undefined;
4844
+ /**
4845
+ * <p>Specifies configuration information for a customer-managed secret, such as a
4846
+ * <code>Password</code> or set of credentials that DataSync uses to access a specific
4847
+ * transfer location, and a customer-managed Identity and Access Management (IAM) role
4848
+ * that provides access to the secret.</p>
4849
+ * @public
4850
+ */
4851
+ CustomSecretConfig?: CustomSecretConfig | undefined;
4649
4852
  }
4650
4853
  /**
4651
4854
  * @public
@@ -4732,6 +4935,21 @@ export interface UpdateLocationHdfsRequest {
4732
4935
  * @public
4733
4936
  */
4734
4937
  AgentArns?: string[] | undefined;
4938
+ /**
4939
+ * <p>Specifies configuration information for a DataSync-managed secret, such as a
4940
+ * <code>KerberosKeytab</code> or set of credentials that DataSync uses to access a
4941
+ * specific transfer location, and a customer-managed KMS key.</p>
4942
+ * @public
4943
+ */
4944
+ CmkSecretConfig?: CmkSecretConfig | undefined;
4945
+ /**
4946
+ * <p>Specifies configuration information for a customer-managed secret, such as a
4947
+ * <code>KerberosKeytab</code> or set of credentials that DataSync uses to
4948
+ * access a specific transfer location, and a customer-managed
4949
+ * Identity and Access Management (IAM) role that provides access to the secret.</p>
4950
+ * @public
4951
+ */
4952
+ CustomSecretConfig?: CustomSecretConfig | undefined;
4735
4953
  }
4736
4954
  /**
4737
4955
  * @public
@@ -4879,7 +5097,8 @@ export interface UpdateLocationObjectStorageRequest {
4879
5097
  /**
4880
5098
  * <p>Specifies configuration information for a customer-managed secret, such as an
4881
5099
  * authentication token or set of credentials that DataSync uses to access a specific
4882
- * transfer location, and a customer-managed KMS key.</p>
5100
+ * transfer location, and a customer-managed Identity and Access Management (IAM) role
5101
+ * that provides access to the secret.</p>
4883
5102
  * @public
4884
5103
  */
4885
5104
  CustomSecretConfig?: CustomSecretConfig | undefined;
@@ -5017,7 +5236,8 @@ export interface UpdateLocationSmbRequest {
5017
5236
  /**
5018
5237
  * <p>Specifies configuration information for a customer-managed secret, such as a
5019
5238
  * <code>Password</code> or <code>KerberosKeytab</code> or set of credentials that DataSync uses to access a specific transfer location, and a
5020
- * customer-managed KMS key.</p>
5239
+ * customer-managed Identity and Access Management (IAM) role that provides access to
5240
+ * the secret.</p>
5021
5241
  * @public
5022
5242
  */
5023
5243
  CustomSecretConfig?: CustomSecretConfig | undefined;
@@ -128,14 +128,20 @@ export interface NfsMountOptions {
128
128
  export interface FsxProtocolNfs {
129
129
  MountOptions?: NfsMountOptions | undefined;
130
130
  }
131
+ export interface ManagedSecretConfig {
132
+ SecretArn?: string | undefined;
133
+ }
131
134
  export interface SmbMountOptions {
132
135
  Version?: SmbVersion | undefined;
133
136
  }
134
137
  export interface FsxProtocolSmb {
135
138
  Domain?: string | undefined;
136
139
  MountOptions?: SmbMountOptions | undefined;
137
- Password: string | undefined;
140
+ Password?: string | undefined;
138
141
  User: string | undefined;
142
+ ManagedSecretConfig?: ManagedSecretConfig | undefined;
143
+ CmkSecretConfig?: CmkSecretConfig | undefined;
144
+ CustomSecretConfig?: CustomSecretConfig | undefined;
139
145
  }
140
146
  export interface FsxProtocol {
141
147
  NFS?: FsxProtocolNfs | undefined;
@@ -168,7 +174,9 @@ export interface CreateLocationFsxWindowsRequest {
168
174
  Tags?: TagListEntry[] | undefined;
169
175
  User: string | undefined;
170
176
  Domain?: string | undefined;
171
- Password: string | undefined;
177
+ Password?: string | undefined;
178
+ CmkSecretConfig?: CmkSecretConfig | undefined;
179
+ CustomSecretConfig?: CustomSecretConfig | undefined;
172
180
  }
173
181
  export interface CreateLocationFsxWindowsResponse {
174
182
  LocationArn?: string | undefined;
@@ -195,6 +203,8 @@ export interface CreateLocationHdfsRequest {
195
203
  KerberosKrb5Conf?: Uint8Array | undefined;
196
204
  AgentArns: string[] | undefined;
197
205
  Tags?: TagListEntry[] | undefined;
206
+ CmkSecretConfig?: CmkSecretConfig | undefined;
207
+ CustomSecretConfig?: CustomSecretConfig | undefined;
198
208
  }
199
209
  export interface CreateLocationHdfsResponse {
200
210
  LocationArn?: string | undefined;
@@ -377,9 +387,6 @@ export interface DescribeAgentResponse {
377
387
  export interface DescribeLocationAzureBlobRequest {
378
388
  LocationArn: string | undefined;
379
389
  }
380
- export interface ManagedSecretConfig {
381
- SecretArn?: string | undefined;
382
- }
383
390
  export interface DescribeLocationAzureBlobResponse {
384
391
  LocationArn?: string | undefined;
385
392
  LocationUri?: string | undefined;
@@ -445,6 +452,9 @@ export interface DescribeLocationFsxWindowsResponse {
445
452
  CreationTime?: Date | undefined;
446
453
  User?: string | undefined;
447
454
  Domain?: string | undefined;
455
+ ManagedSecretConfig?: ManagedSecretConfig | undefined;
456
+ CmkSecretConfig?: CmkSecretConfig | undefined;
457
+ CustomSecretConfig?: CustomSecretConfig | undefined;
448
458
  }
449
459
  export interface DescribeLocationHdfsRequest {
450
460
  LocationArn: string | undefined;
@@ -462,6 +472,9 @@ export interface DescribeLocationHdfsResponse {
462
472
  KerberosPrincipal?: string | undefined;
463
473
  AgentArns?: string[] | undefined;
464
474
  CreationTime?: Date | undefined;
475
+ ManagedSecretConfig?: ManagedSecretConfig | undefined;
476
+ CmkSecretConfig?: CmkSecretConfig | undefined;
477
+ CustomSecretConfig?: CustomSecretConfig | undefined;
465
478
  }
466
479
  export interface DescribeLocationNfsRequest {
467
480
  LocationArn: string | undefined;
@@ -751,6 +764,8 @@ export interface FsxUpdateProtocolSmb {
751
764
  MountOptions?: SmbMountOptions | undefined;
752
765
  Password?: string | undefined;
753
766
  User?: string | undefined;
767
+ CmkSecretConfig?: CmkSecretConfig | undefined;
768
+ CustomSecretConfig?: CustomSecretConfig | undefined;
754
769
  }
755
770
  export interface FsxUpdateProtocol {
756
771
  NFS?: FsxProtocolNfs | undefined;
@@ -774,6 +789,8 @@ export interface UpdateLocationFsxWindowsRequest {
774
789
  Domain?: string | undefined;
775
790
  User?: string | undefined;
776
791
  Password?: string | undefined;
792
+ CmkSecretConfig?: CmkSecretConfig | undefined;
793
+ CustomSecretConfig?: CustomSecretConfig | undefined;
777
794
  }
778
795
  export interface UpdateLocationFsxWindowsResponse {}
779
796
  export interface UpdateLocationHdfsRequest {
@@ -790,6 +807,8 @@ export interface UpdateLocationHdfsRequest {
790
807
  KerberosKeytab?: Uint8Array | undefined;
791
808
  KerberosKrb5Conf?: Uint8Array | undefined;
792
809
  AgentArns?: string[] | undefined;
810
+ CmkSecretConfig?: CmkSecretConfig | undefined;
811
+ CustomSecretConfig?: CustomSecretConfig | undefined;
793
812
  }
794
813
  export interface UpdateLocationHdfsResponse {}
795
814
  export interface UpdateLocationNfsRequest {
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.1007.0",
4
+ "version": "3.1009.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-datasync",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.19",
25
- "@aws-sdk/credential-provider-node": "^3.972.19",
26
- "@aws-sdk/middleware-host-header": "^3.972.7",
27
- "@aws-sdk/middleware-logger": "^3.972.7",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.7",
29
- "@aws-sdk/middleware-user-agent": "^3.972.20",
30
- "@aws-sdk/region-config-resolver": "^3.972.7",
31
- "@aws-sdk/types": "^3.973.5",
32
- "@aws-sdk/util-endpoints": "^3.996.4",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.7",
34
- "@aws-sdk/util-user-agent-node": "^3.973.5",
35
- "@smithy/config-resolver": "^4.4.10",
36
- "@smithy/core": "^3.23.9",
37
- "@smithy/fetch-http-handler": "^5.3.13",
38
- "@smithy/hash-node": "^4.2.11",
39
- "@smithy/invalid-dependency": "^4.2.11",
40
- "@smithy/middleware-content-length": "^4.2.11",
41
- "@smithy/middleware-endpoint": "^4.4.23",
42
- "@smithy/middleware-retry": "^4.4.40",
43
- "@smithy/middleware-serde": "^4.2.12",
44
- "@smithy/middleware-stack": "^4.2.11",
45
- "@smithy/node-config-provider": "^4.3.11",
46
- "@smithy/node-http-handler": "^4.4.14",
47
- "@smithy/protocol-http": "^5.3.11",
48
- "@smithy/smithy-client": "^4.12.3",
49
- "@smithy/types": "^4.13.0",
50
- "@smithy/url-parser": "^4.2.11",
24
+ "@aws-sdk/core": "^3.973.20",
25
+ "@aws-sdk/credential-provider-node": "^3.972.21",
26
+ "@aws-sdk/middleware-host-header": "^3.972.8",
27
+ "@aws-sdk/middleware-logger": "^3.972.8",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.8",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.21",
30
+ "@aws-sdk/region-config-resolver": "^3.972.8",
31
+ "@aws-sdk/types": "^3.973.6",
32
+ "@aws-sdk/util-endpoints": "^3.996.5",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.8",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.7",
35
+ "@smithy/config-resolver": "^4.4.11",
36
+ "@smithy/core": "^3.23.11",
37
+ "@smithy/fetch-http-handler": "^5.3.15",
38
+ "@smithy/hash-node": "^4.2.12",
39
+ "@smithy/invalid-dependency": "^4.2.12",
40
+ "@smithy/middleware-content-length": "^4.2.12",
41
+ "@smithy/middleware-endpoint": "^4.4.25",
42
+ "@smithy/middleware-retry": "^4.4.42",
43
+ "@smithy/middleware-serde": "^4.2.14",
44
+ "@smithy/middleware-stack": "^4.2.12",
45
+ "@smithy/node-config-provider": "^4.3.12",
46
+ "@smithy/node-http-handler": "^4.4.16",
47
+ "@smithy/protocol-http": "^5.3.12",
48
+ "@smithy/smithy-client": "^4.12.5",
49
+ "@smithy/types": "^4.13.1",
50
+ "@smithy/url-parser": "^4.2.12",
51
51
  "@smithy/util-base64": "^4.3.2",
52
52
  "@smithy/util-body-length-browser": "^4.2.2",
53
53
  "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.39",
55
- "@smithy/util-defaults-mode-node": "^4.2.42",
56
- "@smithy/util-endpoints": "^3.3.2",
57
- "@smithy/util-middleware": "^4.2.11",
58
- "@smithy/util-retry": "^4.2.11",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.41",
55
+ "@smithy/util-defaults-mode-node": "^4.2.44",
56
+ "@smithy/util-endpoints": "^3.3.3",
57
+ "@smithy/util-middleware": "^4.2.12",
58
+ "@smithy/util-retry": "^4.2.12",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
60
  "tslib": "^2.6.2"
61
61
  },