@aws-sdk/client-route53-recovery-readiness 3.477.0 → 3.481.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 (173) hide show
  1. package/dist-cjs/commands/CreateCellCommand.js +18 -41
  2. package/dist-cjs/commands/CreateCrossAccountAuthorizationCommand.js +18 -41
  3. package/dist-cjs/commands/CreateReadinessCheckCommand.js +18 -41
  4. package/dist-cjs/commands/CreateRecoveryGroupCommand.js +18 -41
  5. package/dist-cjs/commands/CreateResourceSetCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteCellCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteCrossAccountAuthorizationCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteReadinessCheckCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteRecoveryGroupCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteResourceSetCommand.js +18 -41
  11. package/dist-cjs/commands/GetArchitectureRecommendationsCommand.js +18 -41
  12. package/dist-cjs/commands/GetCellCommand.js +18 -41
  13. package/dist-cjs/commands/GetCellReadinessSummaryCommand.js +18 -41
  14. package/dist-cjs/commands/GetReadinessCheckCommand.js +18 -41
  15. package/dist-cjs/commands/GetReadinessCheckResourceStatusCommand.js +18 -41
  16. package/dist-cjs/commands/GetReadinessCheckStatusCommand.js +18 -41
  17. package/dist-cjs/commands/GetRecoveryGroupCommand.js +18 -41
  18. package/dist-cjs/commands/GetRecoveryGroupReadinessSummaryCommand.js +18 -41
  19. package/dist-cjs/commands/GetResourceSetCommand.js +18 -41
  20. package/dist-cjs/commands/ListCellsCommand.js +18 -41
  21. package/dist-cjs/commands/ListCrossAccountAuthorizationsCommand.js +18 -41
  22. package/dist-cjs/commands/ListReadinessChecksCommand.js +18 -41
  23. package/dist-cjs/commands/ListRecoveryGroupsCommand.js +18 -41
  24. package/dist-cjs/commands/ListResourceSetsCommand.js +18 -41
  25. package/dist-cjs/commands/ListRulesCommand.js +18 -41
  26. package/dist-cjs/commands/ListTagsForResourcesCommand.js +18 -41
  27. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  28. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  29. package/dist-cjs/commands/UpdateCellCommand.js +18 -41
  30. package/dist-cjs/commands/UpdateReadinessCheckCommand.js +18 -41
  31. package/dist-cjs/commands/UpdateRecoveryGroupCommand.js +18 -41
  32. package/dist-cjs/commands/UpdateResourceSetCommand.js +18 -41
  33. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  34. package/dist-cjs/pagination/GetCellReadinessSummaryPaginator.js +2 -24
  35. package/dist-cjs/pagination/GetReadinessCheckResourceStatusPaginator.js +2 -24
  36. package/dist-cjs/pagination/GetReadinessCheckStatusPaginator.js +2 -24
  37. package/dist-cjs/pagination/GetRecoveryGroupReadinessSummaryPaginator.js +2 -24
  38. package/dist-cjs/pagination/ListCellsPaginator.js +2 -24
  39. package/dist-cjs/pagination/ListCrossAccountAuthorizationsPaginator.js +2 -24
  40. package/dist-cjs/pagination/ListReadinessChecksPaginator.js +2 -24
  41. package/dist-cjs/pagination/ListRecoveryGroupsPaginator.js +2 -24
  42. package/dist-cjs/pagination/ListResourceSetsPaginator.js +2 -24
  43. package/dist-cjs/pagination/ListRulesPaginator.js +2 -24
  44. package/dist-es/commands/CreateCellCommand.js +18 -41
  45. package/dist-es/commands/CreateCrossAccountAuthorizationCommand.js +18 -41
  46. package/dist-es/commands/CreateReadinessCheckCommand.js +18 -41
  47. package/dist-es/commands/CreateRecoveryGroupCommand.js +18 -41
  48. package/dist-es/commands/CreateResourceSetCommand.js +18 -41
  49. package/dist-es/commands/DeleteCellCommand.js +18 -41
  50. package/dist-es/commands/DeleteCrossAccountAuthorizationCommand.js +18 -41
  51. package/dist-es/commands/DeleteReadinessCheckCommand.js +18 -41
  52. package/dist-es/commands/DeleteRecoveryGroupCommand.js +18 -41
  53. package/dist-es/commands/DeleteResourceSetCommand.js +18 -41
  54. package/dist-es/commands/GetArchitectureRecommendationsCommand.js +18 -41
  55. package/dist-es/commands/GetCellCommand.js +18 -41
  56. package/dist-es/commands/GetCellReadinessSummaryCommand.js +18 -41
  57. package/dist-es/commands/GetReadinessCheckCommand.js +18 -41
  58. package/dist-es/commands/GetReadinessCheckResourceStatusCommand.js +18 -41
  59. package/dist-es/commands/GetReadinessCheckStatusCommand.js +18 -41
  60. package/dist-es/commands/GetRecoveryGroupCommand.js +18 -41
  61. package/dist-es/commands/GetRecoveryGroupReadinessSummaryCommand.js +18 -41
  62. package/dist-es/commands/GetResourceSetCommand.js +18 -41
  63. package/dist-es/commands/ListCellsCommand.js +18 -41
  64. package/dist-es/commands/ListCrossAccountAuthorizationsCommand.js +18 -41
  65. package/dist-es/commands/ListReadinessChecksCommand.js +18 -41
  66. package/dist-es/commands/ListRecoveryGroupsCommand.js +18 -41
  67. package/dist-es/commands/ListResourceSetsCommand.js +18 -41
  68. package/dist-es/commands/ListRulesCommand.js +18 -41
  69. package/dist-es/commands/ListTagsForResourcesCommand.js +18 -41
  70. package/dist-es/commands/TagResourceCommand.js +18 -41
  71. package/dist-es/commands/UntagResourceCommand.js +18 -41
  72. package/dist-es/commands/UpdateCellCommand.js +18 -41
  73. package/dist-es/commands/UpdateReadinessCheckCommand.js +18 -41
  74. package/dist-es/commands/UpdateRecoveryGroupCommand.js +18 -41
  75. package/dist-es/commands/UpdateResourceSetCommand.js +18 -41
  76. package/dist-es/endpoint/EndpointParameters.js +6 -0
  77. package/dist-es/pagination/GetCellReadinessSummaryPaginator.js +2 -23
  78. package/dist-es/pagination/GetReadinessCheckResourceStatusPaginator.js +2 -23
  79. package/dist-es/pagination/GetReadinessCheckStatusPaginator.js +2 -23
  80. package/dist-es/pagination/GetRecoveryGroupReadinessSummaryPaginator.js +2 -23
  81. package/dist-es/pagination/ListCellsPaginator.js +2 -23
  82. package/dist-es/pagination/ListCrossAccountAuthorizationsPaginator.js +2 -23
  83. package/dist-es/pagination/ListReadinessChecksPaginator.js +2 -23
  84. package/dist-es/pagination/ListRecoveryGroupsPaginator.js +2 -23
  85. package/dist-es/pagination/ListResourceSetsPaginator.js +2 -23
  86. package/dist-es/pagination/ListRulesPaginator.js +2 -23
  87. package/dist-types/commands/CreateCellCommand.d.ts +6 -21
  88. package/dist-types/commands/CreateCrossAccountAuthorizationCommand.d.ts +6 -21
  89. package/dist-types/commands/CreateReadinessCheckCommand.d.ts +6 -21
  90. package/dist-types/commands/CreateRecoveryGroupCommand.d.ts +6 -21
  91. package/dist-types/commands/CreateResourceSetCommand.d.ts +6 -21
  92. package/dist-types/commands/DeleteCellCommand.d.ts +6 -21
  93. package/dist-types/commands/DeleteCrossAccountAuthorizationCommand.d.ts +6 -21
  94. package/dist-types/commands/DeleteReadinessCheckCommand.d.ts +6 -21
  95. package/dist-types/commands/DeleteRecoveryGroupCommand.d.ts +6 -21
  96. package/dist-types/commands/DeleteResourceSetCommand.d.ts +6 -21
  97. package/dist-types/commands/GetArchitectureRecommendationsCommand.d.ts +6 -21
  98. package/dist-types/commands/GetCellCommand.d.ts +6 -21
  99. package/dist-types/commands/GetCellReadinessSummaryCommand.d.ts +6 -21
  100. package/dist-types/commands/GetReadinessCheckCommand.d.ts +6 -21
  101. package/dist-types/commands/GetReadinessCheckResourceStatusCommand.d.ts +6 -21
  102. package/dist-types/commands/GetReadinessCheckStatusCommand.d.ts +6 -21
  103. package/dist-types/commands/GetRecoveryGroupCommand.d.ts +6 -21
  104. package/dist-types/commands/GetRecoveryGroupReadinessSummaryCommand.d.ts +6 -21
  105. package/dist-types/commands/GetResourceSetCommand.d.ts +6 -21
  106. package/dist-types/commands/ListCellsCommand.d.ts +6 -21
  107. package/dist-types/commands/ListCrossAccountAuthorizationsCommand.d.ts +6 -21
  108. package/dist-types/commands/ListReadinessChecksCommand.d.ts +6 -21
  109. package/dist-types/commands/ListRecoveryGroupsCommand.d.ts +6 -21
  110. package/dist-types/commands/ListResourceSetsCommand.d.ts +6 -21
  111. package/dist-types/commands/ListRulesCommand.d.ts +6 -21
  112. package/dist-types/commands/ListTagsForResourcesCommand.d.ts +6 -21
  113. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  114. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  115. package/dist-types/commands/UpdateCellCommand.d.ts +6 -21
  116. package/dist-types/commands/UpdateReadinessCheckCommand.d.ts +6 -21
  117. package/dist-types/commands/UpdateRecoveryGroupCommand.d.ts +6 -21
  118. package/dist-types/commands/UpdateResourceSetCommand.d.ts +6 -21
  119. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  120. package/dist-types/pagination/GetCellReadinessSummaryPaginator.d.ts +1 -1
  121. package/dist-types/pagination/GetReadinessCheckResourceStatusPaginator.d.ts +1 -1
  122. package/dist-types/pagination/GetReadinessCheckStatusPaginator.d.ts +1 -1
  123. package/dist-types/pagination/GetRecoveryGroupReadinessSummaryPaginator.d.ts +1 -1
  124. package/dist-types/pagination/ListCellsPaginator.d.ts +1 -1
  125. package/dist-types/pagination/ListCrossAccountAuthorizationsPaginator.d.ts +1 -1
  126. package/dist-types/pagination/ListReadinessChecksPaginator.d.ts +1 -1
  127. package/dist-types/pagination/ListRecoveryGroupsPaginator.d.ts +1 -1
  128. package/dist-types/pagination/ListResourceSetsPaginator.d.ts +1 -1
  129. package/dist-types/pagination/ListRulesPaginator.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/CreateCellCommand.d.ts +14 -23
  131. package/dist-types/ts3.4/commands/CreateCrossAccountAuthorizationCommand.d.ts +12 -24
  132. package/dist-types/ts3.4/commands/CreateReadinessCheckCommand.d.ts +12 -24
  133. package/dist-types/ts3.4/commands/CreateRecoveryGroupCommand.d.ts +14 -23
  134. package/dist-types/ts3.4/commands/CreateResourceSetCommand.d.ts +14 -23
  135. package/dist-types/ts3.4/commands/DeleteCellCommand.d.ts +14 -23
  136. package/dist-types/ts3.4/commands/DeleteCrossAccountAuthorizationCommand.d.ts +12 -24
  137. package/dist-types/ts3.4/commands/DeleteReadinessCheckCommand.d.ts +12 -24
  138. package/dist-types/ts3.4/commands/DeleteRecoveryGroupCommand.d.ts +14 -23
  139. package/dist-types/ts3.4/commands/DeleteResourceSetCommand.d.ts +14 -23
  140. package/dist-types/ts3.4/commands/GetArchitectureRecommendationsCommand.d.ts +12 -24
  141. package/dist-types/ts3.4/commands/GetCellCommand.d.ts +12 -23
  142. package/dist-types/ts3.4/commands/GetCellReadinessSummaryCommand.d.ts +12 -24
  143. package/dist-types/ts3.4/commands/GetReadinessCheckCommand.d.ts +14 -23
  144. package/dist-types/ts3.4/commands/GetReadinessCheckResourceStatusCommand.d.ts +12 -24
  145. package/dist-types/ts3.4/commands/GetReadinessCheckStatusCommand.d.ts +12 -24
  146. package/dist-types/ts3.4/commands/GetRecoveryGroupCommand.d.ts +14 -23
  147. package/dist-types/ts3.4/commands/GetRecoveryGroupReadinessSummaryCommand.d.ts +12 -24
  148. package/dist-types/ts3.4/commands/GetResourceSetCommand.d.ts +14 -23
  149. package/dist-types/ts3.4/commands/ListCellsCommand.d.ts +14 -23
  150. package/dist-types/ts3.4/commands/ListCrossAccountAuthorizationsCommand.d.ts +12 -24
  151. package/dist-types/ts3.4/commands/ListReadinessChecksCommand.d.ts +14 -23
  152. package/dist-types/ts3.4/commands/ListRecoveryGroupsCommand.d.ts +14 -23
  153. package/dist-types/ts3.4/commands/ListResourceSetsCommand.d.ts +14 -23
  154. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/ListTagsForResourcesCommand.d.ts +12 -24
  156. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  158. package/dist-types/ts3.4/commands/UpdateCellCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/UpdateReadinessCheckCommand.d.ts +12 -24
  160. package/dist-types/ts3.4/commands/UpdateRecoveryGroupCommand.d.ts +14 -23
  161. package/dist-types/ts3.4/commands/UpdateResourceSetCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  163. package/dist-types/ts3.4/pagination/GetCellReadinessSummaryPaginator.d.ts +3 -3
  164. package/dist-types/ts3.4/pagination/GetReadinessCheckResourceStatusPaginator.d.ts +3 -3
  165. package/dist-types/ts3.4/pagination/GetReadinessCheckStatusPaginator.d.ts +3 -3
  166. package/dist-types/ts3.4/pagination/GetRecoveryGroupReadinessSummaryPaginator.d.ts +3 -3
  167. package/dist-types/ts3.4/pagination/ListCellsPaginator.d.ts +3 -3
  168. package/dist-types/ts3.4/pagination/ListCrossAccountAuthorizationsPaginator.d.ts +3 -3
  169. package/dist-types/ts3.4/pagination/ListReadinessChecksPaginator.d.ts +3 -3
  170. package/dist-types/ts3.4/pagination/ListRecoveryGroupsPaginator.d.ts +3 -3
  171. package/dist-types/ts3.4/pagination/ListResourceSetsPaginator.d.ts +3 -3
  172. package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +3 -3
  173. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Route53RecoveryReadiness", "TagResource", {})
