@aws-sdk/client-drs 3.952.0 → 3.953.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 (70) hide show
  1. package/dist-cjs/index.js +661 -460
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/AssociateSourceNetworkStackCommand.js +2 -2
  4. package/dist-es/commands/CreateExtendedSourceServerCommand.js +2 -2
  5. package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +2 -2
  6. package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +2 -2
  7. package/dist-es/commands/CreateSourceNetworkCommand.js +2 -2
  8. package/dist-es/commands/DeleteJobCommand.js +2 -2
  9. package/dist-es/commands/DeleteLaunchActionCommand.js +2 -2
  10. package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +2 -2
  11. package/dist-es/commands/DeleteRecoveryInstanceCommand.js +2 -2
  12. package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +2 -2
  13. package/dist-es/commands/DeleteSourceNetworkCommand.js +2 -2
  14. package/dist-es/commands/DeleteSourceServerCommand.js +2 -2
  15. package/dist-es/commands/DescribeJobLogItemsCommand.js +2 -2
  16. package/dist-es/commands/DescribeJobsCommand.js +2 -2
  17. package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +2 -2
  18. package/dist-es/commands/DescribeRecoveryInstancesCommand.js +2 -2
  19. package/dist-es/commands/DescribeRecoverySnapshotsCommand.js +2 -2
  20. package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +2 -2
  21. package/dist-es/commands/DescribeSourceNetworksCommand.js +2 -2
  22. package/dist-es/commands/DescribeSourceServersCommand.js +2 -2
  23. package/dist-es/commands/DisconnectRecoveryInstanceCommand.js +2 -2
  24. package/dist-es/commands/DisconnectSourceServerCommand.js +2 -2
  25. package/dist-es/commands/ExportSourceNetworkCfnTemplateCommand.js +2 -2
  26. package/dist-es/commands/GetFailbackReplicationConfigurationCommand.js +2 -2
  27. package/dist-es/commands/GetLaunchConfigurationCommand.js +2 -2
  28. package/dist-es/commands/GetReplicationConfigurationCommand.js +2 -2
  29. package/dist-es/commands/InitializeServiceCommand.js +2 -2
  30. package/dist-es/commands/ListExtensibleSourceServersCommand.js +2 -2
  31. package/dist-es/commands/ListLaunchActionsCommand.js +2 -2
  32. package/dist-es/commands/ListStagingAccountsCommand.js +2 -2
  33. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  34. package/dist-es/commands/PutLaunchActionCommand.js +2 -2
  35. package/dist-es/commands/RetryDataReplicationCommand.js +2 -2
  36. package/dist-es/commands/ReverseReplicationCommand.js +2 -2
  37. package/dist-es/commands/StartFailbackLaunchCommand.js +2 -2
  38. package/dist-es/commands/StartRecoveryCommand.js +2 -2
  39. package/dist-es/commands/StartReplicationCommand.js +2 -2
  40. package/dist-es/commands/StartSourceNetworkRecoveryCommand.js +2 -2
  41. package/dist-es/commands/StartSourceNetworkReplicationCommand.js +2 -2
  42. package/dist-es/commands/StopFailbackCommand.js +2 -2
  43. package/dist-es/commands/StopReplicationCommand.js +2 -2
  44. package/dist-es/commands/StopSourceNetworkReplicationCommand.js +2 -2
  45. package/dist-es/commands/TagResourceCommand.js +2 -2
  46. package/dist-es/commands/TerminateRecoveryInstancesCommand.js +2 -2
  47. package/dist-es/commands/UntagResourceCommand.js +2 -2
  48. package/dist-es/commands/UpdateFailbackReplicationConfigurationCommand.js +2 -2
  49. package/dist-es/commands/UpdateLaunchConfigurationCommand.js +2 -2
  50. package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +2 -2
  51. package/dist-es/commands/UpdateReplicationConfigurationCommand.js +2 -2
  52. package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +2 -2
  53. package/dist-es/index.js +1 -0
  54. package/dist-es/runtimeConfig.shared.js +6 -1
  55. package/dist-es/schemas/schemas_0.js +409 -415
  56. package/dist-types/DrsClient.d.ts +1 -10
  57. package/dist-types/index.d.ts +1 -0
  58. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  59. package/dist-types/runtimeConfig.d.ts +6 -2
  60. package/dist-types/runtimeConfig.native.d.ts +6 -2
  61. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  62. package/dist-types/schemas/schemas_0.d.ts +208 -260
  63. package/dist-types/ts3.4/DrsClient.d.ts +0 -4
  64. package/dist-types/ts3.4/index.d.ts +1 -0
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  68. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  69. package/dist-types/ts3.4/schemas/schemas_0.d.ts +207 -262
  70. 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 { StartRecovery } from "../schemas/schemas_0";
4
+ import { StartRecovery$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartRecoveryCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartRecoveryCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "StartRecovery", {})
13
13
  .n("DrsClient", "StartRecoveryCommand")
14
- .sc(StartRecovery)
14
+ .sc(StartRecovery$)
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 { StartReplication } from "../schemas/schemas_0";
4
+ import { StartReplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartReplicationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartReplicationCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "StartReplication", {})
13
13
  .n("DrsClient", "StartReplicationCommand")
