@aws-sdk/client-route53-recovery-readiness 3.928.0 → 3.929.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 (53) hide show
  1. package/dist-cjs/index.js +2390 -1469
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/Route53RecoveryReadinessClient.js +2 -0
  4. package/dist-es/commands/CreateCellCommand.js +3 -9
  5. package/dist-es/commands/CreateCrossAccountAuthorizationCommand.js +3 -9
  6. package/dist-es/commands/CreateReadinessCheckCommand.js +3 -9
  7. package/dist-es/commands/CreateRecoveryGroupCommand.js +3 -9
  8. package/dist-es/commands/CreateResourceSetCommand.js +3 -9
  9. package/dist-es/commands/DeleteCellCommand.js +3 -9
  10. package/dist-es/commands/DeleteCrossAccountAuthorizationCommand.js +3 -9
  11. package/dist-es/commands/DeleteReadinessCheckCommand.js +3 -9
  12. package/dist-es/commands/DeleteRecoveryGroupCommand.js +3 -9
  13. package/dist-es/commands/DeleteResourceSetCommand.js +3 -9
  14. package/dist-es/commands/GetArchitectureRecommendationsCommand.js +3 -9
  15. package/dist-es/commands/GetCellCommand.js +3 -9
  16. package/dist-es/commands/GetCellReadinessSummaryCommand.js +3 -9
  17. package/dist-es/commands/GetReadinessCheckCommand.js +3 -9
  18. package/dist-es/commands/GetReadinessCheckResourceStatusCommand.js +3 -9
  19. package/dist-es/commands/GetReadinessCheckStatusCommand.js +3 -9
  20. package/dist-es/commands/GetRecoveryGroupCommand.js +3 -9
  21. package/dist-es/commands/GetRecoveryGroupReadinessSummaryCommand.js +3 -9
  22. package/dist-es/commands/GetResourceSetCommand.js +3 -9
  23. package/dist-es/commands/ListCellsCommand.js +3 -9
  24. package/dist-es/commands/ListCrossAccountAuthorizationsCommand.js +3 -9
  25. package/dist-es/commands/ListReadinessChecksCommand.js +3 -9
  26. package/dist-es/commands/ListRecoveryGroupsCommand.js +3 -9
  27. package/dist-es/commands/ListResourceSetsCommand.js +3 -9
  28. package/dist-es/commands/ListRulesCommand.js +3 -9
  29. package/dist-es/commands/ListTagsForResourcesCommand.js +3 -9
  30. package/dist-es/commands/TagResourceCommand.js +3 -9
  31. package/dist-es/commands/UntagResourceCommand.js +3 -9
  32. package/dist-es/commands/UpdateCellCommand.js +3 -9
  33. package/dist-es/commands/UpdateReadinessCheckCommand.js +3 -9
  34. package/dist-es/commands/UpdateRecoveryGroupCommand.js +3 -9
  35. package/dist-es/commands/UpdateResourceSetCommand.js +3 -9
  36. package/dist-es/runtimeConfig.shared.js +2 -0
  37. package/dist-es/schemas/schemas_0.js +2315 -0
  38. package/dist-types/Route53RecoveryReadinessClient.d.ts +10 -1
  39. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  40. package/dist-types/runtimeConfig.d.ts +1 -0
  41. package/dist-types/runtimeConfig.native.d.ts +1 -0
  42. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  43. package/dist-types/schemas/schemas_0.d.ts +129 -0
  44. package/dist-types/ts3.4/Route53RecoveryReadinessClient.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  49. package/dist-types/ts3.4/schemas/schemas_0.d.ts +134 -0
  50. package/package.json +2 -2
  51. package/dist-es/protocols/Aws_restJson1.js +0 -1234
  52. package/dist-types/protocols/Aws_restJson1.d.ts +0 -290
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -389
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListRecoveryGroupsCommand, se_ListRecoveryGroupsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListRecoveryGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRecoveryGroupsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Route53RecoveryReadiness", "ListRecoveryGroups", {})
17
13
  .n("Route53RecoveryReadinessClient", "ListRecoveryGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRecoveryGroupsCommand)
20
- .de(de_ListRecoveryGroupsCommand)
14
+ .sc(ListRecoveryGroups)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListResourceSetsCommand, se_ListResourceSetsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListResourceSets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListResourceSetsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Route53RecoveryReadiness", "ListResourceSets", {})
17
13
  .n("Route53RecoveryReadinessClient", "ListResourceSetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListResourceSetsCommand)
20
- .de(de_ListResourceSetsCommand)
14
+ .sc(ListResourceSets)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListRulesCommand, se_ListRulesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListRules } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRulesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Route53RecoveryReadiness", "ListRules", {})
17
13
  .n("Route53RecoveryReadinessClient", "ListRulesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRulesCommand)
20
- .de(de_ListRulesCommand)
14
+ .sc(ListRules)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourcesCommand, se_ListTagsForResourcesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourcesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Route53RecoveryReadiness", "ListTagsForResources", {})
17
13
  .n("Route53RecoveryReadinessClient", "ListTagsForResourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourcesCommand)
20
- .de(de_ListTagsForResourcesCommand)
14
+ .sc(ListTagsForResources)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Route53RecoveryReadiness", "TagResource", {})
17
13
  .n("Route53RecoveryReadinessClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Route53RecoveryReadiness", "UntagResource", {})
17
13
  .n("Route53RecoveryReadinessClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateCellCommand, se_UpdateCellCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateCell } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateCellCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Route53RecoveryReadiness", "UpdateCell", {})
17
13
  .n("Route53RecoveryReadinessClient", "UpdateCellCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateCellCommand)
20
- .de(de_UpdateCellCommand)
14
+ .sc(UpdateCell)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateReadinessCheckCommand, se_UpdateReadinessCheckCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateReadinessCheck } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateReadinessCheckCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Route53RecoveryReadiness", "UpdateReadinessCheck", {})
17
13
  .n("Route53RecoveryReadinessClient", "UpdateReadinessCheckCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateReadinessCheckCommand)
20
- .de(de_UpdateReadinessCheckCommand)
14
+ .sc(UpdateReadinessCheck)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateRecoveryGroupCommand, se_UpdateRecoveryGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateRecoveryGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRecoveryGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Route53RecoveryReadiness", "UpdateRecoveryGroup", {})
17
13
  .n("Route53RecoveryReadinessClient", "UpdateRecoveryGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRecoveryGroupCommand)
20
- .de(de_UpdateRecoveryGroupCommand)
14
+ .sc(UpdateRecoveryGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateResourceSetCommand, se_UpdateResourceSetCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateResourceSet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateResourceSetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Route53RecoveryReadiness", "UpdateResourceSet", {})
17
13
  .n("Route53RecoveryReadinessClient", "UpdateResourceSetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateResourceSetCommand)
20
- .de(de_UpdateResourceSetCommand)
14
+ .sc(UpdateResourceSet)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.route53recoveryreadiness" }),
25
27
  serviceId: config?.serviceId ?? "Route53 Recovery Readiness",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,