aws-sdk-rds 1.118.0 → 1.122.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.rb +1 -1
- data/lib/aws-sdk-rds/client.rb +916 -654
- data/lib/aws-sdk-rds/client_api.rb +14 -0
- data/lib/aws-sdk-rds/db_cluster.rb +129 -93
- data/lib/aws-sdk-rds/db_cluster_parameter_group.rb +41 -0
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +67 -57
- data/lib/aws-sdk-rds/db_instance.rb +241 -175
- data/lib/aws-sdk-rds/db_parameter_group.rb +54 -11
- data/lib/aws-sdk-rds/db_security_group.rb +12 -10
- data/lib/aws-sdk-rds/db_snapshot.rb +95 -74
- data/lib/aws-sdk-rds/db_snapshot_attribute.rb +15 -13
- data/lib/aws-sdk-rds/event_subscription.rb +2 -2
- data/lib/aws-sdk-rds/option_group.rb +3 -3
- data/lib/aws-sdk-rds/reserved_db_instance.rb +2 -2
- data/lib/aws-sdk-rds/resource.rb +203 -114
- data/lib/aws-sdk-rds/types.rb +1008 -722
- metadata +3 -4
@@ -17,6 +17,7 @@ module Aws::RDS
|
|
17
17
|
AccountQuota = Shapes::StructureShape.new(name: 'AccountQuota')
|
18
18
|
AccountQuotaList = Shapes::ListShape.new(name: 'AccountQuotaList')
|
19
19
|
ActivityStreamMode = Shapes::StringShape.new(name: 'ActivityStreamMode')
|
20
|
+
ActivityStreamModeList = Shapes::ListShape.new(name: 'ActivityStreamModeList')
|
20
21
|
ActivityStreamStatus = Shapes::StringShape.new(name: 'ActivityStreamStatus')
|
21
22
|
AddRoleToDBClusterMessage = Shapes::StructureShape.new(name: 'AddRoleToDBClusterMessage')
|
22
23
|
AddRoleToDBInstanceMessage = Shapes::StructureShape.new(name: 'AddRoleToDBInstanceMessage')
|
@@ -612,6 +613,8 @@ module Aws::RDS
|
|
612
613
|
|
613
614
|
AccountQuotaList.member = Shapes::ShapeRef.new(shape: AccountQuota, location_name: "AccountQuota")
|
614
615
|
|
616
|
+
ActivityStreamModeList.member = Shapes::ShapeRef.new(shape: String)
|
617
|
+
|
615
618
|
AddRoleToDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
616
619
|
AddRoleToDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RoleArn"))
|
617
620
|
AddRoleToDBClusterMessage.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
|
@@ -1359,6 +1362,11 @@ module Aws::RDS
|
|
1359
1362
|
DBInstance.add_member(:db_instance_automated_backups_replications, Shapes::ShapeRef.new(shape: DBInstanceAutomatedBackupsReplicationList, location_name: "DBInstanceAutomatedBackupsReplications"))
|
1360
1363
|
DBInstance.add_member(:customer_owned_ip_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CustomerOwnedIpEnabled"))
|
1361
1364
|
DBInstance.add_member(:aws_backup_recovery_point_arn, Shapes::ShapeRef.new(shape: String, location_name: "AwsBackupRecoveryPointArn"))
|
1365
|
+
DBInstance.add_member(:activity_stream_status, Shapes::ShapeRef.new(shape: ActivityStreamStatus, location_name: "ActivityStreamStatus"))
|
1366
|
+
DBInstance.add_member(:activity_stream_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "ActivityStreamKmsKeyId"))
|
1367
|
+
DBInstance.add_member(:activity_stream_kinesis_stream_name, Shapes::ShapeRef.new(shape: String, location_name: "ActivityStreamKinesisStreamName"))
|
1368
|
+
DBInstance.add_member(:activity_stream_mode, Shapes::ShapeRef.new(shape: ActivityStreamMode, location_name: "ActivityStreamMode"))
|
1369
|
+
DBInstance.add_member(:activity_stream_engine_native_audit_fields_included, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ActivityStreamEngineNativeAuditFieldsIncluded"))
|
1362
1370
|
DBInstance.struct_class = Types::DBInstance
|
1363
1371
|
|
1364
1372
|
DBInstanceAlreadyExistsFault.struct_class = Types::DBInstanceAlreadyExistsFault
|
@@ -1600,6 +1608,7 @@ module Aws::RDS
|
|
1600
1608
|
DBSnapshot.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
|
1601
1609
|
DBSnapshot.add_member(:dbi_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbiResourceId"))
|
1602
1610
|
DBSnapshot.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
1611
|
+
DBSnapshot.add_member(:original_snapshot_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "OriginalSnapshotCreateTime"))
|
1603
1612
|
DBSnapshot.struct_class = Types::DBSnapshot
|
1604
1613
|
|
1605
1614
|
DBSnapshotAlreadyExistsFault.struct_class = Types::DBSnapshotAlreadyExistsFault
|
@@ -2700,6 +2709,7 @@ module Aws::RDS
|
|
2700
2709
|
OrderableDBInstanceOption.add_member(:supports_storage_autoscaling, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsStorageAutoscaling"))
|
2701
2710
|
OrderableDBInstanceOption.add_member(:supports_kerberos_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsKerberosAuthentication"))
|
2702
2711
|
OrderableDBInstanceOption.add_member(:outpost_capable, Shapes::ShapeRef.new(shape: Boolean, location_name: "OutpostCapable"))
|
2712
|
+
OrderableDBInstanceOption.add_member(:supported_activity_stream_modes, Shapes::ShapeRef.new(shape: ActivityStreamModeList, location_name: "SupportedActivityStreamModes"))
|
2703
2713
|
OrderableDBInstanceOption.add_member(:supports_global_databases, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsGlobalDatabases"))
|
2704
2714
|
OrderableDBInstanceOption.struct_class = Types::OrderableDBInstanceOption
|
2705
2715
|
|
@@ -3011,6 +3021,8 @@ module Aws::RDS
|
|
3011
3021
|
RestoreDBClusterToPointInTimeMessage.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTagsToSnapshot"))
|
3012
3022
|
RestoreDBClusterToPointInTimeMessage.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
|
3013
3023
|
RestoreDBClusterToPointInTimeMessage.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
|
3024
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfiguration, location_name: "ScalingConfiguration"))
|
3025
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
3014
3026
|
RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
|
3015
3027
|
|
3016
3028
|
RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
@@ -3196,6 +3208,7 @@ module Aws::RDS
|
|
3196
3208
|
StartActivityStreamRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ActivityStreamMode, required: true, location_name: "Mode"))
|
3197
3209
|
StartActivityStreamRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "KmsKeyId"))
|
3198
3210
|
StartActivityStreamRequest.add_member(:apply_immediately, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ApplyImmediately"))
|
3211
|
+
StartActivityStreamRequest.add_member(:engine_native_audit_fields_included, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EngineNativeAuditFieldsIncluded"))
|
3199
3212
|
StartActivityStreamRequest.struct_class = Types::StartActivityStreamRequest
|
3200
3213
|
|
3201
3214
|
StartActivityStreamResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
@@ -3203,6 +3216,7 @@ module Aws::RDS
|
|
3203
3216
|
StartActivityStreamResponse.add_member(:status, Shapes::ShapeRef.new(shape: ActivityStreamStatus, location_name: "Status"))
|
3204
3217
|
StartActivityStreamResponse.add_member(:mode, Shapes::ShapeRef.new(shape: ActivityStreamMode, location_name: "Mode"))
|
3205
3218
|
StartActivityStreamResponse.add_member(:apply_immediately, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApplyImmediately"))
|
3219
|
+
StartActivityStreamResponse.add_member(:engine_native_audit_fields_included, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EngineNativeAuditFieldsIncluded"))
|
3206
3220
|
StartActivityStreamResponse.struct_class = Types::StartActivityStreamResponse
|
3207
3221
|
|
3208
3222
|
StartDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
@@ -234,19 +234,21 @@ module Aws::RDS
|
|
234
234
|
data[:storage_encrypted]
|
235
235
|
end
|
236
236
|
|
237
|
-
# If `StorageEncrypted` is enabled, the
|
238
|
-
# encrypted DB cluster.
|
237
|
+
# If `StorageEncrypted` is enabled, the Amazon Web Services KMS key
|
238
|
+
# identifier for the encrypted DB cluster.
|
239
239
|
#
|
240
|
-
# The
|
241
|
-
# name for the
|
240
|
+
# The Amazon Web Services KMS key identifier is the key ARN, key ID,
|
241
|
+
# alias ARN, or alias name for the Amazon Web Services KMS customer
|
242
|
+
# master key (CMK).
|
242
243
|
# @return [String]
|
243
244
|
def kms_key_id
|
244
245
|
data[:kms_key_id]
|
245
246
|
end
|
246
247
|
|
247
|
-
# The
|
248
|
-
# identifier is found in
|
249
|
-
# CMK for the DB
|
248
|
+
# The Amazon Web Services Region-unique, immutable identifier for the DB
|
249
|
+
# cluster. This identifier is found in Amazon Web Services CloudTrail
|
250
|
+
# log entries whenever the Amazon Web Services KMS CMK for the DB
|
251
|
+
# cluster is accessed.
|
250
252
|
# @return [String]
|
251
253
|
def db_cluster_resource_id
|
252
254
|
data[:db_cluster_resource_id]
|
@@ -258,17 +260,18 @@ module Aws::RDS
|
|
258
260
|
data[:db_cluster_arn]
|
259
261
|
end
|
260
262
|
|
261
|
-
# Provides a list of the
|
262
|
-
# that are associated with the DB cluster. IAM
|
263
|
-
# with a DB cluster grant permission for the
|
264
|
-
#
|
263
|
+
# Provides a list of the Amazon Web Services Identity and Access
|
264
|
+
# Management (IAM) roles that are associated with the DB cluster. IAM
|
265
|
+
# roles that are associated with a DB cluster grant permission for the
|
266
|
+
# DB cluster to access other Amazon Web Services on your behalf.
|
265
267
|
# @return [Array<Types::DBClusterRole>]
|
266
268
|
def associated_roles
|
267
269
|
data[:associated_roles]
|
268
270
|
end
|
269
271
|
|
270
|
-
# A value that indicates whether the mapping of
|
271
|
-
# Management (IAM) accounts to database accounts is
|
272
|
+
# A value that indicates whether the mapping of Amazon Web Services
|
273
|
+
# Identity and Access Management (IAM) accounts to database accounts is
|
274
|
+
# enabled.
|
272
275
|
# @return [Boolean]
|
273
276
|
def iam_database_authentication_enabled
|
274
277
|
data[:iam_database_authentication_enabled]
|
@@ -404,11 +407,12 @@ module Aws::RDS
|
|
404
407
|
data[:activity_stream_status]
|
405
408
|
end
|
406
409
|
|
407
|
-
# The
|
408
|
-
# database activity stream.
|
410
|
+
# The Amazon Web Services KMS key identifier used for encrypting
|
411
|
+
# messages in the database activity stream.
|
409
412
|
#
|
410
|
-
# The
|
411
|
-
# name for the
|
413
|
+
# The Amazon Web Services KMS key identifier is the key ARN, key ID,
|
414
|
+
# alias ARN, or alias name for the Amazon Web Services KMS customer
|
415
|
+
# master key (CMK).
|
412
416
|
# @return [String]
|
413
417
|
def activity_stream_kms_key_id
|
414
418
|
data[:activity_stream_kms_key_id]
|
@@ -429,7 +433,7 @@ module Aws::RDS
|
|
429
433
|
end
|
430
434
|
|
431
435
|
# Specifies whether the DB cluster is a clone of a DB cluster owned by a
|
432
|
-
# different
|
436
|
+
# different Amazon Web Services account.
|
433
437
|
# @return [Boolean]
|
434
438
|
def cross_account_clone
|
435
439
|
data[:cross_account_clone]
|
@@ -664,9 +668,9 @@ module Aws::RDS
|
|
664
668
|
# @param [Hash] options ({})
|
665
669
|
# @option options [Array<String>] :availability_zones
|
666
670
|
# A list of Availability Zones (AZs) where instances in the DB cluster
|
667
|
-
# can be created. For information on
|
668
|
-
# see [Choosing the Regions and Availability
|
669
|
-
# Aurora User Guide*.
|
671
|
+
# can be created. For information on Amazon Web Services Regions and
|
672
|
+
# Availability Zones, see [Choosing the Regions and Availability
|
673
|
+
# Zones][1] in the *Amazon Aurora User Guide*.
|
670
674
|
#
|
671
675
|
#
|
672
676
|
#
|
@@ -777,8 +781,9 @@ module Aws::RDS
|
|
777
781
|
# parameter.
|
778
782
|
#
|
779
783
|
# The default is a 30-minute window selected at random from an 8-hour
|
780
|
-
# block of time for each
|
781
|
-
# see [ Backup window][1] in the *Amazon Aurora User
|
784
|
+
# block of time for each Amazon Web Services Region. To view the time
|
785
|
+
# blocks available, see [ Backup window][1] in the *Amazon Aurora User
|
786
|
+
# Guide.*
|
782
787
|
#
|
783
788
|
# Constraints:
|
784
789
|
#
|
@@ -800,9 +805,10 @@ module Aws::RDS
|
|
800
805
|
# Format: `ddd:hh24:mi-ddd:hh24:mi`
|
801
806
|
#
|
802
807
|
# The default is a 30-minute window selected at random from an 8-hour
|
803
|
-
# block of time for each
|
804
|
-
# week. To see the time blocks available, see [
|
805
|
-
# DB Cluster Maintenance Window][1] in the
|
808
|
+
# block of time for each Amazon Web Services Region, occurring on a
|
809
|
+
# random day of the week. To see the time blocks available, see [
|
810
|
+
# Adjusting the Preferred DB Cluster Maintenance Window][1] in the
|
811
|
+
# *Amazon Aurora User Guide.*
|
806
812
|
#
|
807
813
|
# Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
|
808
814
|
#
|
@@ -819,11 +825,13 @@ module Aws::RDS
|
|
819
825
|
# @option options [Boolean] :storage_encrypted
|
820
826
|
# A value that indicates whether the DB cluster is encrypted.
|
821
827
|
# @option options [String] :kms_key_id
|
822
|
-
# The
|
828
|
+
# The Amazon Web Services KMS key identifier for an encrypted DB
|
829
|
+
# cluster.
|
823
830
|
#
|
824
|
-
# The
|
825
|
-
#
|
826
|
-
#
|
831
|
+
# The Amazon Web Services KMS key identifier is the key ARN, key ID,
|
832
|
+
# alias ARN, or alias name for the Amazon Web Services KMS customer
|
833
|
+
# master key (CMK). To use a CMK in a different Amazon Web Services
|
834
|
+
# account, specify the key ARN or alias ARN.
|
827
835
|
#
|
828
836
|
# When a CMK isn't specified in `KmsKeyId`\:
|
829
837
|
#
|
@@ -835,53 +843,58 @@ module Aws::RDS
|
|
835
843
|
# `ReplicationSourceIdentifier` isn't specified, then Amazon RDS will
|
836
844
|
# use your default CMK.
|
837
845
|
#
|
838
|
-
# There is a default CMK for your
|
839
|
-
# different default CMK for each
|
846
|
+
# There is a default CMK for your Amazon Web Services account. Your
|
847
|
+
# Amazon Web Services account has a different default CMK for each
|
848
|
+
# Amazon Web Services Region.
|
840
849
|
#
|
841
|
-
# If you create a read replica of an encrypted DB cluster in another
|
842
|
-
# Region, you must set `KmsKeyId` to a
|
843
|
-
#
|
844
|
-
# read replica in
|
850
|
+
# If you create a read replica of an encrypted DB cluster in another
|
851
|
+
# Amazon Web Services Region, you must set `KmsKeyId` to a Amazon Web
|
852
|
+
# Services KMS key identifier that is valid in the destination Amazon
|
853
|
+
# Web Services Region. This CMK is used to encrypt the read replica in
|
854
|
+
# that Amazon Web Services Region.
|
845
855
|
# @option options [String] :pre_signed_url
|
846
856
|
# A URL that contains a Signature Version 4 signed request for the
|
847
|
-
# `CreateDBCluster` action to be called in the source
|
848
|
-
# the DB cluster is replicated from. You only need
|
849
|
-
# `PreSignedUrl` when you are performing cross-region
|
850
|
-
# an encrypted DB cluster.
|
857
|
+
# `CreateDBCluster` action to be called in the source Amazon Web
|
858
|
+
# Services Region where the DB cluster is replicated from. You only need
|
859
|
+
# to specify `PreSignedUrl` when you are performing cross-region
|
860
|
+
# replication from an encrypted DB cluster.
|
851
861
|
#
|
852
862
|
# The pre-signed URL must be a valid request for the `CreateDBCluster`
|
853
|
-
# API action that can be executed in the source
|
854
|
-
# the encrypted DB cluster to be copied.
|
863
|
+
# API action that can be executed in the source Amazon Web Services
|
864
|
+
# Region that contains the encrypted DB cluster to be copied.
|
855
865
|
#
|
856
866
|
# The pre-signed URL request must contain the following parameter
|
857
867
|
# values:
|
858
868
|
#
|
859
|
-
# * `KmsKeyId` - The
|
860
|
-
# encrypt the copy of the DB cluster in the destination
|
861
|
-
# This should refer to the same
|
862
|
-
# `CreateDBCluster` action that is
|
863
|
-
#
|
869
|
+
# * `KmsKeyId` - The Amazon Web Services KMS key identifier for the key
|
870
|
+
# to use to encrypt the copy of the DB cluster in the destination
|
871
|
+
# Amazon Web Services Region. This should refer to the same Amazon Web
|
872
|
+
# Services KMS CMK for both the `CreateDBCluster` action that is
|
873
|
+
# called in the destination Amazon Web Services Region, and the action
|
874
|
+
# contained in the pre-signed URL.
|
864
875
|
#
|
865
|
-
# * `DestinationRegion` - The name of the
|
866
|
-
# replica will be created in.
|
876
|
+
# * `DestinationRegion` - The name of the Amazon Web Services Region
|
877
|
+
# that Aurora read replica will be created in.
|
867
878
|
#
|
868
879
|
# * `ReplicationSourceIdentifier` - The DB cluster identifier for the
|
869
880
|
# encrypted DB cluster to be copied. This identifier must be in the
|
870
|
-
# Amazon Resource Name (ARN) format for the source
|
871
|
-
# example, if you are copying an encrypted DB cluster from
|
872
|
-
# us-west-2
|
873
|
-
# look like Example:
|
881
|
+
# Amazon Resource Name (ARN) format for the source Amazon Web Services
|
882
|
+
# Region. For example, if you are copying an encrypted DB cluster from
|
883
|
+
# the us-west-2 Amazon Web Services Region, then your
|
884
|
+
# `ReplicationSourceIdentifier` would look like Example:
|
874
885
|
# `arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1`.
|
875
886
|
#
|
876
887
|
# To learn how to generate a Signature Version 4 signed request, see [
|
877
|
-
# Authenticating Requests: Using Query Parameters (
|
878
|
-
# 4)][1] and [ Signature Version 4 Signing
|
888
|
+
# Authenticating Requests: Using Query Parameters (Amazon Web Services
|
889
|
+
# Signature Version 4)][1] and [ Signature Version 4 Signing
|
890
|
+
# Process][2].
|
879
891
|
#
|
880
|
-
# <note markdown="1"> If you are using an
|
881
|
-
# `SourceRegion` (or `--source-region` for the
|
892
|
+
# <note markdown="1"> If you are using an Amazon Web Services SDK tool or the CLI, you can
|
893
|
+
# specify `SourceRegion` (or `--source-region` for the CLI) instead of
|
882
894
|
# specifying `PreSignedUrl` manually. Specifying `SourceRegion`
|
883
895
|
# autogenerates a pre-signed URL that is a valid request for the
|
884
|
-
# operation that can be executed in the source
|
896
|
+
# operation that can be executed in the source Amazon Web Services
|
897
|
+
# Region.
|
885
898
|
#
|
886
899
|
# </note>
|
887
900
|
#
|
@@ -890,9 +903,9 @@ module Aws::RDS
|
|
890
903
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
|
891
904
|
# [2]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
892
905
|
# @option options [Boolean] :enable_iam_database_authentication
|
893
|
-
# A value that indicates whether to enable mapping of
|
894
|
-
# Access Management (IAM) accounts to database
|
895
|
-
# mapping is disabled.
|
906
|
+
# A value that indicates whether to enable mapping of Amazon Web
|
907
|
+
# Services Identity and Access Management (IAM) accounts to database
|
908
|
+
# accounts. By default, mapping is disabled.
|
896
909
|
#
|
897
910
|
# For more information, see [ IAM Database Authentication][1] in the
|
898
911
|
# *Amazon Aurora User Guide.*
|
@@ -1261,8 +1274,9 @@ module Aws::RDS
|
|
1261
1274
|
# parameter.
|
1262
1275
|
#
|
1263
1276
|
# The default is a 30-minute window selected at random from an 8-hour
|
1264
|
-
# block of time for each
|
1265
|
-
# see [ Backup window][1] in the *Amazon Aurora User
|
1277
|
+
# block of time for each Amazon Web Services Region. To view the time
|
1278
|
+
# blocks available, see [ Backup window][1] in the *Amazon Aurora User
|
1279
|
+
# Guide.*
|
1266
1280
|
#
|
1267
1281
|
# Constraints:
|
1268
1282
|
#
|
@@ -1284,9 +1298,10 @@ module Aws::RDS
|
|
1284
1298
|
# Format: `ddd:hh24:mi-ddd:hh24:mi`
|
1285
1299
|
#
|
1286
1300
|
# The default is a 30-minute window selected at random from an 8-hour
|
1287
|
-
# block of time for each
|
1288
|
-
# week. To see the time blocks available, see [
|
1289
|
-
# DB Cluster Maintenance Window][1] in the
|
1301
|
+
# block of time for each Amazon Web Services Region, occurring on a
|
1302
|
+
# random day of the week. To see the time blocks available, see [
|
1303
|
+
# Adjusting the Preferred DB Cluster Maintenance Window][1] in the
|
1304
|
+
# *Amazon Aurora User Guide.*
|
1290
1305
|
#
|
1291
1306
|
# Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
|
1292
1307
|
#
|
@@ -1296,9 +1311,9 @@ module Aws::RDS
|
|
1296
1311
|
#
|
1297
1312
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora
|
1298
1313
|
# @option options [Boolean] :enable_iam_database_authentication
|
1299
|
-
# A value that indicates whether to enable mapping of
|
1300
|
-
# Access Management (IAM) accounts to database
|
1301
|
-
# mapping is disabled.
|
1314
|
+
# A value that indicates whether to enable mapping of Amazon Web
|
1315
|
+
# Services Identity and Access Management (IAM) accounts to database
|
1316
|
+
# accounts. By default, mapping is disabled.
|
1302
1317
|
#
|
1303
1318
|
# For more information, see [ IAM Database Authentication][1] in the
|
1304
1319
|
# *Amazon Aurora User Guide.*
|
@@ -1465,6 +1480,14 @@ module Aws::RDS
|
|
1465
1480
|
# copy_tags_to_snapshot: false,
|
1466
1481
|
# domain: "String",
|
1467
1482
|
# domain_iam_role_name: "String",
|
1483
|
+
# scaling_configuration: {
|
1484
|
+
# min_capacity: 1,
|
1485
|
+
# max_capacity: 1,
|
1486
|
+
# auto_pause: false,
|
1487
|
+
# seconds_until_auto_pause: 1,
|
1488
|
+
# timeout_action: "String",
|
1489
|
+
# },
|
1490
|
+
# engine_mode: "String",
|
1468
1491
|
# })
|
1469
1492
|
# @param [Hash] options ({})
|
1470
1493
|
# @option options [required, String] :db_cluster_identifier
|
@@ -1544,24 +1567,26 @@ module Aws::RDS
|
|
1544
1567
|
#
|
1545
1568
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
|
1546
1569
|
# @option options [String] :kms_key_id
|
1547
|
-
# The
|
1548
|
-
# cluster from an encrypted DB cluster.
|
1570
|
+
# The Amazon Web Services KMS key identifier to use when restoring an
|
1571
|
+
# encrypted DB cluster from an encrypted DB cluster.
|
1549
1572
|
#
|
1550
|
-
# The
|
1551
|
-
#
|
1552
|
-
#
|
1573
|
+
# The Amazon Web Services KMS key identifier is the key ARN, key ID,
|
1574
|
+
# alias ARN, or alias name for the Amazon Web Services KMS customer
|
1575
|
+
# master key (CMK). To use a CMK in a different Amazon Web Services
|
1576
|
+
# account, specify the key ARN or alias ARN.
|
1553
1577
|
#
|
1554
1578
|
# You can restore to a new DB cluster and encrypt the new DB cluster
|
1555
|
-
# with a
|
1556
|
-
# encrypt the source DB cluster. The new DB
|
1557
|
-
# the
|
1579
|
+
# with a Amazon Web Services KMS CMK that is different than the Amazon
|
1580
|
+
# Web Services KMS key used to encrypt the source DB cluster. The new DB
|
1581
|
+
# cluster is encrypted with the Amazon Web Services KMS CMK identified
|
1582
|
+
# by the `KmsKeyId` parameter.
|
1558
1583
|
#
|
1559
1584
|
# If you don't specify a value for the `KmsKeyId` parameter, then the
|
1560
1585
|
# following occurs:
|
1561
1586
|
#
|
1562
1587
|
# * If the DB cluster is encrypted, then the restored DB cluster is
|
1563
|
-
# encrypted using the
|
1564
|
-
# DB cluster.
|
1588
|
+
# encrypted using the Amazon Web Services KMS CMK that was used to
|
1589
|
+
# encrypt the source DB cluster.
|
1565
1590
|
#
|
1566
1591
|
# * If the DB cluster isn't encrypted, then the restored DB cluster
|
1567
1592
|
# isn't encrypted.
|
@@ -1569,9 +1594,9 @@ module Aws::RDS
|
|
1569
1594
|
# If `DBClusterIdentifier` refers to a DB cluster that isn't encrypted,
|
1570
1595
|
# then the restore request is rejected.
|
1571
1596
|
# @option options [Boolean] :enable_iam_database_authentication
|
1572
|
-
# A value that indicates whether to enable mapping of
|
1573
|
-
# Access Management (IAM) accounts to database
|
1574
|
-
# mapping is disabled.
|
1597
|
+
# A value that indicates whether to enable mapping of Amazon Web
|
1598
|
+
# Services Identity and Access Management (IAM) accounts to database
|
1599
|
+
# accounts. By default, mapping is disabled.
|
1575
1600
|
#
|
1576
1601
|
# For more information, see [ IAM Database Authentication][1] in the
|
1577
1602
|
# *Amazon Aurora User Guide.*
|
@@ -1642,6 +1667,16 @@ module Aws::RDS
|
|
1642
1667
|
# @option options [String] :domain_iam_role_name
|
1643
1668
|
# Specify the name of the IAM role to be used when making API calls to
|
1644
1669
|
# the Directory Service.
|
1670
|
+
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
1671
|
+
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
1672
|
+
# of the DB cluster.
|
1673
|
+
# @option options [String] :engine_mode
|
1674
|
+
# The engine mode of the new cluster. Specify `provisioned` or
|
1675
|
+
# `serverless`, depending on the type of the cluster you are creating.
|
1676
|
+
# You can create an Aurora Serverless clone from a provisioned cluster,
|
1677
|
+
# or a provisioned clone from an Aurora Serverless cluster. To create a
|
1678
|
+
# clone that is an Aurora Serverless cluster, the original cluster must
|
1679
|
+
# be an Aurora Serverless cluster or an encrypted provisioned cluster.
|
1645
1680
|
# @return [DBCluster]
|
1646
1681
|
def restore(options = {})
|
1647
1682
|
options = options.merge(source_db_cluster_identifier: @id)
|
@@ -1793,13 +1828,14 @@ module Aws::RDS
|
|
1793
1828
|
# of the following values:
|
1794
1829
|
#
|
1795
1830
|
# * `automated` - Return all DB cluster snapshots that have been
|
1796
|
-
# automatically taken by Amazon RDS for my
|
1831
|
+
# automatically taken by Amazon RDS for my Amazon Web Services
|
1832
|
+
# account.
|
1797
1833
|
#
|
1798
1834
|
# * `manual` - Return all DB cluster snapshots that have been taken by
|
1799
|
-
# my
|
1835
|
+
# my Amazon Web Services account.
|
1800
1836
|
#
|
1801
1837
|
# * `shared` - Return all manual DB cluster snapshots that have been
|
1802
|
-
# shared to my
|
1838
|
+
# shared to my Amazon Web Services account.
|
1803
1839
|
#
|
1804
1840
|
# * `public` - Return all DB cluster snapshots that have been marked as
|
1805
1841
|
# public.
|
@@ -1830,17 +1866,17 @@ module Aws::RDS
|
|
1830
1866
|
# * `engine` - Accepts names of database engines.
|
1831
1867
|
# @option options [Boolean] :include_shared
|
1832
1868
|
# A value that indicates whether to include shared manual DB cluster
|
1833
|
-
# snapshots from other
|
1834
|
-
# permission to copy or restore. By
|
1835
|
-
# included.
|
1869
|
+
# snapshots from other Amazon Web Services accounts that this Amazon Web
|
1870
|
+
# Services account has been given permission to copy or restore. By
|
1871
|
+
# default, these snapshots are not included.
|
1836
1872
|
#
|
1837
|
-
# You can give an
|
1838
|
-
# snapshot from another
|
1839
|
-
# `ModifyDBClusterSnapshotAttribute` API action.
|
1873
|
+
# You can give an Amazon Web Services account permission to restore a
|
1874
|
+
# manual DB cluster snapshot from another Amazon Web Services account by
|
1875
|
+
# the `ModifyDBClusterSnapshotAttribute` API action.
|
1840
1876
|
# @option options [Boolean] :include_public
|
1841
1877
|
# A value that indicates whether to include manual DB cluster snapshots
|
1842
|
-
# that are public and can be copied or restored by any
|
1843
|
-
# default, the public snapshots are not included.
|
1878
|
+
# that are public and can be copied or restored by any Amazon Web
|
1879
|
+
# Services account. By default, the public snapshots are not included.
|
1844
1880
|
#
|
1845
1881
|
# You can share a manual DB cluster snapshot as public by using the
|
1846
1882
|
# ModifyDBClusterSnapshotAttribute API action.
|