aws-sdk-rds 1.189.0 → 1.190.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: eb9e966f7e62628d895d5d096661b01a63557528cc37d8c3a50cd290e17ac3a9
4
- data.tar.gz: 5c8c5ffcc4cba0508227b6ff9204d55f3e39a47016e81a639f69bb0bae9f7baf
3
+ metadata.gz: '082375afb1f14b2983230f42b789f89f54b06282ef2861ff41b68694e97eb511'
4
+ data.tar.gz: ab787eedaf4d422971efea43ed5bb8d2c23af8c86eaee317d28b2357d025f21d
5
5
  SHA512:
6
- metadata.gz: 71199d494672776b7c7f20199faca1684f0a6781a50c838237972b2ff779b075e7d3540c32253619d371bbb8e144bb3c8b163ddd1759bf010fad9c07ad9a56a4
7
- data.tar.gz: 1455d70144f0f87b37705cc7c37561764f78aaa0f5a7ea6960d7cd44ff3211046b50f4e762e9284494184682560ac96a1b3926eed08a31f7e35769bc85c2895d
6
+ metadata.gz: c1a39000b92260f65e285e532f74a35bf0d2e2cc2ebf9ed40b0e9138295e6201bdd185c98da8b15635c187de69cc8799fefd0a632958de445cea76524dac73d5
7
+ data.tar.gz: e055bfc080fa942c85e578a6bec91eb38336f56f746e8c69a23b57f21873d61b244fc71cd90f85fb97e7038d1d60396a0a4c65317c413c5f3b19b534be76e8fe
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.190.0 (2023-08-21)
5
+ ------------------
6
+
7
+ * Feature - Adding support for RDS Aurora Global Database Unplanned Failover
8
+
4
9
  1.189.0 (2023-08-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.189.0
1
+ 1.190.0
@@ -3006,6 +3006,12 @@ module Aws::RDS
3006
3006
  #
3007
3007
  # * Multi-AZ DB clusters - `io1`
3008
3008
  #
3009
+ # <note markdown="1"> When you create an Aurora DB cluster with the storage type set to
3010
+ # `aurora-iopt1`, the storage type is returned in the response. The
3011
+ # storage type isn't returned when you set it to `aurora`.
3012
+ #
3013
+ # </note>
3014
+ #
3009
3015
  #
3010
3016
  #
3011
3017
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type
@@ -7517,9 +7523,11 @@ module Aws::RDS
7517
7523
  # resp.global_cluster.global_cluster_members[0].readers[0] #=> String
7518
7524
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
7519
7525
  # resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
7526
+ # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
7520
7527
  # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
7521
7528
  # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
7522
7529
  # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
7530
+ # resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
7523
7531
  #
7524
7532
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateGlobalCluster AWS API Documentation
7525
7533
  #
@@ -9451,9 +9459,11 @@ module Aws::RDS
9451
9459
  # resp.global_cluster.global_cluster_members[0].readers[0] #=> String
9452
9460
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
9453
9461
  # resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
9462
+ # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
9454
9463
  # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
9455
9464
  # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
9456
9465
  # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
9466
+ # resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
9457
9467
  #
9458
9468
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteGlobalCluster AWS API Documentation
9459
9469
  #
@@ -14381,9 +14391,11 @@ module Aws::RDS
14381
14391
  # resp.global_clusters[0].global_cluster_members[0].readers[0] #=> String
14382
14392
  # resp.global_clusters[0].global_cluster_members[0].is_writer #=> Boolean
14383
14393
  # resp.global_clusters[0].global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
14394
+ # resp.global_clusters[0].global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
14384
14395
  # resp.global_clusters[0].failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
14385
14396
  # resp.global_clusters[0].failover_state.from_db_cluster_arn #=> String
14386
14397
  # resp.global_clusters[0].failover_state.to_db_cluster_arn #=> String
14398
+ # resp.global_clusters[0].failover_state.is_data_loss_allowed #=> Boolean
14387
14399
  #
14388
14400
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeGlobalClusters AWS API Documentation
14389
14401
  #
@@ -15953,51 +15965,99 @@ module Aws::RDS
15953
15965
  req.send_request(options)
15954
15966
  end
15955
15967
 
15956
- # Initiates the failover process for an Aurora global database
15957
- # (GlobalCluster).
15958
- #
15959
- # A failover for an Aurora global database promotes one of secondary
15960
- # read-only DB clusters to be the primary DB cluster and demotes the
15961
- # primary DB cluster to being a secondary (read-only) DB cluster. In
15962
- # other words, the role of the current primary DB cluster and the
15963
- # selected (target) DB cluster are switched. The selected secondary DB
15964
- # cluster assumes full read/write capabilities for the Aurora global
15965
- # database.
15966
- #
15967
- # For more information about failing over an Amazon Aurora global
15968
- # database, see [Managed planned failover for Amazon Aurora global
15969
- # databases][1] in the *Amazon Aurora User Guide*.
15968
+ # Promotes the specified secondary DB cluster to be the primary DB
15969
+ # cluster in the global database cluster to fail over or switch over a
15970
+ # global database. Switchover operations were previously called
15971
+ # "managed planned failovers."
15970
15972
  #
15971
- # <note markdown="1"> This action applies to GlobalCluster (Aurora global databases) only.
15972
- # Use this action only on healthy Aurora global databases with running
15973
- # Aurora DB clusters and no Region-wide outages, to test disaster
15974
- # recovery scenarios or to reconfigure your Aurora global database
15975
- # topology.
15973
+ # <note markdown="1"> Although this operation can be used either to fail over or to switch
15974
+ # over a global database cluster, its intended use is for global
15975
+ # database failover. To switch over a global database cluster, we
15976
+ # recommend that you use the SwitchoverGlobalCluster operation instead.
15976
15977
  #
15977
15978
  # </note>
15978
15979
  #
15980
+ # How you use this operation depends on whether you are failing over or
15981
+ # switching over your global database cluster:
15979
15982
  #
15983
+ # * Failing over - Specify the `AllowDataLoss` parameter and don't
15984
+ # specify the `Switchover` parameter.
15980
15985
  #
15981
- # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-disaster-recovery.html#aurora-global-database-disaster-recovery.managed-failover
15986
+ # * Switching over - Specify the `Switchover` parameter or omit it, but
15987
+ # don't specify the `AllowDataLoss` parameter.
15988
+ #
15989
+ # **About failing over and switching over**
15990
+ #
15991
+ # While failing over and switching over a global database cluster both
15992
+ # change the primary DB cluster, you use these operations for different
15993
+ # reasons:
15994
+ #
15995
+ # * *Failing over* - Use this operation to respond to an unplanned
15996
+ # event, such as a Regional disaster in the primary Region. Failing
15997
+ # over can result in a loss of write transaction data that wasn't
15998
+ # replicated to the chosen secondary before the failover event
15999
+ # occurred. However, the recovery process that promotes a DB instance
16000
+ # on the chosen seconday DB cluster to be the primary writer DB
16001
+ # instance guarantees that the data is in a transactionally consistent
16002
+ # state.
16003
+ #
16004
+ # For more information about failing over an Amazon Aurora global
16005
+ # database, see [Performing managed failovers for Aurora global
16006
+ # databases][1] in the *Amazon Aurora User Guide*.
16007
+ #
16008
+ # * *Switching over* - Use this operation on a healthy global database
16009
+ # cluster for planned events, such as Regional rotation or to fail
16010
+ # back to the original primary DB cluster after a failover operation.
16011
+ # With this operation, there is no data loss.
16012
+ #
16013
+ # For more information about switching over an Amazon Aurora global
16014
+ # database, see [Performing switchovers for Aurora global
16015
+ # databases][2] in the *Amazon Aurora User Guide*.
16016
+ #
16017
+ #
16018
+ #
16019
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-disaster-recovery.html#aurora-global-database-failover.managed-unplanned
16020
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-disaster-recovery.html#aurora-global-database-disaster-recovery.managed-failover
15982
16021
  #
15983
16022
  # @option params [required, String] :global_cluster_identifier
15984
- # Identifier of the Aurora global database (GlobalCluster) that should
15985
- # be failed over. The identifier is the unique key assigned by the user
15986
- # when the Aurora global database was created. In other words, it's the
15987
- # name of the Aurora global database that you want to fail over.
16023
+ # The identifier of the global database cluster (Aurora global database)
16024
+ # this operation should apply to. The identifier is the unique key
16025
+ # assigned by the user when the Aurora global database is created. In
16026
+ # other words, it's the name of the Aurora global database.
15988
16027
  #
15989
16028
  # Constraints:
15990
16029
  #
15991
- # * Must match the identifier of an existing GlobalCluster (Aurora
15992
- # global database).
16030
+ # * Must match the identifier of an existing global database cluster.
15993
16031
  #
15994
16032
  # ^
15995
16033
  #
15996
16034
  # @option params [required, String] :target_db_cluster_identifier
15997
- # Identifier of the secondary Aurora DB cluster that you want to promote
15998
- # to primary for the Aurora global database (GlobalCluster.) Use the
15999
- # Amazon Resource Name (ARN) for the identifier so that Aurora can
16000
- # locate the cluster in its Amazon Web Services Region.
16035
+ # The identifier of the secondary Aurora DB cluster that you want to
16036
+ # promote to the primary for the global database cluster. Use the Amazon
16037
+ # Resource Name (ARN) for the identifier so that Aurora can locate the
16038
+ # cluster in its Amazon Web Services Region.
16039
+ #
16040
+ # @option params [Boolean] :allow_data_loss
16041
+ # Specifies whether to allow data loss for this global database cluster
16042
+ # operation. Allowing data loss triggers a global failover operation.
16043
+ #
16044
+ # If you don't specify `AllowDataLoss`, the global database cluster
16045
+ # operation defaults to a switchover.
16046
+ #
16047
+ # Constraints:
16048
+ #
16049
+ # * Can't be specified together with the `Switchover` parameter.
16050
+ #
16051
+ # ^
16052
+ #
16053
+ # @option params [Boolean] :switchover
16054
+ # Specifies whether to switch over this global database cluster.
16055
+ #
16056
+ # Constraints:
16057
+ #
16058
+ # * Can't be specified together with the `AllowDataLoss` parameter.
16059
+ #
16060
+ # ^
16001
16061
  #
16002
16062
  # @return [Types::FailoverGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
16003
16063
  #
@@ -16008,6 +16068,8 @@ module Aws::RDS
16008
16068
  # resp = client.failover_global_cluster({
16009
16069
  # global_cluster_identifier: "GlobalClusterIdentifier", # required
16010
16070
  # target_db_cluster_identifier: "DBClusterIdentifier", # required
16071
+ # allow_data_loss: false,
16072
+ # switchover: false,
16011
16073
  # })
16012
16074
  #
16013
16075
  # @example Response structure
@@ -16027,9 +16089,11 @@ module Aws::RDS
16027
16089
  # resp.global_cluster.global_cluster_members[0].readers[0] #=> String
16028
16090
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
16029
16091
  # resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
16092
+ # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
16030
16093
  # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
16031
16094
  # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
16032
16095
  # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
16096
+ # resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
16033
16097
  #
16034
16098
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverGlobalCluster AWS API Documentation
16035
16099
  #
@@ -20054,11 +20118,11 @@ module Aws::RDS
20054
20118
  req.send_request(options)
20055
20119
  end
20056
20120
 
20057
- # Modifies a setting for an Amazon Aurora global cluster. You can change
20058
- # one or more database configuration parameters by specifying these
20059
- # parameters and the new values in the request. For more information on
20060
- # Amazon Aurora, see [ What is Amazon Aurora?][1] in the *Amazon Aurora
20061
- # User Guide*.
20121
+ # Modifies a setting for an Amazon Aurora global database cluster. You
20122
+ # can change one or more database configuration parameters by specifying
20123
+ # these parameters and the new values in the request. For more
20124
+ # information on Amazon Aurora, see [ What is Amazon Aurora?][1] in the
20125
+ # *Amazon Aurora User Guide*.
20062
20126
  #
20063
20127
  # <note markdown="1"> This operation only applies to Aurora global database clusters.
20064
20128
  #
@@ -20183,9 +20247,11 @@ module Aws::RDS
20183
20247
  # resp.global_cluster.global_cluster_members[0].readers[0] #=> String
20184
20248
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
20185
20249
  # resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
20250
+ # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
20186
20251
  # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
20187
20252
  # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
20188
20253
  # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
20254
+ # resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
20189
20255
  #
20190
20256
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyGlobalCluster AWS API Documentation
20191
20257
  #
@@ -21393,9 +21459,11 @@ module Aws::RDS
21393
21459
  # resp.global_cluster.global_cluster_members[0].readers[0] #=> String
21394
21460
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
21395
21461
  # resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
21462
+ # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
21396
21463
  # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
21397
21464
  # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
21398
21465
  # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
21466
+ # resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
21399
21467
  #
21400
21468
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveFromGlobalCluster AWS API Documentation
21401
21469
  #
@@ -27896,6 +27964,92 @@ module Aws::RDS
27896
27964
  req.send_request(options)
27897
27965
  end
27898
27966
 
27967
+ # Switches over the specified secondary DB cluster to be the new primary
27968
+ # DB cluster in the global database cluster. Switchover operations were
27969
+ # previously called "managed planned failovers."
27970
+ #
27971
+ # Aurora promotes the specified secondary cluster to assume full
27972
+ # read/write capabilities and demotes the current primary cluster to a
27973
+ # secondary (read-only) cluster, maintaining the orginal replication
27974
+ # topology. All secondary clusters are synchronized with the primary at
27975
+ # the beginning of the process so the new primary continues operations
27976
+ # for the Aurora global database without losing any data. Your database
27977
+ # is unavailable for a short time while the primary and selected
27978
+ # secondary clusters are assuming their new roles. For more information
27979
+ # about switching over an Aurora global database, see [Performing
27980
+ # switchovers for Amazon Aurora global databases][1] in the *Amazon
27981
+ # Aurora User Guide*.
27982
+ #
27983
+ # <note markdown="1"> This operation is intended for controlled environments, for operations
27984
+ # such as "regional rotation" or to fall back to the original primary
27985
+ # after a global database failover.
27986
+ #
27987
+ # </note>
27988
+ #
27989
+ #
27990
+ #
27991
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-disaster-recovery.html#aurora-global-database-disaster-recovery.managed-failover
27992
+ #
27993
+ # @option params [required, String] :global_cluster_identifier
27994
+ # The identifier of the global database cluster to switch over. This
27995
+ # parameter isn't case-sensitive.
27996
+ #
27997
+ # Constraints:
27998
+ #
27999
+ # * Must match the identifier of an existing global database cluster
28000
+ # (Aurora global database).
28001
+ #
28002
+ # ^
28003
+ #
28004
+ # @option params [required, String] :target_db_cluster_identifier
28005
+ # The identifier of the secondary Aurora DB cluster to promote to the
28006
+ # new primary for the global database cluster. Use the Amazon Resource
28007
+ # Name (ARN) for the identifier so that Aurora can locate the cluster in
28008
+ # its Amazon Web Services Region.
28009
+ #
28010
+ # @return [Types::SwitchoverGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
28011
+ #
28012
+ # * {Types::SwitchoverGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
28013
+ #
28014
+ # @example Request syntax with placeholder values
28015
+ #
28016
+ # resp = client.switchover_global_cluster({
28017
+ # global_cluster_identifier: "GlobalClusterIdentifier", # required
28018
+ # target_db_cluster_identifier: "DBClusterIdentifier", # required
28019
+ # })
28020
+ #
28021
+ # @example Response structure
28022
+ #
28023
+ # resp.global_cluster.global_cluster_identifier #=> String
28024
+ # resp.global_cluster.global_cluster_resource_id #=> String
28025
+ # resp.global_cluster.global_cluster_arn #=> String
28026
+ # resp.global_cluster.status #=> String
28027
+ # resp.global_cluster.engine #=> String
28028
+ # resp.global_cluster.engine_version #=> String
28029
+ # resp.global_cluster.database_name #=> String
28030
+ # resp.global_cluster.storage_encrypted #=> Boolean
28031
+ # resp.global_cluster.deletion_protection #=> Boolean
28032
+ # resp.global_cluster.global_cluster_members #=> Array
28033
+ # resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
28034
+ # resp.global_cluster.global_cluster_members[0].readers #=> Array
28035
+ # resp.global_cluster.global_cluster_members[0].readers[0] #=> String
28036
+ # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
28037
+ # resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
28038
+ # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
28039
+ # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
28040
+ # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
28041
+ # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
28042
+ # resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
28043
+ #
28044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverGlobalCluster AWS API Documentation
28045
+ #
28046
+ # @overload switchover_global_cluster(params = {})
28047
+ # @param [Hash] params ({})
28048
+ def switchover_global_cluster(params = {}, options = {})
28049
+ req = build_request(:switchover_global_cluster, params)
28050
+ req.send_request(options)
28051
+ end
28052
+
27899
28053
  # Switches over an Oracle standby database in an Oracle Data Guard
27900
28054
  # environment, making it the new primary database. Issue this command in
27901
28055
  # the Region that hosts the current standby database.
@@ -28101,7 +28255,7 @@ module Aws::RDS
28101
28255
  params: params,
28102
28256
  config: config)
