aws-sdk-rds 1.141.0 → 1.144.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +309 -532
- data/lib/aws-sdk-rds/client_api.rb +16 -175
- data/lib/aws-sdk-rds/db_cluster.rb +100 -43
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +18 -4
- data/lib/aws-sdk-rds/db_instance.rb +25 -26
- data/lib/aws-sdk-rds/db_snapshot.rb +1 -1
- data/lib/aws-sdk-rds/errors.rb +0 -44
- data/lib/aws-sdk-rds/resource.rb +46 -30
- data/lib/aws-sdk-rds/types.rb +374 -660
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +2 -2
@@ -329,11 +329,11 @@ module Aws::RDS
|
|
329
329
|
data[:enabled_cloudwatch_logs_exports]
|
330
330
|
end
|
331
331
|
|
332
|
-
# The current capacity of an Aurora Serverless DB cluster. The
|
333
|
-
# is 0 (zero) when the cluster is paused.
|
332
|
+
# The current capacity of an Aurora Serverless v1 DB cluster. The
|
333
|
+
# capacity is 0 (zero) when the cluster is paused.
|
334
334
|
#
|
335
|
-
# For more information about Aurora Serverless, see [Using Amazon
|
336
|
-
# Serverless][1] in the *Amazon Aurora User Guide*.
|
335
|
+
# For more information about Aurora Serverless v1, see [Using Amazon
|
336
|
+
# Aurora Serverless v1][1] in the *Amazon Aurora User Guide*.
|
337
337
|
#
|
338
338
|
#
|
339
339
|
#
|
@@ -359,8 +359,8 @@ module Aws::RDS
|
|
359
359
|
# Shows the scaling configuration for an Aurora DB cluster in
|
360
360
|
# `serverless` DB engine mode.
|
361
361
|
#
|
362
|
-
# For more information, see [Using Amazon Aurora Serverless][1] in
|
363
|
-
# *Amazon Aurora User Guide*.
|
362
|
+
# For more information, see [Using Amazon Aurora Serverless v1][1] in
|
363
|
+
# the *Amazon Aurora User Guide*.
|
364
364
|
#
|
365
365
|
#
|
366
366
|
#
|
@@ -378,15 +378,15 @@ module Aws::RDS
|
|
378
378
|
end
|
379
379
|
|
380
380
|
# A value that indicates whether the HTTP endpoint for an Aurora
|
381
|
-
# Serverless DB cluster is enabled.
|
381
|
+
# Serverless v1 DB cluster is enabled.
|
382
382
|
#
|
383
383
|
# When enabled, the HTTP endpoint provides a connectionless web service
|
384
|
-
# API for running SQL queries on the Aurora Serverless DB cluster.
|
385
|
-
# can also query your database from inside the RDS console with the
|
384
|
+
# API for running SQL queries on the Aurora Serverless v1 DB cluster.
|
385
|
+
# You can also query your database from inside the RDS console with the
|
386
386
|
# query editor.
|
387
387
|
#
|
388
|
-
# For more information, see [Using the Data API for Aurora
|
389
|
-
#
|
388
|
+
# For more information, see [Using the Data API for Aurora Serverless
|
389
|
+
# v1][1] in the *Amazon Aurora User Guide*.
|
390
390
|
#
|
391
391
|
#
|
392
392
|
#
|
@@ -588,6 +588,20 @@ module Aws::RDS
|
|
588
588
|
data[:performance_insights_retention_period]
|
589
589
|
end
|
590
590
|
|
591
|
+
# Shows the scaling configuration for an Aurora Serverless v2 DB
|
592
|
+
# cluster.
|
593
|
+
#
|
594
|
+
# For more information, see [Using Amazon Aurora Serverless v2][1] in
|
595
|
+
# the *Amazon Aurora User Guide*.
|
596
|
+
#
|
597
|
+
#
|
598
|
+
#
|
599
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
600
|
+
# @return [Types::ServerlessV2ScalingConfigurationInfo]
|
601
|
+
def serverless_v2_scaling_configuration
|
602
|
+
data[:serverless_v2_scaling_configuration]
|
603
|
+
end
|
604
|
+
|
591
605
|
# @!endgroup
|
592
606
|
|
593
607
|
# @return [Client]
|
@@ -780,6 +794,10 @@ module Aws::RDS
|
|
780
794
|
# enable_performance_insights: false,
|
781
795
|
# performance_insights_kms_key_id: "String",
|
782
796
|
# performance_insights_retention_period: 1,
|
797
|
+
# serverless_v2_scaling_configuration: {
|
798
|
+
# min_capacity: 1.0,
|
799
|
+
# max_capacity: 1.0,
|
800
|
+
# },
|
783
801
|
# source_region: "String",
|
784
802
|
# })
|
785
803
|
# @param [Hash] options ({})
|
@@ -900,22 +918,22 @@ module Aws::RDS
|
|
900
918
|
# **Aurora MySQL**
|
901
919
|
#
|
902
920
|
# For information, see [MySQL on Amazon RDS Versions][1] in the *Amazon
|
903
|
-
# Aurora User Guide
|
921
|
+
# Aurora User Guide*.
|
904
922
|
#
|
905
923
|
# **Aurora PostgreSQL**
|
906
924
|
#
|
907
925
|
# For information, see [Amazon Aurora PostgreSQL releases and engine
|
908
|
-
# versions][2] in the *Amazon Aurora User Guide
|
926
|
+
# versions][2] in the *Amazon Aurora User Guide*.
|
909
927
|
#
|
910
928
|
# **MySQL**
|
911
929
|
#
|
912
930
|
# For information, see [MySQL on Amazon RDS Versions][3] in the *Amazon
|
913
|
-
# RDS User Guide
|
931
|
+
# RDS User Guide*.
|
914
932
|
#
|
915
933
|
# **PostgreSQL**
|
916
934
|
#
|
917
935
|
# For information, see [Amazon RDS for PostgreSQL versions and
|
918
|
-
# extensions][4] in the *Amazon RDS User Guide
|
936
|
+
# extensions][4] in the *Amazon RDS User Guide*.
|
919
937
|
#
|
920
938
|
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
921
939
|
#
|
@@ -975,7 +993,7 @@ module Aws::RDS
|
|
975
993
|
# The default is a 30-minute window selected at random from an 8-hour
|
976
994
|
# block of time for each Amazon Web Services Region. To view the time
|
977
995
|
# blocks available, see [ Backup window][1] in the *Amazon Aurora User
|
978
|
-
# Guide
|
996
|
+
# Guide*.
|
979
997
|
#
|
980
998
|
# Constraints:
|
981
999
|
#
|
@@ -1002,7 +1020,7 @@ module Aws::RDS
|
|
1002
1020
|
# block of time for each Amazon Web Services Region, occurring on a
|
1003
1021
|
# random day of the week. To see the time blocks available, see [
|
1004
1022
|
# Adjusting the Preferred DB Cluster Maintenance Window][1] in the
|
1005
|
-
# *Amazon Aurora User Guide
|
1023
|
+
# *Amazon Aurora User Guide*.
|
1006
1024
|
#
|
1007
1025
|
# Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
|
1008
1026
|
#
|
@@ -1114,7 +1132,7 @@ module Aws::RDS
|
|
1114
1132
|
# accounts. By default, mapping isn't enabled.
|
1115
1133
|
#
|
1116
1134
|
# For more information, see [ IAM Database Authentication][1] in the
|
1117
|
-
# *Amazon Aurora User Guide
|
1135
|
+
# *Amazon Aurora User Guide.*.
|
1118
1136
|
#
|
1119
1137
|
# Valid for: Aurora DB clusters only
|
1120
1138
|
#
|
@@ -1158,7 +1176,7 @@ module Aws::RDS
|
|
1158
1176
|
#
|
1159
1177
|
# For more information about exporting CloudWatch Logs for Amazon RDS,
|
1160
1178
|
# see [Publishing Database Logs to Amazon CloudWatch Logs][1] in the
|
1161
|
-
# *Amazon
|
1179
|
+
# *Amazon RDS User Guide*.
|
1162
1180
|
#
|
1163
1181
|
# For more information about exporting CloudWatch Logs for Amazon
|
1164
1182
|
# Aurora, see [Publishing Database Logs to Amazon CloudWatch Logs][2] in
|
@@ -1193,7 +1211,7 @@ module Aws::RDS
|
|
1193
1211
|
# information, see the following sections in the *Amazon Aurora User
|
1194
1212
|
# Guide*\:
|
1195
1213
|
#
|
1196
|
-
# * [ Limitations of Aurora Serverless][1]
|
1214
|
+
# * [ Limitations of Aurora Serverless v1][1]
|
1197
1215
|
#
|
1198
1216
|
# * [ Limitations of Parallel Query][2]
|
1199
1217
|
#
|
@@ -1227,16 +1245,16 @@ module Aws::RDS
|
|
1227
1245
|
# Valid for: Aurora DB clusters only
|
1228
1246
|
# @option options [Boolean] :enable_http_endpoint
|
1229
1247
|
# A value that indicates whether to enable the HTTP endpoint for an
|
1230
|
-
# Aurora Serverless DB cluster. By default, the HTTP endpoint is
|
1248
|
+
# Aurora Serverless v1 DB cluster. By default, the HTTP endpoint is
|
1231
1249
|
# disabled.
|
1232
1250
|
#
|
1233
1251
|
# When enabled, the HTTP endpoint provides a connectionless web service
|
1234
|
-
# API for running SQL queries on the Aurora Serverless DB cluster.
|
1235
|
-
# can also query your database from inside the RDS console with the
|
1252
|
+
# API for running SQL queries on the Aurora Serverless v1 DB cluster.
|
1253
|
+
# You can also query your database from inside the RDS console with the
|
1236
1254
|
# query editor.
|
1237
1255
|
#
|
1238
|
-
# For more information, see [Using the Data API for Aurora
|
1239
|
-
#
|
1256
|
+
# For more information, see [Using the Data API for Aurora Serverless
|
1257
|
+
# v1][1] in the *Amazon Aurora User Guide*.
|
1240
1258
|
#
|
1241
1259
|
# Valid for: Aurora DB clusters only
|
1242
1260
|
#
|
@@ -1290,7 +1308,7 @@ module Aws::RDS
|
|
1290
1308
|
# engines.
|
1291
1309
|
#
|
1292
1310
|
# For the full list of DB instance classes and availability for your
|
1293
|
-
# engine, see [DB instance class][1] in the *Amazon RDS User Guide
|
1311
|
+
# engine, see [DB instance class][1] in the *Amazon RDS User Guide*.
|
1294
1312
|
#
|
1295
1313
|
# This setting is required to create a Multi-AZ DB cluster.
|
1296
1314
|
#
|
@@ -1435,6 +1453,16 @@ module Aws::RDS
|
|
1435
1453
|
# Valid values are 7 or 731 (2 years).
|
1436
1454
|
#
|
1437
1455
|
# Valid for: Multi-AZ DB clusters only
|
1456
|
+
# @option options [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
|
1457
|
+
# Contains the scaling configuration of an Aurora Serverless v2 DB
|
1458
|
+
# cluster.
|
1459
|
+
#
|
1460
|
+
# For more information, see [Using Amazon Aurora Serverless v2][1] in
|
1461
|
+
# the *Amazon Aurora User Guide*.
|
1462
|
+
#
|
1463
|
+
#
|
1464
|
+
#
|
1465
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
1438
1466
|
# @option options [String] :source_region
|
1439
1467
|
# The source region of the snapshot. This is only needed when the
|
1440
1468
|
# shapshot is encrypted and in a different region.
|
@@ -1606,6 +1634,10 @@ module Aws::RDS
|
|
1606
1634
|
# enable_performance_insights: false,
|
1607
1635
|
# performance_insights_kms_key_id: "String",
|
1608
1636
|
# performance_insights_retention_period: 1,
|
1637
|
+
# serverless_v2_scaling_configuration: {
|
1638
|
+
# min_capacity: 1.0,
|
1639
|
+
# max_capacity: 1.0,
|
1640
|
+
# },
|
1609
1641
|
# })
|
1610
1642
|
# @param [Hash] options ({})
|
1611
1643
|
# @option options [String] :new_db_cluster_identifier
|
@@ -1692,7 +1724,7 @@ module Aws::RDS
|
|
1692
1724
|
# The default is a 30-minute window selected at random from an 8-hour
|
1693
1725
|
# block of time for each Amazon Web Services Region. To view the time
|
1694
1726
|
# blocks available, see [ Backup window][1] in the *Amazon Aurora User
|
1695
|
-
# Guide
|
1727
|
+
# Guide*.
|
1696
1728
|
#
|
1697
1729
|
# Constraints:
|
1698
1730
|
#
|
@@ -1719,7 +1751,7 @@ module Aws::RDS
|
|
1719
1751
|
# block of time for each Amazon Web Services Region, occurring on a
|
1720
1752
|
# random day of the week. To see the time blocks available, see [
|
1721
1753
|
# Adjusting the Preferred DB Cluster Maintenance Window][1] in the
|
1722
|
-
# *Amazon Aurora User Guide
|
1754
|
+
# *Amazon Aurora User Guide*.
|
1723
1755
|
#
|
1724
1756
|
# Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
|
1725
1757
|
#
|
@@ -1736,7 +1768,7 @@ module Aws::RDS
|
|
1736
1768
|
# accounts. By default, mapping isn't enabled.
|
1737
1769
|
#
|
1738
1770
|
# For more information, see [ IAM Database Authentication][1] in the
|
1739
|
-
# *Amazon Aurora User Guide
|
1771
|
+
# *Amazon Aurora User Guide*.
|
1740
1772
|
#
|
1741
1773
|
# Valid for: Aurora DB clusters only
|
1742
1774
|
#
|
@@ -1779,8 +1811,8 @@ module Aws::RDS
|
|
1779
1811
|
# Possible value is `postgresql`.
|
1780
1812
|
#
|
1781
1813
|
# For more information about exporting CloudWatch Logs for Amazon RDS,
|
1782
|
-
# see [Publishing Database Logs to Amazon CloudWatch Logs][1] in the
|
1783
|
-
# *Amazon
|
1814
|
+
# see [ Publishing Database Logs to Amazon CloudWatch Logs][1] in the
|
1815
|
+
# *Amazon RDS User Guide*.
|
1784
1816
|
#
|
1785
1817
|
# For more information about exporting CloudWatch Logs for Amazon
|
1786
1818
|
# Aurora, see [Publishing Database Logs to Amazon CloudWatch Logs][2] in
|
@@ -1891,16 +1923,16 @@ module Aws::RDS
|
|
1891
1923
|
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
1892
1924
|
# @option options [Boolean] :enable_http_endpoint
|
1893
1925
|
# A value that indicates whether to enable the HTTP endpoint for an
|
1894
|
-
# Aurora Serverless DB cluster. By default, the HTTP endpoint is
|
1926
|
+
# Aurora Serverless v1 DB cluster. By default, the HTTP endpoint is
|
1895
1927
|
# disabled.
|
1896
1928
|
#
|
1897
1929
|
# When enabled, the HTTP endpoint provides a connectionless web service
|
1898
|
-
# API for running SQL queries on the Aurora Serverless DB cluster.
|
1899
|
-
# can also query your database from inside the RDS console with the
|
1930
|
+
# API for running SQL queries on the Aurora Serverless v1 DB cluster.
|
1931
|
+
# You can also query your database from inside the RDS console with the
|
1900
1932
|
# query editor.
|
1901
1933
|
#
|
1902
|
-
# For more information, see [Using the Data API for Aurora
|
1903
|
-
#
|
1934
|
+
# For more information, see [Using the Data API for Aurora Serverless
|
1935
|
+
# v1][1] in the *Amazon Aurora User Guide*.
|
1904
1936
|
#
|
1905
1937
|
# Valid for: Aurora DB clusters only
|
1906
1938
|
#
|
@@ -1935,7 +1967,7 @@ module Aws::RDS
|
|
1935
1967
|
# engines.
|
1936
1968
|
#
|
1937
1969
|
# For the full list of DB instance classes and availability for your
|
1938
|
-
# engine, see [DB Instance Class][1] in the *Amazon RDS User Guide
|
1970
|
+
# engine, see [ DB Instance Class][1] in the *Amazon RDS User Guide*.
|
1939
1971
|
#
|
1940
1972
|
# Valid for: Multi-AZ DB clusters only
|
1941
1973
|
#
|
@@ -2038,6 +2070,16 @@ module Aws::RDS
|
|
2038
2070
|
# Valid values are 7 or 731 (2 years).
|
2039
2071
|
#
|
2040
2072
|
# Valid for: Multi-AZ DB clusters only
|
2073
|
+
# @option options [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
|
2074
|
+
# Contains the scaling configuration of an Aurora Serverless v2 DB
|
2075
|
+
# cluster.
|
2076
|
+
#
|
2077
|
+
# For more information, see [Using Amazon Aurora Serverless v2][1] in
|
2078
|
+
# the *Amazon Aurora User Guide*.
|
2079
|
+
#
|
2080
|
+
#
|
2081
|
+
#
|
2082
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
2041
2083
|
# @return [DBCluster]
|
2042
2084
|
def modify(options = {})
|
2043
2085
|
options = options.merge(db_cluster_identifier: @id)
|
@@ -2088,6 +2130,10 @@ module Aws::RDS
|
|
2088
2130
|
# storage_type: "String",
|
2089
2131
|
# publicly_accessible: false,
|
2090
2132
|
# iops: 1,
|
2133
|
+
# serverless_v2_scaling_configuration: {
|
2134
|
+
# min_capacity: 1.0,
|
2135
|
+
# max_capacity: 1.0,
|
2136
|
+
# },
|
2091
2137
|
# })
|
2092
2138
|
# @param [Hash] options ({})
|
2093
2139
|
# @option options [required, String] :db_cluster_identifier
|
@@ -2217,7 +2263,7 @@ module Aws::RDS
|
|
2217
2263
|
# accounts. By default, mapping isn't enabled.
|
2218
2264
|
#
|
2219
2265
|
# For more information, see [ IAM Database Authentication][1] in the
|
2220
|
-
# *Amazon Aurora User Guide
|
2266
|
+
# *Amazon Aurora User Guide*.
|
2221
2267
|
#
|
2222
2268
|
# Valid for: Aurora DB clusters only
|
2223
2269
|
#
|
@@ -2261,7 +2307,7 @@ module Aws::RDS
|
|
2261
2307
|
#
|
2262
2308
|
# For more information about exporting CloudWatch Logs for Amazon RDS,
|
2263
2309
|
# see [Publishing Database Logs to Amazon CloudWatch Logs][1] in the
|
2264
|
-
# *Amazon
|
2310
|
+
# *Amazon RDS User Guide.*.
|
2265
2311
|
#
|
2266
2312
|
# For more information about exporting CloudWatch Logs for Amazon
|
2267
2313
|
# Aurora, see [Publishing Database Logs to Amazon CloudWatch Logs][2] in
|
@@ -2329,10 +2375,11 @@ module Aws::RDS
|
|
2329
2375
|
# @option options [String] :engine_mode
|
2330
2376
|
# The engine mode of the new cluster. Specify `provisioned` or
|
2331
2377
|
# `serverless`, depending on the type of the cluster you are creating.
|
2332
|
-
# You can create an Aurora Serverless clone from a provisioned
|
2333
|
-
# or a provisioned clone from an Aurora Serverless cluster.
|
2334
|
-
# clone that is an Aurora Serverless cluster, the
|
2335
|
-
# be an Aurora Serverless cluster or an
|
2378
|
+
# You can create an Aurora Serverless v1 clone from a provisioned
|
2379
|
+
# cluster, or a provisioned clone from an Aurora Serverless v1 cluster.
|
2380
|
+
# To create a clone that is an Aurora Serverless v1 cluster, the
|
2381
|
+
# original cluster must be an Aurora Serverless v1 cluster or an
|
2382
|
+
# encrypted provisioned cluster.
|
2336
2383
|
#
|
2337
2384
|
# Valid for: Aurora DB clusters only
|
2338
2385
|
# @option options [String] :db_cluster_instance_class
|
@@ -2413,6 +2460,16 @@ module Aws::RDS
|
|
2413
2460
|
#
|
2414
2461
|
#
|
2415
2462
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS
|
2463
|
+
# @option options [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
|
2464
|
+
# Contains the scaling configuration of an Aurora Serverless v2 DB
|
2465
|
+
# cluster.
|
2466
|
+
#
|
2467
|
+
# For more information, see [Using Amazon Aurora Serverless v2][1] in
|
2468
|
+
# the *Amazon Aurora User Guide*.
|
2469
|
+
#
|
2470
|
+
#
|
2471
|
+
#
|
2472
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
2416
2473
|
# @return [DBCluster]
|
2417
2474
|
def restore(options = {})
|
2418
2475
|
options = options.merge(source_db_cluster_identifier: @id)
|
@@ -541,6 +541,10 @@ module Aws::RDS
|
|
541
541
|
# storage_type: "String",
|
542
542
|
# iops: 1,
|
543
543
|
# publicly_accessible: false,
|
544
|
+
# serverless_v2_scaling_configuration: {
|
545
|
+
# min_capacity: 1.0,
|
546
|
+
# max_capacity: 1.0,
|
547
|
+
# },
|
544
548
|
# })
|
545
549
|
# @param [Hash] options ({})
|
546
550
|
# @option options [Array<String>] :availability_zones
|
@@ -607,12 +611,12 @@ module Aws::RDS
|
|
607
611
|
# **Aurora MySQL**
|
608
612
|
#
|
609
613
|
# See [MySQL on Amazon RDS Versions][1] in the *Amazon Aurora User
|
610
|
-
# Guide
|
614
|
+
# Guide*.
|
611
615
|
#
|
612
616
|
# **Aurora PostgreSQL**
|
613
617
|
#
|
614
618
|
# See [Amazon Aurora PostgreSQL releases and engine versions][2] in the
|
615
|
-
# *Amazon Aurora User Guide
|
619
|
+
# *Amazon Aurora User Guide*.
|
616
620
|
#
|
617
621
|
# **MySQL**
|
618
622
|
#
|
@@ -691,7 +695,7 @@ module Aws::RDS
|
|
691
695
|
# accounts. By default, mapping isn't enabled.
|
692
696
|
#
|
693
697
|
# For more information, see [ IAM Database Authentication][1] in the
|
694
|
-
# *Amazon Aurora User Guide
|
698
|
+
# *Amazon Aurora User Guide*.
|
695
699
|
#
|
696
700
|
# Valid for: Aurora DB clusters only
|
697
701
|
#
|
@@ -739,7 +743,7 @@ module Aws::RDS
|
|
739
743
|
#
|
740
744
|
# For more information about exporting CloudWatch Logs for Amazon RDS,
|
741
745
|
# see [Publishing Database Logs to Amazon CloudWatch Logs][1] in the
|
742
|
-
# *Amazon
|
746
|
+
# *Amazon RDS User Guide.*.
|
743
747
|
#
|
744
748
|
# For more information about exporting CloudWatch Logs for Amazon
|
745
749
|
# Aurora, see [Publishing Database Logs to Amazon CloudWatch Logs][2] in
|
@@ -893,6 +897,16 @@ module Aws::RDS
|
|
893
897
|
# attached to it, the DB cluster is public.
|
894
898
|
#
|
895
899
|
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
900
|
+
# @option options [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
|
901
|
+
# Contains the scaling configuration of an Aurora Serverless v2 DB
|
902
|
+
# cluster.
|
903
|
+
#
|
904
|
+
# For more information, see [Using Amazon Aurora Serverless v2][1] in
|
905
|
+
# the *Amazon Aurora User Guide*.
|
906
|
+
#
|
907
|
+
#
|
908
|
+
#
|
909
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
|
896
910
|
# @return [DBCluster]
|
897
911
|
def restore(options = {})
|
898
912
|
options = options.merge(snapshot_identifier: @snapshot_id)
|
@@ -661,8 +661,7 @@ module Aws::RDS
|
|
661
661
|
# start with the prefix `AWSRDSCustom`.
|
662
662
|
#
|
663
663
|
# For the list of permissions required for the IAM role, see [ Configure
|
664
|
-
# IAM and your VPC][1] in the *Amazon
|
665
|
-
# Guide*.
|
664
|
+
# IAM and your VPC][1] in the *Amazon RDS User Guide*.
|
666
665
|
#
|
667
666
|
#
|
668
667
|
#
|
@@ -1097,7 +1096,7 @@ module Aws::RDS
|
|
1097
1096
|
# db.m4.large. Not all DB instance classes are available in all Amazon
|
1098
1097
|
# Web Services Regions, or for all database engines. For the full list
|
1099
1098
|
# of DB instance classes, and availability for your engine, see [DB
|
1100
|
-
# Instance Class][1] in the *Amazon RDS User Guide
|
1099
|
+
# Instance Class][1] in the *Amazon RDS User Guide*.
|
1101
1100
|
#
|
1102
1101
|
#
|
1103
1102
|
#
|
@@ -1215,7 +1214,10 @@ module Aws::RDS
|
|
1215
1214
|
#
|
1216
1215
|
# **Amazon Aurora**
|
1217
1216
|
#
|
1218
|
-
#
|
1217
|
+
# Each Aurora DB cluster hosts copies of its storage in three separate
|
1218
|
+
# Availability Zones. Specify one of these Availability Zones. Aurora
|
1219
|
+
# automatically chooses an appropriate Availability Zone if you don't
|
1220
|
+
# specify one.
|
1219
1221
|
#
|
1220
1222
|
# Default: A random, system-chosen Availability Zone in the endpoint's
|
1221
1223
|
# Amazon Web Services Region.
|
@@ -1398,37 +1400,37 @@ module Aws::RDS
|
|
1398
1400
|
# setting is required for RDS Custom for Oracle. The CEV name has the
|
1399
1401
|
# following format: `19.customized_string `. An example identifier is
|
1400
1402
|
# `19.my_cev1`. For more information, see [ Creating an RDS Custom for
|
1401
|
-
# Oracle DB instance][1] in the *Amazon RDS User Guide
|
1403
|
+
# Oracle DB instance][1] in the *Amazon RDS User Guide*.
|
1402
1404
|
#
|
1403
1405
|
# **Amazon RDS Custom for SQL Server**
|
1404
1406
|
#
|
1405
1407
|
# See [RDS Custom for SQL Server general requirements][2] in the *Amazon
|
1406
|
-
# RDS User Guide
|
1408
|
+
# RDS User Guide*.
|
1407
1409
|
#
|
1408
1410
|
# **MariaDB**
|
1409
1411
|
#
|
1410
1412
|
# For information, see [MariaDB on Amazon RDS Versions][3] in the
|
1411
|
-
# *Amazon RDS User Guide
|
1413
|
+
# *Amazon RDS User Guide*.
|
1412
1414
|
#
|
1413
1415
|
# **Microsoft SQL Server**
|
1414
1416
|
#
|
1415
1417
|
# For information, see [Microsoft SQL Server Versions on Amazon RDS][4]
|
1416
|
-
# in the *Amazon RDS User Guide
|
1418
|
+
# in the *Amazon RDS User Guide*.
|
1417
1419
|
#
|
1418
1420
|
# **MySQL**
|
1419
1421
|
#
|
1420
1422
|
# For information, see [MySQL on Amazon RDS Versions][5] in the *Amazon
|
1421
|
-
# RDS User Guide
|
1423
|
+
# RDS User Guide*.
|
1422
1424
|
#
|
1423
1425
|
# **Oracle**
|
1424
1426
|
#
|
1425
1427
|
# For information, see [Oracle Database Engine Release Notes][6] in the
|
1426
|
-
# *Amazon RDS User Guide
|
1428
|
+
# *Amazon RDS User Guide*.
|
1427
1429
|
#
|
1428
1430
|
# **PostgreSQL**
|
1429
1431
|
#
|
1430
1432
|
# For information, see [Amazon RDS for PostgreSQL versions and
|
1431
|
-
# extensions][7] in the *Amazon RDS User Guide
|
1433
|
+
# extensions][7] in the *Amazon RDS User Guide*.
|
1432
1434
|
#
|
1433
1435
|
#
|
1434
1436
|
#
|
@@ -1674,7 +1676,7 @@ module Aws::RDS
|
|
1674
1676
|
# managed by the DB cluster.
|
1675
1677
|
#
|
1676
1678
|
# For more information, see [ IAM Database Authentication for MySQL and
|
1677
|
-
# PostgreSQL][1] in the *Amazon RDS User Guide
|
1679
|
+
# PostgreSQL][1] in the *Amazon RDS User Guide*.
|
1678
1680
|
#
|
1679
1681
|
#
|
1680
1682
|
#
|
@@ -1682,7 +1684,7 @@ module Aws::RDS
|
|
1682
1684
|
# @option options [Boolean] :enable_performance_insights
|
1683
1685
|
# A value that indicates whether to enable Performance Insights for the
|
1684
1686
|
# DB instance. For more information, see [Using Amazon Performance
|
1685
|
-
# Insights][1] in the *Amazon
|
1687
|
+
# Insights][1] in the *Amazon RDS User Guide*.
|
1686
1688
|
#
|
1687
1689
|
# This setting doesn't apply to RDS Custom.
|
1688
1690
|
#
|
@@ -1710,8 +1712,8 @@ module Aws::RDS
|
|
1710
1712
|
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
1711
1713
|
# The list of log types that need to be enabled for exporting to
|
1712
1714
|
# CloudWatch Logs. The values in the list depend on the DB engine. For
|
1713
|
-
# more information, see [Publishing Database Logs to Amazon CloudWatch
|
1714
|
-
# Logs][1] in the *Amazon
|
1715
|
+
# more information, see [ Publishing Database Logs to Amazon CloudWatch
|
1716
|
+
# Logs][1] in the *Amazon RDS User Guide*.
|
1715
1717
|
#
|
1716
1718
|
# **Amazon Aurora**
|
1717
1719
|
#
|
@@ -1813,8 +1815,7 @@ module Aws::RDS
|
|
1813
1815
|
# start with the prefix `AWSRDSCustom`.
|
1814
1816
|
#
|
1815
1817
|
# For the list of permissions required for the IAM role, see [ Configure
|
1816
|
-
# IAM and your VPC][1] in the *Amazon
|
1817
|
-
# Guide*.
|
1818
|
+
# IAM and your VPC][1] in the *Amazon RDS User Guide*.
|
1818
1819
|
#
|
1819
1820
|
# This setting is required for RDS Custom.
|
1820
1821
|
#
|
@@ -1901,7 +1902,7 @@ module Aws::RDS
|
|
1901
1902
|
# db.m4.large. Not all DB instance classes are available in all Amazon
|
1902
1903
|
# Web Services Regions, or for all database engines. For the full list
|
1903
1904
|
# of DB instance classes, and availability for your engine, see [DB
|
1904
|
-
# Instance Class][1] in the *Amazon RDS User Guide
|
1905
|
+
# Instance Class][1] in the *Amazon RDS User Guide*.
|
1905
1906
|
#
|
1906
1907
|
# Default: Inherits from the source DB instance.
|
1907
1908
|
#
|
@@ -2165,7 +2166,7 @@ module Aws::RDS
|
|
2165
2166
|
#
|
2166
2167
|
# For more information about IAM database authentication, see [ IAM
|
2167
2168
|
# Database Authentication for MySQL and PostgreSQL][1] in the *Amazon
|
2168
|
-
# RDS User Guide
|
2169
|
+
# RDS User Guide*.
|
2169
2170
|
#
|
2170
2171
|
# This setting doesn't apply to RDS Custom.
|
2171
2172
|
#
|
@@ -2301,8 +2302,7 @@ module Aws::RDS
|
|
2301
2302
|
# start with the prefix `AWSRDSCustom`.
|
2302
2303
|
#
|
2303
2304
|
# For the list of permissions required for the IAM role, see [ Configure
|
2304
|
-
# IAM and your VPC][1] in the *Amazon
|
2305
|
-
# Guide*.
|
2305
|
+
# IAM and your VPC][1] in the *Amazon RDS User Guide*.
|
2306
2306
|
#
|
2307
2307
|
# This setting is required for RDS Custom.
|
2308
2308
|
#
|
@@ -3066,7 +3066,7 @@ module Aws::RDS
|
|
3066
3066
|
# DB instance.
|
3067
3067
|
#
|
3068
3068
|
# For more information, see [Using Amazon Performance Insights][1] in
|
3069
|
-
# the *Amazon
|
3069
|
+
# the *Amazon RDS User Guide.*.
|
3070
3070
|
#
|
3071
3071
|
# This setting doesn't apply to RDS Custom.
|
3072
3072
|
#
|
@@ -3153,7 +3153,7 @@ module Aws::RDS
|
|
3153
3153
|
#
|
3154
3154
|
# * For more information about rotating your SSL/TLS certificate for
|
3155
3155
|
# Aurora DB engines, see [ Rotating Your SSL/TLS Certificate][2] in
|
3156
|
-
# the *Amazon Aurora User Guide
|
3156
|
+
# the *Amazon Aurora User Guide*.
|
3157
3157
|
#
|
3158
3158
|
# This setting doesn't apply to RDS Custom.
|
3159
3159
|
#
|
@@ -3389,7 +3389,7 @@ module Aws::RDS
|
|
3389
3389
|
# example db.m4.large. Not all DB instance classes are available in all
|
3390
3390
|
# Amazon Web Services Regions, or for all database engines. For the full
|
3391
3391
|
# list of DB instance classes, and availability for your engine, see [DB
|
3392
|
-
# Instance Class][1] in the *Amazon RDS User Guide
|
3392
|
+
# Instance Class][1] in the *Amazon RDS User Guide*.
|
3393
3393
|
#
|
3394
3394
|
# Default: The same DBInstanceClass as the original DB instance.
|
3395
3395
|
#
|
@@ -3685,8 +3685,7 @@ module Aws::RDS
|
|
3685
3685
|
# start with the prefix `AWSRDSCustom`.
|
3686
3686
|
#
|
3687
3687
|
# For the list of permissions required for the IAM role, see [ Configure
|
3688
|
-
# IAM and your VPC][1] in the *Amazon
|
3689
|
-
# Guide*.
|
3688
|
+
# IAM and your VPC][1] in the *Amazon RDS User Guide*.
|
3690
3689
|
#
|
3691
3690
|
# This setting is required for RDS Custom.
|
3692
3691
|
#
|
@@ -547,7 +547,7 @@ module Aws::RDS
|
|
547
547
|
# Encryption for Oracle or Microsoft SQL Server, you must specify this
|
548
548
|
# option when copying across Amazon Web Services Regions. For more
|
549
549
|
# information, see [Option group considerations][1] in the *Amazon RDS
|
550
|
-
# User Guide
|
550
|
+
# User Guide*.
|
551
551
|
#
|
552
552
|
#
|
553
553
|
#
|
data/lib/aws-sdk-rds/errors.rb
CHANGED
@@ -32,9 +32,7 @@ module Aws::RDS
|
|
32
32
|
# * {AuthorizationQuotaExceededFault}
|
33
33
|
# * {BackupPolicyNotFoundFault}
|
34
34
|
# * {CertificateNotFoundFault}
|
35
|
-
# * {CustomAvailabilityZoneAlreadyExistsFault}
|
36
35
|
# * {CustomAvailabilityZoneNotFoundFault}
|
37
|
-
# * {CustomAvailabilityZoneQuotaExceededFault}
|
38
36
|
# * {CustomDBEngineVersionAlreadyExistsFault}
|
39
37
|
# * {CustomDBEngineVersionNotFoundFault}
|
40
38
|
# * {CustomDBEngineVersionQuotaExceededFault}
|
@@ -93,8 +91,6 @@ module Aws::RDS
|
|
93
91
|
# * {GlobalClusterQuotaExceededFault}
|
94
92
|
# * {IamRoleMissingPermissionsFault}
|
95
93
|
# * {IamRoleNotFoundFault}
|
96
|
-
# * {InstallationMediaAlreadyExistsFault}
|
97
|
-
# * {InstallationMediaNotFoundFault}
|
98
94
|
# * {InstanceQuotaExceededFault}
|
99
95
|
# * {InsufficientAvailableIPsInSubnetFault}
|
100
96
|
# * {InsufficientDBClusterCapacityFault}
|
@@ -205,16 +201,6 @@ module Aws::RDS
|
|
205
201
|
end
|
206
202
|
end
|
207
203
|
|
208
|
-
class CustomAvailabilityZoneAlreadyExistsFault < ServiceError
|
209
|
-
|
210
|
-
# @param [Seahorse::Client::RequestContext] context
|
211
|
-
# @param [String] message
|
212
|
-
# @param [Aws::RDS::Types::CustomAvailabilityZoneAlreadyExistsFault] data
|
213
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
214
|
-
super(context, message, data)
|
215
|
-
end
|
216
|
-
end
|
217
|
-
|
218
204
|
class CustomAvailabilityZoneNotFoundFault < ServiceError
|
219
205
|
|
220
206
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -225,16 +211,6 @@ module Aws::RDS
|
|
225
211
|
end
|
226
212
|
end
|
227
213
|
|
228
|
-
class CustomAvailabilityZoneQuotaExceededFault < ServiceError
|
229
|
-
|
230
|
-
# @param [Seahorse::Client::RequestContext] context
|
231
|
-
# @param [String] message
|
232
|
-
# @param [Aws::RDS::Types::CustomAvailabilityZoneQuotaExceededFault] data
|
233
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
234
|
-
super(context, message, data)
|
235
|
-
end
|
236
|
-
end
|
237
|
-
|
238
214
|
class CustomDBEngineVersionAlreadyExistsFault < ServiceError
|
239
215
|
|
240
216
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -815,26 +791,6 @@ module Aws::RDS
|
|
815
791
|
end
|
816
792
|
end
|
817
793
|
|
818
|
-
class InstallationMediaAlreadyExistsFault < ServiceError
|
819
|
-
|
820
|
-
# @param [Seahorse::Client::RequestContext] context
|
821
|
-
# @param [String] message
|
822
|
-
# @param [Aws::RDS::Types::InstallationMediaAlreadyExistsFault] data
|
823
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
824
|
-
super(context, message, data)
|
825
|
-
end
|
826
|
-
end
|
827
|
-
|
828
|
-
class InstallationMediaNotFoundFault < ServiceError
|
829
|
-
|
830
|
-
# @param [Seahorse::Client::RequestContext] context
|
831
|
-
# @param [String] message
|
832
|
-
# @param [Aws::RDS::Types::InstallationMediaNotFoundFault] data
|
833
|
-
def initialize(context, message, data = Aws::EmptyStructure.new)
|
834
|
-
super(context, message, data)
|
835
|
-
end
|
836
|
-
end
|
837
|
-
|
838
794
|
class InstanceQuotaExceededFault < ServiceError
|
839
795
|
|
840
796
|
# @param [Seahorse::Client::RequestContext] context
|