@aws-sdk/client-datasync 3.812.0 → 3.814.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 (96) hide show
  1. package/README.md +3 -107
  2. package/dist-cjs/index.js +26 -890
  3. package/dist-es/DataSync.js +0 -26
  4. package/dist-es/commands/index.js +0 -13
  5. package/dist-es/models/models_0.js +18 -62
  6. package/dist-es/pagination/index.js +0 -4
  7. package/dist-es/protocols/Aws_json1_1.js +2 -554
  8. package/dist-types/DataSync.d.ts +3 -96
  9. package/dist-types/DataSyncClient.d.ts +5 -18
  10. package/dist-types/commands/CreateAgentCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateLocationFsxLustreCommand.d.ts +3 -3
  12. package/dist-types/commands/CreateLocationFsxOpenZfsCommand.d.ts +5 -4
  13. package/dist-types/commands/CreateLocationHdfsCommand.d.ts +2 -2
  14. package/dist-types/commands/CreateLocationNfsCommand.d.ts +2 -2
  15. package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +1 -2
  16. package/dist-types/commands/CreateLocationS3Command.d.ts +4 -2
  17. package/dist-types/commands/CreateTaskCommand.d.ts +4 -3
  18. package/dist-types/commands/DescribeAgentCommand.d.ts +2 -2
  19. package/dist-types/commands/DescribeLocationAzureBlobCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeTaskCommand.d.ts +2 -1
  21. package/dist-types/commands/UpdateLocationAzureBlobCommand.d.ts +2 -1
  22. package/dist-types/commands/UpdateLocationEfsCommand.d.ts +4 -2
  23. package/dist-types/commands/UpdateLocationFsxLustreCommand.d.ts +4 -2
  24. package/dist-types/commands/UpdateLocationFsxOntapCommand.d.ts +4 -2
  25. package/dist-types/commands/UpdateLocationFsxOpenZfsCommand.d.ts +5 -3
  26. package/dist-types/commands/UpdateLocationFsxWindowsCommand.d.ts +4 -2
  27. package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +4 -3
  28. package/dist-types/commands/UpdateLocationNfsCommand.d.ts +4 -3
  29. package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +4 -2
  30. package/dist-types/commands/UpdateLocationS3Command.d.ts +3 -2
  31. package/dist-types/commands/UpdateLocationSmbCommand.d.ts +4 -3
  32. package/dist-types/commands/UpdateTaskCommand.d.ts +2 -1
  33. package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +2 -2
  34. package/dist-types/commands/index.d.ts +0 -13
  35. package/dist-types/index.d.ts +3 -3
  36. package/dist-types/models/models_0.d.ts +368 -1499
  37. package/dist-types/pagination/index.d.ts +0 -4
  38. package/dist-types/protocols/Aws_json1_1.d.ts +0 -117
  39. package/dist-types/ts3.4/DataSync.d.ts +0 -229
  40. package/dist-types/ts3.4/DataSyncClient.d.ts +0 -78
  41. package/dist-types/ts3.4/commands/index.d.ts +0 -13
  42. package/dist-types/ts3.4/models/models_0.d.ts +18 -307
  43. package/dist-types/ts3.4/pagination/index.d.ts +0 -4
  44. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -156
  45. package/package.json +2 -4
  46. package/dist-es/commands/AddStorageSystemCommand.js +0 -23
  47. package/dist-es/commands/DescribeDiscoveryJobCommand.js +0 -22
  48. package/dist-es/commands/DescribeStorageSystemCommand.js +0 -22
  49. package/dist-es/commands/DescribeStorageSystemResourceMetricsCommand.js +0 -22
  50. package/dist-es/commands/DescribeStorageSystemResourcesCommand.js +0 -22
  51. package/dist-es/commands/GenerateRecommendationsCommand.js +0 -22
  52. package/dist-es/commands/ListDiscoveryJobsCommand.js +0 -22
  53. package/dist-es/commands/ListStorageSystemsCommand.js +0 -22
  54. package/dist-es/commands/RemoveStorageSystemCommand.js +0 -22
  55. package/dist-es/commands/StartDiscoveryJobCommand.js +0 -22
  56. package/dist-es/commands/StopDiscoveryJobCommand.js +0 -22
  57. package/dist-es/commands/UpdateDiscoveryJobCommand.js +0 -22
  58. package/dist-es/commands/UpdateStorageSystemCommand.js +0 -23
  59. package/dist-es/pagination/DescribeStorageSystemResourceMetricsPaginator.js +0 -4
  60. package/dist-es/pagination/DescribeStorageSystemResourcesPaginator.js +0 -4
  61. package/dist-es/pagination/ListDiscoveryJobsPaginator.js +0 -4
  62. package/dist-es/pagination/ListStorageSystemsPaginator.js +0 -4
  63. package/dist-types/commands/AddStorageSystemCommand.d.ts +0 -100
  64. package/dist-types/commands/DescribeDiscoveryJobCommand.d.ts +0 -84
  65. package/dist-types/commands/DescribeStorageSystemCommand.d.ts +0 -94
  66. package/dist-types/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +0 -118
  67. package/dist-types/commands/DescribeStorageSystemResourcesCommand.d.ts +0 -208
  68. package/dist-types/commands/GenerateRecommendationsCommand.d.ts +0 -85
  69. package/dist-types/commands/ListDiscoveryJobsCommand.d.ts +0 -88
  70. package/dist-types/commands/ListStorageSystemsCommand.d.ts +0 -86
  71. package/dist-types/commands/RemoveStorageSystemCommand.d.ts +0 -78
  72. package/dist-types/commands/StartDiscoveryJobCommand.d.ts +0 -89
  73. package/dist-types/commands/StopDiscoveryJobCommand.d.ts +0 -80
  74. package/dist-types/commands/UpdateDiscoveryJobCommand.d.ts +0 -78
  75. package/dist-types/commands/UpdateStorageSystemCommand.d.ts +0 -91
  76. package/dist-types/pagination/DescribeStorageSystemResourceMetricsPaginator.d.ts +0 -7
  77. package/dist-types/pagination/DescribeStorageSystemResourcesPaginator.d.ts +0 -7
  78. package/dist-types/pagination/ListDiscoveryJobsPaginator.d.ts +0 -7
  79. package/dist-types/pagination/ListStorageSystemsPaginator.d.ts +0 -7
  80. package/dist-types/ts3.4/commands/AddStorageSystemCommand.d.ts +0 -50
  81. package/dist-types/ts3.4/commands/DescribeDiscoveryJobCommand.d.ts +0 -51
  82. package/dist-types/ts3.4/commands/DescribeStorageSystemCommand.d.ts +0 -51
  83. package/dist-types/ts3.4/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +0 -51
  84. package/dist-types/ts3.4/commands/DescribeStorageSystemResourcesCommand.d.ts +0 -51
  85. package/dist-types/ts3.4/commands/GenerateRecommendationsCommand.d.ts +0 -51
  86. package/dist-types/ts3.4/commands/ListDiscoveryJobsCommand.d.ts +0 -51
  87. package/dist-types/ts3.4/commands/ListStorageSystemsCommand.d.ts +0 -51
  88. package/dist-types/ts3.4/commands/RemoveStorageSystemCommand.d.ts +0 -51
  89. package/dist-types/ts3.4/commands/StartDiscoveryJobCommand.d.ts +0 -51
  90. package/dist-types/ts3.4/commands/StopDiscoveryJobCommand.d.ts +0 -50
  91. package/dist-types/ts3.4/commands/UpdateDiscoveryJobCommand.d.ts +0 -51
  92. package/dist-types/ts3.4/commands/UpdateStorageSystemCommand.d.ts +0 -51
  93. package/dist-types/ts3.4/pagination/DescribeStorageSystemResourceMetricsPaginator.d.ts +0 -11
  94. package/dist-types/ts3.4/pagination/DescribeStorageSystemResourcesPaginator.d.ts +0 -11
  95. package/dist-types/ts3.4/pagination/ListDiscoveryJobsPaginator.d.ts +0 -11
  96. package/dist-types/ts3.4/pagination/ListStorageSystemsPaginator.d.ts +0 -11