28103
28257
  context[:gem_name] = 'aws-sdk-rds'
28104
- context[:gem_version] = '1.189.0'
28258
+ context[:gem_version] = '1.190.0'
28105
28259
  Seahorse::Client::Request.new(handlers, context)
28106
28260
  end
28107
28261
 
@@ -387,6 +387,7 @@ module Aws::RDS
387
387
  GlobalClusterList = Shapes::ListShape.new(name: 'GlobalClusterList')
388
388
  GlobalClusterMember = Shapes::StructureShape.new(name: 'GlobalClusterMember')
389
389
  GlobalClusterMemberList = Shapes::ListShape.new(name: 'GlobalClusterMemberList')
390
+ GlobalClusterMemberSynchronizationStatus = Shapes::StringShape.new(name: 'GlobalClusterMemberSynchronizationStatus')
390
391
  GlobalClusterNotFoundFault = Shapes::StructureShape.new(name: 'GlobalClusterNotFoundFault')
391
392
  GlobalClusterQuotaExceededFault = Shapes::StructureShape.new(name: 'GlobalClusterQuotaExceededFault')
392
393
  GlobalClustersMessage = Shapes::StructureShape.new(name: 'GlobalClustersMessage')
@@ -627,6 +628,8 @@ module Aws::RDS
627
628
  SwitchoverDetail = Shapes::StructureShape.new(name: 'SwitchoverDetail')
