@aws-sdk/client-datasync 3.39.0 → 3.43.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.
Files changed (79) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist-cjs/DataSync.js +45 -0
  3. package/dist-cjs/commands/CreateLocationHdfsCommand.js +36 -0
  4. package/dist-cjs/commands/DescribeLocationHdfsCommand.js +36 -0
  5. package/dist-cjs/commands/UpdateLocationHdfsCommand.js +36 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/endpoints.js +151 -26
  8. package/dist-cjs/models/models_0.js +70 -3
  9. package/dist-cjs/protocols/Aws_json1_1.js +336 -2
  10. package/dist-cjs/runtimeConfig.browser.js +6 -3
  11. package/dist-cjs/runtimeConfig.js +5 -3
  12. package/dist-es/DataSync.js +45 -0
  13. package/dist-es/commands/CreateLocationHdfsCommand.js +39 -0
  14. package/dist-es/commands/DescribeLocationHdfsCommand.js +39 -0
  15. package/dist-es/commands/UpdateLocationHdfsCommand.js +39 -0
  16. package/dist-es/commands/index.js +3 -0
  17. package/dist-es/endpoints.js +151 -26
  18. package/dist-es/models/models_0.js +51 -0
  19. package/dist-es/protocols/Aws_json1_1.js +328 -0
  20. package/dist-es/runtimeConfig.browser.js +3 -2
  21. package/dist-es/runtimeConfig.js +3 -3
  22. package/dist-types/DataSync.d.ts +23 -0
  23. package/dist-types/DataSyncClient.d.ts +13 -2
  24. package/dist-types/commands/CancelTaskExecutionCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateAgentCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateLocationEfsCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateLocationFsxWindowsCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateLocationHdfsCommand.d.ts +35 -0
  29. package/dist-types/commands/CreateLocationNfsCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateLocationS3Command.d.ts +1 -1
  32. package/dist-types/commands/CreateLocationSmbCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateTaskCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteAgentCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteLocationCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteTaskCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeAgentCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeLocationEfsCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeLocationFsxWindowsCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeLocationHdfsCommand.d.ts +36 -0
  41. package/dist-types/commands/DescribeLocationNfsCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeLocationObjectStorageCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeLocationS3Command.d.ts +1 -1
  44. package/dist-types/commands/DescribeLocationSmbCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeTaskCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +1 -1
  47. package/dist-types/commands/ListAgentsCommand.d.ts +1 -1
  48. package/dist-types/commands/ListLocationsCommand.d.ts +1 -1
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  50. package/dist-types/commands/ListTaskExecutionsCommand.d.ts +1 -1
  51. package/dist-types/commands/ListTasksCommand.d.ts +1 -1
  52. package/dist-types/commands/StartTaskExecutionCommand.d.ts +1 -1
  53. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  54. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  55. package/dist-types/commands/UpdateAgentCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +36 -0
  57. package/dist-types/commands/UpdateLocationNfsCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateLocationSmbCommand.d.ts +1 -1
  60. package/dist-types/commands/UpdateTaskCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +1 -1
  62. package/dist-types/commands/index.d.ts +3 -0
  63. package/dist-types/models/models_0.d.ts +343 -25
  64. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  65. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  66. package/dist-types/runtimeConfig.d.ts +2 -0
  67. package/dist-types/runtimeConfig.native.d.ts +2 -0
  68. package/dist-types/ts3.4/DataSync.d.ts +15 -0
  69. package/dist-types/ts3.4/DataSyncClient.d.ts +9 -2
  70. package/dist-types/ts3.4/commands/CreateLocationHdfsCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/DescribeLocationHdfsCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/UpdateLocationHdfsCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  74. package/dist-types/ts3.4/models/models_0.d.ts +154 -0
  75. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
  76. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  77. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  78. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  79. package/package.json +23 -23
@@ -10,6 +10,7 @@ import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } fro
10
10
  import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
11
11
  import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
12
12
  import { CreateLocationFsxWindowsCommandInput, CreateLocationFsxWindowsCommandOutput } from "./commands/CreateLocationFsxWindowsCommand";
13
+ import { CreateLocationHdfsCommandInput, CreateLocationHdfsCommandOutput } from "./commands/CreateLocationHdfsCommand";
13
14
  import { CreateLocationNfsCommandInput, CreateLocationNfsCommandOutput } from "./commands/CreateLocationNfsCommand";