@@ -1,5 +1,4 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
- import { AddStorageSystemCommand, } from "./commands/AddStorageSystemCommand";
3
2
  import { CancelTaskExecutionCommand, } from "./commands/CancelTaskExecutionCommand";
4
3
  import { CreateAgentCommand } from "./commands/CreateAgentCommand";
5
4
  import { CreateLocationAzureBlobCommand, } from "./commands/CreateLocationAzureBlobCommand";
@@ -18,7 +17,6 @@ import { DeleteAgentCommand } from "./commands/DeleteAgentCommand";
18
17
  import { DeleteLocationCommand, } from "./commands/DeleteLocationCommand";
19
18
  import { DeleteTaskCommand } from "./commands/DeleteTaskCommand";
20
19
  import { DescribeAgentCommand, } from "./commands/DescribeAgentCommand";
21
- import { DescribeDiscoveryJobCommand, } from "./commands/DescribeDiscoveryJobCommand";
22
20
  import { DescribeLocationAzureBlobCommand, } from "./commands/DescribeLocationAzureBlobCommand";
23
21
  import { DescribeLocationEfsCommand, } from "./commands/DescribeLocationEfsCommand";
24
22
  import { DescribeLocationFsxLustreCommand, } from "./commands/DescribeLocationFsxLustreCommand";
