aws-sdk-rds 1.106.0 → 1.111.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/lib/aws-sdk-rds.rb +1 -1
- data/lib/aws-sdk-rds/client.rb +828 -211
- data/lib/aws-sdk-rds/client_api.rb +78 -5
- data/lib/aws-sdk-rds/db_cluster.rb +39 -31
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +23 -22
- data/lib/aws-sdk-rds/db_instance.rb +229 -72
- data/lib/aws-sdk-rds/db_snapshot.rb +39 -17
- data/lib/aws-sdk-rds/option_group.rb +24 -0
- data/lib/aws-sdk-rds/plugins/cross_region_copying.rb +11 -12
- data/lib/aws-sdk-rds/resource.rb +170 -51
- data/lib/aws-sdk-rds/types.rb +837 -257
- metadata +2 -2
@@ -174,6 +174,9 @@ module Aws::RDS
|
|
174
174
|
|
175
175
|
# If `Encrypted` is true, the AWS KMS key identifier for the encrypted
|
176
176
|
# DB snapshot.
|
177
|
+
#
|
178
|
+
# The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias
|
179
|
+
# name for the AWS KMS customer master key (CMK).
|
177
180
|
# @return [String]
|
178
181
|
def kms_key_id
|
179
182
|
data[:kms_key_id]
|
@@ -426,14 +429,14 @@ module Aws::RDS
|
|
426
429
|
#
|
427
430
|
# Example: `my-db-snapshot`
|
428
431
|
# @option options [String] :kms_key_id
|
429
|
-
# The AWS KMS key
|
430
|
-
#
|
431
|
-
#
|
432
|
+
# The AWS KMS key identifier for an encrypted DB snapshot. The AWS KMS
|
433
|
+
# key identifier is the key ARN, key ID, alias ARN, or alias name for
|
434
|
+
# the AWS KMS customer master key (CMK).
|
432
435
|
#
|
433
436
|
# If you copy an encrypted DB snapshot from your AWS account, you can
|
434
|
-
# specify a value for this parameter to encrypt the copy with a new
|
435
|
-
#
|
436
|
-
#
|
437
|
+
# specify a value for this parameter to encrypt the copy with a new AWS
|
438
|
+
# KMS CMK. If you don't specify a value for this parameter, then the
|
439
|
+
# copy of the DB snapshot is encrypted with the same AWS KMS key as the
|
437
440
|
# source DB snapshot.
|
438
441
|
#
|
439
442
|
# If you copy an encrypted DB snapshot that is shared from another AWS
|
@@ -443,9 +446,9 @@ module Aws::RDS
|
|
443
446
|
# the copy is encrypted.
|
444
447
|
#
|
445
448
|
# If you copy an encrypted snapshot to a different AWS Region, then you
|
446
|
-
# must specify a KMS key for the destination AWS Region.
|
447
|
-
#
|
448
|
-
# can't use
|
449
|
+
# must specify a AWS KMS key identifier for the destination AWS Region.
|
450
|
+
# AWS KMS CMKs are specific to the AWS Region that they are created in,
|
451
|
+
# and you can't use CMKs from one AWS Region in another AWS Region.
|
449
452
|
# @option options [Array<Types::Tag>] :tags
|
450
453
|
# A list of tags. For more information, see [Tagging Amazon RDS
|
451
454
|
# Resources][1] in the *Amazon RDS User Guide.*
|
@@ -482,11 +485,11 @@ module Aws::RDS
|
|
482
485
|
# the us-west-2 AWS Region. For this example, the `DestinationRegion`
|
483
486
|
# in the presigned URL must be set to the us-east-1 AWS Region.
|
484
487
|
#
|
485
|
-
# * `KmsKeyId` - The AWS KMS key identifier for the
|
486
|
-
# encrypt the copy of the DB snapshot in the
|
487
|
-
# This is the same identifier for both the
|
488
|
-
# that is called in the destination AWS
|
489
|
-
# contained in the presigned URL.
|
488
|
+
# * `KmsKeyId` - The AWS KMS key identifier for the customer master key
|
489
|
+
# (CMK) to use to encrypt the copy of the DB snapshot in the
|
490
|
+
# destination AWS Region. This is the same identifier for both the
|
491
|
+
# `CopyDBSnapshot` action that is called in the destination AWS
|
492
|
+
# Region, and the action contained in the presigned URL.
|
490
493
|
#
|
491
494
|
# * `SourceDBSnapshotIdentifier` - The DB snapshot identifier for the
|
492
495
|
# encrypted snapshot to be copied. This identifier must be in the
|
@@ -520,8 +523,8 @@ module Aws::RDS
|
|
520
523
|
# to another, and your DB instance uses a nondefault option group. If
|
521
524
|
# your source DB instance uses Transparent Data Encryption for Oracle or
|
522
525
|
# Microsoft SQL Server, you must specify this option when copying across
|
523
|
-
# AWS Regions. For more information, see [Option
|
524
|
-
#
|
526
|
+
# AWS Regions. For more information, see [Option group
|
527
|
+
# considerations][1] in the *Amazon RDS User Guide.*
|
525
528
|
#
|
526
529
|
#
|
527
530
|
#
|
@@ -531,7 +534,6 @@ module Aws::RDS
|
|
531
534
|
# CAZ.
|
532
535
|
#
|
533
536
|
# Example: `rds-caz-aiqhTgQv`.
|
534
|
-
# @option options [String] :destination_region
|
535
537
|
# @option options [String] :source_region
|
536
538
|
# The source region of the snapshot. This is only needed when the
|
537
539
|
# shapshot is encrypted and in a different region.
|
@@ -603,6 +605,7 @@ module Aws::RDS
|
|
603
605
|
# use_default_processor_features: false,
|
604
606
|
# db_parameter_group_name: "String",
|
605
607
|
# deletion_protection: false,
|
608
|
+
# enable_customer_owned_ip: false,
|
606
609
|
# })
|
607
610
|
# @param [Hash] options ({})
|
608
611
|
# @option options [required, String] :db_instance_identifier
|
@@ -843,6 +846,25 @@ module Aws::RDS
|
|
843
846
|
#
|
844
847
|
#
|
845
848
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
849
|
+
# @option options [Boolean] :enable_customer_owned_ip
|
850
|
+
# A value that indicates whether to enable a customer-owned IP address
|
851
|
+
# (CoIP) for an RDS on Outposts DB instance.
|
852
|
+
#
|
853
|
+
# A *CoIP* provides local or external connectivity to resources in your
|
854
|
+
# Outpost subnets through your on-premises network. For some use cases,
|
855
|
+
# a CoIP can provide lower latency for connections to the DB instance
|
856
|
+
# from outside of its virtual private cloud (VPC) on your local network.
|
857
|
+
#
|
858
|
+
# For more information about RDS on Outposts, see [Working with Amazon
|
859
|
+
# RDS on AWS Outposts][1] in the *Amazon RDS User Guide*.
|
860
|
+
#
|
861
|
+
# For more information about CoIPs, see [Customer-owned IP addresses][2]
|
862
|
+
# in the *AWS Outposts User Guide*.
|
863
|
+
#
|
864
|
+
#
|
865
|
+
#
|
866
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
|
867
|
+
# [2]: https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing
|
846
868
|
# @return [DBInstance]
|
847
869
|
def restore(options = {})
|
848
870
|
options = options.merge(db_snapshot_identifier: @snapshot_id)
|
@@ -236,6 +236,30 @@ module Aws::RDS
|
|
236
236
|
# @option options [required, String] :engine_name
|
237
237
|
# Specifies the name of the engine that this option group should be
|
238
238
|
# associated with.
|
239
|
+
#
|
240
|
+
# Valid Values:
|
241
|
+
#
|
242
|
+
# * `mariadb`
|
243
|
+
#
|
244
|
+
# * `mysql`
|
245
|
+
#
|
246
|
+
# * `oracle-ee`
|
247
|
+
#
|
248
|
+
# * `oracle-se2`
|
249
|
+
#
|
250
|
+
# * `oracle-se1`
|
251
|
+
#
|
252
|
+
# * `oracle-se`
|
253
|
+
#
|
254
|
+
# * `postgres`
|
255
|
+
#
|
256
|
+
# * `sqlserver-ee`
|
257
|
+
#
|
258
|
+
# * `sqlserver-se`
|
259
|
+
#
|
260
|
+
# * `sqlserver-ex`
|
261
|
+
#
|
262
|
+
# * `sqlserver-web`
|
239
263
|
# @option options [required, String] :major_engine_version
|
240
264
|
# Specifies the major version of the engine that this option group
|
241
265
|
# should be associated with.
|
@@ -5,28 +5,26 @@ require 'aws-sigv4'
|
|
5
5
|
module Aws
|
6
6
|
module RDS
|
7
7
|
module Plugins
|
8
|
-
|
9
|
-
#
|
10
|
-
# CopyDBSnapshot API.
|
8
|
+
# This plugin populates the `:pre_signed_url` request param for APIs
|
9
|
+
# that support cross region copying.
|
11
10
|
#
|
12
11
|
# This parameter is required by RDS when copying an encrypted snapshot
|
13
12
|
# across regions. This plugin will be skipped if the `:pre_signed_url`
|
14
13
|
# parameter is provided by the user.
|
15
14
|
class CrossRegionCopying < Seahorse::Client::Plugin
|
16
|
-
|
17
15
|
# @api private
|
18
16
|
class Handler < Seahorse::Client::Handler
|
19
|
-
|
20
17
|
def call(context)
|
21
18
|
params = context.params
|
22
|
-
if params.is_a?(Hash) &&
|
19
|
+
if params.is_a?(Hash) &&
|
20
|
+
params[:source_region] && !params[:pre_signed_url]
|
23
21
|
params[:pre_signed_url] = presigned_url(context, params)
|
24
|
-
params[:destination_region] = context.config.region
|
25
22
|
end
|
26
23
|
@handler.call(context)
|
27
24
|
end
|
28
25
|
|
29
26
|
private
|
27
|
+
|
30
28
|
def presigned_url(context, params)
|
31
29
|
# :source_region is not modeled in the api
|
32
30
|
source_region = params.delete(:source_region)
|
@@ -43,12 +41,13 @@ module Aws
|
|
43
41
|
region: source_region,
|
44
42
|
credentials_provider: context.config.credentials
|
45
43
|
)
|
46
|
-
url = Aws::Partitions::EndpointProvider.resolve(
|
47
|
-
|
44
|
+
url = Aws::Partitions::EndpointProvider.resolve(
|
45
|
+
signer.region, 'rds'
|
46
|
+
)
|
47
|
+
url += "?#{param_list}"
|
48
48
|
signer.presign_url(
|
49
49
|
http_method: 'GET',
|
50
50
|
url: url,
|
51
|
-
body: '',
|
52
51
|
expires_in: 3600
|
53
52
|
).to_s
|
54
53
|
end
|
@@ -61,10 +60,10 @@ module Aws
|
|
61
60
|
:copy_db_snapshot,
|
62
61
|
:create_db_instance_read_replica,
|
63
62
|
:copy_db_cluster_snapshot,
|
64
|
-
:create_db_cluster
|
63
|
+
:create_db_cluster,
|
64
|
+
:start_db_instance_automated_backups_replication
|
65
65
|
]
|
66
66
|
)
|
67
|
-
|
68
67
|
end
|
69
68
|
end
|
70
69
|
end
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -258,30 +258,27 @@ module Aws::RDS
|
|
258
258
|
# @option options [String] :kms_key_id
|
259
259
|
# The AWS KMS key identifier for an encrypted DB cluster.
|
260
260
|
#
|
261
|
-
# The KMS key identifier is the
|
262
|
-
#
|
263
|
-
# account
|
264
|
-
# cluster, then you can use the KMS key alias instead of the ARN for the
|
265
|
-
# KMS encryption key.
|
261
|
+
# The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias
|
262
|
+
# name for the AWS KMS customer master key (CMK). To use a CMK in a
|
263
|
+
# different AWS account, specify the key ARN or alias ARN.
|
266
264
|
#
|
267
|
-
#
|
265
|
+
# When a CMK isn't specified in `KmsKeyId`\:
|
268
266
|
#
|
269
267
|
# * If `ReplicationSourceIdentifier` identifies an encrypted source,
|
270
|
-
# then Amazon RDS will use the
|
271
|
-
#
|
268
|
+
# then Amazon RDS will use the CMK used to encrypt the source.
|
269
|
+
# Otherwise, Amazon RDS will use your default CMK.
|
272
270
|
#
|
273
271
|
# * If the `StorageEncrypted` parameter is enabled and
|
274
272
|
# `ReplicationSourceIdentifier` isn't specified, then Amazon RDS will
|
275
|
-
# use your default
|
273
|
+
# use your default CMK.
|
276
274
|
#
|
277
|
-
#
|
278
|
-
#
|
279
|
-
# Region.
|
275
|
+
# There is a default CMK for your AWS account. Your AWS account has a
|
276
|
+
# different default CMK for each AWS Region.
|
280
277
|
#
|
281
278
|
# If you create a read replica of an encrypted DB cluster in another AWS
|
282
|
-
# Region, you must set `KmsKeyId` to a KMS key
|
283
|
-
# destination AWS Region. This
|
284
|
-
# in that AWS Region.
|
279
|
+
# Region, you must set `KmsKeyId` to a AWS KMS key identifier that is
|
280
|
+
# valid in the destination AWS Region. This CMK is used to encrypt the
|
281
|
+
# read replica in that AWS Region.
|
285
282
|
# @option options [String] :pre_signed_url
|
286
283
|
# A URL that contains a Signature Version 4 signed request for the
|
287
284
|
# `CreateDBCluster` action to be called in the source AWS Region where
|
@@ -298,9 +295,9 @@ module Aws::RDS
|
|
298
295
|
#
|
299
296
|
# * `KmsKeyId` - The AWS KMS key identifier for the key to use to
|
300
297
|
# encrypt the copy of the DB cluster in the destination AWS Region.
|
301
|
-
# This should refer to the same KMS
|
302
|
-
# action that is called in the destination AWS
|
303
|
-
# contained in the pre-signed URL.
|
298
|
+
# This should refer to the same AWS KMS CMK for both the
|
299
|
+
# `CreateDBCluster` action that is called in the destination AWS
|
300
|
+
# Region, and the action contained in the pre-signed URL.
|
304
301
|
#
|
305
302
|
# * `DestinationRegion` - The name of the AWS Region that Aurora read
|
306
303
|
# replica will be created in.
|
@@ -374,7 +371,7 @@ module Aws::RDS
|
|
374
371
|
#
|
375
372
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
376
373
|
# @option options [String] :engine_mode
|
377
|
-
# The DB engine mode of the DB cluster, either `provisioned
|
374
|
+
# The DB engine mode of the DB cluster, either `provisioned`,
|
378
375
|
# `serverless`, `parallelquery`, `global`, or `multimaster`.
|
379
376
|
#
|
380
377
|
# The `parallelquery` engine mode isn't required for Aurora MySQL
|
@@ -460,7 +457,6 @@ module Aws::RDS
|
|
460
457
|
# This parameter only applies to DB clusters that are secondary clusters
|
461
458
|
# in an Aurora global database. By default, Aurora disallows write
|
462
459
|
# operations for secondary clusters.
|
463
|
-
# @option options [String] :destination_region
|
464
460
|
# @option options [String] :source_region
|
465
461
|
# The source region of the snapshot. This is only needed when the
|
466
462
|
# shapshot is encrypted and in a different region.
|
@@ -588,6 +584,7 @@ module Aws::RDS
|
|
588
584
|
# ],
|
589
585
|
# deletion_protection: false,
|
590
586
|
# max_allocated_storage: 1,
|
587
|
+
# enable_customer_owned_ip: false,
|
591
588
|
# })
|
592
589
|
# @param [Hash] options ({})
|
593
590
|
# @option options [String] :db_name
|
@@ -627,7 +624,7 @@ module Aws::RDS
|
|
627
624
|
# **PostgreSQL**
|
628
625
|
#
|
629
626
|
# The name of the database to create when the DB instance is created. If
|
630
|
-
# this parameter isn't specified,
|
627
|
+
# this parameter isn't specified, a database named `postgres` is
|
631
628
|
# created in the DB instance.
|
632
629
|
#
|
633
630
|
# Constraints:
|
@@ -657,17 +654,34 @@ module Aws::RDS
|
|
657
654
|
#
|
658
655
|
# Not applicable. Must be null.
|
659
656
|
#
|
660
|
-
# **Amazon Aurora**
|
657
|
+
# **Amazon Aurora MySQL**
|
661
658
|
#
|
662
|
-
# The name of the database to create when the primary instance of the
|
663
|
-
# cluster is created. If this parameter isn't specified
|
664
|
-
# created in the DB
|
659
|
+
# The name of the database to create when the primary DB instance of the
|
660
|
+
# Aurora MySQL DB cluster is created. If this parameter isn't specified
|
661
|
+
# for an Aurora MySQL DB cluster, no database is created in the DB
|
662
|
+
# cluster.
|
665
663
|
#
|
666
664
|
# Constraints:
|
667
665
|
#
|
668
|
-
# *
|
666
|
+
# * It must contain 1 to 64 alphanumeric characters.
|
669
667
|
#
|
670
|
-
# *
|
668
|
+
# * It can't be a word reserved by the database engine.
|
669
|
+
#
|
670
|
+
# **Amazon Aurora PostgreSQL**
|
671
|
+
#
|
672
|
+
# The name of the database to create when the primary DB instance of the
|
673
|
+
# Aurora PostgreSQL DB cluster is created. If this parameter isn't
|
674
|
+
# specified for an Aurora PostgreSQL DB cluster, a database named
|
675
|
+
# `postgres` is created in the DB cluster.
|
676
|
+
#
|
677
|
+
# Constraints:
|
678
|
+
#
|
679
|
+
# * It must contain 1 to 63 alphanumeric characters.
|
680
|
+
#
|
681
|
+
# * It must begin with a letter or an underscore. Subsequent characters
|
682
|
+
# can be letters, underscores, or digits (0 to 9).
|
683
|
+
#
|
684
|
+
# * It can't be a word reserved by the database engine.
|
671
685
|
# @option options [required, String] :db_instance_identifier
|
672
686
|
# The DB instance identifier. This parameter is stored as a lowercase
|
673
687
|
# string.
|
@@ -939,8 +953,8 @@ module Aws::RDS
|
|
939
953
|
# specify the identifier of the custom Availability Zone to create the
|
940
954
|
# DB instance in.
|
941
955
|
#
|
942
|
-
# For more information about RDS on VMware, see the [
|
943
|
-
#
|
956
|
+
# For more information about RDS on VMware, see the [ RDS on VMware User
|
957
|
+
# Guide.][2]
|
944
958
|
#
|
945
959
|
# </note>
|
946
960
|
#
|
@@ -1116,8 +1130,8 @@ module Aws::RDS
|
|
1116
1130
|
#
|
1117
1131
|
# **PostgreSQL**
|
1118
1132
|
#
|
1119
|
-
# See [
|
1120
|
-
# User Guide.*
|
1133
|
+
# See [Amazon RDS for PostgreSQL versions and extensions][5] in the
|
1134
|
+
# *Amazon RDS User Guide.*
|
1121
1135
|
#
|
1122
1136
|
#
|
1123
1137
|
#
|
@@ -1125,7 +1139,7 @@ module Aws::RDS
|
|
1125
1139
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport
|
1126
1140
|
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt
|
1127
1141
|
# [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html
|
1128
|
-
# [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts
|
1142
|
+
# [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts
|
1129
1143
|
# @option options [Boolean] :auto_minor_version_upgrade
|
1130
1144
|
# A value that indicates whether minor engine upgrades are applied
|
1131
1145
|
# automatically to the DB instance during the maintenance window. By
|
@@ -1150,8 +1164,8 @@ module Aws::RDS
|
|
1150
1164
|
#
|
1151
1165
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS
|
1152
1166
|
# @option options [String] :option_group_name
|
1153
|
-
#
|
1154
|
-
# option group.
|
1167
|
+
# A value that indicates that the DB instance should be associated with
|
1168
|
+
# the specified option group.
|
1155
1169
|
#
|
1156
1170
|
# Permanent options, such as the TDE option for Oracle Advanced Security
|
1157
1171
|
# TDE, can't be removed from an option group. Also, that option group
|
@@ -1230,22 +1244,19 @@ module Aws::RDS
|
|
1230
1244
|
# @option options [String] :kms_key_id
|
1231
1245
|
# The AWS KMS key identifier for an encrypted DB instance.
|
1232
1246
|
#
|
1233
|
-
# The KMS key identifier is the
|
1234
|
-
#
|
1235
|
-
# account
|
1236
|
-
# instance, then you can use the KMS key alias instead of the ARN for
|
1237
|
-
# the KM encryption key.
|
1247
|
+
# The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias
|
1248
|
+
# name for the AWS KMS customer master key (CMK). To use a CMK in a
|
1249
|
+
# different AWS account, specify the key ARN or alias ARN.
|
1238
1250
|
#
|
1239
1251
|
# **Amazon Aurora**
|
1240
1252
|
#
|
1241
|
-
# Not applicable. The KMS key identifier is managed by the DB
|
1242
|
-
# For more information, see `CreateDBCluster`.
|
1253
|
+
# Not applicable. The AWS KMS key identifier is managed by the DB
|
1254
|
+
# cluster. For more information, see `CreateDBCluster`.
|
1243
1255
|
#
|
1244
1256
|
# If `StorageEncrypted` is enabled, and you do not specify a value for
|
1245
|
-
# the `KmsKeyId` parameter, then Amazon RDS
|
1246
|
-
#
|
1247
|
-
#
|
1248
|
-
# for each AWS Region.
|
1257
|
+
# the `KmsKeyId` parameter, then Amazon RDS uses your default CMK. There
|
1258
|
+
# is a default CMK for your AWS account. Your AWS account has a
|
1259
|
+
# different default CMK for each AWS Region.
|
1249
1260
|
# @option options [String] :domain
|
1250
1261
|
# The Active Directory directory ID to create the DB instance in.
|
1251
1262
|
# Currently, only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB
|
@@ -1337,13 +1348,15 @@ module Aws::RDS
|
|
1337
1348
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html
|
1338
1349
|
# @option options [String] :performance_insights_kms_key_id
|
1339
1350
|
# The AWS KMS key identifier for encryption of Performance Insights
|
1340
|
-
# data.
|
1341
|
-
#
|
1351
|
+
# data.
|
1352
|
+
#
|
1353
|
+
# The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias
|
1354
|
+
# name for the AWS KMS customer master key (CMK).
|
1342
1355
|
#
|
1343
1356
|
# If you do not specify a value for `PerformanceInsightsKMSKeyId`, then
|
1344
|
-
# Amazon RDS uses your default
|
1345
|
-
#
|
1346
|
-
#
|
1357
|
+
# Amazon RDS uses your default CMK. There is a default CMK for your AWS
|
1358
|
+
# account. Your AWS account has a different default CMK for each AWS
|
1359
|
+
# Region.
|
1347
1360
|
# @option options [Integer] :performance_insights_retention_period
|
1348
1361
|
# The amount of time, in days, to retain Performance Insights data.
|
1349
1362
|
# Valid values are 7 or 731 (2 years).
|
@@ -1372,7 +1385,8 @@ module Aws::RDS
|
|
1372
1385
|
#
|
1373
1386
|
# **Oracle**
|
1374
1387
|
#
|
1375
|
-
# Possible values are `alert`, `audit`, `listener`,
|
1388
|
+
# Possible values are `alert`, `audit`, `listener`, `trace`, and
|
1389
|
+
# `oemagent`.
|
1376
1390
|
#
|
1377
1391
|
# **PostgreSQL**
|
1378
1392
|
#
|
@@ -1403,6 +1417,33 @@ module Aws::RDS
|
|
1403
1417
|
# @option options [Integer] :max_allocated_storage
|
1404
1418
|
# The upper limit to which Amazon RDS can automatically scale the
|
1405
1419
|
# storage of the DB instance.
|
1420
|
+
#
|
1421
|
+
# For more information about this setting, including limitations that
|
1422
|
+
# apply to it, see [ Managing capacity automatically with Amazon RDS
|
1423
|
+
# storage autoscaling][1] in the *Amazon RDS User Guide*.
|
1424
|
+
#
|
1425
|
+
#
|
1426
|
+
#
|
1427
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling
|
1428
|
+
# @option options [Boolean] :enable_customer_owned_ip
|
1429
|
+
# A value that indicates whether to enable a customer-owned IP address
|
1430
|
+
# (CoIP) for an RDS on Outposts DB instance.
|
1431
|
+
#
|
1432
|
+
# A *CoIP* provides local or external connectivity to resources in your
|
1433
|
+
# Outpost subnets through your on-premises network. For some use cases,
|
1434
|
+
# a CoIP can provide lower latency for connections to the DB instance
|
1435
|
+
# from outside of its virtual private cloud (VPC) on your local network.
|
1436
|
+
#
|
1437
|
+
# For more information about RDS on Outposts, see [Working with Amazon
|
1438
|
+
# RDS on AWS Outposts][1] in the *Amazon RDS User Guide*.
|
1439
|
+
#
|
1440
|
+
# For more information about CoIPs, see [Customer-owned IP addresses][2]
|
1441
|
+
# in the *AWS Outposts User Guide*.
|
1442
|
+
#
|
1443
|
+
#
|
1444
|
+
#
|
1445
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
|
1446
|
+
# [2]: https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing
|
1406
1447
|
# @return [DBInstance]
|
1407
1448
|
def create_db_instance(options = {})
|
1408
1449
|
resp = @client.create_db_instance(options)
|
@@ -1672,6 +1713,30 @@ module Aws::RDS
|
|
1672
1713
|
# @option options [required, String] :engine_name
|
1673
1714
|
# Specifies the name of the engine that this option group should be
|
1674
1715
|
# associated with.
|
1716
|
+
#
|
1717
|
+
# Valid Values:
|
1718
|
+
#
|
1719
|
+
# * `mariadb`
|
1720
|
+
#
|
1721
|
+
# * `mysql`
|
1722
|
+
#
|
1723
|
+
# * `oracle-ee`
|
1724
|
+
#
|
1725
|
+
# * `oracle-se2`
|
1726
|
+
#
|
1727
|
+
# * `oracle-se1`
|
1728
|
+
#
|
1729
|
+
# * `oracle-se`
|
1730
|
+
#
|
1731
|
+
# * `postgres`
|
1732
|
+
#
|
1733
|
+
# * `sqlserver-ee`
|
1734
|
+
#
|
1735
|
+
# * `sqlserver-se`
|
1736
|
+
#
|
1737
|
+
# * `sqlserver-ex`
|
1738
|
+
#
|
1739
|
+
# * `sqlserver-web`
|
1675
1740
|
# @option options [required, String] :major_engine_version
|
1676
1741
|
# Specifies the major version of the engine that this option group
|
1677
1742
|
# should be associated with.
|
@@ -1920,6 +1985,36 @@ module Aws::RDS
|
|
1920
1985
|
# @param [Hash] options ({})
|
1921
1986
|
# @option options [String] :engine
|
1922
1987
|
# The database engine to return.
|
1988
|
+
#
|
1989
|
+
# Valid Values:
|
1990
|
+
#
|
1991
|
+
# * `aurora` (for MySQL 5.6-compatible Aurora)
|
1992
|
+
#
|
1993
|
+
# * `aurora-mysql` (for MySQL 5.7-compatible Aurora)
|
1994
|
+
#
|
1995
|
+
# * `aurora-postgresql`
|
1996
|
+
#
|
1997
|
+
# * `mariadb`
|
1998
|
+
#
|
1999
|
+
# * `mysql`
|
2000
|
+
#
|
2001
|
+
# * `oracle-ee`
|
2002
|
+
#
|
2003
|
+
# * `oracle-se2`
|
2004
|
+
#
|
2005
|
+
# * `oracle-se1`
|
2006
|
+
#
|
2007
|
+
# * `oracle-se`
|
2008
|
+
#
|
2009
|
+
# * `postgres`
|
2010
|
+
#
|
2011
|
+
# * `sqlserver-ee`
|
2012
|
+
#
|
2013
|
+
# * `sqlserver-se`
|
2014
|
+
#
|
2015
|
+
# * `sqlserver-ex`
|
2016
|
+
#
|
2017
|
+
# * `sqlserver-web`
|
1923
2018
|
# @option options [String] :engine_version
|
1924
2019
|
# The database engine version to return.
|
1925
2020
|
#
|
@@ -2546,6 +2641,30 @@ module Aws::RDS
|
|
2546
2641
|
# @option options [String] :engine_name
|
2547
2642
|
# Filters the list of option groups to only include groups associated
|
2548
2643
|
# with a specific database engine.
|
2644
|
+
#
|
2645
|
+
# Valid Values:
|
2646
|
+
#
|
2647
|
+
# * `mariadb`
|
2648
|
+
#
|
2649
|
+
# * `mysql`
|
2650
|
+
#
|
2651
|
+
# * `oracle-ee`
|
2652
|
+
#
|
2653
|
+
# * `oracle-se2`
|
2654
|
+
#
|
2655
|
+
# * `oracle-se1`
|
2656
|
+
#
|
2657
|
+
# * `oracle-se`
|
2658
|
+
#
|
2659
|
+
# * `postgres`
|
2660
|
+
#
|
2661
|
+
# * `sqlserver-ee`
|
2662
|
+
#
|
2663
|
+
# * `sqlserver-se`
|
2664
|
+
#
|
2665
|
+
# * `sqlserver-ex`
|
2666
|
+
#
|
2667
|
+
# * `sqlserver-web`
|
2549
2668
|
# @option options [String] :major_engine_version
|
2550
2669
|
# Filters the list of option groups to only include groups associated
|
2551
2670
|
# with a specific database engine version. If specified, then EngineName
|