19
+ .n("Route53RecoveryReadinessClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Route53RecoveryReadiness", "UntagResource", {})
19
+ .n("Route53RecoveryReadinessClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateCellCommand, se_UpdateCellCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateCellCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateCellCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "UpdateCellCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "UpdateCell",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateCellCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateCellCommand(output, context);
46
- }
7
+ export class UpdateCellCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Route53RecoveryReadiness", "UpdateCell", {})
19
+ .n("Route53RecoveryReadinessClient", "UpdateCellCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateCellCommand)
22
+ .de(de_UpdateCellCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateReadinessCheckCommand, se_UpdateReadinessCheckCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateReadinessCheckCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateReadinessCheckCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "UpdateReadinessCheckCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "UpdateReadinessCheck",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateReadinessCheckCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateReadinessCheckCommand(output, context);
46
- }
7
+ export class UpdateReadinessCheckCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Route53RecoveryReadiness", "UpdateReadinessCheck", {})
19
+ .n("Route53RecoveryReadinessClient", "UpdateReadinessCheckCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateReadinessCheckCommand)
22
+ .de(de_UpdateReadinessCheckCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateRecoveryGroupCommand, se_UpdateRecoveryGroupCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateRecoveryGroupCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRecoveryGroupCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "UpdateRecoveryGroupCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "UpdateRecoveryGroup",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateRecoveryGroupCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateRecoveryGroupCommand(output, context);
46
- }
7
+ export class UpdateRecoveryGroupCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Route53RecoveryReadiness", "UpdateRecoveryGroup", {})
19
+ .n("Route53RecoveryReadinessClient", "UpdateRecoveryGroupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateRecoveryGroupCommand)
22
+ .de(de_UpdateRecoveryGroupCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateResourceSetCommand, se_UpdateResourceSetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateResourceSetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateResourceSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "UpdateResourceSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "UpdateResourceSet",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateResourceSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateResourceSetCommand(output, context);
46
- }
7
+ export class UpdateResourceSetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Route53RecoveryReadiness", "UpdateResourceSet", {})
19
+ .n("Route53RecoveryReadinessClient", "UpdateResourceSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateResourceSetCommand)
22
+ .de(de_UpdateResourceSetCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "route53-recovery-readiness",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetCellReadinessSummaryCommand, } from "../commands/GetCellReadinessSummaryCommand";
2
3
  import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetCellReadinessSummaryCommand(input), ...args);
5
- };
6
- export async function* paginateGetCellReadinessSummary(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof Route53RecoveryReadinessClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetCellReadinessSummary = createPaginator(Route53RecoveryReadinessClient, GetCellReadinessSummaryCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetReadinessCheckResourceStatusCommand, } from "../commands/GetReadinessCheckResourceStatusCommand";
2
3
  import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetReadinessCheckResourceStatusCommand(input), ...args);
5
- };
6
- export async function* paginateGetReadinessCheckResourceStatus(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof Route53RecoveryReadinessClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetReadinessCheckResourceStatus = createPaginator(Route53RecoveryReadinessClient, GetReadinessCheckResourceStatusCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetReadinessCheckStatusCommand, } from "../commands/GetReadinessCheckStatusCommand";
2
3
  import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetReadinessCheckStatusCommand(input), ...args);
5
- };
6
- export async function* paginateGetReadinessCheckStatus(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof Route53RecoveryReadinessClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetReadinessCheckStatus = createPaginator(Route53RecoveryReadinessClient, GetReadinessCheckStatusCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetRecoveryGroupReadinessSummaryCommand, } from "../commands/GetRecoveryGroupReadinessSummaryCommand";
2
3
  import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetRecoveryGroupReadinessSummaryCommand(input), ...args);
