@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AlarmCondition, AlarmType, Approval, Ec2AsgCapacityMonitoringApproach, EcsCapacityMonitoringApproach, EksCapacityMonitoringApproach, EvaluationStatus, ExecutionAction, ExecutionBlockType, ExecutionEventType, ExecutionMode, ExecutionState, GlobalAuroraDefaultBehavior, GlobalAuroraUngracefulBehavior, LambdaUngracefulBehavior, RecoveryApproach, RegionToRunIn, ResourceWarningStatus, RoutingControlStateChange, StepStatus, UpdatePlanExecutionAction, UpdatePlanExecutionStepAction, WorkflowTargetAction } from "./enums";
|
|
1
|
+
import { AlarmCondition, AlarmType, Approval, DocumentDbDefaultBehavior, DocumentDbUngracefulBehavior, Ec2AsgCapacityMonitoringApproach, EcsCapacityMonitoringApproach, EksCapacityMonitoringApproach, EvaluationStatus, ExecutionAction, ExecutionBlockType, ExecutionEventType, ExecutionMode, ExecutionState, FailedReportErrorCode, GlobalAuroraDefaultBehavior, GlobalAuroraUngracefulBehavior, LambdaUngracefulBehavior, RecoveryApproach, RegionToRunIn, ResourceWarningStatus, Route53HealthCheckStatus, RoutingControlStateChange, StepStatus, UpdatePlanExecutionAction, UpdatePlanExecutionStepAction, WorkflowTargetAction } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>A summarized representation of a plan execution. This structure contains key information about an execution without all the detailed step data.</p>
|
|
4
4
|
* @public
|
|
@@ -333,6 +333,94 @@ export interface GetPlanExecutionRequest {
|
|
|
333
333
|
*/
|
|
334
334
|
nextToken?: string | undefined;
|
|
335
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* <p>Information about a report generation that failed.</p>
|
|
338
|
+
* @public
|
|
339
|
+
*/
|
|
340
|
+
export interface FailedReportOutput {
|
|
341
|
+
/**
|
|
342
|
+
* <p>The error code for the failed report generation.</p>
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
errorCode?: FailedReportErrorCode | undefined;
|
|
346
|
+
/**
|
|
347
|
+
* <p>The error message for the failed report generation.</p>
|
|
348
|
+
* @public
|
|
349
|
+
*/
|
|
350
|
+
errorMessage?: string | undefined;
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* <p>Information about a report delivered to Amazon S3.</p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
export interface S3ReportOutput {
|
|
357
|
+
/**
|
|
358
|
+
* <p>The S3 object key where the generated report is stored.</p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
s3ObjectKey?: string | undefined;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* <p>The output location or cause of a failure in report generation.</p>
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
export type ReportOutput = ReportOutput.FailedReportOutputMember | ReportOutput.S3ReportOutputMember | ReportOutput.$UnknownMember;
|
|
368
|
+
/**
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
export declare namespace ReportOutput {
|
|
372
|
+
/**
|
|
373
|
+
* <p>Information about a report delivered to Amazon S3.</p>
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
interface S3ReportOutputMember {
|
|
377
|
+
s3ReportOutput: S3ReportOutput;
|
|
378
|
+
failedReportOutput?: never;
|
|
379
|
+
$unknown?: never;
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* <p>The details about a failed report generation.</p>
|
|
383
|
+
* @public
|
|
384
|
+
*/
|
|
385
|
+
interface FailedReportOutputMember {
|
|
386
|
+
s3ReportOutput?: never;
|
|
387
|
+
failedReportOutput: FailedReportOutput;
|
|
388
|
+
$unknown?: never;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
interface $UnknownMember {
|
|
394
|
+
s3ReportOutput?: never;
|
|
395
|
+
failedReportOutput?: never;
|
|
396
|
+
$unknown: [string, any];
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* @deprecated unused in schema-serde mode.
|
|
400
|
+
*
|
|
401
|
+
*/
|
|
402
|
+
interface Visitor<T> {
|
|
403
|
+
s3ReportOutput: (value: S3ReportOutput) => T;
|
|
404
|
+
failedReportOutput: (value: FailedReportOutput) => T;
|
|
405
|
+
_: (name: string, value: any) => T;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* <p>Information about a generated execution report.</p>
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
412
|
+
export interface GeneratedReport {
|
|
413
|
+
/**
|
|
414
|
+
* <p>The timestamp when the report was generated.</p>
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
reportGenerationTime?: Date | undefined;
|
|
418
|
+
/**
|
|
419
|
+
* <p>The output location or cause of a failure in report generation.</p>
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
reportOutput?: ReportOutput | undefined;
|
|
423
|
+
}
|
|
336
424
|
/**
|
|
337
425
|
* <p>An Amazon CloudWatch alarm associated with a Region switch plan. These alarms can be used to trigger automatic execution of the plan.</p>
|
|
338
426
|
* @public
|
|
@@ -359,6 +447,66 @@ export interface AssociatedAlarm {
|
|
|
359
447
|
*/
|
|
360
448
|
alarmType: AlarmType | undefined;
|
|
361
449
|
}
|
|
450
|
+
/**
|
|
451
|
+
* <p>Configuration for delivering generated reports to an Amazon S3 bucket.</p>
|
|
452
|
+
* @public
|
|
453
|
+
*/
|
|
454
|
+
export interface S3ReportOutputConfiguration {
|
|
455
|
+
/**
|
|
456
|
+
* <p>The S3 bucket name and optional prefix where reports are stored. Format: bucket-name or bucket-name/prefix.</p>
|
|
457
|
+
* @public
|
|
458
|
+
*/
|
|
459
|
+
bucketPath?: string | undefined;
|
|
460
|
+
/**
|
|
461
|
+
* <p>The Amazon Web Services account ID that owns the S3 bucket. Required to ensure the bucket is still owned by the same expected owner at generation time.</p>
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
464
|
+
bucketOwner?: string | undefined;
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* <p>Configuration for report output destinations used in a Region switch plan.</p>
|
|
468
|
+
* @public
|
|
469
|
+
*/
|
|
470
|
+
export type ReportOutputConfiguration = ReportOutputConfiguration.S3ConfigurationMember | ReportOutputConfiguration.$UnknownMember;
|
|
471
|
+
/**
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
export declare namespace ReportOutputConfiguration {
|
|
475
|
+
/**
|
|
476
|
+
* <p>Configuration for delivering reports to an Amazon S3 bucket.</p>
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
interface S3ConfigurationMember {
|
|
480
|
+
s3Configuration: S3ReportOutputConfiguration;
|
|
481
|
+
$unknown?: never;
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
interface $UnknownMember {
|
|
487
|
+
s3Configuration?: never;
|
|
488
|
+
$unknown: [string, any];
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* @deprecated unused in schema-serde mode.
|
|
492
|
+
*
|
|
493
|
+
*/
|
|
494
|
+
interface Visitor<T> {
|
|
495
|
+
s3Configuration: (value: S3ReportOutputConfiguration) => T;
|
|
496
|
+
_: (name: string, value: any) => T;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* <p>Configuration for automatic report generation for plan executions. When configured, Region switch automatically generates a report after each plan execution that includes execution events, plan configuration, and CloudWatch alarm states.</p>
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
export interface ReportConfiguration {
|
|
504
|
+
/**
|
|
505
|
+
* <p>The output configuration for the report.</p>
|
|
506
|
+
* @public
|
|
507
|
+
*/
|
|
508
|
+
reportOutput?: ReportOutputConfiguration[] | undefined;
|
|
509
|
+
}
|
|
362
510
|
/**
|
|
363
511
|
* <p>Defines a condition that must be met for a trigger to fire.</p>
|
|
364
512
|
* @public
|
|
@@ -511,6 +659,58 @@ export interface CustomActionLambdaConfiguration {
|
|
|
511
659
|
*/
|
|
512
660
|
ungraceful?: LambdaUngraceful | undefined;
|
|
513
661
|
}
|
|
662
|
+
/**
|
|
663
|
+
* <p>Configuration for handling failures when performing operations on DocumentDB global clusters.</p>
|
|
664
|
+
* @public
|
|
665
|
+
*/
|
|
666
|
+
export interface DocumentDbUngraceful {
|
|
667
|
+
/**
|
|
668
|
+
* <p>The settings for ungraceful execution.</p>
|
|
669
|
+
* @public
|
|
670
|
+
*/
|
|
671
|
+
ungraceful?: DocumentDbUngracefulBehavior | undefined;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* <p>Configuration for Amazon DocumentDB global clusters used in a Region switch plan.</p>
|
|
675
|
+
* @public
|
|
676
|
+
*/
|
|
677
|
+
export interface DocumentDbConfiguration {
|
|
678
|
+
/**
|
|
679
|
+
* <p>The timeout value specified for the configuration.</p>
|
|
680
|
+
* @public
|
|
681
|
+
*/
|
|
682
|
+
timeoutMinutes?: number | undefined;
|
|
683
|
+
/**
|
|
684
|
+
* <p>The cross account role for the configuration.</p>
|
|
685
|
+
* @public
|
|
686
|
+
*/
|
|
687
|
+
crossAccountRole?: string | undefined;
|
|
688
|
+
/**
|
|
689
|
+
* <p>The external ID (secret key) for the configuration.</p>
|
|
690
|
+
* @public
|
|
691
|
+
*/
|
|
692
|
+
externalId?: string | undefined;
|
|
693
|
+
/**
|
|
694
|
+
* <p>The behavior for a global cluster, that is, only allow switchover or also allow failover.</p>
|
|
695
|
+
* @public
|
|
696
|
+
*/
|
|
697
|
+
behavior: DocumentDbDefaultBehavior | undefined;
|
|
698
|
+
/**
|
|
699
|
+
* <p>The settings for ungraceful execution.</p>
|
|
700
|
+
* @public
|
|
701
|
+
*/
|
|
702
|
+
ungraceful?: DocumentDbUngraceful | undefined;
|
|
703
|
+
/**
|
|
704
|
+
* <p>The global cluster identifier for a DocumentDB global cluster.</p>
|
|
705
|
+
* @public
|
|
706
|
+
*/
|
|
707
|
+
globalClusterIdentifier: string | undefined;
|
|
708
|
+
/**
|
|
709
|
+
* <p>The database cluster Amazon Resource Names (ARNs) for a DocumentDB global cluster.</p>
|
|
710
|
+
* @public
|
|
711
|
+
*/
|
|
712
|
+
databaseClusterArns: string[] | undefined;
|
|
713
|
+
}
|
|
514
714
|
/**
|
|
515
715
|
* <p>Configuration for an Amazon EC2 Auto Scaling group used in a Region switch plan.</p>
|
|
516
716
|
* @public
|
|
@@ -1150,6 +1350,11 @@ export interface Route53HealthCheck {
|
|
|
1150
1350
|
* @public
|
|
1151
1351
|
*/
|
|
1152
1352
|
healthCheckId?: string | undefined;
|
|
1353
|
+
/**
|
|
1354
|
+
* <p>The Amazon Route 53 health check status.</p>
|
|
1355
|
+
* @public
|
|
1356
|
+
*/
|
|
1357
|
+
status?: Route53HealthCheckStatus | undefined;
|
|
1153
1358
|
/**
|
|
1154
1359
|
* <p>The Amazon Route 53 Region.</p>
|
|
1155
1360
|
* @public
|
|
@@ -1171,6 +1376,51 @@ export interface ListRoute53HealthChecksResponse {
|
|
|
1171
1376
|
*/
|
|
1172
1377
|
nextToken?: string | undefined;
|
|
1173
1378
|
}
|
|
1379
|
+
/**
|
|
1380
|
+
* @public
|
|
1381
|
+
*/
|
|
1382
|
+
export interface ListRoute53HealthChecksInRegionRequest {
|
|
1383
|
+
/**
|
|
1384
|
+
* <p>The Amazon Resource Name (ARN) of the Arc Region Switch Plan.</p>
|
|
1385
|
+
* @public
|
|
1386
|
+
*/
|
|
1387
|
+
arn: string | undefined;
|
|
1388
|
+
/**
|
|
1389
|
+
* <p>The hosted zone ID for the health checks.</p>
|
|
1390
|
+
* @public
|
|
1391
|
+
*/
|
|
1392
|
+
hostedZoneId?: string | undefined;
|
|
1393
|
+
/**
|
|
1394
|
+
* <p>The record name for the health checks.</p>
|
|
1395
|
+
* @public
|
|
1396
|
+
*/
|
|
1397
|
+
recordName?: string | undefined;
|
|
1398
|
+
/**
|
|
1399
|
+
* <p>The number of objects that you want to return with this call.</p>
|
|
1400
|
+
* @public
|
|
1401
|
+
*/
|
|
1402
|
+
maxResults?: number | undefined;
|
|
1403
|
+
/**
|
|
1404
|
+
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>nextToken</code> response to request the next page of results.</p>
|
|
1405
|
+
* @public
|
|
1406
|
+
*/
|
|
1407
|
+
nextToken?: string | undefined;
|
|
1408
|
+
}
|
|
1409
|
+
/**
|
|
1410
|
+
* @public
|
|
1411
|
+
*/
|
|
1412
|
+
export interface ListRoute53HealthChecksInRegionResponse {
|
|
1413
|
+
/**
|
|
1414
|
+
* <p>List of the health checks requested.</p>
|
|
1415
|
+
* @public
|
|
1416
|
+
*/
|
|
1417
|
+
healthChecks?: Route53HealthCheck[] | undefined;
|
|
1418
|
+
/**
|
|
1419
|
+
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>nextToken</code> response to request the next page of results.</p>
|
|
1420
|
+
* @public
|
|
1421
|
+
*/
|
|
1422
|
+
nextToken?: string | undefined;
|
|
1423
|
+
}
|
|
1174
1424
|
/**
|
|
1175
1425
|
* @public
|
|
1176
1426
|
*/
|
|
@@ -1420,7 +1670,7 @@ export interface UpdatePlanExecutionStepResponse {
|
|
|
1420
1670
|
* <p>Execution block configurations for a workflow in a Region switch plan. An execution block represents a specific type of action to perform during a Region switch.</p>
|
|
1421
1671
|
* @public
|
|
1422
1672
|
*/
|
|
1423
|
-
export type ExecutionBlockConfiguration = ExecutionBlockConfiguration.ArcRoutingControlConfigMember | ExecutionBlockConfiguration.CustomActionLambdaConfigMember | ExecutionBlockConfiguration.Ec2AsgCapacityIncreaseConfigMember | ExecutionBlockConfiguration.EcsCapacityIncreaseConfigMember | ExecutionBlockConfiguration.EksResourceScalingConfigMember | ExecutionBlockConfiguration.ExecutionApprovalConfigMember | ExecutionBlockConfiguration.GlobalAuroraConfigMember | ExecutionBlockConfiguration.ParallelConfigMember | ExecutionBlockConfiguration.RegionSwitchPlanConfigMember | ExecutionBlockConfiguration.Route53HealthCheckConfigMember | ExecutionBlockConfiguration.$UnknownMember;
|
|
1673
|
+
export type ExecutionBlockConfiguration = ExecutionBlockConfiguration.ArcRoutingControlConfigMember | ExecutionBlockConfiguration.CustomActionLambdaConfigMember | ExecutionBlockConfiguration.DocumentDbConfigMember | ExecutionBlockConfiguration.Ec2AsgCapacityIncreaseConfigMember | ExecutionBlockConfiguration.EcsCapacityIncreaseConfigMember | ExecutionBlockConfiguration.EksResourceScalingConfigMember | ExecutionBlockConfiguration.ExecutionApprovalConfigMember | ExecutionBlockConfiguration.GlobalAuroraConfigMember | ExecutionBlockConfiguration.ParallelConfigMember | ExecutionBlockConfiguration.RegionSwitchPlanConfigMember | ExecutionBlockConfiguration.Route53HealthCheckConfigMember | ExecutionBlockConfiguration.$UnknownMember;
|
|
1424
1674
|
/**
|
|
1425
1675
|
* @public
|
|
1426
1676
|
*/
|
|
@@ -1440,6 +1690,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1440
1690
|
ecsCapacityIncreaseConfig?: never;
|
|
1441
1691
|
eksResourceScalingConfig?: never;
|
|
1442
1692
|
route53HealthCheckConfig?: never;
|
|
1693
|
+
documentDbConfig?: never;
|
|
1443
1694
|
$unknown?: never;
|
|
1444
1695
|
}
|
|
1445
1696
|
/**
|
|
@@ -1457,6 +1708,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1457
1708
|
ecsCapacityIncreaseConfig?: never;
|
|
1458
1709
|
eksResourceScalingConfig?: never;
|
|
1459
1710
|
route53HealthCheckConfig?: never;
|
|
1711
|
+
documentDbConfig?: never;
|
|
1460
1712
|
$unknown?: never;
|
|
1461
1713
|
}
|
|
1462
1714
|
/**
|
|
@@ -1474,6 +1726,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1474
1726
|
ecsCapacityIncreaseConfig?: never;
|
|
1475
1727
|
eksResourceScalingConfig?: never;
|
|
1476
1728
|
route53HealthCheckConfig?: never;
|
|
1729
|
+
documentDbConfig?: never;
|
|
1477
1730
|
$unknown?: never;
|
|
1478
1731
|
}
|
|
1479
1732
|
/**
|
|
@@ -1491,6 +1744,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1491
1744
|
ecsCapacityIncreaseConfig?: never;
|
|
1492
1745
|
eksResourceScalingConfig?: never;
|
|
1493
1746
|
route53HealthCheckConfig?: never;
|
|
1747
|
+
documentDbConfig?: never;
|
|
1494
1748
|
$unknown?: never;
|
|
1495
1749
|
}
|
|
1496
1750
|
/**
|
|
@@ -1508,6 +1762,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1508
1762
|
ecsCapacityIncreaseConfig?: never;
|
|
1509
1763
|
eksResourceScalingConfig?: never;
|
|
1510
1764
|
route53HealthCheckConfig?: never;
|
|
1765
|
+
documentDbConfig?: never;
|
|
1511
1766
|
$unknown?: never;
|
|
1512
1767
|
}
|
|
1513
1768
|
/**
|
|
@@ -1525,6 +1780,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1525
1780
|
ecsCapacityIncreaseConfig?: never;
|
|
1526
1781
|
eksResourceScalingConfig?: never;
|
|
1527
1782
|
route53HealthCheckConfig?: never;
|
|
1783
|
+
documentDbConfig?: never;
|
|
1528
1784
|
$unknown?: never;
|
|
1529
1785
|
}
|
|
1530
1786
|
/**
|
|
@@ -1542,6 +1798,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1542
1798
|
ecsCapacityIncreaseConfig?: never;
|
|
1543
1799
|
eksResourceScalingConfig?: never;
|
|
1544
1800
|
route53HealthCheckConfig?: never;
|
|
1801
|
+
documentDbConfig?: never;
|
|
1545
1802
|
$unknown?: never;
|
|
1546
1803
|
}
|
|
1547
1804
|
/**
|
|
@@ -1559,6 +1816,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1559
1816
|
ecsCapacityIncreaseConfig: EcsCapacityIncreaseConfiguration;
|
|
1560
1817
|
eksResourceScalingConfig?: never;
|
|
1561
1818
|
route53HealthCheckConfig?: never;
|
|
1819
|
+
documentDbConfig?: never;
|
|
1562
1820
|
$unknown?: never;
|
|
1563
1821
|
}
|
|
1564
1822
|
/**
|
|
@@ -1576,6 +1834,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1576
1834
|
ecsCapacityIncreaseConfig?: never;
|
|
1577
1835
|
eksResourceScalingConfig: EksResourceScalingConfiguration;
|
|
1578
1836
|
route53HealthCheckConfig?: never;
|
|
1837
|
+
documentDbConfig?: never;
|
|
1579
1838
|
$unknown?: never;
|
|
1580
1839
|
}
|
|
1581
1840
|
/**
|
|
@@ -1593,6 +1852,25 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1593
1852
|
ecsCapacityIncreaseConfig?: never;
|
|
1594
1853
|
eksResourceScalingConfig?: never;
|
|
1595
1854
|
route53HealthCheckConfig: Route53HealthCheckConfiguration;
|
|
1855
|
+
documentDbConfig?: never;
|
|
1856
|
+
$unknown?: never;
|
|
1857
|
+
}
|
|
1858
|
+
/**
|
|
1859
|
+
* <p>Configuration for Amazon DocumentDB global clusters used in a Region switch plan.</p>
|
|
1860
|
+
* @public
|
|
1861
|
+
*/
|
|
1862
|
+
interface DocumentDbConfigMember {
|
|
1863
|
+
customActionLambdaConfig?: never;
|
|
1864
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
1865
|
+
executionApprovalConfig?: never;
|
|
1866
|
+
arcRoutingControlConfig?: never;
|
|
1867
|
+
globalAuroraConfig?: never;
|
|
1868
|
+
parallelConfig?: never;
|
|
1869
|
+
regionSwitchPlanConfig?: never;
|
|
1870
|
+
ecsCapacityIncreaseConfig?: never;
|
|
1871
|
+
eksResourceScalingConfig?: never;
|
|
1872
|
+
route53HealthCheckConfig?: never;
|
|
1873
|
+
documentDbConfig: DocumentDbConfiguration;
|
|
1596
1874
|
$unknown?: never;
|
|
1597
1875
|
}
|
|
1598
1876
|
/**
|
|
@@ -1609,6 +1887,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1609
1887
|
ecsCapacityIncreaseConfig?: never;
|
|
1610
1888
|
eksResourceScalingConfig?: never;
|
|
1611
1889
|
route53HealthCheckConfig?: never;
|
|
1890
|
+
documentDbConfig?: never;
|
|
1612
1891
|
$unknown: [string, any];
|
|
1613
1892
|
}
|
|
1614
1893
|
/**
|
|
@@ -1626,6 +1905,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
1626
1905
|
ecsCapacityIncreaseConfig: (value: EcsCapacityIncreaseConfiguration) => T;
|
|
1627
1906
|
eksResourceScalingConfig: (value: EksResourceScalingConfiguration) => T;
|
|
1628
1907
|
route53HealthCheckConfig: (value: Route53HealthCheckConfiguration) => T;
|
|
1908
|
+
documentDbConfig: (value: DocumentDbConfiguration) => T;
|
|
1629
1909
|
_: (name: string, value: any) => T;
|
|
1630
1910
|
}
|
|
1631
1911
|
}
|
|
@@ -1726,6 +2006,11 @@ export interface CreatePlanRequest {
|
|
|
1726
2006
|
* @public
|
|
1727
2007
|
*/
|
|
1728
2008
|
triggers?: Trigger[] | undefined;
|
|
2009
|
+
/**
|
|
2010
|
+
* <p>Configuration for automatic report generation for plan executions. When configured, Region switch automatically generates a report after each plan execution that includes execution events, plan configuration, and CloudWatch alarm states.</p>
|
|
2011
|
+
* @public
|
|
2012
|
+
*/
|
|
2013
|
+
reportConfiguration?: ReportConfiguration | undefined;
|
|
1729
2014
|
/**
|
|
1730
2015
|
* <p>The name of a Region switch plan.</p>
|
|
1731
2016
|
* @public
|
|
@@ -1792,6 +2077,11 @@ export interface Plan {
|
|
|
1792
2077
|
* @public
|
|
1793
2078
|
*/
|
|
1794
2079
|
triggers?: Trigger[] | undefined;
|
|
2080
|
+
/**
|
|
2081
|
+
* <p>The report configuration for a plan.</p>
|
|
2082
|
+
* @public
|
|
2083
|
+
*/
|
|
2084
|
+
reportConfiguration?: ReportConfiguration | undefined;
|
|
1795
2085
|
/**
|
|
1796
2086
|
* <p>The name for a plan.</p>
|
|
1797
2087
|
* @public
|
|
@@ -1867,6 +2157,11 @@ export interface UpdatePlanRequest {
|
|
|
1867
2157
|
* @public
|
|
1868
2158
|
*/
|
|
1869
2159
|
triggers?: Trigger[] | undefined;
|
|
2160
|
+
/**
|
|
2161
|
+
* <p>The updated report configuration for the plan.</p>
|
|
2162
|
+
* @public
|
|
2163
|
+
*/
|
|
2164
|
+
reportConfiguration?: ReportConfiguration | undefined;
|
|
1870
2165
|
}
|
|
1871
2166
|
/**
|
|
1872
2167
|
* @public
|
|
@@ -1952,6 +2247,11 @@ export interface GetPlanExecutionResponse {
|
|
|
1952
2247
|
* @public
|
|
1953
2248
|
*/
|
|
1954
2249
|
actualRecoveryTime?: string | undefined;
|
|
2250
|
+
/**
|
|
2251
|
+
* <p>Information about the location of a generated report, or the cause of its failure.</p>
|
|
2252
|
+
* @public
|
|
2253
|
+
*/
|
|
2254
|
+
generatedReportDetails?: GeneratedReport[] | undefined;
|
|
1955
2255
|
/**
|
|
1956
2256
|
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>nextToken</code> response to request the next page of results.</p>
|
|
1957
2257
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListRoute53HealthChecksInRegionCommandInput, ListRoute53HealthChecksInRegionCommandOutput } from "../commands/ListRoute53HealthChecksInRegionCommand";
|
|
3
|
+
import { ARCRegionSwitchPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListRoute53HealthChecksInRegion: (config: ARCRegionSwitchPaginationConfiguration, input: ListRoute53HealthChecksInRegionCommandInput, ...rest: any[]) => 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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
2
2
|
export declare var AbbreviatedExecution$: StaticStructureSchema;
|
|
3
3
|
export declare var AbbreviatedPlan$: StaticStructureSchema;
|
|
4
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
@@ -15,6 +15,8 @@ export declare var CreatePlanResponse$: StaticStructureSchema;
|
|
|
15
15
|
export declare var CustomActionLambdaConfiguration$: StaticStructureSchema;
|
|
16
16
|
export declare var DeletePlanRequest$: StaticStructureSchema;
|
|
17
17
|
export declare var DeletePlanResponse$: StaticStructureSchema;
|
|
18
|
+
export declare var DocumentDbConfiguration$: StaticStructureSchema;
|
|
19
|
+
export declare var DocumentDbUngraceful$: StaticStructureSchema;
|
|
18
20
|
export declare var Ec2AsgCapacityIncreaseConfiguration$: StaticStructureSchema;
|
|
19
21
|
export declare var Ec2Ungraceful$: StaticStructureSchema;
|
|
20
22
|
export declare var EcsCapacityIncreaseConfiguration$: StaticStructureSchema;
|
|
@@ -24,6 +26,8 @@ export declare var EksResourceScalingConfiguration$: StaticStructureSchema;
|
|
|
24
26
|
export declare var EksResourceScalingUngraceful$: StaticStructureSchema;
|
|
25
27
|
export declare var ExecutionApprovalConfiguration$: StaticStructureSchema;
|
|
26
28
|
export declare var ExecutionEvent$: StaticStructureSchema;
|
|
29
|
+
export declare var FailedReportOutput$: StaticStructureSchema;
|
|
30
|
+
export declare var GeneratedReport$: StaticStructureSchema;
|
|
27
31
|
export declare var GetPlanEvaluationStatusRequest$: StaticStructureSchema;
|
|
28
32
|
export declare var GetPlanEvaluationStatusResponse$: StaticStructureSchema;
|
|
29
33
|
export declare var GetPlanExecutionRequest$: StaticStructureSchema;
|
|
@@ -49,6 +53,8 @@ export declare var ListPlansInRegionRequest$: StaticStructureSchema;
|
|
|
49
53
|
export declare var ListPlansInRegionResponse$: StaticStructureSchema;
|
|
50
54
|
export declare var ListPlansRequest$: StaticStructureSchema;
|
|
51
55
|
export declare var ListPlansResponse$: StaticStructureSchema;
|
|
56
|
+
export declare var ListRoute53HealthChecksInRegionRequest$: StaticStructureSchema;
|
|
57
|
+
export declare var ListRoute53HealthChecksInRegionResponse$: StaticStructureSchema;
|
|
52
58
|
export declare var ListRoute53HealthChecksRequest$: StaticStructureSchema;
|
|
53
59
|
export declare var ListRoute53HealthChecksResponse$: StaticStructureSchema;
|
|
54
60
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
@@ -57,11 +63,14 @@ export declare var MinimalWorkflow$: StaticStructureSchema;
|
|
|
57
63
|
export declare var ParallelExecutionBlockConfiguration$: StaticStructureSchema;
|
|
58
64
|
export declare var Plan$: StaticStructureSchema;
|
|
59
65
|
export declare var RegionSwitchPlanConfiguration$: StaticStructureSchema;
|
|
66
|
+
export declare var ReportConfiguration$: StaticStructureSchema;
|
|
60
67
|
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
61
68
|
export declare var ResourceWarning$: StaticStructureSchema;
|
|
62
69
|
export declare var Route53HealthCheck$: StaticStructureSchema;
|
|
63
70
|
export declare var Route53HealthCheckConfiguration$: StaticStructureSchema;
|
|
64
71
|
export declare var Route53ResourceRecordSet$: StaticStructureSchema;
|
|
72
|
+
export declare var S3ReportOutput$: StaticStructureSchema;
|
|
73
|
+
export declare var S3ReportOutputConfiguration$: StaticStructureSchema;
|
|
65
74
|
export declare var Service$: StaticStructureSchema;
|
|
66
75
|
export declare var StartPlanExecutionRequest$: StaticStructureSchema;
|
|
67
76
|
export declare var StartPlanExecutionResponse$: StaticStructureSchema;
|
|
@@ -81,7 +90,9 @@ export declare var UpdatePlanRequest$: StaticStructureSchema;
|
|
|
81
90
|
export declare var UpdatePlanResponse$: StaticStructureSchema;
|
|
82
91
|
export declare var Workflow$: StaticStructureSchema;
|
|
83
92
|
export declare var ARCRegionSwitchServiceException$: StaticErrorSchema;
|
|
84
|
-
export declare var ExecutionBlockConfiguration$:
|
|
93
|
+
export declare var ExecutionBlockConfiguration$: StaticUnionSchema;
|
|
94
|
+
export declare var ReportOutput$: StaticUnionSchema;
|
|
95
|
+
export declare var ReportOutputConfiguration$: StaticUnionSchema;
|
|
85
96
|
export declare var ApprovePlanExecutionStep$: StaticOperationSchema;
|
|
86
97
|
export declare var CancelPlanExecution$: StaticOperationSchema;
|
|
87
98
|
export declare var CreatePlan$: StaticOperationSchema;
|
|
@@ -95,6 +106,7 @@ export declare var ListPlanExecutions$: StaticOperationSchema;
|
|
|
95
106
|
export declare var ListPlans$: StaticOperationSchema;
|
|
96
107
|
export declare var ListPlansInRegion$: StaticOperationSchema;
|
|
97
108
|
export declare var ListRoute53HealthChecks$: StaticOperationSchema;
|
|
109
|
+
export declare var ListRoute53HealthChecksInRegion$: StaticOperationSchema;
|
|
98
110
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
99
111
|
export declare var StartPlanExecution$: StaticOperationSchema;
|
|
100
112
|
export declare var TagResource$: StaticOperationSchema;
|
|
@@ -52,6 +52,10 @@ import {
|
|
|
52
52
|
ListRoute53HealthChecksCommandInput,
|
|
53
53
|
ListRoute53HealthChecksCommandOutput,
|
|
54
54
|
} from "./commands/ListRoute53HealthChecksCommand";
|
|
55
|
+
import {
|
|
56
|
+
ListRoute53HealthChecksInRegionCommandInput,
|
|
57
|
+
ListRoute53HealthChecksInRegionCommandOutput,
|
|
58
|
+
} from "./commands/ListRoute53HealthChecksInRegionCommand";
|
|
55
59
|
import {
|
|
56
60
|
ListTagsForResourceCommandInput,
|
|
57
61
|
ListTagsForResourceCommandOutput,
|
|
@@ -252,6 +256,19 @@ export interface ARCRegionSwitch {
|
|
|
252
256
|
options: __HttpHandlerOptions,
|
|
253
257
|
cb: (err: any, data?: ListRoute53HealthChecksCommandOutput) => void
|
|
254
258
|
): void;
|
|
259
|
+
listRoute53HealthChecksInRegion(
|
|
260
|
+
args: ListRoute53HealthChecksInRegionCommandInput,
|
|
261
|
+
options?: __HttpHandlerOptions
|
|
262
|
+
): Promise<ListRoute53HealthChecksInRegionCommandOutput>;
|
|
263
|
+
listRoute53HealthChecksInRegion(
|
|
264
|
+
args: ListRoute53HealthChecksInRegionCommandInput,
|
|
265
|
+
cb: (err: any, data?: ListRoute53HealthChecksInRegionCommandOutput) => void
|
|
266
|
+
): void;
|
|
267
|
+
listRoute53HealthChecksInRegion(
|
|
268
|
+
args: ListRoute53HealthChecksInRegionCommandInput,
|
|
269
|
+
options: __HttpHandlerOptions,
|
|
270
|
+
cb: (err: any, data?: ListRoute53HealthChecksInRegionCommandOutput) => void
|
|
271
|
+
): void;
|
|
255
272
|
listTagsForResource(
|
|
256
273
|
args: ListTagsForResourceCommandInput,
|
|
257
274
|
options?: __HttpHandlerOptions
|
|
@@ -97,6 +97,10 @@ import {
|
|
|
97
97
|
ListRoute53HealthChecksCommandInput,
|
|
98
98
|
ListRoute53HealthChecksCommandOutput,
|
|
99
99
|
} from "./commands/ListRoute53HealthChecksCommand";
|
|
100
|
+
import {
|
|
101
|
+
ListRoute53HealthChecksInRegionCommandInput,
|
|
102
|
+
ListRoute53HealthChecksInRegionCommandOutput,
|
|
103
|
+
} from "./commands/ListRoute53HealthChecksInRegionCommand";
|
|
100
104
|
import {
|
|
101
105
|
ListTagsForResourceCommandInput,
|
|
102
106
|
ListTagsForResourceCommandOutput,
|
|
@@ -146,6 +150,7 @@ export type ServiceInputTypes =
|
|
|
146
150
|
| ListPlansCommandInput
|
|
147
151
|
| ListPlansInRegionCommandInput
|
|
148
152
|
| ListRoute53HealthChecksCommandInput
|
|
153
|
+
| ListRoute53HealthChecksInRegionCommandInput
|
|
149
154
|
| ListTagsForResourceCommandInput
|
|
150
155
|
| StartPlanExecutionCommandInput
|
|
151
156
|
| TagResourceCommandInput
|
|
@@ -167,6 +172,7 @@ export type ServiceOutputTypes =
|
|
|
167
172
|
| ListPlansCommandOutput
|
|
168
173
|
| ListPlansInRegionCommandOutput
|
|
169
174
|
| ListRoute53HealthChecksCommandOutput
|
|
175
|
+
| ListRoute53HealthChecksInRegionCommandOutput
|
|
170
176
|
| ListTagsForResourceCommandOutput
|
|
171
177
|
| StartPlanExecutionCommandOutput
|
|
172
178
|
| TagResourceCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ARCRegionSwitchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ARCRegionSwitchClient";
|
|
8
|
+
import {
|
|
9
|
+
ListRoute53HealthChecksInRegionRequest,
|
|
10
|
+
ListRoute53HealthChecksInRegionResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListRoute53HealthChecksInRegionCommandInput
|
|
15
|
+
extends ListRoute53HealthChecksInRegionRequest {}
|
|
16
|
+
export interface ListRoute53HealthChecksInRegionCommandOutput
|
|
17
|
+
extends ListRoute53HealthChecksInRegionResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListRoute53HealthChecksInRegionCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListRoute53HealthChecksInRegionCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListRoute53HealthChecksInRegionCommandInput,
|
|
24
|
+
ListRoute53HealthChecksInRegionCommandOutput,
|
|
25
|
+
ARCRegionSwitchClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ListRoute53HealthChecksInRegionCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListRoute53HealthChecksInRegionCommandInput,
|
|
33
|
+
ListRoute53HealthChecksInRegionCommandOutput,
|
|
34
|
+
ARCRegionSwitchClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListRoute53HealthChecksInRegionCommand extends ListRoute53HealthChecksInRegionCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListRoute53HealthChecksInRegionRequest;
|
|
44
|
+
output: ListRoute53HealthChecksInRegionResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListRoute53HealthChecksInRegionCommandInput;
|
|
48
|
+
output: ListRoute53HealthChecksInRegionCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./ListPlanExecutionsCommand";
|
|
|
11
11
|
export * from "./ListPlansCommand";
|
|
12
12
|
export * from "./ListPlansInRegionCommand";
|
|
13
13
|
export * from "./ListRoute53HealthChecksCommand";
|
|
14
|
+
export * from "./ListRoute53HealthChecksInRegionCommand";
|
|
14
15
|
export * from "./ListTagsForResourceCommand";
|
|
15
16
|
export * from "./StartPlanExecutionCommand";
|
|
16
17
|
export * from "./TagResourceCommand";
|