@aws-sdk/client-route53-recovery-readiness 3.478.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 (133) 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-es/commands/CreateCellCommand.js +18 -41
  35. package/dist-es/commands/CreateCrossAccountAuthorizationCommand.js +18 -41
  36. package/dist-es/commands/CreateReadinessCheckCommand.js +18 -41
  37. package/dist-es/commands/CreateRecoveryGroupCommand.js +18 -41
  38. package/dist-es/commands/CreateResourceSetCommand.js +18 -41
  39. package/dist-es/commands/DeleteCellCommand.js +18 -41
  40. package/dist-es/commands/DeleteCrossAccountAuthorizationCommand.js +18 -41
  41. package/dist-es/commands/DeleteReadinessCheckCommand.js +18 -41
  42. package/dist-es/commands/DeleteRecoveryGroupCommand.js +18 -41
  43. package/dist-es/commands/DeleteResourceSetCommand.js +18 -41
  44. package/dist-es/commands/GetArchitectureRecommendationsCommand.js +18 -41
  45. package/dist-es/commands/GetCellCommand.js +18 -41
  46. package/dist-es/commands/GetCellReadinessSummaryCommand.js +18 -41
  47. package/dist-es/commands/GetReadinessCheckCommand.js +18 -41
  48. package/dist-es/commands/GetReadinessCheckResourceStatusCommand.js +18 -41
  49. package/dist-es/commands/GetReadinessCheckStatusCommand.js +18 -41
  50. package/dist-es/commands/GetRecoveryGroupCommand.js +18 -41
  51. package/dist-es/commands/GetRecoveryGroupReadinessSummaryCommand.js +18 -41
  52. package/dist-es/commands/GetResourceSetCommand.js +18 -41
  53. package/dist-es/commands/ListCellsCommand.js +18 -41
  54. package/dist-es/commands/ListCrossAccountAuthorizationsCommand.js +18 -41
  55. package/dist-es/commands/ListReadinessChecksCommand.js +18 -41
  56. package/dist-es/commands/ListRecoveryGroupsCommand.js +18 -41
  57. package/dist-es/commands/ListResourceSetsCommand.js +18 -41
  58. package/dist-es/commands/ListRulesCommand.js +18 -41
  59. package/dist-es/commands/ListTagsForResourcesCommand.js +18 -41
  60. package/dist-es/commands/TagResourceCommand.js +18 -41
  61. package/dist-es/commands/UntagResourceCommand.js +18 -41
  62. package/dist-es/commands/UpdateCellCommand.js +18 -41
  63. package/dist-es/commands/UpdateReadinessCheckCommand.js +18 -41
  64. package/dist-es/commands/UpdateRecoveryGroupCommand.js +18 -41
  65. package/dist-es/commands/UpdateResourceSetCommand.js +18 -41
  66. package/dist-es/endpoint/EndpointParameters.js +6 -0
  67. package/dist-types/commands/CreateCellCommand.d.ts +6 -21
  68. package/dist-types/commands/CreateCrossAccountAuthorizationCommand.d.ts +6 -21
  69. package/dist-types/commands/CreateReadinessCheckCommand.d.ts +6 -21
  70. package/dist-types/commands/CreateRecoveryGroupCommand.d.ts +6 -21
  71. package/dist-types/commands/CreateResourceSetCommand.d.ts +6 -21
  72. package/dist-types/commands/DeleteCellCommand.d.ts +6 -21
  73. package/dist-types/commands/DeleteCrossAccountAuthorizationCommand.d.ts +6 -21
  74. package/dist-types/commands/DeleteReadinessCheckCommand.d.ts +6 -21
  75. package/dist-types/commands/DeleteRecoveryGroupCommand.d.ts +6 -21
  76. package/dist-types/commands/DeleteResourceSetCommand.d.ts +6 -21
  77. package/dist-types/commands/GetArchitectureRecommendationsCommand.d.ts +6 -21
  78. package/dist-types/commands/GetCellCommand.d.ts +6 -21
  79. package/dist-types/commands/GetCellReadinessSummaryCommand.d.ts +6 -21
  80. package/dist-types/commands/GetReadinessCheckCommand.d.ts +6 -21
  81. package/dist-types/commands/GetReadinessCheckResourceStatusCommand.d.ts +6 -21
  82. package/dist-types/commands/GetReadinessCheckStatusCommand.d.ts +6 -21
  83. package/dist-types/commands/GetRecoveryGroupCommand.d.ts +6 -21
  84. package/dist-types/commands/GetRecoveryGroupReadinessSummaryCommand.d.ts +6 -21
  85. package/dist-types/commands/GetResourceSetCommand.d.ts +6 -21
  86. package/dist-types/commands/ListCellsCommand.d.ts +6 -21
  87. package/dist-types/commands/ListCrossAccountAuthorizationsCommand.d.ts +6 -21
  88. package/dist-types/commands/ListReadinessChecksCommand.d.ts +6 -21
  89. package/dist-types/commands/ListRecoveryGroupsCommand.d.ts +6 -21
  90. package/dist-types/commands/ListResourceSetsCommand.d.ts +6 -21
  91. package/dist-types/commands/ListRulesCommand.d.ts +6 -21
  92. package/dist-types/commands/ListTagsForResourcesCommand.d.ts +6 -21
  93. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  94. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  95. package/dist-types/commands/UpdateCellCommand.d.ts +6 -21
  96. package/dist-types/commands/UpdateReadinessCheckCommand.d.ts +6 -21
  97. package/dist-types/commands/UpdateRecoveryGroupCommand.d.ts +6 -21
  98. package/dist-types/commands/UpdateResourceSetCommand.d.ts +6 -21
  99. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  100. package/dist-types/ts3.4/commands/CreateCellCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/CreateCrossAccountAuthorizationCommand.d.ts +12 -24
  102. package/dist-types/ts3.4/commands/CreateReadinessCheckCommand.d.ts +12 -24
  103. package/dist-types/ts3.4/commands/CreateRecoveryGroupCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/CreateResourceSetCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/DeleteCellCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/DeleteCrossAccountAuthorizationCommand.d.ts +12 -24
  107. package/dist-types/ts3.4/commands/DeleteReadinessCheckCommand.d.ts +12 -24
  108. package/dist-types/ts3.4/commands/DeleteRecoveryGroupCommand.d.ts +14 -23
  109. package/dist-types/ts3.4/commands/DeleteResourceSetCommand.d.ts +14 -23
  110. package/dist-types/ts3.4/commands/GetArchitectureRecommendationsCommand.d.ts +12 -24
  111. package/dist-types/ts3.4/commands/GetCellCommand.d.ts +12 -23
  112. package/dist-types/ts3.4/commands/GetCellReadinessSummaryCommand.d.ts +12 -24
  113. package/dist-types/ts3.4/commands/GetReadinessCheckCommand.d.ts +14 -23
  114. package/dist-types/ts3.4/commands/GetReadinessCheckResourceStatusCommand.d.ts +12 -24
  115. package/dist-types/ts3.4/commands/GetReadinessCheckStatusCommand.d.ts +12 -24
  116. package/dist-types/ts3.4/commands/GetRecoveryGroupCommand.d.ts +14 -23
  117. package/dist-types/ts3.4/commands/GetRecoveryGroupReadinessSummaryCommand.d.ts +12 -24
  118. package/dist-types/ts3.4/commands/GetResourceSetCommand.d.ts +14 -23
  119. package/dist-types/ts3.4/commands/ListCellsCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/ListCrossAccountAuthorizationsCommand.d.ts +12 -24
  121. package/dist-types/ts3.4/commands/ListReadinessChecksCommand.d.ts +14 -23
  122. package/dist-types/ts3.4/commands/ListRecoveryGroupsCommand.d.ts +14 -23
  123. package/dist-types/ts3.4/commands/ListResourceSetsCommand.d.ts +14 -23
  124. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/commands/ListTagsForResourcesCommand.d.ts +12 -24
  126. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  127. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  128. package/dist-types/ts3.4/commands/UpdateCellCommand.d.ts +14 -23
  129. package/dist-types/ts3.4/commands/UpdateReadinessCheckCommand.d.ts +12 -24
  130. package/dist-types/ts3.4/commands/UpdateRecoveryGroupCommand.d.ts +14 -23
  131. package/dist-types/ts3.4/commands/UpdateResourceSetCommand.d.ts +14 -23
  132. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  133. package/package.json +9 -9
