aws-sdk-arcregionswitch 1.25.0 → 1.26.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-arcregionswitch/client.rb +136 -13
- data/lib/aws-sdk-arcregionswitch/client_api.rb +52 -0
- data/lib/aws-sdk-arcregionswitch/types.rb +127 -0
- data/lib/aws-sdk-arcregionswitch.rb +1 -1
- data/sig/params.rbs +26 -2
- data/sig/types.rbs +34 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a8ecd1e66e997a3d47bddf1303abb00f626ca86de6263db8f625936240d7af33
|
|
4
|
+
data.tar.gz: 3af8a7b4b292a3f8e1273a3c66f14e9431854ba03ff3b52543c569d0e25a5f4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d3e953b801891118ddc9100e48f437943e382b8ba078d0bf5d31246577180a14525902843f73db6c0f841f60e62ce1a3fa82bf390475b1735b50ebc09356720
|
|
7
|
+
data.tar.gz: b2d27b7c2965a171c7db59e0cefa5e1821a6e790ff01860e4ce90cf908c80531e48923aae7767eae3ebf332379876aa4e4ec9bdd1f704268350e348df5279631
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.26.0
|
|
@@ -848,8 +848,32 @@ module Aws::ARCRegionswitch
|
|
|
848
848
|
# ungraceful: "promoteReadReplica", # accepts promoteReadReplica
|
|
849
849
|
# },
|
|
850
850
|
# },
|
|
851
|
+
# ssm_send_command_config: {
|
|
852
|
+
# timeout_minutes: 1,
|
|
853
|
+
# region_documents: { # required
|
|
854
|
+
# "Region" => {
|
|
855
|
+
# cross_account_role: "IamRoleArn",
|
|
856
|
+
# external_id: "String",
|
|
857
|
+
# document_arn: "SsmDocumentArn", # required
|
|
858
|
+
# targets: [ # required
|
|
859
|
+
# {
|
|
860
|
+
# key: "SsmTargetKey", # required
|
|
861
|
+
# values: ["SsmTargetValue"], # required
|
|
862
|
+
# },
|
|
863
|
+
# ],
|
|
864
|
+
# parameters: {
|
|
865
|
+
# "SsmParameterKey" => ["SsmParameterValue"],
|
|
866
|
+
# },
|
|
867
|
+
# document_version: "SsmDocumentVersion",
|
|
868
|
+
# },
|
|
869
|
+
# },
|
|
870
|
+
# retry_interval_minutes: 1.0, # required
|
|
871
|
+
# ungraceful: {
|
|
872
|
+
# behavior: "skip", # accepts skip
|
|
873
|
+
# },
|
|
874
|
+
# },
|
|
851
875
|
# },
|
|
852
|
-
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase, RdsSwitchoverReadReplica
|
|
876
|
+
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase, RdsSwitchoverReadReplica, SSMSendCommand
|
|
853
877
|
# },
|
|
854
878
|
# ],
|
|
855
879
|
# workflow_target_action: "activate", # required, accepts activate, deactivate, postRecovery
|
|
@@ -1035,7 +1059,22 @@ module Aws::ARCRegionswitch
|
|
|
1035
1059
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
1036
1060
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1037
1061
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
1038
|
-
# resp.plan.workflows[0].steps[0].
|
|
1062
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.timeout_minutes #=> Integer
|
|
1063
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents #=> Hash
|
|
1064
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].cross_account_role #=> String
|
|
1065
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].external_id #=> String
|
|
1066
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_arn #=> String
|
|
1067
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets #=> Array
|
|
1068
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].key #=> String
|
|
1069
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values #=> Array
|
|
1070
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values[0] #=> String
|
|
1071
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters #=> Hash
|
|
1072
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"] #=> Array
|
|
1073
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"][0] #=> String
|
|
1074
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_version #=> String
|
|
1075
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.retry_interval_minutes #=> Float
|
|
1076
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.ungraceful.behavior #=> String, one of "skip"
|
|
1077
|
+
# resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica", "SSMSendCommand"
|
|
1039
1078
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1040
1079
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1041
1080
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1251,7 +1290,22 @@ module Aws::ARCRegionswitch
|
|
|
1251
1290
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
1252
1291
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1253
1292
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
1254
|
-
# resp.plan.workflows[0].steps[0].
|
|
1293
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.timeout_minutes #=> Integer
|
|
1294
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents #=> Hash
|
|
1295
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].cross_account_role #=> String
|
|
1296
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].external_id #=> String
|
|
1297
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_arn #=> String
|
|
1298
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets #=> Array
|
|
1299
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].key #=> String
|
|
1300
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values #=> Array
|
|
1301
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values[0] #=> String
|
|
1302
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters #=> Hash
|
|
1303
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"] #=> Array
|
|
1304
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"][0] #=> String
|
|
1305
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_version #=> String
|
|
1306
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.retry_interval_minutes #=> Float
|
|
1307
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.ungraceful.behavior #=> String, one of "skip"
|
|
1308
|
+
# resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica", "SSMSendCommand"
|
|
1255
1309
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1256
1310
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1257
1311
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1565,7 +1619,22 @@ module Aws::ARCRegionswitch
|
|
|
1565
1619
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
1566
1620
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1567
1621
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
1568
|
-
# resp.plan.workflows[0].steps[0].
|
|
1622
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.timeout_minutes #=> Integer
|
|
1623
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents #=> Hash
|
|
1624
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].cross_account_role #=> String
|
|
1625
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].external_id #=> String
|
|
1626
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_arn #=> String
|
|
1627
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets #=> Array
|
|
1628
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].key #=> String
|
|
1629
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values #=> Array
|
|
1630
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values[0] #=> String
|
|
1631
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters #=> Hash
|
|
1632
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"] #=> Array
|
|
1633
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"][0] #=> String
|
|
1634
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_version #=> String
|
|
1635
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.retry_interval_minutes #=> Float
|
|
1636
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.ungraceful.behavior #=> String, one of "skip"
|
|
1637
|
+
# resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica", "SSMSendCommand"
|
|
1569
1638
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1570
1639
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1571
1640
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1769,7 +1838,22 @@ module Aws::ARCRegionswitch
|
|
|
1769
1838
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
1770
1839
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1771
1840
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
1772
|
-
# resp.plan.workflows[0].steps[0].
|
|
1841
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.timeout_minutes #=> Integer
|
|
1842
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents #=> Hash
|
|
1843
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].cross_account_role #=> String
|
|
1844
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].external_id #=> String
|
|
1845
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_arn #=> String
|
|
1846
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets #=> Array
|
|
1847
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].key #=> String
|
|
1848
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values #=> Array
|
|
1849
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values[0] #=> String
|
|
1850
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters #=> Hash
|
|
1851
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"] #=> Array
|
|
1852
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"][0] #=> String
|
|
1853
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_version #=> String
|
|
1854
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.retry_interval_minutes #=> Float
|
|
1855
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.ungraceful.behavior #=> String, one of "skip"
|
|
1856
|
+
# resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica", "SSMSendCommand"
|
|
1773
1857
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1774
1858
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1775
1859
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1855,7 +1939,7 @@ module Aws::ARCRegionswitch
|
|
|
1855
1939
|
# resp.items[0].timestamp #=> Time
|
|
1856
1940
|
# resp.items[0].type #=> String, one of "unknown", "executionPending", "executionStarted", "executionSucceeded", "executionFailed", "executionPausing", "executionPaused", "executionCanceling", "executionCanceled", "executionPendingApproval", "executionBehaviorChangedToUngraceful", "executionBehaviorChangedToGraceful", "executionPendingChildPlanManualApproval", "executionSuccessMonitoringApplicationHealth", "stepStarted", "stepUpdate", "stepSucceeded", "stepFailed", "stepSkipped", "stepPausedByError", "stepPausedByOperator", "stepCanceled", "stepPendingApproval", "stepExecutionBehaviorChangedToUngraceful", "stepPendingApplicationHealthMonitor", "planEvaluationWarning"
|
|
1857
1941
|
# resp.items[0].step_name #=> String
|
|
1858
|
-
# resp.items[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica"
|
|
1942
|
+
# resp.items[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica", "SSMSendCommand"
|
|
1859
1943
|
# resp.items[0].resources #=> Array
|
|
1860
1944
|
# resp.items[0].resources[0] #=> String
|
|
1861
1945
|
# resp.items[0].error #=> String
|
|
@@ -2196,10 +2280,10 @@ module Aws::ARCRegionswitch
|
|
|
2196
2280
|
# resource in another Region or account in the plan.
|
|
2197
2281
|
#
|
|
2198
2282
|
# Returns the warnings for the plans that you own and for plans that are
|
|
2199
|
-
# shared with your account through
|
|
2200
|
-
#
|
|
2201
|
-
#
|
|
2202
|
-
#
|
|
2283
|
+
# shared with your account through Resource Access Manager (RAM). To
|
|
2284
|
+
# return warnings for specific plans, provide a list of plan Amazon
|
|
2285
|
+
# Resource Names (ARNs). Region switch ignores any plan ARN that you
|
|
2286
|
+
# can't access. If you don't provide any plan ARNs, Region switch
|
|
2203
2287
|
# returns the warnings for all of your accessible plans.
|
|
2204
2288
|
#
|
|
2205
2289
|
# @option params [Array<String>] :plan_arns
|
|
@@ -2705,8 +2789,32 @@ module Aws::ARCRegionswitch
|
|
|
2705
2789
|
# ungraceful: "promoteReadReplica", # accepts promoteReadReplica
|
|
2706
2790
|
# },
|
|
2707
2791
|
# },
|
|
2792
|
+
# ssm_send_command_config: {
|
|
2793
|
+
# timeout_minutes: 1,
|
|
2794
|
+
# region_documents: { # required
|
|
2795
|
+
# "Region" => {
|
|
2796
|
+
# cross_account_role: "IamRoleArn",
|
|
2797
|
+
# external_id: "String",
|
|
2798
|
+
# document_arn: "SsmDocumentArn", # required
|
|
2799
|
+
# targets: [ # required
|
|
2800
|
+
# {
|
|
2801
|
+
# key: "SsmTargetKey", # required
|
|
2802
|
+
# values: ["SsmTargetValue"], # required
|
|
2803
|
+
# },
|
|
2804
|
+
# ],
|
|
2805
|
+
# parameters: {
|
|
2806
|
+
# "SsmParameterKey" => ["SsmParameterValue"],
|
|
2807
|
+
# },
|
|
2808
|
+
# document_version: "SsmDocumentVersion",
|
|
2809
|
+
# },
|
|
2810
|
+
# },
|
|
2811
|
+
# retry_interval_minutes: 1.0, # required
|
|
2812
|
+
# ungraceful: {
|
|
2813
|
+
# behavior: "skip", # accepts skip
|
|
2814
|
+
# },
|
|
2815
|
+
# },
|
|
2708
2816
|
# },
|
|
2709
|
-
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase, RdsSwitchoverReadReplica
|
|
2817
|
+
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping, AuroraServerlessScaling, AuroraProvisionedScaling, NeptuneGlobalDatabase, RdsSwitchoverReadReplica, SSMSendCommand
|
|
2710
2818
|
# },
|
|
2711
2819
|
# ],
|
|
2712
2820
|
# workflow_target_action: "activate", # required, accepts activate, deactivate, postRecovery
|
|
@@ -2885,7 +2993,22 @@ module Aws::ARCRegionswitch
|
|
|
2885
2993
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map #=> Hash
|
|
2886
2994
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
2887
2995
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_switchover_read_replica_config.ungraceful.ungraceful #=> String, one of "promoteReadReplica"
|
|
2888
|
-
# resp.plan.workflows[0].steps[0].
|
|
2996
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.timeout_minutes #=> Integer
|
|
2997
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents #=> Hash
|
|
2998
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].cross_account_role #=> String
|
|
2999
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].external_id #=> String
|
|
3000
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_arn #=> String
|
|
3001
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets #=> Array
|
|
3002
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].key #=> String
|
|
3003
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values #=> Array
|
|
3004
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].targets[0].values[0] #=> String
|
|
3005
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters #=> Hash
|
|
3006
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"] #=> Array
|
|
3007
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].parameters["SsmParameterKey"][0] #=> String
|
|
3008
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.region_documents["Region"].document_version #=> String
|
|
3009
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.retry_interval_minutes #=> Float
|
|
3010
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.ssm_send_command_config.ungraceful.behavior #=> String, one of "skip"
|
|
3011
|
+
# resp.plan.workflows[0].steps[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping", "AuroraServerlessScaling", "AuroraProvisionedScaling", "NeptuneGlobalDatabase", "RdsSwitchoverReadReplica", "SSMSendCommand"
|
|
2889
3012
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
2890
3013
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
2891
3014
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -3024,7 +3147,7 @@ module Aws::ARCRegionswitch
|
|
|
3024
3147
|
tracer: tracer
|
|
3025
3148
|
)
|
|
3026
3149
|
context[:gem_name] = 'aws-sdk-arcregionswitch'
|
|
3027
|
-
context[:gem_version] = '1.
|
|
3150
|
+
context[:gem_version] = '1.26.0'
|
|
3028
3151
|
Seahorse::Client::Request.new(handlers, context)
|
|
3029
3152
|
end
|
|
3030
3153
|
|
|
@@ -194,6 +194,7 @@ module Aws::ARCRegionswitch
|
|
|
194
194
|
RegionEventSourceMappingMap = Shapes::MapShape.new(name: 'RegionEventSourceMappingMap')
|
|
195
195
|
RegionList = Shapes::ListShape.new(name: 'RegionList')
|
|
196
196
|
RegionNeptuneClusterArnMap = Shapes::MapShape.new(name: 'RegionNeptuneClusterArnMap')
|
|
197
|
+
RegionSsmDocumentMap = Shapes::MapShape.new(name: 'RegionSsmDocumentMap')
|
|
197
198
|
RegionSwitchPlanConfiguration = Shapes::StructureShape.new(name: 'RegionSwitchPlanConfiguration')
|
|
198
199
|
RegionToRunIn = Shapes::StringShape.new(name: 'RegionToRunIn')
|
|
199
200
|
RegionalScalingResource = Shapes::MapShape.new(name: 'RegionalScalingResource')
|
|
@@ -228,6 +229,22 @@ module Aws::ARCRegionswitch
|
|
|
228
229
|
ServiceQuotaWarningStatus = Shapes::StringShape.new(name: 'ServiceQuotaWarningStatus')
|
|
229
230
|
ServiceQuotaWarningSummary = Shapes::StructureShape.new(name: 'ServiceQuotaWarningSummary')
|
|
230
231
|
ServiceQuotaWarningSummaryList = Shapes::ListShape.new(name: 'ServiceQuotaWarningSummaryList')
|
|
232
|
+
SsmDocumentArn = Shapes::StringShape.new(name: 'SsmDocumentArn')
|
|
233
|
+
SsmDocumentConfig = Shapes::StructureShape.new(name: 'SsmDocumentConfig')
|
|
234
|
+
SsmDocumentParameters = Shapes::MapShape.new(name: 'SsmDocumentParameters')
|
|
235
|
+
SsmDocumentVersion = Shapes::StringShape.new(name: 'SsmDocumentVersion')
|
|
236
|
+
SsmParameterKey = Shapes::StringShape.new(name: 'SsmParameterKey')
|
|
237
|
+
SsmParameterValue = Shapes::StringShape.new(name: 'SsmParameterValue')
|
|
238
|
+
SsmParameterValues = Shapes::ListShape.new(name: 'SsmParameterValues')
|
|
239
|
+
SsmSendCommandConfiguration = Shapes::StructureShape.new(name: 'SsmSendCommandConfiguration')
|
|
240
|
+
SsmSendCommandConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'SsmSendCommandConfigurationTimeoutMinutesInteger')
|
|
241
|
+
SsmSendCommandUngraceful = Shapes::StructureShape.new(name: 'SsmSendCommandUngraceful')
|
|
242
|
+
SsmSendCommandUngracefulBehavior = Shapes::StringShape.new(name: 'SsmSendCommandUngracefulBehavior')
|
|
243
|
+
SsmTarget = Shapes::StructureShape.new(name: 'SsmTarget')
|
|
244
|
+
SsmTargetKey = Shapes::StringShape.new(name: 'SsmTargetKey')
|
|
245
|
+
SsmTargetList = Shapes::ListShape.new(name: 'SsmTargetList')
|
|
246
|
+
SsmTargetValue = Shapes::StringShape.new(name: 'SsmTargetValue')
|
|
247
|
+
SsmTargetValueList = Shapes::ListShape.new(name: 'SsmTargetValueList')
|
|
231
248
|
StartPlanExecutionRequest = Shapes::StructureShape.new(name: 'StartPlanExecutionRequest')
|
|
232
249
|
StartPlanExecutionRequestClientTokenString = Shapes::StringShape.new(name: 'StartPlanExecutionRequestClientTokenString')
|
|
233
250
|
StartPlanExecutionResponse = Shapes::StructureShape.new(name: 'StartPlanExecutionResponse')
|
|
@@ -478,6 +495,7 @@ module Aws::ARCRegionswitch
|
|
|
478
495
|
ExecutionBlockConfiguration.add_member(:aurora_provisioned_scaling_config, Shapes::ShapeRef.new(shape: AuroraProvisionedScalingConfiguration, location_name: "auroraProvisionedScalingConfig"))
|
|
479
496
|
ExecutionBlockConfiguration.add_member(:neptune_global_database_config, Shapes::ShapeRef.new(shape: NeptuneGlobalDatabaseConfiguration, location_name: "neptuneGlobalDatabaseConfig"))
|
|
480
497
|
ExecutionBlockConfiguration.add_member(:rds_switchover_read_replica_config, Shapes::ShapeRef.new(shape: RdsSwitchoverReadReplicaConfiguration, location_name: "rdsSwitchoverReadReplicaConfig"))
|
|
498
|
+
ExecutionBlockConfiguration.add_member(:ssm_send_command_config, Shapes::ShapeRef.new(shape: SsmSendCommandConfiguration, location_name: "ssmSendCommandConfig"))
|
|
481
499
|
ExecutionBlockConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
482
500
|
ExecutionBlockConfiguration.add_member_subclass(:custom_action_lambda_config, Types::ExecutionBlockConfiguration::CustomActionLambdaConfig)
|
|
483
501
|
ExecutionBlockConfiguration.add_member_subclass(:ec2_asg_capacity_increase_config, Types::ExecutionBlockConfiguration::Ec2AsgCapacityIncreaseConfig)
|
|
@@ -497,6 +515,7 @@ module Aws::ARCRegionswitch
|
|
|
497
515
|
ExecutionBlockConfiguration.add_member_subclass(:aurora_provisioned_scaling_config, Types::ExecutionBlockConfiguration::AuroraProvisionedScalingConfig)
|
|
498
516
|
ExecutionBlockConfiguration.add_member_subclass(:neptune_global_database_config, Types::ExecutionBlockConfiguration::NeptuneGlobalDatabaseConfig)
|
|
499
517
|
ExecutionBlockConfiguration.add_member_subclass(:rds_switchover_read_replica_config, Types::ExecutionBlockConfiguration::RdsSwitchoverReadReplicaConfig)
|
|
518
|
+
ExecutionBlockConfiguration.add_member_subclass(:ssm_send_command_config, Types::ExecutionBlockConfiguration::SsmSendCommandConfig)
|
|
500
519
|
ExecutionBlockConfiguration.add_member_subclass(:unknown, Types::ExecutionBlockConfiguration::Unknown)
|
|
501
520
|
ExecutionBlockConfiguration.struct_class = Types::ExecutionBlockConfiguration
|
|
502
521
|
|
|
@@ -787,6 +806,9 @@ module Aws::ARCRegionswitch
|
|
|
787
806
|
RegionNeptuneClusterArnMap.key = Shapes::ShapeRef.new(shape: Region)
|
|
788
807
|
RegionNeptuneClusterArnMap.value = Shapes::ShapeRef.new(shape: NeptuneClusterArn)
|
|
789
808
|
|
|
809
|
+
RegionSsmDocumentMap.key = Shapes::ShapeRef.new(shape: Region)
|
|
810
|
+
RegionSsmDocumentMap.value = Shapes::ShapeRef.new(shape: SsmDocumentConfig)
|
|
811
|
+
|
|
790
812
|
RegionSwitchPlanConfiguration.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
|
|
791
813
|
RegionSwitchPlanConfiguration.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
|
|
792
814
|
RegionSwitchPlanConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: PlanArn, required: true, location_name: "arn"))
|
|
@@ -882,6 +904,36 @@ module Aws::ARCRegionswitch
|
|
|
882
904
|
|
|
883
905
|
ServiceQuotaWarningSummaryList.member = Shapes::ShapeRef.new(shape: ServiceQuotaWarningSummary)
|
|
884
906
|
|
|
907
|
+
SsmDocumentConfig.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
|
|
908
|
+
SsmDocumentConfig.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
|
|
909
|
+
SsmDocumentConfig.add_member(:document_arn, Shapes::ShapeRef.new(shape: SsmDocumentArn, required: true, location_name: "documentArn"))
|
|
910
|
+
SsmDocumentConfig.add_member(:targets, Shapes::ShapeRef.new(shape: SsmTargetList, required: true, location_name: "targets"))
|
|
911
|
+
SsmDocumentConfig.add_member(:parameters, Shapes::ShapeRef.new(shape: SsmDocumentParameters, location_name: "parameters"))
|
|
912
|
+
SsmDocumentConfig.add_member(:document_version, Shapes::ShapeRef.new(shape: SsmDocumentVersion, location_name: "documentVersion"))
|
|
913
|
+
SsmDocumentConfig.struct_class = Types::SsmDocumentConfig
|
|
914
|
+
|
|
915
|
+
SsmDocumentParameters.key = Shapes::ShapeRef.new(shape: SsmParameterKey)
|
|
916
|
+
SsmDocumentParameters.value = Shapes::ShapeRef.new(shape: SsmParameterValues)
|
|
917
|
+
|
|
918
|
+
SsmParameterValues.member = Shapes::ShapeRef.new(shape: SsmParameterValue)
|
|
919
|
+
|
|
920
|
+
SsmSendCommandConfiguration.add_member(:timeout_minutes, Shapes::ShapeRef.new(shape: SsmSendCommandConfigurationTimeoutMinutesInteger, location_name: "timeoutMinutes"))
|
|
921
|
+
SsmSendCommandConfiguration.add_member(:region_documents, Shapes::ShapeRef.new(shape: RegionSsmDocumentMap, required: true, location_name: "regionDocuments"))
|
|
922
|
+
SsmSendCommandConfiguration.add_member(:retry_interval_minutes, Shapes::ShapeRef.new(shape: Float, required: true, location_name: "retryIntervalMinutes"))
|
|
923
|
+
SsmSendCommandConfiguration.add_member(:ungraceful, Shapes::ShapeRef.new(shape: SsmSendCommandUngraceful, location_name: "ungraceful"))
|
|
924
|
+
SsmSendCommandConfiguration.struct_class = Types::SsmSendCommandConfiguration
|
|
925
|
+
|
|
926
|
+
SsmSendCommandUngraceful.add_member(:behavior, Shapes::ShapeRef.new(shape: SsmSendCommandUngracefulBehavior, location_name: "behavior"))
|
|
927
|
+
SsmSendCommandUngraceful.struct_class = Types::SsmSendCommandUngraceful
|
|
928
|
+
|
|
929
|
+
SsmTarget.add_member(:key, Shapes::ShapeRef.new(shape: SsmTargetKey, required: true, location_name: "key"))
|
|
930
|
+
SsmTarget.add_member(:values, Shapes::ShapeRef.new(shape: SsmTargetValueList, required: true, location_name: "values"))
|
|
931
|
+
SsmTarget.struct_class = Types::SsmTarget
|
|
932
|
+
|
|
933
|
+
SsmTargetList.member = Shapes::ShapeRef.new(shape: SsmTarget)
|
|
934
|
+
|
|
935
|
+
SsmTargetValueList.member = Shapes::ShapeRef.new(shape: SsmTargetValue)
|
|
936
|
+
|
|
885
937
|
StartPlanExecutionRequest.add_member(:plan_arn, Shapes::ShapeRef.new(shape: PlanArn, required: true, location_name: "planArn"))
|
|
886
938
|
StartPlanExecutionRequest.add_member(:target_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetRegion"))
|
|
887
939
|
StartPlanExecutionRequest.add_member(:action, Shapes::ShapeRef.new(shape: ExecutionAction, required: true, location_name: "action"))
|
|
@@ -996,6 +996,10 @@ module Aws::ARCRegionswitch
|
|
|
996
996
|
# An Amazon RDS switchover read replica execution block.
|
|
997
997
|
# @return [Types::RdsSwitchoverReadReplicaConfiguration]
|
|
998
998
|
#
|
|
999
|
+
# @!attribute [rw] ssm_send_command_config
|
|
1000
|
+
# Specifies an AWS Systems Manager `SendCommand` execution block.
|
|
1001
|
+
# @return [Types::SsmSendCommandConfiguration]
|
|
1002
|
+
#
|
|
999
1003
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ExecutionBlockConfiguration AWS API Documentation
|
|
1000
1004
|
#
|
|
1001
1005
|
class ExecutionBlockConfiguration < Struct.new(
|
|
@@ -1017,6 +1021,7 @@ module Aws::ARCRegionswitch
|
|
|
1017
1021
|
:aurora_provisioned_scaling_config,
|
|
1018
1022
|
:neptune_global_database_config,
|
|
1019
1023
|
:rds_switchover_read_replica_config,
|
|
1024
|
+
:ssm_send_command_config,
|
|
1020
1025
|
:unknown)
|
|
1021
1026
|
SENSITIVE = []
|
|
1022
1027
|
include Aws::Structure
|
|
@@ -1040,6 +1045,7 @@ module Aws::ARCRegionswitch
|
|
|
1040
1045
|
class AuroraProvisionedScalingConfig < ExecutionBlockConfiguration; end
|
|
1041
1046
|
class NeptuneGlobalDatabaseConfig < ExecutionBlockConfiguration; end
|
|
1042
1047
|
class RdsSwitchoverReadReplicaConfig < ExecutionBlockConfiguration; end
|
|
1048
|
+
class SsmSendCommandConfig < ExecutionBlockConfiguration; end
|
|
1043
1049
|
class Unknown < ExecutionBlockConfiguration; end
|
|
1044
1050
|
end
|
|
1045
1051
|
|
|
@@ -2708,6 +2714,127 @@ module Aws::ARCRegionswitch
|
|
|
2708
2714
|
include Aws::Structure
|
|
2709
2715
|
end
|
|
2710
2716
|
|
|
2717
|
+
# The Systems Manager document to run and the managed nodes to target
|
|
2718
|
+
# for a single Amazon Web Services Region.
|
|
2719
|
+
#
|
|
2720
|
+
# @!attribute [rw] cross_account_role
|
|
2721
|
+
# The cross-account role for the configuration.
|
|
2722
|
+
# @return [String]
|
|
2723
|
+
#
|
|
2724
|
+
# @!attribute [rw] external_id
|
|
2725
|
+
# The external ID (secret key) for the configuration.
|
|
2726
|
+
# @return [String]
|
|
2727
|
+
#
|
|
2728
|
+
# @!attribute [rw] document_arn
|
|
2729
|
+
# The Amazon Resource Name (ARN) of the Systems Manager document to
|
|
2730
|
+
# run.
|
|
2731
|
+
# @return [String]
|
|
2732
|
+
#
|
|
2733
|
+
# @!attribute [rw] targets
|
|
2734
|
+
# The target filters that Systems Manager resolves to managed nodes
|
|
2735
|
+
# when the command runs. To target specific managed nodes, use the
|
|
2736
|
+
# `InstanceIds` key. You can specify up to five target filters.
|
|
2737
|
+
# @return [Array<Types::SsmTarget>]
|
|
2738
|
+
#
|
|
2739
|
+
# @!attribute [rw] parameters
|
|
2740
|
+
# The parameters that are passed to this Region's Systems Manager
|
|
2741
|
+
# document. You set parameters for each document, so each Region can
|
|
2742
|
+
# run its document with its own parameters.
|
|
2743
|
+
# @return [Hash<String,Array<String>>]
|
|
2744
|
+
#
|
|
2745
|
+
# @!attribute [rw] document_version
|
|
2746
|
+
# The version of the Systems Manager document to run for this Region.
|
|
2747
|
+
# When you omit it, Systems Manager runs the document's default
|
|
2748
|
+
# version.
|
|
2749
|
+
# @return [String]
|
|
2750
|
+
#
|
|
2751
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/SsmDocumentConfig AWS API Documentation
|
|
2752
|
+
#
|
|
2753
|
+
class SsmDocumentConfig < Struct.new(
|
|
2754
|
+
:cross_account_role,
|
|
2755
|
+
:external_id,
|
|
2756
|
+
:document_arn,
|
|
2757
|
+
:targets,
|
|
2758
|
+
:parameters,
|
|
2759
|
+
:document_version)
|
|
2760
|
+
SENSITIVE = []
|
|
2761
|
+
include Aws::Structure
|
|
2762
|
+
end
|
|
2763
|
+
|
|
2764
|
+
# Configuration for an AWS Systems Manager `SendCommand` execution block
|
|
2765
|
+
# in a Region switch plan. This execution block runs a Systems Manager
|
|
2766
|
+
# document on the managed nodes that you target in each Amazon Web
|
|
2767
|
+
# Services Region of the plan.
|
|
2768
|
+
#
|
|
2769
|
+
# @!attribute [rw] timeout_minutes
|
|
2770
|
+
# The timeout value specified for the configuration.
|
|
2771
|
+
# @return [Integer]
|
|
2772
|
+
#
|
|
2773
|
+
# @!attribute [rw] region_documents
|
|
2774
|
+
# The Systems Manager document and target configuration for each
|
|
2775
|
+
# Amazon Web Services Region in the plan. Provide an entry for each
|
|
2776
|
+
# Amazon Web Services Region that you want the command to run in.
|
|
2777
|
+
# @return [Hash<String,Types::SsmDocumentConfig>]
|
|
2778
|
+
#
|
|
2779
|
+
# @!attribute [rw] retry_interval_minutes
|
|
2780
|
+
# How often, in minutes, Region switch retries the command if it
|
|
2781
|
+
# returns a failure.
|
|
2782
|
+
# @return [Float]
|
|
2783
|
+
#
|
|
2784
|
+
# @!attribute [rw] ungraceful
|
|
2785
|
+
# Specifies the settings that determine how the execution block
|
|
2786
|
+
# behaves when the plan runs ungracefully, such as whether to skip the
|
|
2787
|
+
# command.
|
|
2788
|
+
# @return [Types::SsmSendCommandUngraceful]
|
|
2789
|
+
#
|
|
2790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/SsmSendCommandConfiguration AWS API Documentation
|
|
2791
|
+
#
|
|
2792
|
+
class SsmSendCommandConfiguration < Struct.new(
|
|
2793
|
+
:timeout_minutes,
|
|
2794
|
+
:region_documents,
|
|
2795
|
+
:retry_interval_minutes,
|
|
2796
|
+
:ungraceful)
|
|
2797
|
+
SENSITIVE = []
|
|
2798
|
+
include Aws::Structure
|
|
2799
|
+
end
|
|
2800
|
+
|
|
2801
|
+
# The ungraceful execution settings for an AWS Systems Manager
|
|
2802
|
+
# `SendCommand` execution block.
|
|
2803
|
+
#
|
|
2804
|
+
# @!attribute [rw] behavior
|
|
2805
|
+
# Specifies whether to skip running this command during an ungraceful
|
|
2806
|
+
# execution. Set to `skip` to skip the command.
|
|
2807
|
+
# @return [String]
|
|
2808
|
+
#
|
|
2809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/SsmSendCommandUngraceful AWS API Documentation
|
|
2810
|
+
#
|
|
2811
|
+
class SsmSendCommandUngraceful < Struct.new(
|
|
2812
|
+
:behavior)
|
|
2813
|
+
SENSITIVE = []
|
|
2814
|
+
include Aws::Structure
|
|
2815
|
+
end
|
|
2816
|
+
|
|
2817
|
+
# A single `SendCommand` target filter, consisting of a target key and
|
|
2818
|
+
# the values matched by that key.
|
|
2819
|
+
#
|
|
2820
|
+
# @!attribute [rw] key
|
|
2821
|
+
# The target key, such as `tag:Environment` or `InstanceIds`.
|
|
2822
|
+
# @return [String]
|
|
2823
|
+
#
|
|
2824
|
+
# @!attribute [rw] values
|
|
2825
|
+
# The values matched by this target key. Multiple values combine with
|
|
2826
|
+
# a logical OR.
|
|
2827
|
+
# @return [Array<String>]
|
|
2828
|
+
#
|
|
2829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/SsmTarget AWS API Documentation
|
|
2830
|
+
#
|
|
2831
|
+
class SsmTarget < Struct.new(
|
|
2832
|
+
:key,
|
|
2833
|
+
:values)
|
|
2834
|
+
SENSITIVE = []
|
|
2835
|
+
include Aws::Structure
|
|
2836
|
+
end
|
|
2837
|
+
|
|
2711
2838
|
# @!attribute [rw] plan_arn
|
|
2712
2839
|
# The Amazon Resource Name (ARN) of the plan to execute.
|
|
2713
2840
|
# @return [String]
|
data/sig/params.rbs
CHANGED
|
@@ -186,6 +186,15 @@ module Aws
|
|
|
186
186
|
}?
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
+
type ssm_send_command_configuration = {
|
|
190
|
+
timeout_minutes: ::Integer?,
|
|
191
|
+
region_documents: Hash[::String, Params::ssm_document_config],
|
|
192
|
+
retry_interval_minutes: ::Float,
|
|
193
|
+
ungraceful: {
|
|
194
|
+
behavior: ("skip")?
|
|
195
|
+
}?
|
|
196
|
+
}
|
|
197
|
+
|
|
189
198
|
type execution_block_configuration = {
|
|
190
199
|
custom_action_lambda_config: Params::custom_action_lambda_configuration?,
|
|
191
200
|
ec2_asg_capacity_increase_config: Params::ec2_asg_capacity_increase_configuration?,
|
|
@@ -235,14 +244,29 @@ module Aws
|
|
|
235
244
|
aurora_serverless_scaling_config: Params::aurora_serverless_scaling_configuration?,
|
|
236
245
|
aurora_provisioned_scaling_config: Params::aurora_provisioned_scaling_configuration?,
|
|
237
246
|
neptune_global_database_config: Params::neptune_global_database_configuration?,
|
|
238
|
-
rds_switchover_read_replica_config: Params::rds_switchover_read_replica_configuration
|
|
247
|
+
rds_switchover_read_replica_config: Params::rds_switchover_read_replica_configuration?,
|
|
248
|
+
ssm_send_command_config: Params::ssm_send_command_configuration?
|
|
239
249
|
}
|
|
240
250
|
|
|
241
251
|
type step = {
|
|
242
252
|
name: ::String,
|
|
243
253
|
description: ::String?,
|
|
244
254
|
execution_block_configuration: Params::execution_block_configuration,
|
|
245
|
-
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica")
|
|
255
|
+
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica" | "SSMSendCommand")
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
type ssm_document_config = {
|
|
259
|
+
cross_account_role: ::String?,
|
|
260
|
+
external_id: ::String?,
|
|
261
|
+
document_arn: ::String,
|
|
262
|
+
targets: Array[
|
|
263
|
+
{
|
|
264
|
+
key: ::String,
|
|
265
|
+
values: Array[::String]
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
parameters: Hash[::String, Array[::String]]?,
|
|
269
|
+
document_version: ::String?
|
|
246
270
|
}
|
|
247
271
|
|
|
248
272
|
type trigger = {
|
data/sig/types.rbs
CHANGED
|
@@ -264,6 +264,7 @@ module Aws::ARCRegionswitch
|
|
|
264
264
|
attr_accessor aurora_provisioned_scaling_config: Types::AuroraProvisionedScalingConfiguration
|
|
265
265
|
attr_accessor neptune_global_database_config: Types::NeptuneGlobalDatabaseConfiguration
|
|
266
266
|
attr_accessor rds_switchover_read_replica_config: Types::RdsSwitchoverReadReplicaConfiguration
|
|
267
|
+
attr_accessor ssm_send_command_config: Types::SsmSendCommandConfiguration
|
|
267
268
|
attr_accessor unknown: untyped
|
|
268
269
|
SENSITIVE: []
|
|
269
270
|
|
|
@@ -303,6 +304,8 @@ module Aws::ARCRegionswitch
|
|
|
303
304
|
end
|
|
304
305
|
class RdsSwitchoverReadReplicaConfig < ExecutionBlockConfiguration
|
|
305
306
|
end
|
|
307
|
+
class SsmSendCommandConfig < ExecutionBlockConfiguration
|
|
308
|
+
end
|
|
306
309
|
class Unknown < ExecutionBlockConfiguration
|
|
307
310
|
end
|
|
308
311
|
end
|
|
@@ -311,7 +314,7 @@ module Aws::ARCRegionswitch
|
|
|
311
314
|
attr_accessor timestamp: ::Time
|
|
312
315
|
attr_accessor type: ("unknown" | "executionPending" | "executionStarted" | "executionSucceeded" | "executionFailed" | "executionPausing" | "executionPaused" | "executionCanceling" | "executionCanceled" | "executionPendingApproval" | "executionBehaviorChangedToUngraceful" | "executionBehaviorChangedToGraceful" | "executionPendingChildPlanManualApproval" | "executionSuccessMonitoringApplicationHealth" | "stepStarted" | "stepUpdate" | "stepSucceeded" | "stepFailed" | "stepSkipped" | "stepPausedByError" | "stepPausedByOperator" | "stepCanceled" | "stepPendingApproval" | "stepExecutionBehaviorChangedToUngraceful" | "stepPendingApplicationHealthMonitor" | "planEvaluationWarning")
|
|
313
316
|
attr_accessor step_name: ::String
|
|
314
|
-
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica")
|
|
317
|
+
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica" | "SSMSendCommand")
|
|
315
318
|
attr_accessor resources: ::Array[::String]
|
|
316
319
|
attr_accessor error: ::String
|
|
317
320
|
attr_accessor description: ::String
|
|
@@ -764,6 +767,35 @@ module Aws::ARCRegionswitch
|
|
|
764
767
|
SENSITIVE: []
|
|
765
768
|
end
|
|
766
769
|
|
|
770
|
+
class SsmDocumentConfig
|
|
771
|
+
attr_accessor cross_account_role: ::String
|
|
772
|
+
attr_accessor external_id: ::String
|
|
773
|
+
attr_accessor document_arn: ::String
|
|
774
|
+
attr_accessor targets: ::Array[Types::SsmTarget]
|
|
775
|
+
attr_accessor parameters: ::Hash[::String, ::Array[::String]]
|
|
776
|
+
attr_accessor document_version: ::String
|
|
777
|
+
SENSITIVE: []
|
|
778
|
+
end
|
|
779
|
+
|
|
780
|
+
class SsmSendCommandConfiguration
|
|
781
|
+
attr_accessor timeout_minutes: ::Integer
|
|
782
|
+
attr_accessor region_documents: ::Hash[::String, Types::SsmDocumentConfig]
|
|
783
|
+
attr_accessor retry_interval_minutes: ::Float
|
|
784
|
+
attr_accessor ungraceful: Types::SsmSendCommandUngraceful
|
|
785
|
+
SENSITIVE: []
|
|
786
|
+
end
|
|
787
|
+
|
|
788
|
+
class SsmSendCommandUngraceful
|
|
789
|
+
attr_accessor behavior: ("skip")
|
|
790
|
+
SENSITIVE: []
|
|
791
|
+
end
|
|
792
|
+
|
|
793
|
+
class SsmTarget
|
|
794
|
+
attr_accessor key: ::String
|
|
795
|
+
attr_accessor values: ::Array[::String]
|
|
796
|
+
SENSITIVE: []
|
|
797
|
+
end
|
|
798
|
+
|
|
767
799
|
class StartPlanExecutionRequest
|
|
768
800
|
attr_accessor plan_arn: ::String
|
|
769
801
|
attr_accessor target_region: ::String
|
|
@@ -789,7 +821,7 @@ module Aws::ARCRegionswitch
|
|
|
789
821
|
attr_accessor name: ::String
|
|
790
822
|
attr_accessor description: ::String
|
|
791
823
|
attr_accessor execution_block_configuration: Types::ExecutionBlockConfiguration
|
|
792
|
-
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica")
|
|
824
|
+
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping" | "AuroraServerlessScaling" | "AuroraProvisionedScaling" | "NeptuneGlobalDatabase" | "RdsSwitchoverReadReplica" | "SSMSendCommand")
|
|
793
825
|
SENSITIVE: []
|
|
794
826
|
end
|
|
795
827
|
|