aws-sdk-rds 1.173.0 → 1.174.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +96 -44
- data/lib/aws-sdk-rds/client_api.rb +5 -1
- data/lib/aws-sdk-rds/db_cluster.rb +11 -2
- data/lib/aws-sdk-rds/db_instance.rb +43 -11
- data/lib/aws-sdk-rds/resource.rb +1 -2
- data/lib/aws-sdk-rds/types.rb +72 -30
- 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: 8bc15c7fddb6783dcf0357961cbac1b009007026dec9824ea1580cbc602c48a2
|
4
|
+
data.tar.gz: 8c9ce573bbcf7fb5981d03b7f7268d360949bda08d17a96e8de063859c7e111c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7795a95cbaec0613720c53affc3cb8278d306ad6e83513c2f3ce54b341accf1d309ffdaf9d9b0c4889b7a26804669d19381840d91205b7b5336705c658fbff99
|
7
|
+
data.tar.gz: 3e819f870295c0d1a6068caa0ef923faa27de2c11bf52b2f67e04b6dbcabb1a96816461f75a471213aedd272cad4b39922b9c35feab8fd2c540282cd3e2cc35a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.174.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -2139,13 +2139,13 @@ module Aws::RDS
|
|
2139
2139
|
#
|
2140
2140
|
# You can use the `ReplicationSourceIdentifier` parameter to create an
|
2141
2141
|
# Amazon Aurora DB cluster as a read replica of another DB cluster or
|
2142
|
-
# Amazon RDS MySQL or PostgreSQL DB instance. For more information
|
2143
|
-
# Amazon Aurora, see [What is Amazon Aurora?][2] in the *Amazon
|
2144
|
-
# User Guide*.
|
2142
|
+
# Amazon RDS for MySQL or PostgreSQL DB instance. For more information
|
2143
|
+
# about Amazon Aurora, see [What is Amazon Aurora?][2] in the *Amazon
|
2144
|
+
# Aurora User Guide*.
|
2145
2145
|
#
|
2146
2146
|
# You can also use the `ReplicationSourceIdentifier` parameter to create
|
2147
|
-
# a Multi-AZ DB cluster read replica with an RDS for PostgreSQL
|
2148
|
-
# instance as the source. For more information about Multi-AZ DB
|
2147
|
+
# a Multi-AZ DB cluster read replica with an RDS for MySQL or PostgreSQL
|
2148
|
+
# DB instance as the source. For more information about Multi-AZ DB
|
2149
2149
|
# clusters, see [Multi-AZ DB cluster deployments][3] in the *Amazon RDS
|
2150
2150
|
# User Guide*.
|
2151
2151
|
#
|
@@ -2419,8 +2419,7 @@ module Aws::RDS
|
|
2419
2419
|
# The Amazon Resource Name (ARN) of the source DB instance or DB cluster
|
2420
2420
|
# if this DB cluster is created as a read replica.
|
2421
2421
|
#
|
2422
|
-
# Valid for: Aurora DB clusters and
|
2423
|
-
# clusters
|
2422
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
2424
2423
|
#
|
2425
2424
|
# @option params [Array<Types::Tag>] :tags
|
2426
2425
|
# Tags to assign to the DB cluster.
|
@@ -4977,6 +4976,7 @@ module Aws::RDS
|
|
4977
4976
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
4978
4977
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
4979
4978
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
4979
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
4980
4980
|
#
|
4981
4981
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance AWS API Documentation
|
4982
4982
|
#
|
@@ -4988,53 +4988,53 @@ module Aws::RDS
|
|
4988
4988
|
end
|
4989
4989
|
|
4990
4990
|
# Creates a new DB instance that acts as a read replica for an existing
|
4991
|
-
# source DB instance. You can create a read
|
4992
|
-
# running MySQL, MariaDB, Oracle, PostgreSQL,
|
4993
|
-
#
|
4994
|
-
#
|
4991
|
+
# source DB instance or Multi-AZ DB cluster. You can create a read
|
4992
|
+
# replica for a DB instance running MySQL, MariaDB, Oracle, PostgreSQL,
|
4993
|
+
# or SQL Server. You can create a read replica for a Multi-AZ DB cluster
|
4994
|
+
# running MySQL or PostgreSQL. For more information, see [Working with
|
4995
|
+
# read replicas][1] and [Migrating from a Multi-AZ DB cluster to a DB
|
4996
|
+
# instance using a read replica][2] in the *Amazon RDS User Guide*.
|
4995
4997
|
#
|
4996
4998
|
# Amazon Aurora doesn't support this operation. Call the
|
4997
4999
|
# `CreateDBInstance` operation to create a DB instance for an Aurora DB
|
4998
5000
|
# cluster.
|
4999
5001
|
#
|
5000
5002
|
# All read replica DB instances are created with backups disabled. All
|
5001
|
-
# other
|
5002
|
-
#
|
5003
|
-
# specified.
|
5003
|
+
# other attributes (including DB security groups and DB parameter
|
5004
|
+
# groups) are inherited from the source DB instance or cluster, except
|
5005
|
+
# as specified.
|
5004
5006
|
#
|
5005
|
-
# Your source DB instance must have backup retention enabled.
|
5007
|
+
# Your source DB instance or cluster must have backup retention enabled.
|
5006
5008
|
#
|
5007
5009
|
#
|
5008
5010
|
#
|
5009
5011
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html
|
5012
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html#multi-az-db-clusters-migrating-to-instance-with-read-replica
|
5010
5013
|
#
|
5011
5014
|
# @option params [required, String] :db_instance_identifier
|
5012
5015
|
# The DB instance identifier of the read replica. This identifier is the
|
5013
5016
|
# unique key that identifies a DB instance. This parameter is stored as
|
5014
5017
|
# a lowercase string.
|
5015
5018
|
#
|
5016
|
-
# @option params [
|
5019
|
+
# @option params [String] :source_db_instance_identifier
|
5017
5020
|
# The identifier of the DB instance that will act as the source for the
|
5018
|
-
# read replica. Each DB instance can have up to
|
5021
|
+
# read replica. Each DB instance can have up to 15 read replicas, with
|
5022
|
+
# the exception of Oracle and SQL Server, which can have up to five.
|
5019
5023
|
#
|
5020
5024
|
# Constraints:
|
5021
5025
|
#
|
5022
5026
|
# * Must be the identifier of an existing MySQL, MariaDB, Oracle,
|
5023
5027
|
# PostgreSQL, or SQL Server DB instance.
|
5024
5028
|
#
|
5025
|
-
# * Can
|
5026
|
-
#
|
5027
|
-
#
|
5028
|
-
# * For the limitations of Oracle read replicas, see [Read Replica
|
5029
|
-
# Limitations with Oracle][1] in the *Amazon RDS User Guide*.
|
5029
|
+
# * Can't be specified if the `SourceDBClusterIdentifier` parameter is
|
5030
|
+
# also specified.
|
5030
5031
|
#
|
5031
|
-
# * For the limitations of
|
5032
|
-
#
|
5033
|
-
# Guide*.
|
5032
|
+
# * For the limitations of Oracle read replicas, see [Version and
|
5033
|
+
# licensing considerations for RDS for Oracle replicas][1] in the
|
5034
|
+
# *Amazon RDS User Guide*.
|
5034
5035
|
#
|
5035
|
-
# *
|
5036
|
-
#
|
5037
|
-
# replication).
|
5036
|
+
# * For the limitations of SQL Server read replicas, see [Read replica
|
5037
|
+
# limitations with SQL Server][2] in the *Amazon RDS User Guide*.
|
5038
5038
|
#
|
5039
5039
|
# * The specified DB instance must have automatic backups enabled, that
|
5040
5040
|
# is, its backup retention period must be greater than 0.
|
@@ -5050,8 +5050,8 @@ module Aws::RDS
|
|
5050
5050
|
#
|
5051
5051
|
#
|
5052
5052
|
#
|
5053
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
|
5054
|
-
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.ReadReplicas.Limitations
|
5053
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.limitations.html#oracle-read-replicas.limitations.versions-and-licenses
|
5054
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.ReadReplicas.html#SQLServer.ReadReplicas.Limitations
|
5055
5055
|
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing
|
5056
5056
|
#
|
5057
5057
|
# @option params [String] :db_instance_class
|
@@ -5089,8 +5089,8 @@ module Aws::RDS
|
|
5089
5089
|
# You can create a read replica as a Multi-AZ DB instance. RDS creates a
|
5090
5090
|
# standby of your replica in another Availability Zone for failover
|
5091
5091
|
# support for the replica. Creating your read replica as a Multi-AZ DB
|
5092
|
-
# instance is independent of whether the source
|
5093
|
-
# DB
|
5092
|
+
# instance is independent of whether the source is a Multi-AZ DB
|
5093
|
+
# instance or a Multi-AZ DB cluster.
|
5094
5094
|
#
|
5095
5095
|
# This setting doesn't apply to RDS Custom.
|
5096
5096
|
#
|
@@ -5108,10 +5108,10 @@ module Aws::RDS
|
|
5108
5108
|
#
|
5109
5109
|
# @option params [String] :option_group_name
|
5110
5110
|
# The option group the DB instance is associated with. If omitted, the
|
5111
|
-
# option group associated with the source instance is used.
|
5111
|
+
# option group associated with the source instance or cluster is used.
|
5112
5112
|
#
|
5113
5113
|
# <note markdown="1"> For SQL Server, you must use the option group associated with the
|
5114
|
-
# source
|
5114
|
+
# source.
|
5115
5115
|
#
|
5116
5116
|
# </note>
|
5117
5117
|
#
|
@@ -5246,10 +5246,10 @@ module Aws::RDS
|
|
5246
5246
|
# alias ARN, or alias name for the KMS key.
|
5247
5247
|
#
|
5248
5248
|
# If you create an encrypted read replica in the same Amazon Web
|
5249
|
-
# Services Region as the source DB instance
|
5250
|
-
# for this parameter. A read replica in the same
|
5251
|
-
# Region is always encrypted with the same KMS key
|
5252
|
-
# instance.
|
5249
|
+
# Services Region as the source DB instance or Multi-AZ DB cluster,
|
5250
|
+
# don't specify a value for this parameter. A read replica in the same
|
5251
|
+
# Amazon Web Services Region is always encrypted with the same KMS key
|
5252
|
+
# as the source DB instance or cluster.
|
5253
5253
|
#
|
5254
5254
|
# If you create an encrypted read replica in a different Amazon Web
|
5255
5255
|
# Services Region, then you must specify a KMS key identifier for the
|
@@ -5259,7 +5259,7 @@ module Aws::RDS
|
|
5259
5259
|
# Services Region.
|
5260
5260
|
#
|
5261
5261
|
# You can't create an encrypted read replica from an unencrypted DB
|
5262
|
-
# instance.
|
5262
|
+
# instance or Multi-AZ DB cluster.
|
5263
5263
|
#
|
5264
5264
|
# This setting doesn't apply to RDS Custom, which uses the same KMS key
|
5265
5265
|
# as the primary replica.
|
@@ -5276,6 +5276,10 @@ module Aws::RDS
|
|
5276
5276
|
# and China Amazon Web Services Regions. It's ignored in other Amazon
|
5277
5277
|
# Web Services Regions.
|
5278
5278
|
#
|
5279
|
+
# This setting applies only when replicating from a source DB
|
5280
|
+
# *instance*. Source DB clusters aren't supported in Amazon Web
|
5281
|
+
# Services GovCloud (US) Regions and China Amazon Web Services Regions.
|
5282
|
+
#
|
5279
5283
|
# You must specify this parameter when you create an encrypted read
|
5280
5284
|
# replica from another Amazon Web Services Region by using the Amazon
|
5281
5285
|
# RDS API. Don't specify `PreSignedUrl` when you are creating an
|
@@ -5455,8 +5459,8 @@ module Aws::RDS
|
|
5455
5459
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html
|
5456
5460
|
#
|
5457
5461
|
# @option params [String] :domain_iam_role_name
|
5458
|
-
#
|
5459
|
-
#
|
5462
|
+
# The name of the IAM role to be used when making API calls to the
|
5463
|
+
# Directory Service.
|
5460
5464
|
#
|
5461
5465
|
# This setting doesn't apply to RDS Custom.
|
5462
5466
|
#
|
@@ -5578,6 +5582,23 @@ module Aws::RDS
|
|
5578
5582
|
#
|
5579
5583
|
# </note>
|
5580
5584
|
#
|
5585
|
+
# @option params [String] :source_db_cluster_identifier
|
5586
|
+
# The identifier of the Multi-AZ DB cluster that will act as the source
|
5587
|
+
# for the read replica. Each DB cluster can have up to 15 read replicas.
|
5588
|
+
#
|
5589
|
+
# Constraints:
|
5590
|
+
#
|
5591
|
+
# * Must be the identifier of an existing Multi-AZ DB cluster.
|
5592
|
+
#
|
5593
|
+
# * Can't be specified if the `SourceDBInstanceIdentifier` parameter is
|
5594
|
+
# also specified.
|
5595
|
+
#
|
5596
|
+
# * The specified DB cluster must have automatic backups enabled, that
|
5597
|
+
# is, its backup retention period must be greater than 0.
|
5598
|
+
#
|
5599
|
+
# * The source DB cluster must be in the same Amazon Web Services Region
|
5600
|
+
# as the read replica. Cross-Region replication isn't supported.
|
5601
|
+
#
|
5581
5602
|
# @option params [String] :source_region
|
5582
5603
|
# The source region of the snapshot. This is only needed when the
|
5583
5604
|
# shapshot is encrypted and in a different region.
|
@@ -5617,7 +5638,7 @@ module Aws::RDS
|
|
5617
5638
|
#
|
5618
5639
|
# resp = client.create_db_instance_read_replica({
|
5619
5640
|
# db_instance_identifier: "String", # required
|
5620
|
-
# source_db_instance_identifier: "String",
|
5641
|
+
# source_db_instance_identifier: "String",
|
5621
5642
|
# db_instance_class: "String",
|
5622
5643
|
# availability_zone: "String",
|
5623
5644
|
# port: 1,
|
@@ -5663,6 +5684,7 @@ module Aws::RDS
|
|
5663
5684
|
# storage_throughput: 1,
|
5664
5685
|
# enable_customer_owned_ip: false,
|
5665
5686
|
# allocated_storage: 1,
|
5687
|
+
# source_db_cluster_identifier: "String",
|
5666
5688
|
# source_region: "String",
|
5667
5689
|
# })
|
5668
5690
|
#
|
@@ -5816,6 +5838,7 @@ module Aws::RDS
|
|
5816
5838
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
5817
5839
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
5818
5840
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
5841
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
5819
5842
|
#
|
5820
5843
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica AWS API Documentation
|
5821
5844
|
#
|
@@ -7120,6 +7143,10 @@ module Aws::RDS
|
|
7120
7143
|
# DB cluster are deleted and can't be recovered. Manual DB cluster
|
7121
7144
|
# snapshots of the specified DB cluster are not deleted.
|
7122
7145
|
#
|
7146
|
+
# If you're deleting a Multi-AZ DB cluster with read replicas, all
|
7147
|
+
# cluster members are terminated and read replicas are promoted to
|
7148
|
+
# standalone instances.
|
7149
|
+
#
|
7123
7150
|
# For more information on Amazon Aurora, see [ What is Amazon
|
7124
7151
|
# Aurora?][1] in the *Amazon Aurora User Guide*.
|
7125
7152
|
#
|
@@ -7785,6 +7812,7 @@ module Aws::RDS
|
|
7785
7812
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
7786
7813
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
7787
7814
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
7815
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
7788
7816
|
#
|
7789
7817
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance AWS API Documentation
|
7790
7818
|
#
|
@@ -10169,6 +10197,7 @@ module Aws::RDS
|
|
10169
10197
|
# resp.db_instances[0].master_user_secret.kms_key_id #=> String
|
10170
10198
|
# resp.db_instances[0].certificate_details.ca_identifier #=> String
|
10171
10199
|
# resp.db_instances[0].certificate_details.valid_till #=> Time
|
10200
|
+
# resp.db_instances[0].read_replica_source_db_cluster_identifier #=> String
|
10172
10201
|
#
|
10173
10202
|
#
|
10174
10203
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -14179,6 +14208,10 @@ module Aws::RDS
|
|
14179
14208
|
# applied during the next maintenance window unless `ApplyImmediately`
|
14180
14209
|
# is enabled.
|
14181
14210
|
#
|
14211
|
+
# If the cluster that you're modifying has one or more read replicas,
|
14212
|
+
# all replicas must be running an engine version that's the same or
|
14213
|
+
# later than the version you specify.
|
14214
|
+
#
|
14182
14215
|
# To list all of the available engine versions for Aurora MySQL version
|
14183
14216
|
# 2 (5.7-compatible) and version 3 (MySQL 8.0-compatible), use the
|
14184
14217
|
# following command:
|
@@ -14186,6 +14219,12 @@ module Aws::RDS
|
|
14186
14219
|
# `aws rds describe-db-engine-versions --engine aurora-mysql --query
|
14187
14220
|
# "DBEngineVersions[].EngineVersion"`
|
14188
14221
|
#
|
14222
|
+
# To list all of the available engine versions for MySQL 5.6-compatible
|
14223
|
+
# Aurora, use the following command:
|
14224
|
+
#
|
14225
|
+
# `aws rds describe-db-engine-versions --engine aurora --query
|
14226
|
+
# "DBEngineVersions[].EngineVersion"`
|
14227
|
+
#
|
14189
14228
|
# To list all of the available engine versions for Aurora PostgreSQL,
|
14190
14229
|
# use the following command:
|
14191
14230
|
#
|
@@ -15386,6 +15425,10 @@ module Aws::RDS
|
|
15386
15425
|
# lower. For information about valid engine versions, see
|
15387
15426
|
# `CreateDBInstance`, or call `DescribeDBEngineVersions`.
|
15388
15427
|
#
|
15428
|
+
# If the instance that you're modifying is acting as a read replica,
|
15429
|
+
# the engine version that you specify must be the same or later than the
|
15430
|
+
# version that the source DB instance or cluster is running.
|
15431
|
+
#
|
15389
15432
|
# In RDS Custom for Oracle, this parameter is supported for read
|
15390
15433
|
# replicas only if they are in the `PATCH_DB_FAILURE` lifecycle.
|
15391
15434
|
#
|
@@ -16258,6 +16301,7 @@ module Aws::RDS
|
|
16258
16301
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
16259
16302
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
16260
16303
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
16304
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
16261
16305
|
#
|
16262
16306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance AWS API Documentation
|
16263
16307
|
#
|
@@ -17503,6 +17547,7 @@ module Aws::RDS
|
|
17503
17547
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
17504
17548
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
17505
17549
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
17550
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
17506
17551
|
#
|
17507
17552
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica AWS API Documentation
|
17508
17553
|
#
|
@@ -18123,6 +18168,7 @@ module Aws::RDS
|
|
18123
18168
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
18124
18169
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
18125
18170
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
18171
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
18126
18172
|
#
|
18127
18173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance AWS API Documentation
|
18128
18174
|
#
|
@@ -21210,6 +21256,7 @@ module Aws::RDS
|
|
21210
21256
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
21211
21257
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
21212
21258
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
21259
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
21213
21260
|
#
|
21214
21261
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot AWS API Documentation
|
21215
21262
|
#
|
@@ -21936,6 +21983,7 @@ module Aws::RDS
|
|
21936
21983
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
21937
21984
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
21938
21985
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
21986
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
21939
21987
|
#
|
21940
21988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 AWS API Documentation
|
21941
21989
|
#
|
@@ -22700,6 +22748,7 @@ module Aws::RDS
|
|
22700
22748
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
22701
22749
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
22702
22750
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
22751
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
22703
22752
|
#
|
22704
22753
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime AWS API Documentation
|
22705
22754
|
#
|
@@ -23218,6 +23267,7 @@ module Aws::RDS
|
|
23218
23267
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
23219
23268
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
23220
23269
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
23270
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
23221
23271
|
#
|
23222
23272
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance AWS API Documentation
|
23223
23273
|
#
|
@@ -23904,6 +23954,7 @@ module Aws::RDS
|
|
23904
23954
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
23905
23955
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
23906
23956
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
23957
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
23907
23958
|
#
|
23908
23959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance AWS API Documentation
|
23909
23960
|
#
|
@@ -23928,7 +23979,7 @@ module Aws::RDS
|
|
23928
23979
|
#
|
23929
23980
|
# @option params [required, String] :source_db_instance_arn
|
23930
23981
|
# The Amazon Resource Name (ARN) of the source DB instance for which to
|
23931
|
-
# stop replicating
|
23982
|
+
# stop replicating automate backups, for example,
|
23932
23983
|
# `arn:aws:rds:us-west-2:123456789012:db:mydatabase`.
|
23933
23984
|
#
|
23934
23985
|
# @return [Types::StopDBInstanceAutomatedBackupsReplicationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -24231,6 +24282,7 @@ module Aws::RDS
|
|
24231
24282
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
24232
24283
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
24233
24284
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
24285
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
24234
24286
|
#
|
24235
24287
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverReadReplica AWS API Documentation
|
24236
24288
|
#
|
@@ -24254,7 +24306,7 @@ module Aws::RDS
|
|
24254
24306
|
params: params,
|
24255
24307
|
config: config)
|
24256
24308
|
context[:gem_name] = 'aws-sdk-rds'
|
24257
|
-
context[:gem_version] = '1.
|
24309
|
+
context[:gem_version] = '1.174.0'
|
24258
24310
|
Seahorse::Client::Request.new(handlers, context)
|
24259
24311
|
end
|
24260
24312
|
|
@@ -1029,7 +1029,7 @@ module Aws::RDS
|
|
1029
1029
|
CreateDBInstanceMessage.struct_class = Types::CreateDBInstanceMessage
|
1030
1030
|
|
1031
1031
|
CreateDBInstanceReadReplicaMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
|
1032
|
-
CreateDBInstanceReadReplicaMessage.add_member(:source_db_instance_identifier, Shapes::ShapeRef.new(shape: String,
|
1032
|
+
CreateDBInstanceReadReplicaMessage.add_member(:source_db_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBInstanceIdentifier"))
|
1033
1033
|
CreateDBInstanceReadReplicaMessage.add_member(:db_instance_class, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceClass"))
|
1034
1034
|
CreateDBInstanceReadReplicaMessage.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
1035
1035
|
CreateDBInstanceReadReplicaMessage.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
|
@@ -1065,6 +1065,7 @@ module Aws::RDS
|
|
1065
1065
|
CreateDBInstanceReadReplicaMessage.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
1066
1066
|
CreateDBInstanceReadReplicaMessage.add_member(:enable_customer_owned_ip, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableCustomerOwnedIp"))
|
1067
1067
|
CreateDBInstanceReadReplicaMessage.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "AllocatedStorage"))
|
1068
|
+
CreateDBInstanceReadReplicaMessage.add_member(:source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBClusterIdentifier"))
|
1068
1069
|
CreateDBInstanceReadReplicaMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
1069
1070
|
CreateDBInstanceReadReplicaMessage.struct_class = Types::CreateDBInstanceReadReplicaMessage
|
1070
1071
|
|
@@ -1524,6 +1525,7 @@ module Aws::RDS
|
|
1524
1525
|
DBInstance.add_member(:db_system_id, Shapes::ShapeRef.new(shape: String, location_name: "DBSystemId"))
|
1525
1526
|
DBInstance.add_member(:master_user_secret, Shapes::ShapeRef.new(shape: MasterUserSecret, location_name: "MasterUserSecret"))
|
1526
1527
|
DBInstance.add_member(:certificate_details, Shapes::ShapeRef.new(shape: CertificateDetails, location_name: "CertificateDetails"))
|
1528
|
+
DBInstance.add_member(:read_replica_source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ReadReplicaSourceDBClusterIdentifier"))
|
1527
1529
|
DBInstance.struct_class = Types::DBInstance
|
1528
1530
|
|
1529
1531
|
DBInstanceAlreadyExistsFault.struct_class = Types::DBInstanceAlreadyExistsFault
|
@@ -3963,7 +3965,9 @@ module Aws::RDS
|
|
3963
3965
|
o.errors << Shapes::ShapeRef.new(shape: InstanceQuotaExceededFault)
|
3964
3966
|
o.errors << Shapes::ShapeRef.new(shape: StorageQuotaExceededFault)
|
3965
3967
|
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
3968
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
3966
3969
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
3970
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
3967
3971
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
|
3968
3972
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupDoesNotCoverEnoughAZs)
|
3969
3973
|
o.errors << Shapes::ShapeRef.new(shape: InvalidSubnet)
|
@@ -1102,8 +1102,7 @@ module Aws::RDS
|
|
1102
1102
|
# The Amazon Resource Name (ARN) of the source DB instance or DB cluster
|
1103
1103
|
# if this DB cluster is created as a read replica.
|
1104
1104
|
#
|
1105
|
-
# Valid for: Aurora DB clusters and
|
1106
|
-
# clusters
|
1105
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
1107
1106
|
# @option options [Array<Types::Tag>] :tags
|
1108
1107
|
# Tags to assign to the DB cluster.
|
1109
1108
|
#
|
@@ -1980,6 +1979,10 @@ module Aws::RDS
|
|
1980
1979
|
# applied during the next maintenance window unless `ApplyImmediately`
|
1981
1980
|
# is enabled.
|
1982
1981
|
#
|
1982
|
+
# If the cluster that you're modifying has one or more read replicas,
|
1983
|
+
# all replicas must be running an engine version that's the same or
|
1984
|
+
# later than the version you specify.
|
1985
|
+
#
|
1983
1986
|
# To list all of the available engine versions for Aurora MySQL version
|
1984
1987
|
# 2 (5.7-compatible) and version 3 (MySQL 8.0-compatible), use the
|
1985
1988
|
# following command:
|
@@ -1987,6 +1990,12 @@ module Aws::RDS
|
|
1987
1990
|
# `aws rds describe-db-engine-versions --engine aurora-mysql --query
|
1988
1991
|
# "DBEngineVersions[].EngineVersion"`
|
1989
1992
|
#
|
1993
|
+
# To list all of the available engine versions for MySQL 5.6-compatible
|
1994
|
+
# Aurora, use the following command:
|
1995
|
+
#
|
1996
|
+
# `aws rds describe-db-engine-versions --engine aurora --query
|
1997
|
+
# "DBEngineVersions[].EngineVersion"`
|
1998
|
+
#
|
1990
1999
|
# To list all of the available engine versions for Aurora PostgreSQL,
|
1991
2000
|
# use the following command:
|
1992
2001
|
#
|
@@ -771,6 +771,13 @@ module Aws::RDS
|
|
771
771
|
data[:certificate_details]
|
772
772
|
end
|
773
773
|
|
774
|
+
# Contains the identifier of the source DB cluster if this DB instance
|
775
|
+
# is a read replica.
|
776
|
+
# @return [String]
|
777
|
+
def read_replica_source_db_cluster_identifier
|
778
|
+
data[:read_replica_source_db_cluster_identifier]
|
779
|
+
end
|
780
|
+
|
774
781
|
# @!endgroup
|
775
782
|
|
776
783
|
# @return [Client]
|
@@ -2131,6 +2138,7 @@ module Aws::RDS
|
|
2131
2138
|
# storage_throughput: 1,
|
2132
2139
|
# enable_customer_owned_ip: false,
|
2133
2140
|
# allocated_storage: 1,
|
2141
|
+
# source_db_cluster_identifier: "String",
|
2134
2142
|
# source_region: "String",
|
2135
2143
|
# })
|
2136
2144
|
# @param [Hash] options ({})
|
@@ -2170,8 +2178,8 @@ module Aws::RDS
|
|
2170
2178
|
# You can create a read replica as a Multi-AZ DB instance. RDS creates a
|
2171
2179
|
# standby of your replica in another Availability Zone for failover
|
2172
2180
|
# support for the replica. Creating your read replica as a Multi-AZ DB
|
2173
|
-
# instance is independent of whether the source
|
2174
|
-
# DB
|
2181
|
+
# instance is independent of whether the source is a Multi-AZ DB
|
2182
|
+
# instance or a Multi-AZ DB cluster.
|
2175
2183
|
#
|
2176
2184
|
# This setting doesn't apply to RDS Custom.
|
2177
2185
|
# @option options [Boolean] :auto_minor_version_upgrade
|
@@ -2186,10 +2194,10 @@ module Aws::RDS
|
|
2186
2194
|
# be initially allocated for the DB instance.
|
2187
2195
|
# @option options [String] :option_group_name
|
2188
2196
|
# The option group the DB instance is associated with. If omitted, the
|
2189
|
-
# option group associated with the source instance is used.
|
2197
|
+
# option group associated with the source instance or cluster is used.
|
2190
2198
|
#
|
2191
2199
|
# <note markdown="1"> For SQL Server, you must use the option group associated with the
|
2192
|
-
# source
|
2200
|
+
# source.
|
2193
2201
|
#
|
2194
2202
|
# </note>
|
2195
2203
|
#
|
@@ -2314,10 +2322,10 @@ module Aws::RDS
|
|
2314
2322
|
# alias ARN, or alias name for the KMS key.
|
2315
2323
|
#
|
2316
2324
|
# If you create an encrypted read replica in the same Amazon Web
|
2317
|
-
# Services Region as the source DB instance
|
2318
|
-
# for this parameter. A read replica in the same
|
2319
|
-
# Region is always encrypted with the same KMS key
|
2320
|
-
# instance.
|
2325
|
+
# Services Region as the source DB instance or Multi-AZ DB cluster,
|
2326
|
+
# don't specify a value for this parameter. A read replica in the same
|
2327
|
+
# Amazon Web Services Region is always encrypted with the same KMS key
|
2328
|
+
# as the source DB instance or cluster.
|
2321
2329
|
#
|
2322
2330
|
# If you create an encrypted read replica in a different Amazon Web
|
2323
2331
|
# Services Region, then you must specify a KMS key identifier for the
|
@@ -2327,7 +2335,7 @@ module Aws::RDS
|
|
2327
2335
|
# Services Region.
|
2328
2336
|
#
|
2329
2337
|
# You can't create an encrypted read replica from an unencrypted DB
|
2330
|
-
# instance.
|
2338
|
+
# instance or Multi-AZ DB cluster.
|
2331
2339
|
#
|
2332
2340
|
# This setting doesn't apply to RDS Custom, which uses the same KMS key
|
2333
2341
|
# as the primary replica.
|
@@ -2343,6 +2351,10 @@ module Aws::RDS
|
|
2343
2351
|
# and China Amazon Web Services Regions. It's ignored in other Amazon
|
2344
2352
|
# Web Services Regions.
|
2345
2353
|
#
|
2354
|
+
# This setting applies only when replicating from a source DB
|
2355
|
+
# *instance*. Source DB clusters aren't supported in Amazon Web
|
2356
|
+
# Services GovCloud (US) Regions and China Amazon Web Services Regions.
|
2357
|
+
#
|
2346
2358
|
# You must specify this parameter when you create an encrypted read
|
2347
2359
|
# replica from another Amazon Web Services Region by using the Amazon
|
2348
2360
|
# RDS API. Don't specify `PreSignedUrl` when you are creating an
|
@@ -2512,8 +2524,8 @@ module Aws::RDS
|
|
2512
2524
|
#
|
2513
2525
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html
|
2514
2526
|
# @option options [String] :domain_iam_role_name
|
2515
|
-
#
|
2516
|
-
#
|
2527
|
+
# The name of the IAM role to be used when making API calls to the
|
2528
|
+
# Directory Service.
|
2517
2529
|
#
|
2518
2530
|
# This setting doesn't apply to RDS Custom.
|
2519
2531
|
# @option options [String] :replica_mode
|
@@ -2627,6 +2639,22 @@ module Aws::RDS
|
|
2627
2639
|
# for future growth.
|
2628
2640
|
#
|
2629
2641
|
# </note>
|
2642
|
+
# @option options [String] :source_db_cluster_identifier
|
2643
|
+
# The identifier of the Multi-AZ DB cluster that will act as the source
|
2644
|
+
# for the read replica. Each DB cluster can have up to 15 read replicas.
|
2645
|
+
#
|
2646
|
+
# Constraints:
|
2647
|
+
#
|
2648
|
+
# * Must be the identifier of an existing Multi-AZ DB cluster.
|
2649
|
+
#
|
2650
|
+
# * Can't be specified if the `SourceDBInstanceIdentifier` parameter is
|
2651
|
+
# also specified.
|
2652
|
+
#
|
2653
|
+
# * The specified DB cluster must have automatic backups enabled, that
|
2654
|
+
# is, its backup retention period must be greater than 0.
|
2655
|
+
#
|
2656
|
+
# * The source DB cluster must be in the same Amazon Web Services Region
|
2657
|
+
# as the read replica. Cross-Region replication isn't supported.
|
2630
2658
|
# @option options [String] :source_region
|
2631
2659
|
# The source region of the snapshot. This is only needed when the
|
2632
2660
|
# shapshot is encrypted and in a different region.
|
@@ -3091,6 +3119,10 @@ module Aws::RDS
|
|
3091
3119
|
# lower. For information about valid engine versions, see
|
3092
3120
|
# `CreateDBInstance`, or call `DescribeDBEngineVersions`.
|
3093
3121
|
#
|
3122
|
+
# If the instance that you're modifying is acting as a read replica,
|
3123
|
+
# the engine version that you specify must be the same or later than the
|
3124
|
+
# version that the source DB instance or cluster is running.
|
3125
|
+
#
|
3094
3126
|
# In RDS Custom for Oracle, this parameter is supported for read
|
3095
3127
|
# replicas only if they are in the `PATCH_DB_FAILURE` lifecycle.
|
3096
3128
|
# @option options [Boolean] :allow_major_version_upgrade
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -353,8 +353,7 @@ module Aws::RDS
|
|
353
353
|
# The Amazon Resource Name (ARN) of the source DB instance or DB cluster
|
354
354
|
# if this DB cluster is created as a read replica.
|
355
355
|
#
|
356
|
-
# Valid for: Aurora DB clusters and
|
357
|
-
# clusters
|
356
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
358
357
|
# @option options [Array<Types::Tag>] :tags
|
359
358
|
# Tags to assign to the DB cluster.
|
360
359
|
#
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -2214,8 +2214,7 @@ module Aws::RDS
|
|
2214
2214
|
# The Amazon Resource Name (ARN) of the source DB instance or DB
|
2215
2215
|
# cluster if this DB cluster is created as a read replica.
|
2216
2216
|
#
|
2217
|
-
# Valid for: Aurora DB clusters and
|
2218
|
-
# clusters
|
2217
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
2219
2218
|
# @return [String]
|
2220
2219
|
#
|
2221
2220
|
# @!attribute [rw] tags
|
@@ -4345,27 +4344,24 @@ module Aws::RDS
|
|
4345
4344
|
#
|
4346
4345
|
# @!attribute [rw] source_db_instance_identifier
|
4347
4346
|
# The identifier of the DB instance that will act as the source for
|
4348
|
-
# the read replica. Each DB instance can have up to
|
4349
|
-
#
|
4347
|
+
# the read replica. Each DB instance can have up to 15 read replicas,
|
4348
|
+
# with the exception of Oracle and SQL Server, which can have up to
|
4349
|
+
# five.
|
4350
4350
|
#
|
4351
4351
|
# Constraints:
|
4352
4352
|
#
|
4353
4353
|
# * Must be the identifier of an existing MySQL, MariaDB, Oracle,
|
4354
4354
|
# PostgreSQL, or SQL Server DB instance.
|
4355
4355
|
#
|
4356
|
-
# * Can
|
4357
|
-
#
|
4356
|
+
# * Can't be specified if the `SourceDBClusterIdentifier` parameter
|
4357
|
+
# is also specified.
|
4358
4358
|
#
|
4359
|
-
# * For the limitations of Oracle read replicas, see [
|
4360
|
-
#
|
4359
|
+
# * For the limitations of Oracle read replicas, see [Version and
|
4360
|
+
# licensing considerations for RDS for Oracle replicas][1] in the
|
4361
|
+
# *Amazon RDS User Guide*.
|
4361
4362
|
#
|
4362
|
-
# * For the limitations of SQL Server read replicas, see [Read
|
4363
|
-
#
|
4364
|
-
# Guide*.
|
4365
|
-
#
|
4366
|
-
# * Can specify a PostgreSQL DB instance only if the source is running
|
4367
|
-
# PostgreSQL 9.3.5 or later (9.4.7 and higher for cross-Region
|
4368
|
-
# replication).
|
4363
|
+
# * For the limitations of SQL Server read replicas, see [Read replica
|
4364
|
+
# limitations with SQL Server][2] in the *Amazon RDS User Guide*.
|
4369
4365
|
#
|
4370
4366
|
# * The specified DB instance must have automatic backups enabled,
|
4371
4367
|
# that is, its backup retention period must be greater than 0.
|
@@ -4382,8 +4378,8 @@ module Aws::RDS
|
|
4382
4378
|
#
|
4383
4379
|
#
|
4384
4380
|
#
|
4385
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
|
4386
|
-
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.ReadReplicas.Limitations
|
4381
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.limitations.html#oracle-read-replicas.limitations.versions-and-licenses
|
4382
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.ReadReplicas.html#SQLServer.ReadReplicas.Limitations
|
4387
4383
|
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing
|
4388
4384
|
# @return [String]
|
4389
4385
|
#
|
@@ -4425,8 +4421,8 @@ module Aws::RDS
|
|
4425
4421
|
# You can create a read replica as a Multi-AZ DB instance. RDS creates
|
4426
4422
|
# a standby of your replica in another Availability Zone for failover
|
4427
4423
|
# support for the replica. Creating your read replica as a Multi-AZ DB
|
4428
|
-
# instance is independent of whether the source
|
4429
|
-
# DB
|
4424
|
+
# instance is independent of whether the source is a Multi-AZ DB
|
4425
|
+
# instance or a Multi-AZ DB cluster.
|
4430
4426
|
#
|
4431
4427
|
# This setting doesn't apply to RDS Custom.
|
4432
4428
|
# @return [Boolean]
|
@@ -4447,10 +4443,10 @@ module Aws::RDS
|
|
4447
4443
|
#
|
4448
4444
|
# @!attribute [rw] option_group_name
|
4449
4445
|
# The option group the DB instance is associated with. If omitted, the
|
4450
|
-
# option group associated with the source instance is used.
|
4446
|
+
# option group associated with the source instance or cluster is used.
|
4451
4447
|
#
|
4452
4448
|
# <note markdown="1"> For SQL Server, you must use the option group associated with the
|
4453
|
-
# source
|
4449
|
+
# source.
|
4454
4450
|
#
|
4455
4451
|
# </note>
|
4456
4452
|
#
|
@@ -4599,10 +4595,10 @@ module Aws::RDS
|
|
4599
4595
|
# alias ARN, or alias name for the KMS key.
|
4600
4596
|
#
|
4601
4597
|
# If you create an encrypted read replica in the same Amazon Web
|
4602
|
-
# Services Region as the source DB instance
|
4603
|
-
# value for this parameter. A read replica in the
|
4604
|
-
# Services Region is always encrypted with the same
|
4605
|
-
# source DB instance.
|
4598
|
+
# Services Region as the source DB instance or Multi-AZ DB cluster,
|
4599
|
+
# don't specify a value for this parameter. A read replica in the
|
4600
|
+
# same Amazon Web Services Region is always encrypted with the same
|
4601
|
+
# KMS key as the source DB instance or cluster.
|
4606
4602
|
#
|
4607
4603
|
# If you create an encrypted read replica in a different Amazon Web
|
4608
4604
|
# Services Region, then you must specify a KMS key identifier for the
|
@@ -4612,7 +4608,7 @@ module Aws::RDS
|
|
4612
4608
|
# Web Services Region.
|
4613
4609
|
#
|
4614
4610
|
# You can't create an encrypted read replica from an unencrypted DB
|
4615
|
-
# instance.
|
4611
|
+
# instance or Multi-AZ DB cluster.
|
4616
4612
|
#
|
4617
4613
|
# This setting doesn't apply to RDS Custom, which uses the same KMS
|
4618
4614
|
# key as the primary replica.
|
@@ -4630,6 +4626,11 @@ module Aws::RDS
|
|
4630
4626
|
# Regions and China Amazon Web Services Regions. It's ignored in
|
4631
4627
|
# other Amazon Web Services Regions.
|
4632
4628
|
#
|
4629
|
+
# This setting applies only when replicating from a source DB
|
4630
|
+
# *instance*. Source DB clusters aren't supported in Amazon Web
|
4631
|
+
# Services GovCloud (US) Regions and China Amazon Web Services
|
4632
|
+
# Regions.
|
4633
|
+
#
|
4633
4634
|
# You must specify this parameter when you create an encrypted read
|
4634
4635
|
# replica from another Amazon Web Services Region by using the Amazon
|
4635
4636
|
# RDS API. Don't specify `PreSignedUrl` when you are creating an
|
@@ -4822,8 +4823,8 @@ module Aws::RDS
|
|
4822
4823
|
# @return [String]
|
4823
4824
|
#
|
4824
4825
|
# @!attribute [rw] domain_iam_role_name
|
4825
|
-
#
|
4826
|
-
#
|
4826
|
+
# The name of the IAM role to be used when making API calls to the
|
4827
|
+
# Directory Service.
|
4827
4828
|
#
|
4828
4829
|
# This setting doesn't apply to RDS Custom.
|
4829
4830
|
# @return [String]
|
@@ -4954,6 +4955,26 @@ module Aws::RDS
|
|
4954
4955
|
# </note>
|
4955
4956
|
# @return [Integer]
|
4956
4957
|
#
|
4958
|
+
# @!attribute [rw] source_db_cluster_identifier
|
4959
|
+
# The identifier of the Multi-AZ DB cluster that will act as the
|
4960
|
+
# source for the read replica. Each DB cluster can have up to 15 read
|
4961
|
+
# replicas.
|
4962
|
+
#
|
4963
|
+
# Constraints:
|
4964
|
+
#
|
4965
|
+
# * Must be the identifier of an existing Multi-AZ DB cluster.
|
4966
|
+
#
|
4967
|
+
# * Can't be specified if the `SourceDBInstanceIdentifier` parameter
|
4968
|
+
# is also specified.
|
4969
|
+
#
|
4970
|
+
# * The specified DB cluster must have automatic backups enabled, that
|
4971
|
+
# is, its backup retention period must be greater than 0.
|
4972
|
+
#
|
4973
|
+
# * The source DB cluster must be in the same Amazon Web Services
|
4974
|
+
# Region as the read replica. Cross-Region replication isn't
|
4975
|
+
# supported.
|
4976
|
+
# @return [String]
|
4977
|
+
#
|
4957
4978
|
# @!attribute [rw] source_region
|
4958
4979
|
# The source region of the snapshot. This is only needed when the
|
4959
4980
|
# shapshot is encrypted and in a different region.
|
@@ -4999,6 +5020,7 @@ module Aws::RDS
|
|
4999
5020
|
:storage_throughput,
|
5000
5021
|
:enable_customer_owned_ip,
|
5001
5022
|
:allocated_storage,
|
5023
|
+
:source_db_cluster_identifier,
|
5002
5024
|
:source_region)
|
5003
5025
|
SENSITIVE = []
|
5004
5026
|
include Aws::Structure
|
@@ -7983,6 +8005,11 @@ module Aws::RDS
|
|
7983
8005
|
# The details of the DB instance's server certificate.
|
7984
8006
|
# @return [Types::CertificateDetails]
|
7985
8007
|
#
|
8008
|
+
# @!attribute [rw] read_replica_source_db_cluster_identifier
|
8009
|
+
# Contains the identifier of the source DB cluster if this DB instance
|
8010
|
+
# is a read replica.
|
8011
|
+
# @return [String]
|
8012
|
+
#
|
7986
8013
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance AWS API Documentation
|
7987
8014
|
#
|
7988
8015
|
class DBInstance < Struct.new(
|
@@ -8065,7 +8092,8 @@ module Aws::RDS
|
|
8065
8092
|
:storage_throughput,
|
8066
8093
|
:db_system_id,
|
8067
8094
|
:master_user_secret,
|
8068
|
-
:certificate_details
|
8095
|
+
:certificate_details,
|
8096
|
+
:read_replica_source_db_cluster_identifier)
|
8069
8097
|
SENSITIVE = []
|
8070
8098
|
include Aws::Structure
|
8071
8099
|
end
|
@@ -14566,6 +14594,10 @@ module Aws::RDS
|
|
14566
14594
|
# applied during the next maintenance window unless `ApplyImmediately`
|
14567
14595
|
# is enabled.
|
14568
14596
|
#
|
14597
|
+
# If the cluster that you're modifying has one or more read replicas,
|
14598
|
+
# all replicas must be running an engine version that's the same or
|
14599
|
+
# later than the version you specify.
|
14600
|
+
#
|
14569
14601
|
# To list all of the available engine versions for Aurora MySQL
|
14570
14602
|
# version 2 (5.7-compatible) and version 3 (MySQL 8.0-compatible), use
|
14571
14603
|
# the following command:
|
@@ -14573,6 +14605,12 @@ module Aws::RDS
|
|
14573
14605
|
# `aws rds describe-db-engine-versions --engine aurora-mysql --query
|
14574
14606
|
# "DBEngineVersions[].EngineVersion"`
|
14575
14607
|
#
|
14608
|
+
# To list all of the available engine versions for MySQL
|
14609
|
+
# 5.6-compatible Aurora, use the following command:
|
14610
|
+
#
|
14611
|
+
# `aws rds describe-db-engine-versions --engine aurora --query
|
14612
|
+
# "DBEngineVersions[].EngineVersion"`
|
14613
|
+
#
|
14576
14614
|
# To list all of the available engine versions for Aurora PostgreSQL,
|
14577
14615
|
# use the following command:
|
14578
14616
|
#
|
@@ -15496,6 +15534,10 @@ module Aws::RDS
|
|
15496
15534
|
# is lower. For information about valid engine versions, see
|
15497
15535
|
# `CreateDBInstance`, or call `DescribeDBEngineVersions`.
|
15498
15536
|
#
|
15537
|
+
# If the instance that you're modifying is acting as a read replica,
|
15538
|
+
# the engine version that you specify must be the same or later than
|
15539
|
+
# the version that the source DB instance or cluster is running.
|
15540
|
+
#
|
15499
15541
|
# In RDS Custom for Oracle, this parameter is supported for read
|
15500
15542
|
# replicas only if they are in the `PATCH_DB_FAILURE` lifecycle.
|
15501
15543
|
# @return [String]
|
@@ -22950,7 +22992,7 @@ module Aws::RDS
|
|
22950
22992
|
|
22951
22993
|
# @!attribute [rw] source_db_instance_arn
|
22952
22994
|
# The Amazon Resource Name (ARN) of the source DB instance for which
|
22953
|
-
# to stop replicating
|
22995
|
+
# to stop replicating automate backups, for example,
|
22954
22996
|
# `arn:aws:rds:us-west-2:123456789012:db:mydatabase`.
|
22955
22997
|
# @return [String]
|
22956
22998
|
#
|
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.174.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-03-
|
11
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|