@aws-sdk/client-arc-region-switch 3.891.0 → 3.894.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 (45) hide show
  1. package/dist-cjs/index.js +1931 -11
  2. package/package.json +19 -19
  3. package/dist-cjs/ARCRegionSwitch.js +0 -51
  4. package/dist-cjs/ARCRegionSwitchClient.js +0 -52
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  6. package/dist-cjs/commands/ApprovePlanExecutionStepCommand.js +0 -26
  7. package/dist-cjs/commands/CancelPlanExecutionCommand.js +0 -26
  8. package/dist-cjs/commands/CreatePlanCommand.js +0 -29
  9. package/dist-cjs/commands/DeletePlanCommand.js +0 -29
  10. package/dist-cjs/commands/GetPlanCommand.js +0 -29
  11. package/dist-cjs/commands/GetPlanEvaluationStatusCommand.js +0 -26
  12. package/dist-cjs/commands/GetPlanExecutionCommand.js +0 -26
  13. package/dist-cjs/commands/GetPlanInRegionCommand.js +0 -26
  14. package/dist-cjs/commands/ListPlanExecutionEventsCommand.js +0 -26
  15. package/dist-cjs/commands/ListPlanExecutionsCommand.js +0 -26
  16. package/dist-cjs/commands/ListPlansCommand.js +0 -29
  17. package/dist-cjs/commands/ListPlansInRegionCommand.js +0 -26
  18. package/dist-cjs/commands/ListRoute53HealthChecksCommand.js +0 -29
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -29
  20. package/dist-cjs/commands/StartPlanExecutionCommand.js +0 -26
  21. package/dist-cjs/commands/TagResourceCommand.js +0 -29
  22. package/dist-cjs/commands/UntagResourceCommand.js +0 -29
  23. package/dist-cjs/commands/UpdatePlanCommand.js +0 -29
  24. package/dist-cjs/commands/UpdatePlanExecutionCommand.js +0 -26
  25. package/dist-cjs/commands/UpdatePlanExecutionStepCommand.js +0 -26
  26. package/dist-cjs/commands/index.js +0 -23
  27. package/dist-cjs/endpoint/EndpointParameters.js +0 -15
  28. package/dist-cjs/extensionConfiguration.js +0 -2
  29. package/dist-cjs/models/ARCRegionSwitchServiceException.js +0 -12
  30. package/dist-cjs/models/index.js +0 -4
  31. package/dist-cjs/models/models_0.js +0 -233
  32. package/dist-cjs/pagination/GetPlanEvaluationStatusPaginator.js +0 -7
  33. package/dist-cjs/pagination/GetPlanExecutionPaginator.js +0 -7
  34. package/dist-cjs/pagination/Interfaces.js +0 -2
  35. package/dist-cjs/pagination/ListPlanExecutionEventsPaginator.js +0 -7
  36. package/dist-cjs/pagination/ListPlanExecutionsPaginator.js +0 -7
  37. package/dist-cjs/pagination/ListPlansInRegionPaginator.js +0 -7
  38. package/dist-cjs/pagination/ListPlansPaginator.js +0 -7
  39. package/dist-cjs/pagination/ListRoute53HealthChecksPaginator.js +0 -7
  40. package/dist-cjs/pagination/index.js +0 -11
  41. package/dist-cjs/protocols/Aws_json1_0.js +0 -919
  42. package/dist-cjs/runtimeExtensions.js +0 -13
  43. package/dist-cjs/waiters/index.js +0 -5
  44. package/dist-cjs/waiters/waitForPlanEvaluationStatusPassed.js +0 -54
  45. package/dist-cjs/waiters/waitForPlanExecutionCompleted.js +0 -72
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartPlanExecutionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class StartPlanExecutionCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("ArcRegionSwitch", "StartPlanExecution", {})
20
- .n("ARCRegionSwitchClient", "StartPlanExecutionCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_json1_0_1.se_StartPlanExecutionCommand)
23
- .de(Aws_json1_0_1.de_StartPlanExecutionCommand)
24
- .build() {
25
- }
26
- exports.StartPlanExecutionCommand = StartPlanExecutionCommand;
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class TagResourceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
15
- })
16
- .m(function (Command, cs, config, o) {
17
- return [
18
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
- ];
21
- })
22
- .s("ArcRegionSwitch", "TagResource", {})
23
- .n("ARCRegionSwitchClient", "TagResourceCommand")
24
- .f(void 0, void 0)
25
- .ser(Aws_json1_0_1.se_TagResourceCommand)
26
- .de(Aws_json1_0_1.de_TagResourceCommand)
27
- .build() {
28
- }
29
- exports.TagResourceCommand = TagResourceCommand;
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class UntagResourceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
15
- })
16
- .m(function (Command, cs, config, o) {
17
- return [
18
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
- ];
21
- })
22
- .s("ArcRegionSwitch", "UntagResource", {})
23
- .n("ARCRegionSwitchClient", "UntagResourceCommand")
24
- .f(void 0, void 0)
25
- .ser(Aws_json1_0_1.se_UntagResourceCommand)
26
- .de(Aws_json1_0_1.de_UntagResourceCommand)
27
- .build() {
28
- }
29
- exports.UntagResourceCommand = UntagResourceCommand;
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePlanCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class UpdatePlanCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
15
- })
16
- .m(function (Command, cs, config, o) {
17
- return [
18
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
- ];
21
- })
22
- .s("ArcRegionSwitch", "UpdatePlan", {})
23
- .n("ARCRegionSwitchClient", "UpdatePlanCommand")
24
- .f(void 0, void 0)
25
- .ser(Aws_json1_0_1.se_UpdatePlanCommand)
26
- .de(Aws_json1_0_1.de_UpdatePlanCommand)
27
- .build() {
28
- }
29
- exports.UpdatePlanCommand = UpdatePlanCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePlanExecutionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class UpdatePlanExecutionCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("ArcRegionSwitch", "UpdatePlanExecution", {})
20
- .n("ARCRegionSwitchClient", "UpdatePlanExecutionCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_json1_0_1.se_UpdatePlanExecutionCommand)
23
- .de(Aws_json1_0_1.de_UpdatePlanExecutionCommand)
24
- .build() {
25
- }
26
- exports.UpdatePlanExecutionCommand = UpdatePlanExecutionCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePlanExecutionStepCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class UpdatePlanExecutionStepCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("ArcRegionSwitch", "UpdatePlanExecutionStep", {})
20
- .n("ARCRegionSwitchClient", "UpdatePlanExecutionStepCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_json1_0_1.se_UpdatePlanExecutionStepCommand)
23
- .de(Aws_json1_0_1.de_UpdatePlanExecutionStepCommand)
24
- .build() {
25
- }
26
- exports.UpdatePlanExecutionStepCommand = UpdatePlanExecutionStepCommand;
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./ApprovePlanExecutionStepCommand"), exports);
5
- tslib_1.__exportStar(require("./CancelPlanExecutionCommand"), exports);
6
- tslib_1.__exportStar(require("./CreatePlanCommand"), exports);
7
- tslib_1.__exportStar(require("./DeletePlanCommand"), exports);
8
- tslib_1.__exportStar(require("./GetPlanCommand"), exports);
9
- tslib_1.__exportStar(require("./GetPlanEvaluationStatusCommand"), exports);
10
- tslib_1.__exportStar(require("./GetPlanExecutionCommand"), exports);
11
- tslib_1.__exportStar(require("./GetPlanInRegionCommand"), exports);
12
- tslib_1.__exportStar(require("./ListPlanExecutionEventsCommand"), exports);
13
- tslib_1.__exportStar(require("./ListPlanExecutionsCommand"), exports);
14
- tslib_1.__exportStar(require("./ListPlansCommand"), exports);
15
- tslib_1.__exportStar(require("./ListPlansInRegionCommand"), exports);
16
- tslib_1.__exportStar(require("./ListRoute53HealthChecksCommand"), exports);
17
- tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
18
- tslib_1.__exportStar(require("./StartPlanExecutionCommand"), exports);
19
- tslib_1.__exportStar(require("./TagResourceCommand"), exports);
20
- tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
21
- tslib_1.__exportStar(require("./UpdatePlanCommand"), exports);
22
- tslib_1.__exportStar(require("./UpdatePlanExecutionCommand"), exports);
23
- tslib_1.__exportStar(require("./UpdatePlanExecutionStepCommand"), exports);
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return Object.assign(options, {
6
- useFipsEndpoint: options.useFipsEndpoint ?? false,
7
- defaultSigningName: "arc-region-switch",
8
- });
9
- };
10
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
11
- exports.commonParams = {
12
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
- Endpoint: { type: "builtInParams", name: "endpoint" },
14
- Region: { type: "builtInParams", name: "region" },
15
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ARCRegionSwitchServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ARCRegionSwitchServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, ARCRegionSwitchServiceException.prototype);
10
- }
11
- }
12
- exports.ARCRegionSwitchServiceException = ARCRegionSwitchServiceException;
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
@@ -1,233 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExecutionBlockConfiguration = exports.UpdatePlanExecutionStepAction = exports.UpdatePlanExecutionAction = exports.IllegalArgumentException = exports.IllegalStateException = exports.InternalServerException = exports.ExecutionEventType = exports.StepStatus = exports.ExecutionBlockType = exports.GlobalAuroraUngracefulBehavior = exports.GlobalAuroraDefaultBehavior = exports.EksCapacityMonitoringApproach = exports.EcsCapacityMonitoringApproach = exports.Ec2AsgCapacityMonitoringApproach = exports.LambdaUngracefulBehavior = exports.RegionToRunIn = exports.RoutingControlStateChange = exports.WorkflowTargetAction = exports.ResourceWarningStatus = exports.EvaluationStatus = exports.ResourceNotFoundException = exports.Approval = exports.AlarmType = exports.AlarmCondition = exports.AccessDeniedException = exports.RecoveryApproach = exports.ExecutionMode = exports.ExecutionState = exports.ExecutionAction = void 0;
4
- const ARCRegionSwitchServiceException_1 = require("./ARCRegionSwitchServiceException");
5
- exports.ExecutionAction = {
6
- ACTIVATE: "activate",
7
- DEACTIVATE: "deactivate",
8
- };
9
- exports.ExecutionState = {
10
- CANCELLED: "canceled",
11
- COMPLETED: "completed",
12
- COMPLETED_MONITORING_APPLICATION_HEALTH: "completedMonitoringApplicationHealth",
13
- COMPLETED_WITH_EXCEPTIONS: "completedWithExceptions",
14
- FAILED: "failed",
15
- IN_PROGRESS: "inProgress",
16
- PAUSED_BY_FAILED_STEP: "pausedByFailedStep",
17
- PAUSED_BY_OPERATOR: "pausedByOperator",
18
- PENDING: "pending",
19
- PENDING_MANUAL_APPROVAL: "pendingManualApproval",
20
- PLAN_EXECUTION_TIMED_OUT: "planExecutionTimedOut",
21
- };
22
- exports.ExecutionMode = {
23
- GRACEFUL: "graceful",
24
- UNGRACEFUL: "ungraceful",
25
- };
26
- exports.RecoveryApproach = {
27
- ACTIVE_ACTIVE: "activeActive",
28
- ACTIVE_PASSIVE: "activePassive",
29
- };
30
- class AccessDeniedException extends ARCRegionSwitchServiceException_1.ARCRegionSwitchServiceException {
31
- name = "AccessDeniedException";
32
- $fault = "client";
33
- constructor(opts) {
34
- super({
35
- name: "AccessDeniedException",
36
- $fault: "client",
37
- ...opts,
38
- });
39
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
40
- }
41
- }
42
- exports.AccessDeniedException = AccessDeniedException;
43
- exports.AlarmCondition = {
44
- GREEN: "green",
45
- RED: "red",
46
- };
47
- exports.AlarmType = {
48
- APPLICATION_HEALTH: "applicationHealth",
49
- TRIGGER: "trigger",
50
- };
51
- exports.Approval = {
52
- APPROVE: "approve",
53
- DECLINE: "decline",
54
- };
55
- class ResourceNotFoundException extends ARCRegionSwitchServiceException_1.ARCRegionSwitchServiceException {
56
- name = "ResourceNotFoundException";
57
- $fault = "client";
58
- constructor(opts) {
59
- super({
60
- name: "ResourceNotFoundException",
61
- $fault: "client",
62
- ...opts,
63
- });
64
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
65
- }
66
- }
67
- exports.ResourceNotFoundException = ResourceNotFoundException;
68
- exports.EvaluationStatus = {
69
- ACTION_REQUIRED: "actionRequired",
70
- PASSED: "passed",
71
- PENDING_EVALUATION: "pendingEvaluation",
72
- UNKNOWN: "unknown",
73
- };
74
- exports.ResourceWarningStatus = {
75
- ACTIVE: "active",
76
- RESOLVED: "resolved",
77
- };
78
- exports.WorkflowTargetAction = {
79
- ACTIVATE: "activate",
80
- DEACTIVATE: "deactivate",
81
- };
82
- exports.RoutingControlStateChange = {
83
- OFF: "Off",
84
- ON: "On",
85
- };
86
- exports.RegionToRunIn = {
87
- ACTIVATING_REGION: "activatingRegion",
88
- DEACTIVATING_REGION: "deactivatingRegion",
89
- };
90
- exports.LambdaUngracefulBehavior = {
91
- SKIP: "skip",
92
- };
93
- exports.Ec2AsgCapacityMonitoringApproach = {
94
- AUTOSCALING_MAX_IN_LAST_24_HOURS: "autoscalingMaxInLast24Hours",
95
- SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours",
96
- };
97
- exports.EcsCapacityMonitoringApproach = {
98
- CONTAINER_INSIGHTS_MAX_IN_LAST_24_HOURS: "containerInsightsMaxInLast24Hours",
99
- SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours",
100
- };
101
- exports.EksCapacityMonitoringApproach = {
102
- SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours",
103
- };
104
- exports.GlobalAuroraDefaultBehavior = {
105
- FAILOVER: "failover",
106
- SWITCHOVER_ONLY: "switchoverOnly",
107
- };
108
- exports.GlobalAuroraUngracefulBehavior = {
109
- FAILOVER: "failover",
110
- };
111
- exports.ExecutionBlockType = {
112
- AURORA: "AuroraGlobalDatabase",
113
- CUSTOM_ACTION_LAMBDA: "CustomActionLambda",
114
- EC2_ASG: "EC2AutoScaling",
115
- ECS: "ECSServiceScaling",
116
- EKS_RESOURCE_SCALING: "EKSResourceScaling",
117
- EXECUTION_APPROVAL: "ManualApproval",
118
- PARALLEL: "Parallel",
119
- REGION_SWITCH: "ARCRegionSwitchPlan",
120
- ROUTE53_HEALTH_CHECK: "Route53HealthCheck",
121
- ROUTING_CONTROL: "ARCRoutingControl",
122
- };
123
- exports.StepStatus = {
124
- CANCELLED: "canceled",
125
- COMPLETED: "completed",
126
- FAILED: "failed",
127
- NOT_STARTED: "notStarted",
128
- PENDING_APPROVAL: "pendingApproval",
129
- RUNNING: "running",
130
- SKIPPED: "skipped",
131
- };
132
- exports.ExecutionEventType = {
133
- EXECUTION_BEHAVIOR_CHANGED_TO_GRACEFUL: "executionBehaviorChangedToGraceful",
134
- EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "executionBehaviorChangedToUngraceful",
135
- EXECUTION_CANCELED: "executionCanceled",
136
- EXECUTION_CANCELING: "executionCanceling",
137
- EXECUTION_FAILED: "executionFailed",
138
- EXECUTION_PAUSED: "executionPaused",
139
- EXECUTION_PAUSING: "executionPausing",
140
- EXECUTION_PENDING: "executionPending",
141
- EXECUTION_PENDING_APPROVAL: "executionPendingApproval",
142
- EXECUTION_PENDING_CHILD_PLAN_MANUAL_APPROVAL: "executionPendingChildPlanManualApproval",
143
- EXECUTION_STARTED: "executionStarted",
144
- EXECUTION_SUCCEEDED: "executionSucceeded",
145
- EXECUTION_SUCCESS_MONITORING_APPLICATION_HEALTH: "executionSuccessMonitoringApplicationHealth",
146
- STEP_CANCELED: "stepCanceled",
147
- STEP_EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "stepExecutionBehaviorChangedToUngraceful",
148
- STEP_FAILED: "stepFailed",
149
- STEP_PAUSED_BY_ERROR: "stepPausedByError",
150
- STEP_PAUSED_BY_OPERATOR: "stepPausedByOperator",
151
- STEP_PENDING_APPLICATION_HEALTH_MONITOR: "stepPendingApplicationHealthMonitor",
152
- STEP_PENDING_APPROVAL: "stepPendingApproval",
153
- STEP_SKIPPED: "stepSkipped",
154
- STEP_STARTED: "stepStarted",
155
- STEP_SUCCEEDED: "stepSucceeded",
156
- STEP_UPDATE: "stepUpdate",
157
- UNKNOWN: "unknown",
158
- };
159
- class InternalServerException extends ARCRegionSwitchServiceException_1.ARCRegionSwitchServiceException {
160
- name = "InternalServerException";
161
- $fault = "server";
162
- constructor(opts) {
163
- super({
164
- name: "InternalServerException",
165
- $fault: "server",
166
- ...opts,
167
- });
168
- Object.setPrototypeOf(this, InternalServerException.prototype);
169
- }
170
- }
171
- exports.InternalServerException = InternalServerException;
172
- class IllegalStateException extends ARCRegionSwitchServiceException_1.ARCRegionSwitchServiceException {
173
- name = "IllegalStateException";
174
- $fault = "client";
175
- constructor(opts) {
176
- super({
177
- name: "IllegalStateException",
178
- $fault: "client",
179
- ...opts,
180
- });
181
- Object.setPrototypeOf(this, IllegalStateException.prototype);
182
- }
183
- }
184
- exports.IllegalStateException = IllegalStateException;
185
- class IllegalArgumentException extends ARCRegionSwitchServiceException_1.ARCRegionSwitchServiceException {
186
- name = "IllegalArgumentException";
187
- $fault = "client";
188
- constructor(opts) {
189
- super({
190
- name: "IllegalArgumentException",
191
- $fault: "client",
192
- ...opts,
193
- });
194
- Object.setPrototypeOf(this, IllegalArgumentException.prototype);
195
- }
196
- }
197
- exports.IllegalArgumentException = IllegalArgumentException;
198
- exports.UpdatePlanExecutionAction = {
199
- PAUSE: "pause",
200
- RESUME: "resume",
201
- SWITCH_TO_GRACEFUL: "switchToGraceful",
202
- SWITCH_TO_UNGRACEFUL: "switchToUngraceful",
203
- };
204
- exports.UpdatePlanExecutionStepAction = {
205
- SKIP: "skip",
206
- SWITCH_TO_UNGRACEFUL: "switchToUngraceful",
207
- };
208
- var ExecutionBlockConfiguration;
209
- (function (ExecutionBlockConfiguration) {
210
- ExecutionBlockConfiguration.visit = (value, visitor) => {
211
- if (value.customActionLambdaConfig !== undefined)
212
- return visitor.customActionLambdaConfig(value.customActionLambdaConfig);
213
- if (value.ec2AsgCapacityIncreaseConfig !== undefined)
214
- return visitor.ec2AsgCapacityIncreaseConfig(value.ec2AsgCapacityIncreaseConfig);
215
- if (value.executionApprovalConfig !== undefined)
216
- return visitor.executionApprovalConfig(value.executionApprovalConfig);
217
- if (value.arcRoutingControlConfig !== undefined)
218
- return visitor.arcRoutingControlConfig(value.arcRoutingControlConfig);
219
- if (value.globalAuroraConfig !== undefined)
220
- return visitor.globalAuroraConfig(value.globalAuroraConfig);
221
- if (value.parallelConfig !== undefined)
222
- return visitor.parallelConfig(value.parallelConfig);
223
- if (value.regionSwitchPlanConfig !== undefined)
224
- return visitor.regionSwitchPlanConfig(value.regionSwitchPlanConfig);
225
- if (value.ecsCapacityIncreaseConfig !== undefined)
226
- return visitor.ecsCapacityIncreaseConfig(value.ecsCapacityIncreaseConfig);
227
- if (value.eksResourceScalingConfig !== undefined)
228
- return visitor.eksResourceScalingConfig(value.eksResourceScalingConfig);
229
- if (value.route53HealthCheckConfig !== undefined)
230
- return visitor.route53HealthCheckConfig(value.route53HealthCheckConfig);
231
- return visitor._(value.$unknown[0], value.$unknown[1]);
232
- };
233
- })(ExecutionBlockConfiguration || (exports.ExecutionBlockConfiguration = ExecutionBlockConfiguration = {}));
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetPlanEvaluationStatus = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ARCRegionSwitchClient_1 = require("../ARCRegionSwitchClient");
6
- const GetPlanEvaluationStatusCommand_1 = require("../commands/GetPlanEvaluationStatusCommand");
7
- exports.paginateGetPlanEvaluationStatus = (0, core_1.createPaginator)(ARCRegionSwitchClient_1.ARCRegionSwitchClient, GetPlanEvaluationStatusCommand_1.GetPlanEvaluationStatusCommand, "nextToken", "nextToken", "maxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetPlanExecution = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ARCRegionSwitchClient_1 = require("../ARCRegionSwitchClient");
6
- const GetPlanExecutionCommand_1 = require("../commands/GetPlanExecutionCommand");
7
- exports.paginateGetPlanExecution = (0, core_1.createPaginator)(ARCRegionSwitchClient_1.ARCRegionSwitchClient, GetPlanExecutionCommand_1.GetPlanExecutionCommand, "nextToken", "nextToken", "maxResults");
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListPlanExecutionEvents = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ARCRegionSwitchClient_1 = require("../ARCRegionSwitchClient");
6
- const ListPlanExecutionEventsCommand_1 = require("../commands/ListPlanExecutionEventsCommand");
7
- exports.paginateListPlanExecutionEvents = (0, core_1.createPaginator)(ARCRegionSwitchClient_1.ARCRegionSwitchClient, ListPlanExecutionEventsCommand_1.ListPlanExecutionEventsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListPlanExecutions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ARCRegionSwitchClient_1 = require("../ARCRegionSwitchClient");
6
- const ListPlanExecutionsCommand_1 = require("../commands/ListPlanExecutionsCommand");
7
- exports.paginateListPlanExecutions = (0, core_1.createPaginator)(ARCRegionSwitchClient_1.ARCRegionSwitchClient, ListPlanExecutionsCommand_1.ListPlanExecutionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListPlansInRegion = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ARCRegionSwitchClient_1 = require("../ARCRegionSwitchClient");
6
- const ListPlansInRegionCommand_1 = require("../commands/ListPlansInRegionCommand");
7
- exports.paginateListPlansInRegion = (0, core_1.createPaginator)(ARCRegionSwitchClient_1.ARCRegionSwitchClient, ListPlansInRegionCommand_1.ListPlansInRegionCommand, "nextToken", "nextToken", "maxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListPlans = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ARCRegionSwitchClient_1 = require("../ARCRegionSwitchClient");
6
- const ListPlansCommand_1 = require("../commands/ListPlansCommand");
7
- exports.paginateListPlans = (0, core_1.createPaginator)(ARCRegionSwitchClient_1.ARCRegionSwitchClient, ListPlansCommand_1.ListPlansCommand, "nextToken", "nextToken", "maxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListRoute53HealthChecks = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ARCRegionSwitchClient_1 = require("../ARCRegionSwitchClient");
6
- const ListRoute53HealthChecksCommand_1 = require("../commands/ListRoute53HealthChecksCommand");
7
- exports.paginateListRoute53HealthChecks = (0, core_1.createPaginator)(ARCRegionSwitchClient_1.ARCRegionSwitchClient, ListRoute53HealthChecksCommand_1.ListRoute53HealthChecksCommand, "nextToken", "nextToken", "maxResults");
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./GetPlanEvaluationStatusPaginator"), exports);
5
- tslib_1.__exportStar(require("./GetPlanExecutionPaginator"), exports);
6
- tslib_1.__exportStar(require("./Interfaces"), exports);
7
- tslib_1.__exportStar(require("./ListPlanExecutionEventsPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListPlanExecutionsPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListPlansInRegionPaginator"), exports);
10
- tslib_1.__exportStar(require("./ListPlansPaginator"), exports);
11
- tslib_1.__exportStar(require("./ListRoute53HealthChecksPaginator"), exports);