@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,76 @@
|
|
|
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 { DeletePlanRequest, DeletePlanResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeletePlanCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePlanCommandInput extends DeletePlanRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePlanCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePlanCommandOutput extends DeletePlanResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePlanCommand_base: {
|
|
25
|
+
new (input: DeletePlanCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePlanCommandInput, DeletePlanCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeletePlanCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePlanCommandInput, DeletePlanCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a Region switch plan. You must specify the ARN of the plan to delete.</p> <p>You cannot delete a plan that has an active execution in progress.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ARCRegionSwitchClient, DeletePlanCommand } from "@aws-sdk/client-arc-region-switch"; // ES Modules import
|
|
35
|
+
* // const { ARCRegionSwitchClient, DeletePlanCommand } = require("@aws-sdk/client-arc-region-switch"); // CommonJS import
|
|
36
|
+
* const client = new ARCRegionSwitchClient(config);
|
|
37
|
+
* const input = { // DeletePlanRequest
|
|
38
|
+
* arn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeletePlanCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeletePlanCommandInput - {@link DeletePlanCommandInput}
|
|
47
|
+
* @returns {@link DeletePlanCommandOutput}
|
|
48
|
+
* @see {@link DeletePlanCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeletePlanCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link ARCRegionSwitchClientResolvedConfig | config} for ARCRegionSwitchClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link IllegalStateException} (client fault)
|
|
53
|
+
* <p>The operation failed because the current state of the resource doesn't allow the operation to proceed.</p> <p>HTTP Status Code: 400</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
|
+
* <p>The specified resource was not found.</p> <p>HTTP Status Code: 404</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ARCRegionSwitchServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from ARCRegionSwitch service.</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare class DeletePlanCommand extends DeletePlanCommand_base {
|
|
65
|
+
/** @internal type navigation helper, not in runtime. */
|
|
66
|
+
protected static __types: {
|
|
67
|
+
api: {
|
|
68
|
+
input: DeletePlanRequest;
|
|
69
|
+
output: {};
|
|
70
|
+
};
|
|
71
|
+
sdk: {
|
|
72
|
+
input: DeletePlanCommandInput;
|
|
73
|
+
output: DeletePlanCommandOutput;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,389 @@
|
|
|
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 { GetPlanRequest, GetPlanResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetPlanCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetPlanCommandInput extends GetPlanRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetPlanCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPlanCommandOutput extends GetPlanResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetPlanCommand_base: {
|
|
25
|
+
new (input: GetPlanCommandInput): import("@smithy/smithy-client").CommandImpl<GetPlanCommandInput, GetPlanCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetPlanCommandInput): import("@smithy/smithy-client").CommandImpl<GetPlanCommandInput, GetPlanCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves detailed information about a Region switch plan. You must specify the ARN of the plan.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ARCRegionSwitchClient, GetPlanCommand } from "@aws-sdk/client-arc-region-switch"; // ES Modules import
|
|
35
|
+
* // const { ARCRegionSwitchClient, GetPlanCommand } = require("@aws-sdk/client-arc-region-switch"); // CommonJS import
|
|
36
|
+
* const client = new ARCRegionSwitchClient(config);
|
|
37
|
+
* const input = { // GetPlanRequest
|
|
38
|
+
* arn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetPlanCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetPlanResponse
|
|
43
|
+
* // plan: { // Plan
|
|
44
|
+
* // arn: "STRING_VALUE", // required
|
|
45
|
+
* // description: "STRING_VALUE",
|
|
46
|
+
* // workflows: [ // WorkflowList // required
|
|
47
|
+
* // { // Workflow
|
|
48
|
+
* // steps: [ // Steps
|
|
49
|
+
* // { // Step
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // executionBlockConfiguration: { // ExecutionBlockConfiguration Union: only one key present
|
|
53
|
+
* // customActionLambdaConfig: { // CustomActionLambdaConfiguration
|
|
54
|
+
* // timeoutMinutes: Number("int"),
|
|
55
|
+
* // lambdas: [ // LambdaList // required
|
|
56
|
+
* // { // Lambdas
|
|
57
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
58
|
+
* // externalId: "STRING_VALUE",
|
|
59
|
+
* // arn: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // retryIntervalMinutes: Number("float"), // required
|
|
63
|
+
* // regionToRun: "activatingRegion" || "deactivatingRegion", // required
|
|
64
|
+
* // ungraceful: { // LambdaUngraceful
|
|
65
|
+
* // behavior: "skip",
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // ec2AsgCapacityIncreaseConfig: { // Ec2AsgCapacityIncreaseConfiguration
|
|
69
|
+
* // timeoutMinutes: Number("int"),
|
|
70
|
+
* // asgs: [ // AsgList // required
|
|
71
|
+
* // { // Asg
|
|
72
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
73
|
+
* // externalId: "STRING_VALUE",
|
|
74
|
+
* // arn: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // ungraceful: { // Ec2Ungraceful
|
|
78
|
+
* // minimumSuccessPercentage: Number("int"), // required
|
|
79
|
+
* // },
|
|
80
|
+
* // targetPercent: Number("int"),
|
|
81
|
+
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
82
|
+
* // },
|
|
83
|
+
* // executionApprovalConfig: { // ExecutionApprovalConfiguration
|
|
84
|
+
* // timeoutMinutes: Number("int"),
|
|
85
|
+
* // approvalRole: "STRING_VALUE", // required
|
|
86
|
+
* // },
|
|
87
|
+
* // arcRoutingControlConfig: { // ArcRoutingControlConfiguration
|
|
88
|
+
* // timeoutMinutes: Number("int"),
|
|
89
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
90
|
+
* // externalId: "STRING_VALUE",
|
|
91
|
+
* // regionAndRoutingControls: { // RegionAndRoutingControls // required
|
|
92
|
+
* // "<keys>": [ // ArcRoutingControlStates
|
|
93
|
+
* // { // ArcRoutingControlState
|
|
94
|
+
* // routingControlArn: "STRING_VALUE", // required
|
|
95
|
+
* // state: "On" || "Off", // required
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // },
|
|
99
|
+
* // },
|
|
100
|
+
* // globalAuroraConfig: { // GlobalAuroraConfiguration
|
|
101
|
+
* // timeoutMinutes: Number("int"),
|
|
102
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
103
|
+
* // externalId: "STRING_VALUE",
|
|
104
|
+
* // behavior: "switchoverOnly" || "failover", // required
|
|
105
|
+
* // ungraceful: { // GlobalAuroraUngraceful
|
|
106
|
+
* // ungraceful: "failover",
|
|
107
|
+
* // },
|
|
108
|
+
* // globalClusterIdentifier: "STRING_VALUE", // required
|
|
109
|
+
* // databaseClusterArns: [ // AuroraClusterArns // required
|
|
110
|
+
* // "STRING_VALUE",
|
|
111
|
+
* // ],
|
|
112
|
+
* // },
|
|
113
|
+
* // parallelConfig: { // ParallelExecutionBlockConfiguration
|
|
114
|
+
* // steps: [ // required
|
|
115
|
+
* // {
|
|
116
|
+
* // name: "STRING_VALUE", // required
|
|
117
|
+
* // description: "STRING_VALUE",
|
|
118
|
+
* // executionBlockConfiguration: {// Union: only one key present
|
|
119
|
+
* // customActionLambdaConfig: {
|
|
120
|
+
* // timeoutMinutes: Number("int"),
|
|
121
|
+
* // lambdas: [ // required
|
|
122
|
+
* // {
|
|
123
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
124
|
+
* // externalId: "STRING_VALUE",
|
|
125
|
+
* // arn: "STRING_VALUE",
|
|
126
|
+
* // },
|
|
127
|
+
* // ],
|
|
128
|
+
* // retryIntervalMinutes: Number("float"), // required
|
|
129
|
+
* // regionToRun: "activatingRegion" || "deactivatingRegion", // required
|
|
130
|
+
* // ungraceful: {
|
|
131
|
+
* // behavior: "skip",
|
|
132
|
+
* // },
|
|
133
|
+
* // },
|
|
134
|
+
* // ec2AsgCapacityIncreaseConfig: {
|
|
135
|
+
* // timeoutMinutes: Number("int"),
|
|
136
|
+
* // asgs: [ // required
|
|
137
|
+
* // {
|
|
138
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
139
|
+
* // externalId: "STRING_VALUE",
|
|
140
|
+
* // arn: "STRING_VALUE",
|
|
141
|
+
* // },
|
|
142
|
+
* // ],
|
|
143
|
+
* // ungraceful: {
|
|
144
|
+
* // minimumSuccessPercentage: Number("int"), // required
|
|
145
|
+
* // },
|
|
146
|
+
* // targetPercent: Number("int"),
|
|
147
|
+
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "autoscalingMaxInLast24Hours",
|
|
148
|
+
* // },
|
|
149
|
+
* // executionApprovalConfig: {
|
|
150
|
+
* // timeoutMinutes: Number("int"),
|
|
151
|
+
* // approvalRole: "STRING_VALUE", // required
|
|
152
|
+
* // },
|
|
153
|
+
* // arcRoutingControlConfig: {
|
|
154
|
+
* // timeoutMinutes: Number("int"),
|
|
155
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
156
|
+
* // externalId: "STRING_VALUE",
|
|
157
|
+
* // regionAndRoutingControls: { // required
|
|
158
|
+
* // "<keys>": [
|
|
159
|
+
* // {
|
|
160
|
+
* // routingControlArn: "STRING_VALUE", // required
|
|
161
|
+
* // state: "On" || "Off", // required
|
|
162
|
+
* // },
|
|
163
|
+
* // ],
|
|
164
|
+
* // },
|
|
165
|
+
* // },
|
|
166
|
+
* // globalAuroraConfig: {
|
|
167
|
+
* // timeoutMinutes: Number("int"),
|
|
168
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
169
|
+
* // externalId: "STRING_VALUE",
|
|
170
|
+
* // behavior: "switchoverOnly" || "failover", // required
|
|
171
|
+
* // ungraceful: {
|
|
172
|
+
* // ungraceful: "failover",
|
|
173
|
+
* // },
|
|
174
|
+
* // globalClusterIdentifier: "STRING_VALUE", // required
|
|
175
|
+
* // databaseClusterArns: [ // required
|
|
176
|
+
* // "STRING_VALUE",
|
|
177
|
+
* // ],
|
|
178
|
+
* // },
|
|
179
|
+
* // parallelConfig: {
|
|
180
|
+
* // steps: "<Steps>", // required
|
|
181
|
+
* // },
|
|
182
|
+
* // regionSwitchPlanConfig: { // RegionSwitchPlanConfiguration
|
|
183
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
184
|
+
* // externalId: "STRING_VALUE",
|
|
185
|
+
* // arn: "STRING_VALUE", // required
|
|
186
|
+
* // },
|
|
187
|
+
* // ecsCapacityIncreaseConfig: { // EcsCapacityIncreaseConfiguration
|
|
188
|
+
* // timeoutMinutes: Number("int"),
|
|
189
|
+
* // services: [ // ServiceList // required
|
|
190
|
+
* // { // Service
|
|
191
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
192
|
+
* // externalId: "STRING_VALUE",
|
|
193
|
+
* // clusterArn: "STRING_VALUE",
|
|
194
|
+
* // serviceArn: "STRING_VALUE",
|
|
195
|
+
* // },
|
|
196
|
+
* // ],
|
|
197
|
+
* // ungraceful: { // EcsUngraceful
|
|
198
|
+
* // minimumSuccessPercentage: Number("int"), // required
|
|
199
|
+
* // },
|
|
200
|
+
* // targetPercent: Number("int"),
|
|
201
|
+
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
202
|
+
* // },
|
|
203
|
+
* // eksResourceScalingConfig: { // EksResourceScalingConfiguration
|
|
204
|
+
* // timeoutMinutes: Number("int"),
|
|
205
|
+
* // kubernetesResourceType: { // KubernetesResourceType
|
|
206
|
+
* // apiVersion: "STRING_VALUE", // required
|
|
207
|
+
* // kind: "STRING_VALUE", // required
|
|
208
|
+
* // },
|
|
209
|
+
* // scalingResources: [ // KubernetesScalingApps
|
|
210
|
+
* // { // KubernetesScalingApplication
|
|
211
|
+
* // "<keys>": { // RegionalScalingResource
|
|
212
|
+
* // "<keys>": { // KubernetesScalingResource
|
|
213
|
+
* // namespace: "STRING_VALUE", // required
|
|
214
|
+
* // name: "STRING_VALUE", // required
|
|
215
|
+
* // hpaName: "STRING_VALUE",
|
|
216
|
+
* // },
|
|
217
|
+
* // },
|
|
218
|
+
* // },
|
|
219
|
+
* // ],
|
|
220
|
+
* // eksClusters: [ // EksClusters
|
|
221
|
+
* // { // EksCluster
|
|
222
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
223
|
+
* // externalId: "STRING_VALUE",
|
|
224
|
+
* // clusterArn: "STRING_VALUE", // required
|
|
225
|
+
* // },
|
|
226
|
+
* // ],
|
|
227
|
+
* // ungraceful: { // EksResourceScalingUngraceful
|
|
228
|
+
* // minimumSuccessPercentage: Number("int"), // required
|
|
229
|
+
* // },
|
|
230
|
+
* // targetPercent: Number("int"),
|
|
231
|
+
* // capacityMonitoringApproach: "sampledMaxInLast24Hours",
|
|
232
|
+
* // },
|
|
233
|
+
* // route53HealthCheckConfig: { // Route53HealthCheckConfiguration
|
|
234
|
+
* // timeoutMinutes: Number("int"),
|
|
235
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
236
|
+
* // externalId: "STRING_VALUE",
|
|
237
|
+
* // hostedZoneId: "STRING_VALUE", // required
|
|
238
|
+
* // recordName: "STRING_VALUE", // required
|
|
239
|
+
* // recordSets: [ // Route53ResourceRecordSetList
|
|
240
|
+
* // { // Route53ResourceRecordSet
|
|
241
|
+
* // recordSetIdentifier: "STRING_VALUE",
|
|
242
|
+
* // region: "STRING_VALUE",
|
|
243
|
+
* // },
|
|
244
|
+
* // ],
|
|
245
|
+
* // },
|
|
246
|
+
* // },
|
|
247
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck", // required
|
|
248
|
+
* // },
|
|
249
|
+
* // ],
|
|
250
|
+
* // },
|
|
251
|
+
* // regionSwitchPlanConfig: {
|
|
252
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
253
|
+
* // externalId: "STRING_VALUE",
|
|
254
|
+
* // arn: "STRING_VALUE", // required
|
|
255
|
+
* // },
|
|
256
|
+
* // ecsCapacityIncreaseConfig: {
|
|
257
|
+
* // timeoutMinutes: Number("int"),
|
|
258
|
+
* // services: [ // required
|
|
259
|
+
* // {
|
|
260
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
261
|
+
* // externalId: "STRING_VALUE",
|
|
262
|
+
* // clusterArn: "STRING_VALUE",
|
|
263
|
+
* // serviceArn: "STRING_VALUE",
|
|
264
|
+
* // },
|
|
265
|
+
* // ],
|
|
266
|
+
* // ungraceful: {
|
|
267
|
+
* // minimumSuccessPercentage: Number("int"), // required
|
|
268
|
+
* // },
|
|
269
|
+
* // targetPercent: Number("int"),
|
|
270
|
+
* // capacityMonitoringApproach: "sampledMaxInLast24Hours" || "containerInsightsMaxInLast24Hours",
|
|
271
|
+
* // },
|
|
272
|
+
* // eksResourceScalingConfig: {
|
|
273
|
+
* // timeoutMinutes: Number("int"),
|
|
274
|
+
* // kubernetesResourceType: {
|
|
275
|
+
* // apiVersion: "STRING_VALUE", // required
|
|
276
|
+
* // kind: "STRING_VALUE", // required
|
|
277
|
+
* // },
|
|
278
|
+
* // scalingResources: [
|
|
279
|
+
* // {
|
|
280
|
+
* // "<keys>": {
|
|
281
|
+
* // "<keys>": {
|
|
282
|
+
* // namespace: "STRING_VALUE", // required
|
|
283
|
+
* // name: "STRING_VALUE", // required
|
|
284
|
+
* // hpaName: "STRING_VALUE",
|
|
285
|
+
* // },
|
|
286
|
+
* // },
|
|
287
|
+
* // },
|
|
288
|
+
* // ],
|
|
289
|
+
* // eksClusters: [
|
|
290
|
+
* // {
|
|
291
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
292
|
+
* // externalId: "STRING_VALUE",
|
|
293
|
+
* // clusterArn: "STRING_VALUE", // required
|
|
294
|
+
* // },
|
|
295
|
+
* // ],
|
|
296
|
+
* // ungraceful: {
|
|
297
|
+
* // minimumSuccessPercentage: Number("int"), // required
|
|
298
|
+
* // },
|
|
299
|
+
* // targetPercent: Number("int"),
|
|
300
|
+
* // capacityMonitoringApproach: "sampledMaxInLast24Hours",
|
|
301
|
+
* // },
|
|
302
|
+
* // route53HealthCheckConfig: {
|
|
303
|
+
* // timeoutMinutes: Number("int"),
|
|
304
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
305
|
+
* // externalId: "STRING_VALUE",
|
|
306
|
+
* // hostedZoneId: "STRING_VALUE", // required
|
|
307
|
+
* // recordName: "STRING_VALUE", // required
|
|
308
|
+
* // recordSets: [
|
|
309
|
+
* // {
|
|
310
|
+
* // recordSetIdentifier: "STRING_VALUE",
|
|
311
|
+
* // region: "STRING_VALUE",
|
|
312
|
+
* // },
|
|
313
|
+
* // ],
|
|
314
|
+
* // },
|
|
315
|
+
* // },
|
|
316
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck", // required
|
|
317
|
+
* // },
|
|
318
|
+
* // ],
|
|
319
|
+
* // workflowTargetAction: "activate" || "deactivate", // required
|
|
320
|
+
* // workflowTargetRegion: "STRING_VALUE",
|
|
321
|
+
* // workflowDescription: "STRING_VALUE",
|
|
322
|
+
* // },
|
|
323
|
+
* // ],
|
|
324
|
+
* // executionRole: "STRING_VALUE", // required
|
|
325
|
+
* // recoveryTimeObjectiveMinutes: Number("int"),
|
|
326
|
+
* // associatedAlarms: { // AssociatedAlarmMap
|
|
327
|
+
* // "<keys>": { // AssociatedAlarm
|
|
328
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
329
|
+
* // externalId: "STRING_VALUE",
|
|
330
|
+
* // resourceIdentifier: "STRING_VALUE", // required
|
|
331
|
+
* // alarmType: "applicationHealth" || "trigger", // required
|
|
332
|
+
* // },
|
|
333
|
+
* // },
|
|
334
|
+
* // triggers: [ // TriggerList
|
|
335
|
+
* // { // Trigger
|
|
336
|
+
* // description: "STRING_VALUE",
|
|
337
|
+
* // targetRegion: "STRING_VALUE", // required
|
|
338
|
+
* // action: "activate" || "deactivate", // required
|
|
339
|
+
* // conditions: [ // TriggerConditionList // required
|
|
340
|
+
* // { // TriggerCondition
|
|
341
|
+
* // associatedAlarmName: "STRING_VALUE", // required
|
|
342
|
+
* // condition: "red" || "green", // required
|
|
343
|
+
* // },
|
|
344
|
+
* // ],
|
|
345
|
+
* // minDelayMinutesBetweenExecutions: Number("int"), // required
|
|
346
|
+
* // },
|
|
347
|
+
* // ],
|
|
348
|
+
* // name: "STRING_VALUE", // required
|
|
349
|
+
* // regions: [ // RegionList // required
|
|
350
|
+
* // "STRING_VALUE",
|
|
351
|
+
* // ],
|
|
352
|
+
* // recoveryApproach: "activeActive" || "activePassive", // required
|
|
353
|
+
* // primaryRegion: "STRING_VALUE",
|
|
354
|
+
* // owner: "STRING_VALUE", // required
|
|
355
|
+
* // version: "STRING_VALUE",
|
|
356
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
357
|
+
* // },
|
|
358
|
+
* // };
|
|
359
|
+
*
|
|
360
|
+
* ```
|
|
361
|
+
*
|
|
362
|
+
* @param GetPlanCommandInput - {@link GetPlanCommandInput}
|
|
363
|
+
* @returns {@link GetPlanCommandOutput}
|
|
364
|
+
* @see {@link GetPlanCommandInput} for command's `input` shape.
|
|
365
|
+
* @see {@link GetPlanCommandOutput} for command's `response` shape.
|
|
366
|
+
* @see {@link ARCRegionSwitchClientResolvedConfig | config} for ARCRegionSwitchClient's `config` shape.
|
|
367
|
+
*
|
|
368
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
369
|
+
* <p>The specified resource was not found.</p> <p>HTTP Status Code: 404</p>
|
|
370
|
+
*
|
|
371
|
+
* @throws {@link ARCRegionSwitchServiceException}
|
|
372
|
+
* <p>Base exception class for all service exceptions from ARCRegionSwitch service.</p>
|
|
373
|
+
*
|
|
374
|
+
*
|
|
375
|
+
* @public
|
|
376
|
+
*/
|
|
377
|
+
export declare class GetPlanCommand extends GetPlanCommand_base {
|
|
378
|
+
/** @internal type navigation helper, not in runtime. */
|
|
379
|
+
protected static __types: {
|
|
380
|
+
api: {
|
|
381
|
+
input: GetPlanRequest;
|
|
382
|
+
output: GetPlanResponse;
|
|
383
|
+
};
|
|
384
|
+
sdk: {
|
|
385
|
+
input: GetPlanCommandInput;
|
|
386
|
+
output: GetPlanCommandOutput;
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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 { GetPlanEvaluationStatusRequest, GetPlanEvaluationStatusResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetPlanEvaluationStatusCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetPlanEvaluationStatusCommandInput extends GetPlanEvaluationStatusRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetPlanEvaluationStatusCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPlanEvaluationStatusCommandOutput extends GetPlanEvaluationStatusResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetPlanEvaluationStatusCommand_base: {
|
|
25
|
+
new (input: GetPlanEvaluationStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetPlanEvaluationStatusCommandInput, GetPlanEvaluationStatusCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetPlanEvaluationStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetPlanEvaluationStatusCommandInput, GetPlanEvaluationStatusCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the evaluation status of a Region switch plan. The evaluation status provides information about the last time the plan was evaluated and any warnings or issues detected.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ARCRegionSwitchClient, GetPlanEvaluationStatusCommand } from "@aws-sdk/client-arc-region-switch"; // ES Modules import
|
|
35
|
+
* // const { ARCRegionSwitchClient, GetPlanEvaluationStatusCommand } = require("@aws-sdk/client-arc-region-switch"); // CommonJS import
|
|
36
|
+
* const client = new ARCRegionSwitchClient(config);
|
|
37
|
+
* const input = { // GetPlanEvaluationStatusRequest
|
|
38
|
+
* planArn: "STRING_VALUE", // required
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetPlanEvaluationStatusCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetPlanEvaluationStatusResponse
|
|
45
|
+
* // planArn: "STRING_VALUE", // required
|
|
46
|
+
* // lastEvaluationTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // lastEvaluatedVersion: "STRING_VALUE",
|
|
48
|
+
* // region: "STRING_VALUE",
|
|
49
|
+
* // evaluationState: "passed" || "actionRequired" || "pendingEvaluation" || "unknown",
|
|
50
|
+
* // warnings: [ // PlanWarnings
|
|
51
|
+
* // { // ResourceWarning
|
|
52
|
+
* // workflow: { // MinimalWorkflow
|
|
53
|
+
* // action: "activate" || "deactivate",
|
|
54
|
+
* // name: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // version: "STRING_VALUE", // required
|
|
57
|
+
* // stepName: "STRING_VALUE",
|
|
58
|
+
* // resourceArn: "STRING_VALUE",
|
|
59
|
+
* // warningStatus: "active" || "resolved", // required
|
|
60
|
+
* // warningUpdatedTime: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // warningMessage: "STRING_VALUE", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // nextToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param GetPlanEvaluationStatusCommandInput - {@link GetPlanEvaluationStatusCommandInput}
|
|
70
|
+
* @returns {@link GetPlanEvaluationStatusCommandOutput}
|
|
71
|
+
* @see {@link GetPlanEvaluationStatusCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link GetPlanEvaluationStatusCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link ARCRegionSwitchClientResolvedConfig | config} for ARCRegionSwitchClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>You do not have sufficient access to perform this action.</p> <p>HTTP Status Code: 403</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The specified resource was not found.</p> <p>HTTP Status Code: 404</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ARCRegionSwitchServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from ARCRegionSwitch service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class GetPlanEvaluationStatusCommand extends GetPlanEvaluationStatusCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: GetPlanEvaluationStatusRequest;
|
|
92
|
+
output: GetPlanEvaluationStatusResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: GetPlanEvaluationStatusCommandInput;
|
|
96
|
+
output: GetPlanEvaluationStatusCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|