aws-sdk-rds 1.172.0 → 1.174.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 +164 -131
- data/lib/aws-sdk-rds/client_api.rb +9 -1
- data/lib/aws-sdk-rds/db_cluster.rb +33 -52
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +6 -10
- data/lib/aws-sdk-rds/db_instance.rb +43 -11
- data/lib/aws-sdk-rds/errors.rb +11 -0
- data/lib/aws-sdk-rds/resource.rb +22 -48
- data/lib/aws-sdk-rds/types.rb +144 -122
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -2131,22 +2131,29 @@ module Aws::RDS
|
|
2131
2131
|
|
2132
2132
|
# Creates a new Amazon Aurora DB cluster or Multi-AZ DB cluster.
|
2133
2133
|
#
|
2134
|
+
# If you create an Aurora DB cluster, the request creates an empty
|
2135
|
+
# cluster. You must explicitly create the writer instance for your DB
|
2136
|
+
# cluster using the [CreateDBInstance][1] operation. If you create a
|
2137
|
+
# Multi-AZ DB cluster, the request creates a writer and two reader DB
|
2138
|
+
# instances for you, each in a different Availability Zone.
|
2139
|
+
#
|
2134
2140
|
# You can use the `ReplicationSourceIdentifier` parameter to create an
|
2135
2141
|
# Amazon Aurora DB cluster as a read replica of another DB cluster or
|
2136
|
-
# Amazon RDS MySQL or PostgreSQL DB instance. For more information
|
2137
|
-
# Amazon Aurora, see [What is Amazon Aurora?][
|
2138
|
-
# 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*.
|
2139
2145
|
#
|
2140
2146
|
# You can also use the `ReplicationSourceIdentifier` parameter to create
|
2141
|
-
# a Multi-AZ DB cluster read replica with an RDS for PostgreSQL
|
2142
|
-
# instance as the source. For more information about Multi-AZ DB
|
2143
|
-
# clusters, see [Multi-AZ DB cluster deployments][
|
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
|
+
# clusters, see [Multi-AZ DB cluster deployments][3] in the *Amazon RDS
|
2144
2150
|
# User Guide*.
|
2145
2151
|
#
|
2146
2152
|
#
|
2147
2153
|
#
|
2148
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/
|
2149
|
-
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/
|
2154
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html
|
2155
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html
|
2156
|
+
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html
|
2150
2157
|
#
|
2151
2158
|
# @option params [Array<String>] :availability_zones
|
2152
2159
|
# A list of Availability Zones (AZs) where DB instances in the DB
|
@@ -2240,10 +2247,7 @@ module Aws::RDS
|
|
2240
2247
|
#
|
2241
2248
|
# Valid Values:
|
2242
2249
|
#
|
2243
|
-
# * `aurora`
|
2244
|
-
#
|
2245
|
-
# * `aurora-mysql` (for MySQL 5.7-compatible and MySQL 8.0-compatible
|
2246
|
-
# Aurora)
|
2250
|
+
# * `aurora-mysql`
|
2247
2251
|
#
|
2248
2252
|
# * `aurora-postgresql`
|
2249
2253
|
#
|
@@ -2256,18 +2260,16 @@ module Aws::RDS
|
|
2256
2260
|
# @option params [String] :engine_version
|
2257
2261
|
# The version number of the database engine to use.
|
2258
2262
|
#
|
2259
|
-
# To list all of the available engine versions for MySQL
|
2260
|
-
#
|
2261
|
-
#
|
2262
|
-
# `aws rds describe-db-engine-versions --engine aurora --query
|
2263
|
-
# "DBEngineVersions[].EngineVersion"`
|
2264
|
-
#
|
2265
|
-
# To list all of the available engine versions for MySQL 5.7-compatible
|
2266
|
-
# and MySQL 8.0-compatible Aurora, use the following command:
|
2263
|
+
# To list all of the available engine versions for Aurora MySQL version
|
2264
|
+
# 2 (5.7-compatible) and version 3 (MySQL 8.0-compatible), use the
|
2265
|
+
# following command:
|
2267
2266
|
#
|
2268
2267
|
# `aws rds describe-db-engine-versions --engine aurora-mysql --query
|
2269
2268
|
# "DBEngineVersions[].EngineVersion"`
|
2270
2269
|
#
|
2270
|
+
# You can supply either `5.7` or `8.0` to use the default engine version
|
2271
|
+
# for Aurora MySQL version 2 or version 3, respectively.
|
2272
|
+
#
|
2271
2273
|
# To list all of the available engine versions for Aurora PostgreSQL,
|
2272
2274
|
# use the following command:
|
2273
2275
|
#
|
@@ -2288,8 +2290,8 @@ module Aws::RDS
|
|
2288
2290
|
#
|
2289
2291
|
# **Aurora MySQL**
|
2290
2292
|
#
|
2291
|
-
# For information, see [
|
2292
|
-
# Aurora User Guide*.
|
2293
|
+
# For information, see [Database engine updates for Amazon Aurora
|
2294
|
+
# MySQL][1] in the *Amazon Aurora User Guide*.
|
2293
2295
|
#
|
2294
2296
|
# **Aurora PostgreSQL**
|
2295
2297
|
#
|
@@ -2298,13 +2300,13 @@ module Aws::RDS
|
|
2298
2300
|
#
|
2299
2301
|
# **MySQL**
|
2300
2302
|
#
|
2301
|
-
# For information, see [
|
2302
|
-
#
|
2303
|
+
# For information, see [Amazon RDS for MySQL][3] in the *Amazon RDS User
|
2304
|
+
# Guide*.
|
2303
2305
|
#
|
2304
2306
|
# **PostgreSQL**
|
2305
2307
|
#
|
2306
|
-
# For information, see [Amazon RDS for PostgreSQL
|
2307
|
-
#
|
2308
|
+
# For information, see [Amazon RDS for PostgreSQL][4] in the *Amazon RDS
|
2309
|
+
# User Guide*.
|
2308
2310
|
#
|
2309
2311
|
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
2310
2312
|
#
|
@@ -2417,8 +2419,7 @@ module Aws::RDS
|
|
2417
2419
|
# The Amazon Resource Name (ARN) of the source DB instance or DB cluster
|
2418
2420
|
# if this DB cluster is created as a read replica.
|
2419
2421
|
#
|
2420
|
-
# Valid for: Aurora DB clusters and
|
2421
|
-
# clusters
|
2422
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
2422
2423
|
#
|
2423
2424
|
# @option params [Array<Types::Tag>] :tags
|
2424
2425
|
# Tags to assign to the DB cluster.
|
@@ -2439,7 +2440,7 @@ module Aws::RDS
|
|
2439
2440
|
# different Amazon Web Services account, specify the key ARN or alias
|
2440
2441
|
# ARN.
|
2441
2442
|
#
|
2442
|
-
# When a KMS key isn't specified in `KmsKeyId
|
2443
|
+
# When a KMS key isn't specified in `KmsKeyId`:
|
2443
2444
|
#
|
2444
2445
|
# * If `ReplicationSourceIdentifier` identifies an encrypted source,
|
2445
2446
|
# then Amazon RDS will use the KMS key used to encrypt the source.
|
@@ -2579,40 +2580,23 @@ module Aws::RDS
|
|
2579
2580
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
2580
2581
|
#
|
2581
2582
|
# @option params [String] :engine_mode
|
2582
|
-
# The DB engine mode of the DB cluster, either `provisioned
|
2583
|
-
# `serverless
|
2584
|
-
#
|
2585
|
-
# The `parallelquery` engine mode isn't required for Aurora MySQL
|
2586
|
-
# version 1.23 and higher 1.x versions, and version 2.09 and higher 2.x
|
2587
|
-
# versions.
|
2588
|
-
#
|
2589
|
-
# The `global` engine mode isn't required for Aurora MySQL version 1.22
|
2590
|
-
# and higher 1.x versions, and `global` engine mode isn't required for
|
2591
|
-
# any 2.x versions.
|
2592
|
-
#
|
2593
|
-
# The `multimaster` engine mode only applies for DB clusters created
|
2594
|
-
# with Aurora MySQL version 5.6.10a.
|
2583
|
+
# The DB engine mode of the DB cluster, either `provisioned` or
|
2584
|
+
# `serverless`.
|
2595
2585
|
#
|
2596
2586
|
# The `serverless` engine mode only applies for Aurora Serverless v1 DB
|
2597
2587
|
# clusters.
|
2598
2588
|
#
|
2599
|
-
# For Aurora PostgreSQL, the `global` engine mode isn't required, and
|
2600
|
-
# both the `parallelquery` and the `multimaster` engine modes currently
|
2601
|
-
# aren't supported.
|
2602
|
-
#
|
2603
2589
|
# Limitations and requirements apply to some DB engine modes. For more
|
2604
2590
|
# information, see the following sections in the *Amazon Aurora User
|
2605
|
-
# Guide
|
2591
|
+
# Guide*:
|
2606
2592
|
#
|
2607
2593
|
# * [Limitations of Aurora Serverless v1][1]
|
2608
2594
|
#
|
2609
2595
|
# * [Requirements for Aurora Serverless v2][2]
|
2610
2596
|
#
|
2611
|
-
# * [Limitations of
|
2597
|
+
# * [Limitations of parallel query][3]
|
2612
2598
|
#
|
2613
|
-
# * [Limitations of Aurora
|
2614
|
-
#
|
2615
|
-
# * [Limitations of Multi-Master Clusters][5]
|
2599
|
+
# * [Limitations of Aurora global databases][4]
|
2616
2600
|
#
|
2617
2601
|
# Valid for: Aurora DB clusters only
|
2618
2602
|
#
|
@@ -2622,7 +2606,6 @@ module Aws::RDS
|
|
2622
2606
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html
|
2623
2607
|
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations
|
2624
2608
|
# [4]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations
|
2625
|
-
# [5]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations
|
2626
2609
|
#
|
2627
2610
|
# @option params [Types::ScalingConfiguration] :scaling_configuration
|
2628
2611
|
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
@@ -2749,8 +2732,8 @@ module Aws::RDS
|
|
2749
2732
|
# be initially allocated for each DB instance in the Multi-AZ DB
|
2750
2733
|
# cluster.
|
2751
2734
|
#
|
2752
|
-
# For information about valid IOPS values, see [
|
2753
|
-
#
|
2735
|
+
# For information about valid IOPS values, see [Provisioned IOPS
|
2736
|
+
# storage][1] in the *Amazon RDS User Guide*.
|
2754
2737
|
#
|
2755
2738
|
# This setting is required to create a Multi-AZ DB cluster.
|
2756
2739
|
#
|
@@ -4993,6 +4976,7 @@ module Aws::RDS
|
|
4993
4976
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
4994
4977
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
4995
4978
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
4979
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
4996
4980
|
#
|
4997
4981
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance AWS API Documentation
|
4998
4982
|
#
|
@@ -5004,53 +4988,53 @@ module Aws::RDS
|
|
5004
4988
|
end
|
5005
4989
|
|
5006
4990
|
# Creates a new DB instance that acts as a read replica for an existing
|
5007
|
-
# source DB instance. You can create a read
|
5008
|
-
# running MySQL, MariaDB, Oracle, PostgreSQL,
|
5009
|
-
#
|
5010
|
-
#
|
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*.
|
5011
4997
|
#
|
5012
4998
|
# Amazon Aurora doesn't support this operation. Call the
|
5013
4999
|
# `CreateDBInstance` operation to create a DB instance for an Aurora DB
|
5014
5000
|
# cluster.
|
5015
5001
|
#
|
5016
5002
|
# All read replica DB instances are created with backups disabled. All
|
5017
|
-
# other
|
5018
|
-
#
|
5019
|
-
# 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.
|
5020
5006
|
#
|
5021
|
-
# Your source DB instance must have backup retention enabled.
|
5007
|
+
# Your source DB instance or cluster must have backup retention enabled.
|
5022
5008
|
#
|
5023
5009
|
#
|
5024
5010
|
#
|
5025
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
|
5026
5013
|
#
|
5027
5014
|
# @option params [required, String] :db_instance_identifier
|
5028
5015
|
# The DB instance identifier of the read replica. This identifier is the
|
5029
5016
|
# unique key that identifies a DB instance. This parameter is stored as
|
5030
5017
|
# a lowercase string.
|
5031
5018
|
#
|
5032
|
-
# @option params [
|
5019
|
+
# @option params [String] :source_db_instance_identifier
|
5033
5020
|
# The identifier of the DB instance that will act as the source for the
|
5034
|
-
# 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.
|
5035
5023
|
#
|
5036
5024
|
# Constraints:
|
5037
5025
|
#
|
5038
5026
|
# * Must be the identifier of an existing MySQL, MariaDB, Oracle,
|
5039
5027
|
# PostgreSQL, or SQL Server DB instance.
|
5040
5028
|
#
|
5041
|
-
# * Can
|
5042
|
-
#
|
5043
|
-
#
|
5044
|
-
# * For the limitations of Oracle read replicas, see [Read Replica
|
5045
|
-
# Limitations with Oracle][1] in the *Amazon RDS User Guide*.
|
5029
|
+
# * Can't be specified if the `SourceDBClusterIdentifier` parameter is
|
5030
|
+
# also specified.
|
5046
5031
|
#
|
5047
|
-
# * For the limitations of
|
5048
|
-
#
|
5049
|
-
# 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*.
|
5050
5035
|
#
|
5051
|
-
# *
|
5052
|
-
#
|
5053
|
-
# 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*.
|
5054
5038
|
#
|
5055
5039
|
# * The specified DB instance must have automatic backups enabled, that
|
5056
5040
|
# is, its backup retention period must be greater than 0.
|
@@ -5066,8 +5050,8 @@ module Aws::RDS
|
|
5066
5050
|
#
|
5067
5051
|
#
|
5068
5052
|
#
|
5069
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
|
5070
|
-
# [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
|
5071
5055
|
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing
|
5072
5056
|
#
|
5073
5057
|
# @option params [String] :db_instance_class
|
@@ -5105,8 +5089,8 @@ module Aws::RDS
|
|
5105
5089
|
# You can create a read replica as a Multi-AZ DB instance. RDS creates a
|
5106
5090
|
# standby of your replica in another Availability Zone for failover
|
5107
5091
|
# support for the replica. Creating your read replica as a Multi-AZ DB
|
5108
|
-
# instance is independent of whether the source
|
5109
|
-
# DB
|
5092
|
+
# instance is independent of whether the source is a Multi-AZ DB
|
5093
|
+
# instance or a Multi-AZ DB cluster.
|
5110
5094
|
#
|
5111
5095
|
# This setting doesn't apply to RDS Custom.
|
5112
5096
|
#
|
@@ -5124,10 +5108,10 @@ module Aws::RDS
|
|
5124
5108
|
#
|
5125
5109
|
# @option params [String] :option_group_name
|
5126
5110
|
# The option group the DB instance is associated with. If omitted, the
|
5127
|
-
# option group associated with the source instance is used.
|
5111
|
+
# option group associated with the source instance or cluster is used.
|
5128
5112
|
#
|
5129
5113
|
# <note markdown="1"> For SQL Server, you must use the option group associated with the
|
5130
|
-
# source
|
5114
|
+
# source.
|
5131
5115
|
#
|
5132
5116
|
# </note>
|
5133
5117
|
#
|
@@ -5262,10 +5246,10 @@ module Aws::RDS
|
|
5262
5246
|
# alias ARN, or alias name for the KMS key.
|
5263
5247
|
#
|
5264
5248
|
# If you create an encrypted read replica in the same Amazon Web
|
5265
|
-
# Services Region as the source DB instance
|
5266
|
-
# for this parameter. A read replica in the same
|
5267
|
-
# Region is always encrypted with the same KMS key
|
5268
|
-
# 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.
|
5269
5253
|
#
|
5270
5254
|
# If you create an encrypted read replica in a different Amazon Web
|
5271
5255
|
# Services Region, then you must specify a KMS key identifier for the
|
@@ -5275,7 +5259,7 @@ module Aws::RDS
|
|
5275
5259
|
# Services Region.
|
5276
5260
|
#
|
5277
5261
|
# You can't create an encrypted read replica from an unencrypted DB
|
5278
|
-
# instance.
|
5262
|
+
# instance or Multi-AZ DB cluster.
|
5279
5263
|
#
|
5280
5264
|
# This setting doesn't apply to RDS Custom, which uses the same KMS key
|
5281
5265
|
# as the primary replica.
|
@@ -5292,6 +5276,10 @@ module Aws::RDS
|
|
5292
5276
|
# and China Amazon Web Services Regions. It's ignored in other Amazon
|
5293
5277
|
# Web Services Regions.
|
5294
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
|
+
#
|
5295
5283
|
# You must specify this parameter when you create an encrypted read
|
5296
5284
|
# replica from another Amazon Web Services Region by using the Amazon
|
5297
5285
|
# RDS API. Don't specify `PreSignedUrl` when you are creating an
|
@@ -5471,8 +5459,8 @@ module Aws::RDS
|
|
5471
5459
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html
|
5472
5460
|
#
|
5473
5461
|
# @option params [String] :domain_iam_role_name
|
5474
|
-
#
|
5475
|
-
#
|
5462
|
+
# The name of the IAM role to be used when making API calls to the
|
5463
|
+
# Directory Service.
|
5476
5464
|
#
|
5477
5465
|
# This setting doesn't apply to RDS Custom.
|
5478
5466
|
#
|
@@ -5594,6 +5582,23 @@ module Aws::RDS
|
|
5594
5582
|
#
|
5595
5583
|
# </note>
|
5596
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
|
+
#
|
5597
5602
|
# @option params [String] :source_region
|
5598
5603
|
# The source region of the snapshot. This is only needed when the
|
5599
5604
|
# shapshot is encrypted and in a different region.
|
@@ -5633,7 +5638,7 @@ module Aws::RDS
|
|
5633
5638
|
#
|
5634
5639
|
# resp = client.create_db_instance_read_replica({
|
5635
5640
|
# db_instance_identifier: "String", # required
|
5636
|
-
# source_db_instance_identifier: "String",
|
5641
|
+
# source_db_instance_identifier: "String",
|
5637
5642
|
# db_instance_class: "String",
|
5638
5643
|
# availability_zone: "String",
|
5639
5644
|
# port: 1,
|
@@ -5679,6 +5684,7 @@ module Aws::RDS
|
|
5679
5684
|
# storage_throughput: 1,
|
5680
5685
|
# enable_customer_owned_ip: false,
|
5681
5686
|
# allocated_storage: 1,
|
5687
|
+
# source_db_cluster_identifier: "String",
|
5682
5688
|
# source_region: "String",
|
5683
5689
|
# })
|
5684
5690
|
#
|
@@ -5832,6 +5838,7 @@ module Aws::RDS
|
|
5832
5838
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
5833
5839
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
5834
5840
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
5841
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
5835
5842
|
#
|
5836
5843
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica AWS API Documentation
|
5837
5844
|
#
|
@@ -7136,6 +7143,10 @@ module Aws::RDS
|
|
7136
7143
|
# DB cluster are deleted and can't be recovered. Manual DB cluster
|
7137
7144
|
# snapshots of the specified DB cluster are not deleted.
|
7138
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
|
+
#
|
7139
7150
|
# For more information on Amazon Aurora, see [ What is Amazon
|
7140
7151
|
# Aurora?][1] in the *Amazon Aurora User Guide*.
|
7141
7152
|
#
|
@@ -7801,6 +7812,7 @@ module Aws::RDS
|
|
7801
7812
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
7802
7813
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
7803
7814
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
7815
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
7804
7816
|
#
|
7805
7817
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance AWS API Documentation
|
7806
7818
|
#
|
@@ -9568,8 +9580,6 @@ module Aws::RDS
|
|
9568
9580
|
#
|
9569
9581
|
# Valid Values:
|
9570
9582
|
#
|
9571
|
-
# * `aurora` (for MySQL 5.6-compatible Aurora)
|
9572
|
-
#
|
9573
9583
|
# * `aurora-mysql` (for MySQL 5.7-compatible and MySQL 8.0-compatible
|
9574
9584
|
# Aurora)
|
9575
9585
|
#
|
@@ -10187,6 +10197,7 @@ module Aws::RDS
|
|
10187
10197
|
# resp.db_instances[0].master_user_secret.kms_key_id #=> String
|
10188
10198
|
# resp.db_instances[0].certificate_details.ca_identifier #=> String
|
10189
10199
|
# resp.db_instances[0].certificate_details.valid_till #=> Time
|
10200
|
+
# resp.db_instances[0].read_replica_source_db_cluster_identifier #=> String
|
10190
10201
|
#
|
10191
10202
|
#
|
10192
10203
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -12370,8 +12381,6 @@ module Aws::RDS
|
|
12370
12381
|
#
|
12371
12382
|
# Valid Values:
|
12372
12383
|
#
|
12373
|
-
# * `aurora` (for MySQL 5.6-compatible Aurora)
|
12374
|
-
#
|
12375
12384
|
# * `aurora-mysql` (for MySQL 5.7-compatible and MySQL 8.0-compatible
|
12376
12385
|
# Aurora)
|
12377
12386
|
#
|
@@ -14199,16 +14208,21 @@ module Aws::RDS
|
|
14199
14208
|
# applied during the next maintenance window unless `ApplyImmediately`
|
14200
14209
|
# is enabled.
|
14201
14210
|
#
|
14202
|
-
#
|
14203
|
-
#
|
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.
|
14204
14214
|
#
|
14205
|
-
#
|
14215
|
+
# To list all of the available engine versions for Aurora MySQL version
|
14216
|
+
# 2 (5.7-compatible) and version 3 (MySQL 8.0-compatible), use the
|
14217
|
+
# following command:
|
14218
|
+
#
|
14219
|
+
# `aws rds describe-db-engine-versions --engine aurora-mysql --query
|
14206
14220
|
# "DBEngineVersions[].EngineVersion"`
|
14207
14221
|
#
|
14208
|
-
# To list all of the available engine versions for MySQL 5.
|
14209
|
-
#
|
14222
|
+
# To list all of the available engine versions for MySQL 5.6-compatible
|
14223
|
+
# Aurora, use the following command:
|
14210
14224
|
#
|
14211
|
-
# `aws rds describe-db-engine-versions --engine aurora
|
14225
|
+
# `aws rds describe-db-engine-versions --engine aurora --query
|
14212
14226
|
# "DBEngineVersions[].EngineVersion"`
|
14213
14227
|
#
|
14214
14228
|
# To list all of the available engine versions for Aurora PostgreSQL,
|
@@ -15411,6 +15425,10 @@ module Aws::RDS
|
|
15411
15425
|
# lower. For information about valid engine versions, see
|
15412
15426
|
# `CreateDBInstance`, or call `DescribeDBEngineVersions`.
|
15413
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
|
+
#
|
15414
15432
|
# In RDS Custom for Oracle, this parameter is supported for read
|
15415
15433
|
# replicas only if they are in the `PATCH_DB_FAILURE` lifecycle.
|
15416
15434
|
#
|
@@ -16283,6 +16301,7 @@ module Aws::RDS
|
|
16283
16301
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
16284
16302
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
16285
16303
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
16304
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
16286
16305
|
#
|
16287
16306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance AWS API Documentation
|
16288
16307
|
#
|
@@ -17528,6 +17547,7 @@ module Aws::RDS
|
|
17528
17547
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
17529
17548
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
17530
17549
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
17550
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
17531
17551
|
#
|
17532
17552
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica AWS API Documentation
|
17533
17553
|
#
|
@@ -18148,6 +18168,7 @@ module Aws::RDS
|
|
18148
18168
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
18149
18169
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
18150
18170
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
18171
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
18151
18172
|
#
|
18152
18173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance AWS API Documentation
|
18153
18174
|
#
|
@@ -18749,30 +18770,22 @@ module Aws::RDS
|
|
18749
18770
|
# @option params [required, String] :engine
|
18750
18771
|
# The name of the database engine to be used for this DB cluster.
|
18751
18772
|
#
|
18752
|
-
# Valid Values: `aurora` (for MySQL 5.
|
18753
|
-
#
|
18754
|
-
# Aurora)
|
18773
|
+
# Valid Values: `aurora-mysql` (for MySQL 5.7-compatible and MySQL
|
18774
|
+
# 8.0-compatible Aurora)
|
18755
18775
|
#
|
18756
18776
|
# @option params [String] :engine_version
|
18757
18777
|
# The version number of the database engine to use.
|
18758
18778
|
#
|
18759
|
-
# To list all of the available engine versions for `aurora` (
|
18760
|
-
# 5.
|
18761
|
-
#
|
18762
|
-
# `aws rds describe-db-engine-versions --engine aurora --query
|
18763
|
-
# "DBEngineVersions[].EngineVersion"`
|
18764
|
-
#
|
18765
|
-
# To list all of the available engine versions for `aurora-mysql` (for
|
18766
|
-
# MySQL 5.7-compatible and MySQL 8.0-compatible Aurora), use the
|
18767
|
-
# following command:
|
18779
|
+
# To list all of the available engine versions for `aurora-mysql` (MySQL
|
18780
|
+
# 5.7-compatible and MySQL 8.0-compatible Aurora), use the following
|
18781
|
+
# command:
|
18768
18782
|
#
|
18769
18783
|
# `aws rds describe-db-engine-versions --engine aurora-mysql --query
|
18770
18784
|
# "DBEngineVersions[].EngineVersion"`
|
18771
18785
|
#
|
18772
18786
|
# **Aurora MySQL**
|
18773
18787
|
#
|
18774
|
-
#
|
18775
|
-
# `5.7.mysql_aurora.2.07.1`, `8.0.mysql_aurora.3.02.0`
|
18788
|
+
# Examples: `5.7.mysql_aurora.2.07.1`, `8.0.mysql_aurora.3.02.0`
|
18776
18789
|
#
|
18777
18790
|
# @option params [Integer] :port
|
18778
18791
|
# The port number on which the instances in the restored DB cluster
|
@@ -18945,10 +18958,6 @@ module Aws::RDS
|
|
18945
18958
|
#
|
18946
18959
|
# Possible values are `audit`, `error`, `general`, and `slowquery`.
|
18947
18960
|
#
|
18948
|
-
# **Aurora PostgreSQL**
|
18949
|
-
#
|
18950
|
-
# Possible value is `postgresql`.
|
18951
|
-
#
|
18952
18961
|
# For more information about exporting CloudWatch Logs for Amazon
|
18953
18962
|
# Aurora, see [Publishing Database Logs to Amazon CloudWatch Logs][1] in
|
18954
18963
|
# the *Amazon Aurora User Guide*.
|
@@ -19307,13 +19316,9 @@ module Aws::RDS
|
|
19307
19316
|
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
19308
19317
|
#
|
19309
19318
|
# @option params [String] :engine_version
|
19310
|
-
# The version of the database engine to use for the new DB cluster.
|
19311
|
-
#
|
19312
|
-
#
|
19313
|
-
# Aurora, use the following command:
|
19314
|
-
#
|
19315
|
-
# `aws rds describe-db-engine-versions --engine aurora --query
|
19316
|
-
# "DBEngineVersions[].EngineVersion"`
|
19319
|
+
# The version of the database engine to use for the new DB cluster. If
|
19320
|
+
# you don't specify an engine version, the default version for the
|
19321
|
+
# database engine in the Amazon Web Services Region is used.
|
19317
19322
|
#
|
19318
19323
|
# To list all of the available engine versions for MySQL 5.7-compatible
|
19319
19324
|
# and MySQL 8.0-compatible Aurora, use the following command:
|
@@ -19341,8 +19346,8 @@ module Aws::RDS
|
|
19341
19346
|
#
|
19342
19347
|
# **Aurora MySQL**
|
19343
19348
|
#
|
19344
|
-
# See [
|
19345
|
-
# Guide*.
|
19349
|
+
# See [Database engine updates for Amazon Aurora MySQL][1] in the
|
19350
|
+
# *Amazon Aurora User Guide*.
|
19346
19351
|
#
|
19347
19352
|
# **Aurora PostgreSQL**
|
19348
19353
|
#
|
@@ -19351,7 +19356,7 @@ module Aws::RDS
|
|
19351
19356
|
#
|
19352
19357
|
# **MySQL**
|
19353
19358
|
#
|
19354
|
-
# See [
|
19359
|
+
# See [Amazon RDS for MySQL][3] in the *Amazon RDS User Guide.*
|
19355
19360
|
#
|
19356
19361
|
# **PostgreSQL**
|
19357
19362
|
#
|
@@ -21251,6 +21256,7 @@ module Aws::RDS
|
|
21251
21256
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
21252
21257
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
21253
21258
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
21259
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
21254
21260
|
#
|
21255
21261
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot AWS API Documentation
|
21256
21262
|
#
|
@@ -21977,6 +21983,7 @@ module Aws::RDS
|
|
21977
21983
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
21978
21984
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
21979
21985
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
21986
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
21980
21987
|
#
|
21981
21988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 AWS API Documentation
|
21982
21989
|
#
|
@@ -22741,6 +22748,7 @@ module Aws::RDS
|
|
22741
22748
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
22742
22749
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
22743
22750
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
22751
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
22744
22752
|
#
|
22745
22753
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime AWS API Documentation
|
22746
22754
|
#
|
@@ -23259,6 +23267,7 @@ module Aws::RDS
|
|
23259
23267
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
23260
23268
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
23261
23269
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
23270
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
23262
23271
|
#
|
23263
23272
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance AWS API Documentation
|
23264
23273
|
#
|
@@ -23405,8 +23414,8 @@ module Aws::RDS
|
|
23405
23414
|
#
|
23406
23415
|
#
|
23407
23416
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ExportSnapshot.html
|
23408
|
-
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/
|
23409
|
-
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/
|
23417
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-export-snapshot.html
|
23418
|
+
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/export-cluster-data.html
|
23410
23419
|
#
|
23411
23420
|
# @option params [required, String] :export_task_identifier
|
23412
23421
|
# A unique identifier for the export task. This ID isn't an identifier
|
@@ -23424,6 +23433,28 @@ module Aws::RDS
|
|
23424
23433
|
# The name of the IAM role to use for writing to the Amazon S3 bucket
|
23425
23434
|
# when exporting a snapshot or cluster.
|
23426
23435
|
#
|
23436
|
+
# In the IAM policy attached to your IAM role, include the following
|
23437
|
+
# required actions to allow the transfer of files from Amazon RDS or
|
23438
|
+
# Amazon Aurora to an S3 bucket:
|
23439
|
+
#
|
23440
|
+
# * s3:PutObject*
|
23441
|
+
#
|
23442
|
+
# * s3:GetObject*
|
23443
|
+
#
|
23444
|
+
# * s3:ListBucket
|
23445
|
+
#
|
23446
|
+
# * s3:DeleteObject*
|
23447
|
+
#
|
23448
|
+
# * s3:GetBucketLocation
|
23449
|
+
#
|
23450
|
+
# In the policy, include the resources to identify the S3 bucket and
|
23451
|
+
# objects in the bucket. The following list of resources shows the
|
23452
|
+
# Amazon Resource Name (ARN) format for accessing S3:
|
23453
|
+
#
|
23454
|
+
# * `arn:aws:s3:::your-s3-bucket `
|
23455
|
+
#
|
23456
|
+
# * `arn:aws:s3:::your-s3-bucket/*`
|
23457
|
+
#
|
23427
23458
|
# @option params [required, String] :kms_key_id
|
23428
23459
|
# The ID of the Amazon Web Services KMS key to use to encrypt the data
|
23429
23460
|
# exported to Amazon S3. The Amazon Web Services KMS key identifier is
|
@@ -23923,6 +23954,7 @@ module Aws::RDS
|
|
23923
23954
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
23924
23955
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
23925
23956
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
23957
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
23926
23958
|
#
|
23927
23959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance AWS API Documentation
|
23928
23960
|
#
|
@@ -23947,7 +23979,7 @@ module Aws::RDS
|
|
23947
23979
|
#
|
23948
23980
|
# @option params [required, String] :source_db_instance_arn
|
23949
23981
|
# The Amazon Resource Name (ARN) of the source DB instance for which to
|
23950
|
-
# stop replicating
|
23982
|
+
# stop replicating automate backups, for example,
|
23951
23983
|
# `arn:aws:rds:us-west-2:123456789012:db:mydatabase`.
|
23952
23984
|
#
|
23953
23985
|
# @return [Types::StopDBInstanceAutomatedBackupsReplicationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -24250,6 +24282,7 @@ module Aws::RDS
|
|
24250
24282
|
# resp.db_instance.master_user_secret.kms_key_id #=> String
|
24251
24283
|
# resp.db_instance.certificate_details.ca_identifier #=> String
|
24252
24284
|
# resp.db_instance.certificate_details.valid_till #=> Time
|
24285
|
+
# resp.db_instance.read_replica_source_db_cluster_identifier #=> String
|
24253
24286
|
#
|
24254
24287
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverReadReplica AWS API Documentation
|
24255
24288
|
#
|
@@ -24273,7 +24306,7 @@ module Aws::RDS
|
|
24273
24306
|
params: params,
|
24274
24307
|
config: config)
|
24275
24308
|
context[:gem_name] = 'aws-sdk-rds'
|
24276
|
-
context[:gem_version] = '1.
|
24309
|
+
context[:gem_version] = '1.174.0'
|
24277
24310
|
Seahorse::Client::Request.new(handlers, context)
|
24278
24311
|
end
|
24279
24312
|
|