aws-sdk-rds 1.134.0 → 1.138.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +221 -137
- data/lib/aws-sdk-rds/db_cluster.rb +16 -16
- data/lib/aws-sdk-rds/db_cluster_parameter_group.rb +3 -2
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +13 -7
- data/lib/aws-sdk-rds/db_instance.rb +66 -43
- data/lib/aws-sdk-rds/db_parameter_group.rb +21 -10
- data/lib/aws-sdk-rds/db_snapshot.rb +17 -5
- data/lib/aws-sdk-rds/event_subscription.rb +20 -9
- data/lib/aws-sdk-rds/resource.rb +102 -55
- data/lib/aws-sdk-rds/types.rb +218 -130
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +4 -4
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -173,7 +173,7 @@ module Aws::RDS
|
|
173
173
|
# Constraints: Must match the name of an existing DBSubnetGroup. Must
|
174
174
|
# not be default.
|
175
175
|
#
|
176
|
-
# Example: `
|
176
|
+
# Example: `mydbsubnetgroup`
|
177
177
|
#
|
178
178
|
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
179
179
|
# @option options [required, String] :engine
|
@@ -183,7 +183,8 @@ module Aws::RDS
|
|
183
183
|
#
|
184
184
|
# * `aurora` (for MySQL 5.6-compatible Aurora)
|
185
185
|
#
|
186
|
-
# * `aurora-mysql` (for MySQL 5.7-compatible
|
186
|
+
# * `aurora-mysql` (for MySQL 5.7-compatible and MySQL 8.0-compatible
|
187
|
+
# Aurora)
|
187
188
|
#
|
188
189
|
# * `aurora-postgresql`
|
189
190
|
#
|
@@ -202,7 +203,7 @@ module Aws::RDS
|
|
202
203
|
# "DBEngineVersions[].EngineVersion"`
|
203
204
|
#
|
204
205
|
# To list all of the available engine versions for MySQL 5.7-compatible
|
205
|
-
# Aurora, use the following command:
|
206
|
+
# and MySQL 8.0-compatible Aurora, use the following command:
|
206
207
|
#
|
207
208
|
# `aws rds describe-db-engine-versions --engine aurora-mysql --query
|
208
209
|
# "DBEngineVersions[].EngineVersion"`
|
@@ -623,11 +624,11 @@ module Aws::RDS
|
|
623
624
|
#
|
624
625
|
# This setting is required to create a Multi-AZ DB cluster.
|
625
626
|
#
|
626
|
-
# Valid values: `
|
627
|
+
# Valid values: `io1`
|
627
628
|
#
|
628
|
-
#
|
629
|
+
# When specified, a value for the `Iops` parameter is required.
|
629
630
|
#
|
630
|
-
# Default: `io1`
|
631
|
+
# Default: `io1`
|
631
632
|
#
|
632
633
|
# Valid for: Multi-AZ DB clusters only
|
633
634
|
# @option options [Integer] :iops
|
@@ -795,7 +796,7 @@ module Aws::RDS
|
|
795
796
|
#
|
796
797
|
# **Aurora MySQL**
|
797
798
|
#
|
798
|
-
# Example: `aurora5.6`, `aurora-mysql5.7`
|
799
|
+
# Example: `aurora5.6`, `aurora-mysql5.7`, `aurora-mysql8.0`
|
799
800
|
#
|
800
801
|
# **Aurora PostgreSQL**
|
801
802
|
#
|
@@ -830,7 +831,8 @@ module Aws::RDS
|
|
830
831
|
#
|
831
832
|
# * `aurora` (for MySQL 5.6-compatible Aurora)
|
832
833
|
#
|
833
|
-
# * `aurora-mysql` (for MySQL 5.7-compatible
|
834
|
+
# * `aurora-mysql` (for MySQL 5.7-compatible and MySQL 8.0-compatible
|
835
|
+
# Aurora)
|
834
836
|
#
|
835
837
|
# * `aurora-postgresql`
|
836
838
|
#
|
@@ -979,7 +981,7 @@ module Aws::RDS
|
|
979
981
|
#
|
980
982
|
# ^
|
981
983
|
#
|
982
|
-
# **Amazon RDS Custom**
|
984
|
+
# **Amazon RDS Custom for Oracle**
|
983
985
|
#
|
984
986
|
# The Oracle System ID (SID) of the created RDS Custom DB instance. If
|
985
987
|
# you don't specify a value, the default value is `ORCL`.
|
@@ -994,6 +996,10 @@ module Aws::RDS
|
|
994
996
|
#
|
995
997
|
# * It can't be a word reserved by the database engine.
|
996
998
|
#
|
999
|
+
# **Amazon RDS Custom for SQL Server**
|
1000
|
+
#
|
1001
|
+
# Not applicable. Must be null.
|
1002
|
+
#
|
997
1003
|
# **SQL Server**
|
998
1004
|
#
|
999
1005
|
# Not applicable. Must be null.
|
@@ -1057,9 +1063,11 @@ module Aws::RDS
|
|
1057
1063
|
# following:
|
1058
1064
|
#
|
1059
1065
|
# * General Purpose (SSD) storage (gp2): Must be an integer from 40 to
|
1060
|
-
# 65536
|
1066
|
+
# 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL
|
1067
|
+
# Server.
|
1061
1068
|
#
|
1062
|
-
# * Provisioned IOPS storage (io1): Must be an integer from 40 to 65536
|
1069
|
+
# * Provisioned IOPS storage (io1): Must be an integer from 40 to 65536
|
1070
|
+
# for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server.
|
1063
1071
|
#
|
1064
1072
|
# **MySQL**
|
1065
1073
|
#
|
@@ -1120,21 +1128,21 @@ module Aws::RDS
|
|
1120
1128
|
#
|
1121
1129
|
# * General Purpose (SSD) storage (gp2):
|
1122
1130
|
#
|
1123
|
-
# * Enterprise and Standard editions: Must be an integer from
|
1131
|
+
# * Enterprise and Standard editions: Must be an integer from 20 to
|
1124
1132
|
# 16384.
|
1125
1133
|
#
|
1126
1134
|
# * Web and Express editions: Must be an integer from 20 to 16384.
|
1127
1135
|
#
|
1128
1136
|
# * Provisioned IOPS storage (io1):
|
1129
1137
|
#
|
1130
|
-
# * Enterprise and Standard editions: Must be an integer from
|
1138
|
+
# * Enterprise and Standard editions: Must be an integer from 100 to
|
1131
1139
|
# 16384.
|
1132
1140
|
#
|
1133
1141
|
# * Web and Express editions: Must be an integer from 100 to 16384.
|
1134
1142
|
#
|
1135
1143
|
# * Magnetic storage (standard):
|
1136
1144
|
#
|
1137
|
-
# * Enterprise and Standard editions: Must be an integer from
|
1145
|
+
# * Enterprise and Standard editions: Must be an integer from 20 to
|
1138
1146
|
# 1024.
|
1139
1147
|
#
|
1140
1148
|
# * Web and Express editions: Must be an integer from 20 to 1024.
|
@@ -1158,11 +1166,18 @@ module Aws::RDS
|
|
1158
1166
|
#
|
1159
1167
|
# * `aurora` (for MySQL 5.6-compatible Aurora)
|
1160
1168
|
#
|
1161
|
-
# * `aurora-mysql` (for MySQL 5.7-compatible
|
1169
|
+
# * `aurora-mysql` (for MySQL 5.7-compatible and MySQL 8.0-compatible
|
1170
|
+
# Aurora)
|
1162
1171
|
#
|
1163
1172
|
# * `aurora-postgresql`
|
1164
1173
|
#
|
1165
|
-
# * `custom-oracle-ee (for RDS Custom instances)`
|
1174
|
+
# * `custom-oracle-ee (for RDS Custom for Oracle instances)`
|
1175
|
+
#
|
1176
|
+
# * `custom-sqlserver-ee (for RDS Custom for SQL Server instances)`
|
1177
|
+
#
|
1178
|
+
# * `custom-sqlserver-se (for RDS Custom for SQL Server instances)`
|
1179
|
+
#
|
1180
|
+
# * `custom-sqlserver-web (for RDS Custom for SQL Server instances)`
|
1166
1181
|
#
|
1167
1182
|
# * `mariadb`
|
1168
1183
|
#
|
@@ -1252,6 +1267,10 @@ module Aws::RDS
|
|
1252
1267
|
# information on Amazon Web Services Regions and Availability Zones, see
|
1253
1268
|
# [Regions and Availability Zones][1].
|
1254
1269
|
#
|
1270
|
+
# **Amazon Aurora**
|
1271
|
+
#
|
1272
|
+
# Not applicable. Availability Zones are managed by the DB cluster.
|
1273
|
+
#
|
1255
1274
|
# Default: A random, system-chosen Availability Zone in the endpoint's
|
1256
1275
|
# Amazon Web Services Region.
|
1257
1276
|
#
|
@@ -1278,7 +1297,10 @@ module Aws::RDS
|
|
1278
1297
|
# @option options [String] :db_subnet_group_name
|
1279
1298
|
# A DB subnet group to associate with this DB instance.
|
1280
1299
|
#
|
1281
|
-
#
|
1300
|
+
# Constraints: Must match the name of an existing DBSubnetGroup. Must
|
1301
|
+
# not be default.
|
1302
|
+
#
|
1303
|
+
# Example: `mydbsubnetgroup`
|
1282
1304
|
# @option options [String] :preferred_maintenance_window
|
1283
1305
|
# The time range each week during which system maintenance can occur, in
|
1284
1306
|
# Universal Coordinated Time (UTC). For more information, see [Amazon
|
@@ -1329,7 +1351,7 @@ module Aws::RDS
|
|
1329
1351
|
#
|
1330
1352
|
# * Can't be set to 0 if the DB instance is a source to read replicas
|
1331
1353
|
#
|
1332
|
-
# * Can't be set to 0 or 35 for an RDS Custom DB instance
|
1354
|
+
# * Can't be set to 0 or 35 for an RDS Custom for Oracle DB instance
|
1333
1355
|
# @option options [String] :preferred_backup_window
|
1334
1356
|
# The daily time range during which automated backups are created if
|
1335
1357
|
# automated backups are enabled, using the `BackupRetentionPeriod`
|
@@ -1424,47 +1446,53 @@ module Aws::RDS
|
|
1424
1446
|
# Not applicable. The version number of the database engine to be used
|
1425
1447
|
# by the DB instance is managed by the DB cluster.
|
1426
1448
|
#
|
1427
|
-
# **Amazon RDS Custom**
|
1449
|
+
# **Amazon RDS Custom for Oracle**
|
1428
1450
|
#
|
1429
1451
|
# A custom engine version (CEV) that you have previously created. This
|
1430
|
-
# setting is required for RDS Custom. The CEV name has the
|
1431
|
-
# format: `19.customized_string `. An example identifier is
|
1432
|
-
# `19.my_cev1`. For more information, see [ Creating an RDS Custom
|
1433
|
-
# instance][1] in the *Amazon RDS User Guide.*.
|
1452
|
+
# setting is required for RDS Custom for Oracle. The CEV name has the
|
1453
|
+
# following format: `19.customized_string `. An example identifier is
|
1454
|
+
# `19.my_cev1`. For more information, see [ Creating an RDS Custom for
|
1455
|
+
# Oracle DB instance][1] in the *Amazon RDS User Guide.*.
|
1456
|
+
#
|
1457
|
+
# **Amazon RDS Custom for SQL Server**
|
1458
|
+
#
|
1459
|
+
# See [RDS Custom for SQL Server general requirements][2] in the *Amazon
|
1460
|
+
# RDS User Guide.*
|
1434
1461
|
#
|
1435
1462
|
# **MariaDB**
|
1436
1463
|
#
|
1437
|
-
# For information, see [MariaDB on Amazon RDS Versions][
|
1464
|
+
# For information, see [MariaDB on Amazon RDS Versions][3] in the
|
1438
1465
|
# *Amazon RDS User Guide.*
|
1439
1466
|
#
|
1440
1467
|
# **Microsoft SQL Server**
|
1441
1468
|
#
|
1442
|
-
# For information, see [Microsoft SQL Server Versions on Amazon RDS][
|
1469
|
+
# For information, see [Microsoft SQL Server Versions on Amazon RDS][4]
|
1443
1470
|
# in the *Amazon RDS User Guide.*
|
1444
1471
|
#
|
1445
1472
|
# **MySQL**
|
1446
1473
|
#
|
1447
|
-
# For information, see [MySQL on Amazon RDS Versions][
|
1474
|
+
# For information, see [MySQL on Amazon RDS Versions][5] in the *Amazon
|
1448
1475
|
# RDS User Guide.*
|
1449
1476
|
#
|
1450
1477
|
# **Oracle**
|
1451
1478
|
#
|
1452
|
-
# For information, see [Oracle Database Engine Release Notes][
|
1479
|
+
# For information, see [Oracle Database Engine Release Notes][6] in the
|
1453
1480
|
# *Amazon RDS User Guide.*
|
1454
1481
|
#
|
1455
1482
|
# **PostgreSQL**
|
1456
1483
|
#
|
1457
1484
|
# For information, see [Amazon RDS for PostgreSQL versions and
|
1458
|
-
# extensions][
|
1485
|
+
# extensions][7] in the *Amazon RDS User Guide.*
|
1459
1486
|
#
|
1460
1487
|
#
|
1461
1488
|
#
|
1462
1489
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create
|
1463
|
-
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
1464
|
-
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
1465
|
-
# [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
1466
|
-
# [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
1467
|
-
# [6]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
1490
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html#custom-reqs-limits.reqsMS
|
1491
|
+
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt
|
1492
|
+
# [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport
|
1493
|
+
# [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt
|
1494
|
+
# [6]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html
|
1495
|
+
# [7]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts
|
1468
1496
|
# @option options [Boolean] :auto_minor_version_upgrade
|
1469
1497
|
# A value that indicates whether minor engine upgrades are applied
|
1470
1498
|
# automatically to the DB instance during the maintenance window. By
|
@@ -1581,9 +1609,8 @@ module Aws::RDS
|
|
1581
1609
|
# A value that indicates whether the DB instance is encrypted. By
|
1582
1610
|
# default, it isn't encrypted.
|
1583
1611
|
#
|
1584
|
-
# For RDS Custom
|
1585
|
-
#
|
1586
|
-
# an error.
|
1612
|
+
# For RDS Custom instances, either set this parameter to `true` or leave
|
1613
|
+
# it unset. If you set this parameter to `false`, RDS reports an error.
|
1587
1614
|
#
|
1588
1615
|
# **Amazon Aurora**
|
1589
1616
|
#
|
@@ -1611,11 +1638,11 @@ module Aws::RDS
|
|
1611
1638
|
#
|
1612
1639
|
# **Amazon RDS Custom**
|
1613
1640
|
#
|
1614
|
-
# A KMS key is required for RDS Custom
|
1615
|
-
#
|
1616
|
-
#
|
1617
|
-
#
|
1618
|
-
#
|
1641
|
+
# A KMS key is required for RDS Custom instances. For most RDS engines,
|
1642
|
+
# if you leave this parameter empty while enabling `StorageEncrypted`,
|
1643
|
+
# the engine uses the default KMS key. However, RDS Custom doesn't use
|
1644
|
+
# the default key when this parameter is empty. You must explicitly
|
1645
|
+
# specify a key.
|
1619
1646
|
# @option options [String] :domain
|
1620
1647
|
# The Active Directory directory ID to create the DB instance in.
|
1621
1648
|
# Currently, only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB
|
@@ -1924,7 +1951,8 @@ module Aws::RDS
|
|
1924
1951
|
#
|
1925
1952
|
# * `aurora` (for MySQL 5.6-compatible Aurora)
|
1926
1953
|
#
|
1927
|
-
# * `aurora-mysql` (for MySQL 5.7-compatible
|
1954
|
+
# * `aurora-mysql` (for MySQL 5.7-compatible and MySQL 8.0-compatible
|
1955
|
+
# Aurora)
|
1928
1956
|
#
|
1929
1957
|
# * `aurora-postgresql`
|
1930
1958
|
#
|
@@ -2023,10 +2051,16 @@ module Aws::RDS
|
|
2023
2051
|
# The name for the DB subnet group. This value is stored as a lowercase
|
2024
2052
|
# string.
|
2025
2053
|
#
|
2026
|
-
# Constraints:
|
2027
|
-
#
|
2054
|
+
# Constraints:
|
2055
|
+
#
|
2056
|
+
# * Must contain no more than 255 letters, numbers, periods,
|
2057
|
+
# underscores, spaces, or hyphens.
|
2028
2058
|
#
|
2029
|
-
#
|
2059
|
+
# * Must not be default.
|
2060
|
+
#
|
2061
|
+
# * First character must be a letter.
|
2062
|
+
#
|
2063
|
+
# Example: `mydbsubnetgroup`
|
2030
2064
|
# @option options [required, String] :db_subnet_group_description
|
2031
2065
|
# The description for the DB subnet group.
|
2032
2066
|
# @option options [required, Array<String>] :subnet_ids
|
@@ -2071,20 +2105,24 @@ module Aws::RDS
|
|
2071
2105
|
# @option options [String] :source_type
|
2072
2106
|
# The type of source that is generating the events. For example, if you
|
2073
2107
|
# want to be notified of events generated by a DB instance, you set this
|
2074
|
-
# parameter to `db-instance`.
|
2075
|
-
# are returned.
|
2108
|
+
# parameter to `db-instance`. For RDS Proxy events, specify `db-proxy`.
|
2109
|
+
# If this value isn't specified, all events are returned.
|
2076
2110
|
#
|
2077
2111
|
# Valid values: `db-instance` \| `db-cluster` \| `db-parameter-group` \|
|
2078
|
-
# `db-security-group` \| `db-snapshot` \| `db-cluster-snapshot`
|
2112
|
+
# `db-security-group` \| `db-snapshot` \| `db-cluster-snapshot` \|
|
2113
|
+
# `db-proxy`
|
2079
2114
|
# @option options [Array<String>] :event_categories
|
2080
2115
|
# A list of event categories for a particular source type (`SourceType`)
|
2081
2116
|
# that you want to subscribe to. You can see a list of the categories
|
2082
|
-
# for a given source type in
|
2083
|
-
#
|
2117
|
+
# for a given source type in the "Amazon RDS event categories and event
|
2118
|
+
# messages" section of the [ *Amazon RDS User Guide* ][1] or the [
|
2119
|
+
# *Amazon Aurora User Guide* ][2]. You can also see this list by using
|
2120
|
+
# the `DescribeEventCategories` operation.
|
2084
2121
|
#
|
2085
2122
|
#
|
2086
2123
|
#
|
2087
|
-
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html
|
2124
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Messages.html
|
2125
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Messages.html
|
2088
2126
|
# @option options [Array<String>] :source_ids
|
2089
2127
|
# The list of identifiers of the event sources for which events are
|
2090
2128
|
# returned. If not specified, then all sources are included in the
|
@@ -2113,6 +2151,9 @@ module Aws::RDS
|
|
2113
2151
|
#
|
2114
2152
|
# * If the source type is a DB cluster snapshot, a
|
2115
2153
|
# `DBClusterSnapshotIdentifier` value must be supplied.
|
2154
|
+
#
|
2155
|
+
# * If the source type is an RDS Proxy, a `DBProxyName` value must be
|
2156
|
+
# supplied.
|
2116
2157
|
# @option options [Boolean] :enabled
|
2117
2158
|
# A value that indicates whether to activate the subscription. If the
|
2118
2159
|
# event notification subscription isn't activated, the subscription is
|
@@ -2451,7 +2492,8 @@ module Aws::RDS
|
|
2451
2492
|
#
|
2452
2493
|
# * `aurora` (for MySQL 5.6-compatible Aurora)
|
2453
2494
|
#
|
2454
|
-
# * `aurora-mysql` (for MySQL 5.7-compatible
|
2495
|
+
# * `aurora-mysql` (for MySQL 5.7-compatible and MySQL 8.0-compatible
|
2496
|
+
# Aurora)
|
2455
2497
|
#
|
2456
2498
|
# * `aurora-postgresql`
|
2457
2499
|
#
|
@@ -2918,10 +2960,12 @@ module Aws::RDS
|
|
2918
2960
|
# })
|
2919
2961
|
# @param [Hash] options ({})
|
2920
2962
|
# @option options [String] :source_type
|
2921
|
-
# The type of source that is generating the events.
|
2963
|
+
# The type of source that is generating the events. For RDS Proxy
|
2964
|
+
# events, specify `db-proxy`.
|
2922
2965
|
#
|
2923
2966
|
# Valid values: `db-instance` \| `db-cluster` \| `db-parameter-group` \|
|
2924
|
-
# `db-security-group` \| `db-snapshot` \| `db-cluster-snapshot`
|
2967
|
+
# `db-security-group` \| `db-snapshot` \| `db-cluster-snapshot` \|
|
2968
|
+
# `db-proxy`
|
2925
2969
|
# @option options [Array<Types::Filter>] :filters
|
2926
2970
|
# This parameter isn't currently supported.
|
2927
2971
|
# @return [EventCategoryMap::Collection]
|
@@ -2990,7 +3034,7 @@ module Aws::RDS
|
|
2990
3034
|
#
|
2991
3035
|
# events = rds.events({
|
2992
3036
|
# source_identifier: "String",
|
2993
|
-
# source_type: "db-instance", # accepts db-instance, db-parameter-group, db-security-group, db-snapshot, db-cluster, db-cluster-snapshot, custom-engine-version
|
3037
|
+
# source_type: "db-instance", # accepts db-instance, db-parameter-group, db-security-group, db-snapshot, db-cluster, db-cluster-snapshot, custom-engine-version, db-proxy
|
2994
3038
|
# start_time: Time.now,
|
2995
3039
|
# end_time: Time.now,
|
2996
3040
|
# duration: 1,
|
@@ -3030,6 +3074,9 @@ module Aws::RDS
|
|
3030
3074
|
# * If the source type is a DB cluster snapshot, a
|
3031
3075
|
# `DBClusterSnapshotIdentifier` value must be supplied.
|
3032
3076
|
#
|
3077
|
+
# * If the source type is an RDS Proxy, a `DBProxyName` value must be
|
3078
|
+
# supplied.
|
3079
|
+
#
|
3033
3080
|
# * Can't end with a hyphen or contain two consecutive hyphens.
|
3034
3081
|
# @option options [String] :source_type
|
3035
3082
|
# The event source to retrieve events for. If no value is specified, all
|