@aws-sdk/client-datasync 3.952.0 → 3.954.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 (73) hide show
  1. package/dist-cjs/index.js +651 -439
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/CancelTaskExecutionCommand.js +2 -2
  4. package/dist-es/commands/CreateAgentCommand.js +2 -2
  5. package/dist-es/commands/CreateLocationAzureBlobCommand.js +2 -2
  6. package/dist-es/commands/CreateLocationEfsCommand.js +2 -2
  7. package/dist-es/commands/CreateLocationFsxLustreCommand.js +2 -2
  8. package/dist-es/commands/CreateLocationFsxOntapCommand.js +2 -2
  9. package/dist-es/commands/CreateLocationFsxOpenZfsCommand.js +2 -2
  10. package/dist-es/commands/CreateLocationFsxWindowsCommand.js +2 -2
  11. package/dist-es/commands/CreateLocationHdfsCommand.js +2 -2
  12. package/dist-es/commands/CreateLocationNfsCommand.js +2 -2
  13. package/dist-es/commands/CreateLocationObjectStorageCommand.js +2 -2
  14. package/dist-es/commands/CreateLocationS3Command.js +2 -2
  15. package/dist-es/commands/CreateLocationSmbCommand.js +2 -2
  16. package/dist-es/commands/CreateTaskCommand.js +2 -2
  17. package/dist-es/commands/DeleteAgentCommand.js +2 -2
  18. package/dist-es/commands/DeleteLocationCommand.js +2 -2
  19. package/dist-es/commands/DeleteTaskCommand.js +2 -2
  20. package/dist-es/commands/DescribeAgentCommand.js +2 -2
  21. package/dist-es/commands/DescribeLocationAzureBlobCommand.js +2 -2
  22. package/dist-es/commands/DescribeLocationEfsCommand.js +2 -2
  23. package/dist-es/commands/DescribeLocationFsxLustreCommand.js +2 -2
  24. package/dist-es/commands/DescribeLocationFsxOntapCommand.js +2 -2
  25. package/dist-es/commands/DescribeLocationFsxOpenZfsCommand.js +2 -2
  26. package/dist-es/commands/DescribeLocationFsxWindowsCommand.js +2 -2
  27. package/dist-es/commands/DescribeLocationHdfsCommand.js +2 -2
  28. package/dist-es/commands/DescribeLocationNfsCommand.js +2 -2
  29. package/dist-es/commands/DescribeLocationObjectStorageCommand.js +2 -2
  30. package/dist-es/commands/DescribeLocationS3Command.js +2 -2
  31. package/dist-es/commands/DescribeLocationSmbCommand.js +2 -2
  32. package/dist-es/commands/DescribeTaskCommand.js +2 -2
  33. package/dist-es/commands/DescribeTaskExecutionCommand.js +2 -2
  34. package/dist-es/commands/ListAgentsCommand.js +2 -2
  35. package/dist-es/commands/ListLocationsCommand.js +2 -2
  36. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  37. package/dist-es/commands/ListTaskExecutionsCommand.js +2 -2
  38. package/dist-es/commands/ListTasksCommand.js +2 -2
  39. package/dist-es/commands/StartTaskExecutionCommand.js +2 -2
  40. package/dist-es/commands/TagResourceCommand.js +2 -2
  41. package/dist-es/commands/UntagResourceCommand.js +2 -2
  42. package/dist-es/commands/UpdateAgentCommand.js +2 -2
  43. package/dist-es/commands/UpdateLocationAzureBlobCommand.js +2 -2
  44. package/dist-es/commands/UpdateLocationEfsCommand.js +2 -2
  45. package/dist-es/commands/UpdateLocationFsxLustreCommand.js +2 -2
  46. package/dist-es/commands/UpdateLocationFsxOntapCommand.js +2 -2
  47. package/dist-es/commands/UpdateLocationFsxOpenZfsCommand.js +2 -2
  48. package/dist-es/commands/UpdateLocationFsxWindowsCommand.js +2 -2
  49. package/dist-es/commands/UpdateLocationHdfsCommand.js +2 -2
  50. package/dist-es/commands/UpdateLocationNfsCommand.js +2 -2
  51. package/dist-es/commands/UpdateLocationObjectStorageCommand.js +2 -2
  52. package/dist-es/commands/UpdateLocationS3Command.js +2 -2
  53. package/dist-es/commands/UpdateLocationSmbCommand.js +2 -2
  54. package/dist-es/commands/UpdateTaskCommand.js +2 -2
  55. package/dist-es/commands/UpdateTaskExecutionCommand.js +2 -2
  56. package/dist-es/index.js +1 -0
  57. package/dist-es/runtimeConfig.shared.js +6 -6
  58. package/dist-es/schemas/schemas_0.js +398 -391
  59. package/dist-types/DataSyncClient.d.ts +1 -10
  60. package/dist-types/index.d.ts +1 -0
  61. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  62. package/dist-types/runtimeConfig.d.ts +6 -2
  63. package/dist-types/runtimeConfig.native.d.ts +6 -2
  64. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  65. package/dist-types/schemas/schemas_0.d.ts +206 -228
  66. package/dist-types/ts3.4/DataSyncClient.d.ts +0 -4
  67. package/dist-types/ts3.4/index.d.ts +1 -0
  68. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  69. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  70. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  71. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  72. package/dist-types/ts3.4/schemas/schemas_0.d.ts +205 -229
  73. package/package.json +34 -34
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTasks } from "../schemas/schemas_0";
4
+ import { ListTasks$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTasksCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTasksCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "ListTasks", {})
13
13
  .n("DataSyncClient", "ListTasksCommand")
