aws-sdk-rds 1.54.0 → 1.55.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 +398 -416
- data/lib/aws-sdk-rds/client_api.rb +2 -0
- data/lib/aws-sdk-rds/db_cluster.rb +78 -79
- data/lib/aws-sdk-rds/db_cluster_parameter_group.rb +5 -5
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +11 -12
- data/lib/aws-sdk-rds/db_engine.rb +8 -10
- data/lib/aws-sdk-rds/db_engine_version.rb +7 -0
- data/lib/aws-sdk-rds/db_instance.rb +200 -211
- data/lib/aws-sdk-rds/db_parameter_group.rb +4 -3
- data/lib/aws-sdk-rds/db_snapshot.rb +28 -29
- data/lib/aws-sdk-rds/event_subscription.rb +3 -4
- data/lib/aws-sdk-rds/option_group.rb +3 -3
- data/lib/aws-sdk-rds/resource.rb +80 -85
- data/lib/aws-sdk-rds/types.rb +427 -525
- metadata +2 -2
@@ -1018,6 +1018,7 @@ module Aws::RDS
|
|
1018
1018
|
DBEngineVersion.add_member(:supports_read_replica, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsReadReplica"))
|
1019
1019
|
DBEngineVersion.add_member(:supported_engine_modes, Shapes::ShapeRef.new(shape: EngineModeList, location_name: "SupportedEngineModes"))
|
1020
1020
|
DBEngineVersion.add_member(:supported_feature_names, Shapes::ShapeRef.new(shape: FeatureNameList, location_name: "SupportedFeatureNames"))
|
1021
|
+
DBEngineVersion.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
1021
1022
|
DBEngineVersion.struct_class = Types::DBEngineVersion
|
1022
1023
|
|
1023
1024
|
DBEngineVersionList.member = Shapes::ShapeRef.new(shape: DBEngineVersion, location_name: "DBEngineVersion")
|
@@ -1376,6 +1377,7 @@ module Aws::RDS
|
|
1376
1377
|
DescribeDBEngineVersionsMessage.add_member(:default_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultOnly"))
|
1377
1378
|
DescribeDBEngineVersionsMessage.add_member(:list_supported_character_sets, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ListSupportedCharacterSets"))
|
1378
1379
|
DescribeDBEngineVersionsMessage.add_member(:list_supported_timezones, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ListSupportedTimezones"))
|
1380
|
+
DescribeDBEngineVersionsMessage.add_member(:include_all, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "IncludeAll"))
|
1379
1381
|
DescribeDBEngineVersionsMessage.struct_class = Types::DescribeDBEngineVersionsMessage
|
1380
1382
|
|
1381
1383
|
DescribeDBInstanceAutomatedBackupsMessage.add_member(:dbi_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbiResourceId"))
|
@@ -231,7 +231,7 @@ module Aws::RDS
|
|
231
231
|
data[:storage_encrypted]
|
232
232
|
end
|
233
233
|
|
234
|
-
# If `StorageEncrypted` is
|
234
|
+
# If `StorageEncrypted` is true, the AWS KMS key identifier for the
|
235
235
|
# encrypted DB cluster.
|
236
236
|
# @return [String]
|
237
237
|
def kms_key_id
|
@@ -261,8 +261,8 @@ module Aws::RDS
|
|
261
261
|
data[:associated_roles]
|
262
262
|
end
|
263
263
|
|
264
|
-
#
|
265
|
-
#
|
264
|
+
# True if mapping of AWS Identity and Access Management (IAM) accounts
|
265
|
+
# to database accounts is enabled, and otherwise false.
|
266
266
|
# @return [Boolean]
|
267
267
|
def iam_database_authentication_enabled
|
268
268
|
data[:iam_database_authentication_enabled]
|
@@ -352,7 +352,7 @@ module Aws::RDS
|
|
352
352
|
end
|
353
353
|
|
354
354
|
# Indicates if the DB cluster has deletion protection enabled. The
|
355
|
-
# database can't be deleted when
|
355
|
+
# database can't be deleted when this value is set to true.
|
356
356
|
# @return [Boolean]
|
357
357
|
def deletion_protection
|
358
358
|
data[:deletion_protection]
|
@@ -363,8 +363,8 @@ module Aws::RDS
|
|
363
363
|
#
|
364
364
|
# </note>
|
365
365
|
#
|
366
|
-
#
|
367
|
-
#
|
366
|
+
# Value that is `true` if the HTTP endpoint for an Aurora Serverless DB
|
367
|
+
# cluster is enabled and `false` otherwise.
|
368
368
|
#
|
369
369
|
# When enabled, the HTTP endpoint provides a connectionless web service
|
370
370
|
# API for running SQL queries on the Aurora Serverless DB cluster. You
|
@@ -702,7 +702,7 @@ module Aws::RDS
|
|
702
702
|
# @option options [Array<Types::Tag>] :tags
|
703
703
|
# Tags to assign to the DB cluster.
|
704
704
|
# @option options [Boolean] :storage_encrypted
|
705
|
-
#
|
705
|
+
# Specifies whether the DB cluster is encrypted.
|
706
706
|
# @option options [String] :kms_key_id
|
707
707
|
# The AWS KMS key identifier for an encrypted DB cluster.
|
708
708
|
#
|
@@ -718,7 +718,7 @@ module Aws::RDS
|
|
718
718
|
# then Amazon RDS will use the encryption key used to encrypt the
|
719
719
|
# source. Otherwise, Amazon RDS will use your default encryption key.
|
720
720
|
#
|
721
|
-
# * If the `StorageEncrypted` parameter is
|
721
|
+
# * If the `StorageEncrypted` parameter is true and
|
722
722
|
# `ReplicationSourceIdentifier` is not specified, then Amazon RDS will
|
723
723
|
# use your default encryption key.
|
724
724
|
#
|
@@ -770,9 +770,10 @@ module Aws::RDS
|
|
770
770
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
|
771
771
|
# [2]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
772
772
|
# @option options [Boolean] :enable_iam_database_authentication
|
773
|
-
#
|
774
|
-
#
|
775
|
-
#
|
773
|
+
# True to enable mapping of AWS Identity and Access Management (IAM)
|
774
|
+
# accounts to database accounts, and otherwise false.
|
775
|
+
#
|
776
|
+
# Default: `false`
|
776
777
|
# @option options [Integer] :backtrack_window
|
777
778
|
# The target backtrack window, in seconds. To disable backtracking, set
|
778
779
|
# this value to 0.
|
@@ -801,15 +802,15 @@ module Aws::RDS
|
|
801
802
|
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
802
803
|
# of the DB cluster.
|
803
804
|
# @option options [Boolean] :deletion_protection
|
804
|
-
#
|
805
|
-
# enabled. The database can't be deleted when
|
806
|
-
#
|
805
|
+
# Indicates whether the DB cluster should have deletion protection
|
806
|
+
# enabled. The database can't be deleted when this value is set to
|
807
|
+
# true. The default is false.
|
807
808
|
# @option options [String] :global_cluster_identifier
|
808
809
|
# The global cluster ID of an Aurora cluster that becomes the primary
|
809
810
|
# cluster in the new global database cluster.
|
810
811
|
# @option options [Boolean] :copy_tags_to_snapshot
|
811
|
-
#
|
812
|
-
#
|
812
|
+
# True to copy all tags from the DB cluster to snapshots of the DB
|
813
|
+
# cluster, and otherwise false. The default is false.
|
813
814
|
# @option options [String] :destination_region
|
814
815
|
# @option options [String] :source_region
|
815
816
|
# The source region of the snapshot. This is only needed when the
|
@@ -872,24 +873,23 @@ module Aws::RDS
|
|
872
873
|
# })
|
873
874
|
# @param [Hash] options ({})
|
874
875
|
# @option options [Boolean] :skip_final_snapshot
|
875
|
-
#
|
876
|
-
#
|
877
|
-
# specified,
|
878
|
-
#
|
879
|
-
# deleted. By default, skip is not specified, and the DB cluster
|
880
|
-
# snapshot is created. By default, this parameter is disabled.
|
876
|
+
# Determines whether a final DB cluster snapshot is created before the
|
877
|
+
# DB cluster is deleted. If `true` is specified, no DB cluster snapshot
|
878
|
+
# is created. If `false` is specified, a DB cluster snapshot is created
|
879
|
+
# before the DB cluster is deleted.
|
881
880
|
#
|
882
881
|
# <note markdown="1"> You must specify a `FinalDBSnapshotIdentifier` parameter if
|
883
|
-
# `SkipFinalSnapshot` is
|
882
|
+
# `SkipFinalSnapshot` is `false`.
|
884
883
|
#
|
885
884
|
# </note>
|
885
|
+
#
|
886
|
+
# Default: `false`
|
886
887
|
# @option options [String] :final_db_snapshot_identifier
|
887
888
|
# The DB cluster snapshot identifier of the new DB cluster snapshot
|
888
|
-
# created when `SkipFinalSnapshot` is
|
889
|
+
# created when `SkipFinalSnapshot` is set to `false`.
|
889
890
|
#
|
890
|
-
# <note markdown="1"> Specifying this parameter and also
|
891
|
-
#
|
892
|
-
# error.
|
891
|
+
# <note markdown="1"> Specifying this parameter and also setting the `SkipFinalShapshot`
|
892
|
+
# parameter to true results in an error.
|
893
893
|
#
|
894
894
|
# </note>
|
895
895
|
#
|
@@ -979,22 +979,22 @@ module Aws::RDS
|
|
979
979
|
#
|
980
980
|
# Example: `my-cluster2`
|
981
981
|
# @option options [Boolean] :apply_immediately
|
982
|
-
# A value that
|
982
|
+
# A value that specifies whether the modifications in this request and
|
983
983
|
# any pending modifications are asynchronously applied as soon as
|
984
984
|
# possible, regardless of the `PreferredMaintenanceWindow` setting for
|
985
|
-
# the DB cluster. If this parameter is
|
985
|
+
# the DB cluster. If this parameter is set to `false`, changes to the DB
|
986
986
|
# cluster are applied during the next maintenance window.
|
987
987
|
#
|
988
988
|
# The `ApplyImmediately` parameter only affects the
|
989
989
|
# `EnableIAMDatabaseAuthentication`, `MasterUserPassword`, and
|
990
|
-
# `NewDBClusterIdentifier` values. If the `ApplyImmediately`
|
991
|
-
#
|
992
|
-
# `MasterUserPassword`, and
|
993
|
-
#
|
994
|
-
#
|
995
|
-
# parameter.
|
990
|
+
# `NewDBClusterIdentifier` values. If you set the `ApplyImmediately`
|
991
|
+
# parameter value to false, then changes to the
|
992
|
+
# `EnableIAMDatabaseAuthentication`, `MasterUserPassword`, and
|
993
|
+
# `NewDBClusterIdentifier` values are applied during the next
|
994
|
+
# maintenance window. All other changes are applied immediately,
|
995
|
+
# regardless of the value of the `ApplyImmediately` parameter.
|
996
996
|
#
|
997
|
-
#
|
997
|
+
# Default: `false`
|
998
998
|
# @option options [Integer] :backup_retention_period
|
999
999
|
# The number of days for which automated backups are retained. You must
|
1000
1000
|
# specify a minimum value of 1.
|
@@ -1025,11 +1025,11 @@ module Aws::RDS
|
|
1025
1025
|
# A value that indicates that the DB cluster should be associated with
|
1026
1026
|
# the specified option group. Changing this parameter doesn't result in
|
1027
1027
|
# an outage except in the following case, and the change is applied
|
1028
|
-
# during the next maintenance window unless the `ApplyImmediately`
|
1029
|
-
#
|
1030
|
-
# group that enables OEM, this change can cause a
|
1031
|
-
# period during which new connections are rejected
|
1032
|
-
# connections are not interrupted.
|
1028
|
+
# during the next maintenance window unless the `ApplyImmediately`
|
1029
|
+
# parameter is set to `true` for this request. If the parameter change
|
1030
|
+
# results in an option group that enables OEM, this change can cause a
|
1031
|
+
# brief (sub-second) period during which new connections are rejected
|
1032
|
+
# but existing connections are not interrupted.
|
1033
1033
|
#
|
1034
1034
|
# Permanent options can't be removed from an option group. The option
|
1035
1035
|
# group can't be removed from a DB cluster once it is associated with a
|
@@ -1076,9 +1076,10 @@ module Aws::RDS
|
|
1076
1076
|
#
|
1077
1077
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora
|
1078
1078
|
# @option options [Boolean] :enable_iam_database_authentication
|
1079
|
-
#
|
1080
|
-
#
|
1081
|
-
#
|
1079
|
+
# True to enable mapping of AWS Identity and Access Management (IAM)
|
1080
|
+
# accounts to database accounts, and otherwise false.
|
1081
|
+
#
|
1082
|
+
# Default: `false`
|
1082
1083
|
# @option options [Integer] :backtrack_window
|
1083
1084
|
# The target backtrack window, in seconds. To disable backtracking, set
|
1084
1085
|
# this value to 0.
|
@@ -1097,17 +1098,17 @@ module Aws::RDS
|
|
1097
1098
|
# @option options [String] :engine_version
|
1098
1099
|
# The version number of the database engine to which you want to
|
1099
1100
|
# upgrade. Changing this parameter results in an outage. The change is
|
1100
|
-
# applied during the next maintenance window unless
|
1101
|
-
# is
|
1101
|
+
# applied during the next maintenance window unless the ApplyImmediately
|
1102
|
+
# parameter is set to true.
|
1102
1103
|
#
|
1103
|
-
# For a list of valid engine versions, use
|
1104
|
+
# For a list of valid engine versions, use the
|
1105
|
+
# `DescribeDBEngineVersions` action.
|
1104
1106
|
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
1105
1107
|
# The scaling properties of the DB cluster. You can only modify scaling
|
1106
1108
|
# properties for DB clusters in `serverless` DB engine mode.
|
1107
1109
|
# @option options [Boolean] :deletion_protection
|
1108
|
-
#
|
1109
|
-
#
|
1110
|
-
# enabled. By default, deletion protection is disabled.
|
1110
|
+
# Indicates if the DB cluster has deletion protection enabled. The
|
1111
|
+
# database can't be deleted when this value is set to true.
|
1111
1112
|
# @option options [Boolean] :enable_http_endpoint
|
1112
1113
|
# <note markdown="1"> HTTP endpoint functionality is in beta for Aurora Serverless and is
|
1113
1114
|
# subject to change.
|
@@ -1130,8 +1131,8 @@ module Aws::RDS
|
|
1130
1131
|
#
|
1131
1132
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
|
1132
1133
|
# @option options [Boolean] :copy_tags_to_snapshot
|
1133
|
-
#
|
1134
|
-
#
|
1134
|
+
# True to copy all tags from the DB cluster to snapshots of the DB
|
1135
|
+
# cluster, and otherwise false. The default is false.
|
1135
1136
|
# @return [DBCluster]
|
1136
1137
|
def modify(options = {})
|
1137
1138
|
options = options.merge(db_cluster_identifier: @id)
|
@@ -1207,17 +1208,16 @@ module Aws::RDS
|
|
1207
1208
|
# * Must be specified if `UseLatestRestorableTime` parameter is not
|
1208
1209
|
# provided
|
1209
1210
|
#
|
1210
|
-
# * Can't be specified if
|
1211
|
-
# enabled
|
1211
|
+
# * Can't be specified if `UseLatestRestorableTime` parameter is true
|
1212
1212
|
#
|
1213
|
-
# * Can't be specified if
|
1214
|
-
# `copy-on-write`
|
1213
|
+
# * Can't be specified if `RestoreType` parameter is `copy-on-write`
|
1215
1214
|
#
|
1216
1215
|
# Example: `2015-03-07T23:45:00Z`
|
1217
1216
|
# @option options [Boolean] :use_latest_restorable_time
|
1218
|
-
# A value that
|
1219
|
-
# restorable backup time
|
1220
|
-
#
|
1217
|
+
# A value that is set to `true` to restore the DB cluster to the latest
|
1218
|
+
# restorable backup time, and `false` otherwise.
|
1219
|
+
#
|
1220
|
+
# Default: `false`
|
1221
1221
|
#
|
1222
1222
|
# Constraints: Can't be specified if `RestoreToTime` parameter is
|
1223
1223
|
# provided.
|
@@ -1273,9 +1273,10 @@ module Aws::RDS
|
|
1273
1273
|
# If `DBClusterIdentifier` refers to a DB cluster that is not encrypted,
|
1274
1274
|
# then the restore request is rejected.
|
1275
1275
|
# @option options [Boolean] :enable_iam_database_authentication
|
1276
|
-
#
|
1277
|
-
#
|
1278
|
-
#
|
1276
|
+
# True to enable mapping of AWS Identity and Access Management (IAM)
|
1277
|
+
# accounts to database accounts, and otherwise false.
|
1278
|
+
#
|
1279
|
+
# Default: `false`
|
1279
1280
|
# @option options [Integer] :backtrack_window
|
1280
1281
|
# The target backtrack window, in seconds. To disable backtracking, set
|
1281
1282
|
# this value to 0.
|
@@ -1313,13 +1314,12 @@ module Aws::RDS
|
|
1313
1314
|
#
|
1314
1315
|
# * Can't end with a hyphen or contain two consecutive hyphens.
|
1315
1316
|
# @option options [Boolean] :deletion_protection
|
1316
|
-
#
|
1317
|
-
#
|
1318
|
-
#
|
1317
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
1318
|
+
# The database can't be deleted when this value is set to true. The
|
1319
|
+
# default is false.
|
1319
1320
|
# @option options [Boolean] :copy_tags_to_snapshot
|
1320
|
-
#
|
1321
|
-
#
|
1322
|
-
# copy them.
|
1321
|
+
# True to copy all tags from the restored DB cluster to snapshots of the
|
1322
|
+
# restored DB cluster, and otherwise false. The default is false.
|
1323
1323
|
# @return [DBCluster]
|
1324
1324
|
def restore(options = {})
|
1325
1325
|
options = options.merge(source_db_cluster_identifier: @id)
|
@@ -1486,9 +1486,9 @@ module Aws::RDS
|
|
1486
1486
|
#
|
1487
1487
|
# If you don't specify a `SnapshotType` value, then both automated and
|
1488
1488
|
# manual DB cluster snapshots are returned. You can include shared DB
|
1489
|
-
# cluster snapshots with these results by
|
1490
|
-
# parameter
|
1491
|
-
# results by
|
1489
|
+
# cluster snapshots with these results by setting the `IncludeShared`
|
1490
|
+
# parameter to `true`. You can include public DB cluster snapshots with
|
1491
|
+
# these results by setting the `IncludePublic` parameter to `true`.
|
1492
1492
|
#
|
1493
1493
|
# The `IncludeShared` and `IncludePublic` parameters don't apply for
|
1494
1494
|
# `SnapshotType` values of `manual` or `automated`. The `IncludePublic`
|
@@ -1512,21 +1512,20 @@ module Aws::RDS
|
|
1512
1512
|
# the response includes only records beyond the marker, up to the value
|
1513
1513
|
# specified by `MaxRecords`.
|
1514
1514
|
# @option options [Boolean] :include_shared
|
1515
|
-
#
|
1516
|
-
#
|
1517
|
-
#
|
1518
|
-
# included.
|
1515
|
+
# True to include shared manual DB cluster snapshots from other AWS
|
1516
|
+
# accounts that this AWS account has been given permission to copy or
|
1517
|
+
# restore, and otherwise false. The default is `false`.
|
1519
1518
|
#
|
1520
1519
|
# You can give an AWS account permission to restore a manual DB cluster
|
1521
1520
|
# snapshot from another AWS account by the
|
1522
1521
|
# `ModifyDBClusterSnapshotAttribute` API action.
|
1523
1522
|
# @option options [Boolean] :include_public
|
1524
|
-
#
|
1525
|
-
#
|
1526
|
-
# default
|
1523
|
+
# True to include manual DB cluster snapshots that are public and can be
|
1524
|
+
# copied or restored by any AWS account, and otherwise false. The
|
1525
|
+
# default is `false`. The default is false.
|
1527
1526
|
#
|
1528
1527
|
# You can share a manual DB cluster snapshot as public by using the
|
1529
|
-
# ModifyDBClusterSnapshotAttribute API action.
|
1528
|
+
# `ModifyDBClusterSnapshotAttribute` API action.
|
1530
1529
|
# @return [DBClusterSnapshot::Collection]
|
1531
1530
|
def snapshots(options = {})
|
1532
1531
|
batches = Enumerator.new do |y|
|
@@ -290,14 +290,14 @@ module Aws::RDS
|
|
290
290
|
# })
|
291
291
|
# @param [Hash] options ({})
|
292
292
|
# @option options [Boolean] :reset_all_parameters
|
293
|
-
# A value that
|
294
|
-
# cluster parameter group to their default values
|
295
|
-
# parameter if there is a list of
|
296
|
-
# `Parameters` parameter.
|
293
|
+
# A value that is set to `true` to reset all parameters in the DB
|
294
|
+
# cluster parameter group to their default values, and `false`
|
295
|
+
# otherwise. You can't use this parameter if there is a list of
|
296
|
+
# parameter names specified for the `Parameters` parameter.
|
297
297
|
# @option options [Array<Types::Parameter>] :parameters
|
298
298
|
# A list of parameter names in the DB cluster parameter group to reset
|
299
299
|
# to the default values. You can't use this parameter if the
|
300
|
-
# `ResetAllParameters` parameter is
|
300
|
+
# `ResetAllParameters` parameter is set to `true`.
|
301
301
|
# @return [DBClusterParameterGroup]
|
302
302
|
def reset(options = {})
|
303
303
|
options = options.merge(db_cluster_parameter_group_name: @name)
|
@@ -410,9 +410,8 @@ module Aws::RDS
|
|
410
410
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
|
411
411
|
# [2]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
412
412
|
# @option options [Boolean] :copy_tags
|
413
|
-
#
|
414
|
-
#
|
415
|
-
# are not copied.
|
413
|
+
# True to copy all tags from the source DB cluster snapshot to the
|
414
|
+
# target DB cluster snapshot, and otherwise false. The default is false.
|
416
415
|
# @option options [Array<Types::Tag>] :tags
|
417
416
|
# A list of tags. For more information, see [Tagging Amazon RDS
|
418
417
|
# Resources][1] in the *Amazon RDS User Guide.*
|
@@ -552,9 +551,10 @@ module Aws::RDS
|
|
552
551
|
# * If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier` is
|
553
552
|
# not encrypted, then the restored DB cluster is not encrypted.
|
554
553
|
# @option options [Boolean] :enable_iam_database_authentication
|
555
|
-
#
|
556
|
-
#
|
557
|
-
#
|
554
|
+
# True to enable mapping of AWS Identity and Access Management (IAM)
|
555
|
+
# accounts to database accounts, and otherwise false.
|
556
|
+
#
|
557
|
+
# Default: `false`
|
558
558
|
# @option options [Integer] :backtrack_window
|
559
559
|
# The target backtrack window, in seconds. To disable backtracking, set
|
560
560
|
# this value to 0.
|
@@ -598,13 +598,12 @@ module Aws::RDS
|
|
598
598
|
#
|
599
599
|
# * Can't end with a hyphen or contain two consecutive hyphens.
|
600
600
|
# @option options [Boolean] :deletion_protection
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
601
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
602
|
+
# The database can't be deleted when this value is set to true. The
|
603
|
+
# default is false.
|
604
604
|
# @option options [Boolean] :copy_tags_to_snapshot
|
605
|
-
#
|
606
|
-
#
|
607
|
-
# copy them.
|
605
|
+
# True to copy all tags from the restored DB cluster to snapshots of the
|
606
|
+
# restored DB cluster, and otherwise false. The default is false.
|
608
607
|
# @return [DBCluster]
|
609
608
|
def restore(options = {})
|
610
609
|
options = options.merge(snapshot_identifier: @snapshot_id)
|
@@ -258,6 +258,7 @@ module Aws::RDS
|
|
258
258
|
# default_only: false,
|
259
259
|
# list_supported_character_sets: false,
|
260
260
|
# list_supported_timezones: false,
|
261
|
+
# include_all: false,
|
261
262
|
# })
|
262
263
|
# @param [Hash] options ({})
|
263
264
|
# @option options [String] :engine_version
|
@@ -276,22 +277,19 @@ module Aws::RDS
|
|
276
277
|
# @option options [Array<Types::Filter>] :filters
|
277
278
|
# This parameter is not currently supported.
|
278
279
|
# @option options [Boolean] :default_only
|
279
|
-
#
|
280
|
-
#
|
280
|
+
# Indicates that only the default version of the specified engine or
|
281
|
+
# engine and major version combination is returned.
|
281
282
|
# @option options [Boolean] :list_supported_character_sets
|
282
|
-
#
|
283
|
-
# for each engine version.
|
284
|
-
#
|
285
|
-
# If this parameter is enabled and the requested engine supports the
|
283
|
+
# If this parameter is specified and the requested engine supports the
|
286
284
|
# `CharacterSetName` parameter for `CreateDBInstance`, the response
|
287
285
|
# includes a list of supported character sets for each engine version.
|
288
286
|
# @option options [Boolean] :list_supported_timezones
|
289
|
-
#
|
290
|
-
# each engine version.
|
291
|
-
#
|
292
|
-
# If this parameter is enabled and the requested engine supports the
|
287
|
+
# If this parameter is specified and the requested engine supports the
|
293
288
|
# `TimeZone` parameter for `CreateDBInstance`, the response includes a
|
294
289
|
# list of supported time zones for each engine version.
|
290
|
+
# @option options [Boolean] :include_all
|
291
|
+
# Whether to include non-available engine versions in the list. The
|
292
|
+
# default is to list only available engine versions.
|
295
293
|
# @return [DBEngineVersion::Collection]
|
296
294
|
def versions(options = {})
|
297
295
|
batches = Enumerator.new do |y|
|
@@ -124,6 +124,13 @@ module Aws::RDS
|
|
124
124
|
data[:supported_feature_names]
|
125
125
|
end
|
126
126
|
|
127
|
+
# The status of the DB engine version, either `available` or
|
128
|
+
# `deprecated`.
|
129
|
+
# @return [String]
|
130
|
+
def status
|
131
|
+
data[:status]
|
132
|
+
end
|
133
|
+
|
127
134
|
# @!endgroup
|
128
135
|
|
129
136
|
# @return [Client]
|