@aws-sdk/client-arc-region-switch 3.1149.0 → 3.1151.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 +53 -3
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +48 -2
- package/dist-types/commands/CreatePlanCommand.d.ts +116 -4
- package/dist-types/commands/GetPlanCommand.d.ts +58 -2
- package/dist-types/commands/GetPlanExecutionCommand.d.ts +58 -2
- package/dist-types/commands/GetPlanInRegionCommand.d.ts +58 -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 +116 -4
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +137 -2
- 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 +65 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +3 -3
|
@@ -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,
|
|
@@ -381,6 +382,27 @@ export interface Route53HealthCheckConfiguration {
|
|
|
381
382
|
recordName: string | undefined;
|
|
382
383
|
recordSets?: Route53ResourceRecordSet[] | undefined;
|
|
383
384
|
}
|
|
385
|
+
export interface SsmTarget {
|
|
386
|
+
key: string | undefined;
|
|
387
|
+
values: string[] | undefined;
|
|
388
|
+
}
|
|
389
|
+
export interface SsmDocumentConfig {
|
|
390
|
+
crossAccountRole?: string | undefined;
|
|
391
|
+
externalId?: string | undefined;
|
|
392
|
+
documentArn: string | undefined;
|
|
393
|
+
targets: SsmTarget[] | undefined;
|
|
394
|
+
parameters?: Record<string, string[]> | undefined;
|
|
395
|
+
documentVersion?: string | undefined;
|
|
396
|
+
}
|
|
397
|
+
export interface SsmSendCommandUngraceful {
|
|
398
|
+
behavior?: SsmSendCommandUngracefulBehavior | undefined;
|
|
399
|
+
}
|
|
400
|
+
export interface SsmSendCommandConfiguration {
|
|
401
|
+
timeoutMinutes?: number | undefined;
|
|
402
|
+
regionDocuments: Record<string, SsmDocumentConfig> | undefined;
|
|
403
|
+
retryIntervalMinutes: number | undefined;
|
|
404
|
+
ungraceful?: SsmSendCommandUngraceful | undefined;
|
|
405
|
+
}
|
|
384
406
|
export interface StepState {
|
|
385
407
|
name?: string | undefined;
|
|
386
408
|
status?: StepStatus | undefined;
|
|
@@ -565,6 +587,7 @@ export type ExecutionBlockConfiguration =
|
|
|
565
587
|
| ExecutionBlockConfiguration.RdsSwitchoverReadReplicaConfigMember
|
|
566
588
|
| ExecutionBlockConfiguration.RegionSwitchPlanConfigMember
|
|
567
589
|
| ExecutionBlockConfiguration.Route53HealthCheckConfigMember
|
|
590
|
+
| ExecutionBlockConfiguration.SsmSendCommandConfigMember
|
|
568
591
|
| ExecutionBlockConfiguration.$UnknownMember;
|
|
569
592
|
export declare namespace ExecutionBlockConfiguration {
|
|
570
593
|
interface CustomActionLambdaConfigMember {
|
|
@@ -586,6 +609,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
586
609
|
auroraProvisionedScalingConfig?: never;
|
|
587
610
|
neptuneGlobalDatabaseConfig?: never;
|
|
588
611
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
612
|
+
ssmSendCommandConfig?: never;
|
|
589
613
|
$unknown?: never;
|
|
590
614
|
}
|
|
591
615
|
interface Ec2AsgCapacityIncreaseConfigMember {
|
|
@@ -607,6 +631,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
607
631
|
auroraProvisionedScalingConfig?: never;
|
|
608
632
|
neptuneGlobalDatabaseConfig?: never;
|
|
609
633
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
634
|
+
ssmSendCommandConfig?: never;
|
|
610
635
|
$unknown?: never;
|
|
611
636
|
}
|
|
612
637
|
interface ExecutionApprovalConfigMember {
|
|
@@ -628,6 +653,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
628
653
|
auroraProvisionedScalingConfig?: never;
|
|
629
654
|
neptuneGlobalDatabaseConfig?: never;
|
|
630
655
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
656
|
+
ssmSendCommandConfig?: never;
|
|
631
657
|
$unknown?: never;
|
|
632
658
|
}
|
|
633
659
|
interface ArcRoutingControlConfigMember {
|
|
@@ -649,6 +675,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
649
675
|
auroraProvisionedScalingConfig?: never;
|
|
650
676
|
neptuneGlobalDatabaseConfig?: never;
|
|
651
677
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
678
|
+
ssmSendCommandConfig?: never;
|
|
652
679
|
$unknown?: never;
|
|
653
680
|
}
|
|
654
681
|
interface GlobalAuroraConfigMember {
|
|
@@ -670,6 +697,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
670
697
|
auroraProvisionedScalingConfig?: never;
|
|
671
698
|
neptuneGlobalDatabaseConfig?: never;
|
|
672
699
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
700
|
+
ssmSendCommandConfig?: never;
|
|
673
701
|
$unknown?: never;
|
|
674
702
|
}
|
|
675
703
|
interface ParallelConfigMember {
|
|
@@ -691,6 +719,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
691
719
|
auroraProvisionedScalingConfig?: never;
|
|
692
720
|
neptuneGlobalDatabaseConfig?: never;
|
|
693
721
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
722
|
+
ssmSendCommandConfig?: never;
|
|
694
723
|
$unknown?: never;
|
|
695
724
|
}
|
|
696
725
|
interface RegionSwitchPlanConfigMember {
|
|
@@ -712,6 +741,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
712
741
|
auroraProvisionedScalingConfig?: never;
|
|
713
742
|
neptuneGlobalDatabaseConfig?: never;
|
|
714
743
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
744
|
+
ssmSendCommandConfig?: never;
|
|
715
745
|
$unknown?: never;
|
|
716
746
|
}
|
|
717
747
|
interface EcsCapacityIncreaseConfigMember {
|
|
@@ -733,6 +763,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
733
763
|
auroraProvisionedScalingConfig?: never;
|
|
734
764
|
neptuneGlobalDatabaseConfig?: never;
|
|
735
765
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
766
|
+
ssmSendCommandConfig?: never;
|
|
736
767
|
$unknown?: never;
|
|
737
768
|
}
|
|
738
769
|
interface EksResourceScalingConfigMember {
|
|
@@ -754,6 +785,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
754
785
|
auroraProvisionedScalingConfig?: never;
|
|
755
786
|
neptuneGlobalDatabaseConfig?: never;
|
|
756
787
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
788
|
+
ssmSendCommandConfig?: never;
|
|
757
789
|
$unknown?: never;
|
|
758
790
|
}
|
|
759
791
|
interface Route53HealthCheckConfigMember {
|
|
@@ -775,6 +807,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
775
807
|
auroraProvisionedScalingConfig?: never;
|
|
776
808
|
neptuneGlobalDatabaseConfig?: never;
|
|
777
809
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
810
|
+
ssmSendCommandConfig?: never;
|
|
778
811
|
$unknown?: never;
|
|
779
812
|
}
|
|
780
813
|
interface DocumentDbConfigMember {
|
|
@@ -796,6 +829,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
796
829
|
auroraProvisionedScalingConfig?: never;
|
|
797
830
|
neptuneGlobalDatabaseConfig?: never;
|
|
798
831
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
832
|
+
ssmSendCommandConfig?: never;
|
|
799
833
|
$unknown?: never;
|
|
800
834
|
}
|
|
801
835
|
interface RdsPromoteReadReplicaConfigMember {
|
|
@@ -817,6 +851,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
817
851
|
auroraProvisionedScalingConfig?: never;
|
|
818
852
|
neptuneGlobalDatabaseConfig?: never;
|
|
819
853
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
854
|
+
ssmSendCommandConfig?: never;
|
|
820
855
|
$unknown?: never;
|
|
821
856
|
}
|
|
822
857
|
interface RdsCreateCrossRegionReadReplicaConfigMember {
|
|
@@ -838,6 +873,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
838
873
|
auroraProvisionedScalingConfig?: never;
|
|
839
874
|
neptuneGlobalDatabaseConfig?: never;
|
|
840
875
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
876
|
+
ssmSendCommandConfig?: never;
|
|
841
877
|
$unknown?: never;
|
|
842
878
|
}
|
|
843
879
|
interface LambdaEventSourceMappingConfigMember {
|
|
@@ -859,6 +895,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
859
895
|
auroraProvisionedScalingConfig?: never;
|
|
860
896
|
neptuneGlobalDatabaseConfig?: never;
|
|
861
897
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
898
|
+
ssmSendCommandConfig?: never;
|
|
862
899
|
$unknown?: never;
|
|
863
900
|
}
|
|
864
901
|
interface AuroraServerlessScalingConfigMember {
|
|
@@ -880,6 +917,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
880
917
|
auroraProvisionedScalingConfig?: never;
|
|
881
918
|
neptuneGlobalDatabaseConfig?: never;
|
|
882
919
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
920
|
+
ssmSendCommandConfig?: never;
|
|
883
921
|
$unknown?: never;
|
|
884
922
|
}
|
|
885
923
|
interface AuroraProvisionedScalingConfigMember {
|
|
@@ -901,6 +939,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
901
939
|
auroraProvisionedScalingConfig: AuroraProvisionedScalingConfiguration;
|
|
902
940
|
neptuneGlobalDatabaseConfig?: never;
|
|
903
941
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
942
|
+
ssmSendCommandConfig?: never;
|
|
904
943
|
$unknown?: never;
|
|
905
944
|
}
|
|
906
945
|
interface NeptuneGlobalDatabaseConfigMember {
|
|
@@ -922,6 +961,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
922
961
|
auroraProvisionedScalingConfig?: never;
|
|
923
962
|
neptuneGlobalDatabaseConfig: NeptuneGlobalDatabaseConfiguration;
|
|
924
963
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
964
|
+
ssmSendCommandConfig?: never;
|
|
925
965
|
$unknown?: never;
|
|
926
966
|
}
|
|
927
967
|
interface RdsSwitchoverReadReplicaConfigMember {
|
|
@@ -943,6 +983,29 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
943
983
|
auroraProvisionedScalingConfig?: never;
|
|
944
984
|
neptuneGlobalDatabaseConfig?: never;
|
|
945
985
|
rdsSwitchoverReadReplicaConfig: RdsSwitchoverReadReplicaConfiguration;
|
|
986
|
+
ssmSendCommandConfig?: never;
|
|
987
|
+
$unknown?: never;
|
|
988
|
+
}
|
|
989
|
+
interface SsmSendCommandConfigMember {
|
|
990
|
+
customActionLambdaConfig?: never;
|
|
991
|
+
ec2AsgCapacityIncreaseConfig?: never;
|
|
992
|
+
executionApprovalConfig?: never;
|
|
993
|
+
arcRoutingControlConfig?: never;
|
|
994
|
+
globalAuroraConfig?: never;
|
|
995
|
+
parallelConfig?: never;
|
|
996
|
+
regionSwitchPlanConfig?: never;
|
|
997
|
+
ecsCapacityIncreaseConfig?: never;
|
|
998
|
+
eksResourceScalingConfig?: never;
|
|
999
|
+
route53HealthCheckConfig?: never;
|
|
1000
|
+
documentDbConfig?: never;
|
|
1001
|
+
rdsPromoteReadReplicaConfig?: never;
|
|
1002
|
+
rdsCreateCrossRegionReadReplicaConfig?: never;
|
|
1003
|
+
lambdaEventSourceMappingConfig?: never;
|
|
1004
|
+
auroraServerlessScalingConfig?: never;
|
|
1005
|
+
auroraProvisionedScalingConfig?: never;
|
|
1006
|
+
neptuneGlobalDatabaseConfig?: never;
|
|
1007
|
+
rdsSwitchoverReadReplicaConfig?: never;
|
|
1008
|
+
ssmSendCommandConfig: SsmSendCommandConfiguration;
|
|
946
1009
|
$unknown?: never;
|
|
947
1010
|
}
|
|
948
1011
|
interface $UnknownMember {
|
|
@@ -964,6 +1027,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
964
1027
|
auroraProvisionedScalingConfig?: never;
|
|
965
1028
|
neptuneGlobalDatabaseConfig?: never;
|
|
966
1029
|
rdsSwitchoverReadReplicaConfig?: never;
|
|
1030
|
+
ssmSendCommandConfig?: never;
|
|
967
1031
|
$unknown: [string, any];
|
|
968
1032
|
}
|
|
969
1033
|
interface Visitor<T> {
|
|
@@ -985,6 +1049,7 @@ export declare namespace ExecutionBlockConfiguration {
|
|
|
985
1049
|
auroraProvisionedScalingConfig: (value: AuroraProvisionedScalingConfiguration) => T;
|
|
986
1050
|
neptuneGlobalDatabaseConfig: (value: NeptuneGlobalDatabaseConfiguration) => T;
|
|
987
1051
|
rdsSwitchoverReadReplicaConfig: (value: RdsSwitchoverReadReplicaConfiguration) => T;
|
|
1052
|
+
ssmSendCommandConfig: (value: SsmSendCommandConfiguration) => T;
|
|
988
1053
|
_: (name: string, value: any) => T;
|
|
989
1054
|
}
|
|
990
1055
|
}
|
|
@@ -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.1151.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",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
52
|
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|