aws-sdk-rds 1.230.0 → 1.232.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 +452 -21
- data/lib/aws-sdk-rds/client_api.rb +12 -0
- data/lib/aws-sdk-rds/db_cluster.rb +107 -6
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +37 -0
- data/lib/aws-sdk-rds/db_instance.rb +116 -5
- data/lib/aws-sdk-rds/db_snapshot.rb +61 -4
- data/lib/aws-sdk-rds/event_subscription.rb +6 -6
- data/lib/aws-sdk-rds/resource.rb +112 -10
- data/lib/aws-sdk-rds/types.rb +486 -33
- data/lib/aws-sdk-rds.rb +1 -1
- data/sig/client.rbs +16 -7
- data/sig/db_cluster.rbs +6 -1
- data/sig/db_cluster_snapshot.rbs +2 -1
- data/sig/db_instance.rbs +7 -2
- data/sig/db_snapshot.rbs +2 -1
- data/sig/resource.rbs +3 -1
- data/sig/types.rbs +12 -0
- metadata +2 -2
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -110,22 +110,28 @@ module Aws::RDS
|
|
110
110
|
# master_user_secret_kms_key_id: "String",
|
111
111
|
# enable_local_write_forwarding: false,
|
112
112
|
# ca_certificate_identifier: "String",
|
113
|
+
# engine_lifecycle_support: "String",
|
113
114
|
# source_region: "String",
|
114
115
|
# })
|
115
116
|
# @param [Hash] options ({})
|
116
117
|
# @option options [Array<String>] :availability_zones
|
117
|
-
# A list of Availability Zones (AZs) where
|
118
|
-
#
|
118
|
+
# A list of Availability Zones (AZs) where you specifically want to
|
119
|
+
# create DB instances in the DB cluster.
|
119
120
|
#
|
120
|
-
# For information on
|
121
|
-
# see [Choosing the Regions and Availability Zones][1] in the *Amazon
|
121
|
+
# For information on AZs, see [Availability Zones][1] in the *Amazon
|
122
122
|
# Aurora User Guide*.
|
123
123
|
#
|
124
124
|
# Valid for Cluster Type: Aurora DB clusters only
|
125
125
|
#
|
126
|
+
# Constraints:
|
127
|
+
#
|
128
|
+
# * Can't specify more than three AZs.
|
129
|
+
#
|
130
|
+
# ^
|
126
131
|
#
|
127
132
|
#
|
128
|
-
#
|
133
|
+
#
|
134
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html#Concepts.RegionsAndAvailabilityZones.AvailabilityZones
|
129
135
|
# @option options [Integer] :backup_retention_period
|
130
136
|
# The number of days for which automated backups are retained.
|
131
137
|
#
|
@@ -201,7 +207,22 @@ module Aws::RDS
|
|
201
207
|
#
|
202
208
|
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
203
209
|
#
|
204
|
-
# Valid Values:
|
210
|
+
# Valid Values:
|
211
|
+
#
|
212
|
+
# * `aurora-mysql`
|
213
|
+
#
|
214
|
+
# * `aurora-postgresql`
|
215
|
+
#
|
216
|
+
# * `mysql`
|
217
|
+
#
|
218
|
+
# * `postgres`
|
219
|
+
#
|
220
|
+
# * `neptune` - For information about using Amazon Neptune, see the [
|
221
|
+
# *Amazon Neptune User Guide* ][1].
|
222
|
+
#
|
223
|
+
#
|
224
|
+
#
|
225
|
+
# [1]: https://docs.aws.amazon.com/neptune/latest/userguide/intro.html
|
205
226
|
# @option options [String] :engine_version
|
206
227
|
# The version number of the database engine to use.
|
207
228
|
#
|
@@ -891,6 +912,41 @@ module Aws::RDS
|
|
891
912
|
#
|
892
913
|
#
|
893
914
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
|
915
|
+
# @option options [String] :engine_lifecycle_support
|
916
|
+
# The life cycle type for this DB cluster.
|
917
|
+
#
|
918
|
+
# <note markdown="1"> By default, this value is set to `open-source-rds-extended-support`,
|
919
|
+
# which enrolls your DB cluster into Amazon RDS Extended Support. At the
|
920
|
+
# end of standard support, you can avoid charges for Extended Support by
|
921
|
+
# setting the value to `open-source-rds-extended-support-disabled`. In
|
922
|
+
# this case, creating the DB cluster will fail if the DB major version
|
923
|
+
# is past its end of standard support date.
|
924
|
+
#
|
925
|
+
# </note>
|
926
|
+
#
|
927
|
+
# You can use this setting to enroll your DB cluster into Amazon RDS
|
928
|
+
# Extended Support. With RDS Extended Support, you can run the selected
|
929
|
+
# major engine version on your DB cluster past the end of standard
|
930
|
+
# support for that engine version. For more information, see the
|
931
|
+
# following sections:
|
932
|
+
#
|
933
|
+
# * Amazon Aurora (PostgreSQL only) - [Using Amazon RDS Extended
|
934
|
+
# Support][1] in the *Amazon Aurora User Guide*
|
935
|
+
#
|
936
|
+
# * Amazon RDS - [Using Amazon RDS Extended Support][2] in the *Amazon
|
937
|
+
# RDS User Guide*
|
938
|
+
#
|
939
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
940
|
+
#
|
941
|
+
# Valid Values: `open-source-rds-extended-support |
|
942
|
+
# open-source-rds-extended-support-disabled`
|
943
|
+
#
|
944
|
+
# Default: `open-source-rds-extended-support`
|
945
|
+
#
|
946
|
+
#
|
947
|
+
#
|
948
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html
|
949
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
|
894
950
|
# @option options [String] :source_region
|
895
951
|
# The source region of the snapshot. This is only needed when the
|
896
952
|
# shapshot is encrypted and in a different region.
|
@@ -1072,6 +1128,7 @@ module Aws::RDS
|
|
1072
1128
|
# db_system_id: "String",
|
1073
1129
|
# dedicated_log_volume: false,
|
1074
1130
|
# multi_tenant: false,
|
1131
|
+
# engine_lifecycle_support: "String",
|
1075
1132
|
# })
|
1076
1133
|
# @param [Hash] options ({})
|
1077
1134
|
# @option options [String] :db_name
|
@@ -1687,12 +1744,22 @@ module Aws::RDS
|
|
1687
1744
|
# @option options [String] :license_model
|
1688
1745
|
# The license model information for this DB instance.
|
1689
1746
|
#
|
1747
|
+
# <note markdown="1"> License models for RDS for Db2 require additional configuration. The
|
1748
|
+
# Bring Your Own License (BYOL) model requires a custom parameter group.
|
1749
|
+
# The Db2 license through Amazon Web Services Marketplace model requires
|
1750
|
+
# an Amazon Web Services Marketplace subscription. For more information,
|
1751
|
+
# see [RDS for Db2 licensing options][1] in the *Amazon RDS User Guide*.
|
1752
|
+
#
|
1753
|
+
# The default for RDS for Db2 is `bring-your-own-license`.
|
1754
|
+
#
|
1755
|
+
# </note>
|
1756
|
+
#
|
1690
1757
|
# This setting doesn't apply to Amazon Aurora or RDS Custom DB
|
1691
1758
|
# instances.
|
1692
1759
|
#
|
1693
1760
|
# Valid Values:
|
1694
1761
|
#
|
1695
|
-
# * RDS for Db2 - `bring-your-own-license`
|
1762
|
+
# * RDS for Db2 - `bring-your-own-license | marketplace-license`
|
1696
1763
|
#
|
1697
1764
|
# * RDS for MariaDB - `general-public-license`
|
1698
1765
|
#
|
@@ -1703,6 +1770,10 @@ module Aws::RDS
|
|
1703
1770
|
# * RDS for Oracle - `bring-your-own-license | license-included`
|
1704
1771
|
#
|
1705
1772
|
# * RDS for PostgreSQL - `postgresql-license`
|
1773
|
+
#
|
1774
|
+
#
|
1775
|
+
#
|
1776
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html
|
1706
1777
|
# @option options [Integer] :iops
|
1707
1778
|
# The amount of Provisioned IOPS (input/output operations per second) to
|
1708
1779
|
# initially allocate for the DB instance. For information about valid
|
@@ -2257,6 +2328,37 @@ module Aws::RDS
|
|
2257
2328
|
# * If you specify the multi-tenant configuration when you create your
|
2258
2329
|
# DB instance, you can't later modify this DB instance to use the
|
2259
2330
|
# single-tenant configuration.
|
2331
|
+
# @option options [String] :engine_lifecycle_support
|
2332
|
+
# The life cycle type for this DB instance.
|
2333
|
+
#
|
2334
|
+
# <note markdown="1"> By default, this value is set to `open-source-rds-extended-support`,
|
2335
|
+
# which enrolls your DB instance into Amazon RDS Extended Support. At
|
2336
|
+
# the end of standard support, you can avoid charges for Extended
|
2337
|
+
# Support by setting the value to
|
2338
|
+
# `open-source-rds-extended-support-disabled`. In this case, creating
|
2339
|
+
# the DB instance will fail if the DB major version is past its end of
|
2340
|
+
# standard support date.
|
2341
|
+
#
|
2342
|
+
# </note>
|
2343
|
+
#
|
2344
|
+
# This setting applies only to RDS for MySQL and RDS for PostgreSQL. For
|
2345
|
+
# Amazon Aurora DB instances, the life cycle type is managed by the DB
|
2346
|
+
# cluster.
|
2347
|
+
#
|
2348
|
+
# You can use this setting to enroll your DB instance into Amazon RDS
|
2349
|
+
# Extended Support. With RDS Extended Support, you can run the selected
|
2350
|
+
# major engine version on your DB instance past the end of standard
|
2351
|
+
# support for that engine version. For more information, see [Using
|
2352
|
+
# Amazon RDS Extended Support][1] in the *Amazon RDS User Guide*.
|
2353
|
+
#
|
2354
|
+
# Valid Values: `open-source-rds-extended-support |
|
2355
|
+
# open-source-rds-extended-support-disabled`
|
2356
|
+
#
|
2357
|
+
# Default: `open-source-rds-extended-support`
|
2358
|
+
#
|
2359
|
+
#
|
2360
|
+
#
|
2361
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
|
2260
2362
|
# @return [DBInstance]
|
2261
2363
|
def create_db_instance(options = {})
|
2262
2364
|
resp = Aws::Plugins::UserAgent.feature('resource') do
|
@@ -2495,9 +2597,9 @@ module Aws::RDS
|
|
2495
2597
|
# parameter to `db-instance`. For RDS Proxy events, specify `db-proxy`.
|
2496
2598
|
# If this value isn't specified, all events are returned.
|
2497
2599
|
#
|
2498
|
-
# Valid Values
|
2499
|
-
#
|
2500
|
-
#
|
2600
|
+
# Valid Values:` db-instance | db-cluster | db-parameter-group |
|
2601
|
+
# db-security-group | db-snapshot | db-cluster-snapshot | db-proxy |
|
2602
|
+
# zero-etl | custom-engine-version | blue-green-deployment `
|
2501
2603
|
# @option options [Array<String>] :event_categories
|
2502
2604
|
# A list of event categories for a particular source type (`SourceType`)
|
2503
2605
|
# that you want to subscribe to. You can see a list of the categories
|