aws-sdk-arcregionswitch 1.13.0 → 1.15.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-arcregionswitch/client.rb +72 -9
- data/lib/aws-sdk-arcregionswitch/client_api.rb +27 -0
- data/lib/aws-sdk-arcregionswitch/types.rb +83 -2
- data/lib/aws-sdk-arcregionswitch.rb +1 -1
- data/sig/client.rbs +26 -2
- data/sig/types.rbs +25 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8dbdf120652122340586b44f38e625f8a29a0edc7f83d86937b9f829057211b
|
|
4
|
+
data.tar.gz: 11402f0ef3b1950dfc65fa9424ac19f282348ce10a44903b63ea9a89321cee8f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51edb5df8c2df66fe10cd4ba3e9f707ec2df0c7469eb335710bcbe5b2479375130966c7e76a2c460342b976077759f4dafb950054dcb5c1f943331b5e6a72464
|
|
7
|
+
data.tar.gz: 04f542ca72f61ee23957e2ef078a080554e7b80085a9b0c9d4856d5cb6fc9ec1ca19c786233f873d0c7ede60615451d5a997fbb618ec4be1733a9fefd5059b17
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.15.0 (2026-05-13)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for enabling and disabling Lambda event source mappings in Region switch plans.
|
|
8
|
+
|
|
9
|
+
1.14.0 (2026-03-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.13.0 (2026-02-27)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.15.0
|
|
@@ -784,8 +784,22 @@ module Aws::ARCRegionswitch
|
|
|
784
784
|
# "Region" => "RdsDbInstanceArn",
|
|
785
785
|
# },
|
|
786
786
|
# },
|
|
787
|
+
# lambda_event_source_mapping_config: {
|
|
788
|
+
# timeout_minutes: 1,
|
|
789
|
+
# action: "enable", # required, accepts enable, disable
|
|
790
|
+
# region_event_source_mappings: { # required
|
|
791
|
+
# "Region" => {
|
|
792
|
+
# cross_account_role: "IamRoleArn",
|
|
793
|
+
# external_id: "String",
|
|
794
|
+
# arn: "EventSourceMappingArn", # required
|
|
795
|
+
# },
|
|
796
|
+
# },
|
|
797
|
+
# ungraceful: {
|
|
798
|
+
# behavior: "skip", # accepts skip
|
|
799
|
+
# },
|
|
800
|
+
# },
|
|
787
801
|
# },
|
|
788
|
-
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica
|
|
802
|
+
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping
|
|
789
803
|
# },
|
|
790
804
|
# ],
|
|
791
805
|
# workflow_target_action: "activate", # required, accepts activate, deactivate, postRecovery
|
|
@@ -932,7 +946,14 @@ module Aws::ARCRegionswitch
|
|
|
932
946
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.external_id #=> String
|
|
933
947
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map #=> Hash
|
|
934
948
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
935
|
-
# resp.plan.workflows[0].steps[0].
|
|
949
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.timeout_minutes #=> Integer
|
|
950
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.action #=> String, one of "enable", "disable"
|
|
951
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings #=> Hash
|
|
952
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].cross_account_role #=> String
|
|
953
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].external_id #=> String
|
|
954
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].arn #=> String
|
|
955
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.ungraceful.behavior #=> String, one of "skip"
|
|
956
|
+
# 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"
|
|
936
957
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
937
958
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
938
959
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1109,7 +1130,14 @@ module Aws::ARCRegionswitch
|
|
|
1109
1130
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.external_id #=> String
|
|
1110
1131
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map #=> Hash
|
|
1111
1132
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1112
|
-
# resp.plan.workflows[0].steps[0].
|
|
1133
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.timeout_minutes #=> Integer
|
|
1134
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.action #=> String, one of "enable", "disable"
|
|
1135
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings #=> Hash
|
|
1136
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].cross_account_role #=> String
|
|
1137
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].external_id #=> String
|
|
1138
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].arn #=> String
|
|
1139
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.ungraceful.behavior #=> String, one of "skip"
|
|
1140
|
+
# 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"
|
|
1113
1141
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1114
1142
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1115
1143
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1384,7 +1412,14 @@ module Aws::ARCRegionswitch
|
|
|
1384
1412
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.external_id #=> String
|
|
1385
1413
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map #=> Hash
|
|
1386
1414
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1387
|
-
# resp.plan.workflows[0].steps[0].
|
|
1415
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.timeout_minutes #=> Integer
|
|
1416
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.action #=> String, one of "enable", "disable"
|
|
1417
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings #=> Hash
|
|
1418
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].cross_account_role #=> String
|
|
1419
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].external_id #=> String
|
|
1420
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].arn #=> String
|
|
1421
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.ungraceful.behavior #=> String, one of "skip"
|
|
1422
|
+
# 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"
|
|
1388
1423
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1389
1424
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1390
1425
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1549,7 +1584,14 @@ module Aws::ARCRegionswitch
|
|
|
1549
1584
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.external_id #=> String
|
|
1550
1585
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map #=> Hash
|
|
1551
1586
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
1552
|
-
# resp.plan.workflows[0].steps[0].
|
|
1587
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.timeout_minutes #=> Integer
|
|
1588
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.action #=> String, one of "enable", "disable"
|
|
1589
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings #=> Hash
|
|
1590
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].cross_account_role #=> String
|
|
1591
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].external_id #=> String
|
|
1592
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].arn #=> String
|
|
1593
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.ungraceful.behavior #=> String, one of "skip"
|
|
1594
|
+
# 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"
|
|
1553
1595
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
1554
1596
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
1555
1597
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -1634,7 +1676,7 @@ module Aws::ARCRegionswitch
|
|
|
1634
1676
|
# resp.items[0].timestamp #=> Time
|
|
1635
1677
|
# 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"
|
|
1636
1678
|
# resp.items[0].step_name #=> String
|
|
1637
|
-
# resp.items[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica"
|
|
1679
|
+
# resp.items[0].execution_block_type #=> String, one of "CustomActionLambda", "ManualApproval", "AuroraGlobalDatabase", "EC2AutoScaling", "ARCRoutingControl", "ARCRegionSwitchPlan", "Parallel", "ECSServiceScaling", "EKSResourceScaling", "Route53HealthCheck", "DocumentDb", "RdsPromoteReadReplica", "RdsCreateCrossRegionReplica", "LambdaEventSourceMapping"
|
|
1638
1680
|
# resp.items[0].resources #=> Array
|
|
1639
1681
|
# resp.items[0].resources[0] #=> String
|
|
1640
1682
|
# resp.items[0].error #=> String
|
|
@@ -2330,8 +2372,22 @@ module Aws::ARCRegionswitch
|
|
|
2330
2372
|
# "Region" => "RdsDbInstanceArn",
|
|
2331
2373
|
# },
|
|
2332
2374
|
# },
|
|
2375
|
+
# lambda_event_source_mapping_config: {
|
|
2376
|
+
# timeout_minutes: 1,
|
|
2377
|
+
# action: "enable", # required, accepts enable, disable
|
|
2378
|
+
# region_event_source_mappings: { # required
|
|
2379
|
+
# "Region" => {
|
|
2380
|
+
# cross_account_role: "IamRoleArn",
|
|
2381
|
+
# external_id: "String",
|
|
2382
|
+
# arn: "EventSourceMappingArn", # required
|
|
2383
|
+
# },
|
|
2384
|
+
# },
|
|
2385
|
+
# ungraceful: {
|
|
2386
|
+
# behavior: "skip", # accepts skip
|
|
2387
|
+
# },
|
|
2388
|
+
# },
|
|
2333
2389
|
# },
|
|
2334
|
-
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica
|
|
2390
|
+
# execution_block_type: "CustomActionLambda", # required, accepts CustomActionLambda, ManualApproval, AuroraGlobalDatabase, EC2AutoScaling, ARCRoutingControl, ARCRegionSwitchPlan, Parallel, ECSServiceScaling, EKSResourceScaling, Route53HealthCheck, DocumentDb, RdsPromoteReadReplica, RdsCreateCrossRegionReplica, LambdaEventSourceMapping
|
|
2335
2391
|
# },
|
|
2336
2392
|
# ],
|
|
2337
2393
|
# workflow_target_action: "activate", # required, accepts activate, deactivate, postRecovery
|
|
@@ -2471,7 +2527,14 @@ module Aws::ARCRegionswitch
|
|
|
2471
2527
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.external_id #=> String
|
|
2472
2528
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map #=> Hash
|
|
2473
2529
|
# resp.plan.workflows[0].steps[0].execution_block_configuration.rds_create_cross_region_read_replica_config.db_instance_arn_map["Region"] #=> String
|
|
2474
|
-
# resp.plan.workflows[0].steps[0].
|
|
2530
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.timeout_minutes #=> Integer
|
|
2531
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.action #=> String, one of "enable", "disable"
|
|
2532
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings #=> Hash
|
|
2533
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].cross_account_role #=> String
|
|
2534
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].external_id #=> String
|
|
2535
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.region_event_source_mappings["Region"].arn #=> String
|
|
2536
|
+
# resp.plan.workflows[0].steps[0].execution_block_configuration.lambda_event_source_mapping_config.ungraceful.behavior #=> String, one of "skip"
|
|
2537
|
+
# 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"
|
|
2475
2538
|
# resp.plan.workflows[0].workflow_target_action #=> String, one of "activate", "deactivate", "postRecovery"
|
|
2476
2539
|
# resp.plan.workflows[0].workflow_target_region #=> String
|
|
2477
2540
|
# resp.plan.workflows[0].workflow_description #=> String
|
|
@@ -2609,7 +2672,7 @@ module Aws::ARCRegionswitch
|
|
|
2609
2672
|
tracer: tracer
|
|
2610
2673
|
)
|
|
2611
2674
|
context[:gem_name] = 'aws-sdk-arcregionswitch'
|
|
2612
|
-
context[:gem_version] = '1.
|
|
2675
|
+
context[:gem_version] = '1.15.0'
|
|
2613
2676
|
Seahorse::Client::Request.new(handlers, context)
|
|
2614
2677
|
end
|
|
2615
2678
|
|
|
@@ -76,6 +76,9 @@ module Aws::ARCRegionswitch
|
|
|
76
76
|
EksResourceScalingUngraceful = Shapes::StructureShape.new(name: 'EksResourceScalingUngraceful')
|
|
77
77
|
EksResourceScalingUngracefulMinimumSuccessPercentageInteger = Shapes::IntegerShape.new(name: 'EksResourceScalingUngracefulMinimumSuccessPercentageInteger')
|
|
78
78
|
EvaluationStatus = Shapes::StringShape.new(name: 'EvaluationStatus')
|
|
79
|
+
EventSourceMapping = Shapes::StructureShape.new(name: 'EventSourceMapping')
|
|
80
|
+
EventSourceMappingAction = Shapes::StringShape.new(name: 'EventSourceMappingAction')
|
|
81
|
+
EventSourceMappingArn = Shapes::StringShape.new(name: 'EventSourceMappingArn')
|
|
79
82
|
ExecutionAction = Shapes::StringShape.new(name: 'ExecutionAction')
|
|
80
83
|
ExecutionApprovalConfiguration = Shapes::StructureShape.new(name: 'ExecutionApprovalConfiguration')
|
|
81
84
|
ExecutionApprovalConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'ExecutionApprovalConfigurationTimeoutMinutesInteger')
|
|
@@ -119,6 +122,10 @@ module Aws::ARCRegionswitch
|
|
|
119
122
|
KubernetesScalingApps = Shapes::ListShape.new(name: 'KubernetesScalingApps')
|
|
120
123
|
KubernetesScalingResource = Shapes::StructureShape.new(name: 'KubernetesScalingResource')
|
|
121
124
|
LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
|
|
125
|
+
LambdaEventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'LambdaEventSourceMappingConfiguration')
|
|
126
|
+
LambdaEventSourceMappingConfigurationTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'LambdaEventSourceMappingConfigurationTimeoutMinutesInteger')
|
|
127
|
+
LambdaEventSourceMappingUngraceful = Shapes::StructureShape.new(name: 'LambdaEventSourceMappingUngraceful')
|
|
128
|
+
LambdaEventSourceMappingUngracefulBehavior = Shapes::StringShape.new(name: 'LambdaEventSourceMappingUngracefulBehavior')
|
|
122
129
|
LambdaList = Shapes::ListShape.new(name: 'LambdaList')
|
|
123
130
|
LambdaUngraceful = Shapes::StructureShape.new(name: 'LambdaUngraceful')
|
|
124
131
|
LambdaUngracefulBehavior = Shapes::StringShape.new(name: 'LambdaUngracefulBehavior')
|
|
@@ -161,6 +168,7 @@ module Aws::ARCRegionswitch
|
|
|
161
168
|
RecoveryExecutionId = Shapes::StringShape.new(name: 'RecoveryExecutionId')
|
|
162
169
|
Region = Shapes::StringShape.new(name: 'Region')
|
|
163
170
|
RegionAndRoutingControls = Shapes::MapShape.new(name: 'RegionAndRoutingControls')
|
|
171
|
+
RegionEventSourceMappingMap = Shapes::MapShape.new(name: 'RegionEventSourceMappingMap')
|
|
164
172
|
RegionList = Shapes::ListShape.new(name: 'RegionList')
|
|
165
173
|
RegionSwitchPlanConfiguration = Shapes::StructureShape.new(name: 'RegionSwitchPlanConfiguration')
|
|
166
174
|
RegionToRunIn = Shapes::StringShape.new(name: 'RegionToRunIn')
|
|
@@ -390,6 +398,11 @@ module Aws::ARCRegionswitch
|
|
|
390
398
|
EksResourceScalingUngraceful.add_member(:minimum_success_percentage, Shapes::ShapeRef.new(shape: EksResourceScalingUngracefulMinimumSuccessPercentageInteger, required: true, location_name: "minimumSuccessPercentage"))
|
|
391
399
|
EksResourceScalingUngraceful.struct_class = Types::EksResourceScalingUngraceful
|
|
392
400
|
|
|
401
|
+
EventSourceMapping.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
|
|
402
|
+
EventSourceMapping.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
|
|
403
|
+
EventSourceMapping.add_member(:arn, Shapes::ShapeRef.new(shape: EventSourceMappingArn, required: true, location_name: "arn"))
|
|
404
|
+
EventSourceMapping.struct_class = Types::EventSourceMapping
|
|
405
|
+
|
|
393
406
|
ExecutionApprovalConfiguration.add_member(:timeout_minutes, Shapes::ShapeRef.new(shape: ExecutionApprovalConfigurationTimeoutMinutesInteger, location_name: "timeoutMinutes"))
|
|
394
407
|
ExecutionApprovalConfiguration.add_member(:approval_role, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "approvalRole"))
|
|
395
408
|
ExecutionApprovalConfiguration.struct_class = Types::ExecutionApprovalConfiguration
|
|
@@ -407,6 +420,7 @@ module Aws::ARCRegionswitch
|
|
|
407
420
|
ExecutionBlockConfiguration.add_member(:document_db_config, Shapes::ShapeRef.new(shape: DocumentDbConfiguration, location_name: "documentDbConfig"))
|
|
408
421
|
ExecutionBlockConfiguration.add_member(:rds_promote_read_replica_config, Shapes::ShapeRef.new(shape: RdsPromoteReadReplicaConfiguration, location_name: "rdsPromoteReadReplicaConfig"))
|
|
409
422
|
ExecutionBlockConfiguration.add_member(:rds_create_cross_region_read_replica_config, Shapes::ShapeRef.new(shape: RdsCreateCrossRegionReplicaConfiguration, location_name: "rdsCreateCrossRegionReadReplicaConfig"))
|
|
423
|
+
ExecutionBlockConfiguration.add_member(:lambda_event_source_mapping_config, Shapes::ShapeRef.new(shape: LambdaEventSourceMappingConfiguration, location_name: "lambdaEventSourceMappingConfig"))
|
|
410
424
|
ExecutionBlockConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
411
425
|
ExecutionBlockConfiguration.add_member_subclass(:custom_action_lambda_config, Types::ExecutionBlockConfiguration::CustomActionLambdaConfig)
|
|
412
426
|
ExecutionBlockConfiguration.add_member_subclass(:ec2_asg_capacity_increase_config, Types::ExecutionBlockConfiguration::Ec2AsgCapacityIncreaseConfig)
|
|
@@ -421,6 +435,7 @@ module Aws::ARCRegionswitch
|
|
|
421
435
|
ExecutionBlockConfiguration.add_member_subclass(:document_db_config, Types::ExecutionBlockConfiguration::DocumentDbConfig)
|
|
422
436
|
ExecutionBlockConfiguration.add_member_subclass(:rds_promote_read_replica_config, Types::ExecutionBlockConfiguration::RdsPromoteReadReplicaConfig)
|
|
423
437
|
ExecutionBlockConfiguration.add_member_subclass(:rds_create_cross_region_read_replica_config, Types::ExecutionBlockConfiguration::RdsCreateCrossRegionReadReplicaConfig)
|
|
438
|
+
ExecutionBlockConfiguration.add_member_subclass(:lambda_event_source_mapping_config, Types::ExecutionBlockConfiguration::LambdaEventSourceMappingConfig)
|
|
424
439
|
ExecutionBlockConfiguration.add_member_subclass(:unknown, Types::ExecutionBlockConfiguration::Unknown)
|
|
425
440
|
ExecutionBlockConfiguration.struct_class = Types::ExecutionBlockConfiguration
|
|
426
441
|
|
|
@@ -533,6 +548,15 @@ module Aws::ARCRegionswitch
|
|
|
533
548
|
KubernetesScalingResource.add_member(:hpa_name, Shapes::ShapeRef.new(shape: String, location_name: "hpaName"))
|
|
534
549
|
KubernetesScalingResource.struct_class = Types::KubernetesScalingResource
|
|
535
550
|
|
|
551
|
+
LambdaEventSourceMappingConfiguration.add_member(:timeout_minutes, Shapes::ShapeRef.new(shape: LambdaEventSourceMappingConfigurationTimeoutMinutesInteger, location_name: "timeoutMinutes"))
|
|
552
|
+
LambdaEventSourceMappingConfiguration.add_member(:action, Shapes::ShapeRef.new(shape: EventSourceMappingAction, required: true, location_name: "action"))
|
|
553
|
+
LambdaEventSourceMappingConfiguration.add_member(:region_event_source_mappings, Shapes::ShapeRef.new(shape: RegionEventSourceMappingMap, required: true, location_name: "regionEventSourceMappings"))
|
|
554
|
+
LambdaEventSourceMappingConfiguration.add_member(:ungraceful, Shapes::ShapeRef.new(shape: LambdaEventSourceMappingUngraceful, location_name: "ungraceful"))
|
|
555
|
+
LambdaEventSourceMappingConfiguration.struct_class = Types::LambdaEventSourceMappingConfiguration
|
|
556
|
+
|
|
557
|
+
LambdaEventSourceMappingUngraceful.add_member(:behavior, Shapes::ShapeRef.new(shape: LambdaEventSourceMappingUngracefulBehavior, location_name: "behavior"))
|
|
558
|
+
LambdaEventSourceMappingUngraceful.struct_class = Types::LambdaEventSourceMappingUngraceful
|
|
559
|
+
|
|
536
560
|
LambdaList.member = Shapes::ShapeRef.new(shape: Lambdas)
|
|
537
561
|
|
|
538
562
|
LambdaUngraceful.add_member(:behavior, Shapes::ShapeRef.new(shape: LambdaUngracefulBehavior, location_name: "behavior"))
|
|
@@ -654,6 +678,9 @@ module Aws::ARCRegionswitch
|
|
|
654
678
|
RegionAndRoutingControls.key = Shapes::ShapeRef.new(shape: String)
|
|
655
679
|
RegionAndRoutingControls.value = Shapes::ShapeRef.new(shape: ArcRoutingControlStates)
|
|
656
680
|
|
|
681
|
+
RegionEventSourceMappingMap.key = Shapes::ShapeRef.new(shape: Region)
|
|
682
|
+
RegionEventSourceMappingMap.value = Shapes::ShapeRef.new(shape: EventSourceMapping)
|
|
683
|
+
|
|
657
684
|
RegionList.member = Shapes::ShapeRef.new(shape: Region)
|
|
658
685
|
|
|
659
686
|
RegionSwitchPlanConfiguration.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
|
|
@@ -570,6 +570,7 @@ module Aws::ARCRegionswitch
|
|
|
570
570
|
#
|
|
571
571
|
# @!attribute [rw] target_percent
|
|
572
572
|
# The target percentage that you specify for EC2 Auto Scaling groups.
|
|
573
|
+
# The default is 100.
|
|
573
574
|
# @return [Integer]
|
|
574
575
|
#
|
|
575
576
|
# @!attribute [rw] capacity_monitoring_approach
|
|
@@ -620,7 +621,8 @@ module Aws::ARCRegionswitch
|
|
|
620
621
|
# @return [Types::EcsUngraceful]
|
|
621
622
|
#
|
|
622
623
|
# @!attribute [rw] target_percent
|
|
623
|
-
# The target percentage specified for the configuration.
|
|
624
|
+
# The target percentage specified for the configuration. The default
|
|
625
|
+
# is 100.
|
|
624
626
|
# @return [Integer]
|
|
625
627
|
#
|
|
626
628
|
# @!attribute [rw] capacity_monitoring_approach
|
|
@@ -702,7 +704,7 @@ module Aws::ARCRegionswitch
|
|
|
702
704
|
# @return [Types::EksResourceScalingUngraceful]
|
|
703
705
|
#
|
|
704
706
|
# @!attribute [rw] target_percent
|
|
705
|
-
# The target percentage for the configuration.
|
|
707
|
+
# The target percentage for the configuration. The default is 100.
|
|
706
708
|
# @return [Integer]
|
|
707
709
|
#
|
|
708
710
|
# @!attribute [rw] capacity_monitoring_approach
|
|
@@ -738,6 +740,31 @@ module Aws::ARCRegionswitch
|
|
|
738
740
|
include Aws::Structure
|
|
739
741
|
end
|
|
740
742
|
|
|
743
|
+
# The Amazon Web Services Lambda event source mapping configuration,
|
|
744
|
+
# containing the resource ARN and optional cross-account configuration.
|
|
745
|
+
#
|
|
746
|
+
# @!attribute [rw] cross_account_role
|
|
747
|
+
# The cross account role for the configuration.
|
|
748
|
+
# @return [String]
|
|
749
|
+
#
|
|
750
|
+
# @!attribute [rw] external_id
|
|
751
|
+
# The external ID (secret key) for the configuration.
|
|
752
|
+
# @return [String]
|
|
753
|
+
#
|
|
754
|
+
# @!attribute [rw] arn
|
|
755
|
+
# The Amazon Resource Name (ARN) of the Lambda event source mapping.
|
|
756
|
+
# @return [String]
|
|
757
|
+
#
|
|
758
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/EventSourceMapping AWS API Documentation
|
|
759
|
+
#
|
|
760
|
+
class EventSourceMapping < Struct.new(
|
|
761
|
+
:cross_account_role,
|
|
762
|
+
:external_id,
|
|
763
|
+
:arn)
|
|
764
|
+
SENSITIVE = []
|
|
765
|
+
include Aws::Structure
|
|
766
|
+
end
|
|
767
|
+
|
|
741
768
|
# Configuration for approval steps in a Region switch plan execution.
|
|
742
769
|
# Approval steps require manual intervention before the execution can
|
|
743
770
|
# proceed.
|
|
@@ -820,6 +847,10 @@ module Aws::ARCRegionswitch
|
|
|
820
847
|
# An Amazon RDS create cross-Region replica execution block.
|
|
821
848
|
# @return [Types::RdsCreateCrossRegionReplicaConfiguration]
|
|
822
849
|
#
|
|
850
|
+
# @!attribute [rw] lambda_event_source_mapping_config
|
|
851
|
+
# A Lambda event source mapping execution block.
|
|
852
|
+
# @return [Types::LambdaEventSourceMappingConfiguration]
|
|
853
|
+
#
|
|
823
854
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/ExecutionBlockConfiguration AWS API Documentation
|
|
824
855
|
#
|
|
825
856
|
class ExecutionBlockConfiguration < Struct.new(
|
|
@@ -836,6 +867,7 @@ module Aws::ARCRegionswitch
|
|
|
836
867
|
:document_db_config,
|
|
837
868
|
:rds_promote_read_replica_config,
|
|
838
869
|
:rds_create_cross_region_read_replica_config,
|
|
870
|
+
:lambda_event_source_mapping_config,
|
|
839
871
|
:unknown)
|
|
840
872
|
SENSITIVE = []
|
|
841
873
|
include Aws::Structure
|
|
@@ -854,6 +886,7 @@ module Aws::ARCRegionswitch
|
|
|
854
886
|
class DocumentDbConfig < ExecutionBlockConfiguration; end
|
|
855
887
|
class RdsPromoteReadReplicaConfig < ExecutionBlockConfiguration; end
|
|
856
888
|
class RdsCreateCrossRegionReadReplicaConfig < ExecutionBlockConfiguration; end
|
|
889
|
+
class LambdaEventSourceMappingConfig < ExecutionBlockConfiguration; end
|
|
857
890
|
class Unknown < ExecutionBlockConfiguration; end
|
|
858
891
|
end
|
|
859
892
|
|
|
@@ -1360,6 +1393,54 @@ module Aws::ARCRegionswitch
|
|
|
1360
1393
|
include Aws::Structure
|
|
1361
1394
|
end
|
|
1362
1395
|
|
|
1396
|
+
# Configuration for Amazon Web Services Lambda event source mappings
|
|
1397
|
+
# used in a Region switch plan.
|
|
1398
|
+
#
|
|
1399
|
+
# @!attribute [rw] timeout_minutes
|
|
1400
|
+
# The timeout value specified for the configuration.
|
|
1401
|
+
# @return [Integer]
|
|
1402
|
+
#
|
|
1403
|
+
# @!attribute [rw] action
|
|
1404
|
+
# The action to take - whether to `enable` or `disable` an event
|
|
1405
|
+
# source mapping.
|
|
1406
|
+
# @return [String]
|
|
1407
|
+
#
|
|
1408
|
+
# @!attribute [rw] region_event_source_mappings
|
|
1409
|
+
# Per-region configuration for which Lambda event source mapping to
|
|
1410
|
+
# enable or disable when activating or deactivating a region.
|
|
1411
|
+
# @return [Hash<String,Types::EventSourceMapping>]
|
|
1412
|
+
#
|
|
1413
|
+
# @!attribute [rw] ungraceful
|
|
1414
|
+
# The settings for ungraceful execution.
|
|
1415
|
+
# @return [Types::LambdaEventSourceMappingUngraceful]
|
|
1416
|
+
#
|
|
1417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/LambdaEventSourceMappingConfiguration AWS API Documentation
|
|
1418
|
+
#
|
|
1419
|
+
class LambdaEventSourceMappingConfiguration < Struct.new(
|
|
1420
|
+
:timeout_minutes,
|
|
1421
|
+
:action,
|
|
1422
|
+
:region_event_source_mappings,
|
|
1423
|
+
:ungraceful)
|
|
1424
|
+
SENSITIVE = []
|
|
1425
|
+
include Aws::Structure
|
|
1426
|
+
end
|
|
1427
|
+
|
|
1428
|
+
# Specifies whether to skip enabling or disabling an event source
|
|
1429
|
+
# mapping during an ungraceful execution.
|
|
1430
|
+
#
|
|
1431
|
+
# @!attribute [rw] behavior
|
|
1432
|
+
# Set to `skip` to skip executing this event source mapping step
|
|
1433
|
+
# during an ungraceful execution.
|
|
1434
|
+
# @return [String]
|
|
1435
|
+
#
|
|
1436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/LambdaEventSourceMappingUngraceful AWS API Documentation
|
|
1437
|
+
#
|
|
1438
|
+
class LambdaEventSourceMappingUngraceful < Struct.new(
|
|
1439
|
+
:behavior)
|
|
1440
|
+
SENSITIVE = []
|
|
1441
|
+
include Aws::Structure
|
|
1442
|
+
end
|
|
1443
|
+
|
|
1363
1444
|
# Configuration for handling failures when invoking Lambda functions.
|
|
1364
1445
|
#
|
|
1365
1446
|
# @!attribute [rw] behavior
|
data/sig/client.rbs
CHANGED
|
@@ -258,9 +258,21 @@ module Aws
|
|
|
258
258
|
cross_account_role: ::String?,
|
|
259
259
|
external_id: ::String?,
|
|
260
260
|
db_instance_arn_map: Hash[::String, ::String]
|
|
261
|
+
}?,
|
|
262
|
+
lambda_event_source_mapping_config: {
|
|
263
|
+
timeout_minutes: ::Integer?,
|
|
264
|
+
action: ("enable" | "disable"),
|
|
265
|
+
region_event_source_mappings: Hash[::String, {
|
|
266
|
+
cross_account_role: ::String?,
|
|
267
|
+
external_id: ::String?,
|
|
268
|
+
arn: ::String
|
|
269
|
+
}],
|
|
270
|
+
ungraceful: {
|
|
271
|
+
behavior: ("skip")?
|
|
272
|
+
}?
|
|
261
273
|
}?
|
|
262
274
|
},
|
|
263
|
-
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica")
|
|
275
|
+
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping")
|
|
264
276
|
},
|
|
265
277
|
]?,
|
|
266
278
|
workflow_target_action: ("activate" | "deactivate" | "postRecovery"),
|
|
@@ -673,9 +685,21 @@ module Aws
|
|
|
673
685
|
cross_account_role: ::String?,
|
|
674
686
|
external_id: ::String?,
|
|
675
687
|
db_instance_arn_map: Hash[::String, ::String]
|
|
688
|
+
}?,
|
|
689
|
+
lambda_event_source_mapping_config: {
|
|
690
|
+
timeout_minutes: ::Integer?,
|
|
691
|
+
action: ("enable" | "disable"),
|
|
692
|
+
region_event_source_mappings: Hash[::String, {
|
|
693
|
+
cross_account_role: ::String?,
|
|
694
|
+
external_id: ::String?,
|
|
695
|
+
arn: ::String
|
|
696
|
+
}],
|
|
697
|
+
ungraceful: {
|
|
698
|
+
behavior: ("skip")?
|
|
699
|
+
}?
|
|
676
700
|
}?
|
|
677
701
|
},
|
|
678
|
-
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica")
|
|
702
|
+
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping")
|
|
679
703
|
},
|
|
680
704
|
]?,
|
|
681
705
|
workflow_target_action: ("activate" | "deactivate" | "postRecovery"),
|
data/sig/types.rbs
CHANGED
|
@@ -202,6 +202,13 @@ module Aws::ARCRegionswitch
|
|
|
202
202
|
SENSITIVE: []
|
|
203
203
|
end
|
|
204
204
|
|
|
205
|
+
class EventSourceMapping
|
|
206
|
+
attr_accessor cross_account_role: ::String
|
|
207
|
+
attr_accessor external_id: ::String
|
|
208
|
+
attr_accessor arn: ::String
|
|
209
|
+
SENSITIVE: []
|
|
210
|
+
end
|
|
211
|
+
|
|
205
212
|
class ExecutionApprovalConfiguration
|
|
206
213
|
attr_accessor timeout_minutes: ::Integer
|
|
207
214
|
attr_accessor approval_role: ::String
|
|
@@ -222,6 +229,7 @@ module Aws::ARCRegionswitch
|
|
|
222
229
|
attr_accessor document_db_config: Types::DocumentDbConfiguration
|
|
223
230
|
attr_accessor rds_promote_read_replica_config: Types::RdsPromoteReadReplicaConfiguration
|
|
224
231
|
attr_accessor rds_create_cross_region_read_replica_config: Types::RdsCreateCrossRegionReplicaConfiguration
|
|
232
|
+
attr_accessor lambda_event_source_mapping_config: Types::LambdaEventSourceMappingConfiguration
|
|
225
233
|
attr_accessor unknown: untyped
|
|
226
234
|
SENSITIVE: []
|
|
227
235
|
|
|
@@ -251,6 +259,8 @@ module Aws::ARCRegionswitch
|
|
|
251
259
|
end
|
|
252
260
|
class RdsCreateCrossRegionReadReplicaConfig < ExecutionBlockConfiguration
|
|
253
261
|
end
|
|
262
|
+
class LambdaEventSourceMappingConfig < ExecutionBlockConfiguration
|
|
263
|
+
end
|
|
254
264
|
class Unknown < ExecutionBlockConfiguration
|
|
255
265
|
end
|
|
256
266
|
end
|
|
@@ -259,7 +269,7 @@ module Aws::ARCRegionswitch
|
|
|
259
269
|
attr_accessor timestamp: ::Time
|
|
260
270
|
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")
|
|
261
271
|
attr_accessor step_name: ::String
|
|
262
|
-
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica")
|
|
272
|
+
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping")
|
|
263
273
|
attr_accessor resources: ::Array[::String]
|
|
264
274
|
attr_accessor error: ::String
|
|
265
275
|
attr_accessor description: ::String
|
|
@@ -391,6 +401,19 @@ module Aws::ARCRegionswitch
|
|
|
391
401
|
SENSITIVE: []
|
|
392
402
|
end
|
|
393
403
|
|
|
404
|
+
class LambdaEventSourceMappingConfiguration
|
|
405
|
+
attr_accessor timeout_minutes: ::Integer
|
|
406
|
+
attr_accessor action: ("enable" | "disable")
|
|
407
|
+
attr_accessor region_event_source_mappings: ::Hash[::String, Types::EventSourceMapping]
|
|
408
|
+
attr_accessor ungraceful: Types::LambdaEventSourceMappingUngraceful
|
|
409
|
+
SENSITIVE: []
|
|
410
|
+
end
|
|
411
|
+
|
|
412
|
+
class LambdaEventSourceMappingUngraceful
|
|
413
|
+
attr_accessor behavior: ("skip")
|
|
414
|
+
SENSITIVE: []
|
|
415
|
+
end
|
|
416
|
+
|
|
394
417
|
class LambdaUngraceful
|
|
395
418
|
attr_accessor behavior: ("skip")
|
|
396
419
|
SENSITIVE: []
|
|
@@ -663,7 +686,7 @@ module Aws::ARCRegionswitch
|
|
|
663
686
|
attr_accessor name: ::String
|
|
664
687
|
attr_accessor description: ::String
|
|
665
688
|
attr_accessor execution_block_configuration: Types::ExecutionBlockConfiguration
|
|
666
|
-
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica")
|
|
689
|
+
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping")
|
|
667
690
|
SENSITIVE: []
|
|
668
691
|
end
|
|
669
692
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-arcregionswitch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.15.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.247.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.247.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|