aws-sdk-rds 1.205.0 → 1.207.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 +294 -198
- data/lib/aws-sdk-rds/db_instance.rb +158 -93
- data/lib/aws-sdk-rds/db_parameter_group.rb +3 -1
- data/lib/aws-sdk-rds/db_snapshot.rb +28 -20
- data/lib/aws-sdk-rds/option_group.rb +5 -2
- data/lib/aws-sdk-rds/resource.rb +145 -88
- data/lib/aws-sdk-rds/types.rb +252 -155
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +5 -5
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -1051,117 +1051,132 @@ module Aws::RDS
|
|
1051
1051
|
# The meaning of this parameter differs according to the database engine
|
1052
1052
|
# you use.
|
1053
1053
|
#
|
1054
|
-
#
|
1054
|
+
# Amazon Aurora MySQL
|
1055
1055
|
#
|
1056
|
-
# The name of the database to create when the DB instance
|
1057
|
-
#
|
1058
|
-
#
|
1056
|
+
# : The name of the database to create when the primary DB instance of
|
1057
|
+
# the Aurora MySQL DB cluster is created. If this parameter isn't
|
1058
|
+
# specified for an Aurora MySQL DB cluster, no database is created in
|
1059
|
+
# the DB cluster.
|
1059
1060
|
#
|
1060
|
-
#
|
1061
|
+
# Constraints:
|
1061
1062
|
#
|
1062
|
-
#
|
1063
|
+
# * Must contain 1 to 64 alphanumeric characters.
|
1063
1064
|
#
|
1064
|
-
#
|
1065
|
-
# underscores, or digits (0-9).
|
1065
|
+
# * Can't be a word reserved by the database engine.
|
1066
1066
|
#
|
1067
|
-
#
|
1067
|
+
# Amazon Aurora PostgreSQL
|
1068
1068
|
#
|
1069
|
-
#
|
1069
|
+
# : The name of the database to create when the primary DB instance of
|
1070
|
+
# the Aurora PostgreSQL DB cluster is created. If this parameter
|
1071
|
+
# isn't specified for an Aurora PostgreSQL DB cluster, a database
|
1072
|
+
# named `postgres` is created in the DB cluster.
|
1070
1073
|
#
|
1071
|
-
#
|
1072
|
-
# this parameter isn't specified, no database is created in the DB
|
1073
|
-
# instance.
|
1074
|
+
# Constraints:
|
1074
1075
|
#
|
1075
|
-
#
|
1076
|
+
# * It must contain 1 to 63 alphanumeric characters.
|
1076
1077
|
#
|
1077
|
-
#
|
1078
|
+
# * Must begin with a letter. Subsequent characters can be letters,
|
1079
|
+
# underscores, or digits (0 to 9).
|
1078
1080
|
#
|
1079
|
-
#
|
1080
|
-
# underscores, or digits (0-9).
|
1081
|
+
# * Can't be a word reserved by the database engine.
|
1081
1082
|
#
|
1082
|
-
#
|
1083
|
+
# Amazon RDS Custom for Oracle
|
1083
1084
|
#
|
1084
|
-
#
|
1085
|
+
# : The Oracle System ID (SID) of the created RDS Custom DB instance. If
|
1086
|
+
# you don't specify a value, the default value is `ORCL` for non-CDBs
|
1087
|
+
# and `RDSCDB` for CDBs.
|
1085
1088
|
#
|
1086
|
-
#
|
1087
|
-
# this parameter isn't specified, a database named `postgres` is
|
1088
|
-
# created in the DB instance.
|
1089
|
+
# Default: `ORCL`
|
1089
1090
|
#
|
1090
|
-
#
|
1091
|
+
# Constraints:
|
1091
1092
|
#
|
1092
|
-
#
|
1093
|
+
# * Must contain 1 to 8 alphanumeric characters.
|
1093
1094
|
#
|
1094
|
-
#
|
1095
|
-
# underscores, or digits (0-9).
|
1095
|
+
# * Must contain a letter.
|
1096
1096
|
#
|
1097
|
-
#
|
1097
|
+
# * Can't be a word reserved by the database engine.
|
1098
1098
|
#
|
1099
|
-
#
|
1099
|
+
# Amazon RDS Custom for SQL Server
|
1100
1100
|
#
|
1101
|
-
#
|
1102
|
-
# specify a value, the default value is `ORCL`. You can't specify the
|
1103
|
-
# string `null`, or any other reserved word, for `DBName`.
|
1101
|
+
# : Not applicable. Must be null.
|
1104
1102
|
#
|
1105
|
-
#
|
1103
|
+
# RDS for Db2
|
1106
1104
|
#
|
1107
|
-
#
|
1105
|
+
# : The name of the database to create when the DB instance is created.
|
1106
|
+
# If this parameter isn't specified, no database is created in the DB
|
1107
|
+
# instance.
|
1108
1108
|
#
|
1109
|
-
#
|
1109
|
+
# Constraints:
|
1110
1110
|
#
|
1111
|
-
#
|
1111
|
+
# * Must contain 1 to 64 letters or numbers.
|
1112
1112
|
#
|
1113
|
-
#
|
1113
|
+
# * Must begin with a letter. Subsequent characters can be letters,
|
1114
|
+
# underscores, or digits (0-9).
|
1114
1115
|
#
|
1115
|
-
#
|
1116
|
-
# you don't specify a value, the default value is `ORCL` for non-CDBs
|
1117
|
-
# and `RDSCDB` for CDBs.
|
1116
|
+
# * Can't be a word reserved by the specified database engine.
|
1118
1117
|
#
|
1119
|
-
#
|
1118
|
+
# RDS for MariaDB
|
1120
1119
|
#
|
1121
|
-
#
|
1120
|
+
# : The name of the database to create when the DB instance is created.
|
1121
|
+
# If this parameter isn't specified, no database is created in the DB
|
1122
|
+
# instance.
|
1122
1123
|
#
|
1123
|
-
#
|
1124
|
+
# Constraints:
|
1124
1125
|
#
|
1125
|
-
#
|
1126
|
+
# * Must contain 1 to 64 letters or numbers.
|
1126
1127
|
#
|
1127
|
-
#
|
1128
|
+
# * Must begin with a letter. Subsequent characters can be letters,
|
1129
|
+
# underscores, or digits (0-9).
|
1128
1130
|
#
|
1129
|
-
#
|
1131
|
+
# * Can't be a word reserved by the specified database engine.
|
1130
1132
|
#
|
1131
|
-
#
|
1133
|
+
# RDS for MySQL
|
1132
1134
|
#
|
1133
|
-
#
|
1135
|
+
# : The name of the database to create when the DB instance is created.
|
1136
|
+
# If this parameter isn't specified, no database is created in the DB
|
1137
|
+
# instance.
|
1134
1138
|
#
|
1135
|
-
#
|
1139
|
+
# Constraints:
|
1136
1140
|
#
|
1137
|
-
#
|
1141
|
+
# * Must contain 1 to 64 letters or numbers.
|
1138
1142
|
#
|
1139
|
-
#
|
1140
|
-
#
|
1141
|
-
# for an Aurora MySQL DB cluster, no database is created in the DB
|
1142
|
-
# cluster.
|
1143
|
+
# * Must begin with a letter. Subsequent characters can be letters,
|
1144
|
+
# underscores, or digits (0-9).
|
1143
1145
|
#
|
1144
|
-
#
|
1146
|
+
# * Can't be a word reserved by the specified database engine.
|
1145
1147
|
#
|
1146
|
-
#
|
1148
|
+
# RDS for Oracle
|
1147
1149
|
#
|
1148
|
-
#
|
1150
|
+
# : The Oracle System ID (SID) of the created DB instance. If you don't
|
1151
|
+
# specify a value, the default value is `ORCL`. You can't specify the
|
1152
|
+
# string `null`, or any other reserved word, for `DBName`.
|
1149
1153
|
#
|
1150
|
-
#
|
1154
|
+
# Default: `ORCL`
|
1151
1155
|
#
|
1152
|
-
#
|
1153
|
-
# Aurora PostgreSQL DB cluster is created. If this parameter isn't
|
1154
|
-
# specified for an Aurora PostgreSQL DB cluster, a database named
|
1155
|
-
# `postgres` is created in the DB cluster.
|
1156
|
+
# Constraints:
|
1156
1157
|
#
|
1157
|
-
#
|
1158
|
+
# * Can't be longer than 8 characters.
|
1159
|
+
#
|
1160
|
+
# ^
|
1158
1161
|
#
|
1159
|
-
#
|
1162
|
+
# RDS for PostgreSQL
|
1160
1163
|
#
|
1161
|
-
#
|
1162
|
-
#
|
1164
|
+
# : The name of the database to create when the DB instance is created.
|
1165
|
+
# If this parameter isn't specified, a database named `postgres` is
|
1166
|
+
# created in the DB instance.
|
1167
|
+
#
|
1168
|
+
# Constraints:
|
1169
|
+
#
|
1170
|
+
# * Must contain 1 to 63 letters, numbers, or underscores.
|
1171
|
+
#
|
1172
|
+
# * Must begin with a letter. Subsequent characters can be letters,
|
1173
|
+
# underscores, or digits (0-9).
|
1174
|
+
#
|
1175
|
+
# * Can't be a word reserved by the specified database engine.
|
1176
|
+
#
|
1177
|
+
# RDS for SQL Server
|
1163
1178
|
#
|
1164
|
-
#
|
1179
|
+
# : Not applicable. Must be null.
|
1165
1180
|
# @option options [required, String] :db_instance_identifier
|
1166
1181
|
# The identifier for this DB instance. This parameter is stored as a
|
1167
1182
|
# lowercase string.
|
@@ -1197,6 +1212,17 @@ module Aws::RDS
|
|
1197
1212
|
# 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL
|
1198
1213
|
# Server.
|
1199
1214
|
#
|
1215
|
+
# RDS for Db2
|
1216
|
+
#
|
1217
|
+
# : Constraints to the amount of storage for each storage type are the
|
1218
|
+
# following:
|
1219
|
+
#
|
1220
|
+
# * General Purpose (SSD) storage (gp2, gp3): Must be an integer from
|
1221
|
+
# 20 to 64000.
|
1222
|
+
#
|
1223
|
+
# * Provisioned IOPS storage (io1): Must be an integer from 100 to
|
1224
|
+
# 64000.
|
1225
|
+
#
|
1200
1226
|
# RDS for MariaDB
|
1201
1227
|
#
|
1202
1228
|
# : Constraints to the amount of storage for each storage type are the
|
@@ -1308,6 +1334,10 @@ module Aws::RDS
|
|
1308
1334
|
#
|
1309
1335
|
# * `custom-sqlserver-web` (for RDS Custom for SQL Server DB instances)
|
1310
1336
|
#
|
1337
|
+
# * `db2-ae`
|
1338
|
+
#
|
1339
|
+
# * `db2-se`
|
1340
|
+
#
|
1311
1341
|
# * `mariadb`
|
1312
1342
|
#
|
1313
1343
|
# * `mysql`
|
@@ -1360,6 +1390,8 @@ module Aws::RDS
|
|
1360
1390
|
#
|
1361
1391
|
# Length Constraints:
|
1362
1392
|
#
|
1393
|
+
# * RDS for Db2 - Must contain from 8 to 255 characters.
|
1394
|
+
#
|
1363
1395
|
# * RDS for MariaDB - Must contain from 8 to 41 characters.
|
1364
1396
|
#
|
1365
1397
|
# * RDS for Microsoft SQL Server - Must contain from 8 to 128
|
@@ -1511,6 +1543,8 @@ module Aws::RDS
|
|
1511
1543
|
#
|
1512
1544
|
# Default:
|
1513
1545
|
#
|
1546
|
+
# * RDS for Db2 - `50000`
|
1547
|
+
#
|
1514
1548
|
# * RDS for MariaDB - `3306`
|
1515
1549
|
#
|
1516
1550
|
# * RDS for Microsoft SQL Server - `1433`
|
@@ -1566,40 +1600,46 @@ module Aws::RDS
|
|
1566
1600
|
# : See [RDS Custom for SQL Server general requirements][2] in the
|
1567
1601
|
# *Amazon RDS User Guide*.
|
1568
1602
|
#
|
1603
|
+
# RDS for Db2
|
1604
|
+
#
|
1605
|
+
# : For information, see [Db2 on Amazon RDS versions][3] in the *Amazon
|
1606
|
+
# RDS User Guide*.
|
1607
|
+
#
|
1569
1608
|
# RDS for MariaDB
|
1570
1609
|
#
|
1571
|
-
# : For information, see [MariaDB on Amazon RDS versions][
|
1610
|
+
# : For information, see [MariaDB on Amazon RDS versions][4] in the
|
1572
1611
|
# *Amazon RDS User Guide*.
|
1573
1612
|
#
|
1574
1613
|
# RDS for Microsoft SQL Server
|
1575
1614
|
#
|
1576
1615
|
# : For information, see [Microsoft SQL Server versions on Amazon
|
1577
|
-
# RDS][
|
1616
|
+
# RDS][5] in the *Amazon RDS User Guide*.
|
1578
1617
|
#
|
1579
1618
|
# RDS for MySQL
|
1580
1619
|
#
|
1581
|
-
# : For information, see [MySQL on Amazon RDS versions][
|
1620
|
+
# : For information, see [MySQL on Amazon RDS versions][6] in the
|
1582
1621
|
# *Amazon RDS User Guide*.
|
1583
1622
|
#
|
1584
1623
|
# RDS for Oracle
|
1585
1624
|
#
|
1586
|
-
# : For information, see [Oracle Database Engine release notes][
|
1625
|
+
# : For information, see [Oracle Database Engine release notes][7] in
|
1587
1626
|
# the *Amazon RDS User Guide*.
|
1588
1627
|
#
|
1589
1628
|
# RDS for PostgreSQL
|
1590
1629
|
#
|
1591
1630
|
# : For information, see [Amazon RDS for PostgreSQL versions and
|
1592
|
-
# extensions][
|
1631
|
+
# extensions][8] in the *Amazon RDS User Guide*.
|
1593
1632
|
#
|
1594
1633
|
#
|
1595
1634
|
#
|
1596
1635
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create
|
1597
1636
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html
|
1598
|
-
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
1599
|
-
# [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
1600
|
-
# [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
1601
|
-
# [6]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
1602
|
-
# [7]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
|
1637
|
+
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Db2.html#Db2.Concepts.VersionMgmt
|
1638
|
+
# [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt
|
1639
|
+
# [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport
|
1640
|
+
# [6]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt
|
1641
|
+
# [7]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html
|
1642
|
+
# [8]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts
|
1603
1643
|
# @option options [Boolean] :auto_minor_version_upgrade
|
1604
1644
|
# Specifies whether minor engine upgrades are applied automatically to
|
1605
1645
|
# the DB instance during the maintenance window. By default, minor
|
@@ -1615,6 +1655,8 @@ module Aws::RDS
|
|
1615
1655
|
#
|
1616
1656
|
# Valid Values:
|
1617
1657
|
#
|
1658
|
+
# * RDS for Db2 - `bring-your-own-license`
|
1659
|
+
#
|
1618
1660
|
# * RDS for MariaDB - `general-public-license`
|
1619
1661
|
#
|
1620
1662
|
# * RDS for Microsoft SQL Server - `license-included`
|
@@ -1635,7 +1677,7 @@ module Aws::RDS
|
|
1635
1677
|
#
|
1636
1678
|
# Constraints:
|
1637
1679
|
#
|
1638
|
-
# * For RDS for MariaDB, MySQL, Oracle, and PostgreSQL - Must be a
|
1680
|
+
# * For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a
|
1639
1681
|
# multiple between .5 and 50 of the storage amount for the DB
|
1640
1682
|
# instance.
|
1641
1683
|
#
|
@@ -1769,8 +1811,8 @@ module Aws::RDS
|
|
1769
1811
|
# must explicitly specify a key.
|
1770
1812
|
# @option options [String] :domain
|
1771
1813
|
# The Active Directory directory ID to create the DB instance in.
|
1772
|
-
# Currently,
|
1773
|
-
#
|
1814
|
+
# Currently, you can create only Db2, MySQL, Microsoft SQL Server,
|
1815
|
+
# Oracle, and PostgreSQL DB instances in an Active Directory Domain.
|
1774
1816
|
#
|
1775
1817
|
# For more information, see [ Kerberos Authentication][1] in the *Amazon
|
1776
1818
|
# RDS User Guide*.
|
@@ -1951,9 +1993,9 @@ module Aws::RDS
|
|
1951
1993
|
# If you specify a retention period that isn't valid, such as `94`,
|
1952
1994
|
# Amazon RDS returns an error.
|
1953
1995
|
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
1954
|
-
# The list of log types
|
1955
|
-
#
|
1956
|
-
#
|
1996
|
+
# The list of log types to enable for exporting to CloudWatch Logs. For
|
1997
|
+
# more information, see [ Publishing Database Logs to Amazon CloudWatch
|
1998
|
+
# Logs][1] in the *Amazon RDS User Guide*.
|
1957
1999
|
#
|
1958
2000
|
# This setting doesn't apply to the following DB instances:
|
1959
2001
|
#
|
@@ -1964,6 +2006,8 @@ module Aws::RDS
|
|
1964
2006
|
#
|
1965
2007
|
# The following values are valid for each DB engine:
|
1966
2008
|
#
|
2009
|
+
# * RDS for Db2 - `diag.log | notify.log`
|
2010
|
+
#
|
1967
2011
|
# * RDS for MariaDB - `audit | error | general | slowquery`
|
1968
2012
|
#
|
1969
2013
|
# * RDS for Microsoft SQL Server - `agent | error`
|
@@ -2060,7 +2104,7 @@ module Aws::RDS
|
|
2060
2104
|
# @option options [String] :backup_target
|
2061
2105
|
# The location for storing automated backups and manual snapshots.
|
2062
2106
|
#
|
2063
|
-
#
|
2107
|
+
# Valid Values:
|
2064
2108
|
#
|
2065
2109
|
# * `outposts` (Amazon Web Services Outposts)
|
2066
2110
|
#
|
@@ -2243,7 +2287,9 @@ module Aws::RDS
|
|
2243
2287
|
#
|
2244
2288
|
# * `aurora-postgresql`
|
2245
2289
|
#
|
2246
|
-
# * `
|
2290
|
+
# * `db2-ae`
|
2291
|
+
#
|
2292
|
+
# * `db2-se`
|
2247
2293
|
#
|
2248
2294
|
# * `mysql`
|
2249
2295
|
#
|
@@ -2498,11 +2544,14 @@ module Aws::RDS
|
|
2498
2544
|
#
|
2499
2545
|
# Example: `myoptiongroup`
|
2500
2546
|
# @option options [required, String] :engine_name
|
2501
|
-
#
|
2502
|
-
# associated with.
|
2547
|
+
# The name of the engine to associate this option group with.
|
2503
2548
|
#
|
2504
2549
|
# Valid Values:
|
2505
2550
|
#
|
2551
|
+
# * `db2-ae`
|
2552
|
+
#
|
2553
|
+
# * `db2-se`
|
2554
|
+
#
|
2506
2555
|
# * `mariadb`
|
2507
2556
|
#
|
2508
2557
|
# * `mysql`
|
@@ -2805,6 +2854,10 @@ module Aws::RDS
|
|
2805
2854
|
#
|
2806
2855
|
# * `custom-oracle-ee`
|
2807
2856
|
#
|
2857
|
+
# * `db2-ae`
|
2858
|
+
#
|
2859
|
+
# * `db2-se`
|
2860
|
+
#
|
2808
2861
|
# * `mariadb`
|
2809
2862
|
#
|
2810
2863
|
# * `mysql`
|
@@ -3516,11 +3569,15 @@ module Aws::RDS
|
|
3516
3569
|
# @option options [Array<Types::Filter>] :filters
|
3517
3570
|
# This parameter isn't currently supported.
|
3518
3571
|
# @option options [String] :engine_name
|
3519
|
-
#
|
3520
|
-
#
|
3572
|
+
# A filter to only include option groups associated with this database
|
3573
|
+
# engine.
|
3521
3574
|
#
|
3522
3575
|
# Valid Values:
|
3523
3576
|
#
|
3577
|
+
# * `db2-ae`
|
3578
|
+
#
|
3579
|
+
# * `db2-se`
|
3580
|
+
#
|
3524
3581
|
# * `mariadb`
|
3525
3582
|
#
|
3526
3583
|
# * `mysql`
|