14
- .sc(StartReplication)
14
+ .sc(StartReplication$)
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 { StartSourceNetworkRecovery } from "../schemas/schemas_0";
4
+ import { StartSourceNetworkRecovery$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartSourceNetworkRecoveryCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartSourceNetworkRecoveryCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "StartSourceNetworkRecovery", {})
13
13
  .n("DrsClient", "StartSourceNetworkRecoveryCommand")
14
- .sc(StartSourceNetworkRecovery)
14
+ .sc(StartSourceNetworkRecovery$)
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 { StartSourceNetworkReplication } from "../schemas/schemas_0";
4
+ import { StartSourceNetworkReplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartSourceNetworkReplicationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartSourceNetworkReplicationCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "StartSourceNetworkReplication", {})
13
13
  .n("DrsClient", "StartSourceNetworkReplicationCommand")
14
- .sc(StartSourceNetworkReplication)
14
+ .sc(StartSourceNetworkReplication$)
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 { StopFailback } from "../schemas/schemas_0";
4
+ import { StopFailback$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopFailbackCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopFailbackCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "StopFailback", {})
13
13
  .n("DrsClient", "StopFailbackCommand")
14
- .sc(StopFailback)
14
+ .sc(StopFailback$)
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 { StopReplication } from "../schemas/schemas_0";
4
+ import { StopReplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopReplicationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopReplicationCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "StopReplication", {})
13
13
  .n("DrsClient", "StopReplicationCommand")
14
- .sc(StopReplication)
14
+ .sc(StopReplication$)
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 { StopSourceNetworkReplication } from "../schemas/schemas_0";
4
+ import { StopSourceNetworkReplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopSourceNetworkReplicationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopSourceNetworkReplicationCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "StopSourceNetworkReplication", {})
13
13
  .n("DrsClient", "StopSourceNetworkReplicationCommand")
14
- .sc(StopSourceNetworkReplication)
14
+ .sc(StopSourceNetworkReplication$)
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("ElasticDisasterRecoveryService", "TagResource", {})
13
13
  .n("DrsClient", "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 { TerminateRecoveryInstances } from "../schemas/schemas_0";
4
+ import { TerminateRecoveryInstances$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TerminateRecoveryInstancesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TerminateRecoveryInstancesCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "TerminateRecoveryInstances", {})
13
13
  .n("DrsClient", "TerminateRecoveryInstancesCommand")
14
- .sc(TerminateRecoveryInstances)
14
+ .sc(TerminateRecoveryInstances$)
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("ElasticDisasterRecoveryService", "UntagResource", {})
13
13
  .n("DrsClient", "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 { UpdateFailbackReplicationConfiguration } from "../schemas/schemas_0";
4
+ import { UpdateFailbackReplicationConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateFailbackReplicationConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateFailbackReplicationConfigurationCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "UpdateFailbackReplicationConfiguration", {})
13
13
  .n("DrsClient", "UpdateFailbackReplicationConfigurationCommand")
14
- .sc(UpdateFailbackReplicationConfiguration)
14
+ .sc(UpdateFailbackReplicationConfiguration$)
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 { UpdateLaunchConfiguration } from "../schemas/schemas_0";
4
+ import { UpdateLaunchConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLaunchConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLaunchConfigurationCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "UpdateLaunchConfiguration", {})
13
13
  .n("DrsClient", "UpdateLaunchConfigurationCommand")
14
- .sc(UpdateLaunchConfiguration)
14
+ .sc(UpdateLaunchConfiguration$)
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 { UpdateLaunchConfigurationTemplate } from "../schemas/schemas_0";
4
+ import { UpdateLaunchConfigurationTemplate$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateLaunchConfigurationTemplateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateLaunchConfigurationTemplateCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "UpdateLaunchConfigurationTemplate", {})
13
13
  .n("DrsClient", "UpdateLaunchConfigurationTemplateCommand")
14
- .sc(UpdateLaunchConfigurationTemplate)
14
+ .sc(UpdateLaunchConfigurationTemplate$)
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 { UpdateReplicationConfiguration } from "../schemas/schemas_0";
4
+ import { UpdateReplicationConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateReplicationConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateReplicationConfigurationCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "UpdateReplicationConfiguration", {})
13
13
  .n("DrsClient", "UpdateReplicationConfigurationCommand")
14
- .sc(UpdateReplicationConfiguration)
14
+ .sc(UpdateReplicationConfiguration$)
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 { UpdateReplicationConfigurationTemplate } from "../schemas/schemas_0";
4
+ import { UpdateReplicationConfigurationTemplate$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateReplicationConfigurationTemplateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateReplicationConfigurationTemplateCommand extends $Command
11
11
  })
12
12
  .s("ElasticDisasterRecoveryService", "UpdateReplicationConfigurationTemplate", {})
13
13
  .n("DrsClient", "UpdateReplicationConfigurationTemplateCommand")
14
- .sc(UpdateReplicationConfigurationTemplate)
14
+ .sc(UpdateReplicationConfigurationTemplate$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./DrsClient";
2
2
  export * from "./Drs";
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,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.drs" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.drs",
29
+ version: "2020-02-26",
30
+ serviceTarget: "ElasticDisasterRecoveryService",
31
+ },
27
32
  serviceId: config?.serviceId ?? "drs",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,