@@ -30,27 +28,17 @@ import { DescribeLocationNfsCommand, } from "./commands/DescribeLocationNfsComma
30
28
  import { DescribeLocationObjectStorageCommand, } from "./commands/DescribeLocationObjectStorageCommand";
31
29
  import { DescribeLocationS3Command, } from "./commands/DescribeLocationS3Command";
32
30
  import { DescribeLocationSmbCommand, } from "./commands/DescribeLocationSmbCommand";
33
- import { DescribeStorageSystemCommand, } from "./commands/DescribeStorageSystemCommand";
34
- import { DescribeStorageSystemResourceMetricsCommand, } from "./commands/DescribeStorageSystemResourceMetricsCommand";
35
- import { DescribeStorageSystemResourcesCommand, } from "./commands/DescribeStorageSystemResourcesCommand";
36
31
  import { DescribeTaskCommand, } from "./commands/DescribeTaskCommand";
37
32
  import { DescribeTaskExecutionCommand, } from "./commands/DescribeTaskExecutionCommand";
38
- import { GenerateRecommendationsCommand, } from "./commands/GenerateRecommendationsCommand";
39
33
  import { ListAgentsCommand } from "./commands/ListAgentsCommand";
40
- import { ListDiscoveryJobsCommand, } from "./commands/ListDiscoveryJobsCommand";
41
34
  import { ListLocationsCommand, } from "./commands/ListLocationsCommand";
42
- import { ListStorageSystemsCommand, } from "./commands/ListStorageSystemsCommand";
43
35
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
44
36
  import { ListTaskExecutionsCommand, } from "./commands/ListTaskExecutionsCommand";
45
37
  import { ListTasksCommand } from "./commands/ListTasksCommand";
46
- import { RemoveStorageSystemCommand, } from "./commands/RemoveStorageSystemCommand";
47
- import { StartDiscoveryJobCommand, } from "./commands/StartDiscoveryJobCommand";
48
38
  import { StartTaskExecutionCommand, } from "./commands/StartTaskExecutionCommand";
49
- import { StopDiscoveryJobCommand, } from "./commands/StopDiscoveryJobCommand";
50
39
  import { TagResourceCommand } from "./commands/TagResourceCommand";
51
40
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
52
41
  import { UpdateAgentCommand } from "./commands/UpdateAgentCommand";
