aws-sdk-rds 1.189.0 → 1.191.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +198 -36
- data/lib/aws-sdk-rds/client_api.rb +28 -0
- data/lib/aws-sdk-rds/db_cluster.rb +6 -0
- data/lib/aws-sdk-rds/endpoints.rb +14 -0
- data/lib/aws-sdk-rds/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-rds/resource.rb +6 -0
- data/lib/aws-sdk-rds/types.rb +140 -45
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d13ab359180d260c150905320b458ac72f396d5b05db47fbb3942d455e805e8f
|
4
|
+
data.tar.gz: a4c581ba5d2aabb474306535f458243b5f481f3f66dcd73d947cfcf292728db0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1abd9c0b08b09fc135bba16c0a4e5dd1f8aad9a13a1cb89d6011f13514595c5ed6b89c9292fab698a55d9510753b9b48b05dabd9538791282a408f6765cc2d00
|
7
|
+
data.tar.gz: 26625e11c5a4dc7e3e5d6268eb6e5f264fa73d52f82d9ef940083938096f13c539d17502dbb989b6257d757e2a24029f7b9e4bd78d43da7859d8acb015de6a0d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.191.0 (2023-08-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding parameters to CreateCustomDbEngineVersion reserved for future use.
|
8
|
+
|
9
|
+
1.190.0 (2023-08-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adding support for RDS Aurora Global Database Unplanned Failover
|
13
|
+
|
4
14
|
1.189.0 (2023-08-01)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.191.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -2298,6 +2298,12 @@ module Aws::RDS
|
|
2298
2298
|
#
|
2299
2299
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
|
2300
2300
|
#
|
2301
|
+
# @option params [String] :source_custom_db_engine_version_identifier
|
2302
|
+
# Reserved for future use.
|
2303
|
+
#
|
2304
|
+
# @option params [Boolean] :use_aws_provided_latest_image
|
2305
|
+
# Reserved for future use.
|
2306
|
+
#
|
2301
2307
|
# @return [Types::DBEngineVersion] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2302
2308
|
#
|
2303
2309
|
# * {Types::DBEngineVersion#engine #engine} => String
|
@@ -2350,6 +2356,8 @@ module Aws::RDS
|
|
2350
2356
|
# value: "String",
|
2351
2357
|
# },
|
2352
2358
|
# ],
|
2359
|
+
# source_custom_db_engine_version_identifier: "String255",
|
2360
|
+
# use_aws_provided_latest_image: false,
|
2353
2361
|
# })
|
2354
2362
|
#
|
2355
2363
|
# @example Response structure
|
@@ -3006,6 +3014,12 @@ module Aws::RDS
|
|
3006
3014
|
#
|
3007
3015
|
# * Multi-AZ DB clusters - `io1`
|
3008
3016
|
#
|
3017
|
+
# <note markdown="1"> When you create an Aurora DB cluster with the storage type set to
|
3018
|
+
# `aurora-iopt1`, the storage type is returned in the response. The
|
3019
|
+
# storage type isn't returned when you set it to `aurora`.
|
3020
|
+
#
|
3021
|
+
# </note>
|
3022
|
+
#
|
3009
3023
|
#
|
3010
3024
|
#
|
3011
3025
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type
|
@@ -7517,9 +7531,11 @@ module Aws::RDS
|
|
7517
7531
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
7518
7532
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
7519
7533
|
# resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
7534
|
+
# resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
|
7520
7535
|
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
7521
7536
|
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
7522
7537
|
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
7538
|
+
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
|
7523
7539
|
#
|
7524
7540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateGlobalCluster AWS API Documentation
|
7525
7541
|
#
|
@@ -9451,9 +9467,11 @@ module Aws::RDS
|
|
9451
9467
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
9452
9468
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
9453
9469
|
# resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
9470
|
+
# resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
|
9454
9471
|
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
9455
9472
|
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
9456
9473
|
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
9474
|
+
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
|
9457
9475
|
#
|
9458
9476
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteGlobalCluster AWS API Documentation
|
9459
9477
|
#
|
@@ -14381,9 +14399,11 @@ module Aws::RDS
|
|
14381
14399
|
# resp.global_clusters[0].global_cluster_members[0].readers[0] #=> String
|
14382
14400
|
# resp.global_clusters[0].global_cluster_members[0].is_writer #=> Boolean
|
14383
14401
|
# resp.global_clusters[0].global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
14402
|
+
# resp.global_clusters[0].global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
|
14384
14403
|
# resp.global_clusters[0].failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
14385
14404
|
# resp.global_clusters[0].failover_state.from_db_cluster_arn #=> String
|
14386
14405
|
# resp.global_clusters[0].failover_state.to_db_cluster_arn #=> String
|
14406
|
+
# resp.global_clusters[0].failover_state.is_data_loss_allowed #=> Boolean
|
14387
14407
|
#
|
14388
14408
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeGlobalClusters AWS API Documentation
|
14389
14409
|
#
|
@@ -15953,51 +15973,99 @@ module Aws::RDS
|
|
15953
15973
|
req.send_request(options)
|
15954
15974
|
end
|
15955
15975
|
|
15956
|
-
#
|
15957
|
-
#
|
15958
|
-
#
|
15959
|
-
#
|
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*.
|
15976
|
+
# Promotes the specified secondary DB cluster to be the primary DB
|
15977
|
+
# cluster in the global database cluster to fail over or switch over a
|
15978
|
+
# global database. Switchover operations were previously called
|
15979
|
+
# "managed planned failovers."
|
15970
15980
|
#
|
15971
|
-
# <note markdown="1">
|
15972
|
-
#
|
15973
|
-
#
|
15974
|
-
#
|
15975
|
-
# topology.
|
15981
|
+
# <note markdown="1"> Although this operation can be used either to fail over or to switch
|
15982
|
+
# over a global database cluster, its intended use is for global
|
15983
|
+
# database failover. To switch over a global database cluster, we
|
15984
|
+
# recommend that you use the SwitchoverGlobalCluster operation instead.
|
15976
15985
|
#
|
15977
15986
|
# </note>
|
15978
15987
|
#
|
15988
|
+
# How you use this operation depends on whether you are failing over or
|
15989
|
+
# switching over your global database cluster:
|
15979
15990
|
#
|
15991
|
+
# * Failing over - Specify the `AllowDataLoss` parameter and don't
|
15992
|
+
# specify the `Switchover` parameter.
|
15980
15993
|
#
|
15981
|
-
#
|
15994
|
+
# * Switching over - Specify the `Switchover` parameter or omit it, but
|
15995
|
+
# don't specify the `AllowDataLoss` parameter.
|
15996
|
+
#
|
15997
|
+
# **About failing over and switching over**
|
15998
|
+
#
|
15999
|
+
# While failing over and switching over a global database cluster both
|
16000
|
+
# change the primary DB cluster, you use these operations for different
|
16001
|
+
# reasons:
|
16002
|
+
#
|
16003
|
+
# * *Failing over* - Use this operation to respond to an unplanned
|
16004
|
+
# event, such as a Regional disaster in the primary Region. Failing
|
16005
|
+
# over can result in a loss of write transaction data that wasn't
|
16006
|
+
# replicated to the chosen secondary before the failover event
|
16007
|
+
# occurred. However, the recovery process that promotes a DB instance
|
16008
|
+
# on the chosen seconday DB cluster to be the primary writer DB
|
16009
|
+
# instance guarantees that the data is in a transactionally consistent
|
16010
|
+
# state.
|
16011
|
+
#
|
16012
|
+
# For more information about failing over an Amazon Aurora global
|
16013
|
+
# database, see [Performing managed failovers for Aurora global
|
16014
|
+
# databases][1] in the *Amazon Aurora User Guide*.
|
16015
|
+
#
|
16016
|
+
# * *Switching over* - Use this operation on a healthy global database
|
16017
|
+
# cluster for planned events, such as Regional rotation or to fail
|
16018
|
+
# back to the original primary DB cluster after a failover operation.
|
16019
|
+
# With this operation, there is no data loss.
|
16020
|
+
#
|
16021
|
+
# For more information about switching over an Amazon Aurora global
|
16022
|
+
# database, see [Performing switchovers for Aurora global
|
16023
|
+
# databases][2] in the *Amazon Aurora User Guide*.
|
16024
|
+
#
|
16025
|
+
#
|
16026
|
+
#
|
16027
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-disaster-recovery.html#aurora-global-database-failover.managed-unplanned
|
16028
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-disaster-recovery.html#aurora-global-database-disaster-recovery.managed-failover
|
15982
16029
|
#
|
15983
16030
|
# @option params [required, String] :global_cluster_identifier
|
15984
|
-
#
|
15985
|
-
#
|
15986
|
-
# when the Aurora global database
|
15987
|
-
# name of the Aurora global database
|
16031
|
+
# The identifier of the global database cluster (Aurora global database)
|
16032
|
+
# this operation should apply to. The identifier is the unique key
|
16033
|
+
# assigned by the user when the Aurora global database is created. In
|
16034
|
+
# other words, it's the name of the Aurora global database.
|
15988
16035
|
#
|
15989
16036
|
# Constraints:
|
15990
16037
|
#
|
15991
|
-
# * Must match the identifier of an existing
|
15992
|
-
# global database).
|
16038
|
+
# * Must match the identifier of an existing global database cluster.
|
15993
16039
|
#
|
15994
16040
|
# ^
|
15995
16041
|
#
|
15996
16042
|
# @option params [required, String] :target_db_cluster_identifier
|
15997
|
-
#
|
15998
|
-
# to primary for the
|
15999
|
-
#
|
16000
|
-
#
|
16043
|
+
# The identifier of the secondary Aurora DB cluster that you want to
|
16044
|
+
# promote to the primary for the global database cluster. Use the Amazon
|
16045
|
+
# Resource Name (ARN) for the identifier so that Aurora can locate the
|
16046
|
+
# cluster in its Amazon Web Services Region.
|
16047
|
+
#
|
16048
|
+
# @option params [Boolean] :allow_data_loss
|
16049
|
+
# Specifies whether to allow data loss for this global database cluster
|
16050
|
+
# operation. Allowing data loss triggers a global failover operation.
|
16051
|
+
#
|
16052
|
+
# If you don't specify `AllowDataLoss`, the global database cluster
|
16053
|
+
# operation defaults to a switchover.
|
16054
|
+
#
|
16055
|
+
# Constraints:
|
16056
|
+
#
|
16057
|
+
# * Can't be specified together with the `Switchover` parameter.
|
16058
|
+
#
|
16059
|
+
# ^
|
16060
|
+
#
|
16061
|
+
# @option params [Boolean] :switchover
|
16062
|
+
# Specifies whether to switch over this global database cluster.
|
16063
|
+
#
|
16064
|
+
# Constraints:
|
16065
|
+
#
|
16066
|
+
# * Can't be specified together with the `AllowDataLoss` parameter.
|
16067
|
+
#
|
16068
|
+
# ^
|
16001
16069
|
#
|
16002
16070
|
# @return [Types::FailoverGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
16003
16071
|
#
|
@@ -16008,6 +16076,8 @@ module Aws::RDS
|
|
16008
16076
|
# resp = client.failover_global_cluster({
|
16009
16077
|
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
16010
16078
|
# target_db_cluster_identifier: "DBClusterIdentifier", # required
|
16079
|
+
# allow_data_loss: false,
|
16080
|
+
# switchover: false,
|
16011
16081
|
# })
|
16012
16082
|
#
|
16013
16083
|
# @example Response structure
|
@@ -16027,9 +16097,11 @@ module Aws::RDS
|
|
16027
16097
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
16028
16098
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
16029
16099
|
# resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
16100
|
+
# resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
|
16030
16101
|
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
16031
16102
|
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
16032
16103
|
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
16104
|
+
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
|
16033
16105
|
#
|
16034
16106
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverGlobalCluster AWS API Documentation
|
16035
16107
|
#
|
@@ -20054,11 +20126,11 @@ module Aws::RDS
|
|
20054
20126
|
req.send_request(options)
|
20055
20127
|
end
|
20056
20128
|
|
20057
|
-
# Modifies a setting for an Amazon Aurora global cluster. You
|
20058
|
-
# one or more database configuration parameters by specifying
|
20059
|
-
# parameters and the new values in the request. For more
|
20060
|
-
# Amazon Aurora, see [ What is Amazon Aurora?][1] in the
|
20061
|
-
# User Guide*.
|
20129
|
+
# Modifies a setting for an Amazon Aurora global database cluster. You
|
20130
|
+
# can change one or more database configuration parameters by specifying
|
20131
|
+
# these parameters and the new values in the request. For more
|
20132
|
+
# information on Amazon Aurora, see [ What is Amazon Aurora?][1] in the
|
20133
|
+
# *Amazon Aurora User Guide*.
|
20062
20134
|
#
|
20063
20135
|
# <note markdown="1"> This operation only applies to Aurora global database clusters.
|
20064
20136
|
#
|
@@ -20183,9 +20255,11 @@ module Aws::RDS
|
|
20183
20255
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
20184
20256
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
20185
20257
|
# resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
20258
|
+
# resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
|
20186
20259
|
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
20187
20260
|
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
20188
20261
|
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
20262
|
+
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
|
20189
20263
|
#
|
20190
20264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyGlobalCluster AWS API Documentation
|
20191
20265
|
#
|
@@ -21393,9 +21467,11 @@ module Aws::RDS
|
|
21393
21467
|
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
21394
21468
|
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
21395
21469
|
# resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
21470
|
+
# resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
|
21396
21471
|
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
21397
21472
|
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
21398
21473
|
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
21474
|
+
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
|
21399
21475
|
#
|
21400
21476
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveFromGlobalCluster AWS API Documentation
|
21401
21477
|
#
|
@@ -27896,6 +27972,92 @@ module Aws::RDS
|
|
27896
27972
|
req.send_request(options)
|
27897
27973
|
end
|
27898
27974
|
|
27975
|
+
# Switches over the specified secondary DB cluster to be the new primary
|
27976
|
+
# DB cluster in the global database cluster. Switchover operations were
|
27977
|
+
# previously called "managed planned failovers."
|
27978
|
+
#
|
27979
|
+
# Aurora promotes the specified secondary cluster to assume full
|
27980
|
+
# read/write capabilities and demotes the current primary cluster to a
|
27981
|
+
# secondary (read-only) cluster, maintaining the orginal replication
|
27982
|
+
# topology. All secondary clusters are synchronized with the primary at
|
27983
|
+
# the beginning of the process so the new primary continues operations
|
27984
|
+
# for the Aurora global database without losing any data. Your database
|
27985
|
+
# is unavailable for a short time while the primary and selected
|
27986
|
+
# secondary clusters are assuming their new roles. For more information
|
27987
|
+
# about switching over an Aurora global database, see [Performing
|
27988
|
+
# switchovers for Amazon Aurora global databases][1] in the *Amazon
|
27989
|
+
# Aurora User Guide*.
|
27990
|
+
#
|
27991
|
+
# <note markdown="1"> This operation is intended for controlled environments, for operations
|
27992
|
+
# such as "regional rotation" or to fall back to the original primary
|
27993
|
+
# after a global database failover.
|
27994
|
+
#
|
27995
|
+
# </note>
|
27996
|
+
#
|
27997
|
+
#
|
27998
|
+
#
|
27999
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-disaster-recovery.html#aurora-global-database-disaster-recovery.managed-failover
|
28000
|
+
#
|
28001
|
+
# @option params [required, String] :global_cluster_identifier
|
28002
|
+
# The identifier of the global database cluster to switch over. This
|
28003
|
+
# parameter isn't case-sensitive.
|
28004
|
+
#
|
28005
|
+
# Constraints:
|
28006
|
+
#
|
28007
|
+
# * Must match the identifier of an existing global database cluster
|
28008
|
+
# (Aurora global database).
|
28009
|
+
#
|
28010
|
+
# ^
|
28011
|
+
#
|
28012
|
+
# @option params [required, String] :target_db_cluster_identifier
|
28013
|
+
# The identifier of the secondary Aurora DB cluster to promote to the
|
28014
|
+
# new primary for the global database cluster. Use the Amazon Resource
|
28015
|
+
# Name (ARN) for the identifier so that Aurora can locate the cluster in
|
28016
|
+
# its Amazon Web Services Region.
|
28017
|
+
#
|
28018
|
+
# @return [Types::SwitchoverGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
28019
|
+
#
|
28020
|
+
# * {Types::SwitchoverGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
|
28021
|
+
#
|
28022
|
+
# @example Request syntax with placeholder values
|
28023
|
+
#
|
28024
|
+
# resp = client.switchover_global_cluster({
|
28025
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
28026
|
+
# target_db_cluster_identifier: "DBClusterIdentifier", # required
|
28027
|
+
# })
|
28028
|
+
#
|
28029
|
+
# @example Response structure
|
28030
|
+
#
|
28031
|
+
# resp.global_cluster.global_cluster_identifier #=> String
|
28032
|
+
# resp.global_cluster.global_cluster_resource_id #=> String
|
28033
|
+
# resp.global_cluster.global_cluster_arn #=> String
|
28034
|
+
# resp.global_cluster.status #=> String
|
28035
|
+
# resp.global_cluster.engine #=> String
|
28036
|
+
# resp.global_cluster.engine_version #=> String
|
28037
|
+
# resp.global_cluster.database_name #=> String
|
28038
|
+
# resp.global_cluster.storage_encrypted #=> Boolean
|
28039
|
+
# resp.global_cluster.deletion_protection #=> Boolean
|
28040
|
+
# resp.global_cluster.global_cluster_members #=> Array
|
28041
|
+
# resp.global_cluster.global_cluster_members[0].db_cluster_arn #=> String
|
28042
|
+
# resp.global_cluster.global_cluster_members[0].readers #=> Array
|
28043
|
+
# resp.global_cluster.global_cluster_members[0].readers[0] #=> String
|
28044
|
+
# resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
|
28045
|
+
# resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
|
28046
|
+
# resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
|
28047
|
+
# resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
|
28048
|
+
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
|
28049
|
+
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
|
28050
|
+
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
|
28051
|
+
#
|
28052
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverGlobalCluster AWS API Documentation
|
28053
|
+
#
|
28054
|
+
# @overload switchover_global_cluster(params = {})
|
28055
|
+
# @param [Hash] params ({})
|
28056
|
+
def switchover_global_cluster(params = {}, options = {})
|
28057
|
+
req = build_request(:switchover_global_cluster, params)
|
28058
|
+
req.send_request(options)
|
28059
|
+
end
|
28060
|
+
|
27899
28061
|
# Switches over an Oracle standby database in an Oracle Data Guard
|
27900
28062
|
# environment, making it the new primary database. Issue this command in
|
27901
28063
|
# the Region that hosts the current standby database.
|
@@ -28101,7 +28263,7 @@ module Aws::RDS
|
|
28101
28263
|
params: params,
|
28102
28264
|
config: config)
|
28103
28265
|
context[:gem_name] = 'aws-sdk-rds'
|
28104
|
-
context[:gem_version] = '1.
|
28266
|
+
context[:gem_version] = '1.191.0'
|
28105
28267
|
Seahorse::Client::Request.new(handlers, context)
|
28106
28268
|
end
|
28107
28269
|
|
@@ -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')
|
@@ -901,6 +904,8 @@ module Aws::RDS
|
|
901
904
|
CreateCustomDBEngineVersionMessage.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
902
905
|
CreateCustomDBEngineVersionMessage.add_member(:manifest, Shapes::ShapeRef.new(shape: CustomDBEngineVersionManifest, location_name: "Manifest"))
|
903
906
|
CreateCustomDBEngineVersionMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
907
|
+
CreateCustomDBEngineVersionMessage.add_member(:source_custom_db_engine_version_identifier, Shapes::ShapeRef.new(shape: String255, location_name: "SourceCustomDbEngineVersionIdentifier"))
|
908
|
+
CreateCustomDBEngineVersionMessage.add_member(:use_aws_provided_latest_image, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseAwsProvidedLatestImage"))
|
904
909
|
CreateCustomDBEngineVersionMessage.struct_class = Types::CreateCustomDBEngineVersionMessage
|
905
910
|
|
906
911
|
CreateDBClusterEndpointMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
@@ -2454,6 +2459,8 @@ module Aws::RDS
|
|
2454
2459
|
|
2455
2460
|
FailoverGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
2456
2461
|
FailoverGlobalClusterMessage.add_member(:target_db_cluster_identifier, Shapes::ShapeRef.new(shape: DBClusterIdentifier, required: true, location_name: "TargetDbClusterIdentifier"))
|
2462
|
+
FailoverGlobalClusterMessage.add_member(:allow_data_loss, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AllowDataLoss"))
|
2463
|
+
FailoverGlobalClusterMessage.add_member(:switchover, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "Switchover"))
|
2457
2464
|
FailoverGlobalClusterMessage.struct_class = Types::FailoverGlobalClusterMessage
|
2458
2465
|
|
2459
2466
|
FailoverGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
@@ -2462,6 +2469,7 @@ module Aws::RDS
|
|
2462
2469
|
FailoverState.add_member(:status, Shapes::ShapeRef.new(shape: FailoverStatus, location_name: "Status"))
|
2463
2470
|
FailoverState.add_member(:from_db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "FromDbClusterArn"))
|
2464
2471
|
FailoverState.add_member(:to_db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "ToDbClusterArn"))
|
2472
|
+
FailoverState.add_member(:is_data_loss_allowed, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDataLossAllowed"))
|
2465
2473
|
FailoverState.struct_class = Types::FailoverState
|
2466
2474
|
|
2467
2475
|
FeatureNameList.member = Shapes::ShapeRef.new(shape: String)
|
@@ -2495,6 +2503,7 @@ module Aws::RDS
|
|
2495
2503
|
GlobalClusterMember.add_member(:readers, Shapes::ShapeRef.new(shape: ReadersArnList, location_name: "Readers"))
|
2496
2504
|
GlobalClusterMember.add_member(:is_writer, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsWriter"))
|
2497
2505
|
GlobalClusterMember.add_member(:global_write_forwarding_status, Shapes::ShapeRef.new(shape: WriteForwardingStatus, location_name: "GlobalWriteForwardingStatus"))
|
2506
|
+
GlobalClusterMember.add_member(:synchronization_status, Shapes::ShapeRef.new(shape: GlobalClusterMemberSynchronizationStatus, location_name: "SynchronizationStatus"))
|
2498
2507
|
GlobalClusterMember.struct_class = Types::GlobalClusterMember
|
2499
2508
|
|
2500
2509
|
GlobalClusterMemberList.member = Shapes::ShapeRef.new(shape: GlobalClusterMember, location_name: "GlobalClusterMember")
|
@@ -3681,6 +3690,13 @@ module Aws::RDS
|
|
3681
3690
|
|
3682
3691
|
SwitchoverDetailList.member = Shapes::ShapeRef.new(shape: SwitchoverDetail)
|
3683
3692
|
|
3693
|
+
SwitchoverGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
3694
|
+
SwitchoverGlobalClusterMessage.add_member(:target_db_cluster_identifier, Shapes::ShapeRef.new(shape: DBClusterIdentifier, required: true, location_name: "TargetDbClusterIdentifier"))
|
3695
|
+
SwitchoverGlobalClusterMessage.struct_class = Types::SwitchoverGlobalClusterMessage
|
3696
|
+
|
3697
|
+
SwitchoverGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
3698
|
+
SwitchoverGlobalClusterResult.struct_class = Types::SwitchoverGlobalClusterResult
|
3699
|
+
|
3684
3700
|
SwitchoverReadReplicaMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
|
3685
3701
|
SwitchoverReadReplicaMessage.struct_class = Types::SwitchoverReadReplicaMessage
|
3686
3702
|
|
@@ -5701,6 +5717,18 @@ module Aws::RDS
|
|
5701
5717
|
o.errors << Shapes::ShapeRef.new(shape: InvalidBlueGreenDeploymentStateFault)
|
5702
5718
|
end)
|
5703
5719
|
|
5720
|
+
api.add_operation(:switchover_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
5721
|
+
o.name = "SwitchoverGlobalCluster"
|
5722
|
+
o.http_method = "POST"
|
5723
|
+
o.http_request_uri = "/"
|
5724
|
+
o.input = Shapes::ShapeRef.new(shape: SwitchoverGlobalClusterMessage)
|
5725
|
+
o.output = Shapes::ShapeRef.new(shape: SwitchoverGlobalClusterResult)
|
5726
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
5727
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
5728
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
5729
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
5730
|
+
end)
|
5731
|
+
|
5704
5732
|
api.add_operation(:switchover_read_replica, Seahorse::Model::Operation.new.tap do |o|
|
5705
5733
|
o.name = "SwitchoverReadReplica"
|
5706
5734
|
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
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -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
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -1888,6 +1888,14 @@ module Aws::RDS
|
|
1888
1888
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
|
1889
1889
|
# @return [Array<Types::Tag>]
|
1890
1890
|
#
|
1891
|
+
# @!attribute [rw] source_custom_db_engine_version_identifier
|
1892
|
+
# Reserved for future use.
|
1893
|
+
# @return [String]
|
1894
|
+
#
|
1895
|
+
# @!attribute [rw] use_aws_provided_latest_image
|
1896
|
+
# Reserved for future use.
|
1897
|
+
# @return [Boolean]
|
1898
|
+
#
|
1891
1899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateCustomDBEngineVersionMessage AWS API Documentation
|
1892
1900
|
#
|
1893
1901
|
class CreateCustomDBEngineVersionMessage < Struct.new(
|
@@ -1899,7 +1907,9 @@ module Aws::RDS
|
|
1899
1907
|
:kms_key_id,
|
1900
1908
|
:description,
|
1901
1909
|
:manifest,
|
1902
|
-
:tags
|
1910
|
+
:tags,
|
1911
|
+
:source_custom_db_engine_version_identifier,
|
1912
|
+
:use_aws_provided_latest_image)
|
1903
1913
|
SENSITIVE = []
|
1904
1914
|
include Aws::Structure
|
1905
1915
|
end
|
@@ -2543,6 +2553,12 @@ module Aws::RDS
|
|
2543
2553
|
#
|
2544
2554
|
# * Multi-AZ DB clusters - `io1`
|
2545
2555
|
#
|
2556
|
+
# <note markdown="1"> When you create an Aurora DB cluster with the storage type set to
|
2557
|
+
# `aurora-iopt1`, the storage type is returned in the response. The
|
2558
|
+
# storage type isn't returned when you set it to `aurora`.
|
2559
|
+
#
|
2560
|
+
# </note>
|
2561
|
+
#
|
2546
2562
|
#
|
2547
2563
|
#
|
2548
2564
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type
|
@@ -13928,32 +13944,58 @@ module Aws::RDS
|
|
13928
13944
|
end
|
13929
13945
|
|
13930
13946
|
# @!attribute [rw] global_cluster_identifier
|
13931
|
-
#
|
13932
|
-
#
|
13933
|
-
# user when the Aurora global database
|
13934
|
-
# it's the name of the Aurora global
|
13935
|
-
#
|
13947
|
+
# The identifier of the global database cluster (Aurora global
|
13948
|
+
# database) this operation should apply to. The identifier is the
|
13949
|
+
# unique key assigned by the user when the Aurora global database is
|
13950
|
+
# created. In other words, it's the name of the Aurora global
|
13951
|
+
# database.
|
13936
13952
|
#
|
13937
13953
|
# Constraints:
|
13938
13954
|
#
|
13939
|
-
# * Must match the identifier of an existing
|
13940
|
-
# global database).
|
13955
|
+
# * Must match the identifier of an existing global database cluster.
|
13941
13956
|
#
|
13942
13957
|
# ^
|
13943
13958
|
# @return [String]
|
13944
13959
|
#
|
13945
13960
|
# @!attribute [rw] target_db_cluster_identifier
|
13946
|
-
#
|
13947
|
-
# promote to primary for the
|
13948
|
-
#
|
13949
|
-
#
|
13961
|
+
# The identifier of the secondary Aurora DB cluster that you want to
|
13962
|
+
# promote to the primary for the global database cluster. Use the
|
13963
|
+
# Amazon Resource Name (ARN) for the identifier so that Aurora can
|
13964
|
+
# locate the cluster in its Amazon Web Services Region.
|
13950
13965
|
# @return [String]
|
13951
13966
|
#
|
13967
|
+
# @!attribute [rw] allow_data_loss
|
13968
|
+
# Specifies whether to allow data loss for this global database
|
13969
|
+
# cluster operation. Allowing data loss triggers a global failover
|
13970
|
+
# operation.
|
13971
|
+
#
|
13972
|
+
# If you don't specify `AllowDataLoss`, the global database cluster
|
13973
|
+
# operation defaults to a switchover.
|
13974
|
+
#
|
13975
|
+
# Constraints:
|
13976
|
+
#
|
13977
|
+
# * Can't be specified together with the `Switchover` parameter.
|
13978
|
+
#
|
13979
|
+
# ^
|
13980
|
+
# @return [Boolean]
|
13981
|
+
#
|
13982
|
+
# @!attribute [rw] switchover
|
13983
|
+
# Specifies whether to switch over this global database cluster.
|
13984
|
+
#
|
13985
|
+
# Constraints:
|
13986
|
+
#
|
13987
|
+
# * Can't be specified together with the `AllowDataLoss` parameter.
|
13988
|
+
#
|
13989
|
+
# ^
|
13990
|
+
# @return [Boolean]
|
13991
|
+
#
|
13952
13992
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverGlobalClusterMessage AWS API Documentation
|
13953
13993
|
#
|
13954
13994
|
class FailoverGlobalClusterMessage < Struct.new(
|
13955
13995
|
:global_cluster_identifier,
|
13956
|
-
:target_db_cluster_identifier
|
13996
|
+
:target_db_cluster_identifier,
|
13997
|
+
:allow_data_loss,
|
13998
|
+
:switchover)
|
13957
13999
|
SENSITIVE = []
|
13958
14000
|
include Aws::Structure
|
13959
14001
|
end
|
@@ -13970,30 +14012,29 @@ module Aws::RDS
|
|
13970
14012
|
include Aws::Structure
|
13971
14013
|
end
|
13972
14014
|
|
13973
|
-
# Contains the state of scheduled or in-process
|
13974
|
-
#
|
13975
|
-
#
|
13976
|
-
#
|
14015
|
+
# Contains the state of scheduled or in-process operations on a global
|
14016
|
+
# cluster (Aurora global database). This data type is empty unless a
|
14017
|
+
# switchover or failover operation is scheduled or is in progress on the
|
14018
|
+
# Aurora global database.
|
13977
14019
|
#
|
13978
14020
|
# @!attribute [rw] status
|
13979
|
-
# The current status of the
|
13980
|
-
#
|
14021
|
+
# The current status of the global cluster. Possible values are as
|
14022
|
+
# follows:
|
13981
14023
|
#
|
13982
|
-
# * pending –
|
13983
|
-
#
|
13984
|
-
#
|
13985
|
-
#
|
13986
|
-
# start.
|
14024
|
+
# * pending – The service received a request to switch over or fail
|
14025
|
+
# over the global cluster. The global cluster's primary DB cluster
|
14026
|
+
# and the specified secondary DB cluster are being verified before
|
14027
|
+
# the operation starts.
|
13987
14028
|
#
|
13988
14029
|
# * failing-over – This status covers the range of Aurora internal
|
13989
|
-
# operations that take place during the
|
13990
|
-
# demoting the primary Aurora DB cluster, promoting
|
13991
|
-
# Aurora DB, and synchronizing replicas.
|
14030
|
+
# operations that take place during the switchover or failover
|
14031
|
+
# process, such as demoting the primary Aurora DB cluster, promoting
|
14032
|
+
# the secondary Aurora DB cluster, and synchronizing replicas.
|
13992
14033
|
#
|
13993
|
-
# * cancelling – The request to fail over the
|
13994
|
-
#
|
13995
|
-
#
|
13996
|
-
#
|
14034
|
+
# * cancelling – The request to switch over or fail over the global
|
14035
|
+
# cluster was cancelled and the primary Aurora DB cluster and the
|
14036
|
+
# selected secondary Aurora DB cluster are returning to their
|
14037
|
+
# previous states.
|
13997
14038
|
# @return [String]
|
13998
14039
|
#
|
13999
14040
|
# @!attribute [rw] from_db_cluster_arn
|
@@ -14006,12 +14047,19 @@ module Aws::RDS
|
|
14006
14047
|
# currently being promoted, and which is associated with this state.
|
14007
14048
|
# @return [String]
|
14008
14049
|
#
|
14050
|
+
# @!attribute [rw] is_data_loss_allowed
|
14051
|
+
# Indicates whether the operation is a global switchover or a global
|
14052
|
+
# failover. If data loss is allowed, then the operation is a global
|
14053
|
+
# failover. Otherwise, it's a switchover.
|
14054
|
+
# @return [Boolean]
|
14055
|
+
#
|
14009
14056
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverState AWS API Documentation
|
14010
14057
|
#
|
14011
14058
|
class FailoverState < Struct.new(
|
14012
14059
|
:status,
|
14013
14060
|
:from_db_cluster_arn,
|
14014
|
-
:to_db_cluster_arn
|
14061
|
+
:to_db_cluster_arn,
|
14062
|
+
:is_data_loss_allowed)
|
14015
14063
|
SENSITIVE = []
|
14016
14064
|
include Aws::Structure
|
14017
14065
|
end
|
@@ -14105,10 +14153,10 @@ module Aws::RDS
|
|
14105
14153
|
#
|
14106
14154
|
# @!attribute [rw] failover_state
|
14107
14155
|
# A data object containing all properties for the current state of an
|
14108
|
-
# in-process or pending failover process for this
|
14109
|
-
# database. This object is empty unless the
|
14110
|
-
#
|
14111
|
-
#
|
14156
|
+
# in-process or pending switchover or failover process for this global
|
14157
|
+
# cluster (Aurora global database). This object is empty unless the
|
14158
|
+
# `SwitchoverGlobalCluster` or `FailoverGlobalCluster` operation was
|
14159
|
+
# called on this global cluster.
|
14112
14160
|
# @return [Types::FailoverState]
|
14113
14161
|
#
|
14114
14162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/GlobalCluster AWS API Documentation
|
@@ -14138,36 +14186,43 @@ module Aws::RDS
|
|
14138
14186
|
class GlobalClusterAlreadyExistsFault < Aws::EmptyStructure; end
|
14139
14187
|
|
14140
14188
|
# A data structure with information about any primary and secondary
|
14141
|
-
# clusters associated with
|
14189
|
+
# clusters associated with a global cluster (Aurora global database).
|
14142
14190
|
#
|
14143
14191
|
# @!attribute [rw] db_cluster_arn
|
14144
|
-
# The Amazon Resource Name (ARN) for each Aurora cluster
|
14192
|
+
# The Amazon Resource Name (ARN) for each Aurora DB cluster in the
|
14193
|
+
# global cluster.
|
14145
14194
|
# @return [String]
|
14146
14195
|
#
|
14147
14196
|
# @!attribute [rw] readers
|
14148
14197
|
# The Amazon Resource Name (ARN) for each read-only secondary cluster
|
14149
|
-
# associated with the
|
14198
|
+
# associated with the global cluster.
|
14150
14199
|
# @return [Array<String>]
|
14151
14200
|
#
|
14152
14201
|
# @!attribute [rw] is_writer
|
14153
|
-
# Specifies whether the Aurora cluster is the primary cluster (that
|
14154
|
-
# is, has read-write capability) for the
|
14155
|
-
#
|
14202
|
+
# Specifies whether the Aurora DB cluster is the primary cluster (that
|
14203
|
+
# is, has read-write capability) for the global cluster with which it
|
14204
|
+
# is associated.
|
14156
14205
|
# @return [Boolean]
|
14157
14206
|
#
|
14158
14207
|
# @!attribute [rw] global_write_forwarding_status
|
14159
|
-
# Specifies whether a secondary cluster in
|
14160
|
-
#
|
14208
|
+
# Specifies whether a secondary cluster in the global cluster has
|
14209
|
+
# write forwarding enabled, not enabled, or is in the process of
|
14161
14210
|
# enabling it.
|
14162
14211
|
# @return [String]
|
14163
14212
|
#
|
14213
|
+
# @!attribute [rw] synchronization_status
|
14214
|
+
# The status of synchronization of each Aurora DB cluster in the
|
14215
|
+
# global cluster.
|
14216
|
+
# @return [String]
|
14217
|
+
#
|
14164
14218
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/GlobalClusterMember AWS API Documentation
|
14165
14219
|
#
|
14166
14220
|
class GlobalClusterMember < Struct.new(
|
14167
14221
|
:db_cluster_arn,
|
14168
14222
|
:readers,
|
14169
14223
|
:is_writer,
|
14170
|
-
:global_write_forwarding_status
|
14224
|
+
:global_write_forwarding_status,
|
14225
|
+
:synchronization_status)
|
14171
14226
|
SENSITIVE = []
|
14172
14227
|
include Aws::Structure
|
14173
14228
|
end
|
@@ -23963,6 +24018,46 @@ module Aws::RDS
|
|
23963
24018
|
include Aws::Structure
|
23964
24019
|
end
|
23965
24020
|
|
24021
|
+
# @!attribute [rw] global_cluster_identifier
|
24022
|
+
# The identifier of the global database cluster to switch over. This
|
24023
|
+
# parameter isn't case-sensitive.
|
24024
|
+
#
|
24025
|
+
# Constraints:
|
24026
|
+
#
|
24027
|
+
# * Must match the identifier of an existing global database cluster
|
24028
|
+
# (Aurora global database).
|
24029
|
+
#
|
24030
|
+
# ^
|
24031
|
+
# @return [String]
|
24032
|
+
#
|
24033
|
+
# @!attribute [rw] target_db_cluster_identifier
|
24034
|
+
# The identifier of the secondary Aurora DB cluster to promote to the
|
24035
|
+
# new primary for the global database cluster. Use the Amazon Resource
|
24036
|
+
# Name (ARN) for the identifier so that Aurora can locate the cluster
|
24037
|
+
# in its Amazon Web Services Region.
|
24038
|
+
# @return [String]
|
24039
|
+
#
|
24040
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverGlobalClusterMessage AWS API Documentation
|
24041
|
+
#
|
24042
|
+
class SwitchoverGlobalClusterMessage < Struct.new(
|
24043
|
+
:global_cluster_identifier,
|
24044
|
+
:target_db_cluster_identifier)
|
24045
|
+
SENSITIVE = []
|
24046
|
+
include Aws::Structure
|
24047
|
+
end
|
24048
|
+
|
24049
|
+
# @!attribute [rw] global_cluster
|
24050
|
+
# A data type representing an Aurora global database.
|
24051
|
+
# @return [Types::GlobalCluster]
|
24052
|
+
#
|
24053
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverGlobalClusterResult AWS API Documentation
|
24054
|
+
#
|
24055
|
+
class SwitchoverGlobalClusterResult < Struct.new(
|
24056
|
+
:global_cluster)
|
24057
|
+
SENSITIVE = []
|
24058
|
+
include Aws::Structure
|
24059
|
+
end
|
24060
|
+
|
23966
24061
|
# @!attribute [rw] db_instance_identifier
|
23967
24062
|
# The DB instance identifier of the current standby database. This
|
23968
24063
|
# value is stored as a lowercase string.
|
data/lib/aws-sdk-rds.rb
CHANGED
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.
|
4
|
+
version: 1.191.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-
|
11
|
+
date: 2023-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|