14
15
  import { CreateLocationObjectStorageCommandInput, CreateLocationObjectStorageCommandOutput } from "./commands/CreateLocationObjectStorageCommand";
15
16
  import { CreateLocationS3CommandInput, CreateLocationS3CommandOutput } from "./commands/CreateLocationS3Command";
@@ -21,6 +22,7 @@ import { DeleteTaskCommandInput, DeleteTaskCommandOutput } from "./commands/Dele
21
22
  import { DescribeAgentCommandInput, DescribeAgentCommandOutput } from "./commands/DescribeAgentCommand";
22
23
  import { DescribeLocationEfsCommandInput, DescribeLocationEfsCommandOutput } from "./commands/DescribeLocationEfsCommand";
23
24
  import { DescribeLocationFsxWindowsCommandInput, DescribeLocationFsxWindowsCommandOutput } from "./commands/DescribeLocationFsxWindowsCommand";
25
+ import { DescribeLocationHdfsCommandInput, DescribeLocationHdfsCommandOutput } from "./commands/DescribeLocationHdfsCommand";
24
26
  import { DescribeLocationNfsCommandInput, DescribeLocationNfsCommandOutput } from "./commands/DescribeLocationNfsCommand";
25
27
  import { DescribeLocationObjectStorageCommandInput, DescribeLocationObjectStorageCommandOutput } from "./commands/DescribeLocationObjectStorageCommand";
26
28
  import { DescribeLocationS3CommandInput, DescribeLocationS3CommandOutput } from "./commands/DescribeLocationS3Command";
@@ -36,13 +38,14 @@ import { StartTaskExecutionCommandInput, StartTaskExecutionCommandOutput } from
36
38
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
37
39
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
38
40
  import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
41
+ import { UpdateLocationHdfsCommandInput, UpdateLocationHdfsCommandOutput } from "./commands/UpdateLocationHdfsCommand";
39
42
  import { UpdateLocationNfsCommandInput, UpdateLocationNfsCommandOutput } from "./commands/UpdateLocationNfsCommand";
40
43
  import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCommandOutput } from "./commands/UpdateLocationObjectStorageCommand";
41
44
  import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "./commands/UpdateLocationSmbCommand";
42
45
  import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "./commands/UpdateTaskCommand";
43
46
  import { UpdateTaskExecutionCommandInput, UpdateTaskExecutionCommandOutput } from "./commands/UpdateTaskExecutionCommand";
44
- export declare type ServiceInputTypes = CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | ListAgentsCommandInput | ListLocationsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | StartTaskExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationSmbCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
45
- export declare type ServiceOutputTypes = CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | ListAgentsCommandOutput | ListLocationsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | StartTaskExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationSmbCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
47
+ export declare type ServiceInputTypes = CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationHdfsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationHdfsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | ListAgentsCommandInput | ListLocationsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | StartTaskExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateLocationHdfsCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationSmbCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
48
+ export declare type ServiceOutputTypes = CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationHdfsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationHdfsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | ListAgentsCommandOutput | ListLocationsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | StartTaskExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateLocationHdfsCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationSmbCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
46
49
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
47
50
 
48
51
  requestHandler?: __HttpHandler;
@@ -73,6 +76,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
73
76
 
74
77
  logger?: __Logger;
75
78
 
79
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
80
+
81
+ useFipsEndpoint?: boolean | __Provider<boolean>;
82
+
76
83
  serviceId?: string;
77
84
 
78
85
  region?: string | __Provider<string>;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
