@aws-sdk/client-arc-region-switch 3.859.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 (207) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +365 -0
  3. package/dist-cjs/ARCRegionSwitch.js +51 -0
  4. package/dist-cjs/ARCRegionSwitchClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/ApprovePlanExecutionStepCommand.js +26 -0
  8. package/dist-cjs/commands/CancelPlanExecutionCommand.js +26 -0
  9. package/dist-cjs/commands/CreatePlanCommand.js +29 -0
  10. package/dist-cjs/commands/DeletePlanCommand.js +29 -0
  11. package/dist-cjs/commands/GetPlanCommand.js +29 -0
  12. package/dist-cjs/commands/GetPlanEvaluationStatusCommand.js +26 -0
  13. package/dist-cjs/commands/GetPlanExecutionCommand.js +26 -0
  14. package/dist-cjs/commands/GetPlanInRegionCommand.js +26 -0
  15. package/dist-cjs/commands/ListPlanExecutionEventsCommand.js +26 -0
  16. package/dist-cjs/commands/ListPlanExecutionsCommand.js +26 -0
  17. package/dist-cjs/commands/ListPlansCommand.js +29 -0
  18. package/dist-cjs/commands/ListPlansInRegionCommand.js +26 -0
  19. package/dist-cjs/commands/ListRoute53HealthChecksCommand.js +29 -0
  20. package/dist-cjs/commands/ListTagsForResourceCommand.js +29 -0
  21. package/dist-cjs/commands/StartPlanExecutionCommand.js +26 -0
  22. package/dist-cjs/commands/TagResourceCommand.js +29 -0
  23. package/dist-cjs/commands/UntagResourceCommand.js +29 -0
  24. package/dist-cjs/commands/UpdatePlanCommand.js +29 -0
  25. package/dist-cjs/commands/UpdatePlanExecutionCommand.js +26 -0
  26. package/dist-cjs/commands/UpdatePlanExecutionStepCommand.js +26 -0
  27. package/dist-cjs/commands/index.js +23 -0
  28. package/dist-cjs/endpoint/EndpointParameters.js +15 -0
  29. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  30. package/dist-cjs/endpoint/ruleset.js +7 -0
  31. package/dist-cjs/extensionConfiguration.js +2 -0
  32. package/dist-cjs/index.js +12 -0
  33. package/dist-cjs/models/ARCRegionSwitchServiceException.js +12 -0
  34. package/dist-cjs/models/index.js +4 -0
  35. package/dist-cjs/models/models_0.js +233 -0
  36. package/dist-cjs/pagination/GetPlanEvaluationStatusPaginator.js +7 -0
  37. package/dist-cjs/pagination/GetPlanExecutionPaginator.js +7 -0
  38. package/dist-cjs/pagination/Interfaces.js +2 -0
  39. package/dist-cjs/pagination/ListPlanExecutionEventsPaginator.js +7 -0
  40. package/dist-cjs/pagination/ListPlanExecutionsPaginator.js +7 -0
  41. package/dist-cjs/pagination/ListPlansInRegionPaginator.js +7 -0
  42. package/dist-cjs/pagination/ListPlansPaginator.js +7 -0
  43. package/dist-cjs/pagination/ListRoute53HealthChecksPaginator.js +7 -0
  44. package/dist-cjs/pagination/index.js +11 -0
  45. package/dist-cjs/protocols/Aws_json1_0.js +919 -0
  46. package/dist-cjs/runtimeConfig.browser.js +39 -0
  47. package/dist-cjs/runtimeConfig.js +56 -0
  48. package/dist-cjs/runtimeConfig.native.js +15 -0
  49. package/dist-cjs/runtimeConfig.shared.js +34 -0
  50. package/dist-cjs/runtimeExtensions.js +13 -0
  51. package/dist-cjs/waiters/index.js +5 -0
  52. package/dist-cjs/waiters/waitForPlanEvaluationStatusPassed.js +54 -0
  53. package/dist-cjs/waiters/waitForPlanExecutionCompleted.js +72 -0
  54. package/dist-es/ARCRegionSwitch.js +47 -0
  55. package/dist-es/ARCRegionSwitchClient.js +48 -0
  56. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  57. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  58. package/dist-es/commands/ApprovePlanExecutionStepCommand.js +22 -0
  59. package/dist-es/commands/CancelPlanExecutionCommand.js +22 -0
  60. package/dist-es/commands/CreatePlanCommand.js +25 -0
  61. package/dist-es/commands/DeletePlanCommand.js +25 -0
  62. package/dist-es/commands/GetPlanCommand.js +25 -0
  63. package/dist-es/commands/GetPlanEvaluationStatusCommand.js +22 -0
  64. package/dist-es/commands/GetPlanExecutionCommand.js +22 -0
  65. package/dist-es/commands/GetPlanInRegionCommand.js +22 -0
  66. package/dist-es/commands/ListPlanExecutionEventsCommand.js +22 -0
  67. package/dist-es/commands/ListPlanExecutionsCommand.js +22 -0
  68. package/dist-es/commands/ListPlansCommand.js +25 -0
  69. package/dist-es/commands/ListPlansInRegionCommand.js +22 -0
  70. package/dist-es/commands/ListRoute53HealthChecksCommand.js +25 -0
  71. package/dist-es/commands/ListTagsForResourceCommand.js +25 -0
  72. package/dist-es/commands/StartPlanExecutionCommand.js +22 -0
  73. package/dist-es/commands/TagResourceCommand.js +25 -0
  74. package/dist-es/commands/UntagResourceCommand.js +25 -0
  75. package/dist-es/commands/UpdatePlanCommand.js +25 -0
  76. package/dist-es/commands/UpdatePlanExecutionCommand.js +22 -0
  77. package/dist-es/commands/UpdatePlanExecutionStepCommand.js +22 -0
  78. package/dist-es/commands/index.js +20 -0
  79. package/dist-es/endpoint/EndpointParameters.js +11 -0
  80. package/dist-es/endpoint/endpointResolver.js +14 -0
  81. package/dist-es/endpoint/ruleset.js +4 -0
  82. package/dist-es/extensionConfiguration.js +1 -0
  83. package/dist-es/index.js +7 -0
  84. package/dist-es/models/ARCRegionSwitchServiceException.js +8 -0
  85. package/dist-es/models/index.js +1 -0
  86. package/dist-es/models/models_0.js +225 -0
  87. package/dist-es/pagination/GetPlanEvaluationStatusPaginator.js +4 -0
  88. package/dist-es/pagination/GetPlanExecutionPaginator.js +4 -0
  89. package/dist-es/pagination/Interfaces.js +1 -0
  90. package/dist-es/pagination/ListPlanExecutionEventsPaginator.js +4 -0
  91. package/dist-es/pagination/ListPlanExecutionsPaginator.js +4 -0
  92. package/dist-es/pagination/ListPlansInRegionPaginator.js +4 -0
  93. package/dist-es/pagination/ListPlansPaginator.js +4 -0
  94. package/dist-es/pagination/ListRoute53HealthChecksPaginator.js +4 -0
  95. package/dist-es/pagination/index.js +8 -0
  96. package/dist-es/protocols/Aws_json1_0.js +876 -0
  97. package/dist-es/runtimeConfig.browser.js +34 -0
  98. package/dist-es/runtimeConfig.js +51 -0
  99. package/dist-es/runtimeConfig.native.js +11 -0
  100. package/dist-es/runtimeConfig.shared.js +30 -0
  101. package/dist-es/runtimeExtensions.js +9 -0
  102. package/dist-es/waiters/index.js +2 -0
  103. package/dist-es/waiters/waitForPlanEvaluationStatusPassed.js +49 -0
  104. package/dist-es/waiters/waitForPlanExecutionCompleted.js +67 -0
  105. package/dist-types/ARCRegionSwitch.d.ts +152 -0
  106. package/dist-types/ARCRegionSwitchClient.d.ts +207 -0
  107. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  108. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  109. package/dist-types/commands/ApprovePlanExecutionStepCommand.d.ts +80 -0
  110. package/dist-types/commands/CancelPlanExecutionCommand.d.ts +78 -0
  111. package/dist-types/commands/CreatePlanCommand.d.ts +697 -0
  112. package/dist-types/commands/DeletePlanCommand.d.ts +76 -0
  113. package/dist-types/commands/GetPlanCommand.d.ts +389 -0
  114. package/dist-types/commands/GetPlanEvaluationStatusCommand.d.ts +99 -0
  115. package/dist-types/commands/GetPlanExecutionCommand.d.ts +417 -0
  116. package/dist-types/commands/GetPlanInRegionCommand.d.ts +392 -0
  117. package/dist-types/commands/ListPlanExecutionEventsCommand.d.ts +97 -0
  118. package/dist-types/commands/ListPlanExecutionsCommand.d.ts +97 -0
  119. package/dist-types/commands/ListPlansCommand.d.ts +91 -0
  120. package/dist-types/commands/ListPlansInRegionCommand.d.ts +94 -0
  121. package/dist-types/commands/ListRoute53HealthChecksCommand.d.ts +93 -0
  122. package/dist-types/commands/ListTagsForResourceCommand.d.ts +80 -0
  123. package/dist-types/commands/StartPlanExecutionCommand.d.ts +93 -0
  124. package/dist-types/commands/TagResourceCommand.d.ts +79 -0
  125. package/dist-types/commands/UntagResourceCommand.d.ts +79 -0
  126. package/dist-types/commands/UpdatePlanCommand.d.ts +692 -0
  127. package/dist-types/commands/UpdatePlanExecutionCommand.d.ts +82 -0
  128. package/dist-types/commands/UpdatePlanExecutionStepCommand.d.ts +80 -0
  129. package/dist-types/commands/index.d.ts +20 -0
  130. package/dist-types/endpoint/EndpointParameters.d.ts +33 -0
  131. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  132. package/dist-types/endpoint/ruleset.d.ts +2 -0
  133. package/dist-types/extensionConfiguration.d.ts +9 -0
  134. package/dist-types/index.d.ts +15 -0
  135. package/dist-types/models/ARCRegionSwitchServiceException.d.ts +14 -0
  136. package/dist-types/models/index.d.ts +1 -0
  137. package/dist-types/models/models_0.d.ts +2370 -0
  138. package/dist-types/pagination/GetPlanEvaluationStatusPaginator.d.ts +7 -0
  139. package/dist-types/pagination/GetPlanExecutionPaginator.d.ts +7 -0
  140. package/dist-types/pagination/Interfaces.d.ts +8 -0
  141. package/dist-types/pagination/ListPlanExecutionEventsPaginator.d.ts +7 -0
  142. package/dist-types/pagination/ListPlanExecutionsPaginator.d.ts +7 -0
  143. package/dist-types/pagination/ListPlansInRegionPaginator.d.ts +7 -0
  144. package/dist-types/pagination/ListPlansPaginator.d.ts +7 -0
  145. package/dist-types/pagination/ListRoute53HealthChecksPaginator.d.ts +7 -0
  146. package/dist-types/pagination/index.d.ts +8 -0
  147. package/dist-types/protocols/Aws_json1_0.d.ts +182 -0
  148. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  149. package/dist-types/runtimeConfig.d.ts +50 -0
  150. package/dist-types/runtimeConfig.native.d.ts +49 -0
  151. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  152. package/dist-types/runtimeExtensions.d.ts +17 -0
  153. package/dist-types/ts3.4/ARCRegionSwitch.d.ts +349 -0
  154. package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +240 -0
  155. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  156. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  157. package/dist-types/ts3.4/commands/ApprovePlanExecutionStepCommand.d.ts +51 -0
  158. package/dist-types/ts3.4/commands/CancelPlanExecutionCommand.d.ts +51 -0
  159. package/dist-types/ts3.4/commands/CreatePlanCommand.d.ts +47 -0
  160. package/dist-types/ts3.4/commands/DeletePlanCommand.d.ts +47 -0
  161. package/dist-types/ts3.4/commands/GetPlanCommand.d.ts +43 -0
  162. package/dist-types/ts3.4/commands/GetPlanEvaluationStatusCommand.d.ts +51 -0
  163. package/dist-types/ts3.4/commands/GetPlanExecutionCommand.d.ts +50 -0
  164. package/dist-types/ts3.4/commands/GetPlanInRegionCommand.d.ts +50 -0
  165. package/dist-types/ts3.4/commands/ListPlanExecutionEventsCommand.d.ts +51 -0
  166. package/dist-types/ts3.4/commands/ListPlanExecutionsCommand.d.ts +51 -0
  167. package/dist-types/ts3.4/commands/ListPlansCommand.d.ts +47 -0
  168. package/dist-types/ts3.4/commands/ListPlansInRegionCommand.d.ts +51 -0
  169. package/dist-types/ts3.4/commands/ListRoute53HealthChecksCommand.d.ts +51 -0
  170. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  171. package/dist-types/ts3.4/commands/StartPlanExecutionCommand.d.ts +51 -0
  172. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  173. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  174. package/dist-types/ts3.4/commands/UpdatePlanCommand.d.ts +47 -0
  175. package/dist-types/ts3.4/commands/UpdatePlanExecutionCommand.d.ts +51 -0
  176. package/dist-types/ts3.4/commands/UpdatePlanExecutionStepCommand.d.ts +51 -0
  177. package/dist-types/ts3.4/commands/index.d.ts +20 -0
  178. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +46 -0
  179. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  180. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  181. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  182. package/dist-types/ts3.4/index.d.ts +10 -0
  183. package/dist-types/ts3.4/models/ARCRegionSwitchServiceException.d.ts +9 -0
  184. package/dist-types/ts3.4/models/index.d.ts +1 -0
  185. package/dist-types/ts3.4/models/models_0.d.ts +813 -0
  186. package/dist-types/ts3.4/pagination/GetPlanEvaluationStatusPaginator.d.ts +11 -0
  187. package/dist-types/ts3.4/pagination/GetPlanExecutionPaginator.d.ts +11 -0
  188. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  189. package/dist-types/ts3.4/pagination/ListPlanExecutionEventsPaginator.d.ts +11 -0
  190. package/dist-types/ts3.4/pagination/ListPlanExecutionsPaginator.d.ts +11 -0
  191. package/dist-types/ts3.4/pagination/ListPlansInRegionPaginator.d.ts +11 -0
  192. package/dist-types/ts3.4/pagination/ListPlansPaginator.d.ts +11 -0
  193. package/dist-types/ts3.4/pagination/ListRoute53HealthChecksPaginator.d.ts +11 -0
  194. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  195. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +245 -0
  196. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  197. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  198. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  199. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  200. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  201. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  202. package/dist-types/ts3.4/waiters/waitForPlanEvaluationStatusPassed.d.ts +11 -0
  203. package/dist-types/ts3.4/waiters/waitForPlanExecutionCompleted.d.ts +11 -0
  204. package/dist-types/waiters/index.d.ts +2 -0
  205. package/dist-types/waiters/waitForPlanEvaluationStatusPassed.d.ts +14 -0
  206. package/dist-types/waiters/waitForPlanExecutionCompleted.d.ts +14 -0
  207. package/package.json +100 -0
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetPlanInRegionCommand, se_GetPlanInRegionCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetPlanInRegionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ArcRegionSwitch", "GetPlanInRegion", {})
17
+ .n("ARCRegionSwitchClient", "GetPlanInRegionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetPlanInRegionCommand)
20
+ .de(de_GetPlanInRegionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListPlanExecutionEventsCommand, se_ListPlanExecutionEventsCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListPlanExecutionEventsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ArcRegionSwitch", "ListPlanExecutionEvents", {})
17
+ .n("ARCRegionSwitchClient", "ListPlanExecutionEventsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListPlanExecutionEventsCommand)
20
+ .de(de_ListPlanExecutionEventsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListPlanExecutionsCommand, se_ListPlanExecutionsCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListPlanExecutionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ArcRegionSwitch", "ListPlanExecutions", {})
17
+ .n("ARCRegionSwitchClient", "ListPlanExecutionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListPlanExecutionsCommand)
20
+ .de(de_ListPlanExecutionsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListPlansCommand, se_ListPlansCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListPlansCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ArcRegionSwitch", "ListPlans", {})
20
+ .n("ARCRegionSwitchClient", "ListPlansCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_ListPlansCommand)
23
+ .de(de_ListPlansCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListPlansInRegionCommand, se_ListPlansInRegionCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListPlansInRegionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ArcRegionSwitch", "ListPlansInRegion", {})
17
+ .n("ARCRegionSwitchClient", "ListPlansInRegionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListPlansInRegionCommand)
20
+ .de(de_ListPlansInRegionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListRoute53HealthChecksCommand, se_ListRoute53HealthChecksCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListRoute53HealthChecksCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ArcRegionSwitch", "ListRoute53HealthChecks", {})
20
+ .n("ARCRegionSwitchClient", "ListRoute53HealthChecksCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_ListRoute53HealthChecksCommand)
23
+ .de(de_ListRoute53HealthChecksCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ArcRegionSwitch", "ListTagsForResource", {})
20
+ .n("ARCRegionSwitchClient", "ListTagsForResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_ListTagsForResourceCommand)
23
+ .de(de_ListTagsForResourceCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StartPlanExecutionCommand, se_StartPlanExecutionCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class StartPlanExecutionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ArcRegionSwitch", "StartPlanExecution", {})
17
+ .n("ARCRegionSwitchClient", "StartPlanExecutionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StartPlanExecutionCommand)
20
+ .de(de_StartPlanExecutionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ArcRegionSwitch", "TagResource", {})
20
+ .n("ARCRegionSwitchClient", "TagResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_TagResourceCommand)
23
+ .de(de_TagResourceCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ArcRegionSwitch", "UntagResource", {})
20
+ .n("ARCRegionSwitchClient", "UntagResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_UntagResourceCommand)
23
+ .de(de_UntagResourceCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdatePlanCommand, se_UpdatePlanCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class UpdatePlanCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("ArcRegionSwitch", "UpdatePlan", {})
20
+ .n("ARCRegionSwitchClient", "UpdatePlanCommand")
21
+ .f(void 0, void 0)
22
+ .ser(se_UpdatePlanCommand)
23
+ .de(de_UpdatePlanCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdatePlanExecutionCommand, se_UpdatePlanExecutionCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class UpdatePlanExecutionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ArcRegionSwitch", "UpdatePlanExecution", {})
17
+ .n("ARCRegionSwitchClient", "UpdatePlanExecutionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdatePlanExecutionCommand)
20
+ .de(de_UpdatePlanExecutionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdatePlanExecutionStepCommand, se_UpdatePlanExecutionStepCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class UpdatePlanExecutionStepCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ArcRegionSwitch", "UpdatePlanExecutionStep", {})
17
+ .n("ARCRegionSwitchClient", "UpdatePlanExecutionStepCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdatePlanExecutionStepCommand)
20
+ .de(de_UpdatePlanExecutionStepCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,20 @@
1
+ export * from "./ApprovePlanExecutionStepCommand";
2
+ export * from "./CancelPlanExecutionCommand";
3
+ export * from "./CreatePlanCommand";
4
+ export * from "./DeletePlanCommand";
5
+ export * from "./GetPlanCommand";
6
+ export * from "./GetPlanEvaluationStatusCommand";
7
+ export * from "./GetPlanExecutionCommand";
8
+ export * from "./GetPlanInRegionCommand";
9
+ export * from "./ListPlanExecutionEventsCommand";
10
+ export * from "./ListPlanExecutionsCommand";
11
+ export * from "./ListPlansCommand";
12
+ export * from "./ListPlansInRegionCommand";
13
+ export * from "./ListRoute53HealthChecksCommand";
14
+ export * from "./ListTagsForResourceCommand";
15
+ export * from "./StartPlanExecutionCommand";
16
+ export * from "./TagResourceCommand";
17
+ export * from "./UntagResourceCommand";
18
+ export * from "./UpdatePlanCommand";
19
+ export * from "./UpdatePlanExecutionCommand";
20
+ export * from "./UpdatePlanExecutionStepCommand";
@@ -0,0 +1,11 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return Object.assign(options, {
3
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
4
+ defaultSigningName: "arc-region-switch",
5
+ });
6
+ };
7
+ export const commonParams = {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ };
@@ -0,0 +1,14 @@
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
+ import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseControlPlaneEndpoint", "UseFIPS"],
7
+ });
8
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
10
+ endpointParams: endpointParams,
11
+ logger: context.logger,
12
+ }));
13
+ };
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1,4 @@
1
+ const w = "fn", x = "argv", y = "ref";
2
+ const a = true, b = false, c = "Boolean", d = "sigv4", e = "arc-region-switch", f = "endpoint", g = "tree", h = "error", i = { "required": false, "type": "String" }, j = { [w]: "isSet", [x]: [{ [y]: "UseControlPlaneEndpoint" }] }, k = { [w]: "booleanEquals", [x]: [{ [y]: "UseControlPlaneEndpoint" }, true] }, l = { [w]: "isSet", [x]: [{ [y]: "Region" }] }, m = { [w]: "not", [x]: [{ [w]: "booleanEquals", [x]: [{ [y]: "UseFIPS" }, true] }] }, n = { [w]: "booleanEquals", [x]: [{ [y]: "UseFIPS" }, true] }, o = { [w]: "not", [x]: [{ [w]: "isSet", [x]: [{ [y]: "Endpoint" }] }] }, p = { [y]: "Endpoint" }, q = { [w]: "aws.partition", [x]: [{ [y]: "Region" }], "assign": "PartitionResult" }, r = { [w]: "stringEquals", [x]: [{ [w]: "getAttr", [x]: [{ [y]: "PartitionResult" }, "name"] }, "aws-cn"] }, s = {}, t = { "authSchemes": [{ "name": d, "signingName": e, "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, u = [n], v = [{ [w]: "isSet", [x]: [p] }];
3
+ const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: c }, Endpoint: i, Region: i, UseControlPlaneEndpoint: { required: b, type: c } }, rules: [{ conditions: [j, k, l, m, o, q, r], rules: [{ endpoint: { url: "https://arc-region-switch-control-plane.cn-north-1.{PartitionResult#dualStackDnsSuffix}", properties: { authSchemes: [{ name: d, signingName: e, signingRegion: "cn-north-1" }] }, headers: s }, type: f }], type: g }, { conditions: [o, j, k, l, n, q], rules: [{ conditions: [r], error: "Invalid Configuration: FIPS is not supported in this partition", type: h }, { rules: [{ endpoint: { url: "https://arc-region-switch-control-plane-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: t, headers: s }, type: f }], type: g }], type: g }, { conditions: [j, k, l, m, o, q], rules: [{ endpoint: { url: "https://arc-region-switch-control-plane.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: t, headers: s }, type: f }], type: g }, { conditions: v, rules: [{ conditions: u, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: h }, { endpoint: { url: p, properties: s, headers: s }, type: f }], type: g }, { rules: [{ conditions: [l], rules: [{ conditions: [q], rules: [{ conditions: u, endpoint: { url: "https://arc-region-switch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: s, headers: s }, type: f }, { endpoint: { url: "https://arc-region-switch.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: s, headers: s }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: h }], type: g }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export * from "./ARCRegionSwitchClient";
2
+ export * from "./ARCRegionSwitch";
3
+ export * from "./commands";
4
+ export * from "./pagination";
5
+ export * from "./waiters";
6
+ export * from "./models";
7
+ export { ARCRegionSwitchServiceException } from "./models/ARCRegionSwitchServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class ARCRegionSwitchServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, ARCRegionSwitchServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,225 @@
1
+ import { ARCRegionSwitchServiceException as __BaseException } from "./ARCRegionSwitchServiceException";
2
+ export const ExecutionAction = {
3
+ ACTIVATE: "activate",
4
+ DEACTIVATE: "deactivate",
5
+ };
6
+ export const ExecutionState = {
7
+ CANCELLED: "canceled",
8
+ COMPLETED: "completed",
9
+ COMPLETED_MONITORING_APPLICATION_HEALTH: "completedMonitoringApplicationHealth",
10
+ COMPLETED_WITH_EXCEPTIONS: "completedWithExceptions",
11
+ FAILED: "failed",
12
+ IN_PROGRESS: "inProgress",
13
+ PAUSED_BY_FAILED_STEP: "pausedByFailedStep",
14
+ PAUSED_BY_OPERATOR: "pausedByOperator",
15
+ PENDING: "pending",
16
+ PENDING_MANUAL_APPROVAL: "pendingManualApproval",
17
+ PLAN_EXECUTION_TIMED_OUT: "planExecutionTimedOut",
18
+ };
19
+ export const ExecutionMode = {
20
+ GRACEFUL: "graceful",
21
+ UNGRACEFUL: "ungraceful",
22
+ };
23
+ export const RecoveryApproach = {
24
+ ACTIVE_ACTIVE: "activeActive",
25
+ ACTIVE_PASSIVE: "activePassive",
26
+ };
27
+ export class AccessDeniedException extends __BaseException {
28
+ name = "AccessDeniedException";
29
+ $fault = "client";
30
+ constructor(opts) {
31
+ super({
32
+ name: "AccessDeniedException",
33
+ $fault: "client",
34
+ ...opts,
35
+ });
36
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
37
+ }
38
+ }
39
+ export const AlarmCondition = {
40
+ GREEN: "green",
41
+ RED: "red",
42
+ };
43
+ export const AlarmType = {
44
+ APPLICATION_HEALTH: "applicationHealth",
45
+ TRIGGER: "trigger",
46
+ };
47
+ export const Approval = {
48
+ APPROVE: "approve",
49
+ DECLINE: "decline",
50
+ };
51
+ export class ResourceNotFoundException extends __BaseException {
52
+ name = "ResourceNotFoundException";
53
+ $fault = "client";
54
+ constructor(opts) {
55
+ super({
56
+ name: "ResourceNotFoundException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
61
+ }
62
+ }
63
+ export const EvaluationStatus = {
64
+ ACTION_REQUIRED: "actionRequired",
65
+ PASSED: "passed",
66
+ PENDING_EVALUATION: "pendingEvaluation",
67
+ UNKNOWN: "unknown",
68
+ };
69
+ export const ResourceWarningStatus = {
70
+ ACTIVE: "active",
71
+ RESOLVED: "resolved",
72
+ };
73
+ export const WorkflowTargetAction = {
74
+ ACTIVATE: "activate",
75
+ DEACTIVATE: "deactivate",
76
+ };
77
+ export const RoutingControlStateChange = {
78
+ OFF: "Off",
79
+ ON: "On",
80
+ };
81
+ export const RegionToRunIn = {
82
+ ACTIVATING_REGION: "activatingRegion",
83
+ DEACTIVATING_REGION: "deactivatingRegion",
84
+ };
85
+ export const LambdaUngracefulBehavior = {
86
+ SKIP: "skip",
87
+ };
88
+ export const Ec2AsgCapacityMonitoringApproach = {
89
+ AUTOSCALING_MAX_IN_LAST_24_HOURS: "autoscalingMaxInLast24Hours",
90
+ SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours",
91
+ };
92
+ export const EcsCapacityMonitoringApproach = {
93
+ CONTAINER_INSIGHTS_MAX_IN_LAST_24_HOURS: "containerInsightsMaxInLast24Hours",
94
+ SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours",
95
+ };
96
+ export const EksCapacityMonitoringApproach = {
97
+ SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours",
98
+ };
99
+ export const GlobalAuroraDefaultBehavior = {
100
+ FAILOVER: "failover",
101
+ SWITCHOVER_ONLY: "switchoverOnly",
102
+ };
103
+ export const GlobalAuroraUngracefulBehavior = {
104
+ FAILOVER: "failover",
105
+ };
106
+ export const ExecutionBlockType = {
107
+ AURORA: "AuroraGlobalDatabase",
108
+ CUSTOM_ACTION_LAMBDA: "CustomActionLambda",
109
+ EC2_ASG: "EC2AutoScaling",
110
+ ECS: "ECSServiceScaling",
111
+ EKS_RESOURCE_SCALING: "EKSResourceScaling",
112
+ EXECUTION_APPROVAL: "ManualApproval",
113
+ PARALLEL: "Parallel",
114
+ REGION_SWITCH: "ARCRegionSwitchPlan",
115
+ ROUTE53_HEALTH_CHECK: "Route53HealthCheck",
116
+ ROUTING_CONTROL: "ARCRoutingControl",
117
+ };
118
+ export const StepStatus = {
119
+ CANCELLED: "canceled",
120
+ COMPLETED: "completed",
121
+ FAILED: "failed",
122
+ NOT_STARTED: "notStarted",
123
+ PENDING_APPROVAL: "pendingApproval",
124
+ RUNNING: "running",
125
+ SKIPPED: "skipped",
126
+ };
127
+ export const ExecutionEventType = {
128
+ EXECUTION_BEHAVIOR_CHANGED_TO_GRACEFUL: "executionBehaviorChangedToGraceful",
129
+ EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "executionBehaviorChangedToUngraceful",
130
+ EXECUTION_CANCELED: "executionCanceled",
131
+ EXECUTION_CANCELING: "executionCanceling",
132
+ EXECUTION_FAILED: "executionFailed",
133
+ EXECUTION_PAUSED: "executionPaused",
134
+ EXECUTION_PAUSING: "executionPausing",
135
+ EXECUTION_PENDING: "executionPending",
136
+ EXECUTION_PENDING_APPROVAL: "executionPendingApproval",
137
+ EXECUTION_PENDING_CHILD_PLAN_MANUAL_APPROVAL: "executionPendingChildPlanManualApproval",
138
+ EXECUTION_STARTED: "executionStarted",
139
+ EXECUTION_SUCCEEDED: "executionSucceeded",
140
+ EXECUTION_SUCCESS_MONITORING_APPLICATION_HEALTH: "executionSuccessMonitoringApplicationHealth",
141
+ STEP_CANCELED: "stepCanceled",
142
+ STEP_EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "stepExecutionBehaviorChangedToUngraceful",
143
+ STEP_FAILED: "stepFailed",
144
+ STEP_PAUSED_BY_ERROR: "stepPausedByError",
145
+ STEP_PAUSED_BY_OPERATOR: "stepPausedByOperator",
146
+ STEP_PENDING_APPLICATION_HEALTH_MONITOR: "stepPendingApplicationHealthMonitor",
147
+ STEP_PENDING_APPROVAL: "stepPendingApproval",
148
+ STEP_SKIPPED: "stepSkipped",
149
+ STEP_STARTED: "stepStarted",
150
+ STEP_SUCCEEDED: "stepSucceeded",
151
+ STEP_UPDATE: "stepUpdate",
152
+ UNKNOWN: "unknown",
153
+ };
154
+ export class InternalServerException extends __BaseException {
155
+ name = "InternalServerException";
156
+ $fault = "server";
157
+ constructor(opts) {
158
+ super({
159
+ name: "InternalServerException",
160
+ $fault: "server",
161
+ ...opts,
162
+ });
163
+ Object.setPrototypeOf(this, InternalServerException.prototype);
164
+ }
165
+ }
166
+ export class IllegalStateException extends __BaseException {
167
+ name = "IllegalStateException";
168
+ $fault = "client";
169
+ constructor(opts) {
170
+ super({
171
+ name: "IllegalStateException",
172
+ $fault: "client",
173
+ ...opts,
174
+ });
175
+ Object.setPrototypeOf(this, IllegalStateException.prototype);
176
+ }
177
+ }
178
+ export class IllegalArgumentException extends __BaseException {
179
+ name = "IllegalArgumentException";
180
+ $fault = "client";
181
+ constructor(opts) {
182
+ super({
183
+ name: "IllegalArgumentException",
184
+ $fault: "client",
185
+ ...opts,
186
+ });
187
+ Object.setPrototypeOf(this, IllegalArgumentException.prototype);
188
+ }
189
+ }
190
+ export const UpdatePlanExecutionAction = {
191
+ PAUSE: "pause",
192
+ RESUME: "resume",
193
+ SWITCH_TO_GRACEFUL: "switchToGraceful",
194
+ SWITCH_TO_UNGRACEFUL: "switchToUngraceful",
195
+ };
196
+ export const UpdatePlanExecutionStepAction = {
197
+ SKIP: "skip",
198
+ SWITCH_TO_UNGRACEFUL: "switchToUngraceful",
199
+ };
200
+ export var ExecutionBlockConfiguration;
201
+ (function (ExecutionBlockConfiguration) {
202
+ ExecutionBlockConfiguration.visit = (value, visitor) => {
203
+ if (value.customActionLambdaConfig !== undefined)
204
+ return visitor.customActionLambdaConfig(value.customActionLambdaConfig);
205
+ if (value.ec2AsgCapacityIncreaseConfig !== undefined)
206
+ return visitor.ec2AsgCapacityIncreaseConfig(value.ec2AsgCapacityIncreaseConfig);
207
+ if (value.executionApprovalConfig !== undefined)
208
+ return visitor.executionApprovalConfig(value.executionApprovalConfig);
209
+ if (value.arcRoutingControlConfig !== undefined)
210
+ return visitor.arcRoutingControlConfig(value.arcRoutingControlConfig);
211
+ if (value.globalAuroraConfig !== undefined)
212
+ return visitor.globalAuroraConfig(value.globalAuroraConfig);
213
+ if (value.parallelConfig !== undefined)
214
+ return visitor.parallelConfig(value.parallelConfig);
215
+ if (value.regionSwitchPlanConfig !== undefined)
216
+ return visitor.regionSwitchPlanConfig(value.regionSwitchPlanConfig);
217
+ if (value.ecsCapacityIncreaseConfig !== undefined)
218
+ return visitor.ecsCapacityIncreaseConfig(value.ecsCapacityIncreaseConfig);
219
+ if (value.eksResourceScalingConfig !== undefined)
220
+ return visitor.eksResourceScalingConfig(value.eksResourceScalingConfig);
221
+ if (value.route53HealthCheckConfig !== undefined)
222
+ return visitor.route53HealthCheckConfig(value.route53HealthCheckConfig);
223
+ return visitor._(value.$unknown[0], value.$unknown[1]);
224
+ };
225
+ })(ExecutionBlockConfiguration || (ExecutionBlockConfiguration = {}));
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ARCRegionSwitchClient } from "../ARCRegionSwitchClient";
3
+ import { GetPlanEvaluationStatusCommand, } from "../commands/GetPlanEvaluationStatusCommand";
4
+ export const paginateGetPlanEvaluationStatus = createPaginator(ARCRegionSwitchClient, GetPlanEvaluationStatusCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ARCRegionSwitchClient } from "../ARCRegionSwitchClient";
3
+ import { GetPlanExecutionCommand, } from "../commands/GetPlanExecutionCommand";
4
+ export const paginateGetPlanExecution = createPaginator(ARCRegionSwitchClient, GetPlanExecutionCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ARCRegionSwitchClient } from "../ARCRegionSwitchClient";
3
+ import { ListPlanExecutionEventsCommand, } from "../commands/ListPlanExecutionEventsCommand";
4
+ export const paginateListPlanExecutionEvents = createPaginator(ARCRegionSwitchClient, ListPlanExecutionEventsCommand, "nextToken", "nextToken", "maxResults");