628
629
  SwitchoverDetailList = Shapes::ListShape.new(name: 'SwitchoverDetailList')
629
630
  SwitchoverDetailStatus = Shapes::StringShape.new(name: 'SwitchoverDetailStatus')
631
+ SwitchoverGlobalClusterMessage = Shapes::StructureShape.new(name: 'SwitchoverGlobalClusterMessage')
632
+ SwitchoverGlobalClusterResult = Shapes::StructureShape.new(name: 'SwitchoverGlobalClusterResult')
630
633
  SwitchoverReadReplicaMessage = Shapes::StructureShape.new(name: 'SwitchoverReadReplicaMessage')
631
634
  SwitchoverReadReplicaResult = Shapes::StructureShape.new(name: 'SwitchoverReadReplicaResult')
632
635
  SwitchoverTimeout = Shapes::IntegerShape.new(name: 'SwitchoverTimeout')
@@ -2454,6 +2457,8 @@ module Aws::RDS
2454
2457
 
2455
2458
  FailoverGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
2456
2459
  FailoverGlobalClusterMessage.add_member(:target_db_cluster_identifier, Shapes::ShapeRef.new(shape: DBClusterIdentifier, required: true, location_name: "TargetDbClusterIdentifier"))
2460
+ FailoverGlobalClusterMessage.add_member(:allow_data_loss, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AllowDataLoss"))
2461
+ FailoverGlobalClusterMessage.add_member(:switchover, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Switchover"))
2457
2462
  FailoverGlobalClusterMessage.struct_class = Types::FailoverGlobalClusterMessage
2458
2463
 
2459
2464
  FailoverGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
@@ -2462,6 +2467,7 @@ module Aws::RDS
2462
2467
  FailoverState.add_member(:status, Shapes::ShapeRef.new(shape: FailoverStatus, location_name: "Status"))
2463
2468
  FailoverState.add_member(:from_db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "FromDbClusterArn"))
2464
2469
  FailoverState.add_member(:to_db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "ToDbClusterArn"))