5
- };
6
- export async function* paginateGetRecoveryGroupReadinessSummary(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof Route53RecoveryReadinessClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetRecoveryGroupReadinessSummary = createPaginator(Route53RecoveryReadinessClient, GetRecoveryGroupReadinessSummaryCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListCellsCommand } from "../commands/ListCellsCommand";
2
3
  import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListCellsCommand(input), ...args);
5
- };
6
- export async function* paginateListCells(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof Route53RecoveryReadinessClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListCells = createPaginator(Route53RecoveryReadinessClient, ListCellsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListCrossAccountAuthorizationsCommand, } from "../commands/ListCrossAccountAuthorizationsCommand";
2
3
  import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListCrossAccountAuthorizationsCommand(input), ...args);
5
- };
6
- export async function* paginateListCrossAccountAuthorizations(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof Route53RecoveryReadinessClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListCrossAccountAuthorizations = createPaginator(Route53RecoveryReadinessClient, ListCrossAccountAuthorizationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListReadinessChecksCommand, } from "../commands/ListReadinessChecksCommand";
2
3
  import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListReadinessChecksCommand(input), ...args);
5
- };
6
- export async function* paginateListReadinessChecks(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof Route53RecoveryReadinessClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListReadinessChecks = createPaginator(Route53RecoveryReadinessClient, ListReadinessChecksCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListRecoveryGroupsCommand, } from "../commands/ListRecoveryGroupsCommand";
2
3
  import { Route53RecoveryReadinessClient } from "../Route53RecoveryReadinessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListRecoveryGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateListRecoveryGroups(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof Route53RecoveryReadinessClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Route53RecoveryReadiness | Route53RecoveryReadinessClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListRecoveryGroups = createPaginator(Route53RecoveryReadinessClient, ListRecoveryGroupsCommand, "NextToken", "NextToken", "MaxResults");