@aws-sdk/client-arc-region-switch 3.954.0 → 3.956.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/README.md +8 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +191 -19
- package/dist-es/ARCRegionSwitch.js +2 -0
- package/dist-es/commands/ListRoute53HealthChecksInRegionCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +19 -0
- package/dist-es/models/errors.js +8 -8
- package/dist-es/pagination/ListRoute53HealthChecksInRegionPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +132 -11
- package/dist-types/ARCRegionSwitch.d.ts +7 -0
- package/dist-types/ARCRegionSwitchClient.d.ts +3 -2
- package/dist-types/commands/CreatePlanCommand.d.ts +76 -4
- package/dist-types/commands/GetPlanCommand.d.ts +38 -2
- package/dist-types/commands/GetPlanExecutionCommand.d.ts +52 -2
- package/dist-types/commands/GetPlanInRegionCommand.d.ts +38 -2
- package/dist-types/commands/ListPlanExecutionEventsCommand.d.ts +2 -2
- package/dist-types/commands/ListRoute53HealthChecksCommand.d.ts +1 -0
- package/dist-types/commands/ListRoute53HealthChecksInRegionCommand.d.ts +133 -0
- package/dist-types/commands/UpdatePlanCommand.d.ts +76 -4
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +51 -0
- package/dist-types/models/errors.d.ts +8 -8
- package/dist-types/models/models_0.d.ts +302 -2
- package/dist-types/pagination/ListRoute53HealthChecksInRegionPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +14 -2
- package/dist-types/ts3.4/ARCRegionSwitch.d.ts +17 -0
- package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListRoute53HealthChecksInRegionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +27 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -6
- package/dist-types/ts3.4/models/models_0.d.ts +120 -0
- package/dist-types/ts3.4/pagination/ListRoute53HealthChecksInRegionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -1
- package/package.json +34 -34
|
@@ -60,6 +60,13 @@ export declare const ResourceWarningStatus: {
|
|
|
60
60
|
};
|
|
61
61
|
export type ResourceWarningStatus =
|
|
62
62
|
(typeof ResourceWarningStatus)[keyof typeof ResourceWarningStatus];
|
|
63
|
+
export declare const FailedReportErrorCode: {
|
|
64
|
+
readonly CONFIGURATION_ERROR: "configurationError";
|
|
65
|
+
readonly INSUFFICIENT_PERMISSIONS: "insufficientPermissions";
|
|
66
|
+
readonly INVALID_RESOURCE: "invalidResource";
|
|
67
|
+
};
|
|
68
|
+
export type FailedReportErrorCode =
|
|
69
|
+
(typeof FailedReportErrorCode)[keyof typeof FailedReportErrorCode];
|
|
63
70
|
export declare const WorkflowTargetAction: {
|
|
64
71
|
readonly ACTIVATE: "activate";
|
|
65
72
|
readonly DEACTIVATE: "deactivate";
|
|
@@ -82,6 +89,17 @@ export declare const LambdaUngracefulBehavior: {
|
|
|
82
89
|
};
|
|
83
90
|
export type LambdaUngracefulBehavior =
|
|
84
91
|
(typeof LambdaUngracefulBehavior)[keyof typeof LambdaUngracefulBehavior];
|
|
92
|
+
export declare const DocumentDbDefaultBehavior: {
|
|
93
|
+
readonly FAILOVER: "failover";
|
|
94
|
+
readonly SWITCHOVER_ONLY: "switchoverOnly";
|
|
95
|
+
};
|
|
96
|
+
export type DocumentDbDefaultBehavior =
|
|
97
|
+
(typeof DocumentDbDefaultBehavior)[keyof typeof DocumentDbDefaultBehavior];
|
|
98
|
+
export declare const DocumentDbUngracefulBehavior: {
|
|
99
|
+
readonly FAILOVER: "failover";
|
|
100
|
+
};
|
|
101
|
+
export type DocumentDbUngracefulBehavior =
|
|
102
|
+
(typeof DocumentDbUngracefulBehavior)[keyof typeof DocumentDbUngracefulBehavior];
|
|
85
103
|
export declare const Ec2AsgCapacityMonitoringApproach: {
|
|
86
104
|
readonly AUTOSCALING_MAX_IN_LAST_24_HOURS: "autoscalingMaxInLast24Hours";
|
|
87
105
|
readonly SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours";
|
|
@@ -113,6 +131,7 @@ export type GlobalAuroraUngracefulBehavior =
|
|
|
113
131
|
export declare const ExecutionBlockType: {
|
|
114
132
|
readonly AURORA: "AuroraGlobalDatabase";
|
|
115
133
|
readonly CUSTOM_ACTION_LAMBDA: "CustomActionLambda";
|
|
134
|
+
readonly DOCUMENTDB: "DocumentDb";
|
|
116
135
|
readonly EC2_ASG: "EC2AutoScaling";
|
|
117
136
|
readonly ECS: "ECSServiceScaling";
|
|
118
137
|
readonly EKS_RESOURCE_SCALING: "EKSResourceScaling";
|
|
@@ -148,6 +167,7 @@ export declare const ExecutionEventType: {
|
|
|
148
167
|
readonly EXECUTION_STARTED: "executionStarted";
|
|
149
168
|
readonly EXECUTION_SUCCEEDED: "executionSucceeded";
|
|
150
169
|
readonly EXECUTION_SUCCESS_MONITORING_APPLICATION_HEALTH: "executionSuccessMonitoringApplicationHealth";
|
|
170
|
+
readonly PLAN_EVALUATION_WARNING: "planEvaluationWarning";
|
|
151
171
|
readonly STEP_CANCELED: "stepCanceled";
|
|
152
172
|
readonly STEP_EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "stepExecutionBehaviorChangedToUngraceful";
|
|
153
173
|
readonly STEP_FAILED: "stepFailed";
|
|
@@ -163,6 +183,13 @@ export declare const ExecutionEventType: {
|
|
|
163
183
|
};
|
|
164
184
|
export type ExecutionEventType =
|
|
165
185
|
(typeof ExecutionEventType)[keyof typeof ExecutionEventType];
|
|
186
|
+
export declare const Route53HealthCheckStatus: {
|
|
187
|
+
readonly HEALTHY: "healthy";
|
|
188
|
+
readonly UNHEALTHY: "unhealthy";
|
|
189
|
+
readonly UNKNOWN: "unknown";
|
|
190
|
+
};
|
|
191
|
+
export type Route53HealthCheckStatus =
|
|
192
|
+
(typeof Route53HealthCheckStatus)[keyof typeof Route53HealthCheckStatus];
|
|
166
193
|
export declare const UpdatePlanExecutionAction: {
|
|
167
194
|
readonly PAUSE: "pause";
|
|
168
195
|
readonly RESUME: "resume";
|
|
@@ -21,17 +21,17 @@ export declare class InternalServerException extends __BaseException {
|
|
|
21
21
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
|
-
export declare class
|
|
25
|
-
readonly name: "
|
|
24
|
+
export declare class IllegalArgumentException extends __BaseException {
|
|
25
|
+
readonly name: "IllegalArgumentException";
|
|
26
26
|
readonly $fault: "client";
|
|
27
27
|
constructor(
|
|
28
|
-
opts: __ExceptionOptionType<
|
|
28
|
+
opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
|
-
export declare class
|
|
32
|
-
readonly name: "
|
|
31
|
+
export declare class IllegalStateException extends __BaseException {
|
|
32
|
+
readonly name: "IllegalStateException";
|
|
33
33
|
readonly $fault: "client";
|
|
34
34
|
constructor(
|
|
35
|
-
opts: __ExceptionOptionType<
|
|
35
|
+
opts: __ExceptionOptionType<IllegalStateException, __BaseException>
|
|
36
36
|
);
|
|
37
37
|
}
|
|
@@ -2,6 +2,8 @@ import {
|
|
|
2
2
|
AlarmCondition,
|
|
3
3
|
AlarmType,
|
|
4
4
|
Approval,
|
|
5
|
+
DocumentDbDefaultBehavior,
|
|
6
|
+
DocumentDbUngracefulBehavior,
|
|
5
7
|
Ec2AsgCapacityMonitoringApproach,
|
|
6
8
|
EcsCapacityMonitoringApproach,
|
|
7
9
|
EksCapacityMonitoringApproach,
|
|
@@ -11,12 +13,14 @@ import {
|
|
|
11
13
|
ExecutionEventType,
|
|
12
14
|
ExecutionMode,
|
|
13
15
|
ExecutionState,
|
|
16
|
+
FailedReportErrorCode,
|
|
14
17
|
GlobalAuroraDefaultBehavior,
|
|
15
18
|
GlobalAuroraUngracefulBehavior,
|
|
16
19
|
LambdaUngracefulBehavior,
|
|
17
20
|
RecoveryApproach,
|
|
18
21
|
RegionToRunIn,
|
|
19
22
|
ResourceWarningStatus,
|
|
23
|
+
Route53HealthCheckStatus,
|
|
20
24
|
RoutingControlStateChange,
|
|
21
25
|
StepStatus,
|
|
22
26
|
UpdatePlanExecutionAction,
|
|
@@ -98,12 +102,73 @@ export interface GetPlanExecutionRequest {
|
|
|
98
102
|
maxResults?: number | undefined;
|
|
99
103
|
nextToken?: string | undefined;
|
|
100
104
|
}
|
|
105
|
+
export interface FailedReportOutput {
|
|
106
|
+
errorCode?: FailedReportErrorCode | undefined;
|
|
107
|
+
errorMessage?: string | undefined;
|
|
108
|
+
}
|
|
109
|
+
export interface S3ReportOutput {
|
|
110
|
+
s3ObjectKey?: string | undefined;
|
|
111
|
+
}
|
|
112
|
+
export type ReportOutput =
|
|
113
|
+
| ReportOutput.FailedReportOutputMember
|
|
114
|
+
| ReportOutput.S3ReportOutputMember
|
|
115
|
+
| ReportOutput.$UnknownMember;
|
|
116
|
+
export declare namespace ReportOutput {
|
|
117
|
+
interface S3ReportOutputMember {
|
|
118
|
+
s3ReportOutput: S3ReportOutput;
|
|
119
|
+
failedReportOutput?: never;
|
|
120
|
+
$unknown?: never;
|
|
121
|
+
}
|
|
122
|
+
interface FailedReportOutputMember {
|
|
123
|
+
s3ReportOutput?: never;
|
|
124
|
+
failedReportOutput: FailedReportOutput;
|
|
125
|
+
$unknown?: never;
|
|
126
|
+
}
|
|
127
|
+
interface $UnknownMember {
|
|
128
|
+
s3ReportOutput?: never;
|
|
129
|
+
failedReportOutput?: never;
|
|
130
|
+
$unknown: [string, any];
|
|
131
|
+
}
|
|
132
|
+
interface Visitor<T> {
|
|
133
|
+
s3ReportOutput: (value: S3ReportOutput) => T;
|
|
134
|
+
failedReportOutput: (value: FailedReportOutput) => T;
|
|
135
|
+
_: (name: string, value: any) => T;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
export interface GeneratedReport {
|
|
139
|
+
reportGenerationTime?: Date | undefined;
|
|
140
|
+
reportOutput?: ReportOutput | undefined;
|
|
141
|
+
}
|
|
101
142
|
export interface AssociatedAlarm {
|
|
102
143
|
crossAccountRole?: string | undefined;
|
|
103
144
|
externalId?: string | undefined;
|
|
104
145
|
resourceIdentifier: string | undefined;
|
|
105
146
|
alarmType: AlarmType | undefined;
|
|
106
147
|
}
|
|
148
|
+
export interface S3ReportOutputConfiguration {
|
|
149
|
+
bucketPath?: string | undefined;
|
|
150
|
+
bucketOwner?: string | undefined;
|
|
151
|
+
}
|
|
152
|
+
export type ReportOutputConfiguration =
|
|
153
|
+
| ReportOutputConfiguration.S3ConfigurationMember
|
|
154
|
+
| ReportOutputConfiguration.$UnknownMember;
|
|
155
|
+
export declare namespace ReportOutputConfiguration {
|
|
156
|
+
interface S3ConfigurationMember {
|
|
157
|
+
s3Configuration: S3ReportOutputConfiguration;
|
|
158
|
+
$unknown?: never;
|
|
159
|
+
}
|
|
160
|
+
interface $UnknownMember {
|
|
161
|
+
s3Configuration?: never;
|
|
162
|
+
$unknown: [string, any];
|
|
163
|
+
}
|
|
164
|
+
interface Visitor<T> {
|
|
165
|
+
s3Configuration: (value: S3ReportOutputConfiguration) => T;
|
|
166
|
+
_: (name: string, value: any) => T;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
export interface ReportConfiguration {
|
|
170
|
+
reportOutput?: ReportOutputConfiguration[] | undefined;
|
|
171
|
+
}
|
|
107
172
|
export interface TriggerCondition {
|
|
108
173
|
associatedAlarmName: string | undefined;
|
|
109
174
|
condition: AlarmCondition | undefined;
|
|
@@ -142,6 +207,18 @@ export interface CustomActionLambdaConfiguration {
|
|
|
142
207
|
regionToRun: RegionToRunIn | undefined;
|
|
143
208
|
ungraceful?: LambdaUngraceful | undefined;
|
|
144
209
|
}
|
|
210
|
+
export interface DocumentDbUngraceful {
|
|
211
|
+
ungraceful?: DocumentDbUngracefulBehavior | undefined;
|
|
212
|
+
}
|
|
213
|
+
export interface DocumentDbConfiguration {
|
|
214
|
+
timeoutMinutes?: number | undefined;
|
|
215
|
+
crossAccountRole?: string | undefined;
|
|
216
|
+
externalId?: string | undefined;
|
|
217
|
+
behavior: DocumentDbDefaultBehavior | undefined;
|
|
218
|
+
ungraceful?: DocumentDbUngraceful | undefined;
|
|
219
|
+
globalClusterIdentifier: string | undefined;
|
|
220
|
+
databaseClusterArns: string[] | undefined;
|
|
221
|
+
}
|
|
145
222
|
export interface Asg {
|
|
146
223
|
crossAccountRole?: string | undefined;
|
|
147
224
|
externalId?: string | undefined;
|
|
@@ -295,12 +372,24 @@ export interface Route53HealthCheck {
|
|
|
295
372
|
hostedZoneId: string | undefined;
|
|
296
373
|
recordName: string | undefined;
|
|
297
374
|
healthCheckId?: string | undefined;
|
|
375
|
+
status?: Route53HealthCheckStatus | undefined;
|
|
298
376
|
region: string | undefined;
|
|
299
377
|
}
|
|
300
378
|
export interface ListRoute53HealthChecksResponse {
|
|
301
379
|
healthChecks?: Route53HealthCheck[] | undefined;
|
|
302
380
|
nextToken?: string | undefined;
|
|
303
381
|
}
|
|
382
|
+
export interface ListRoute53HealthChecksInRegionRequest {
|
|
383
|
+
arn: string | undefined;
|
|
384
|
+
hostedZoneId?: string | undefined;
|
|
385
|
+
recordName?: string | undefined;
|
|
386
|
+
maxResults?: number | undefined;
|
|
387
|
+
nextToken?: string | undefined;
|
|
388
|
+
}
|
|
389
|
+
export interface ListRoute53HealthChecksInRegionResponse {
|
|
390
|
+
healthChecks?: Route53HealthCheck[] | undefined;
|
|
391
|
+
nextToken?: string | undefined;
|
|
392
|
+
}
|
|
304
393
|
export interface DeletePlanRequest {
|
|
305
394
|
arn: string | undefined;
|
|
306
395
|
}
|
|
@@ -365,6 +454,7 @@ export interface UpdatePlanExecutionStepResponse {}
|
|
|
365
454
|
export type ExecutionBlockConfiguration =
|
|
366
455
|
| ExecutionBlockConfiguration.ArcRoutingControlConfigMember
|
|
367
456
|
| ExecutionBlockConfiguration.CustomActionLambdaConfigMember
|
|
457
|
+
| ExecutionBlockConfiguration.DocumentDbConfigMember
|
|
368
458
|
| ExecutionBlockConfiguration.Ec2AsgCapacityIncreaseConfigMember
|
|
369
459
|
| ExecutionBlockConfiguration.EcsCapacityIncreaseConfigMember
|
|
370
460
|
| ExecutionBlockConfiguration.EksResourceScalingConfigMember
|
|
@@ -386,6 +476,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
386
476
|
ecsCapacityIncreaseConfig?: never;
|
|
387
477
|
eksResourceScalingConfig?: never;
|
|
388
478
|
route53HealthCheckConfig?: never;
|
|
479
|
+
documentDbConfig?: never;
|
|
389
480
|
$unknown?: never;
|
|
390
481
|
}
|
|
391
482
|
interface Ec2AsgCapacityIncreaseConfigMember {
|
|
@@ -399,6 +490,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
399
490
|
ecsCapacityIncreaseConfig?: never;
|
|
400
491
|
eksResourceScalingConfig?: never;
|
|
401
492
|
route53HealthCheckConfig?: never;
|
|
493
|
+
documentDbConfig?: never;
|
|
402
494
|
$unknown?: never;
|
|
403
495
|
}
|
|
404
496
|
interface ExecutionApprovalConfigMember {
|
|
@@ -412,6 +504,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
412
504
|
ecsCapacityIncreaseConfig?: never;
|
|
413
505
|
eksResourceScalingConfig?: never;
|
|
414
506
|
route53HealthCheckConfig?: never;
|
|
507
|
+
documentDbConfig?: never;
|
|
415
508
|
$unknown?: never;
|
|
416
509
|
}
|
|
417
510
|
interface ArcRoutingControlConfigMember {
|
|
@@ -425,6 +518,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
425
518
|
ecsCapacityIncreaseConfig?: never;
|
|
426
519
|
eksResourceScalingConfig?: never;
|
|
427
520
|
route53HealthCheckConfig?: never;
|
|
521
|
+
documentDbConfig?: never;
|
|
428
522
|
$unknown?: never;
|
|
429
523
|
}
|
|
430
524
|
interface GlobalAuroraConfigMember {
|
|
@@ -438,6 +532,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
438
532
|
ecsCapacityIncreaseConfig?: never;
|
|
439
533
|
eksResourceScalingConfig?: never;
|
|
440
534
|
route53HealthCheckConfig?: never;
|
|
535
|
+
documentDbConfig?: never;
|
|
441
536
|
$unknown?: never;
|
|
442
537
|
}
|
|
443
538
|
interface ParallelConfigMember {
|
|
@@ -451,6 +546,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
451
546
|
ecsCapacityIncreaseConfig?: never;
|
|
452
547
|
eksResourceScalingConfig?: never;
|
|
453
548
|
route53HealthCheckConfig?: never;
|
|
549
|
+
documentDbConfig?: never;
|
|
454
550
|
$unknown?: never;
|
|
455
551
|
}
|
|
456
552
|
interface RegionSwitchPlanConfigMember {
|
|
@@ -464,6 +560,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
464
560
|
ecsCapacityIncreaseConfig?: never;
|
|
465
561
|
eksResourceScalingConfig?: never;
|
|
466
562
|
route53HealthCheckConfig?: never;
|
|
563
|
+
documentDbConfig?: never;
|
|
467
564
|
$unknown?: never;
|
|
468
565
|
}
|
|
469
566
|
interface EcsCapacityIncreaseConfigMember {
|
|
@@ -477,6 +574,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
477
574
|
ecsCapacityIncreaseConfig: EcsCapacityIncreaseConfiguration;
|
|
478
575
|
eksResourceScalingConfig?: never;
|
|
479
576
|
route53HealthCheckConfig?: never;
|
|
577
|
+
documentDbConfig?: never;
|
|
480
578
|
$unknown?: never;
|
|
481
579
|
}
|
|
482
580
|
interface EksResourceScalingConfigMember {
|
|
@@ -490,6 +588,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
490
588
|
ecsCapacityIncreaseConfig?: never;
|
|
491
589
|
eksResourceScalingConfig: EksResourceScalingConfiguration;
|
|
492
590
|
route53HealthCheckConfig?: never;
|
|
591
|
+
documentDbConfig?: never;
|
|
493
592
|
$unknown?: never;
|
|
494
593
|
}
|
|
495
594
|
interface Route53HealthCheckConfigMember {
|
|
@@ -503,6 +602,21 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
503
602
|
ecsCapacityIncreaseConfig?: never;
|
|
504
603
|
eksResourceScalingConfig?: never;
|
|
505
604
|
route53HealthCheckConfig: Route53HealthCheckConfiguration;
|
|
605
|
+
documentDbConfig?: never;
|
|
606
|
+
$unknown?: never;
|
|
607
|
+
}
|
|
608
|
+
interface DocumentDbConfigMember {
|
|
609
|
+
customActionLambdaConfig?: never;
|
|
610
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
611
|
+
executionApprovalConfig?: never;
|
|
612
|
+
arcRoutingControlConfig?: never;
|
|
613
|
+
globalAuroraConfig?: never;
|
|
614
|
+
parallelConfig?: never;
|
|
615
|
+
regionSwitchPlanConfig?: never;
|
|
616
|
+
ecsCapacityIncreaseConfig?: never;
|
|
617
|
+
eksResourceScalingConfig?: never;
|
|
618
|
+
route53HealthCheckConfig?: never;
|
|
619
|
+
documentDbConfig: DocumentDbConfiguration;
|
|
506
620
|
$unknown?: never;
|
|
507
621
|
}
|
|
508
622
|
interface $UnknownMember {
|
|
@@ -516,6 +630,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
516
630
|
ecsCapacityIncreaseConfig?: never;
|
|
517
631
|
eksResourceScalingConfig?: never;
|
|
518
632
|
route53HealthCheckConfig?: never;
|
|
633
|
+
documentDbConfig?: never;
|
|
519
634
|
$unknown: [string, any];
|
|
520
635
|
}
|
|
521
636
|
interface Visitor<T> {
|
|
@@ -531,6 +646,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
531
646
|
ecsCapacityIncreaseConfig: (value: EcsCapacityIncreaseConfiguration) => T;
|
|
532
647
|
eksResourceScalingConfig: (value: EksResourceScalingConfiguration) => T;
|
|
533
648
|
route53HealthCheckConfig: (value: Route53HealthCheckConfiguration) => T;
|
|
649
|
+
documentDbConfig: (value: DocumentDbConfiguration) => T;
|
|
534
650
|
_: (name: string, value: any) => T;
|
|
535
651
|
}
|
|
536
652
|
}
|
|
@@ -556,6 +672,7 @@ export interface CreatePlanRequest {
|
|
|
556
672
|
recoveryTimeObjectiveMinutes?: number | undefined;
|
|
557
673
|
associatedAlarms?: Record<string, AssociatedAlarm> | undefined;
|
|
558
674
|
triggers?: Trigger[] | undefined;
|
|
675
|
+
reportConfiguration?: ReportConfiguration | undefined;
|
|
559
676
|
name: string | undefined;
|
|
560
677
|
regions: string[] | undefined;
|
|
561
678
|
recoveryApproach: RecoveryApproach | undefined;
|
|
@@ -570,6 +687,7 @@ export interface Plan {
|
|
|
570
687
|
recoveryTimeObjectiveMinutes?: number | undefined;
|
|
571
688
|
associatedAlarms?: Record<string, AssociatedAlarm> | undefined;
|
|
572
689
|
triggers?: Trigger[] | undefined;
|
|
690
|
+
reportConfiguration?: ReportConfiguration | undefined;
|
|
573
691
|
name: string | undefined;
|
|
574
692
|
regions: string[] | undefined;
|
|
575
693
|
recoveryApproach: RecoveryApproach | undefined;
|
|
@@ -586,6 +704,7 @@ export interface UpdatePlanRequest {
|
|
|
586
704
|
recoveryTimeObjectiveMinutes?: number | undefined;
|
|
587
705
|
associatedAlarms?: Record<string, AssociatedAlarm> | undefined;
|
|
588
706
|
triggers?: Trigger[] | undefined;
|
|
707
|
+
reportConfiguration?: ReportConfiguration | undefined;
|
|
589
708
|
}
|
|
590
709
|
export interface CreatePlanResponse {
|
|
591
710
|
plan?: Plan | undefined;
|
|
@@ -605,6 +724,7 @@ export interface GetPlanExecutionResponse {
|
|
|
605
724
|
stepStates?: StepState[] | undefined;
|
|
606
725
|
plan?: Plan | undefined;
|
|
607
726
|
actualRecoveryTime?: string | undefined;
|
|
727
|
+
generatedReportDetails?: GeneratedReport[] | undefined;
|
|
608
728
|
nextToken?: string | undefined;
|
|
609
729
|
}
|
|
610
730
|
export interface GetPlanInRegionResponse {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListRoute53HealthChecksInRegionCommandInput,
|
|
4
|
+
ListRoute53HealthChecksInRegionCommandOutput,
|
|
5
|
+
} from "../commands/ListRoute53HealthChecksInRegionCommand";
|
|
6
|
+
import { ARCRegionSwitchPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListRoute53HealthChecksInRegion: (
|
|
8
|
+
config: ARCRegionSwitchPaginationConfiguration,
|
|
9
|
+
input: ListRoute53HealthChecksInRegionCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListRoute53HealthChecksInRegionCommandOutput>;
|
|
@@ -5,4 +5,5 @@ export * from "./ListPlanExecutionEventsPaginator";
|
|
|
5
5
|
export * from "./ListPlanExecutionsPaginator";
|
|
6
6
|
export * from "./ListPlansInRegionPaginator";
|
|
7
7
|
export * from "./ListPlansPaginator";
|
|
8
|
+
export * from "./ListRoute53HealthChecksInRegionPaginator";
|
|
8
9
|
export * from "./ListRoute53HealthChecksPaginator";
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
StaticErrorSchema,
|
|
3
3
|
StaticOperationSchema,
|
|
4
4
|
StaticStructureSchema,
|
|
5
|
+
StaticUnionSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
6
7
|
export declare var AbbreviatedExecution$: StaticStructureSchema;
|
|
7
8
|
export declare var AbbreviatedPlan$: StaticStructureSchema;
|
|
@@ -19,6 +20,8 @@ export declare var CreatePlanResponse$: StaticStructureSchema;
|
|
|
19
20
|
export declare var CustomActionLambdaConfiguration$: StaticStructureSchema;
|
|
20
21
|
export declare var DeletePlanRequest$: StaticStructureSchema;
|
|
21
22
|
export declare var DeletePlanResponse$: StaticStructureSchema;
|
|
23
|
+
export declare var DocumentDbConfiguration$: StaticStructureSchema;
|
|
24
|
+
export declare var DocumentDbUngraceful$: StaticStructureSchema;
|
|
22
25
|
export declare var Ec2AsgCapacityIncreaseConfiguration$: StaticStructureSchema;
|
|
23
26
|
export declare var Ec2Ungraceful$: StaticStructureSchema;
|
|
24
27
|
export declare var EcsCapacityIncreaseConfiguration$: StaticStructureSchema;
|
|
@@ -28,6 +31,8 @@ export declare var EksResourceScalingConfiguration$: StaticStructureSchema;
|
|
|
28
31
|
export declare var EksResourceScalingUngraceful$: StaticStructureSchema;
|
|
29
32
|
export declare var ExecutionApprovalConfiguration$: StaticStructureSchema;
|
|
30
33
|
export declare var ExecutionEvent$: StaticStructureSchema;
|
|
34
|
+
export declare var FailedReportOutput$: StaticStructureSchema;
|
|
35
|
+
export declare var GeneratedReport$: StaticStructureSchema;
|
|
31
36
|
export declare var GetPlanEvaluationStatusRequest$: StaticStructureSchema;
|
|
32
37
|
export declare var GetPlanEvaluationStatusResponse$: StaticStructureSchema;
|
|
33
38
|
export declare var GetPlanExecutionRequest$: StaticStructureSchema;
|
|
@@ -53,6 +58,8 @@ export declare var ListPlansInRegionRequest$: StaticStructureSchema;
|
|
|
53
58
|
export declare var ListPlansInRegionResponse$: StaticStructureSchema;
|
|
54
59
|
export declare var ListPlansRequest$: StaticStructureSchema;
|
|
55
60
|
export declare var ListPlansResponse$: StaticStructureSchema;
|
|
61
|
+
export declare var ListRoute53HealthChecksInRegionRequest$: StaticStructureSchema;
|
|
62
|
+
export declare var ListRoute53HealthChecksInRegionResponse$: StaticStructureSchema;
|
|
56
63
|
export declare var ListRoute53HealthChecksRequest$: StaticStructureSchema;
|
|
57
64
|
export declare var ListRoute53HealthChecksResponse$: StaticStructureSchema;
|
|
58
65
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
@@ -61,11 +68,14 @@ export declare var MinimalWorkflow$: StaticStructureSchema;
|
|
|
61
68
|
export declare var ParallelExecutionBlockConfiguration$: StaticStructureSchema;
|
|
62
69
|
export declare var Plan$: StaticStructureSchema;
|
|
63
70
|
export declare var RegionSwitchPlanConfiguration$: StaticStructureSchema;
|
|
71
|
+
export declare var ReportConfiguration$: StaticStructureSchema;
|
|
64
72
|
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
65
73
|
export declare var ResourceWarning$: StaticStructureSchema;
|
|
66
74
|
export declare var Route53HealthCheck$: StaticStructureSchema;
|
|
67
75
|
export declare var Route53HealthCheckConfiguration$: StaticStructureSchema;
|
|
68
76
|
export declare var Route53ResourceRecordSet$: StaticStructureSchema;
|
|
77
|
+
export declare var S3ReportOutput$: StaticStructureSchema;
|
|
78
|
+
export declare var S3ReportOutputConfiguration$: StaticStructureSchema;
|
|
69
79
|
export declare var Service$: StaticStructureSchema;
|
|
70
80
|
export declare var StartPlanExecutionRequest$: StaticStructureSchema;
|
|
71
81
|
export declare var StartPlanExecutionResponse$: StaticStructureSchema;
|
|
@@ -85,7 +95,9 @@ export declare var UpdatePlanRequest$: StaticStructureSchema;
|
|
|
85
95
|
export declare var UpdatePlanResponse$: StaticStructureSchema;
|
|
86
96
|
export declare var Workflow$: StaticStructureSchema;
|
|
87
97
|
export declare var ARCRegionSwitchServiceException$: StaticErrorSchema;
|
|
88
|
-
export declare var ExecutionBlockConfiguration$:
|
|
98
|
+
export declare var ExecutionBlockConfiguration$: StaticUnionSchema;
|
|
99
|
+
export declare var ReportOutput$: StaticUnionSchema;
|
|
100
|
+
export declare var ReportOutputConfiguration$: StaticUnionSchema;
|
|
89
101
|
export declare var ApprovePlanExecutionStep$: StaticOperationSchema;
|
|
90
102
|
export declare var CancelPlanExecution$: StaticOperationSchema;
|
|
91
103
|
export declare var CreatePlan$: StaticOperationSchema;
|
|
@@ -99,6 +111,7 @@ export declare var ListPlanExecutions$: StaticOperationSchema;
|
|
|
99
111
|
export declare var ListPlans$: StaticOperationSchema;
|
|
100
112
|
export declare var ListPlansInRegion$: StaticOperationSchema;
|
|
101
113
|
export declare var ListRoute53HealthChecks$: StaticOperationSchema;
|
|
114
|
+
export declare var ListRoute53HealthChecksInRegion$: StaticOperationSchema;
|
|
102
115
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
103
116
|
export declare var StartPlanExecution$: StaticOperationSchema;
|
|
104
117
|
export declare var TagResource$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-arc-region-switch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Arc Region Switch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.956.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-arc-region-switch",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
38
|
-
"@smithy/hash-node": "^4.2.
|
|
39
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
40
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
-
"@smithy/middleware-stack": "^4.2.
|
|
45
|
-
"@smithy/node-config-provider": "^4.3.
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
47
|
-
"@smithy/protocol-http": "^5.3.
|
|
48
|
-
"@smithy/smithy-client": "^4.10.
|
|
49
|
-
"@smithy/types": "^4.
|
|
50
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "3.956.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.956.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.956.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.956.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.956.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.956.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.956.0",
|
|
31
|
+
"@aws-sdk/types": "3.956.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.956.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.956.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.956.0",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.5",
|
|
36
|
+
"@smithy/core": "^3.20.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.8",
|
|
38
|
+
"@smithy/hash-node": "^4.2.7",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.7",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.7",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.1",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.17",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.8",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.7",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.7",
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.7",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.7",
|
|
48
|
+
"@smithy/smithy-client": "^4.10.2",
|
|
49
|
+
"@smithy/types": "^4.11.0",
|
|
50
|
+
"@smithy/url-parser": "^4.2.7",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
-
"@smithy/util-endpoints": "^3.2.
|
|
57
|
-
"@smithy/util-middleware": "^4.2.
|
|
58
|
-
"@smithy/util-retry": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.16",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.19",
|
|
56
|
+
"@smithy/util-endpoints": "^3.2.7",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.7",
|
|
58
|
+
"@smithy/util-retry": "^4.2.7",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.0",
|
|
60
|
-
"@smithy/util-waiter": "^4.2.
|
|
60
|
+
"@smithy/util-waiter": "^4.2.7",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|