2470
+ FailoverState.add_member(:is_data_loss_allowed, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDataLossAllowed"))
2465
2471
  FailoverState.struct_class = Types::FailoverState
2466
2472
 
2467
2473
  FeatureNameList.member = Shapes::ShapeRef.new(shape: String)
@@ -2495,6 +2501,7 @@ module Aws::RDS
2495
2501
  GlobalClusterMember.add_member(:readers, Shapes::ShapeRef.new(shape: ReadersArnList, location_name: "Readers"))
2496
2502
  GlobalClusterMember.add_member(:is_writer, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsWriter"))
2497
2503
  GlobalClusterMember.add_member(:global_write_forwarding_status, Shapes::ShapeRef.new(shape: WriteForwardingStatus, location_name: "GlobalWriteForwardingStatus"))
2504
+ GlobalClusterMember.add_member(:synchronization_status, Shapes::ShapeRef.new(shape: GlobalClusterMemberSynchronizationStatus, location_name: "SynchronizationStatus"))
2498
2505
  GlobalClusterMember.struct_class = Types::GlobalClusterMember
2499
2506
 
2500
2507
  GlobalClusterMemberList.member = Shapes::ShapeRef.new(shape: GlobalClusterMember, location_name: "GlobalClusterMember")
@@ -3681,6 +3688,13 @@ module Aws::RDS
3681
3688
 
3682
3689
  SwitchoverDetailList.member = Shapes::ShapeRef.new(shape: SwitchoverDetail)
3683
3690
 
3691
+ SwitchoverGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
3692
+ SwitchoverGlobalClusterMessage.add_member(:target_db_cluster_identifier, Shapes::ShapeRef.new(shape: DBClusterIdentifier, required: true, location_name: "TargetDbClusterIdentifier"))
3693
+ SwitchoverGlobalClusterMessage.struct_class = Types::SwitchoverGlobalClusterMessage
3694
+
3695
+ SwitchoverGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
3696
+ SwitchoverGlobalClusterResult.struct_class = Types::SwitchoverGlobalClusterResult
3697
+
3684
3698
  SwitchoverReadReplicaMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
3685
3699
  SwitchoverReadReplicaMessage.struct_class = Types::SwitchoverReadReplicaMessage
3686
3700
 
@@ -5701,6 +5715,18 @@ module Aws::RDS
5701
5715
  o.errors << Shapes::ShapeRef.new(shape: InvalidBlueGreenDeploymentStateFault)
5702
5716
  end)
5703
5717
 
5718
+ api.add_operation(:switchover_global_cluster, Seahorse::Model::Operation.new.tap do |o|
5719
+ o.name = "SwitchoverGlobalCluster"
5720
+ o.http_method = "POST"
5721
+ o.http_request_uri = "/"
5722
+ o.input = Shapes::ShapeRef.new(shape: SwitchoverGlobalClusterMessage)
5723
+ o.output = Shapes::ShapeRef.new(shape: SwitchoverGlobalClusterResult)
5724
+ o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
5725
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
5726
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
5727
+ o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
5728
+ end)
5729
+
5704
5730
  api.add_operation(:switchover_read_replica, Seahorse::Model::Operation.new.tap do |o|
5705
5731
  o.name = "SwitchoverReadReplica"
5706
5732
  o.http_method = "POST"
@@ -1379,6 +1379,12 @@ module Aws::RDS
1379
1379
  #
1380
1380
  # * Multi-AZ DB clusters - `io1`
1381
1381
  #
1382
+ # <note markdown="1"> When you create an Aurora DB cluster with the storage type set to
1383
+ # `aurora-iopt1`, the storage type is returned in the response. The
1384
+ # storage type isn't returned when you set it to `aurora`.
1385
+ #
1386
+ # </note>
1387
+ #
1382
1388
  #
1383
1389
  #
1384
1390
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type
@@ -2000,6 +2000,20 @@ module Aws::RDS
2000
2000
  end
2001
2001
  end
2002
2002
 
2003
+ class SwitchoverGlobalCluster
2004
+ def self.build(context)
2005
+ unless context.config.regional_endpoint
2006
+ endpoint = context.config.endpoint.to_s
2007
+ end
2008
+ Aws::RDS::EndpointParameters.new(
2009
+ region: context.config.region,
2010
+ use_dual_stack: context.config.use_dualstack_endpoint,
2011
+ use_fips: context.config.use_fips_endpoint,
2012
+ endpoint: endpoint,
2013
+ )
2014
+ end
2015
+ end
2016
+
2003
2017
  class SwitchoverReadReplica
2004
2018
  def self.build(context)
2005
2019
  unless context.config.regional_endpoint
@@ -340,6 +340,8 @@ module Aws::RDS
340
340
  Aws::RDS::Endpoints::StopDBInstanceAutomatedBackupsReplication.build(context)
341
341
  when :switchover_blue_green_deployment
342
342
  Aws::RDS::Endpoints::SwitchoverBlueGreenDeployment.build(context)
343
+ when :switchover_global_cluster
344
+ Aws::RDS::Endpoints::SwitchoverGlobalCluster.build(context)
343
345
  when :switchover_read_replica
344
346
  Aws::RDS::Endpoints::SwitchoverReadReplica.build(context)
345
347
  end
@@ -631,6 +631,12 @@ module Aws::RDS
631
631
  #
632
632
  # * Multi-AZ DB clusters - `io1`
633
633
  #
634
+ # <note markdown="1"> When you create an Aurora DB cluster with the storage type set to
635
+ # `aurora-iopt1`, the storage type is returned in the response. The
636
+ # storage type isn't returned when you set it to `aurora`.
637
+ #
638
+ # </note>
639
+ #
634
640
  #
635
641
  #
636
642
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type
@@ -2543,6 +2543,12 @@ module Aws::RDS
2543
2543
  #
2544
2544
  # * Multi-AZ DB clusters - `io1`
2545
2545
  #
2546
+ # <note markdown="1"> When you create an Aurora DB cluster with the storage type set to
2547
+ # `aurora-iopt1`, the storage type is returned in the response. The
2548
+ # storage type isn't returned when you set it to `aurora`.
2549
+ #
2550
+ # </note>
2551
+ #
2546
2552
  #
2547
2553
  #
2548
2554
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type
@@ -13928,32 +13934,58 @@ module Aws::RDS
13928
13934
  end
13929
13935
 
13930
13936
  # @!attribute [rw] global_cluster_identifier
13931
- # Identifier of the Aurora global database (GlobalCluster) that should
13932
- # be failed over. The identifier is the unique key assigned by the
13933
- # user when the Aurora global database was created. In other words,
13934
- # it's the name of the Aurora global database that you want to fail
13935
- # over.
13937
+ # The identifier of the global database cluster (Aurora global
13938
+ # database) this operation should apply to. The identifier is the
13939
+ # unique key assigned by the user when the Aurora global database is
13940
+ # created. In other words, it's the name of the Aurora global
13941
+ # database.
13936
13942
  #
13937
13943
  # Constraints:
13938
13944
  #
13939
- # * Must match the identifier of an existing GlobalCluster (Aurora
13940
- # global database).
13945
+ # * Must match the identifier of an existing global database cluster.
13941
13946
  #
13942
13947
  # ^
13943
13948
  # @return [String]
13944
13949
  #
13945
13950
  # @!attribute [rw] target_db_cluster_identifier
13946
- # Identifier of the secondary Aurora DB cluster that you want to
13947
- # promote to primary for the Aurora global database (GlobalCluster.)
13948
- # Use the Amazon Resource Name (ARN) for the identifier so that Aurora
13949
- # can locate the cluster in its Amazon Web Services Region.
13951
+ # The identifier of the secondary Aurora DB cluster that you want to
13952
+ # promote to the primary for the global database cluster. Use the
13953
+ # Amazon Resource Name (ARN) for the identifier so that Aurora can
13954
+ # locate the cluster in its Amazon Web Services Region.
13950
13955
  # @return [String]
13951
13956
  #
13957
+ # @!attribute [rw] allow_data_loss
13958
+ # Specifies whether to allow data loss for this global database
13959
+ # cluster operation. Allowing data loss triggers a global failover
13960
+ # operation.
13961
+ #
13962
+ # If you don't specify `AllowDataLoss`, the global database cluster
13963
+ # operation defaults to a switchover.
13964
+ #
13965
+ # Constraints:
13966
+ #
13967
+ # * Can't be specified together with the `Switchover` parameter.
13968
+ #
13969
+ # ^
13970
+ # @return [Boolean]
13971
+ #
13972
+ # @!attribute [rw] switchover
13973
+ # Specifies whether to switch over this global database cluster.
13974
+ #
13975
+ # Constraints:
13976
+ #
13977
+ # * Can't be specified together with the `AllowDataLoss` parameter.
13978
+ #
13979
+ # ^
13980
+ # @return [Boolean]
13981
+ #
13952
13982
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverGlobalClusterMessage AWS API Documentation
13953
13983
  #
13954
13984
  class FailoverGlobalClusterMessage < Struct.new(
13955
13985
  :global_cluster_identifier,
13956
- :target_db_cluster_identifier)
13986
+ :target_db_cluster_identifier,
13987
+ :allow_data_loss,
13988
+ :switchover)
13957
13989
  SENSITIVE = []
13958
13990
  include Aws::Structure
13959
13991
  end
@@ -13970,30 +14002,29 @@ module Aws::RDS
13970
14002
  include Aws::Structure
13971
14003
  end
13972
14004
 
13973
- # Contains the state of scheduled or in-process failover operations on
13974
- # an Aurora global database (GlobalCluster). This Data type is empty
13975
- # unless a failover operation is scheduled or is currently underway on
13976
- # the Aurora global database.
14005
+ # Contains the state of scheduled or in-process operations on a global
14006
+ # cluster (Aurora global database). This data type is empty unless a
14007
+ # switchover or failover operation is scheduled or is in progress on the
14008
+ # Aurora global database.
13977
14009
  #
13978
14010
  # @!attribute [rw] status
13979
- # The current status of the Aurora global database (GlobalCluster).
13980
- # Possible values are as follows:
14011
+ # The current status of the global cluster. Possible values are as
14012
+ # follows:
13981
14013
  #
13982
- # * pending – A request to fail over the Aurora global database
13983
- # (GlobalCluster) has been received by the service. The
13984
- # `GlobalCluster`'s primary DB cluster and the specified secondary
13985
- # DB cluster are being verified before the failover process can
13986
- # start.
14014
+ # * pending – The service received a request to switch over or fail
14015
+ # over the global cluster. The global cluster's primary DB cluster
14016
+ # and the specified secondary DB cluster are being verified before
14017
+ # the operation starts.
13987
14018
  #
13988
14019
  # * failing-over – This status covers the range of Aurora internal
13989
- # operations that take place during the failover process, such as
13990
- # demoting the primary Aurora DB cluster, promoting the secondary
13991
- # Aurora DB, and synchronizing replicas.
14020
+ # operations that take place during the switchover or failover
14021
+ # process, such as demoting the primary Aurora DB cluster, promoting
14022
+ # the secondary Aurora DB cluster, and synchronizing replicas.
13992
14023
  #
13993
- # * cancelling – The request to fail over the Aurora global database
13994
- # (GlobalCluster) was cancelled and the primary Aurora DB cluster
13995
- # and the selected secondary Aurora DB cluster are returning to
13996
- # their previous states.
14024
+ # * cancelling – The request to switch over or fail over the global
14025
+ # cluster was cancelled and the primary Aurora DB cluster and the
14026
+ # selected secondary Aurora DB cluster are returning to their
14027
+ # previous states.
13997
14028
  # @return [String]
13998
14029
  #
13999
14030
  # @!attribute [rw] from_db_cluster_arn
@@ -14006,12 +14037,19 @@ module Aws::RDS
14006
14037
  # currently being promoted, and which is associated with this state.
14007
14038
  # @return [String]
14008
14039
  #
14040
+ # @!attribute [rw] is_data_loss_allowed
14041
+ # Indicates whether the operation is a global switchover or a global
14042
+ # failover. If data loss is allowed, then the operation is a global
14043
+ # failover. Otherwise, it's a switchover.
14044
+ # @return [Boolean]
14045
+ #
14009
14046
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverState AWS API Documentation
14010
14047
  #
14011
14048
  class FailoverState < Struct.new(
14012
14049
  :status,
14013
14050
  :from_db_cluster_arn,
14014
- :to_db_cluster_arn)
14051
+ :to_db_cluster_arn,
14052
+ :is_data_loss_allowed)
14015
14053
  SENSITIVE = []