+ import { CreateLocationHdfsRequest, CreateLocationHdfsResponse } from "../models/models_0";
5
+ export interface CreateLocationHdfsCommandInput extends CreateLocationHdfsRequest {
6
+ }
7
+ export interface CreateLocationHdfsCommandOutput extends CreateLocationHdfsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateLocationHdfsCommand extends $Command<CreateLocationHdfsCommandInput, CreateLocationHdfsCommandOutput, DataSyncClientResolvedConfig> {
11
+ readonly input: CreateLocationHdfsCommandInput;
12
+ constructor(input: CreateLocationHdfsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLocationHdfsCommandInput, CreateLocationHdfsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
+ import { DescribeLocationHdfsRequest, DescribeLocationHdfsResponse } from "../models/models_0";
5
+ export interface DescribeLocationHdfsCommandInput extends DescribeLocationHdfsRequest {
6
+ }
7
+ export interface DescribeLocationHdfsCommandOutput extends DescribeLocationHdfsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeLocationHdfsCommand extends $Command<DescribeLocationHdfsCommandInput, DescribeLocationHdfsCommandOutput, DataSyncClientResolvedConfig> {
11
+ readonly input: DescribeLocationHdfsCommandInput;
12
+ constructor(input: DescribeLocationHdfsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeLocationHdfsCommandInput, DescribeLocationHdfsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
+ import { UpdateLocationHdfsRequest, UpdateLocationHdfsResponse } from "../models/models_0";
5
+ export interface UpdateLocationHdfsCommandInput extends UpdateLocationHdfsRequest {
6
+ }
7
+ export interface UpdateLocationHdfsCommandOutput extends UpdateLocationHdfsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateLocationHdfsCommand extends $Command<UpdateLocationHdfsCommandInput, UpdateLocationHdfsCommandOutput, DataSyncClientResolvedConfig> {
11
+ readonly input: UpdateLocationHdfsCommandInput;
12
+ constructor(input: UpdateLocationHdfsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateLocationHdfsCommandInput, UpdateLocationHdfsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -2,6 +2,7 @@ export * from "./CancelTaskExecutionCommand";
2
2
  export * from "./CreateAgentCommand";
3
3
  export * from "./CreateLocationEfsCommand";
4
4
  export * from "./CreateLocationFsxWindowsCommand";
5
+ export * from "./CreateLocationHdfsCommand";
5
6
  export * from "./CreateLocationNfsCommand";
6
7
  export * from "./CreateLocationObjectStorageCommand";
7
8
  export * from "./CreateLocationS3Command";
@@ -13,6 +14,7 @@ export * from "./DeleteTaskCommand";
13
14
  export * from "./DescribeAgentCommand";
14
15
  export * from "./DescribeLocationEfsCommand";
15
16
  export * from "./DescribeLocationFsxWindowsCommand";
17
+ export * from "./DescribeLocationHdfsCommand";
16
18
  export * from "./DescribeLocationNfsCommand";
17
19
  export * from "./DescribeLocationObjectStorageCommand";
18
20
  export * from "./DescribeLocationS3Command";
@@ -28,6 +30,7 @@ export * from "./StartTaskExecutionCommand";
28
30
  export * from "./TagResourceCommand";
29
31
  export * from "./UntagResourceCommand";
30
32
  export * from "./UpdateAgentCommand";
33
+ export * from "./UpdateLocationHdfsCommand";
31
34
  export * from "./UpdateLocationNfsCommand";
32
35
  export * from "./UpdateLocationObjectStorageCommand";
33
36
  export * from "./UpdateLocationSmbCommand";
@@ -159,6 +159,84 @@ export declare namespace CreateLocationFsxWindowsResponse {
159
159
 
160
160
  const filterSensitiveLog: (obj: CreateLocationFsxWindowsResponse) => any;
161
161
  }
162
+ export declare enum HdfsAuthenticationType {
163
+ KERBEROS = "KERBEROS",
164
+ SIMPLE = "SIMPLE"
165
+ }
166
+
167
+ export interface HdfsNameNode {
168
+
169
+ Hostname: string | undefined;
170
+
171
+ Port: number | undefined;
172
+ }
173
+ export declare namespace HdfsNameNode {
174
+
175
+ const filterSensitiveLog: (obj: HdfsNameNode) => any;
176
+ }
177
+ export declare enum HdfsDataTransferProtection {
178
+ AUTHENTICATION = "AUTHENTICATION",
179
+ DISABLED = "DISABLED",
180
+ INTEGRITY = "INTEGRITY",
181
+ PRIVACY = "PRIVACY"
182
+ }
183
+ export declare enum HdfsRpcProtection {
184
+ AUTHENTICATION = "AUTHENTICATION",
185
+ DISABLED = "DISABLED",
186
+ INTEGRITY = "INTEGRITY",
187
+ PRIVACY = "PRIVACY"
188
+ }
189
+
190
+ export interface QopConfiguration {
191
+
192
+ RpcProtection?: HdfsRpcProtection | string;
193
+
194
+ DataTransferProtection?: HdfsDataTransferProtection | string;
195
+ }
196
+ export declare namespace QopConfiguration {
197
+
198
+ const filterSensitiveLog: (obj: QopConfiguration) => any;
199
+ }
200
+ export interface CreateLocationHdfsRequest {
201
+
202
+ Subdirectory?: string;
203
+
204
+ NameNodes: HdfsNameNode[] | undefined;
205
+
206
+ BlockSize?: number;
207
+
208
+ ReplicationFactor?: number;
209
+
210
+ KmsKeyProviderUri?: string;
211
+
212
+ QopConfiguration?: QopConfiguration;
213
+
214
+ AuthenticationType: HdfsAuthenticationType | string | undefined;
215
+
216
+ SimpleUser?: string;
217
+
218
+ KerberosPrincipal?: string;
219
+
220
+ KerberosKeytab?: Uint8Array;
221
+
222
+ KerberosKrb5Conf?: Uint8Array;
223
+
224
+ AgentArns: string[] | undefined;
225
+
226
+ Tags?: TagListEntry[];
227
+ }
228
+ export declare namespace CreateLocationHdfsRequest {
229
+
230
+ const filterSensitiveLog: (obj: CreateLocationHdfsRequest) => any;
231
+ }
232
+ export interface CreateLocationHdfsResponse {
233
+
234
+ LocationArn?: string;
235
+ }
236
+ export declare namespace CreateLocationHdfsResponse {
237
+
238
+ const filterSensitiveLog: (obj: CreateLocationHdfsResponse) => any;
239
+ }
162
240
  export declare enum NfsVersion {
163
241
  AUTOMATIC = "AUTOMATIC",
164
242
  NFS3 = "NFS3",
@@ -631,6 +709,44 @@ export declare namespace DescribeLocationFsxWindowsResponse {
631
709
 
632
710
  const filterSensitiveLog: (obj: DescribeLocationFsxWindowsResponse) => any;
633
711
  }
712
+ export interface DescribeLocationHdfsRequest {
713
+
714
+ LocationArn: string | undefined;
715
+ }
716
+ export declare namespace DescribeLocationHdfsRequest {
717
+
718
+ const filterSensitiveLog: (obj: DescribeLocationHdfsRequest) => any;
719
+ }
720
+ export interface DescribeLocationHdfsResponse {
721
+
722
+ LocationArn?: string;
723
+
724
+ LocationUri?: string;
725
+
726
+ NameNodes?: HdfsNameNode[];
727
+
728
+ BlockSize?: number;
729
+
730
+ ReplicationFactor?: number;
731
+
732
+ KmsKeyProviderUri?: string;
733
+
734
+ QopConfiguration?: QopConfiguration;
735
+
736
+ AuthenticationType?: HdfsAuthenticationType | string;
737
+
738
+ SimpleUser?: string;
739
+
740
+ KerberosPrincipal?: string;
741
+
742
+ AgentArns?: string[];
743
+
744
+ CreationTime?: Date;
745
+ }
746
+ export declare namespace DescribeLocationHdfsResponse {
747
+
748
+ const filterSensitiveLog: (obj: DescribeLocationHdfsResponse) => any;
749
+ }
634
750
 
635
751
  export interface DescribeLocationNfsRequest {
636
752
 
@@ -1154,6 +1270,44 @@ export declare namespace UpdateAgentResponse {
1154
1270
 
1155
1271
  const filterSensitiveLog: (obj: UpdateAgentResponse) => any;
1156
1272
  }
1273
+ export interface UpdateLocationHdfsRequest {
1274
+
1275
+ LocationArn: string | undefined;
1276
+
1277
+ Subdirectory?: string;
1278
+
1279
+ NameNodes?: HdfsNameNode[];
1280
+
1281
+ BlockSize?: number;
1282
+
1283
+ ReplicationFactor?: number;
1284
+
1285
+ KmsKeyProviderUri?: string;
1286
+
1287
+ QopConfiguration?: QopConfiguration;
1288
+
1289
+ AuthenticationType?: HdfsAuthenticationType | string;
1290
+
1291
+ SimpleUser?: string;
1292
+
1293
+ KerberosPrincipal?: string;
1294
+
1295
+ KerberosKeytab?: Uint8Array;
1296
+
1297
+ KerberosKrb5Conf?: Uint8Array;
1298
+
1299
+ AgentArns?: string[];
1300
+ }
1301
+ export declare namespace UpdateLocationHdfsRequest {
1302
+
1303
+ const filterSensitiveLog: (obj: UpdateLocationHdfsRequest) => any;
1304
+ }
1305
+ export interface UpdateLocationHdfsResponse {
1306
+ }
1307
+ export declare namespace UpdateLocationHdfsResponse {
1308
+
1309
+ const filterSensitiveLog: (obj: UpdateLocationHdfsResponse) => any;
1310
+ }
1157
1311
  export interface UpdateLocationNfsRequest {
1158
1312
 
1159
1313
  LocationArn: string | undefined;
@@ -4,6 +4,7 @@ import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } fro
4
4
  import { CreateAgentCommandInput, CreateAgentCommandOutput } from "../commands/CreateAgentCommand";
5
5
  import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "../commands/CreateLocationEfsCommand";
6
6
  import { CreateLocationFsxWindowsCommandInput, CreateLocationFsxWindowsCommandOutput } from "../commands/CreateLocationFsxWindowsCommand";
7
+ import { CreateLocationHdfsCommandInput, CreateLocationHdfsCommandOutput } from "../commands/CreateLocationHdfsCommand";
7
8
  import { CreateLocationNfsCommandInput, CreateLocationNfsCommandOutput } from "../commands/CreateLocationNfsCommand";
8
9
  import { CreateLocationObjectStorageCommandInput, CreateLocationObjectStorageCommandOutput } from "../commands/CreateLocationObjectStorageCommand";
9
10
  import { CreateLocationS3CommandInput, CreateLocationS3CommandOutput } from "../commands/CreateLocationS3Command";
@@ -15,6 +16,7 @@ import { DeleteTaskCommandInput, DeleteTaskCommandOutput } from "../commands/Del
15
16
  import { DescribeAgentCommandInput, DescribeAgentCommandOutput } from "../commands/DescribeAgentCommand";
16
17
  import { DescribeLocationEfsCommandInput, DescribeLocationEfsCommandOutput } from "../commands/DescribeLocationEfsCommand";
17
18
  import { DescribeLocationFsxWindowsCommandInput, DescribeLocationFsxWindowsCommandOutput } from "../commands/DescribeLocationFsxWindowsCommand";
19
+ import { DescribeLocationHdfsCommandInput, DescribeLocationHdfsCommandOutput } from "../commands/DescribeLocationHdfsCommand";
18
20
  import { DescribeLocationNfsCommandInput, DescribeLocationNfsCommandOutput } from "../commands/DescribeLocationNfsCommand";
19
21
  import { DescribeLocationObjectStorageCommandInput, DescribeLocationObjectStorageCommandOutput } from "../commands/DescribeLocationObjectStorageCommand";
20
22
  import { DescribeLocationS3CommandInput, DescribeLocationS3CommandOutput } from "../commands/DescribeLocationS3Command";
@@ -30,6 +32,7 @@ import { StartTaskExecutionCommandInput, StartTaskExecutionCommandOutput } from
30
32
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
31
33
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
32
34
  import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "../commands/UpdateAgentCommand";
35
+ import { UpdateLocationHdfsCommandInput, UpdateLocationHdfsCommandOutput } from "../commands/UpdateLocationHdfsCommand";
33
36
  import { UpdateLocationNfsCommandInput, UpdateLocationNfsCommandOutput } from "../commands/UpdateLocationNfsCommand";
34
37
  import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCommandOutput } from "../commands/UpdateLocationObjectStorageCommand";
35
38
  import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "../commands/UpdateLocationSmbCommand";
@@ -39,6 +42,7 @@ export declare const serializeAws_json1_1CancelTaskExecutionCommand: (input: Can
39
42
  export declare const serializeAws_json1_1CreateAgentCommand: (input: CreateAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
40
43
  export declare const serializeAws_json1_1CreateLocationEfsCommand: (input: CreateLocationEfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
41
44
  export declare const serializeAws_json1_1CreateLocationFsxWindowsCommand: (input: CreateLocationFsxWindowsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
+ export declare const serializeAws_json1_1CreateLocationHdfsCommand: (input: CreateLocationHdfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
46
  export declare const serializeAws_json1_1CreateLocationNfsCommand: (input: CreateLocationNfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
47
  export declare const serializeAws_json1_1CreateLocationObjectStorageCommand: (input: CreateLocationObjectStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
48
  export declare const serializeAws_json1_1CreateLocationS3Command: (input: CreateLocationS3CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -50,6 +54,7 @@ export declare const serializeAws_json1_1DeleteTaskCommand: (input: DeleteTaskCo
50
54
  export declare const serializeAws_json1_1DescribeAgentCommand: (input: DescribeAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
55
  export declare const serializeAws_json1_1DescribeLocationEfsCommand: (input: DescribeLocationEfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
56
  export declare const serializeAws_json1_1DescribeLocationFsxWindowsCommand: (input: DescribeLocationFsxWindowsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
+ export declare const serializeAws_json1_1DescribeLocationHdfsCommand: (input: DescribeLocationHdfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
58
  export declare const serializeAws_json1_1DescribeLocationNfsCommand: (input: DescribeLocationNfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
59
  export declare const serializeAws_json1_1DescribeLocationObjectStorageCommand: (input: DescribeLocationObjectStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
60
  export declare const serializeAws_json1_1DescribeLocationS3Command: (input: DescribeLocationS3CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -65,6 +70,7 @@ export declare const serializeAws_json1_1StartTaskExecutionCommand: (input: Star
65
70
  export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
71
  export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
72
  export declare const serializeAws_json1_1UpdateAgentCommand: (input: UpdateAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
73
+ export declare const serializeAws_json1_1UpdateLocationHdfsCommand: (input: UpdateLocationHdfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
74
  export declare const serializeAws_json1_1UpdateLocationNfsCommand: (input: UpdateLocationNfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
75
  export declare const serializeAws_json1_1UpdateLocationObjectStorageCommand: (input: UpdateLocationObjectStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
76
  export declare const serializeAws_json1_1UpdateLocationSmbCommand: (input: UpdateLocationSmbCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -74,6 +80,7 @@ export declare const deserializeAws_json1_1CancelTaskExecutionCommand: (output:
74
80
  export declare const deserializeAws_json1_1CreateAgentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAgentCommandOutput>;
75
81
  export declare const deserializeAws_json1_1CreateLocationEfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLocationEfsCommandOutput>;
76
82
  export declare const deserializeAws_json1_1CreateLocationFsxWindowsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLocationFsxWindowsCommandOutput>;
83
+ export declare const deserializeAws_json1_1CreateLocationHdfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLocationHdfsCommandOutput>;
77
84
  export declare const deserializeAws_json1_1CreateLocationNfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLocationNfsCommandOutput>;
78
85
  export declare const deserializeAws_json1_1CreateLocationObjectStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLocationObjectStorageCommandOutput>;
79
86
  export declare const deserializeAws_json1_1CreateLocationS3Command: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLocationS3CommandOutput>;
@@ -85,6 +92,7 @@ export declare const deserializeAws_json1_1DeleteTaskCommand: (output: __HttpRes
85
92
  export declare const deserializeAws_json1_1DescribeAgentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAgentCommandOutput>;
86
93
  export declare const deserializeAws_json1_1DescribeLocationEfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLocationEfsCommandOutput>;
87
94
  export declare const deserializeAws_json1_1DescribeLocationFsxWindowsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLocationFsxWindowsCommandOutput>;
95
+ export declare const deserializeAws_json1_1DescribeLocationHdfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLocationHdfsCommandOutput>;
88
96
  export declare const deserializeAws_json1_1DescribeLocationNfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLocationNfsCommandOutput>;
89
97
  export declare const deserializeAws_json1_1DescribeLocationObjectStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLocationObjectStorageCommandOutput>;
90
98
  export declare const deserializeAws_json1_1DescribeLocationS3Command: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLocationS3CommandOutput>;
@@ -100,6 +108,7 @@ export declare const deserializeAws_json1_1StartTaskExecutionCommand: (output: _
100
108
  export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
101
109
  export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
102
110
  export declare const deserializeAws_json1_1UpdateAgentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAgentCommandOutput>;
111
+ export declare const deserializeAws_json1_1UpdateLocationHdfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLocationHdfsCommandOutput>;
103
112
  export declare const deserializeAws_json1_1UpdateLocationNfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLocationNfsCommandOutput>;
104
113
  export declare const deserializeAws_json1_1UpdateLocationObjectStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLocationObjectStorageCommandOutput>;
105
114
  export declare const deserializeAws_json1_1UpdateLocationSmbCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLocationSmbCommandOutput>;
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: DataSyncClientConfig) => {
14
14
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
15
  sha256: import("@aws-sdk/types").HashConstructor;
16
16
  streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
18
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
19
  utf8Decoder: import("@aws-sdk/types").Decoder;
18
20
  utf8Encoder: import("@aws-sdk/types").Encoder;
19
21
  apiVersion: string;
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: DataSyncClientConfig) => {
14
14
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
15
  sha256: import("@aws-sdk/types").HashConstructor;
16
16
  streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
18
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
19
  utf8Decoder: import("@aws-sdk/types").Decoder;
18
20
  utf8Encoder: import("@aws-sdk/types").Encoder;
19
21
  apiVersion: string;
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: DataSyncClientConfig) => {
16
16
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
17
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
18
18
  logger: import("@aws-sdk/types").Logger;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  serviceId: string;
20
22
  region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
21
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
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.39.0",
4
+ "version": "3.43.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,32 +21,32 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.39.0",
25
- "@aws-sdk/config-resolver": "3.39.0",
26
- "@aws-sdk/credential-provider-node": "3.39.0",
27
- "@aws-sdk/fetch-http-handler": "3.38.0",
28
- "@aws-sdk/hash-node": "3.38.0",
29
- "@aws-sdk/invalid-dependency": "3.38.0",
30
- "@aws-sdk/middleware-content-length": "3.38.0",
31
- "@aws-sdk/middleware-host-header": "3.38.0",
32
- "@aws-sdk/middleware-logger": "3.38.0",
33
- "@aws-sdk/middleware-retry": "3.39.0",
34
- "@aws-sdk/middleware-serde": "3.38.0",
35
- "@aws-sdk/middleware-signing": "3.39.0",
36
- "@aws-sdk/middleware-stack": "3.38.0",
37
- "@aws-sdk/middleware-user-agent": "3.38.0",
38
- "@aws-sdk/node-config-provider": "3.39.0",
39
- "@aws-sdk/node-http-handler": "3.38.0",
40
- "@aws-sdk/protocol-http": "3.38.0",
41
- "@aws-sdk/smithy-client": "3.38.0",
42
- "@aws-sdk/types": "3.38.0",
43
- "@aws-sdk/url-parser": "3.38.0",
24
+ "@aws-sdk/client-sts": "3.43.0",
25
+ "@aws-sdk/config-resolver": "3.40.0",
26
+ "@aws-sdk/credential-provider-node": "3.41.0",
27
+ "@aws-sdk/fetch-http-handler": "3.40.0",
28
+ "@aws-sdk/hash-node": "3.40.0",
29
+ "@aws-sdk/invalid-dependency": "3.40.0",
30
+ "@aws-sdk/middleware-content-length": "3.40.0",
31
+ "@aws-sdk/middleware-host-header": "3.40.0",
32
+ "@aws-sdk/middleware-logger": "3.40.0",
33
+ "@aws-sdk/middleware-retry": "3.40.0",
34
+ "@aws-sdk/middleware-serde": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.40.0",
36
+ "@aws-sdk/middleware-stack": "3.40.0",
37
+ "@aws-sdk/middleware-user-agent": "3.40.0",
38
+ "@aws-sdk/node-config-provider": "3.40.0",
39
+ "@aws-sdk/node-http-handler": "3.40.0",
40
+ "@aws-sdk/protocol-http": "3.40.0",
41
+ "@aws-sdk/smithy-client": "3.41.0",
42
+ "@aws-sdk/types": "3.40.0",
43
+ "@aws-sdk/url-parser": "3.40.0",
44
44
  "@aws-sdk/util-base64-browser": "3.37.0",
45
45
  "@aws-sdk/util-base64-node": "3.37.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.37.0",
47
47
  "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.38.0",
49
- "@aws-sdk/util-user-agent-node": "3.39.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.40.0",
49
+ "@aws-sdk/util-user-agent-node": "3.40.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.37.0",
51
51
  "@aws-sdk/util-utf8-node": "3.37.0",
52
52
  "tslib": "^2.3.0"