aws-sdk-arcregionswitch 1.26.0 → 1.27.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8ecd1e66e997a3d47bddf1303abb00f626ca86de6263db8f625936240d7af33
4
- data.tar.gz: 3af8a7b4b292a3f8e1273a3c66f14e9431854ba03ff3b52543c569d0e25a5f4f
3
+ metadata.gz: bbc54d9094f0b9a062488aa2d52d7bf29cca818f8572a3a6bac2fd2f6a2b2e06
4
+ data.tar.gz: 411d776008d2eab53449c2dce4f6a77e6d70dd0bb1d228523a571c88bc11eb32
5
5
  SHA512:
6
- metadata.gz: 0d3e953b801891118ddc9100e48f437943e382b8ba078d0bf5d31246577180a14525902843f73db6c0f841f60e62ce1a3fa82bf390475b1735b50ebc09356720
7
- data.tar.gz: b2d27b7c2965a171c7db59e0cefa5e1821a6e790ff01860e4ce90cf908c80531e48923aae7767eae3ebf332379876aa4e4ec9bdd1f704268350e348df5279631
6
+ metadata.gz: 5be18c3a7f125e824a9f3ce6e8ed948de5cc4c13ca5b44432e17f12a1734c44e2316e0a80598e94bdb0e8a302acc7a5ca0ccbb507e2f81a56d6ebcf7dc790254
7
+ data.tar.gz: 99b5c47c8eb6f2356f1b238e68345d8e4c5de64003a264498c237341efa04455d8edd8f4751aaefb1eafd2c141b3ac34d25e360fb206792e22e4a8be6df4840a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.27.0 (2026-10-14)
5
+ ------------------
6
+
7
+ * Feature - Features - Adds support for an optional payload to invoke the Lambda function with as part of the Custom action Lambda execution block
8
+
4
9
  1.26.0 (2026-10-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.26.0
1
+ 1.27.0
@@ -639,6 +639,7 @@ module Aws::ARCRegionswitch
639
639
  # cross_account_role: "IamRoleArn",
640
640
  # external_id: "String",
641
641
  # arn: "LambdaArn",
642
+ # payload: "LambdaPayload",
642
643
  # },
643
644
  # ],
644
645
  # retry_interval_minutes: 1.0, # required
@@ -938,6 +939,7 @@ module Aws::ARCRegionswitch
938
939
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].cross_account_role #=> String
939
940
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
940
941
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
942
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].payload #=> String
941
943
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
942
944
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
943
945
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
@@ -1169,6 +1171,7 @@ module Aws::ARCRegionswitch
1169
1171
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].cross_account_role #=> String
1170
1172
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
1171
1173
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
1174
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].payload #=> String
1172
1175
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
1173
1176
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
1174
1177
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
@@ -1498,6 +1501,7 @@ module Aws::ARCRegionswitch
1498
1501
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].cross_account_role #=> String
1499
1502
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
1500
1503
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
1504
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].payload #=> String
1501
1505
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
1502
1506
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
1503
1507
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
@@ -1717,6 +1721,7 @@ module Aws::ARCRegionswitch
1717
1721
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].cross_account_role #=> String
1718
1722
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
1719
1723
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
1724
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].payload #=> String
1720
1725
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
1721
1726
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
1722
1727
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
@@ -2580,6 +2585,7 @@ module Aws::ARCRegionswitch
2580
2585
  # cross_account_role: "IamRoleArn",
2581
2586
  # external_id: "String",
2582
2587
  # arn: "LambdaArn",
2588
+ # payload: "LambdaPayload",
2583
2589
  # },
2584
2590
  # ],
2585
2591
  # retry_interval_minutes: 1.0, # required
@@ -2872,6 +2878,7 @@ module Aws::ARCRegionswitch
2872
2878
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].cross_account_role #=> String
2873
2879
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].external_id #=> String
2874
2880
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].arn #=> String
2881
+ # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.lambdas[0].payload #=> String
2875
2882
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.retry_interval_minutes #=> Float
2876
2883
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.region_to_run #=> String, one of "activatingRegion", "deactivatingRegion", "activeRegion", "inactiveRegion"
2877
2884
  # resp.plan.workflows[0].steps[0].execution_block_configuration.custom_action_lambda_config.ungraceful.behavior #=> String, one of "skip"
@@ -3147,7 +3154,7 @@ module Aws::ARCRegionswitch
3147
3154
  tracer: tracer
3148
3155
  )
3149
3156
  context[:gem_name] = 'aws-sdk-arcregionswitch'
3150
- context[:gem_version] = '1.26.0'
3157
+ context[:gem_version] = '1.27.0'
3151
3158
  Seahorse::Client::Request.new(handlers, context)
3152
3159
  end
3153
3160
 
@@ -134,6 +134,7 @@ module Aws::ARCRegionswitch
134
134
  LambdaEventSourceMappingUngraceful = Shapes::StructureShape.new(name: 'LambdaEventSourceMappingUngraceful')
135
135
  LambdaEventSourceMappingUngracefulBehavior = Shapes::StringShape.new(name: 'LambdaEventSourceMappingUngracefulBehavior')
136
136
  LambdaList = Shapes::ListShape.new(name: 'LambdaList')
137
+ LambdaPayload = Shapes::StringShape.new(name: 'LambdaPayload')
137
138
  LambdaUngraceful = Shapes::StructureShape.new(name: 'LambdaUngraceful')
138
139
  LambdaUngracefulBehavior = Shapes::StringShape.new(name: 'LambdaUngracefulBehavior')
