aws-sdk-rds 1.32.0 → 1.33.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 +138 -74
- data/lib/aws-sdk-rds/client_api.rb +4 -0
- data/lib/aws-sdk-rds/db_cluster.rb +28 -12
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +26 -10
- data/lib/aws-sdk-rds/db_engine.rb +1 -1
- data/lib/aws-sdk-rds/db_engine_version.rb +1 -1
- data/lib/aws-sdk-rds/db_instance.rb +37 -24
- data/lib/aws-sdk-rds/db_parameter_group.rb +2 -2
- data/lib/aws-sdk-rds/db_snapshot.rb +18 -3
- data/lib/aws-sdk-rds/option_group.rb +2 -2
- data/lib/aws-sdk-rds/resource.rb +24 -26
- data/lib/aws-sdk-rds/types.rb +146 -74
- metadata +2 -2
@@ -2009,6 +2009,7 @@ module Aws::RDS
|
|
2009
2009
|
RestoreDBClusterFromSnapshotMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
2010
2010
|
RestoreDBClusterFromSnapshotMessage.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
2011
2011
|
RestoreDBClusterFromSnapshotMessage.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfiguration, location_name: "ScalingConfiguration"))
|
2012
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterParameterGroupName"))
|
2012
2013
|
RestoreDBClusterFromSnapshotMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
2013
2014
|
RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
|
2014
2015
|
|
@@ -2029,6 +2030,7 @@ module Aws::RDS
|
|
2029
2030
|
RestoreDBClusterToPointInTimeMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
2030
2031
|
RestoreDBClusterToPointInTimeMessage.add_member(:backtrack_window, Shapes::ShapeRef.new(shape: LongOptional, location_name: "BacktrackWindow"))
|
2031
2032
|
RestoreDBClusterToPointInTimeMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
2033
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterParameterGroupName"))
|
2032
2034
|
RestoreDBClusterToPointInTimeMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
2033
2035
|
RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
|
2034
2036
|
|
@@ -2060,6 +2062,7 @@ module Aws::RDS
|
|
2060
2062
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
2061
2063
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
|
2062
2064
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
|
2065
|
+
RestoreDBInstanceFromDBSnapshotMessage.add_member(:db_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBParameterGroupName"))
|
2063
2066
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
2064
2067
|
RestoreDBInstanceFromDBSnapshotMessage.struct_class = Types::RestoreDBInstanceFromDBSnapshotMessage
|
2065
2068
|
|
@@ -2141,6 +2144,7 @@ module Aws::RDS
|
|
2141
2144
|
RestoreDBInstanceToPointInTimeMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
2142
2145
|
RestoreDBInstanceToPointInTimeMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
|
2143
2146
|
RestoreDBInstanceToPointInTimeMessage.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
|
2147
|
+
RestoreDBInstanceToPointInTimeMessage.add_member(:db_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBParameterGroupName"))
|
2144
2148
|
RestoreDBInstanceToPointInTimeMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
2145
2149
|
RestoreDBInstanceToPointInTimeMessage.struct_class = Types::RestoreDBInstanceToPointInTimeMessage
|
2146
2150
|
|
@@ -550,8 +550,8 @@ module Aws::RDS
|
|
550
550
|
#
|
551
551
|
# Constraints:
|
552
552
|
#
|
553
|
-
# * If supplied, must match the name of an existing
|
554
|
-
#
|
553
|
+
# * If supplied, must match the name of an existing DB cluster parameter
|
554
|
+
# group.
|
555
555
|
#
|
556
556
|
# ^
|
557
557
|
# @option options [Array<String>] :vpc_security_group_ids
|
@@ -594,7 +594,7 @@ module Aws::RDS
|
|
594
594
|
#
|
595
595
|
# * First character must be a letter.
|
596
596
|
#
|
597
|
-
# *
|
597
|
+
# * Can't be a reserved word for the chosen database engine.
|
598
598
|
# @option options [String] :master_user_password
|
599
599
|
# The password for the master database user. This password can contain
|
600
600
|
# any printable ASCII character except "/", """, or "@".
|
@@ -799,7 +799,7 @@ module Aws::RDS
|
|
799
799
|
#
|
800
800
|
# * First character must be a letter.
|
801
801
|
#
|
802
|
-
# *
|
802
|
+
# * Can't end with a hyphen or contain two consecutive hyphens.
|
803
803
|
#
|
804
804
|
# Example: `my-cluster1-snapshot1`
|
805
805
|
# @option options [Array<Types::Tag>] :tags
|
@@ -850,7 +850,7 @@ module Aws::RDS
|
|
850
850
|
#
|
851
851
|
# * First character must be a letter
|
852
852
|
#
|
853
|
-
# *
|
853
|
+
# * Can't end with a hyphen or contain two consecutive hyphens
|
854
854
|
# @return [DBCluster]
|
855
855
|
def delete(options = {})
|
856
856
|
options = options.merge(db_cluster_identifier: @id)
|
@@ -923,7 +923,7 @@ module Aws::RDS
|
|
923
923
|
#
|
924
924
|
# * The first character must be a letter
|
925
925
|
#
|
926
|
-
# *
|
926
|
+
# * Can't end with a hyphen or contain two consecutive hyphens
|
927
927
|
#
|
928
928
|
# Example: `my-cluster2`
|
929
929
|
# @option options [Boolean] :apply_immediately
|
@@ -1089,6 +1089,7 @@ module Aws::RDS
|
|
1089
1089
|
# enable_iam_database_authentication: false,
|
1090
1090
|
# backtrack_window: 1,
|
1091
1091
|
# enable_cloudwatch_logs_exports: ["String"],
|
1092
|
+
# db_cluster_parameter_group_name: "String",
|
1092
1093
|
# deletion_protection: false,
|
1093
1094
|
# })
|
1094
1095
|
# @param [Hash] options ({})
|
@@ -1101,7 +1102,7 @@ module Aws::RDS
|
|
1101
1102
|
#
|
1102
1103
|
# * First character must be a letter
|
1103
1104
|
#
|
1104
|
-
# *
|
1105
|
+
# * Can't end with a hyphen or contain two consecutive hyphens
|
1105
1106
|
# @option options [String] :restore_type
|
1106
1107
|
# The type of restore to be performed. You can specify one of the
|
1107
1108
|
# following values:
|
@@ -1130,9 +1131,9 @@ module Aws::RDS
|
|
1130
1131
|
# * Must be specified if `UseLatestRestorableTime` parameter is not
|
1131
1132
|
# provided
|
1132
1133
|
#
|
1133
|
-
# *
|
1134
|
+
# * Can't be specified if `UseLatestRestorableTime` parameter is true
|
1134
1135
|
#
|
1135
|
-
# *
|
1136
|
+
# * Can't be specified if `RestoreType` parameter is `copy-on-write`
|
1136
1137
|
#
|
1137
1138
|
# Example: `2015-03-07T23:45:00Z`
|
1138
1139
|
# @option options [Boolean] :use_latest_restorable_time
|
@@ -1141,7 +1142,7 @@ module Aws::RDS
|
|
1141
1142
|
#
|
1142
1143
|
# Default: `false`
|
1143
1144
|
#
|
1144
|
-
# Constraints:
|
1145
|
+
# Constraints: Can't be specified if `RestoreToTime` parameter is
|
1145
1146
|
# provided.
|
1146
1147
|
# @option options [Integer] :port
|
1147
1148
|
# The port number on which the new DB cluster accepts connections.
|
@@ -1182,8 +1183,8 @@ module Aws::RDS
|
|
1182
1183
|
# source DB cluster. The new DB cluster is encrypted with the KMS key
|
1183
1184
|
# identified by the `KmsKeyId` parameter.
|
1184
1185
|
#
|
1185
|
-
# If you
|
1186
|
-
# following
|
1186
|
+
# If you don't specify a value for the `KmsKeyId` parameter, then the
|
1187
|
+
# following occurs:
|
1187
1188
|
#
|
1188
1189
|
# * If the DB cluster is encrypted, then the restored DB cluster is
|
1189
1190
|
# encrypted using the KMS key that was used to encrypt the source DB
|
@@ -1220,6 +1221,21 @@ module Aws::RDS
|
|
1220
1221
|
#
|
1221
1222
|
#
|
1222
1223
|
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
1224
|
+
# @option options [String] :db_cluster_parameter_group_name
|
1225
|
+
# The name of the DB cluster parameter group to associate with this DB
|
1226
|
+
# cluster. If this argument is omitted, the default DB cluster parameter
|
1227
|
+
# group for the specified engine is used.
|
1228
|
+
#
|
1229
|
+
# Constraints:
|
1230
|
+
#
|
1231
|
+
# * If supplied, must match the name of an existing DB cluster parameter
|
1232
|
+
# group.
|
1233
|
+
#
|
1234
|
+
# * Must be 1 to 255 letters, numbers, or hyphens.
|
1235
|
+
#
|
1236
|
+
# * First character must be a letter.
|
1237
|
+
#
|
1238
|
+
# * Can't end with a hyphen or contain two consecutive hyphens.
|
1223
1239
|
# @option options [Boolean] :deletion_protection
|
1224
1240
|
# Indicates if the DB cluster should have deletion protection enabled.
|
1225
1241
|
# The database can't be deleted when this value is set to true. The
|
@@ -344,7 +344,7 @@ module Aws::RDS
|
|
344
344
|
#
|
345
345
|
# * First character must be a letter.
|
346
346
|
#
|
347
|
-
# *
|
347
|
+
# * Can't end with a hyphen or contain two consecutive hyphens.
|
348
348
|
#
|
349
349
|
# Example: `my-cluster-snapshot2`
|
350
350
|
# @option options [String] :kms_key_id
|
@@ -480,12 +480,13 @@ module Aws::RDS
|
|
480
480
|
# auto_pause: false,
|
481
481
|
# seconds_until_auto_pause: 1,
|
482
482
|
# },
|
483
|
+
# db_cluster_parameter_group_name: "String",
|
483
484
|
# deletion_protection: false,
|
484
485
|
# })
|
485
486
|
# @param [Hash] options ({})
|
486
487
|
# @option options [Array<String>] :availability_zones
|
487
|
-
# Provides the list of EC2 Availability Zones that instances in
|
488
|
-
# restored DB cluster can be created in.
|
488
|
+
# Provides the list of Amazon EC2 Availability Zones that instances in
|
489
|
+
# the restored DB cluster can be created in.
|
489
490
|
# @option options [required, String] :db_cluster_identifier
|
490
491
|
# The name of the DB cluster to create from the DB snapshot or DB
|
491
492
|
# cluster snapshot. This parameter isn't case-sensitive.
|
@@ -496,7 +497,7 @@ module Aws::RDS
|
|
496
497
|
#
|
497
498
|
# * First character must be a letter
|
498
499
|
#
|
499
|
-
# *
|
500
|
+
# * Can't end with a hyphen or contain two consecutive hyphens
|
500
501
|
#
|
501
502
|
# Example: `my-snapshot-id`
|
502
503
|
# @option options [required, String] :engine
|
@@ -510,14 +511,14 @@ module Aws::RDS
|
|
510
511
|
# @option options [Integer] :port
|
511
512
|
# The port number on which the new DB cluster accepts connections.
|
512
513
|
#
|
513
|
-
# Constraints:
|
514
|
+
# Constraints: This value must be `1150-65535`
|
514
515
|
#
|
515
516
|
# Default: The same port as the original DB cluster.
|
516
517
|
# @option options [String] :db_subnet_group_name
|
517
518
|
# The name of the DB subnet group to use for the new DB cluster.
|
518
519
|
#
|
519
|
-
# Constraints: If supplied, must match the name of an existing
|
520
|
-
#
|
520
|
+
# Constraints: If supplied, must match the name of an existing DB subnet
|
521
|
+
# group.
|
521
522
|
#
|
522
523
|
# Example: `mySubnetgroup`
|
523
524
|
# @option options [String] :database_name
|
@@ -538,8 +539,8 @@ module Aws::RDS
|
|
538
539
|
# cluster, then you can use the KMS key alias instead of the ARN for the
|
539
540
|
# KMS encryption key.
|
540
541
|
#
|
541
|
-
# If you
|
542
|
-
# following
|
542
|
+
# If you don't specify a value for the `KmsKeyId` parameter, then the
|
543
|
+
# following occurs:
|
543
544
|
#
|
544
545
|
# * If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier` is
|
545
546
|
# encrypted, then the restored DB cluster is encrypted using the KMS
|
@@ -565,7 +566,7 @@ module Aws::RDS
|
|
565
566
|
#
|
566
567
|
# ^
|
567
568
|
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
568
|
-
# The list of logs that the restored DB cluster is to export to
|
569
|
+
# The list of logs that the restored DB cluster is to export to Amazon
|
569
570
|
# CloudWatch Logs. The values in the list depend on the DB engine being
|
570
571
|
# used. For more information, see [Publishing Database Logs to Amazon
|
571
572
|
# CloudWatch Logs ][1] in the *Amazon Aurora User Guide*.
|
@@ -579,6 +580,21 @@ module Aws::RDS
|
|
579
580
|
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
580
581
|
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
581
582
|
# of the DB cluster.
|
583
|
+
# @option options [String] :db_cluster_parameter_group_name
|
584
|
+
# The name of the DB cluster parameter group to associate with this DB
|
585
|
+
# cluster. If this argument is omitted, the default DB cluster parameter
|
586
|
+
# group for the specified engine is used.
|
587
|
+
#
|
588
|
+
# Constraints:
|
589
|
+
#
|
590
|
+
# * If supplied, must match the name of an existing default DB cluster
|
591
|
+
# parameter group.
|
592
|
+
#
|
593
|
+
# * Must be 1 to 255 letters, numbers, or hyphens.
|
594
|
+
#
|
595
|
+
# * First character must be a letter.
|
596
|
+
#
|
597
|
+
# * Can't end with a hyphen or contain two consecutive hyphens.
|
582
598
|
# @option options [Boolean] :deletion_protection
|
583
599
|
# Indicates if the DB cluster should have deletion protection enabled.
|
584
600
|
# The database can't be deleted when this value is set to true. The
|
@@ -206,7 +206,7 @@ module Aws::RDS
|
|
206
206
|
# })
|
207
207
|
# @param [Hash] options ({})
|
208
208
|
# @option options [String] :option_group_name
|
209
|
-
# The name of the option group to describe.
|
209
|
+
# The name of the option group to describe. Can't be supplied together
|
210
210
|
# with EngineName or MajorEngineVersion.
|
211
211
|
# @option options [Array<Types::Filter>] :filters
|
212
212
|
# This parameter is not currently supported.
|
@@ -305,7 +305,7 @@ module Aws::RDS
|
|
305
305
|
# })
|
306
306
|
# @param [Hash] options ({})
|
307
307
|
# @option options [String] :option_group_name
|
308
|
-
# The name of the option group to describe.
|
308
|
+
# The name of the option group to describe. Can't be supplied together
|
309
309
|
# with EngineName or MajorEngineVersion.
|
310
310
|
# @option options [Array<Types::Filter>] :filters
|
311
311
|
# This parameter is not currently supported.
|
@@ -659,7 +659,7 @@ module Aws::RDS
|
|
659
659
|
#
|
660
660
|
# * Must contain 1 to 64 letters or numbers.
|
661
661
|
#
|
662
|
-
# *
|
662
|
+
# * Can't be a word reserved by the specified database engine
|
663
663
|
#
|
664
664
|
# **MariaDB**
|
665
665
|
#
|
@@ -671,7 +671,7 @@ module Aws::RDS
|
|
671
671
|
#
|
672
672
|
# * Must contain 1 to 64 letters or numbers.
|
673
673
|
#
|
674
|
-
# *
|
674
|
+
# * Can't be a word reserved by the specified database engine
|
675
675
|
#
|
676
676
|
# **PostgreSQL**
|
677
677
|
#
|
@@ -686,7 +686,7 @@ module Aws::RDS
|
|
686
686
|
# * Must begin with a letter or an underscore. Subsequent characters can
|
687
687
|
# be letters, underscores, or digits (0-9).
|
688
688
|
#
|
689
|
-
# *
|
689
|
+
# * Can't be a word reserved by the specified database engine
|
690
690
|
#
|
691
691
|
# **Oracle**
|
692
692
|
#
|
@@ -698,7 +698,7 @@ module Aws::RDS
|
|
698
698
|
#
|
699
699
|
# Constraints:
|
700
700
|
#
|
701
|
-
# *
|
701
|
+
# * Can't be longer than 8 characters
|
702
702
|
#
|
703
703
|
# ^
|
704
704
|
#
|
@@ -716,7 +716,7 @@ module Aws::RDS
|
|
716
716
|
#
|
717
717
|
# * Must contain 1 to 64 letters or numbers.
|
718
718
|
#
|
719
|
-
# *
|
719
|
+
# * Can't be a word reserved by the specified database engine
|
720
720
|
# @option options [Integer] :allocated_storage
|
721
721
|
# The amount of storage (in gibibytes) to allocate for the DB instance.
|
722
722
|
#
|
@@ -865,7 +865,7 @@ module Aws::RDS
|
|
865
865
|
#
|
866
866
|
# * Must be 1 to 16 letters or numbers.
|
867
867
|
#
|
868
|
-
# *
|
868
|
+
# * Can't be a reserved word for the chosen database engine.
|
869
869
|
#
|
870
870
|
# **Microsoft SQL Server**
|
871
871
|
#
|
@@ -877,7 +877,7 @@ module Aws::RDS
|
|
877
877
|
#
|
878
878
|
# * The first character must be a letter.
|
879
879
|
#
|
880
|
-
# *
|
880
|
+
# * Can't be a reserved word for the chosen database engine.
|
881
881
|
#
|
882
882
|
# **MySQL**
|
883
883
|
#
|
@@ -889,7 +889,7 @@ module Aws::RDS
|
|
889
889
|
#
|
890
890
|
# * First character must be a letter.
|
891
891
|
#
|
892
|
-
# *
|
892
|
+
# * Can't be a reserved word for the chosen database engine.
|
893
893
|
#
|
894
894
|
# **Oracle**
|
895
895
|
#
|
@@ -901,7 +901,7 @@ module Aws::RDS
|
|
901
901
|
#
|
902
902
|
# * First character must be a letter.
|
903
903
|
#
|
904
|
-
# *
|
904
|
+
# * Can't be a reserved word for the chosen database engine.
|
905
905
|
#
|
906
906
|
# **PostgreSQL**
|
907
907
|
#
|
@@ -913,7 +913,7 @@ module Aws::RDS
|
|
913
913
|
#
|
914
914
|
# * First character must be a letter.
|
915
915
|
#
|
916
|
-
# *
|
916
|
+
# * Can't be a reserved word for the chosen database engine.
|
917
917
|
# @option options [String] :master_user_password
|
918
918
|
# The password for the master user. The password can include any
|
919
919
|
# printable ASCII character except "/", """, or "@".
|
@@ -1006,7 +1006,7 @@ module Aws::RDS
|
|
1006
1006
|
#
|
1007
1007
|
# * First character must be a letter
|
1008
1008
|
#
|
1009
|
-
# *
|
1009
|
+
# * Can't end with a hyphen or contain two consecutive hyphens
|
1010
1010
|
# @option options [Integer] :backup_retention_period
|
1011
1011
|
# The number of days for which automated backups are retained. Setting
|
1012
1012
|
# this parameter to a positive number enables backups. Setting this
|
@@ -1023,7 +1023,7 @@ module Aws::RDS
|
|
1023
1023
|
#
|
1024
1024
|
# * Must be a value from 0 to 35
|
1025
1025
|
#
|
1026
|
-
# *
|
1026
|
+
# * Can't be set to 0 if the DB instance is a source to Read Replicas
|
1027
1027
|
# @option options [String] :preferred_backup_window
|
1028
1028
|
# The daily time range during which automated backups are created if
|
1029
1029
|
# automated backups are enabled, using the `BackupRetentionPeriod`
|
@@ -1168,9 +1168,7 @@ module Aws::RDS
|
|
1168
1168
|
# Improve Performance][1] in the *Amazon RDS User Guide*.
|
1169
1169
|
#
|
1170
1170
|
# Constraints: Must be a multiple between 1 and 50 of the storage amount
|
1171
|
-
# for the DB instance.
|
1172
|
-
# example, if the size of your DB instance is 500 GiB, then your `Iops`
|
1173
|
-
# value can be 2000, 3000, 4000, or 5000.
|
1171
|
+
# for the DB instance.
|
1174
1172
|
#
|
1175
1173
|
#
|
1176
1174
|
#
|
@@ -1713,13 +1711,13 @@ module Aws::RDS
|
|
1713
1711
|
#
|
1714
1712
|
# Constraints:
|
1715
1713
|
#
|
1716
|
-
# *
|
1714
|
+
# * Can't be null, empty, or blank
|
1717
1715
|
#
|
1718
1716
|
# * Must contain from 1 to 255 letters, numbers, or hyphens
|
1719
1717
|
#
|
1720
1718
|
# * First character must be a letter
|
1721
1719
|
#
|
1722
|
-
# *
|
1720
|
+
# * Can't end with a hyphen or contain two consecutive hyphens
|
1723
1721
|
#
|
1724
1722
|
# Example: `my-snapshot-id`
|
1725
1723
|
# @option options [Array<Types::Tag>] :tags
|
@@ -1782,9 +1780,9 @@ module Aws::RDS
|
|
1782
1780
|
#
|
1783
1781
|
# * First character must be a letter
|
1784
1782
|
#
|
1785
|
-
# *
|
1783
|
+
# * Can't end with a hyphen or contain two consecutive hyphens
|
1786
1784
|
#
|
1787
|
-
# *
|
1785
|
+
# * Can't be specified when deleting a Read Replica.
|
1788
1786
|
# @return [DBInstance]
|
1789
1787
|
def delete(options = {})
|
1790
1788
|
options = options.merge(db_instance_identifier: @id)
|
@@ -2023,7 +2021,7 @@ module Aws::RDS
|
|
2023
2021
|
# * Can be specified for a PostgreSQL Read Replica only if the source is
|
2024
2022
|
# running PostgreSQL 9.3.5
|
2025
2023
|
#
|
2026
|
-
# *
|
2024
|
+
# * Can't be set to 0 if the DB instance is a source to Read Replicas
|
2027
2025
|
# @option options [String] :preferred_backup_window
|
2028
2026
|
# The daily time range during which automated backups are created if
|
2029
2027
|
# automated backups are enabled, as determined by the
|
@@ -2161,7 +2159,7 @@ module Aws::RDS
|
|
2161
2159
|
#
|
2162
2160
|
# * The first character must be a letter.
|
2163
2161
|
#
|
2164
|
-
# *
|
2162
|
+
# * Can't end with a hyphen or contain two consecutive hyphens.
|
2165
2163
|
#
|
2166
2164
|
# Example: `mydbinstance`
|
2167
2165
|
# @option options [String] :storage_type
|
@@ -2485,6 +2483,7 @@ module Aws::RDS
|
|
2485
2483
|
# },
|
2486
2484
|
# ],
|
2487
2485
|
# use_default_processor_features: false,
|
2486
|
+
# db_parameter_group_name: "String",
|
2488
2487
|
# deletion_protection: false,
|
2489
2488
|
# })
|
2490
2489
|
# @param [Hash] options ({})
|
@@ -2497,7 +2496,7 @@ module Aws::RDS
|
|
2497
2496
|
#
|
2498
2497
|
# * First character must be a letter
|
2499
2498
|
#
|
2500
|
-
# *
|
2499
|
+
# * Can't end with a hyphen or contain two consecutive hyphens
|
2501
2500
|
# @option options [Time,DateTime,Date,Integer,String] :restore_time
|
2502
2501
|
# The date and time to restore from.
|
2503
2502
|
#
|
@@ -2508,7 +2507,7 @@ module Aws::RDS
|
|
2508
2507
|
#
|
2509
2508
|
# * Must be before the latest restorable time for the DB instance
|
2510
2509
|
#
|
2511
|
-
# *
|
2510
|
+
# * Can't be specified if UseLatestRestorableTime parameter is true
|
2512
2511
|
#
|
2513
2512
|
# Example: `2009-09-07T23:45:00Z`
|
2514
2513
|
# @option options [Boolean] :use_latest_restorable_time
|
@@ -2517,7 +2516,7 @@ module Aws::RDS
|
|
2517
2516
|
#
|
2518
2517
|
# Default: `false`
|
2519
2518
|
#
|
2520
|
-
# Constraints:
|
2519
|
+
# Constraints: Can't be specified if RestoreTime parameter is provided.
|
2521
2520
|
# @option options [String] :db_instance_class
|
2522
2521
|
# The compute and memory capacity of the Amazon RDS DB instance, for
|
2523
2522
|
# example, `db.m4.large`. Not all DB instance classes are available in
|
@@ -2684,6 +2683,20 @@ module Aws::RDS
|
|
2684
2683
|
# @option options [Boolean] :use_default_processor_features
|
2685
2684
|
# A value that specifies that the DB instance class of the DB instance
|
2686
2685
|
# uses its default processor features.
|
2686
|
+
# @option options [String] :db_parameter_group_name
|
2687
|
+
# The name of the DB parameter group to associate with this DB instance.
|
2688
|
+
# If this argument is omitted, the default DBParameterGroup for the
|
2689
|
+
# specified engine is used.
|
2690
|
+
#
|
2691
|
+
# Constraints:
|
2692
|
+
#
|
2693
|
+
# * If supplied, must match the name of an existing DBParameterGroup.
|
2694
|
+
#
|
2695
|
+
# * Must be 1 to 255 letters, numbers, or hyphens.
|
2696
|
+
#
|
2697
|
+
# * First character must be a letter.
|
2698
|
+
#
|
2699
|
+
# * Can't end with a hyphen or contain two consecutive hyphens.
|
2687
2700
|
# @option options [Boolean] :deletion_protection
|
2688
2701
|
# Indicates if the DB instance should have deletion protection enabled.
|
2689
2702
|
# The database can't be deleted when this value is set to true. The
|