53
- import { UpdateDiscoveryJobCommand, } from "./commands/UpdateDiscoveryJobCommand";
54
42
  import { UpdateLocationAzureBlobCommand, } from "./commands/UpdateLocationAzureBlobCommand";
55
43
  import { UpdateLocationEfsCommand, } from "./commands/UpdateLocationEfsCommand";
56
44
  import { UpdateLocationFsxLustreCommand, } from "./commands/UpdateLocationFsxLustreCommand";
@@ -62,12 +50,10 @@ import { UpdateLocationNfsCommand, } from "./commands/UpdateLocationNfsCommand";
62
50
  import { UpdateLocationObjectStorageCommand, } from "./commands/UpdateLocationObjectStorageCommand";
63
51
  import { UpdateLocationS3Command, } from "./commands/UpdateLocationS3Command";
64
52
  import { UpdateLocationSmbCommand, } from "./commands/UpdateLocationSmbCommand";
65
- import { UpdateStorageSystemCommand, } from "./commands/UpdateStorageSystemCommand";
66
53
  import { UpdateTaskCommand } from "./commands/UpdateTaskCommand";
67
54
  import { UpdateTaskExecutionCommand, } from "./commands/UpdateTaskExecutionCommand";
68
55
  import { DataSyncClient } from "./DataSyncClient";
