@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.
- package/LICENSE +201 -0
- package/README.md +365 -0
- package/dist-cjs/ARCRegionSwitch.js +51 -0
- package/dist-cjs/ARCRegionSwitchClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/ApprovePlanExecutionStepCommand.js +26 -0
- package/dist-cjs/commands/CancelPlanExecutionCommand.js +26 -0
- package/dist-cjs/commands/CreatePlanCommand.js +29 -0
- package/dist-cjs/commands/DeletePlanCommand.js +29 -0
- package/dist-cjs/commands/GetPlanCommand.js +29 -0
- package/dist-cjs/commands/GetPlanEvaluationStatusCommand.js +26 -0
- package/dist-cjs/commands/GetPlanExecutionCommand.js +26 -0
- package/dist-cjs/commands/GetPlanInRegionCommand.js +26 -0
- package/dist-cjs/commands/ListPlanExecutionEventsCommand.js +26 -0
- package/dist-cjs/commands/ListPlanExecutionsCommand.js +26 -0
- package/dist-cjs/commands/ListPlansCommand.js +29 -0
- package/dist-cjs/commands/ListPlansInRegionCommand.js +26 -0
- package/dist-cjs/commands/ListRoute53HealthChecksCommand.js +29 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +29 -0
- package/dist-cjs/commands/StartPlanExecutionCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +29 -0
- package/dist-cjs/commands/UntagResourceCommand.js +29 -0
- package/dist-cjs/commands/UpdatePlanCommand.js +29 -0
- package/dist-cjs/commands/UpdatePlanExecutionCommand.js +26 -0
- package/dist-cjs/commands/UpdatePlanExecutionStepCommand.js +26 -0
- package/dist-cjs/commands/index.js +23 -0
- package/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/ARCRegionSwitchServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +233 -0
- package/dist-cjs/pagination/GetPlanEvaluationStatusPaginator.js +7 -0
- package/dist-cjs/pagination/GetPlanExecutionPaginator.js +7 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListPlanExecutionEventsPaginator.js +7 -0
- package/dist-cjs/pagination/ListPlanExecutionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListPlansInRegionPaginator.js +7 -0
- package/dist-cjs/pagination/ListPlansPaginator.js +7 -0
- package/dist-cjs/pagination/ListRoute53HealthChecksPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_json1_0.js +919 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForPlanEvaluationStatusPassed.js +54 -0
- package/dist-cjs/waiters/waitForPlanExecutionCompleted.js +72 -0
- package/dist-es/ARCRegionSwitch.js +47 -0
- package/dist-es/ARCRegionSwitchClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/ApprovePlanExecutionStepCommand.js +22 -0
- package/dist-es/commands/CancelPlanExecutionCommand.js +22 -0
- package/dist-es/commands/CreatePlanCommand.js +25 -0
- package/dist-es/commands/DeletePlanCommand.js +25 -0
- package/dist-es/commands/GetPlanCommand.js +25 -0
- package/dist-es/commands/GetPlanEvaluationStatusCommand.js +22 -0
- package/dist-es/commands/GetPlanExecutionCommand.js +22 -0
- package/dist-es/commands/GetPlanInRegionCommand.js +22 -0
- package/dist-es/commands/ListPlanExecutionEventsCommand.js +22 -0
- package/dist-es/commands/ListPlanExecutionsCommand.js +22 -0
- package/dist-es/commands/ListPlansCommand.js +25 -0
- package/dist-es/commands/ListPlansInRegionCommand.js +22 -0
- package/dist-es/commands/ListRoute53HealthChecksCommand.js +25 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +25 -0
- package/dist-es/commands/StartPlanExecutionCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +25 -0
- package/dist-es/commands/UntagResourceCommand.js +25 -0
- package/dist-es/commands/UpdatePlanCommand.js +25 -0
- package/dist-es/commands/UpdatePlanExecutionCommand.js +22 -0
- package/dist-es/commands/UpdatePlanExecutionStepCommand.js +22 -0
- package/dist-es/commands/index.js +20 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/ARCRegionSwitchServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +225 -0
- package/dist-es/pagination/GetPlanEvaluationStatusPaginator.js +4 -0
- package/dist-es/pagination/GetPlanExecutionPaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListPlanExecutionEventsPaginator.js +4 -0
- package/dist-es/pagination/ListPlanExecutionsPaginator.js +4 -0
- package/dist-es/pagination/ListPlansInRegionPaginator.js +4 -0
- package/dist-es/pagination/ListPlansPaginator.js +4 -0
- package/dist-es/pagination/ListRoute53HealthChecksPaginator.js +4 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_json1_0.js +876 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForPlanEvaluationStatusPassed.js +49 -0
- package/dist-es/waiters/waitForPlanExecutionCompleted.js +67 -0
- package/dist-types/ARCRegionSwitch.d.ts +152 -0
- package/dist-types/ARCRegionSwitchClient.d.ts +207 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/ApprovePlanExecutionStepCommand.d.ts +80 -0
- package/dist-types/commands/CancelPlanExecutionCommand.d.ts +78 -0
- package/dist-types/commands/CreatePlanCommand.d.ts +697 -0
- package/dist-types/commands/DeletePlanCommand.d.ts +76 -0
- package/dist-types/commands/GetPlanCommand.d.ts +389 -0
- package/dist-types/commands/GetPlanEvaluationStatusCommand.d.ts +99 -0
- package/dist-types/commands/GetPlanExecutionCommand.d.ts +417 -0
- package/dist-types/commands/GetPlanInRegionCommand.d.ts +392 -0
- package/dist-types/commands/ListPlanExecutionEventsCommand.d.ts +97 -0
- package/dist-types/commands/ListPlanExecutionsCommand.d.ts +97 -0
- package/dist-types/commands/ListPlansCommand.d.ts +91 -0
- package/dist-types/commands/ListPlansInRegionCommand.d.ts +94 -0
- package/dist-types/commands/ListRoute53HealthChecksCommand.d.ts +93 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +80 -0
- package/dist-types/commands/StartPlanExecutionCommand.d.ts +93 -0
- package/dist-types/commands/TagResourceCommand.d.ts +79 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +79 -0
- package/dist-types/commands/UpdatePlanCommand.d.ts +692 -0
- package/dist-types/commands/UpdatePlanExecutionCommand.d.ts +82 -0
- package/dist-types/commands/UpdatePlanExecutionStepCommand.d.ts +80 -0
- package/dist-types/commands/index.d.ts +20 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/ARCRegionSwitchServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2370 -0
- package/dist-types/pagination/GetPlanEvaluationStatusPaginator.d.ts +7 -0
- package/dist-types/pagination/GetPlanExecutionPaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListPlanExecutionEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPlanExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPlansInRegionPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPlansPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRoute53HealthChecksPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +182 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/ARCRegionSwitch.d.ts +349 -0
- package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +240 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/ApprovePlanExecutionStepCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CancelPlanExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePlanCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeletePlanCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetPlanCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetPlanEvaluationStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPlanExecutionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetPlanInRegionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListPlanExecutionEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPlanExecutionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPlansCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListPlansInRegionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRoute53HealthChecksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartPlanExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdatePlanCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdatePlanExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePlanExecutionStepCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +20 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +46 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/ARCRegionSwitchServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +813 -0
- package/dist-types/ts3.4/pagination/GetPlanEvaluationStatusPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetPlanExecutionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListPlanExecutionEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPlanExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPlansInRegionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPlansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRoute53HealthChecksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +245 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForPlanEvaluationStatusPassed.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPlanExecutionCompleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForPlanEvaluationStatusPassed.d.ts +14 -0
- package/dist-types/waiters/waitForPlanExecutionCompleted.d.ts +14 -0
- package/package.json +100 -0
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCRegionSwitchClient";
|
|
4
|
+
import { GetPlanExecutionRequest, GetPlanExecutionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetPlanExecutionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetPlanExecutionCommandInput extends GetPlanExecutionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetPlanExecutionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPlanExecutionCommandOutput extends GetPlanExecutionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetPlanExecutionCommand_base: {
|
|
25
|
+
new (input: GetPlanExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<GetPlanExecutionCommandInput, GetPlanExecutionCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetPlanExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<GetPlanExecutionCommandInput, GetPlanExecutionCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves detailed information about a specific plan execution. You must specify the plan ARN and execution ID.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ARCRegionSwitchClient, GetPlanExecutionCommand } from "@aws-sdk/client-arc-region-switch"; // ES Modules import
|
|
35
|
+
* // const { ARCRegionSwitchClient, GetPlanExecutionCommand } = require("@aws-sdk/client-arc-region-switch"); // CommonJS import
|
|
36
|
+
* const client = new ARCRegionSwitchClient(config);
|
|
37
|
+
* const input = { // GetPlanExecutionRequest
|
|
38
|
+
* planArn: "STRING_VALUE", // required
|
|
39
|
+
* executionId: "STRING_VALUE", // required
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetPlanExecutionCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetPlanExecutionResponse
|
|
46
|
+
* // planArn: "STRING_VALUE", // required
|
|
47
|
+
* // executionId: "STRING_VALUE", // required
|
|
48
|
+
* // version: "STRING_VALUE",
|
|
49
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
50
|
+
* // comment: "STRING_VALUE",
|
|
51
|
+
* // startTime: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // mode: "graceful" || "ungraceful", // required
|
|
54
|
+
* // executionState: "inProgress" || "pausedByFailedStep" || "pausedByOperator" || "completed" || "completedWithExceptions" || "canceled" || "planExecutionTimedOut" || "pendingManualApproval" || "failed" || "pending" || "completedMonitoringApplicationHealth", // required
|
|
55
|
+
* // executionAction: "activate" || "deactivate", // required
|
|
56
|
+
* // executionRegion: "STRING_VALUE", // required
|
|
57
|
+
* // stepStates: [ // StepStates
|
|
58
|
+
* // { // StepState
|
|
59
|
+
* // name: "STRING_VALUE",
|
|
60
|
+
* // status: "notStarted" || "running" || "failed" || "completed" || "canceled" || "skipped" || "pendingApproval",
|
|
61
|
+
* // startTime: new Date("TIMESTAMP"),
|
|
62
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
63
|
+
* // stepMode: "graceful" || "ungraceful",
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // plan: { // Plan
|
|
67
|
+
* // arn: "STRING_VALUE", // required
|
|
68
|
+
* // description: "STRING_VALUE",
|
|
69
|
+
* // workflows: [ // WorkflowList // required
|
|
70
|
+
* // { // Workflow
|
|
71
|
+
* // steps: [ // Steps
|
|
72
|
+
* // { // Step
|
|
73
|
+
* // name: "STRING_VALUE", // required
|
|
74
|
+
* // description: "STRING_VALUE",
|
|
75
|
+
* // executionBlockConfiguration: { // ExecutionBlockConfiguration Union: only one key present
|
|
76
|
+
* // customActionLambdaConfig: { // CustomActionLambdaConfiguration
|
|
77
|
+
* // timeoutMinutes: Number("int"),
|
|
78
|
+
* // lambdas: [ // LambdaList // required
|
|
79
|
+
* // { // Lambdas
|
|
80
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
81
|
+
* // externalId: "STRING_VALUE",
|
|
82
|
+
* // arn: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // retryIntervalMinutes: Number("float"), // required
|
|
86
|
+
* // regionToRun: "activatingRegion" || "deactivatingRegion", // required
|
|
87
|
+
* // ungraceful: { // LambdaUngraceful
|
|
88
|
+
* // behavior: "skip",
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // ec2AsgCapacityIncreaseConfig: { // Ec2AsgCapacityIncreaseConfiguration
|
|
92
|
+
* // timeoutMinutes: Number("int"),
|
|
93
|
+
* // asgs: [ // AsgList // required
|
|
94
|
+
* // { // Asg
|
|
95
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
96
|
+
* // externalId: "STRING_VALUE",
|
|
97
|
+
* // arn: "STRING_VALUE",
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // ungraceful: { // Ec2Ungraceful
|
|
101
|
+
* // minimumSuccessPercentage: Number("int"), // required
|
|
102
|
+
* // },
|
|
103
|
+
* // targetPercent: Number("int"),
|
|
104
|
+
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
105
|
+
* // },
|
|
106
|
+
* // executionApprovalConfig: { // ExecutionApprovalConfiguration
|
|
107
|
+
* // timeoutMinutes: Number("int"),
|
|
108
|
+
* // approvalRole: "STRING_VALUE", // required
|
|
109
|
+
* // },
|
|
110
|
+
* // arcRoutingControlConfig: { // ArcRoutingControlConfiguration
|
|
111
|
+
* // timeoutMinutes: Number("int"),
|
|
112
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
113
|
+
* // externalId: "STRING_VALUE",
|
|
114
|
+
* // regionAndRoutingControls: { // RegionAndRoutingControls // required
|
|
115
|
+
* // "<keys>": [ // ArcRoutingControlStates
|
|
116
|
+
* // { // ArcRoutingControlState
|
|
117
|
+
* // routingControlArn: "STRING_VALUE", // required
|
|
118
|
+
* // state: "On" || "Off", // required
|
|
119
|
+
* // },
|
|
120
|
+
* // ],
|
|
121
|
+
* // },
|
|
122
|
+
* // },
|
|
123
|
+
* // globalAuroraConfig: { // GlobalAuroraConfiguration
|
|
124
|
+
* // timeoutMinutes: Number("int"),
|
|
125
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
126
|
+
* // externalId: "STRING_VALUE",
|
|
127
|
+
* // behavior: "switchoverOnly" || "failover", // required
|
|
128
|
+
* // ungraceful: { // GlobalAuroraUngraceful
|
|
129
|
+
* // ungraceful: "failover",
|
|
130
|
+
* // },
|
|
131
|
+
* // globalClusterIdentifier: "STRING_VALUE", // required
|
|
132
|
+
* // databaseClusterArns: [ // AuroraClusterArns // required
|
|
133
|
+
* // "STRING_VALUE",
|
|
134
|
+
* // ],
|
|
135
|
+
* // },
|
|
136
|
+
* // parallelConfig: { // ParallelExecutionBlockConfiguration
|
|
137
|
+
* // steps: [ // required
|
|
138
|
+
* // {
|
|
139
|
+
* // name: "STRING_VALUE", // required
|
|
140
|
+
* // description: "STRING_VALUE",
|
|
141
|
+
* // executionBlockConfiguration: {// Union: only one key present
|
|
142
|
+
* // customActionLambdaConfig: {
|
|
143
|
+
* // timeoutMinutes: Number("int"),
|
|
144
|
+
* // lambdas: [ // required
|
|
145
|
+
* // {
|
|
146
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
147
|
+
* // externalId: "STRING_VALUE",
|
|
148
|
+
* // arn: "STRING_VALUE",
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
151
|
+
* // retryIntervalMinutes: Number("float"), // required
|
|
152
|
+
* // regionToRun: "activatingRegion" || "deactivatingRegion", // required
|
|
153
|
+
* // ungraceful: {
|
|
154
|
+
* // behavior: "skip",
|
|
155
|
+
* // },
|
|
156
|
+
* // },
|
|
157
|
+
* // ec2AsgCapacityIncreaseConfig: {
|
|
158
|
+
* // timeoutMinutes: Number("int"),
|
|
159
|
+
* // asgs: [ // required
|
|
160
|
+
* // {
|
|
161
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
162
|
+
* // externalId: "STRING_VALUE",
|
|
163
|
+
* // arn: "STRING_VALUE",
|
|
164
|
+
* // },
|
|
165
|
+
* // ],
|
|
166
|
+
* // ungraceful: {
|
|
167
|
+
* // minimumSuccessPercentage: Number("int"), // required
|
|
168
|
+
* // },
|
|
169
|
+
* // targetPercent: Number("int"),
|
|
170
|
+
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
171
|
+
* // },
|
|
172
|
+
* // executionApprovalConfig: {
|
|
173
|
+
* // timeoutMinutes: Number("int"),
|
|
174
|
+
* // approvalRole: "STRING_VALUE", // required
|
|
175
|
+
* // },
|
|
176
|
+
* // arcRoutingControlConfig: {
|
|
177
|
+
* // timeoutMinutes: Number("int"),
|
|
178
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
179
|
+
* // externalId: "STRING_VALUE",
|
|
180
|
+
* // regionAndRoutingControls: { // required
|
|
181
|
+
* // "<keys>": [
|
|
182
|
+
* // {
|
|
183
|
+
* // routingControlArn: "STRING_VALUE", // required
|
|
184
|
+
* // state: "On" || "Off", // required
|
|
185
|
+
* // },
|
|
186
|
+
* // ],
|
|
187
|
+
* // },
|
|
188
|
+
* // },
|
|
189
|
+
* // globalAuroraConfig: {
|
|
190
|
+
* // timeoutMinutes: Number("int"),
|
|
191
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
192
|
+
* // externalId: "STRING_VALUE",
|
|
193
|
+
* // behavior: "switchoverOnly" || "failover", // required
|
|
194
|
+
* // ungraceful: {
|
|
195
|
+
* // ungraceful: "failover",
|
|
196
|
+
* // },
|
|
197
|
+
* // globalClusterIdentifier: "STRING_VALUE", // required
|
|
198
|
+
* // databaseClusterArns: [ // required
|
|
199
|
+
* // "STRING_VALUE",
|
|
200
|
+
* // ],
|
|
201
|
+
* // },
|
|
202
|
+
* // parallelConfig: {
|
|
203
|
+
* // steps: "<Steps>", // required
|
|
204
|
+
* // },
|
|
205
|
+
* // regionSwitchPlanConfig: { // RegionSwitchPlanConfiguration
|
|
206
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
207
|
+
* // externalId: "STRING_VALUE",
|
|
208
|
+
* // arn: "STRING_VALUE", // required
|
|
209
|
+
* // },
|
|
210
|
+
* // ecsCapacityIncreaseConfig: { // EcsCapacityIncreaseConfiguration
|
|
211
|
+
* // timeoutMinutes: Number("int"),
|
|
212
|
+
* // services: [ // ServiceList // required
|
|
213
|
+
* // { // Service
|
|
214
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
215
|
+
* // externalId: "STRING_VALUE",
|
|
216
|
+
* // clusterArn: "STRING_VALUE",
|
|
217
|
+
* // serviceArn: "STRING_VALUE",
|
|
218
|
+
* // },
|
|
219
|
+
* // ],
|
|
220
|
+
* // ungraceful: { // EcsUngraceful
|
|
221
|
+
* // minimumSuccessPercentage: Number("int"), // required
|
|
222
|
+
* // },
|
|
223
|
+
* // targetPercent: Number("int"),
|
|
224
|
+
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
225
|
+
* // },
|
|
226
|
+
* // eksResourceScalingConfig: { // EksResourceScalingConfiguration
|
|
227
|
+
* // timeoutMinutes: Number("int"),
|
|
228
|
+
* // kubernetesResourceType: { // KubernetesResourceType
|
|
229
|
+
* // apiVersion: "STRING_VALUE", // required
|
|
230
|
+
* // kind: "STRING_VALUE", // required
|
|
231
|
+
* // },
|
|
232
|
+
* // scalingResources: [ // KubernetesScalingApps
|
|
233
|
+
* // { // KubernetesScalingApplication
|
|
234
|
+
* // "<keys>": { // RegionalScalingResource
|
|
235
|
+
* // "<keys>": { // KubernetesScalingResource
|
|
236
|
+
* // namespace: "STRING_VALUE", // required
|
|
237
|
+
* // name: "STRING_VALUE", // required
|
|
238
|
+
* // hpaName: "STRING_VALUE",
|
|
239
|
+
* // },
|
|
240
|
+
* // },
|
|
241
|
+
* // },
|
|
242
|
+
* // ],
|
|
243
|
+
* // eksClusters: [ // EksClusters
|
|
244
|
+
* // { // EksCluster
|
|
245
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
246
|
+
* // externalId: "STRING_VALUE",
|
|
247
|
+
* // clusterArn: "STRING_VALUE", // required
|
|
248
|
+
* // },
|
|
249
|
+
* // ],
|
|
250
|
+
* // ungraceful: { // EksResourceScalingUngraceful
|
|
251
|
+
* // minimumSuccessPercentage: Number("int"), // required
|
|
252
|
+
* // },
|
|
253
|
+
* // targetPercent: Number("int"),
|
|
254
|
+
* // capacityMonitoringApproach: "sampledMaxInLast24Hours",
|
|
255
|
+
* // },
|
|
256
|
+
* // route53HealthCheckConfig: { // Route53HealthCheckConfiguration
|
|
257
|
+
* // timeoutMinutes: Number("int"),
|
|
258
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
259
|
+
* // externalId: "STRING_VALUE",
|
|
260
|
+
* // hostedZoneId: "STRING_VALUE", // required
|
|
261
|
+
* // recordName: "STRING_VALUE", // required
|
|
262
|
+
* // recordSets: [ // Route53ResourceRecordSetList
|
|
263
|
+
* // { // Route53ResourceRecordSet
|
|
264
|
+
* // recordSetIdentifier: "STRING_VALUE",
|
|
265
|
+
* // region: "STRING_VALUE",
|
|
266
|
+
* // },
|
|
267
|
+
* // ],
|
|
268
|
+
* // },
|
|
269
|
+
* // },
|
|
270
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck", // required
|
|
271
|
+
* // },
|
|
272
|
+
* // ],
|
|
273
|
+
* // },
|
|
274
|
+
* // regionSwitchPlanConfig: {
|
|
275
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
276
|
+
* // externalId: "STRING_VALUE",
|
|
277
|
+
* // arn: "STRING_VALUE", // required
|
|
278
|
+
* // },
|
|
279
|
+
* // ecsCapacityIncreaseConfig: {
|
|
280
|
+
* // timeoutMinutes: Number("int"),
|
|
281
|
+
* // services: [ // required
|
|
282
|
+
* // {
|
|
283
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
284
|
+
* // externalId: "STRING_VALUE",
|
|
285
|
+
* // clusterArn: "STRING_VALUE",
|
|
286
|
+
* // serviceArn: "STRING_VALUE",
|
|
287
|
+
* // },
|
|
288
|
+
* // ],
|
|
289
|
+
* // ungraceful: {
|
|
290
|
+
* // minimumSuccessPercentage: Number("int"), // required
|
|
291
|
+
* // },
|
|
292
|
+
* // targetPercent: Number("int"),
|
|
293
|
+
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
294
|
+
* // },
|
|
295
|
+
* // eksResourceScalingConfig: {
|
|
296
|
+
* // timeoutMinutes: Number("int"),
|
|
297
|
+
* // kubernetesResourceType: {
|
|
298
|
+
* // apiVersion: "STRING_VALUE", // required
|
|
299
|
+
* // kind: "STRING_VALUE", // required
|
|
300
|
+
* // },
|
|
301
|
+
* // scalingResources: [
|
|
302
|
+
* // {
|
|
303
|
+
* // "<keys>": {
|
|
304
|
+
* // "<keys>": {
|
|
305
|
+
* // namespace: "STRING_VALUE", // required
|
|
306
|
+
* // name: "STRING_VALUE", // required
|
|
307
|
+
* // hpaName: "STRING_VALUE",
|
|
308
|
+
* // },
|
|
309
|
+
* // },
|
|
310
|
+
* // },
|
|
311
|
+
* // ],
|
|
312
|
+
* // eksClusters: [
|
|
313
|
+
* // {
|
|
314
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
315
|
+
* // externalId: "STRING_VALUE",
|
|
316
|
+
* // clusterArn: "STRING_VALUE", // required
|
|
317
|
+
* // },
|
|
318
|
+
* // ],
|
|
319
|
+
* // ungraceful: {
|
|
320
|
+
* // minimumSuccessPercentage: Number("int"), // required
|
|
321
|
+
* // },
|
|
322
|
+
* // targetPercent: Number("int"),
|
|
323
|
+
* // capacityMonitoringApproach: "sampledMaxInLast24Hours",
|
|
324
|
+
* // },
|
|
325
|
+
* // route53HealthCheckConfig: {
|
|
326
|
+
* // timeoutMinutes: Number("int"),
|
|
327
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
328
|
+
* // externalId: "STRING_VALUE",
|
|
329
|
+
* // hostedZoneId: "STRING_VALUE", // required
|
|
330
|
+
* // recordName: "STRING_VALUE", // required
|
|
331
|
+
* // recordSets: [
|
|
332
|
+
* // {
|
|
333
|
+
* // recordSetIdentifier: "STRING_VALUE",
|
|
334
|
+
* // region: "STRING_VALUE",
|
|
335
|
+
* // },
|
|
336
|
+
* // ],
|
|
337
|
+
* // },
|
|
338
|
+
* // },
|
|
339
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck", // required
|
|
340
|
+
* // },
|
|
341
|
+
* // ],
|
|
342
|
+
* // workflowTargetAction: "activate" || "deactivate", // required
|
|
343
|
+
* // workflowTargetRegion: "STRING_VALUE",
|
|
344
|
+
* // workflowDescription: "STRING_VALUE",
|
|
345
|
+
* // },
|
|
346
|
+
* // ],
|
|
347
|
+
* // executionRole: "STRING_VALUE", // required
|
|
348
|
+
* // recoveryTimeObjectiveMinutes: Number("int"),
|
|
349
|
+
* // associatedAlarms: { // AssociatedAlarmMap
|
|
350
|
+
* // "<keys>": { // AssociatedAlarm
|
|
351
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
352
|
+
* // externalId: "STRING_VALUE",
|
|
353
|
+
* // resourceIdentifier: "STRING_VALUE", // required
|
|
354
|
+
* // alarmType: "applicationHealth" || "trigger", // required
|
|
355
|
+
* // },
|
|
356
|
+
* // },
|
|
357
|
+
* // triggers: [ // TriggerList
|
|
358
|
+
* // { // Trigger
|
|
359
|
+
* // description: "STRING_VALUE",
|
|
360
|
+
* // targetRegion: "STRING_VALUE", // required
|
|
361
|
+
* // action: "activate" || "deactivate", // required
|
|
362
|
+
* // conditions: [ // TriggerConditionList // required
|
|
363
|
+
* // { // TriggerCondition
|
|
364
|
+
* // associatedAlarmName: "STRING_VALUE", // required
|
|
365
|
+
* // condition: "red" || "green", // required
|
|
366
|
+
* // },
|
|
367
|
+
* // ],
|
|
368
|
+
* // minDelayMinutesBetweenExecutions: Number("int"), // required
|
|
369
|
+
* // },
|
|
370
|
+
* // ],
|
|
371
|
+
* // name: "STRING_VALUE", // required
|
|
372
|
+
* // regions: [ // RegionList // required
|
|
373
|
+
* // "STRING_VALUE",
|
|
374
|
+
* // ],
|
|
375
|
+
* // recoveryApproach: "activeActive" || "activePassive", // required
|
|
376
|
+
* // primaryRegion: "STRING_VALUE",
|
|
377
|
+
* // owner: "STRING_VALUE", // required
|
|
378
|
+
* // version: "STRING_VALUE",
|
|
379
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
380
|
+
* // },
|
|
381
|
+
* // actualRecoveryTime: "STRING_VALUE",
|
|
382
|
+
* // nextToken: "STRING_VALUE",
|
|
383
|
+
* // };
|
|
384
|
+
*
|
|
385
|
+
* ```
|
|
386
|
+
*
|
|
387
|
+
* @param GetPlanExecutionCommandInput - {@link GetPlanExecutionCommandInput}
|
|
388
|
+
* @returns {@link GetPlanExecutionCommandOutput}
|
|
389
|
+
* @see {@link GetPlanExecutionCommandInput} for command's `input` shape.
|
|
390
|
+
* @see {@link GetPlanExecutionCommandOutput} for command's `response` shape.
|
|
391
|
+
* @see {@link ARCRegionSwitchClientResolvedConfig | config} for ARCRegionSwitchClient's `config` shape.
|
|
392
|
+
*
|
|
393
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
394
|
+
* <p>You do not have sufficient access to perform this action.</p> <p>HTTP Status Code: 403</p>
|
|
395
|
+
*
|
|
396
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
397
|
+
* <p>The specified resource was not found.</p> <p>HTTP Status Code: 404</p>
|
|
398
|
+
*
|
|
399
|
+
* @throws {@link ARCRegionSwitchServiceException}
|
|
400
|
+
* <p>Base exception class for all service exceptions from ARCRegionSwitch service.</p>
|
|
401
|
+
*
|
|
402
|
+
*
|
|
403
|
+
* @public
|
|
404
|
+
*/
|
|
405
|
+
export declare class GetPlanExecutionCommand extends GetPlanExecutionCommand_base {
|
|
406
|
+
/** @internal type navigation helper, not in runtime. */
|
|
407
|
+
protected static __types: {
|
|
408
|
+
api: {
|
|
409
|
+
input: GetPlanExecutionRequest;
|
|
410
|
+
output: GetPlanExecutionResponse;
|
|
411
|
+
};
|
|
412
|
+
sdk: {
|
|
413
|
+
input: GetPlanExecutionCommandInput;
|
|
414
|
+
output: GetPlanExecutionCommandOutput;
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
}
|