14016
14054
  include Aws::Structure
14017
14055
  end
@@ -14105,10 +14143,10 @@ module Aws::RDS
14105
14143
  #
14106
14144
  # @!attribute [rw] failover_state
14107
14145
  # A data object containing all properties for the current state of an
14108
- # in-process or pending failover process for this Aurora global
14109
- # database. This object is empty unless the FailoverGlobalCluster API
14110
- # operation has been called on this Aurora global database
14111
- # (GlobalCluster).
14146
+ # in-process or pending switchover or failover process for this global
14147
+ # cluster (Aurora global database). This object is empty unless the
14148
+ # `SwitchoverGlobalCluster` or `FailoverGlobalCluster` operation was
14149
+ # called on this global cluster.
14112
14150
  # @return [Types::FailoverState]
14113
14151
  #
14114
14152
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/GlobalCluster AWS API Documentation
@@ -14138,36 +14176,43 @@ module Aws::RDS
14138
14176
  class GlobalClusterAlreadyExistsFault < Aws::EmptyStructure; end
14139
14177
 
14140
14178
  # A data structure with information about any primary and secondary
14141
- # clusters associated with an Aurora global database.
14179
+ # clusters associated with a global cluster (Aurora global database).
14142
14180
  #
14143
14181
  # @!attribute [rw] db_cluster_arn