69
56
  const commands = {
70
- AddStorageSystemCommand,
71
57
  CancelTaskExecutionCommand,
72
58
  CreateAgentCommand,
73
59
  CreateLocationAzureBlobCommand,
@@ -86,7 +72,6 @@ const commands = {
86
72
  DeleteLocationCommand,
87
73
  DeleteTaskCommand,
88
74
  DescribeAgentCommand,
89
- DescribeDiscoveryJobCommand,
90
75
  DescribeLocationAzureBlobCommand,
91
76
  DescribeLocationEfsCommand,
92
77
  DescribeLocationFsxLustreCommand,
@@ -98,27 +83,17 @@ const commands = {
98
83
  DescribeLocationObjectStorageCommand,
99
84
  DescribeLocationS3Command,
100
85
  DescribeLocationSmbCommand,
101
- DescribeStorageSystemCommand,
102
- DescribeStorageSystemResourceMetricsCommand,
103
- DescribeStorageSystemResourcesCommand,
104
86
  DescribeTaskCommand,
105
87
  DescribeTaskExecutionCommand,
106
- GenerateRecommendationsCommand,
107
88
  ListAgentsCommand,
108
- ListDiscoveryJobsCommand,
109
89
  ListLocationsCommand,
110
- ListStorageSystemsCommand,
111
90
  ListTagsForResourceCommand,
112
91
  ListTaskExecutionsCommand,
113
92
  ListTasksCommand,
114
- RemoveStorageSystemCommand,
115
- StartDiscoveryJobCommand,
116
93
  StartTaskExecutionCommand,
117
- StopDiscoveryJobCommand,
118
94
  TagResourceCommand,
119
95
  UntagResourceCommand,
120
96
  UpdateAgentCommand,
121
- UpdateDiscoveryJobCommand,
122
97
  UpdateLocationAzureBlobCommand,
123
98
  UpdateLocationEfsCommand,
124
99
  UpdateLocationFsxLustreCommand,
@@ -130,7 +105,6 @@ const commands = {
130
105
  UpdateLocationObjectStorageCommand,
131
106
  UpdateLocationS3Command,
132
107
  UpdateLocationSmbCommand,
133
- UpdateStorageSystemCommand,
134
108
  UpdateTaskCommand,
135
109
  UpdateTaskExecutionCommand,
136
110
  };
@@ -1,4 +1,3 @@
1
- export * from "./AddStorageSystemCommand";
2
1
  export * from "./CancelTaskExecutionCommand";
3
2
  export * from "./CreateAgentCommand";
4
3
  export * from "./CreateLocationAzureBlobCommand";
@@ -17,7 +16,6 @@ export * from "./DeleteAgentCommand";
17
16
  export * from "./DeleteLocationCommand";
18
17
  export * from "./DeleteTaskCommand";
19
18
  export * from "./DescribeAgentCommand";
20
- export * from "./DescribeDiscoveryJobCommand";
21
19
  export * from "./DescribeLocationAzureBlobCommand";
22
20
  export * from "./DescribeLocationEfsCommand";
23
21
  export * from "./DescribeLocationFsxLustreCommand";
@@ -29,27 +27,17 @@ export * from "./DescribeLocationNfsCommand";
29
27
  export * from "./DescribeLocationObjectStorageCommand";
30
28
  export * from "./DescribeLocationS3Command";
31
29
  export * from "./DescribeLocationSmbCommand";
32
- export * from "./DescribeStorageSystemCommand";
33
- export * from "./DescribeStorageSystemResourceMetricsCommand";
34
- export * from "./DescribeStorageSystemResourcesCommand";
35
30
  export * from "./DescribeTaskCommand";
36
31
  export * from "./DescribeTaskExecutionCommand";
37
- export * from "./GenerateRecommendationsCommand";
38
32
  export * from "./ListAgentsCommand";
39
- export * from "./ListDiscoveryJobsCommand";
40
33
  export * from "./ListLocationsCommand";
41
- export * from "./ListStorageSystemsCommand";
42
34
  export * from "./ListTagsForResourceCommand";
43
35
  export * from "./ListTaskExecutionsCommand";
44
36
  export * from "./ListTasksCommand";
45
- export * from "./RemoveStorageSystemCommand";
46
- export * from "./StartDiscoveryJobCommand";
47
37
  export * from "./StartTaskExecutionCommand";
48
- export * from "./StopDiscoveryJobCommand";
49
38
  export * from "./TagResourceCommand";
50
39
  export * from "./UntagResourceCommand";
51
40
  export * from "./UpdateAgentCommand";
52
- export * from "./UpdateDiscoveryJobCommand";
53
41
  export * from "./UpdateLocationAzureBlobCommand";
54
42
  export * from "./UpdateLocationEfsCommand";
55
43
  export * from "./UpdateLocationFsxLustreCommand";
@@ -61,6 +49,5 @@ export * from "./UpdateLocationNfsCommand";
61
49
  export * from "./UpdateLocationObjectStorageCommand";
62
50
  export * from "./UpdateLocationS3Command";
63
51
  export * from "./UpdateLocationSmbCommand";
64
- export * from "./UpdateStorageSystemCommand";
65
52
  export * from "./UpdateTaskCommand";
66
53
  export * from "./UpdateTaskExecutionCommand";
@@ -1,7 +1,23 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { DataSyncServiceException as __BaseException } from "./DataSyncServiceException";
3
- export const DiscoverySystemType = {
4
- NetAppONTAP: "NetAppONTAP",
3
+ export const AgentStatus = {
4
+ OFFLINE: "OFFLINE",
5
+ ONLINE: "ONLINE",
6
+ };
7
+ export const Atime = {
8
+ BEST_EFFORT: "BEST_EFFORT",
9
+ NONE: "NONE",
10
+ };
11
+ export const AzureAccessTier = {
12
+ ARCHIVE: "ARCHIVE",
13
+ COOL: "COOL",
14
+ HOT: "HOT",
15
+ };
16
+ export const AzureBlobAuthenticationType = {
17
+ SAS: "SAS",
18
+ };
19
+ export const AzureBlobType = {
20
+ BLOCK: "BLOCK",
5
21
  };
6
22
  export class InternalException extends __BaseException {
7
23
  name = "InternalException";
@@ -33,25 +49,6 @@ export class InvalidRequestException extends __BaseException {
33
49
  this.datasyncErrorCode = opts.datasyncErrorCode;
34
50
  }
35
51
  }
36
- export const AgentStatus = {
37
- OFFLINE: "OFFLINE",
38
- ONLINE: "ONLINE",
39
- };
40
- export const Atime = {
41
- BEST_EFFORT: "BEST_EFFORT",
42
- NONE: "NONE",
43
- };
44
- export const AzureAccessTier = {
45
- ARCHIVE: "ARCHIVE",
46
- COOL: "COOL",
47
- HOT: "HOT",
48
- };
49
- export const AzureBlobAuthenticationType = {
50
- SAS: "SAS",
51
- };
52
- export const AzureBlobType = {
53
- BLOCK: "BLOCK",
54
- };
55
52
  export const EfsInTransitEncryption = {
56
53
  NONE: "NONE",
57
54
  TLS1_2: "TLS1_2",
@@ -196,34 +193,6 @@ export const EndpointType = {
196
193
  PRIVATE_LINK: "PRIVATE_LINK",
197
194
  PUBLIC: "PUBLIC",
198
195
  };
199
- export const DiscoveryJobStatus = {
200
- COMPLETED: "COMPLETED",
201
- COMPLETED_WITH_ISSUES: "COMPLETED_WITH_ISSUES",
202
- FAILED: "FAILED",
203
- RUNNING: "RUNNING",
204
- STOPPED: "STOPPED",
205
- TERMINATED: "TERMINATED",
206
- WARNING: "WARNING",
207
- };
208
- export const StorageSystemConnectivityStatus = {
209
- FAIL: "FAIL",
210
- PASS: "PASS",
211
- UNKNOWN: "UNKNOWN",
212
- };
213
- export const DiscoveryResourceType = {
214
- CLUSTER: "CLUSTER",
215
- SVM: "SVM",
216
- VOLUME: "VOLUME",
217
- };
218
- export const DiscoveryResourceFilter = {
219
- SVM: "SVM",
220
- };
221
- export const RecommendationStatus = {
222
- COMPLETED: "COMPLETED",
223
- FAILED: "FAILED",
224
- IN_PROGRESS: "IN_PROGRESS",
225
- NONE: "NONE",
226
- };
227
196
  export const ScheduleDisabledBy = {
228
197
  SERVICE: "SERVICE",
229
198
  USER: "USER",
@@ -271,15 +240,6 @@ export const TaskFilterName = {
271
240
  CreationTime: "CreationTime",
272
241
  LocationId: "LocationId",
273
242
  };
274
- export const CredentialsFilterSensitiveLog = (obj) => ({
275
- ...obj,
276
- ...(obj.Username && { Username: SENSITIVE_STRING }),
277
- ...(obj.Password && { Password: SENSITIVE_STRING }),
278
- });
279
- export const AddStorageSystemRequestFilterSensitiveLog = (obj) => ({
280
- ...obj,
281
- ...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }),
282
- });
283
243
  export const AzureBlobSasConfigurationFilterSensitiveLog = (obj) => ({
284
244
  ...obj,
285
245
  ...(obj.Token && { Token: SENSITIVE_STRING }),
@@ -356,7 +316,3 @@ export const UpdateLocationSmbRequestFilterSensitiveLog = (obj) => ({
356
316
  ...obj,
357
317
  ...(obj.Password && { Password: SENSITIVE_STRING }),
358
318
  });
359
- export const UpdateStorageSystemRequestFilterSensitiveLog = (obj) => ({
360
- ...obj,
361
- ...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }),
362
- });
@@ -1,10 +1,6 @@
1
- export * from "./DescribeStorageSystemResourceMetricsPaginator";
2
- export * from "./DescribeStorageSystemResourcesPaginator";
3
1
  export * from "./Interfaces";
4
2
  export * from "./ListAgentsPaginator";
5
- export * from "./ListDiscoveryJobsPaginator";
6
3
  export * from "./ListLocationsPaginator";
7
- export * from "./ListStorageSystemsPaginator";
8
4
  export * from "./ListTagsForResourcePaginator";
9
5
  export * from "./ListTaskExecutionsPaginator";
10
6
  export * from "./ListTasksPaginator";