14
- .sc(ListTasks)
14
+ .sc(ListTasks$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartTaskExecution } from "../schemas/schemas_0";
4
+ import { StartTaskExecution$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartTaskExecutionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartTaskExecutionCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "StartTaskExecution", {})
13
13
  .n("DataSyncClient", "StartTaskExecutionCommand")
14
- .sc(StartTaskExecution)
14
+ .sc(StartTaskExecution$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "TagResource", {})
13
13
  .n("DataSyncClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UntagResource", {})
13
13
  .n("DataSyncClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateAgent } from "../schemas/schemas_0";
4
+ import { UpdateAgent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateAgentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateAgentCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateAgent", {})
13
13
  .n("DataSyncClient", "UpdateAgentCommand")
14
- .sc(UpdateAgent)
14
+ .sc(UpdateAgent$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLocationAzureBlob } from "../schemas/schemas_0";
4
+ import { UpdateLocationAzureBlob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLocationAzureBlobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLocationAzureBlobCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateLocationAzureBlob", {})
13
13
  .n("DataSyncClient", "UpdateLocationAzureBlobCommand")
14
- .sc(UpdateLocationAzureBlob)
14
+ .sc(UpdateLocationAzureBlob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLocationEfs } from "../schemas/schemas_0";
4
+ import { UpdateLocationEfs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLocationEfsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLocationEfsCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateLocationEfs", {})
13
13
  .n("DataSyncClient", "UpdateLocationEfsCommand")
14
- .sc(UpdateLocationEfs)
14
+ .sc(UpdateLocationEfs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLocationFsxLustre } from "../schemas/schemas_0";
4
+ import { UpdateLocationFsxLustre$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLocationFsxLustreCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLocationFsxLustreCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateLocationFsxLustre", {})
13
13
  .n("DataSyncClient", "UpdateLocationFsxLustreCommand")
14
- .sc(UpdateLocationFsxLustre)
14
+ .sc(UpdateLocationFsxLustre$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLocationFsxOntap } from "../schemas/schemas_0";
4
+ import { UpdateLocationFsxOntap$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLocationFsxOntapCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLocationFsxOntapCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateLocationFsxOntap", {})
13
13
  .n("DataSyncClient", "UpdateLocationFsxOntapCommand")
14
- .sc(UpdateLocationFsxOntap)
14
+ .sc(UpdateLocationFsxOntap$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLocationFsxOpenZfs } from "../schemas/schemas_0";
4
+ import { UpdateLocationFsxOpenZfs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLocationFsxOpenZfsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLocationFsxOpenZfsCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateLocationFsxOpenZfs", {})
13
13
  .n("DataSyncClient", "UpdateLocationFsxOpenZfsCommand")
14
- .sc(UpdateLocationFsxOpenZfs)
14
+ .sc(UpdateLocationFsxOpenZfs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLocationFsxWindows } from "../schemas/schemas_0";
4
+ import { UpdateLocationFsxWindows$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLocationFsxWindowsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLocationFsxWindowsCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateLocationFsxWindows", {})
13
13
  .n("DataSyncClient", "UpdateLocationFsxWindowsCommand")
14
- .sc(UpdateLocationFsxWindows)
14
+ .sc(UpdateLocationFsxWindows$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLocationHdfs } from "../schemas/schemas_0";
4
+ import { UpdateLocationHdfs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLocationHdfsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLocationHdfsCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateLocationHdfs", {})
13
13
  .n("DataSyncClient", "UpdateLocationHdfsCommand")
14
- .sc(UpdateLocationHdfs)
14
+ .sc(UpdateLocationHdfs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLocationNfs } from "../schemas/schemas_0";
4
+ import { UpdateLocationNfs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLocationNfsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLocationNfsCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateLocationNfs", {})
13
13
  .n("DataSyncClient", "UpdateLocationNfsCommand")
14
- .sc(UpdateLocationNfs)
14
+ .sc(UpdateLocationNfs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLocationObjectStorage } from "../schemas/schemas_0";
4
+ import { UpdateLocationObjectStorage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLocationObjectStorageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLocationObjectStorageCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateLocationObjectStorage", {})
13
13
  .n("DataSyncClient", "UpdateLocationObjectStorageCommand")
14
- .sc(UpdateLocationObjectStorage)
14
+ .sc(UpdateLocationObjectStorage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLocationS3 } from "../schemas/schemas_0";
4
+ import { UpdateLocationS3$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLocationS3Command extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLocationS3Command extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateLocationS3", {})
13
13
  .n("DataSyncClient", "UpdateLocationS3Command")
14
- .sc(UpdateLocationS3)
14
+ .sc(UpdateLocationS3$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateLocationSmb } from "../schemas/schemas_0";
4
+ import { UpdateLocationSmb$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLocationSmbCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLocationSmbCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateLocationSmb", {})
13
13
  .n("DataSyncClient", "UpdateLocationSmbCommand")
14
- .sc(UpdateLocationSmb)
14
+ .sc(UpdateLocationSmb$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateTask } from "../schemas/schemas_0";
4
+ import { UpdateTask$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateTaskCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateTaskCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateTask", {})
13
13
  .n("DataSyncClient", "UpdateTaskCommand")
14
- .sc(UpdateTask)
14
+ .sc(UpdateTask$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateTaskExecution } from "../schemas/schemas_0";
4
+ import { UpdateTaskExecution$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateTaskExecutionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateTaskExecutionCommand extends $Command
11
11
  })
12
12
  .s("FmrsService", "UpdateTaskExecution", {})
13
13
  .n("DataSyncClient", "UpdateTaskExecutionCommand")
14
- .sc(UpdateTaskExecution)
14
+ .sc(UpdateTaskExecution$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./DataSyncClient";
2
2
  export * from "./DataSync";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.datasync",
29
- serviceTarget: "FmrsService",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.datasync",
29
+ version: "2018-11-09",
30
+ serviceTarget: "FmrsService",
31
+ },
32
32
  serviceId: config?.serviceId ?? "DataSync",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,