14144
- # The Amazon Resource Name (ARN) for each Aurora cluster.
14182
+ # The Amazon Resource Name (ARN) for each Aurora DB cluster in the
14183
+ # global cluster.
14145
14184
  # @return [String]
14146
14185
  #
14147
14186
  # @!attribute [rw] readers
14148
14187
  # The Amazon Resource Name (ARN) for each read-only secondary cluster
14149
- # associated with the Aurora global database.
14188
+ # associated with the global cluster.
14150
14189
  # @return [Array<String>]
14151
14190
  #
14152
14191
  # @!attribute [rw] is_writer
14153
- # Specifies whether the Aurora cluster is the primary cluster (that
14154
- # is, has read-write capability) for the Aurora global database with
14155
- # which it is associated.
14192
+ # Specifies whether the Aurora DB cluster is the primary cluster (that
14193
+ # is, has read-write capability) for the global cluster with which it
14194
+ # is associated.
14156
14195
  # @return [Boolean]
14157
14196
  #
14158
14197
  # @!attribute [rw] global_write_forwarding_status
14159
- # Specifies whether a secondary cluster in an Aurora global database
14160
- # has write forwarding enabled, not enabled, or is in the process of
14198
+ # Specifies whether a secondary cluster in the global cluster has
14199
+ # write forwarding enabled, not enabled, or is in the process of
14161
14200
  # enabling it.
