@aws-sdk/client-route53-recovery-readiness 3.478.0 → 3.484.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 +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_CreateResourceSetCommand, se_CreateResourceSetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateResourceSetCommand 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, CreateResourceSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "CreateResourceSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "CreateResourceSet",
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_CreateResourceSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateResourceSetCommand(output, context);
46
- }
7
+ export class CreateResourceSetCommand 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", "CreateResourceSet", {})
19
+ .n("Route53RecoveryReadinessClient", "CreateResourceSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateResourceSetCommand)
22
+ .de(de_CreateResourceSetCommand)
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_DeleteCellCommand, se_DeleteCellCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteCellCommand 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, DeleteCellCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "DeleteCellCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "DeleteCell",
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_DeleteCellCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteCellCommand(output, context);
46
- }
7
+ export class DeleteCellCommand 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", "DeleteCell", {})
19
+ .n("Route53RecoveryReadinessClient", "DeleteCellCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteCellCommand)
22
+ .de(de_DeleteCellCommand)
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_DeleteCrossAccountAuthorizationCommand, se_DeleteCrossAccountAuthorizationCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteCrossAccountAuthorizationCommand 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, DeleteCrossAccountAuthorizationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "DeleteCrossAccountAuthorizationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "DeleteCrossAccountAuthorization",
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_DeleteCrossAccountAuthorizationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteCrossAccountAuthorizationCommand(output, context);
46
- }
7
+ export class DeleteCrossAccountAuthorizationCommand 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", "DeleteCrossAccountAuthorization", {})
19
+ .n("Route53RecoveryReadinessClient", "DeleteCrossAccountAuthorizationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteCrossAccountAuthorizationCommand)
22
+ .de(de_DeleteCrossAccountAuthorizationCommand)
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_DeleteReadinessCheckCommand, se_DeleteReadinessCheckCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteReadinessCheckCommand 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, DeleteReadinessCheckCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "DeleteReadinessCheckCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "DeleteReadinessCheck",
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_DeleteReadinessCheckCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteReadinessCheckCommand(output, context);
46
- }
7
+ export class DeleteReadinessCheckCommand 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", "DeleteReadinessCheck", {})
19
+ .n("Route53RecoveryReadinessClient", "DeleteReadinessCheckCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteReadinessCheckCommand)
22
+ .de(de_DeleteReadinessCheckCommand)
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_DeleteRecoveryGroupCommand, se_DeleteRecoveryGroupCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteRecoveryGroupCommand 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, DeleteRecoveryGroupCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "DeleteRecoveryGroupCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "DeleteRecoveryGroup",
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_DeleteRecoveryGroupCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteRecoveryGroupCommand(output, context);
46
- }
7
+ export class DeleteRecoveryGroupCommand 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", "DeleteRecoveryGroup", {})
19
+ .n("Route53RecoveryReadinessClient", "DeleteRecoveryGroupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteRecoveryGroupCommand)
22
+ .de(de_DeleteRecoveryGroupCommand)
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_DeleteResourceSetCommand, se_DeleteResourceSetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteResourceSetCommand 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, DeleteResourceSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "DeleteResourceSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "DeleteResourceSet",
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_DeleteResourceSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteResourceSetCommand(output, context);
46
- }
7
+ export class DeleteResourceSetCommand 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", "DeleteResourceSet", {})
19
+ .n("Route53RecoveryReadinessClient", "DeleteResourceSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteResourceSetCommand)
22
+ .de(de_DeleteResourceSetCommand)
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_GetArchitectureRecommendationsCommand, se_GetArchitectureRecommendationsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetArchitectureRecommendationsCommand 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, GetArchitectureRecommendationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "GetArchitectureRecommendationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "GetArchitectureRecommendations",
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_GetArchitectureRecommendationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetArchitectureRecommendationsCommand(output, context);
46
- }
7
+ export class GetArchitectureRecommendationsCommand 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", "GetArchitectureRecommendations", {})
19
+ .n("Route53RecoveryReadinessClient", "GetArchitectureRecommendationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetArchitectureRecommendationsCommand)
22
+ .de(de_GetArchitectureRecommendationsCommand)
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_GetCellCommand, se_GetCellCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetCellCommand 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, GetCellCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "GetCellCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "GetCell",
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_GetCellCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetCellCommand(output, context);
46
- }
7
+ export class GetCellCommand 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", "GetCell", {})
19
+ .n("Route53RecoveryReadinessClient", "GetCellCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetCellCommand)
22
+ .de(de_GetCellCommand)
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_GetCellReadinessSummaryCommand, se_GetCellReadinessSummaryCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetCellReadinessSummaryCommand 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, GetCellReadinessSummaryCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Route53RecoveryReadinessClient";
26
- const commandName = "GetCellReadinessSummaryCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Route53RecoveryReadiness",
35
- operation: "GetCellReadinessSummary",
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_GetCellReadinessSummaryCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetCellReadinessSummaryCommand(output, context);
46
- }
7
+ export class GetCellReadinessSummaryCommand 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", "GetCellReadinessSummary", {})
19
+ .n("Route53RecoveryReadinessClient", "GetCellReadinessSummaryCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetCellReadinessSummaryCommand)
22
+ .de(de_GetCellReadinessSummaryCommand)
23
+ .build() {
47
24
  }