@aws-sdk/client-arc-region-switch 3.1150.0 → 3.1152.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/index.js +78 -22
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +73 -21
- package/dist-types/commands/CreatePlanCommand.d.ts +120 -4
- package/dist-types/commands/GetPlanCommand.d.ts +60 -2
- package/dist-types/commands/GetPlanExecutionCommand.d.ts +60 -2
- package/dist-types/commands/GetPlanInRegionCommand.d.ts +60 -2
- package/dist-types/commands/ListPlanExecutionEventsCommand.d.ts +1 -1
- package/dist-types/commands/ListServiceQuotaWarningsCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePlanCommand.d.ts +120 -4
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +146 -6
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +66 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +1 -1
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
Route53HealthCheckStatus,
|
|
29
29
|
RoutingControlStateChange,
|
|
30
30
|
ServiceQuotaWarningStatus,
|
|
31
|
+
SsmSendCommandUngracefulBehavior,
|
|
31
32
|
StepStatus,
|
|
32
33
|
UpdatePlanExecutionAction,
|
|
33
34
|
UpdatePlanExecutionStepAction,
|
|
@@ -218,6 +219,7 @@ export interface Lambdas {
|
|
|
218
219
|
crossAccountRole?: string | undefined;
|
|
219
220
|
externalId?: string | undefined;
|
|
220
221
|
arn?: string | undefined;
|
|
222
|
+
payload?: string | undefined;
|
|
221
223
|
}
|
|
222
224
|
export interface LambdaUngraceful {
|
|
223
225
|
behavior?: LambdaUngracefulBehavior | undefined;
|
|
@@ -381,6 +383,27 @@ export interface Route53HealthCheckConfiguration {
|
|
|
381
383
|
recordName: string | undefined;
|
|
382
384
|
recordSets?: Route53ResourceRecordSet[] | undefined;
|
|
383
385
|
}
|
|
386
|
+
export interface SsmTarget {
|
|
387
|
+
key: string | undefined;
|
|
388
|
+
values: string[] | undefined;
|
|
389
|
+
}
|
|
390
|
+
export interface SsmDocumentConfig {
|
|
391
|
+
crossAccountRole?: string | undefined;
|
|
392
|
+
externalId?: string | undefined;
|
|
393
|
+
documentArn: string | undefined;
|
|
394
|
+
targets: SsmTarget[] | undefined;
|
|
395
|
+
parameters?: Record<string, string[]> | undefined;
|
|
396
|
+
documentVersion?: string | undefined;
|
|
397
|
+
}
|
|
398
|
+
export interface SsmSendCommandUngraceful {
|
|
399
|
+
behavior?: SsmSendCommandUngracefulBehavior | undefined;
|
|
400
|
+
}
|
|
401
|
+
export interface SsmSendCommandConfiguration {
|
|
402
|
+
timeoutMinutes?: number | undefined;
|
|
403
|
+
regionDocuments: Record<string, SsmDocumentConfig> | undefined;
|
|
404
|
+
retryIntervalMinutes: number | undefined;
|
|
405
|
+
ungraceful?: SsmSendCommandUngraceful | undefined;
|
|
406
|
+
}
|
|
384
407
|
export interface StepState {
|
|
385
408
|
name?: string | undefined;
|
|
386
409
|
status?: StepStatus | undefined;
|
|
@@ -565,6 +588,7 @@ export type ExecutionBlockConfiguration =
|
|
|
565
588
|
| ExecutionBlockConfiguration.RdsSwitchoverReadReplicaConfigMember
|
|
566
589
|
| ExecutionBlockConfiguration.RegionSwitchPlanConfigMember
|
|
567
590
|
| ExecutionBlockConfiguration.Route53HealthCheckConfigMember
|
|
591
|
+
| ExecutionBlockConfiguration.SsmSendCommandConfigMember
|
|
568
592
|
| ExecutionBlockConfiguration.$UnknownMember;
|
|
569
593
|
export declare namespace ExecutionBlockConfiguration {
|
|
570
594
|
interface CustomActionLambdaConfigMember {
|
|
@@ -586,6 +610,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
586
610
|
auroraProvisionedScalingConfig?: never;
|
|
587
611
|
neptuneGlobalDatabaseConfig?: never;
|
|
588
612
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
613
|
+
ssmSendCommandConfig?: never;
|
|
589
614
|
$unknown?: never;
|
|
590
615
|
}
|
|
591
616
|
interface Ec2AsgCapacityIncreaseConfigMember {
|
|
@@ -607,6 +632,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
607
632
|
auroraProvisionedScalingConfig?: never;
|
|
608
633
|
neptuneGlobalDatabaseConfig?: never;
|
|
609
634
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
635
|
+
ssmSendCommandConfig?: never;
|
|
610
636
|
$unknown?: never;
|
|
611
637
|
}
|
|
612
638
|
interface ExecutionApprovalConfigMember {
|
|
@@ -628,6 +654,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
628
654
|
auroraProvisionedScalingConfig?: never;
|
|
629
655
|
neptuneGlobalDatabaseConfig?: never;
|
|
630
656
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
657
|
+
ssmSendCommandConfig?: never;
|
|
631
658
|
$unknown?: never;
|
|
632
659
|
}
|
|
633
660
|
interface ArcRoutingControlConfigMember {
|
|
@@ -649,6 +676,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
649
676
|
auroraProvisionedScalingConfig?: never;
|
|
650
677
|
neptuneGlobalDatabaseConfig?: never;
|
|
651
678
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
679
|
+
ssmSendCommandConfig?: never;
|
|
652
680
|
$unknown?: never;
|
|
653
681
|
}
|
|
654
682
|
interface GlobalAuroraConfigMember {
|
|
@@ -670,6 +698,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
670
698
|
auroraProvisionedScalingConfig?: never;
|
|
671
699
|
neptuneGlobalDatabaseConfig?: never;
|
|
672
700
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
701
|
+
ssmSendCommandConfig?: never;
|
|
673
702
|
$unknown?: never;
|
|
674
703
|
}
|
|
675
704
|
interface ParallelConfigMember {
|
|
@@ -691,6 +720,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
691
720
|
auroraProvisionedScalingConfig?: never;
|
|
692
721
|
neptuneGlobalDatabaseConfig?: never;
|
|
693
722
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
723
|
+
ssmSendCommandConfig?: never;
|
|
694
724
|
$unknown?: never;
|
|
695
725
|
}
|
|
696
726
|
interface RegionSwitchPlanConfigMember {
|
|
@@ -712,6 +742,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
712
742
|
auroraProvisionedScalingConfig?: never;
|
|
713
743
|
neptuneGlobalDatabaseConfig?: never;
|
|
714
744
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
745
|
+
ssmSendCommandConfig?: never;
|
|
715
746
|
$unknown?: never;
|
|
716
747
|
}
|
|
717
748
|
interface EcsCapacityIncreaseConfigMember {
|
|
@@ -733,6 +764,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
733
764
|
auroraProvisionedScalingConfig?: never;
|
|
734
765
|
neptuneGlobalDatabaseConfig?: never;
|
|
735
766
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
767
|
+
ssmSendCommandConfig?: never;
|
|
736
768
|
$unknown?: never;
|
|
737
769
|
}
|
|
738
770
|
interface EksResourceScalingConfigMember {
|
|
@@ -754,6 +786,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
754
786
|
auroraProvisionedScalingConfig?: never;
|
|
755
787
|
neptuneGlobalDatabaseConfig?: never;
|
|
756
788
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
789
|
+
ssmSendCommandConfig?: never;
|
|
757
790
|
$unknown?: never;
|
|
758
791
|
}
|
|
759
792
|
interface Route53HealthCheckConfigMember {
|
|
@@ -775,6 +808,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
775
808
|
auroraProvisionedScalingConfig?: never;
|
|
776
809
|
neptuneGlobalDatabaseConfig?: never;
|
|
777
810
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
811
|
+
ssmSendCommandConfig?: never;
|
|
778
812
|
$unknown?: never;
|
|
779
813
|
}
|
|
780
814
|
interface DocumentDbConfigMember {
|
|
@@ -796,6 +830,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
796
830
|
auroraProvisionedScalingConfig?: never;
|
|
797
831
|
neptuneGlobalDatabaseConfig?: never;
|
|
798
832
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
833
|
+
ssmSendCommandConfig?: never;
|
|
799
834
|
$unknown?: never;
|
|
800
835
|
}
|
|
801
836
|
interface RdsPromoteReadReplicaConfigMember {
|
|
@@ -817,6 +852,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
817
852
|
auroraProvisionedScalingConfig?: never;
|
|
818
853
|
neptuneGlobalDatabaseConfig?: never;
|
|
819
854
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
855
|
+
ssmSendCommandConfig?: never;
|
|
820
856
|
$unknown?: never;
|
|
821
857
|
}
|
|
822
858
|
interface RdsCreateCrossRegionReadReplicaConfigMember {
|
|
@@ -838,6 +874,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
838
874
|
auroraProvisionedScalingConfig?: never;
|
|
839
875
|
neptuneGlobalDatabaseConfig?: never;
|
|
840
876
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
877
|
+
ssmSendCommandConfig?: never;
|
|
841
878
|
$unknown?: never;
|
|
842
879
|
}
|
|
843
880
|
interface LambdaEventSourceMappingConfigMember {
|
|
@@ -859,6 +896,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
859
896
|
auroraProvisionedScalingConfig?: never;
|
|
860
897
|
neptuneGlobalDatabaseConfig?: never;
|
|
861
898
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
899
|
+
ssmSendCommandConfig?: never;
|
|
862
900
|
$unknown?: never;
|
|
863
901
|
}
|
|
864
902
|
interface AuroraServerlessScalingConfigMember {
|
|
@@ -880,6 +918,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
880
918
|
auroraProvisionedScalingConfig?: never;
|
|
881
919
|
neptuneGlobalDatabaseConfig?: never;
|
|
882
920
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
921
|
+
ssmSendCommandConfig?: never;
|
|
883
922
|
$unknown?: never;
|
|
884
923
|
}
|
|
885
924
|
interface AuroraProvisionedScalingConfigMember {
|
|
@@ -901,6 +940,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
901
940
|
auroraProvisionedScalingConfig: AuroraProvisionedScalingConfiguration;
|
|
902
941
|
neptuneGlobalDatabaseConfig?: never;
|
|
903
942
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
943
|
+
ssmSendCommandConfig?: never;
|
|
904
944
|
$unknown?: never;
|
|
905
945
|
}
|
|
906
946
|
interface NeptuneGlobalDatabaseConfigMember {
|
|
@@ -922,6 +962,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
922
962
|
auroraProvisionedScalingConfig?: never;
|
|
923
963
|
neptuneGlobalDatabaseConfig: NeptuneGlobalDatabaseConfiguration;
|
|
924
964
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
965
|
+
ssmSendCommandConfig?: never;
|
|
925
966
|
$unknown?: never;
|
|
926
967
|
}
|
|
927
968
|
interface RdsSwitchoverReadReplicaConfigMember {
|
|
@@ -943,6 +984,29 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
943
984
|
auroraProvisionedScalingConfig?: never;
|
|
944
985
|
neptuneGlobalDatabaseConfig?: never;
|
|
945
986
|
rdsSwitchoverReadReplicaConfig: RdsSwitchoverReadReplicaConfiguration;
|
|
987
|
+
ssmSendCommandConfig?: never;
|
|
988
|
+
$unknown?: never;
|
|
989
|
+
}
|
|
990
|
+
interface SsmSendCommandConfigMember {
|
|
991
|
+
customActionLambdaConfig?: never;
|
|
992
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
993
|
+
executionApprovalConfig?: never;
|
|
994
|
+
arcRoutingControlConfig?: never;
|
|
995
|
+
globalAuroraConfig?: never;
|
|
996
|
+
parallelConfig?: never;
|
|
997
|
+
regionSwitchPlanConfig?: never;
|
|
998
|
+
ecsCapacityIncreaseConfig?: never;
|
|
999
|
+
eksResourceScalingConfig?: never;
|
|
1000
|
+
route53HealthCheckConfig?: never;
|
|
1001
|
+
documentDbConfig?: never;
|
|
1002
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1003
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1004
|
+
lambdaEventSourceMappingConfig?: never;
|
|
1005
|
+
auroraServerlessScalingConfig?: never;
|
|
1006
|
+
auroraProvisionedScalingConfig?: never;
|
|
1007
|
+
neptuneGlobalDatabaseConfig?: never;
|
|
1008
|
+
rdsSwitchoverReadReplicaConfig?: never;
|
|
1009
|
+
ssmSendCommandConfig: SsmSendCommandConfiguration;
|
|
946
1010
|
$unknown?: never;
|
|
947
1011
|
}
|
|
948
1012
|
interface $UnknownMember {
|
|
@@ -964,6 +1028,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
964
1028
|
auroraProvisionedScalingConfig?: never;
|
|
965
1029
|
neptuneGlobalDatabaseConfig?: never;
|
|
966
1030
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
1031
|
+
ssmSendCommandConfig?: never;
|
|
967
1032
|
$unknown: [string, any];
|
|
968
1033
|
}
|
|
969
1034
|
interface Visitor<T> {
|
|
@@ -985,6 +1050,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
985
1050
|
auroraProvisionedScalingConfig: (value: AuroraProvisionedScalingConfiguration) => T;
|
|
986
1051
|
neptuneGlobalDatabaseConfig: (value: NeptuneGlobalDatabaseConfiguration) => T;
|
|
987
1052
|
rdsSwitchoverReadReplicaConfig: (value: RdsSwitchoverReadReplicaConfiguration) => T;
|
|
1053
|
+
ssmSendCommandConfig: (value: SsmSendCommandConfiguration) => T;
|
|
988
1054
|
_: (name: string, value: any) => T;
|
|
989
1055
|
}
|
|
990
1056
|
}
|
|
@@ -95,6 +95,10 @@ export declare var S3ReportOutput$: StaticStructureSchema;
|
|
|
95
95
|
export declare var S3ReportOutputConfiguration$: StaticStructureSchema;
|
|
96
96
|
export declare var Service$: StaticStructureSchema;
|
|
97
97
|
export declare var ServiceQuotaWarningSummary$: StaticStructureSchema;
|
|
98
|
+
export declare var SsmDocumentConfig$: StaticStructureSchema;
|
|
99
|
+
export declare var SsmSendCommandConfiguration$: StaticStructureSchema;
|
|
100
|
+
export declare var SsmSendCommandUngraceful$: StaticStructureSchema;
|
|
101
|
+
export declare var SsmTarget$: StaticStructureSchema;
|
|
98
102
|
export declare var StartPlanExecutionRequest$: StaticStructureSchema;
|
|
99
103
|
export declare var StartPlanExecutionResponse$: StaticStructureSchema;
|
|
100
104
|
export declare var Step$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-arc-region-switch",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1152.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Arc Region Switch Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-arc-region-switch",
|
|
6
6
|
"license": "Apache-2.0",
|