@@ -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_ListRecoveryGroupsCommand, se_ListRecoveryGroupsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListRecoveryGroupsCommand 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, ListRecoveryGroupsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "ListRecoveryGroupsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "ListRecoveryGroups",
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_ListRecoveryGroupsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListRecoveryGroupsCommand(output, context);
46
- }
7
+ export class ListRecoveryGroupsCommand 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", "ListRecoveryGroups", {})
19
+ .n("Route53RecoveryReadinessClient", "ListRecoveryGroupsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListRecoveryGroupsCommand)
22
+ .de(de_ListRecoveryGroupsCommand)
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_ListResourceSetsCommand, se_ListResourceSetsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListResourceSetsCommand 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, ListResourceSetsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "ListResourceSetsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "ListResourceSets",
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_ListResourceSetsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListResourceSetsCommand(output, context);
46
- }
7
+ export class ListResourceSetsCommand 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", "ListResourceSets", {})
19
+ .n("Route53RecoveryReadinessClient", "ListResourceSetsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListResourceSetsCommand)
22
+ .de(de_ListResourceSetsCommand)
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_ListRulesCommand, se_ListRulesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListRulesCommand 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, ListRulesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "ListRulesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "ListRules",
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_ListRulesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListRulesCommand(output, context);
46
- }
7
+ export class ListRulesCommand 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", "ListRules", {})
19
+ .n("Route53RecoveryReadinessClient", "ListRulesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListRulesCommand)
22
+ .de(de_ListRulesCommand)
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_ListTagsForResourcesCommand, se_ListTagsForResourcesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTagsForResourcesCommand 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, ListTagsForResourcesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "ListTagsForResourcesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "ListTagsForResources",
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_ListTagsForResourcesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourcesCommand(output, context);
46
- }
7
+ export class ListTagsForResourcesCommand 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", "ListTagsForResources", {})
19
+ .n("Route53RecoveryReadinessClient", "ListTagsForResourcesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourcesCommand)
22
+ .de(de_ListTagsForResourcesCommand)
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_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
  }