139
140
  Lambdas = Shapes::StructureShape.new(name: 'Lambdas')
@@ -645,6 +646,7 @@ module Aws::ARCRegionswitch
645
646
  Lambdas.add_member(:cross_account_role, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "crossAccountRole"))
646
647
  Lambdas.add_member(:external_id, Shapes::ShapeRef.new(shape: String, location_name: "externalId"))
647
648
  Lambdas.add_member(:arn, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "arn"))
649
+ Lambdas.add_member(:payload, Shapes::ShapeRef.new(shape: LambdaPayload, location_name: "payload"))
648
650
  Lambdas.struct_class = Types::Lambdas
649
651
 
650
652
  ListPlanExecutionEventsRequest.add_member(:plan_arn, Shapes::ShapeRef.new(shape: PlanArn, required: true, location_name: "planArn"))
@@ -1417,12 +1417,20 @@ module Aws::ARCRegionswitch
1417
1417
  # @return [String]
1418
1418
  #
1419
1419
  # @!attribute [rw] behavior
1420
- # The behavior for a global database, that is, only allow switchover
1421
- # or also allow failover.
1420
+ # The default behavior for the Aurora global database execution block.
1421
+ # Valid values:
1422
+ #
1423
+ # * `switchoverOnly` - Calls `SwitchoverGlobalCluster` for a
1424
+ # zero-data-loss switchover during graceful execution.
1425
+ #
1426
+ # * `failover` - Calls `FailoverGlobalCluster` with `AllowDataLoss`
1427
+ # set to `true`. This operation might cause data loss, including
1428
+ # during graceful execution.
1422
1429
  # @return [String]
1423
1430
  #
1424
1431
  # @!attribute [rw] ungraceful
1425
- # The settings for ungraceful execution.
1432
+ # The behavior to use when the plan runs in ungraceful mode. If you
1433
+ # omit this value, Region switch uses the value of `behavior`.
1426
1434
  # @return [Types::GlobalAuroraUngraceful]
1427
1435
  #
1428
1436
  # @!attribute [rw] global_cluster_identifier
@@ -1448,11 +1456,13 @@ module Aws::ARCRegionswitch
1448
1456
  include Aws::Structure
1449
1457
  end
1450
1458
 
1451
- # Configuration for handling failures when performing operations on
1452
- # Aurora global databases.
1459
+ # Configuration for an Aurora global database execution block in
1460
+ # ungraceful mode.
1453
1461
  #
1454
1462
  # @!attribute [rw] ungraceful
1455
- # The settings for ungraceful execution.
1463
+ # The ungraceful behavior. The only valid value is `failover`, which
1464
+ # calls `FailoverGlobalCluster` with `AllowDataLoss` set to `true` and
1465
+ # might cause data loss.
1456
1466
  # @return [String]
1457
1467
  #
1458
1468
  # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/GlobalAuroraUngraceful AWS API Documentation
@@ -1630,13 +1640,29 @@ module Aws::ARCRegionswitch
1630
1640
  # The Amazon Resource Name (ARN) of the Lambda function.
1631
1641
  # @return [String]
1632
1642
  #
1643
+ # @!attribute [rw] payload
1644
+ # The JSON payload to send to the Lambda function invocation. If you
1645
+ # don't specify a payload, Region switch invokes the function with
1646
+ # only the execution metadata.
1647
+ #
1648
+ # If you provide a JSON object, Region switch merges execution
1649
+ # metadata keys (`InvokedBy`, `PlanArn`, `ExecutionId`, `StepName`)
1650
+ # into the top level. If one of your keys has the same name as a
1651
+ # metadata key, your key takes precedence.
1652
+ #
1653
+ # If you provide any other JSON type (string, number, boolean, or
1654
+ # array), Region switch forwards it to the Lambda function unchanged,
1655
+ # without adding metadata.
1656
+ # @return [String]
1657
+ #
1633
1658
  # @see http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/Lambdas AWS API Documentation
1634
1659
  #
1635
1660
  class Lambdas < Struct.new(
1636
1661
  :cross_account_role,
1637
1662
  :external_id,
1638
- :arn)
1639
- SENSITIVE = []
1663
+ :arn,
1664
+ :payload)
1665
+ SENSITIVE = [:payload]
1640
1666
  include Aws::Structure
1641
1667
  end
1642
1668
 
@@ -55,7 +55,7 @@ module Aws::ARCRegionswitch
55
55
  autoload :EndpointProvider, 'aws-sdk-arcregionswitch/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-arcregionswitch/endpoints'
57
57
 
58
- GEM_VERSION = '1.26.0'
58
+ GEM_VERSION = '1.27.0'
59
59
 
60
60
  end
61
61
 
data/sig/params.rbs CHANGED
@@ -23,7 +23,8 @@ module Aws
23
23
  {
24
24
  cross_account_role: ::String?,
25
25
  external_id: ::String?,
26
- arn: ::String?
26
+ arn: ::String?,
27
+ payload: ::String?
27
28
  }
28
29
  ],
29
30
  retry_interval_minutes: ::Float,
data/sig/types.rbs CHANGED
@@ -468,7 +468,8 @@ module Aws::ARCRegionswitch
468
468
  attr_accessor cross_account_role: ::String
469
469
  attr_accessor external_id: ::String
470
470
  attr_accessor arn: ::String
471
- SENSITIVE: []
471
+ attr_accessor payload: ::String
472
+ SENSITIVE: [:payload]
472
473
  end
473
474
 
474
475
  class ListPlanExecutionEventsRequest
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.26.0
4
+ version: 1.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services