14162
14201
  # @return [String]
14163
14202
  #
14203
+ # @!attribute [rw] synchronization_status
14204
+ # The status of synchronization of each Aurora DB cluster in the
14205
+ # global cluster.
14206
+ # @return [String]
14207
+ #
14164
14208
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/GlobalClusterMember AWS API Documentation
14165
14209
  #
14166
14210
  class GlobalClusterMember < Struct.new(
14167
14211
  :db_cluster_arn,
14168
14212
  :readers,
14169
14213
  :is_writer,
14170
- :global_write_forwarding_status)
14214
+ :global_write_forwarding_status,
14215
+ :synchronization_status)
14171
14216
  SENSITIVE = []
14172
14217
  include Aws::Structure
14173
14218
  end
@@ -23963,6 +24008,46 @@ module Aws::RDS
23963
24008
  include Aws::Structure
23964
24009
  end
23965
24010
 
24011
+ # @!attribute [rw] global_cluster_identifier
24012
+ # The identifier of the global database cluster to switch over. This
24013
+ # parameter isn't case-sensitive.
24014
+ #
24015
+ # Constraints:
24016
+ #
24017
+ # * Must match the identifier of an existing global database cluster
24018
+ # (Aurora global database).
24019
+ #
24020
+ # ^
24021
+ # @return [String]
24022
+ #
24023
+ # @!attribute [rw] target_db_cluster_identifier
24024
+ # The identifier of the secondary Aurora DB cluster to promote to the
24025
+ # new primary for the global database cluster. Use the Amazon Resource
24026
+ # Name (ARN) for the identifier so that Aurora can locate the cluster
24027
+ # in its Amazon Web Services Region.
24028
+ # @return [String]
24029
+ #
24030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverGlobalClusterMessage AWS API Documentation
24031
+ #
24032
+ class SwitchoverGlobalClusterMessage < Struct.new(
24033
+ :global_cluster_identifier,
24034
+ :target_db_cluster_identifier)
24035
+ SENSITIVE = []
24036
+ include Aws::Structure
24037
+ end
24038
+
24039
+ # @!attribute [rw] global_cluster
24040
+ # A data type representing an Aurora global database.
24041
+ # @return [Types::GlobalCluster]
24042
+ #
24043
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverGlobalClusterResult AWS API Documentation
24044
+ #
24045
+ class SwitchoverGlobalClusterResult < Struct.new(
24046
+ :global_cluster)
24047
+ SENSITIVE = []
24048
+ include Aws::Structure
24049
+ end
24050
+
23966
24051
  # @!attribute [rw] db_instance_identifier
23967
24052
  # The DB instance identifier of the current standby database. This
23968
24053
  # value is stored as a lowercase string.
data/lib/aws-sdk-rds.rb CHANGED
@@ -78,6 +78,6 @@ require_relative 'aws-sdk-rds/customizations'
78
78
  # @!group service
79
79
  module Aws::RDS
80
80
 
81
- GEM_VERSION = '1.189.0'
81
+ GEM_VERSION = '1.190.0'
82
82
 
83
83
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.189.0
4
+ version: 1.190.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-01 00:00:00.000000000 Z
11
+ date: 2023-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4