@aws-sdk/client-arc-region-switch 3.1045.0 → 3.1046.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/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +88 -80
- package/dist-cjs/models/ARCRegionSwitchServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-cjs/schemas/schemas_0.js +29 -5
- package/dist-es/ARCRegionSwitch.js +1 -1
- package/dist-es/ARCRegionSwitchClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/ApprovePlanExecutionStepCommand.js +2 -2
- package/dist-es/commands/CancelPlanExecutionCommand.js +2 -2
- package/dist-es/commands/CreatePlanCommand.js +2 -2
- package/dist-es/commands/DeletePlanCommand.js +2 -2
- package/dist-es/commands/GetPlanCommand.js +2 -2
- package/dist-es/commands/GetPlanEvaluationStatusCommand.js +2 -2
- package/dist-es/commands/GetPlanExecutionCommand.js +2 -2
- package/dist-es/commands/GetPlanInRegionCommand.js +2 -2
- package/dist-es/commands/ListPlanExecutionEventsCommand.js +2 -2
- package/dist-es/commands/ListPlanExecutionsCommand.js +2 -2
- package/dist-es/commands/ListPlansCommand.js +2 -2
- package/dist-es/commands/ListPlansInRegionCommand.js +2 -2
- package/dist-es/commands/ListRoute53HealthChecksCommand.js +2 -2
- package/dist-es/commands/ListRoute53HealthChecksInRegionCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/StartPlanExecutionCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdatePlanCommand.js +2 -2
- package/dist-es/commands/UpdatePlanExecutionCommand.js +2 -2
- package/dist-es/commands/UpdatePlanExecutionStepCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/ARCRegionSwitchServiceException.js +1 -1
- package/dist-es/models/enums.js +8 -0
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/schemas/schemas_0.js +26 -2
- package/dist-es/waiters/waitForPlanEvaluationStatusPassed.js +1 -1
- package/dist-es/waiters/waitForPlanExecutionCompleted.js +1 -1
- package/dist-types/ARCRegionSwitch.d.ts +1 -1
- package/dist-types/ARCRegionSwitchClient.d.ts +5 -5
- package/dist-types/commands/ApprovePlanExecutionStepCommand.d.ts +6 -4
- package/dist-types/commands/CancelPlanExecutionCommand.d.ts +6 -4
- package/dist-types/commands/CreatePlanCommand.d.ts +66 -8
- package/dist-types/commands/DeletePlanCommand.d.ts +6 -4
- package/dist-types/commands/GetPlanCommand.d.ts +36 -6
- package/dist-types/commands/GetPlanEvaluationStatusCommand.d.ts +6 -4
- package/dist-types/commands/GetPlanExecutionCommand.d.ts +36 -6
- package/dist-types/commands/GetPlanInRegionCommand.d.ts +36 -6
- package/dist-types/commands/ListPlanExecutionEventsCommand.d.ts +7 -5
- package/dist-types/commands/ListPlanExecutionsCommand.d.ts +6 -4
- package/dist-types/commands/ListPlansCommand.d.ts +6 -4
- package/dist-types/commands/ListPlansInRegionCommand.d.ts +6 -4
- package/dist-types/commands/ListRoute53HealthChecksCommand.d.ts +6 -4
- package/dist-types/commands/ListRoute53HealthChecksInRegionCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/StartPlanExecutionCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePlanCommand.d.ts +66 -8
- package/dist-types/commands/UpdatePlanExecutionCommand.d.ts +6 -4
- package/dist-types/commands/UpdatePlanExecutionStepCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/ARCRegionSwitchServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +24 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +99 -5
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/ARCRegionSwitch.d.ts +1 -1
- package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/ApprovePlanExecutionStepCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CancelPlanExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePlanCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeletePlanCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPlanCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPlanEvaluationStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPlanExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPlanInRegionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPlanExecutionEventsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPlanExecutionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPlansCommand.d.ts +6 -6
- package/dist-types/ts3.4/commands/ListPlansInRegionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListRoute53HealthChecksCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListRoute53HealthChecksInRegionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartPlanExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePlanCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePlanExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdatePlanExecutionStepCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/ARCRegionSwitchServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +12 -0
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +51 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForPlanEvaluationStatusPassed.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForPlanExecutionCompleted.d.ts +1 -1
- package/dist-types/waiters/waitForPlanEvaluationStatusPassed.d.ts +1 -1
- package/dist-types/waiters/waitForPlanExecutionCompleted.d.ts +1 -1
- package/package.json +13 -35
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
6
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
@@ -34,6 +34,7 @@ const _EE = "ExecutionEvent";
|
|
|
34
34
|
const _EEL = "ExecutionEventList";
|
|
35
35
|
const _ERSC = "EksResourceScalingConfiguration";
|
|
36
36
|
const _ERSU = "EksResourceScalingUngraceful";
|
|
37
|
+
const _ESM = "EventSourceMapping";
|
|
37
38
|
const _EU = "Ec2Ungraceful";
|
|
38
39
|
const _EUc = "EcsUngraceful";
|
|
39
40
|
const _FRO = "FailedReportOutput";
|
|
@@ -61,6 +62,8 @@ const _KSA = "KubernetesScalingApps";
|
|
|
61
62
|
const _KSAu = "KubernetesScalingApplication";
|
|
62
63
|
const _KSR = "KubernetesScalingResource";
|
|
63
64
|
const _L = "Lambdas";
|
|
65
|
+
const _LESMC = "LambdaEventSourceMappingConfiguration";
|
|
66
|
+
const _LESMU = "LambdaEventSourceMappingUngraceful";
|
|
64
67
|
const _LL = "LambdaList";
|
|
65
68
|
const _LP = "ListPlans";
|
|
66
69
|
const _LPE = "ListPlanExecutions";
|
|
@@ -92,6 +95,7 @@ const _PW = "PlanWarnings";
|
|
|
92
95
|
const _RARC = "RegionAndRoutingControls";
|
|
93
96
|
const _RC = "ReportConfiguration";
|
|
94
97
|
const _RCCRRC = "RdsCreateCrossRegionReplicaConfiguration";
|
|
98
|
+
const _RESMM = "RegionEventSourceMappingMap";
|
|
95
99
|
const _RHC = "Route53HealthCheck";
|
|
96
100
|
const _RHCC = "Route53HealthCheckConfiguration";
|
|
97
101
|
const _RHCL = "Route53HealthCheckList";
|
|
@@ -199,6 +203,7 @@ const _i = "items";
|
|
|
199
203
|
const _k = "kind";
|
|
200
204
|
const _kRT = "kubernetesResourceType";
|
|
201
205
|
const _l = "lambdas";
|
|
206
|
+
const _lESMC = "lambdaEventSourceMappingConfig";
|
|
202
207
|
const _lET = "lastEvaluationTime";
|
|
203
208
|
const _lEV = "lastEvaluatedVersion";
|
|
204
209
|
const _lV = "latestVersion";
|
|
@@ -226,6 +231,7 @@ const _rC = "reportConfiguration";
|
|
|
226
231
|
const _rCA = "routingControlArn";
|
|
227
232
|
const _rCCRRRC = "rdsCreateCrossRegionReadReplicaConfig";
|
|
228
233
|
const _rEI = "recoveryExecutionId";
|
|
234
|
+
const _rESM = "regionEventSourceMappings";
|
|
229
235
|
const _rGT = "reportGenerationTime";
|
|
230
236
|
const _rHCC = "route53HealthCheckConfig";
|
|
231
237
|
const _rI = "resourceIdentifier";
|
|
@@ -438,6 +444,11 @@ export var EksResourceScalingUngraceful$ = [3, n0, _ERSU,
|
|
|
438
444
|
[_mSP],
|
|
439
445
|
[1], 1
|
|
440
446
|
];
|
|
447
|
+
export var EventSourceMapping$ = [3, n0, _ESM,
|
|
448
|
+
0,
|
|
449
|
+
[_a, _cAR, _eIx],
|
|
450
|
+
[0, 0, 0], 1
|
|
451
|
+
];
|
|
441
452
|
export var ExecutionApprovalConfiguration$ = [3, n0, _EAC,
|
|
442
453
|
0,
|
|
443
454
|
[_aR, _tM],
|
|
@@ -518,6 +529,16 @@ export var KubernetesScalingResource$ = [3, n0, _KSR,
|
|
|
518
529
|
[_na, _n, _hN],
|
|
519
530
|
[0, 0, 0], 2
|
|
520
531
|
];
|
|
532
|
+
export var LambdaEventSourceMappingConfiguration$ = [3, n0, _LESMC,
|
|
533
|
+
0,
|
|
534
|
+
[_ac, _rESM, _tM, _u],
|
|
535
|
+
[0, () => RegionEventSourceMappingMap, 1, () => LambdaEventSourceMappingUngraceful$], 2
|
|
536
|
+
];
|
|
537
|
+
export var LambdaEventSourceMappingUngraceful$ = [3, n0, _LESMU,
|
|
538
|
+
0,
|
|
539
|
+
[_b],
|
|
540
|
+
[0]
|
|
541
|
+
];
|
|
521
542
|
export var Lambdas$ = [3, n0, _L,
|
|
522
543
|
0,
|
|
523
544
|
[_cAR, _eIx, _a],
|
|
@@ -828,11 +849,14 @@ var RegionalScalingResource = [2, n0, _RSR,
|
|
|
828
849
|
var RegionAndRoutingControls = [2, n0, _RARC,
|
|
829
850
|
0, 0, () => ArcRoutingControlStates
|
|
830
851
|
];
|
|
852
|
+
var RegionEventSourceMappingMap = [2, n0, _RESMM,
|
|
853
|
+
0, 0, () => EventSourceMapping$
|
|
854
|
+
];
|
|
831
855
|
var Tags = 128 | 0;
|
|
832
856
|
export var ExecutionBlockConfiguration$ = [4, n0, _EBC,
|
|
833
857
|
0,
|
|
834
|
-
[_cALC, _eACIC, _eAC, _aRCC, _gAC, _pC, _rSPC, _eCIC, _eRSC, _rHCC, _dDC, _rPRRC, _rCCRRRC],
|
|
835
|
-
[() => CustomActionLambdaConfiguration$, () => Ec2AsgCapacityIncreaseConfiguration$, () => ExecutionApprovalConfiguration$, () => ArcRoutingControlConfiguration$, () => GlobalAuroraConfiguration$, () => ParallelExecutionBlockConfiguration$, () => RegionSwitchPlanConfiguration$, () => EcsCapacityIncreaseConfiguration$, () => EksResourceScalingConfiguration$, () => Route53HealthCheckConfiguration$, () => DocumentDbConfiguration$, () => RdsPromoteReadReplicaConfiguration$, () => RdsCreateCrossRegionReplicaConfiguration$]
|
|
858
|
+
[_cALC, _eACIC, _eAC, _aRCC, _gAC, _pC, _rSPC, _eCIC, _eRSC, _rHCC, _dDC, _rPRRC, _rCCRRRC, _lESMC],
|
|
859
|
+
[() => CustomActionLambdaConfiguration$, () => Ec2AsgCapacityIncreaseConfiguration$, () => ExecutionApprovalConfiguration$, () => ArcRoutingControlConfiguration$, () => GlobalAuroraConfiguration$, () => ParallelExecutionBlockConfiguration$, () => RegionSwitchPlanConfiguration$, () => EcsCapacityIncreaseConfiguration$, () => EksResourceScalingConfiguration$, () => Route53HealthCheckConfiguration$, () => DocumentDbConfiguration$, () => RdsPromoteReadReplicaConfiguration$, () => RdsCreateCrossRegionReplicaConfiguration$, () => LambdaEventSourceMappingConfiguration$]
|
|
836
860
|
];
|
|
837
861
|
export var ReportOutput$ = [4, n0, _RO,
|
|
838
862
|
0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
|
|
2
2
|
import { GetPlanEvaluationStatusCommand, } from "../commands/GetPlanEvaluationStatusCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
|
|
2
2
|
import { GetPlanExecutionCommand, } from "../commands/GetPlanExecutionCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { type WaiterResult } from "@smithy/core/client";
|
|
1
2
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
-
import type { WaiterResult } from "@smithy/util-waiter";
|
|
3
3
|
import { ARCRegionSwitchClient } from "./ARCRegionSwitchClient";
|
|
4
4
|
import { type ApprovePlanExecutionStepCommandInput, type ApprovePlanExecutionStepCommandOutput } from "./commands/ApprovePlanExecutionStepCommand";
|
|
5
5
|
import { type CancelPlanExecutionCommandInput, type CancelPlanExecutionCommandOutput } from "./commands/CancelPlanExecutionCommand";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
2
|
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { type
|
|
4
|
-
import { type
|
|
5
|
-
import { type
|
|
6
|
-
import type
|
|
7
|
-
import { type
|
|
3
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
6
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
7
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
8
8
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { ApprovePlanExecutionStepCommandInput, ApprovePlanExecutionStepCommandOutput } from "./commands/ApprovePlanExecutionStepCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCRegionSwitchClient";
|
|
4
4
|
import type { ApprovePlanExecutionStepRequest, ApprovePlanExecutionStepResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface ApprovePlanExecutionStepCommandInput extends ApprovePlanExecuti
|
|
|
22
22
|
export interface ApprovePlanExecutionStepCommandOutput extends ApprovePlanExecutionStepResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ApprovePlanExecutionStepCommand_base: {
|
|
25
|
-
new (input: ApprovePlanExecutionStepCommandInput): import("@smithy/
|
|
26
|
-
new (input: ApprovePlanExecutionStepCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ApprovePlanExecutionStepCommandInput): import("@smithy/core/client").CommandImpl<ApprovePlanExecutionStepCommandInput, ApprovePlanExecutionStepCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ApprovePlanExecutionStepCommandInput): import("@smithy/core/client").CommandImpl<ApprovePlanExecutionStepCommandInput, ApprovePlanExecutionStepCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Approves a step in a plan execution that requires manual approval. When you create a plan, you can include approval steps that require manual intervention before the execution can proceed. This operation allows you to provide that approval.</p> <p>You must specify the plan ARN, execution ID, step name, and approval status. You can also provide an optional comment explaining the approval decision.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCRegionSwitchClient";
|
|
4
4
|
import type { CancelPlanExecutionRequest, CancelPlanExecutionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CancelPlanExecutionCommandInput extends CancelPlanExecutionRequ
|
|
|
22
22
|
export interface CancelPlanExecutionCommandOutput extends CancelPlanExecutionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CancelPlanExecutionCommand_base: {
|
|
25
|
-
new (input: CancelPlanExecutionCommandInput): import("@smithy/
|
|
26
|
-
new (input: CancelPlanExecutionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CancelPlanExecutionCommandInput): import("@smithy/core/client").CommandImpl<CancelPlanExecutionCommandInput, CancelPlanExecutionCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CancelPlanExecutionCommandInput): import("@smithy/core/client").CommandImpl<CancelPlanExecutionCommandInput, CancelPlanExecutionCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Cancels an in-progress plan execution. This operation stops the execution of the plan and prevents any further steps from being processed.</p> <p>You must specify the plan ARN and execution ID. You can also provide an optional comment explaining why the execution was canceled.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCRegionSwitchClient";
|
|
4
4
|
import type { CreatePlanRequest, CreatePlanResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreatePlanCommandInput extends CreatePlanRequest {
|
|
|
22
22
|
export interface CreatePlanCommandOutput extends CreatePlanResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreatePlanCommand_base: {
|
|
25
|
-
new (input: CreatePlanCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreatePlanCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreatePlanCommandInput): import("@smithy/core/client").CommandImpl<CreatePlanCommandInput, CreatePlanCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreatePlanCommandInput): import("@smithy/core/client").CommandImpl<CreatePlanCommandInput, CreatePlanCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a new Region switch plan. A plan defines the steps required to shift traffic from one Amazon Web Services Region to another.</p> <p>You must specify a name for the plan, the primary Region, and at least one additional Region. You can also provide a description, execution role, recovery time objective, associated alarms, triggers, and workflows that define the steps to execute during a Region switch.</p>
|
|
@@ -267,8 +269,22 @@ declare const CreatePlanCommand_base: {
|
|
|
267
269
|
* "<keys>": "STRING_VALUE",
|
|
268
270
|
* },
|
|
269
271
|
* },
|
|
272
|
+
* lambdaEventSourceMappingConfig: { // LambdaEventSourceMappingConfiguration
|
|
273
|
+
* timeoutMinutes: Number("int"),
|
|
274
|
+
* action: "enable" || "disable", // required
|
|
275
|
+
* regionEventSourceMappings: { // RegionEventSourceMappingMap // required
|
|
276
|
+
* "<keys>": { // EventSourceMapping
|
|
277
|
+
* crossAccountRole: "STRING_VALUE",
|
|
278
|
+
* externalId: "STRING_VALUE",
|
|
279
|
+
* arn: "STRING_VALUE", // required
|
|
280
|
+
* },
|
|
281
|
+
* },
|
|
282
|
+
* ungraceful: { // LambdaEventSourceMappingUngraceful
|
|
283
|
+
* behavior: "skip",
|
|
284
|
+
* },
|
|
285
|
+
* },
|
|
270
286
|
* },
|
|
271
|
-
* executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
287
|
+
* executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
|
|
272
288
|
* },
|
|
273
289
|
* ],
|
|
274
290
|
* },
|
|
@@ -365,8 +381,22 @@ declare const CreatePlanCommand_base: {
|
|
|
365
381
|
* "<keys>": "STRING_VALUE",
|
|
366
382
|
* },
|
|
367
383
|
* },
|
|
384
|
+
* lambdaEventSourceMappingConfig: {
|
|
385
|
+
* timeoutMinutes: Number("int"),
|
|
386
|
+
* action: "enable" || "disable", // required
|
|
387
|
+
* regionEventSourceMappings: { // required
|
|
388
|
+
* "<keys>": {
|
|
389
|
+
* crossAccountRole: "STRING_VALUE",
|
|
390
|
+
* externalId: "STRING_VALUE",
|
|
391
|
+
* arn: "STRING_VALUE", // required
|
|
392
|
+
* },
|
|
393
|
+
* },
|
|
394
|
+
* ungraceful: {
|
|
395
|
+
* behavior: "skip",
|
|
396
|
+
* },
|
|
397
|
+
* },
|
|
368
398
|
* },
|
|
369
|
-
* executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
399
|
+
* executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
|
|
370
400
|
* },
|
|
371
401
|
* ],
|
|
372
402
|
* workflowTargetAction: "activate" || "deactivate" || "postRecovery", // required
|
|
@@ -653,8 +683,22 @@ declare const CreatePlanCommand_base: {
|
|
|
653
683
|
* // "<keys>": "STRING_VALUE",
|
|
654
684
|
* // },
|
|
655
685
|
* // },
|
|
686
|
+
* // lambdaEventSourceMappingConfig: { // LambdaEventSourceMappingConfiguration
|
|
687
|
+
* // timeoutMinutes: Number("int"),
|
|
688
|
+
* // action: "enable" || "disable", // required
|
|
689
|
+
* // regionEventSourceMappings: { // RegionEventSourceMappingMap // required
|
|
690
|
+
* // "<keys>": { // EventSourceMapping
|
|
691
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
692
|
+
* // externalId: "STRING_VALUE",
|
|
693
|
+
* // arn: "STRING_VALUE", // required
|
|
694
|
+
* // },
|
|
695
|
+
* // },
|
|
696
|
+
* // ungraceful: { // LambdaEventSourceMappingUngraceful
|
|
697
|
+
* // behavior: "skip",
|
|
698
|
+
* // },
|
|
699
|
+
* // },
|
|
656
700
|
* // },
|
|
657
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
701
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
|
|
658
702
|
* // },
|
|
659
703
|
* // ],
|
|
660
704
|
* // },
|
|
@@ -751,8 +795,22 @@ declare const CreatePlanCommand_base: {
|
|
|
751
795
|
* // "<keys>": "STRING_VALUE",
|
|
752
796
|
* // },
|
|
753
797
|
* // },
|
|
798
|
+
* // lambdaEventSourceMappingConfig: {
|
|
799
|
+
* // timeoutMinutes: Number("int"),
|
|
800
|
+
* // action: "enable" || "disable", // required
|
|
801
|
+
* // regionEventSourceMappings: { // required
|
|
802
|
+
* // "<keys>": {
|
|
803
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
804
|
+
* // externalId: "STRING_VALUE",
|
|
805
|
+
* // arn: "STRING_VALUE", // required
|
|
806
|
+
* // },
|
|
807
|
+
* // },
|
|
808
|
+
* // ungraceful: {
|
|
809
|
+
* // behavior: "skip",
|
|
810
|
+
* // },
|
|
811
|
+
* // },
|
|
754
812
|
* // },
|
|
755
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
813
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
|
|
756
814
|
* // },
|
|
757
815
|
* // ],
|
|
758
816
|
* // workflowTargetAction: "activate" || "deactivate" || "postRecovery", // required
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCRegionSwitchClient";
|
|
4
4
|
import type { DeletePlanRequest, DeletePlanResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeletePlanCommandInput extends DeletePlanRequest {
|
|
|
22
22
|
export interface DeletePlanCommandOutput extends DeletePlanResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeletePlanCommand_base: {
|
|
25
|
-
new (input: DeletePlanCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeletePlanCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeletePlanCommandInput): import("@smithy/core/client").CommandImpl<DeletePlanCommandInput, DeletePlanCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeletePlanCommandInput): import("@smithy/core/client").CommandImpl<DeletePlanCommandInput, DeletePlanCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <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>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCRegionSwitchClient";
|
|
4
4
|
import type { GetPlanRequest, GetPlanResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetPlanCommandInput extends GetPlanRequest {
|
|
|
22
22
|
export interface GetPlanCommandOutput extends GetPlanResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetPlanCommand_base: {
|
|
25
|
-
new (input: GetPlanCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetPlanCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetPlanCommandInput): import("@smithy/core/client").CommandImpl<GetPlanCommandInput, GetPlanCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetPlanCommandInput): import("@smithy/core/client").CommandImpl<GetPlanCommandInput, GetPlanCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves detailed information about a Region switch plan. You must specify the ARN of the plan.</p>
|
|
@@ -274,8 +276,22 @@ declare const GetPlanCommand_base: {
|
|
|
274
276
|
* // "<keys>": "STRING_VALUE",
|
|
275
277
|
* // },
|
|
276
278
|
* // },
|
|
279
|
+
* // lambdaEventSourceMappingConfig: { // LambdaEventSourceMappingConfiguration
|
|
280
|
+
* // timeoutMinutes: Number("int"),
|
|
281
|
+
* // action: "enable" || "disable", // required
|
|
282
|
+
* // regionEventSourceMappings: { // RegionEventSourceMappingMap // required
|
|
283
|
+
* // "<keys>": { // EventSourceMapping
|
|
284
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
285
|
+
* // externalId: "STRING_VALUE",
|
|
286
|
+
* // arn: "STRING_VALUE", // required
|
|
287
|
+
* // },
|
|
288
|
+
* // },
|
|
289
|
+
* // ungraceful: { // LambdaEventSourceMappingUngraceful
|
|
290
|
+
* // behavior: "skip",
|
|
291
|
+
* // },
|
|
292
|
+
* // },
|
|
277
293
|
* // },
|
|
278
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
294
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
|
|
279
295
|
* // },
|
|
280
296
|
* // ],
|
|
281
297
|
* // },
|
|
@@ -372,8 +388,22 @@ declare const GetPlanCommand_base: {
|
|
|
372
388
|
* // "<keys>": "STRING_VALUE",
|
|
373
389
|
* // },
|
|
374
390
|
* // },
|
|
391
|
+
* // lambdaEventSourceMappingConfig: {
|
|
392
|
+
* // timeoutMinutes: Number("int"),
|
|
393
|
+
* // action: "enable" || "disable", // required
|
|
394
|
+
* // regionEventSourceMappings: { // required
|
|
395
|
+
* // "<keys>": {
|
|
396
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
397
|
+
* // externalId: "STRING_VALUE",
|
|
398
|
+
* // arn: "STRING_VALUE", // required
|
|
399
|
+
* // },
|
|
400
|
+
* // },
|
|
401
|
+
* // ungraceful: {
|
|
402
|
+
* // behavior: "skip",
|
|
403
|
+
* // },
|
|
404
|
+
* // },
|
|
375
405
|
* // },
|
|
376
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
406
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
|
|
377
407
|
* // },
|
|
378
408
|
* // ],
|
|
379
409
|
* // workflowTargetAction: "activate" || "deactivate" || "postRecovery", // required
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCRegionSwitchClient";
|
|
4
4
|
import type { GetPlanEvaluationStatusRequest, GetPlanEvaluationStatusResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetPlanEvaluationStatusCommandInput extends GetPlanEvaluationSt
|
|
|
22
22
|
export interface GetPlanEvaluationStatusCommandOutput extends GetPlanEvaluationStatusResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetPlanEvaluationStatusCommand_base: {
|
|
25
|
-
new (input: GetPlanEvaluationStatusCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetPlanEvaluationStatusCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetPlanEvaluationStatusCommandInput): import("@smithy/core/client").CommandImpl<GetPlanEvaluationStatusCommandInput, GetPlanEvaluationStatusCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetPlanEvaluationStatusCommandInput): import("@smithy/core/client").CommandImpl<GetPlanEvaluationStatusCommandInput, GetPlanEvaluationStatusCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <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>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCRegionSwitchClient";
|
|
4
4
|
import type { GetPlanExecutionRequest, GetPlanExecutionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetPlanExecutionCommandInput extends GetPlanExecutionRequest {
|
|
|
22
22
|
export interface GetPlanExecutionCommandOutput extends GetPlanExecutionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetPlanExecutionCommand_base: {
|
|
25
|
-
new (input: GetPlanExecutionCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetPlanExecutionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetPlanExecutionCommandInput): import("@smithy/core/client").CommandImpl<GetPlanExecutionCommandInput, GetPlanExecutionCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetPlanExecutionCommandInput): import("@smithy/core/client").CommandImpl<GetPlanExecutionCommandInput, GetPlanExecutionCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves detailed information about a specific plan execution. You must specify the plan ARN and execution ID.</p>
|
|
@@ -298,8 +300,22 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
298
300
|
* // "<keys>": "STRING_VALUE",
|
|
299
301
|
* // },
|
|
300
302
|
* // },
|
|
303
|
+
* // lambdaEventSourceMappingConfig: { // LambdaEventSourceMappingConfiguration
|
|
304
|
+
* // timeoutMinutes: Number("int"),
|
|
305
|
+
* // action: "enable" || "disable", // required
|
|
306
|
+
* // regionEventSourceMappings: { // RegionEventSourceMappingMap // required
|
|
307
|
+
* // "<keys>": { // EventSourceMapping
|
|
308
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
309
|
+
* // externalId: "STRING_VALUE",
|
|
310
|
+
* // arn: "STRING_VALUE", // required
|
|
311
|
+
* // },
|
|
312
|
+
* // },
|
|
313
|
+
* // ungraceful: { // LambdaEventSourceMappingUngraceful
|
|
314
|
+
* // behavior: "skip",
|
|
315
|
+
* // },
|
|
316
|
+
* // },
|
|
301
317
|
* // },
|
|
302
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
318
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
|
|
303
319
|
* // },
|
|
304
320
|
* // ],
|
|
305
321
|
* // },
|
|
@@ -396,8 +412,22 @@ declare const GetPlanExecutionCommand_base: {
|
|
|
396
412
|
* // "<keys>": "STRING_VALUE",
|
|
397
413
|
* // },
|
|
398
414
|
* // },
|
|
415
|
+
* // lambdaEventSourceMappingConfig: {
|
|
416
|
+
* // timeoutMinutes: Number("int"),
|
|
417
|
+
* // action: "enable" || "disable", // required
|
|
418
|
+
* // regionEventSourceMappings: { // required
|
|
419
|
+
* // "<keys>": {
|
|
420
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
421
|
+
* // externalId: "STRING_VALUE",
|
|
422
|
+
* // arn: "STRING_VALUE", // required
|
|
423
|
+
* // },
|
|
424
|
+
* // },
|
|
425
|
+
* // ungraceful: {
|
|
426
|
+
* // behavior: "skip",
|
|
427
|
+
* // },
|
|
428
|
+
* // },
|
|
399
429
|
* // },
|
|
400
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
430
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
|
|
401
431
|
* // },
|
|
402
432
|
* // ],
|
|
403
433
|
* // workflowTargetAction: "activate" || "deactivate" || "postRecovery", // required
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCRegionSwitchClient";
|
|
4
4
|
import type { GetPlanInRegionRequest, GetPlanInRegionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetPlanInRegionCommandInput extends GetPlanInRegionRequest {
|
|
|
22
22
|
export interface GetPlanInRegionCommandOutput extends GetPlanInRegionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetPlanInRegionCommand_base: {
|
|
25
|
-
new (input: GetPlanInRegionCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetPlanInRegionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetPlanInRegionCommandInput): import("@smithy/core/client").CommandImpl<GetPlanInRegionCommandInput, GetPlanInRegionCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetPlanInRegionCommandInput): import("@smithy/core/client").CommandImpl<GetPlanInRegionCommandInput, GetPlanInRegionCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves information about a Region switch plan in a specific Amazon Web Services Region. This operation is useful for getting Region-specific information about a plan.</p>
|
|
@@ -274,8 +276,22 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
274
276
|
* // "<keys>": "STRING_VALUE",
|
|
275
277
|
* // },
|
|
276
278
|
* // },
|
|
279
|
+
* // lambdaEventSourceMappingConfig: { // LambdaEventSourceMappingConfiguration
|
|
280
|
+
* // timeoutMinutes: Number("int"),
|
|
281
|
+
* // action: "enable" || "disable", // required
|
|
282
|
+
* // regionEventSourceMappings: { // RegionEventSourceMappingMap // required
|
|
283
|
+
* // "<keys>": { // EventSourceMapping
|
|
284
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
285
|
+
* // externalId: "STRING_VALUE",
|
|
286
|
+
* // arn: "STRING_VALUE", // required
|
|
287
|
+
* // },
|
|
288
|
+
* // },
|
|
289
|
+
* // ungraceful: { // LambdaEventSourceMappingUngraceful
|
|
290
|
+
* // behavior: "skip",
|
|
291
|
+
* // },
|
|
292
|
+
* // },
|
|
277
293
|
* // },
|
|
278
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
294
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
|
|
279
295
|
* // },
|
|
280
296
|
* // ],
|
|
281
297
|
* // },
|
|
@@ -372,8 +388,22 @@ declare const GetPlanInRegionCommand_base: {
|
|
|
372
388
|
* // "<keys>": "STRING_VALUE",
|
|
373
389
|
* // },
|
|
374
390
|
* // },
|
|
391
|
+
* // lambdaEventSourceMappingConfig: {
|
|
392
|
+
* // timeoutMinutes: Number("int"),
|
|
393
|
+
* // action: "enable" || "disable", // required
|
|
394
|
+
* // regionEventSourceMappings: { // required
|
|
395
|
+
* // "<keys>": {
|
|
396
|
+
* // crossAccountRole: "STRING_VALUE",
|
|
397
|
+
* // externalId: "STRING_VALUE",
|
|
398
|
+
* // arn: "STRING_VALUE", // required
|
|
399
|
+
* // },
|
|
400
|
+
* // },
|
|
401
|
+
* // ungraceful: {
|
|
402
|
+
* // behavior: "skip",
|
|
403
|
+
* // },
|
|
404
|
+
* // },
|
|
375
405
|
* // },
|
|
376
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica", // required
|
|
406
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
|
|
377
407
|
* // },
|
|
378
408
|
* // ],
|
|
379
409
|
* // workflowTargetAction: "activate" || "deactivate" || "postRecovery", // required
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCRegionSwitchClient";
|
|
4
4
|
import type { ListPlanExecutionEventsRequest, ListPlanExecutionEventsResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface ListPlanExecutionEventsCommandInput extends ListPlanExecutionEv
|
|
|
22
22
|
export interface ListPlanExecutionEventsCommandOutput extends ListPlanExecutionEventsResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListPlanExecutionEventsCommand_base: {
|
|
25
|
-
new (input: ListPlanExecutionEventsCommandInput): import("@smithy/
|
|
26
|
-
new (input: ListPlanExecutionEventsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListPlanExecutionEventsCommandInput): import("@smithy/core/client").CommandImpl<ListPlanExecutionEventsCommandInput, ListPlanExecutionEventsCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListPlanExecutionEventsCommandInput): import("@smithy/core/client").CommandImpl<ListPlanExecutionEventsCommandInput, ListPlanExecutionEventsCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Lists the events that occurred during a plan execution. These events provide a detailed timeline of the execution process.</p>
|
|
@@ -51,7 +53,7 @@ declare const ListPlanExecutionEventsCommand_base: {
|
|
|
51
53
|
* // timestamp: new Date("TIMESTAMP"),
|
|
52
54
|
* // type: "unknown" || "executionPending" || "executionStarted" || "executionSucceeded" || "executionFailed" || "executionPausing" || "executionPaused" || "executionCanceling" || "executionCanceled" || "executionPendingApproval" || "executionBehaviorChangedToUngraceful" || "executionBehaviorChangedToGraceful" || "executionPendingChildPlanManualApproval" || "executionSuccessMonitoringApplicationHealth" || "stepStarted" || "stepUpdate" || "stepSucceeded" || "stepFailed" || "stepSkipped" || "stepPausedByError" || "stepPausedByOperator" || "stepCanceled" || "stepPendingApproval" || "stepExecutionBehaviorChangedToUngraceful" || "stepPendingApplicationHealthMonitor" || "planEvaluationWarning",
|
|
53
55
|
* // stepName: "STRING_VALUE",
|
|
54
|
-
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica",
|
|
56
|
+
* // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping",
|
|
55
57
|
* // resources: [ // Resources
|
|
56
58
|
* // "STRING_VALUE",
|
|
57
59
|
* // ],
|