aws-sdk-rds 1.279.0 → 1.281.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +149 -46
- data/lib/aws-sdk-rds/client_api.rb +4 -0
- data/lib/aws-sdk-rds/db_instance.rb +111 -37
- data/lib/aws-sdk-rds/db_snapshot.rb +29 -4
- data/lib/aws-sdk-rds/resource.rb +2 -0
- data/lib/aws-sdk-rds/types.rb +171 -47
- data/lib/aws-sdk-rds.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/db_instance.rbs +1 -0
- data/sig/db_snapshot.rbs +5 -0
- data/sig/types.rbs +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2de5e099dd0ab441476346125785b243699bb08c10ba352485b3c439fbb27c8c
|
4
|
+
data.tar.gz: d6eece531d131e71f07c36ef799e5b84a6c254a25c2f3110d281ce352935c538
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0e822be8d94d9daa25734a6d56a998bfce85e91bddba15a9560d98666e08b88cf2a07bd200a113ee9a54b9e89407db9fb334e0019e3d7a25a79f086d8018534
|
7
|
+
data.tar.gz: 421fa0581b8b9986f5bb9c7ca420bcd8dbc19f9c20e951fb01df1dd59a6418c4b496941a8f87f93cecd45879c64b062e126f408bd58cbd47853abd8dc2cef585
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.281.0 (2025-06-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding support for RDS on Dedicated Local Zones, including local backup target, snapshot availability zone and snapshot target
|
8
|
+
|
9
|
+
1.280.0 (2025-06-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Updates Amazon RDS documentation for Amazon RDS for Db2 cross-Region replicas in standby mode.
|
13
|
+
|
4
14
|
1.279.0 (2025-06-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.281.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -1841,6 +1841,22 @@ module Aws::RDS
|
|
1841
1841
|
# associate with the target DB snapshot. The associated option group can
|
1842
1842
|
# be copied only with cross-account snapshot copy calls.
|
1843
1843
|
#
|
1844
|
+
# @option params [String] :snapshot_availability_zone
|
1845
|
+
# Specifies the name of the Availability Zone where RDS stores the DB
|
1846
|
+
# snapshot. This value is valid only for snapshots that RDS stores on a
|
1847
|
+
# Dedicated Local Zone.
|
1848
|
+
#
|
1849
|
+
# @option params [String] :snapshot_target
|
1850
|
+
# Configures the location where RDS will store copied snapshots.
|
1851
|
+
#
|
1852
|
+
# Valid Values:
|
1853
|
+
#
|
1854
|
+
# * `local` (Dedicated Local Zone)
|
1855
|
+
#
|
1856
|
+
# * `outposts` (Amazon Web Services Outposts)
|
1857
|
+
#
|
1858
|
+
# * `region` (Amazon Web Services Region)
|
1859
|
+
#
|
1844
1860
|
# @option params [String] :source_region
|
1845
1861
|
# The source region of the snapshot. This is only needed when the
|
1846
1862
|
# shapshot is encrypted and in a different region.
|
@@ -1908,6 +1924,8 @@ module Aws::RDS
|
|
1908
1924
|
# option_group_name: "String",
|
1909
1925
|
# target_custom_availability_zone: "String",
|
1910
1926
|
# copy_option_group: false,
|
1927
|
+
# snapshot_availability_zone: "String",
|
1928
|
+
# snapshot_target: "String",
|
1911
1929
|
# source_region: "String",
|
1912
1930
|
# })
|
1913
1931
|
#
|
@@ -1953,6 +1971,7 @@ module Aws::RDS
|
|
1953
1971
|
# resp.db_snapshot.db_system_id #=> String
|
1954
1972
|
# resp.db_snapshot.dedicated_log_volume #=> Boolean
|
1955
1973
|
# resp.db_snapshot.multi_tenant #=> Boolean
|
1974
|
+
# resp.db_snapshot.snapshot_availability_zone #=> String
|
1956
1975
|
#
|
1957
1976
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshot AWS API Documentation
|
1958
1977
|
#
|
@@ -5571,6 +5590,8 @@ module Aws::RDS
|
|
5571
5590
|
#
|
5572
5591
|
# Valid Values:
|
5573
5592
|
#
|
5593
|
+
# * `local` (Dedicated Local Zone)
|
5594
|
+
#
|
5574
5595
|
# * `outposts` (Amazon Web Services Outposts)
|
5575
5596
|
#
|
5576
5597
|
# * `region` (Amazon Web Services Region)
|
@@ -6095,20 +6116,22 @@ module Aws::RDS
|
|
6095
6116
|
|
6096
6117
|
# Creates a new DB instance that acts as a read replica for an existing
|
6097
6118
|
# source DB instance or Multi-AZ DB cluster. You can create a read
|
6098
|
-
# replica for a DB instance running
|
6099
|
-
#
|
6100
|
-
#
|
6101
|
-
#
|
6102
|
-
#
|
6103
|
-
#
|
6119
|
+
# replica for a DB instance running MariaDB, MySQL, Oracle, PostgreSQL,
|
6120
|
+
# or SQL Server. You can create a read replica for a Multi-AZ DB cluster
|
6121
|
+
# running MySQL or PostgreSQL. For more information, see [Working with
|
6122
|
+
# read replicas][1] and [Migrating from a Multi-AZ DB cluster to a DB
|
6123
|
+
# instance using a read replica][2] in the *Amazon RDS User Guide*.
|
6124
|
+
#
|
6125
|
+
# Amazon RDS for Db2 supports this operation for standby replicas. To
|
6126
|
+
# create a standby replica for a DB instance running Db2, you must set
|
6127
|
+
# `ReplicaMode` to `mounted`.
|
6104
6128
|
#
|
6105
6129
|
# Amazon Aurora doesn't support this operation. To create a DB instance
|
6106
6130
|
# for an Aurora DB cluster, use the `CreateDBInstance` operation.
|
6107
6131
|
#
|
6108
|
-
#
|
6109
|
-
#
|
6110
|
-
#
|
6111
|
-
# as specified.
|
6132
|
+
# RDS creates read replicas with backups disabled. All other attributes
|
6133
|
+
# (including DB security groups and DB parameter groups) are inherited
|
6134
|
+
# from the source DB instance or cluster, except as specified.
|
6112
6135
|
#
|
6113
6136
|
# Your source DB instance or cluster must have backup retention enabled.
|
6114
6137
|
#
|
@@ -6124,8 +6147,14 @@ module Aws::RDS
|
|
6124
6147
|
#
|
6125
6148
|
# @option params [String] :source_db_instance_identifier
|
6126
6149
|
# The identifier of the DB instance that will act as the source for the
|
6127
|
-
# read replica. Each DB instance can have up to 15 read replicas,
|
6128
|
-
# the
|
6150
|
+
# read replica. Each DB instance can have up to 15 read replicas, except
|
6151
|
+
# for the following engines:
|
6152
|
+
#
|
6153
|
+
# * Db2 - Can have up to three replicas.
|
6154
|
+
#
|
6155
|
+
# * Oracle - Can have up to five read replicas.
|
6156
|
+
#
|
6157
|
+
# * SQL Server - Can have up to five read replicas.
|
6129
6158
|
#
|
6130
6159
|
# Constraints:
|
6131
6160
|
#
|
@@ -6234,6 +6263,16 @@ module Aws::RDS
|
|
6234
6263
|
# The name of the DB parameter group to associate with this read replica
|
6235
6264
|
# DB instance.
|
6236
6265
|
#
|
6266
|
+
# For the Db2 DB engine, if your source DB instance uses the Bring Your
|
6267
|
+
# Own License model, then a custom parameter group must be associated
|
6268
|
+
# with the replica. For a same Amazon Web Services Region replica, if
|
6269
|
+
# you don't specify a custom parameter group, Amazon RDS associates the
|
6270
|
+
# custom parameter group associated with the source DB instance. For a
|
6271
|
+
# cross-Region replica, you must specify a custom parameter group. This
|
6272
|
+
# custom parameter group must include your IBM Site ID and IBM Customer
|
6273
|
+
# ID. For more information, see [ IBM IDs for Bring Your Own License for
|
6274
|
+
# Db2][1].
|
6275
|
+
#
|
6237
6276
|
# For Single-AZ or Multi-AZ DB instance read replica instances, if you
|
6238
6277
|
# don't specify a value for `DBParameterGroupName`, then Amazon RDS
|
6239
6278
|
# uses the `DBParameterGroup` of the source DB instance for a same
|
@@ -6246,9 +6285,9 @@ module Aws::RDS
|
|
6246
6285
|
#
|
6247
6286
|
# Specifying a parameter group for this operation is only supported for
|
6248
6287
|
# MySQL DB instances for cross-Region read replicas, for Multi-AZ DB
|
6249
|
-
# cluster read replica instances,
|
6250
|
-
# supported for MySQL DB instances for same
|
6251
|
-
# RDS Custom.
|
6288
|
+
# cluster read replica instances, for Db2 DB instances, and for Oracle
|
6289
|
+
# DB instances. It isn't supported for MySQL DB instances for same
|
6290
|
+
# Region read replicas or for RDS Custom.
|
6252
6291
|
#
|
6253
6292
|
# Constraints:
|
6254
6293
|
#
|
@@ -6258,6 +6297,10 @@ module Aws::RDS
|
|
6258
6297
|
#
|
6259
6298
|
# * Can't end with a hyphen or contain two consecutive hyphens.
|
6260
6299
|
#
|
6300
|
+
#
|
6301
|
+
#
|
6302
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html#db2-prereqs-ibm-info
|
6303
|
+
#
|
6261
6304
|
# @option params [Boolean] :publicly_accessible
|
6262
6305
|
# Specifies whether the DB instance is publicly accessible.
|
6263
6306
|
#
|
@@ -6631,31 +6674,50 @@ module Aws::RDS
|
|
6631
6674
|
# Example: `123.124.125.126,234.235.236.237`
|
6632
6675
|
#
|
6633
6676
|
# @option params [String] :replica_mode
|
6634
|
-
# The open mode of the replica database
|
6677
|
+
# The open mode of the replica database.
|
6635
6678
|
#
|
6636
|
-
# <note markdown="1"> This parameter is only supported for
|
6679
|
+
# <note markdown="1"> This parameter is only supported for Db2 DB instances and Oracle DB
|
6680
|
+
# instances.
|
6637
6681
|
#
|
6638
6682
|
# </note>
|
6639
6683
|
#
|
6640
|
-
#
|
6641
|
-
# Edition. The main use case for mounted replicas is cross-Region
|
6642
|
-
# disaster recovery. The primary database doesn't use Active Data Guard
|
6643
|
-
# to transmit information to the mounted replica. Because it doesn't
|
6644
|
-
# accept user connections, a mounted replica can't serve a read-only
|
6645
|
-
# workload.
|
6684
|
+
# Db2
|
6646
6685
|
#
|
6647
|
-
#
|
6648
|
-
#
|
6649
|
-
#
|
6650
|
-
#
|
6686
|
+
# : Standby DB replicas are included in Db2 Advanced Edition (AE) and
|
6687
|
+
# Db2 Standard Edition (SE). The main use case for standby replicas is
|
6688
|
+
# cross-Region disaster recovery. Because it doesn't accept user
|
6689
|
+
# connections, a standby replica can't serve a read-only workload.
|
6651
6690
|
#
|
6652
|
-
#
|
6653
|
-
#
|
6654
|
-
#
|
6691
|
+
# You can create a combination of standby and read-only DB replicas
|
6692
|
+
# for the same primary DB instance. For more information, see [Working
|
6693
|
+
# with read replicas for Amazon RDS for Db2][1] in the *Amazon RDS
|
6694
|
+
# User Guide*.
|
6655
6695
|
#
|
6696
|
+
# To create standby DB replicas for RDS for Db2, set this parameter to
|
6697
|
+
# `mounted`.
|
6656
6698
|
#
|
6699
|
+
# Oracle
|
6657
6700
|
#
|
6658
|
-
#
|
6701
|
+
# : Mounted DB replicas are included in Oracle Database Enterprise
|
6702
|
+
# Edition. The main use case for mounted replicas is cross-Region
|
6703
|
+
# disaster recovery. The primary database doesn't use Active Data
|
6704
|
+
# Guard to transmit information to the mounted replica. Because it
|
6705
|
+
# doesn't accept user connections, a mounted replica can't serve a
|
6706
|
+
# read-only workload.
|
6707
|
+
#
|
6708
|
+
# You can create a combination of mounted and read-only DB replicas
|
6709
|
+
# for the same primary DB instance. For more information, see [Working
|
6710
|
+
# with read replicas for Amazon RDS for Oracle][2] in the *Amazon RDS
|
6711
|
+
# User Guide*.
|
6712
|
+
#
|
6713
|
+
# For RDS Custom, you must specify this parameter and set it to
|
6714
|
+
# `mounted`. The value won't be set by default. After replica
|
6715
|
+
# creation, you can manage the open mode manually.
|
6716
|
+
#
|
6717
|
+
#
|
6718
|
+
#
|
6719
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html
|
6720
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
|
6659
6721
|
#
|
6660
6722
|
# @option params [Integer] :max_allocated_storage
|
6661
6723
|
# The upper limit in gibibytes (GiB) to which Amazon RDS can
|
@@ -6738,6 +6800,15 @@ module Aws::RDS
|
|
6738
6800
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
|
6739
6801
|
# [2]: https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing
|
6740
6802
|
#
|
6803
|
+
# @option params [String] :backup_target
|
6804
|
+
# The location where RDS stores automated backups and manual snapshots.
|
6805
|
+
#
|
6806
|
+
# Valid Values:
|
6807
|
+
#
|
6808
|
+
# * `local` for Dedicated Local Zones
|
6809
|
+
#
|
6810
|
+
# * `region` for Amazon Web Services Region
|
6811
|
+
#
|
6741
6812
|
# @option params [Integer] :allocated_storage
|
6742
6813
|
# The amount of storage (in gibibytes) to allocate initially for the
|
6743
6814
|
# read replica. Follow the allocation rules specified in
|
@@ -6877,6 +6948,7 @@ module Aws::RDS
|
|
6877
6948
|
# network_type: "String",
|
6878
6949
|
# storage_throughput: 1,
|
6879
6950
|
# enable_customer_owned_ip: false,
|
6951
|
+
# backup_target: "String",
|
6880
6952
|
# allocated_storage: 1,
|
6881
6953
|
# source_db_cluster_identifier: "String",
|
6882
6954
|
# dedicated_log_volume: false,
|
@@ -7783,6 +7855,7 @@ module Aws::RDS
|
|
7783
7855
|
# resp.db_snapshot.db_system_id #=> String
|
7784
7856
|
# resp.db_snapshot.dedicated_log_volume #=> Boolean
|
7785
7857
|
# resp.db_snapshot.multi_tenant #=> Boolean
|
7858
|
+
# resp.db_snapshot.snapshot_availability_zone #=> String
|
7786
7859
|
#
|
7787
7860
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshot AWS API Documentation
|
7788
7861
|
#
|
@@ -10474,6 +10547,7 @@ module Aws::RDS
|
|
10474
10547
|
# resp.db_snapshot.db_system_id #=> String
|
10475
10548
|
# resp.db_snapshot.dedicated_log_volume #=> Boolean
|
10476
10549
|
# resp.db_snapshot.multi_tenant #=> Boolean
|
10550
|
+
# resp.db_snapshot.snapshot_availability_zone #=> String
|
10477
10551
|
#
|
10478
10552
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshot AWS API Documentation
|
10479
10553
|
#
|
@@ -15214,6 +15288,7 @@ module Aws::RDS
|
|
15214
15288
|
# resp.db_snapshots[0].db_system_id #=> String
|
15215
15289
|
# resp.db_snapshots[0].dedicated_log_volume #=> Boolean
|
15216
15290
|
# resp.db_snapshots[0].multi_tenant #=> Boolean
|
15291
|
+
# resp.db_snapshots[0].snapshot_availability_zone #=> String
|
15217
15292
|
#
|
15218
15293
|
#
|
15219
15294
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -21283,26 +21358,50 @@ module Aws::RDS
|
|
21283
21358
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html
|
21284
21359
|
#
|
21285
21360
|
# @option params [String] :replica_mode
|
21286
|
-
#
|
21287
|
-
# mounted or read-only.
|
21361
|
+
# The open mode of a replica database.
|
21288
21362
|
#
|
21289
|
-
# <note markdown="1">
|
21363
|
+
# <note markdown="1"> This parameter is only supported for Db2 DB instances and Oracle DB
|
21364
|
+
# instances.
|
21290
21365
|
#
|
21291
21366
|
# </note>
|
21292
21367
|
#
|
21293
|
-
#
|
21294
|
-
# main use case for mounted replicas is cross-Region disaster recovery.
|
21295
|
-
# The primary database doesn't use Active Data Guard to transmit
|
21296
|
-
# information to the mounted replica. Because it doesn't accept user
|
21297
|
-
# connections, a mounted replica can't serve a read-only workload. For
|
21298
|
-
# more information, see [Working with Oracle Read Replicas for Amazon
|
21299
|
-
# RDS][1] in the *Amazon RDS User Guide*.
|
21368
|
+
# Db2
|
21300
21369
|
#
|
21301
|
-
#
|
21370
|
+
# : Standby DB replicas are included in Db2 Advanced Edition (AE) and
|
21371
|
+
# Db2 Standard Edition (SE). The main use case for standby replicas is
|
21372
|
+
# cross-Region disaster recovery. Because it doesn't accept user
|
21373
|
+
# connections, a standby replica can't serve a read-only workload.
|
21374
|
+
#
|
21375
|
+
# You can create a combination of standby and read-only DB replicas
|
21376
|
+
# for the same primary DB instance. For more information, see [Working
|
21377
|
+
# with read replicas for Amazon RDS for Db2][1] in the *Amazon RDS
|
21378
|
+
# User Guide*.
|
21379
|
+
#
|
21380
|
+
# To create standby DB replicas for RDS for Db2, set this parameter to
|
21381
|
+
# `mounted`.
|
21302
21382
|
#
|
21383
|
+
# Oracle
|
21303
21384
|
#
|
21385
|
+
# : Mounted DB replicas are included in Oracle Database Enterprise
|
21386
|
+
# Edition. The main use case for mounted replicas is cross-Region
|
21387
|
+
# disaster recovery. The primary database doesn't use Active Data
|
21388
|
+
# Guard to transmit information to the mounted replica. Because it
|
21389
|
+
# doesn't accept user connections, a mounted replica can't serve a
|
21390
|
+
# read-only workload.
|
21304
21391
|
#
|
21305
|
-
#
|
21392
|
+
# You can create a combination of mounted and read-only DB replicas
|
21393
|
+
# for the same primary DB instance. For more information, see [Working
|
21394
|
+
# with read replicas for Amazon RDS for Oracle][2] in the *Amazon RDS
|
21395
|
+
# User Guide*.
|
21396
|
+
#
|
21397
|
+
# For RDS Custom, you must specify this parameter and set it to
|
21398
|
+
# `mounted`. The value won't be set by default. After replica
|
21399
|
+
# creation, you can manage the open mode manually.
|
21400
|
+
#
|
21401
|
+
#
|
21402
|
+
#
|
21403
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html
|
21404
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
|
21306
21405
|
#
|
21307
21406
|
# @option params [Boolean] :enable_customer_owned_ip
|
21308
21407
|
# Specifies whether to enable a customer-owned IP address (CoIP) for an
|
@@ -22500,6 +22599,7 @@ module Aws::RDS
|
|
22500
22599
|
# resp.db_snapshot.db_system_id #=> String
|
22501
22600
|
# resp.db_snapshot.dedicated_log_volume #=> Boolean
|
22502
22601
|
# resp.db_snapshot.multi_tenant #=> Boolean
|
22602
|
+
# resp.db_snapshot.snapshot_availability_zone #=> String
|
22503
22603
|
#
|
22504
22604
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshot AWS API Documentation
|
22505
22605
|
#
|
@@ -27950,8 +28050,9 @@ module Aws::RDS
|
|
27950
28050
|
# Specifies where automated backups and manual snapshots are stored for
|
27951
28051
|
# the restored DB instance.
|
27952
28052
|
#
|
27953
|
-
# Possible values are `
|
27954
|
-
# `region` (Amazon Web Services Region). The
|
28053
|
+
# Possible values are `local` (Dedicated Local Zone), `outposts` (Amazon
|
28054
|
+
# Web Services Outposts), and `region` (Amazon Web Services Region). The
|
28055
|
+
# default is `region`.
|
27955
28056
|
#
|
27956
28057
|
# For more information, see [Working with Amazon RDS on Amazon Web
|
27957
28058
|
# Services Outposts][1] in the *Amazon RDS User Guide*.
|
@@ -29735,6 +29836,8 @@ module Aws::RDS
|
|
29735
29836
|
#
|
29736
29837
|
# Valid Values:
|
29737
29838
|
#
|
29839
|
+
# * `local` (Dedicated Local Zone)
|
29840
|
+
#
|
29738
29841
|
# * `outposts` (Amazon Web Services Outposts)
|
29739
29842
|
#
|
29740
29843
|
# * `region` (Amazon Web Services Region)
|
@@ -32308,7 +32411,7 @@ module Aws::RDS
|
|
32308
32411
|
tracer: tracer
|
32309
32412
|
)
|
32310
32413
|
context[:gem_name] = 'aws-sdk-rds'
|
32311
|
-
context[:gem_version] = '1.
|
32414
|
+
context[:gem_version] = '1.281.0'
|
32312
32415
|
Seahorse::Client::Request.new(handlers, context)
|
32313
32416
|
end
|
32314
32417
|
|
@@ -987,6 +987,8 @@ module Aws::RDS
|
|
987
987
|
CopyDBSnapshotMessage.add_member(:option_group_name, Shapes::ShapeRef.new(shape: String, location_name: "OptionGroupName"))
|
988
988
|
CopyDBSnapshotMessage.add_member(:target_custom_availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "TargetCustomAvailabilityZone"))
|
989
989
|
CopyDBSnapshotMessage.add_member(:copy_option_group, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyOptionGroup"))
|
990
|
+
CopyDBSnapshotMessage.add_member(:snapshot_availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotAvailabilityZone"))
|
991
|
+
CopyDBSnapshotMessage.add_member(:snapshot_target, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotTarget"))
|
990
992
|
CopyDBSnapshotMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
991
993
|
CopyDBSnapshotMessage.struct_class = Types::CopyDBSnapshotMessage
|
992
994
|
|
@@ -1228,6 +1230,7 @@ module Aws::RDS
|
|
1228
1230
|
CreateDBInstanceReadReplicaMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
1229
1231
|
CreateDBInstanceReadReplicaMessage.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
1230
1232
|
CreateDBInstanceReadReplicaMessage.add_member(:enable_customer_owned_ip, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableCustomerOwnedIp"))
|
1233
|
+
CreateDBInstanceReadReplicaMessage.add_member(:backup_target, Shapes::ShapeRef.new(shape: String, location_name: "BackupTarget"))
|
1231
1234
|
CreateDBInstanceReadReplicaMessage.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "AllocatedStorage"))
|
1232
1235
|
CreateDBInstanceReadReplicaMessage.add_member(:source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBClusterIdentifier"))
|
1233
1236
|
CreateDBInstanceReadReplicaMessage.add_member(:dedicated_log_volume, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DedicatedLogVolume"))
|
@@ -2110,6 +2113,7 @@ module Aws::RDS
|
|
2110
2113
|
DBSnapshot.add_member(:db_system_id, Shapes::ShapeRef.new(shape: String, location_name: "DBSystemId"))
|
2111
2114
|
DBSnapshot.add_member(:dedicated_log_volume, Shapes::ShapeRef.new(shape: Boolean, location_name: "DedicatedLogVolume"))
|
2112
2115
|
DBSnapshot.add_member(:multi_tenant, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "MultiTenant"))
|
2116
|
+
DBSnapshot.add_member(:snapshot_availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotAvailabilityZone"))
|
2113
2117
|
DBSnapshot.struct_class = Types::DBSnapshot
|
2114
2118
|
|
2115
2119
|
DBSnapshotAlreadyExistsFault.struct_class = Types::DBSnapshotAlreadyExistsFault
|
@@ -227,17 +227,20 @@ module Aws::RDS
|
|
227
227
|
data[:read_replica_db_cluster_identifiers]
|
228
228
|
end
|
229
229
|
|
230
|
-
# The open mode of an Oracle read replica. The default is
|
231
|
-
# `open-read-only`. For more information, see [Working with
|
232
|
-
#
|
230
|
+
# The open mode of a Db2 or an Oracle read replica. The default is
|
231
|
+
# `open-read-only`. For more information, see [Working with read
|
232
|
+
# replicas for Amazon RDS for Db2][1] and [Working with read replicas
|
233
|
+
# for Amazon RDS for Oracle][2] in the *Amazon RDS User Guide*.
|
233
234
|
#
|
234
|
-
# <note markdown="1"> This attribute is only supported in RDS for Oracle
|
235
|
+
# <note markdown="1"> This attribute is only supported in RDS for Db2, RDS for Oracle, and
|
236
|
+
# RDS Custom for Oracle.
|
235
237
|
#
|
236
238
|
# </note>
|
237
239
|
#
|
238
240
|
#
|
239
241
|
#
|
240
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
242
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html
|
243
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
|
241
244
|
# @return [String]
|
242
245
|
def replica_mode
|
243
246
|
data[:replica_mode]
|
@@ -694,7 +697,8 @@ module Aws::RDS
|
|
694
697
|
end
|
695
698
|
|
696
699
|
# The location where automated backups and manual snapshots are stored:
|
697
|
-
# Amazon Web Services Outposts or the Amazon Web
|
700
|
+
# Dedicated Local Zones, Amazon Web Services Outposts or the Amazon Web
|
701
|
+
# Services Region.
|
698
702
|
# @return [String]
|
699
703
|
def backup_target
|
700
704
|
data[:backup_target]
|
@@ -2121,6 +2125,8 @@ module Aws::RDS
|
|
2121
2125
|
#
|
2122
2126
|
# Valid Values:
|
2123
2127
|
#
|
2128
|
+
# * `local` (Dedicated Local Zone)
|
2129
|
+
#
|
2124
2130
|
# * `outposts` (Amazon Web Services Outposts)
|
2125
2131
|
#
|
2126
2132
|
# * `region` (Amazon Web Services Region)
|
@@ -2332,6 +2338,7 @@ module Aws::RDS
|
|
2332
2338
|
# network_type: "String",
|
2333
2339
|
# storage_throughput: 1,
|
2334
2340
|
# enable_customer_owned_ip: false,
|
2341
|
+
# backup_target: "String",
|
2335
2342
|
# allocated_storage: 1,
|
2336
2343
|
# source_db_cluster_identifier: "String",
|
2337
2344
|
# dedicated_log_volume: false,
|
@@ -2411,6 +2418,16 @@ module Aws::RDS
|
|
2411
2418
|
# The name of the DB parameter group to associate with this read replica
|
2412
2419
|
# DB instance.
|
2413
2420
|
#
|
2421
|
+
# For the Db2 DB engine, if your source DB instance uses the Bring Your
|
2422
|
+
# Own License model, then a custom parameter group must be associated
|
2423
|
+
# with the replica. For a same Amazon Web Services Region replica, if
|
2424
|
+
# you don't specify a custom parameter group, Amazon RDS associates the
|
2425
|
+
# custom parameter group associated with the source DB instance. For a
|
2426
|
+
# cross-Region replica, you must specify a custom parameter group. This
|
2427
|
+
# custom parameter group must include your IBM Site ID and IBM Customer
|
2428
|
+
# ID. For more information, see [ IBM IDs for Bring Your Own License for
|
2429
|
+
# Db2][1].
|
2430
|
+
#
|
2414
2431
|
# For Single-AZ or Multi-AZ DB instance read replica instances, if you
|
2415
2432
|
# don't specify a value for `DBParameterGroupName`, then Amazon RDS
|
2416
2433
|
# uses the `DBParameterGroup` of the source DB instance for a same
|
@@ -2423,9 +2440,9 @@ module Aws::RDS
|
|
2423
2440
|
#
|
2424
2441
|
# Specifying a parameter group for this operation is only supported for
|
2425
2442
|
# MySQL DB instances for cross-Region read replicas, for Multi-AZ DB
|
2426
|
-
# cluster read replica instances,
|
2427
|
-
# supported for MySQL DB instances for same
|
2428
|
-
# RDS Custom.
|
2443
|
+
# cluster read replica instances, for Db2 DB instances, and for Oracle
|
2444
|
+
# DB instances. It isn't supported for MySQL DB instances for same
|
2445
|
+
# Region read replicas or for RDS Custom.
|
2429
2446
|
#
|
2430
2447
|
# Constraints:
|
2431
2448
|
#
|
@@ -2434,6 +2451,10 @@ module Aws::RDS
|
|
2434
2451
|
# * First character must be a letter.
|
2435
2452
|
#
|
2436
2453
|
# * Can't end with a hyphen or contain two consecutive hyphens.
|
2454
|
+
#
|
2455
|
+
#
|
2456
|
+
#
|
2457
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html#db2-prereqs-ibm-info
|
2437
2458
|
# @option options [Boolean] :publicly_accessible
|
2438
2459
|
# Specifies whether the DB instance is publicly accessible.
|
2439
2460
|
#
|
@@ -2782,31 +2803,50 @@ module Aws::RDS
|
|
2782
2803
|
#
|
2783
2804
|
# Example: `123.124.125.126,234.235.236.237`
|
2784
2805
|
# @option options [String] :replica_mode
|
2785
|
-
# The open mode of the replica database
|
2806
|
+
# The open mode of the replica database.
|
2786
2807
|
#
|
2787
|
-
# <note markdown="1"> This parameter is only supported for
|
2808
|
+
# <note markdown="1"> This parameter is only supported for Db2 DB instances and Oracle DB
|
2809
|
+
# instances.
|
2788
2810
|
#
|
2789
2811
|
# </note>
|
2790
2812
|
#
|
2791
|
-
#
|
2792
|
-
# Edition. The main use case for mounted replicas is cross-Region
|
2793
|
-
# disaster recovery. The primary database doesn't use Active Data Guard
|
2794
|
-
# to transmit information to the mounted replica. Because it doesn't
|
2795
|
-
# accept user connections, a mounted replica can't serve a read-only
|
2796
|
-
# workload.
|
2813
|
+
# Db2
|
2797
2814
|
#
|
2798
|
-
#
|
2799
|
-
#
|
2800
|
-
#
|
2801
|
-
#
|
2815
|
+
# : Standby DB replicas are included in Db2 Advanced Edition (AE) and
|
2816
|
+
# Db2 Standard Edition (SE). The main use case for standby replicas is
|
2817
|
+
# cross-Region disaster recovery. Because it doesn't accept user
|
2818
|
+
# connections, a standby replica can't serve a read-only workload.
|
2819
|
+
#
|
2820
|
+
# You can create a combination of standby and read-only DB replicas
|
2821
|
+
# for the same primary DB instance. For more information, see [Working
|
2822
|
+
# with read replicas for Amazon RDS for Db2][1] in the *Amazon RDS
|
2823
|
+
# User Guide*.
|
2824
|
+
#
|
2825
|
+
# To create standby DB replicas for RDS for Db2, set this parameter to
|
2826
|
+
# `mounted`.
|
2827
|
+
#
|
2828
|
+
# Oracle
|
2802
2829
|
#
|
2803
|
-
#
|
2804
|
-
#
|
2805
|
-
#
|
2830
|
+
# : Mounted DB replicas are included in Oracle Database Enterprise
|
2831
|
+
# Edition. The main use case for mounted replicas is cross-Region
|
2832
|
+
# disaster recovery. The primary database doesn't use Active Data
|
2833
|
+
# Guard to transmit information to the mounted replica. Because it
|
2834
|
+
# doesn't accept user connections, a mounted replica can't serve a
|
2835
|
+
# read-only workload.
|
2806
2836
|
#
|
2837
|
+
# You can create a combination of mounted and read-only DB replicas
|
2838
|
+
# for the same primary DB instance. For more information, see [Working
|
2839
|
+
# with read replicas for Amazon RDS for Oracle][2] in the *Amazon RDS
|
2840
|
+
# User Guide*.
|
2807
2841
|
#
|
2842
|
+
# For RDS Custom, you must specify this parameter and set it to
|
2843
|
+
# `mounted`. The value won't be set by default. After replica
|
2844
|
+
# creation, you can manage the open mode manually.
|
2808
2845
|
#
|
2809
|
-
#
|
2846
|
+
#
|
2847
|
+
#
|
2848
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html
|
2849
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
|
2810
2850
|
# @option options [Integer] :max_allocated_storage
|
2811
2851
|
# The upper limit in gibibytes (GiB) to which Amazon RDS can
|
2812
2852
|
# automatically scale the storage of the DB instance.
|
@@ -2883,6 +2923,14 @@ module Aws::RDS
|
|
2883
2923
|
#
|
2884
2924
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
|
2885
2925
|
# [2]: https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing
|
2926
|
+
# @option options [String] :backup_target
|
2927
|
+
# The location where RDS stores automated backups and manual snapshots.
|
2928
|
+
#
|
2929
|
+
# Valid Values:
|
2930
|
+
#
|
2931
|
+
# * `local` for Dedicated Local Zones
|
2932
|
+
#
|
2933
|
+
# * `region` for Amazon Web Services Region
|
2886
2934
|
# @option options [Integer] :allocated_storage
|
2887
2935
|
# The amount of storage (in gibibytes) to allocate initially for the
|
2888
2936
|
# read replica. Follow the allocation rules specified in
|
@@ -3986,26 +4034,50 @@ module Aws::RDS
|
|
3986
4034
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html
|
3987
4035
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html
|
3988
4036
|
# @option options [String] :replica_mode
|
3989
|
-
#
|
3990
|
-
# mounted or read-only.
|
4037
|
+
# The open mode of a replica database.
|
3991
4038
|
#
|
3992
|
-
# <note markdown="1">
|
4039
|
+
# <note markdown="1"> This parameter is only supported for Db2 DB instances and Oracle DB
|
4040
|
+
# instances.
|
3993
4041
|
#
|
3994
4042
|
# </note>
|
3995
4043
|
#
|
3996
|
-
#
|
3997
|
-
# main use case for mounted replicas is cross-Region disaster recovery.
|
3998
|
-
# The primary database doesn't use Active Data Guard to transmit
|
3999
|
-
# information to the mounted replica. Because it doesn't accept user
|
4000
|
-
# connections, a mounted replica can't serve a read-only workload. For
|
4001
|
-
# more information, see [Working with Oracle Read Replicas for Amazon
|
4002
|
-
# RDS][1] in the *Amazon RDS User Guide*.
|
4044
|
+
# Db2
|
4003
4045
|
#
|
4004
|
-
#
|
4046
|
+
# : Standby DB replicas are included in Db2 Advanced Edition (AE) and
|
4047
|
+
# Db2 Standard Edition (SE). The main use case for standby replicas is
|
4048
|
+
# cross-Region disaster recovery. Because it doesn't accept user
|
4049
|
+
# connections, a standby replica can't serve a read-only workload.
|
4050
|
+
#
|
4051
|
+
# You can create a combination of standby and read-only DB replicas
|
4052
|
+
# for the same primary DB instance. For more information, see [Working
|
4053
|
+
# with read replicas for Amazon RDS for Db2][1] in the *Amazon RDS
|
4054
|
+
# User Guide*.
|
4005
4055
|
#
|
4056
|
+
# To create standby DB replicas for RDS for Db2, set this parameter to
|
4057
|
+
# `mounted`.
|
4006
4058
|
#
|
4059
|
+
# Oracle
|
4007
4060
|
#
|
4008
|
-
#
|
4061
|
+
# : Mounted DB replicas are included in Oracle Database Enterprise
|
4062
|
+
# Edition. The main use case for mounted replicas is cross-Region
|
4063
|
+
# disaster recovery. The primary database doesn't use Active Data
|
4064
|
+
# Guard to transmit information to the mounted replica. Because it
|
4065
|
+
# doesn't accept user connections, a mounted replica can't serve a
|
4066
|
+
# read-only workload.
|
4067
|
+
#
|
4068
|
+
# You can create a combination of mounted and read-only DB replicas
|
4069
|
+
# for the same primary DB instance. For more information, see [Working
|
4070
|
+
# with read replicas for Amazon RDS for Oracle][2] in the *Amazon RDS
|
4071
|
+
# User Guide*.
|
4072
|
+
#
|
4073
|
+
# For RDS Custom, you must specify this parameter and set it to
|
4074
|
+
# `mounted`. The value won't be set by default. After replica
|
4075
|
+
# creation, you can manage the open mode manually.
|
4076
|
+
#
|
4077
|
+
#
|
4078
|
+
#
|
4079
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html
|
4080
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
|
4009
4081
|
# @option options [Boolean] :enable_customer_owned_ip
|
4010
4082
|
# Specifies whether to enable a customer-owned IP address (CoIP) for an
|
4011
4083
|
# RDS on Outposts DB instance.
|
@@ -4817,6 +4889,8 @@ module Aws::RDS
|
|
4817
4889
|
#
|
4818
4890
|
# Valid Values:
|
4819
4891
|
#
|
4892
|
+
# * `local` (Dedicated Local Zone)
|
4893
|
+
#
|
4820
4894
|
# * `outposts` (Amazon Web Services Outposts)
|
4821
4895
|
#
|
4822
4896
|
# * `region` (Amazon Web Services Region)
|
@@ -256,8 +256,8 @@ module Aws::RDS
|
|
256
256
|
data[:snapshot_database_time]
|
257
257
|
end
|
258
258
|
|
259
|
-
# Specifies where manual snapshots are stored:
|
260
|
-
# Outposts or the Amazon Web Services Region.
|
259
|
+
# Specifies where manual snapshots are stored: Dedicated Local Zones,
|
260
|
+
# Amazon Web Services Outposts or the Amazon Web Services Region.
|
261
261
|
# @return [String]
|
262
262
|
def snapshot_target
|
263
263
|
data[:snapshot_target]
|
@@ -292,6 +292,14 @@ module Aws::RDS
|
|
292
292
|
data[:multi_tenant]
|
293
293
|
end
|
294
294
|
|
295
|
+
# Specifies the name of the Availability Zone where RDS stores the DB
|
296
|
+
# snapshot. This value is valid only for snapshots that RDS stores on a
|
297
|
+
# Dedicated Local Zone.
|
298
|
+
# @return [String]
|
299
|
+
def snapshot_availability_zone
|
300
|
+
data[:snapshot_availability_zone]
|
301
|
+
end
|
302
|
+
|
295
303
|
# @!endgroup
|
296
304
|
|
297
305
|
# @return [Client]
|
@@ -485,6 +493,8 @@ module Aws::RDS
|
|
485
493
|
# option_group_name: "String",
|
486
494
|
# target_custom_availability_zone: "String",
|
487
495
|
# copy_option_group: false,
|
496
|
+
# snapshot_availability_zone: "String",
|
497
|
+
# snapshot_target: "String",
|
488
498
|
# source_region: "String",
|
489
499
|
# })
|
490
500
|
# @param [Hash] options ({})
|
@@ -631,6 +641,20 @@ module Aws::RDS
|
|
631
641
|
# source DB snapshot to the target Amazon Web Services account and
|
632
642
|
# associate with the target DB snapshot. The associated option group can
|
633
643
|
# be copied only with cross-account snapshot copy calls.
|
644
|
+
# @option options [String] :snapshot_availability_zone
|
645
|
+
# Specifies the name of the Availability Zone where RDS stores the DB
|
646
|
+
# snapshot. This value is valid only for snapshots that RDS stores on a
|
647
|
+
# Dedicated Local Zone.
|
648
|
+
# @option options [String] :snapshot_target
|
649
|
+
# Configures the location where RDS will store copied snapshots.
|
650
|
+
#
|
651
|
+
# Valid Values:
|
652
|
+
#
|
653
|
+
# * `local` (Dedicated Local Zone)
|
654
|
+
#
|
655
|
+
# * `outposts` (Amazon Web Services Outposts)
|
656
|
+
#
|
657
|
+
# * `region` (Amazon Web Services Region)
|
634
658
|
# @option options [String] :source_region
|
635
659
|
# The source region of the snapshot. This is only needed when the
|
636
660
|
# shapshot is encrypted and in a different region.
|
@@ -1139,8 +1163,9 @@ module Aws::RDS
|
|
1139
1163
|
# Specifies where automated backups and manual snapshots are stored for
|
1140
1164
|
# the restored DB instance.
|
1141
1165
|
#
|
1142
|
-
# Possible values are `
|
1143
|
-
# `region` (Amazon Web Services Region). The
|
1166
|
+
# Possible values are `local` (Dedicated Local Zone), `outposts` (Amazon
|
1167
|
+
# Web Services Outposts), and `region` (Amazon Web Services Region). The
|
1168
|
+
# default is `region`.
|
1144
1169
|
#
|
1145
1170
|
# For more information, see [Working with Amazon RDS on Amazon Web
|
1146
1171
|
# Services Outposts][1] in the *Amazon RDS User Guide*.
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -1097,6 +1097,13 @@ module Aws::RDS
|
|
1097
1097
|
# For example: `SET variable1=value1, variable2=value2`
|
1098
1098
|
#
|
1099
1099
|
# Default: no initialization query
|
1100
|
+
#
|
1101
|
+
# Since you can access initialization query as part of target group
|
1102
|
+
# configuration, it is not protected by authentication or
|
1103
|
+
# cryptographic methods. Anyone with access to view or manage your
|
1104
|
+
# proxy target group configuration can view the initialization query.
|
1105
|
+
# You should not add sensitive data, such as passwords or long-lived
|
1106
|
+
# encryption keys, to this option.
|
1100
1107
|
# @return [String]
|
1101
1108
|
#
|
1102
1109
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ConnectionPoolConfiguration AWS API Documentation
|
@@ -1157,6 +1164,13 @@ module Aws::RDS
|
|
1157
1164
|
# optional field.
|
1158
1165
|
#
|
1159
1166
|
# For example: `SET variable1=value1, variable2=value2`
|
1167
|
+
#
|
1168
|
+
# Since you can access initialization query as part of target group
|
1169
|
+
# configuration, it is not protected by authentication or
|
1170
|
+
# cryptographic methods. Anyone with access to view or manage your
|
1171
|
+
# proxy target group configuration can view the initialization query.
|
1172
|
+
# You should not add sensitive data, such as passwords or long-lived
|
1173
|
+
# encryption keys, to this option.
|
1160
1174
|
# @return [String]
|
1161
1175
|
#
|
1162
1176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ConnectionPoolConfigurationInfo AWS API Documentation
|
@@ -1711,6 +1725,24 @@ module Aws::RDS
|
|
1711
1725
|
# can be copied only with cross-account snapshot copy calls.
|
1712
1726
|
# @return [Boolean]
|
1713
1727
|
#
|
1728
|
+
# @!attribute [rw] snapshot_availability_zone
|
1729
|
+
# Specifies the name of the Availability Zone where RDS stores the DB
|
1730
|
+
# snapshot. This value is valid only for snapshots that RDS stores on
|
1731
|
+
# a Dedicated Local Zone.
|
1732
|
+
# @return [String]
|
1733
|
+
#
|
1734
|
+
# @!attribute [rw] snapshot_target
|
1735
|
+
# Configures the location where RDS will store copied snapshots.
|
1736
|
+
#
|
1737
|
+
# Valid Values:
|
1738
|
+
#
|
1739
|
+
# * `local` (Dedicated Local Zone)
|
1740
|
+
#
|
1741
|
+
# * `outposts` (Amazon Web Services Outposts)
|
1742
|
+
#
|
1743
|
+
# * `region` (Amazon Web Services Region)
|
1744
|
+
# @return [String]
|
1745
|
+
#
|
1714
1746
|
# @!attribute [rw] source_region
|
1715
1747
|
# The source region of the snapshot. This is only needed when the
|
1716
1748
|
# shapshot is encrypted and in a different region.
|
@@ -1728,6 +1760,8 @@ module Aws::RDS
|
|
1728
1760
|
:option_group_name,
|
1729
1761
|
:target_custom_availability_zone,
|
1730
1762
|
:copy_option_group,
|
1763
|
+
:snapshot_availability_zone,
|
1764
|
+
:snapshot_target,
|
1731
1765
|
:source_region)
|
1732
1766
|
SENSITIVE = []
|
1733
1767
|
include Aws::Structure
|
@@ -4634,6 +4668,8 @@ module Aws::RDS
|
|
4634
4668
|
#
|
4635
4669
|
# Valid Values:
|
4636
4670
|
#
|
4671
|
+
# * `local` (Dedicated Local Zone)
|
4672
|
+
#
|
4637
4673
|
# * `outposts` (Amazon Web Services Outposts)
|
4638
4674
|
#
|
4639
4675
|
# * `region` (Amazon Web Services Region)
|
@@ -4880,8 +4916,13 @@ module Aws::RDS
|
|
4880
4916
|
# @!attribute [rw] source_db_instance_identifier
|
4881
4917
|
# The identifier of the DB instance that will act as the source for
|
4882
4918
|
# the read replica. Each DB instance can have up to 15 read replicas,
|
4883
|
-
#
|
4884
|
-
#
|
4919
|
+
# except for the following engines:
|
4920
|
+
#
|
4921
|
+
# * Db2 - Can have up to three replicas.
|
4922
|
+
#
|
4923
|
+
# * Oracle - Can have up to five read replicas.
|
4924
|
+
#
|
4925
|
+
# * SQL Server - Can have up to five read replicas.
|
4885
4926
|
#
|
4886
4927
|
# Constraints:
|
4887
4928
|
#
|
@@ -4999,6 +5040,16 @@ module Aws::RDS
|
|
4999
5040
|
# The name of the DB parameter group to associate with this read
|
5000
5041
|
# replica DB instance.
|
5001
5042
|
#
|
5043
|
+
# For the Db2 DB engine, if your source DB instance uses the Bring
|
5044
|
+
# Your Own License model, then a custom parameter group must be
|
5045
|
+
# associated with the replica. For a same Amazon Web Services Region
|
5046
|
+
# replica, if you don't specify a custom parameter group, Amazon RDS
|
5047
|
+
# associates the custom parameter group associated with the source DB
|
5048
|
+
# instance. For a cross-Region replica, you must specify a custom
|
5049
|
+
# parameter group. This custom parameter group must include your IBM
|
5050
|
+
# Site ID and IBM Customer ID. For more information, see [ IBM IDs for
|
5051
|
+
# Bring Your Own License for Db2][1].
|
5052
|
+
#
|
5002
5053
|
# For Single-AZ or Multi-AZ DB instance read replica instances, if you
|
5003
5054
|
# don't specify a value for `DBParameterGroupName`, then Amazon RDS
|
5004
5055
|
# uses the `DBParameterGroup` of the source DB instance for a same
|
@@ -5011,9 +5062,9 @@ module Aws::RDS
|
|
5011
5062
|
#
|
5012
5063
|
# Specifying a parameter group for this operation is only supported
|
5013
5064
|
# for MySQL DB instances for cross-Region read replicas, for Multi-AZ
|
5014
|
-
# DB cluster read replica instances,
|
5015
|
-
# isn't supported for MySQL DB instances for
|
5016
|
-
# replicas or for RDS Custom.
|
5065
|
+
# DB cluster read replica instances, for Db2 DB instances, and for
|
5066
|
+
# Oracle DB instances. It isn't supported for MySQL DB instances for
|
5067
|
+
# same Region read replicas or for RDS Custom.
|
5017
5068
|
#
|
5018
5069
|
# Constraints:
|
5019
5070
|
#
|
@@ -5022,6 +5073,10 @@ module Aws::RDS
|
|
5022
5073
|
# * First character must be a letter.
|
5023
5074
|
#
|
5024
5075
|
# * Can't end with a hyphen or contain two consecutive hyphens.
|
5076
|
+
#
|
5077
|
+
#
|
5078
|
+
#
|
5079
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html#db2-prereqs-ibm-info
|
5025
5080
|
# @return [String]
|
5026
5081
|
#
|
5027
5082
|
# @!attribute [rw] publicly_accessible
|
@@ -5431,31 +5486,50 @@ module Aws::RDS
|
|
5431
5486
|
# @return [Array<String>]
|
5432
5487
|
#
|
5433
5488
|
# @!attribute [rw] replica_mode
|
5434
|
-
# The open mode of the replica database
|
5489
|
+
# The open mode of the replica database.
|
5435
5490
|
#
|
5436
|
-
# <note markdown="1"> This parameter is only supported for
|
5491
|
+
# <note markdown="1"> This parameter is only supported for Db2 DB instances and Oracle DB
|
5492
|
+
# instances.
|
5437
5493
|
#
|
5438
5494
|
# </note>
|
5439
5495
|
#
|
5440
|
-
#
|
5441
|
-
# Edition. The main use case for mounted replicas is cross-Region
|
5442
|
-
# disaster recovery. The primary database doesn't use Active Data
|
5443
|
-
# Guard to transmit information to the mounted replica. Because it
|
5444
|
-
# doesn't accept user connections, a mounted replica can't serve a
|
5445
|
-
# read-only workload.
|
5496
|
+
# Db2
|
5446
5497
|
#
|
5447
|
-
#
|
5448
|
-
#
|
5449
|
-
#
|
5450
|
-
#
|
5498
|
+
# : Standby DB replicas are included in Db2 Advanced Edition (AE) and
|
5499
|
+
# Db2 Standard Edition (SE). The main use case for standby replicas
|
5500
|
+
# is cross-Region disaster recovery. Because it doesn't accept user
|
5501
|
+
# connections, a standby replica can't serve a read-only workload.
|
5502
|
+
#
|
5503
|
+
# You can create a combination of standby and read-only DB replicas
|
5504
|
+
# for the same primary DB instance. For more information, see
|
5505
|
+
# [Working with read replicas for Amazon RDS for Db2][1] in the
|
5506
|
+
# *Amazon RDS User Guide*.
|
5507
|
+
#
|
5508
|
+
# To create standby DB replicas for RDS for Db2, set this parameter
|
5509
|
+
# to `mounted`.
|
5510
|
+
#
|
5511
|
+
# Oracle
|
5451
5512
|
#
|
5452
|
-
#
|
5453
|
-
#
|
5454
|
-
#
|
5513
|
+
# : Mounted DB replicas are included in Oracle Database Enterprise
|
5514
|
+
# Edition. The main use case for mounted replicas is cross-Region
|
5515
|
+
# disaster recovery. The primary database doesn't use Active Data
|
5516
|
+
# Guard to transmit information to the mounted replica. Because it
|
5517
|
+
# doesn't accept user connections, a mounted replica can't serve a
|
5518
|
+
# read-only workload.
|
5455
5519
|
#
|
5520
|
+
# You can create a combination of mounted and read-only DB replicas
|
5521
|
+
# for the same primary DB instance. For more information, see
|
5522
|
+
# [Working with read replicas for Amazon RDS for Oracle][2] in the
|
5523
|
+
# *Amazon RDS User Guide*.
|
5524
|
+
#
|
5525
|
+
# For RDS Custom, you must specify this parameter and set it to
|
5526
|
+
# `mounted`. The value won't be set by default. After replica
|
5527
|
+
# creation, you can manage the open mode manually.
|
5456
5528
|
#
|
5457
5529
|
#
|
5458
|
-
#
|
5530
|
+
#
|
5531
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html
|
5532
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
|
5459
5533
|
# @return [String]
|
5460
5534
|
#
|
5461
5535
|
# @!attribute [rw] max_allocated_storage
|
@@ -5545,6 +5619,17 @@ module Aws::RDS
|
|
5545
5619
|
# [2]: https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing
|
5546
5620
|
# @return [Boolean]
|
5547
5621
|
#
|
5622
|
+
# @!attribute [rw] backup_target
|
5623
|
+
# The location where RDS stores automated backups and manual
|
5624
|
+
# snapshots.
|
5625
|
+
#
|
5626
|
+
# Valid Values:
|
5627
|
+
#
|
5628
|
+
# * `local` for Dedicated Local Zones
|
5629
|
+
#
|
5630
|
+
# * `region` for Amazon Web Services Region
|
5631
|
+
# @return [String]
|
5632
|
+
#
|
5548
5633
|
# @!attribute [rw] allocated_storage
|
5549
5634
|
# The amount of storage (in gibibytes) to allocate initially for the
|
5550
5635
|
# read replica. Follow the allocation rules specified in
|
@@ -5656,6 +5741,7 @@ module Aws::RDS
|
|
5656
5741
|
:network_type,
|
5657
5742
|
:storage_throughput,
|
5658
5743
|
:enable_customer_owned_ip,
|
5744
|
+
:backup_target,
|
5659
5745
|
:allocated_storage,
|
5660
5746
|
:source_db_cluster_identifier,
|
5661
5747
|
:dedicated_log_volume,
|
@@ -9011,17 +9097,20 @@ module Aws::RDS
|
|
9011
9097
|
# @return [Array<String>]
|
9012
9098
|
#
|
9013
9099
|
# @!attribute [rw] replica_mode
|
9014
|
-
# The open mode of an Oracle read replica. The default is
|
9015
|
-
# `open-read-only`. For more information, see [Working with
|
9016
|
-
#
|
9100
|
+
# The open mode of a Db2 or an Oracle read replica. The default is
|
9101
|
+
# `open-read-only`. For more information, see [Working with read
|
9102
|
+
# replicas for Amazon RDS for Db2][1] and [Working with read replicas
|
9103
|
+
# for Amazon RDS for Oracle][2] in the *Amazon RDS User Guide*.
|
9017
9104
|
#
|
9018
|
-
# <note markdown="1"> This attribute is only supported in RDS for Oracle
|
9105
|
+
# <note markdown="1"> This attribute is only supported in RDS for Db2, RDS for Oracle, and
|
9106
|
+
# RDS Custom for Oracle.
|
9019
9107
|
#
|
9020
9108
|
# </note>
|
9021
9109
|
#
|
9022
9110
|
#
|
9023
9111
|
#
|
9024
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
9112
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html
|
9113
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
|
9025
9114
|
# @return [String]
|
9026
9115
|
#
|
9027
9116
|
# @!attribute [rw] license_model
|
@@ -9383,8 +9472,8 @@ module Aws::RDS
|
|
9383
9472
|
#
|
9384
9473
|
# @!attribute [rw] backup_target
|
9385
9474
|
# The location where automated backups and manual snapshots are
|
9386
|
-
# stored: Amazon Web Services Outposts or the
|
9387
|
-
# Region.
|
9475
|
+
# stored: Dedicated Local Zones, Amazon Web Services Outposts or the
|
9476
|
+
# Amazon Web Services Region.
|
9388
9477
|
# @return [String]
|
9389
9478
|
#
|
9390
9479
|
# @!attribute [rw] network_type
|
@@ -9714,8 +9803,9 @@ module Aws::RDS
|
|
9714
9803
|
# @return [Array<Types::DBInstanceAutomatedBackupsReplication>]
|
9715
9804
|
#
|
9716
9805
|
# @!attribute [rw] backup_target
|
9717
|
-
# The location where automated backups are stored:
|
9718
|
-
# Outposts or the Amazon Web Services
|
9806
|
+
# The location where automated backups are stored: Dedicated Local
|
9807
|
+
# Zones, Amazon Web Services Outposts or the Amazon Web Services
|
9808
|
+
# Region.
|
9719
9809
|
# @return [String]
|
9720
9810
|
#
|
9721
9811
|
# @!attribute [rw] storage_throughput
|
@@ -11143,8 +11233,8 @@ module Aws::RDS
|
|
11143
11233
|
# @return [Time]
|
11144
11234
|
#
|
11145
11235
|
# @!attribute [rw] snapshot_target
|
11146
|
-
# Specifies where manual snapshots are stored:
|
11147
|
-
# Outposts or the Amazon Web Services Region.
|
11236
|
+
# Specifies where manual snapshots are stored: Dedicated Local Zones,
|
11237
|
+
# Amazon Web Services Outposts or the Amazon Web Services Region.
|
11148
11238
|
# @return [String]
|
11149
11239
|
#
|
11150
11240
|
# @!attribute [rw] storage_throughput
|
@@ -11168,6 +11258,12 @@ module Aws::RDS
|
|
11168
11258
|
# (FALSE).
|
11169
11259
|
# @return [Boolean]
|
11170
11260
|
#
|
11261
|
+
# @!attribute [rw] snapshot_availability_zone
|
11262
|
+
# Specifies the name of the Availability Zone where RDS stores the DB
|
11263
|
+
# snapshot. This value is valid only for snapshots that RDS stores on
|
11264
|
+
# a Dedicated Local Zone.
|
11265
|
+
# @return [String]
|
11266
|
+
#
|
11171
11267
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshot AWS API Documentation
|
11172
11268
|
#
|
11173
11269
|
class DBSnapshot < Struct.new(
|
@@ -11206,7 +11302,8 @@ module Aws::RDS
|
|
11206
11302
|
:storage_throughput,
|
11207
11303
|
:db_system_id,
|
11208
11304
|
:dedicated_log_volume,
|
11209
|
-
:multi_tenant
|
11305
|
+
:multi_tenant,
|
11306
|
+
:snapshot_availability_zone)
|
11210
11307
|
SENSITIVE = []
|
11211
11308
|
include Aws::Structure
|
11212
11309
|
end
|
@@ -19475,26 +19572,50 @@ module Aws::RDS
|
|
19475
19572
|
# @return [Boolean]
|
19476
19573
|
#
|
19477
19574
|
# @!attribute [rw] replica_mode
|
19478
|
-
#
|
19479
|
-
# mounted or read-only.
|
19575
|
+
# The open mode of a replica database.
|
19480
19576
|
#
|
19481
|
-
# <note markdown="1">
|
19577
|
+
# <note markdown="1"> This parameter is only supported for Db2 DB instances and Oracle DB
|
19578
|
+
# instances.
|
19482
19579
|
#
|
19483
19580
|
# </note>
|
19484
19581
|
#
|
19485
|
-
#
|
19486
|
-
# main use case for mounted replicas is cross-Region disaster
|
19487
|
-
# recovery. The primary database doesn't use Active Data Guard to
|
19488
|
-
# transmit information to the mounted replica. Because it doesn't
|
19489
|
-
# accept user connections, a mounted replica can't serve a read-only
|
19490
|
-
# workload. For more information, see [Working with Oracle Read
|
19491
|
-
# Replicas for Amazon RDS][1] in the *Amazon RDS User Guide*.
|
19582
|
+
# Db2
|
19492
19583
|
#
|
19493
|
-
#
|
19584
|
+
# : Standby DB replicas are included in Db2 Advanced Edition (AE) and
|
19585
|
+
# Db2 Standard Edition (SE). The main use case for standby replicas
|
19586
|
+
# is cross-Region disaster recovery. Because it doesn't accept user
|
19587
|
+
# connections, a standby replica can't serve a read-only workload.
|
19588
|
+
#
|
19589
|
+
# You can create a combination of standby and read-only DB replicas
|
19590
|
+
# for the same primary DB instance. For more information, see
|
19591
|
+
# [Working with read replicas for Amazon RDS for Db2][1] in the
|
19592
|
+
# *Amazon RDS User Guide*.
|
19494
19593
|
#
|
19594
|
+
# To create standby DB replicas for RDS for Db2, set this parameter
|
19595
|
+
# to `mounted`.
|
19495
19596
|
#
|
19597
|
+
# Oracle
|
19496
19598
|
#
|
19497
|
-
#
|
19599
|
+
# : Mounted DB replicas are included in Oracle Database Enterprise
|
19600
|
+
# Edition. The main use case for mounted replicas is cross-Region
|
19601
|
+
# disaster recovery. The primary database doesn't use Active Data
|
19602
|
+
# Guard to transmit information to the mounted replica. Because it
|
19603
|
+
# doesn't accept user connections, a mounted replica can't serve a
|
19604
|
+
# read-only workload.
|
19605
|
+
#
|
19606
|
+
# You can create a combination of mounted and read-only DB replicas
|
19607
|
+
# for the same primary DB instance. For more information, see
|
19608
|
+
# [Working with read replicas for Amazon RDS for Oracle][2] in the
|
19609
|
+
# *Amazon RDS User Guide*.
|
19610
|
+
#
|
19611
|
+
# For RDS Custom, you must specify this parameter and set it to
|
19612
|
+
# `mounted`. The value won't be set by default. After replica
|
19613
|
+
# creation, you can manage the open mode manually.
|
19614
|
+
#
|
19615
|
+
#
|
19616
|
+
#
|
19617
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html
|
19618
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html
|
19498
19619
|
# @return [String]
|
19499
19620
|
#
|
19500
19621
|
# @!attribute [rw] enable_customer_owned_ip
|
@@ -25372,8 +25493,9 @@ module Aws::RDS
|
|
25372
25493
|
# Specifies where automated backups and manual snapshots are stored
|
25373
25494
|
# for the restored DB instance.
|
25374
25495
|
#
|
25375
|
-
# Possible values are `
|
25376
|
-
#
|
25496
|
+
# Possible values are `local` (Dedicated Local Zone), `outposts`
|
25497
|
+
# (Amazon Web Services Outposts), and `region` (Amazon Web Services
|
25498
|
+
# Region). The default is `region`.
|
25377
25499
|
#
|
25378
25500
|
# For more information, see [Working with Amazon RDS on Amazon Web
|
25379
25501
|
# Services Outposts][1] in the *Amazon RDS User Guide*.
|
@@ -26873,6 +26995,8 @@ module Aws::RDS
|
|
26873
26995
|
#
|
26874
26996
|
# Valid Values:
|
26875
26997
|
#
|
26998
|
+
# * `local` (Dedicated Local Zone)
|
26999
|
+
#
|
26876
27000
|
# * `outposts` (Amazon Web Services Outposts)
|
26877
27001
|
#
|
26878
27002
|
# * `region` (Amazon Web Services Region)
|
data/lib/aws-sdk-rds.rb
CHANGED
@@ -80,7 +80,7 @@ module Aws::RDS
|
|
80
80
|
autoload :ReservedDBInstancesOffering, 'aws-sdk-rds/reserved_db_instances_offering'
|
81
81
|
autoload :ResourcePendingMaintenanceActionList, 'aws-sdk-rds/resource_pending_maintenance_action_list'
|
82
82
|
|
83
|
-
GEM_VERSION = '1.
|
83
|
+
GEM_VERSION = '1.281.0'
|
84
84
|
|
85
85
|
end
|
86
86
|
|
data/sig/client.rbs
CHANGED
@@ -262,6 +262,8 @@ module Aws
|
|
262
262
|
?option_group_name: ::String,
|
263
263
|
?target_custom_availability_zone: ::String,
|
264
264
|
?copy_option_group: bool,
|
265
|
+
?snapshot_availability_zone: ::String,
|
266
|
+
?snapshot_target: ::String,
|
265
267
|
?source_region: ::String
|
266
268
|
) -> _CopyDBSnapshotResponseSuccess
|
267
269
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyDBSnapshotResponseSuccess
|
@@ -659,6 +661,7 @@ module Aws
|
|
659
661
|
?network_type: ::String,
|
660
662
|
?storage_throughput: ::Integer,
|
661
663
|
?enable_customer_owned_ip: bool,
|
664
|
+
?backup_target: ::String,
|
662
665
|
?allocated_storage: ::Integer,
|
663
666
|
?source_db_cluster_identifier: ::String,
|
664
667
|
?dedicated_log_volume: bool,
|
data/sig/db_instance.rbs
CHANGED
@@ -419,6 +419,7 @@ module Aws
|
|
419
419
|
?network_type: ::String,
|
420
420
|
?storage_throughput: ::Integer,
|
421
421
|
?enable_customer_owned_ip: bool,
|
422
|
+
?backup_target: ::String,
|
422
423
|
?allocated_storage: ::Integer,
|
423
424
|
?source_db_cluster_identifier: ::String,
|
424
425
|
?dedicated_log_volume: bool,
|
data/sig/db_snapshot.rbs
CHANGED
@@ -124,6 +124,9 @@ module Aws
|
|
124
124
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#multi_tenant-instance_method
|
125
125
|
def multi_tenant: () -> bool
|
126
126
|
|
127
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#snapshot_availability_zone-instance_method
|
128
|
+
def snapshot_availability_zone: () -> ::String
|
129
|
+
|
127
130
|
def client: () -> Client
|
128
131
|
|
129
132
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#load-instance_method
|
@@ -163,6 +166,8 @@ module Aws
|
|
163
166
|
?option_group_name: ::String,
|
164
167
|
?target_custom_availability_zone: ::String,
|
165
168
|
?copy_option_group: bool,
|
169
|
+
?snapshot_availability_zone: ::String,
|
170
|
+
?snapshot_target: ::String,
|
166
171
|
?source_region: ::String
|
167
172
|
) -> DBSnapshot
|
168
173
|
| (?Hash[Symbol, untyped]) -> DBSnapshot
|
data/sig/types.rbs
CHANGED
@@ -272,6 +272,8 @@ module Aws::RDS
|
|
272
272
|
attr_accessor option_group_name: ::String
|
273
273
|
attr_accessor target_custom_availability_zone: ::String
|
274
274
|
attr_accessor copy_option_group: bool
|
275
|
+
attr_accessor snapshot_availability_zone: ::String
|
276
|
+
attr_accessor snapshot_target: ::String
|
275
277
|
attr_accessor source_region: ::String
|
276
278
|
SENSITIVE: []
|
277
279
|
end
|
@@ -544,6 +546,7 @@ module Aws::RDS
|
|
544
546
|
attr_accessor network_type: ::String
|
545
547
|
attr_accessor storage_throughput: ::Integer
|
546
548
|
attr_accessor enable_customer_owned_ip: bool
|
549
|
+
attr_accessor backup_target: ::String
|
547
550
|
attr_accessor allocated_storage: ::Integer
|
548
551
|
attr_accessor source_db_cluster_identifier: ::String
|
549
552
|
attr_accessor dedicated_log_volume: bool
|
@@ -1564,6 +1567,7 @@ module Aws::RDS
|
|
1564
1567
|
attr_accessor db_system_id: ::String
|
1565
1568
|
attr_accessor dedicated_log_volume: bool
|
1566
1569
|
attr_accessor multi_tenant: bool
|
1570
|
+
attr_accessor snapshot_availability_zone: ::String
|
1567
1571
|
SENSITIVE: []
|
1568
1572
|
end
|
1569
1573
|
|