aws-sdk-rds 1.193.0 → 1.195.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +131 -80
- data/lib/aws-sdk-rds/client_api.rb +1 -0
- data/lib/aws-sdk-rds/db_cluster.rb +7 -5
- data/lib/aws-sdk-rds/db_instance.rb +117 -70
- data/lib/aws-sdk-rds/types.rb +136 -79
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +4 -4
@@ -2913,6 +2913,17 @@ module Aws::RDS
|
|
2913
2913
|
#
|
2914
2914
|
# Default: Uses existing setting
|
2915
2915
|
#
|
2916
|
+
# Constraints:
|
2917
|
+
#
|
2918
|
+
# * If you are modifying the DB instance class and upgrading the engine
|
2919
|
+
# version at the same time, the currently running engine version must
|
2920
|
+
# be supported on the specified DB instance class. Otherwise, the
|
2921
|
+
# operation returns an error. In this case, first run the operation to
|
2922
|
+
# modify the DB instance class, and then run it again to upgrade the
|
2923
|
+
# engine version.
|
2924
|
+
#
|
2925
|
+
# ^
|
2926
|
+
#
|
2916
2927
|
#
|
2917
2928
|
#
|
2918
2929
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html
|
@@ -3169,6 +3180,17 @@ module Aws::RDS
|
|
3169
3180
|
#
|
3170
3181
|
# In RDS Custom for Oracle, this parameter is supported for read
|
3171
3182
|
# replicas only if they are in the `PATCH_DB_FAILURE` lifecycle.
|
3183
|
+
#
|
3184
|
+
# Constraints:
|
3185
|
+
#
|
3186
|
+
# * If you are upgrading the engine version and modifying the DB
|
3187
|
+
# instance class at the same time, the currently running engine
|
3188
|
+
# version must be supported on the specified DB instance class.
|
3189
|
+
# Otherwise, the operation returns an error. In this case, first run
|
3190
|
+
# the operation to modify the DB instance class, and then run it again
|
3191
|
+
# to upgrade the engine version.
|
3192
|
+
#
|
3193
|
+
# ^
|
3172
3194
|
# @option options [Boolean] :allow_major_version_upgrade
|
3173
3195
|
# Specifies whether major version upgrades are allowed. Changing this
|
3174
3196
|
# parameter doesn't result in an outage and the change is
|
@@ -3982,36 +4004,38 @@ module Aws::RDS
|
|
3982
4004
|
# })
|
3983
4005
|
# @param [Hash] options ({})
|
3984
4006
|
# @option options [required, String] :target_db_instance_identifier
|
3985
|
-
# The name of the new DB instance to
|
4007
|
+
# The name of the new DB instance to create.
|
3986
4008
|
#
|
3987
4009
|
# Constraints:
|
3988
4010
|
#
|
3989
|
-
# * Must contain from 1 to 63 letters, numbers, or hyphens
|
4011
|
+
# * Must contain from 1 to 63 letters, numbers, or hyphens.
|
3990
4012
|
#
|
3991
|
-
# * First character must be a letter
|
4013
|
+
# * First character must be a letter.
|
3992
4014
|
#
|
3993
|
-
# * Can't end with a hyphen or contain two consecutive hyphens
|
4015
|
+
# * Can't end with a hyphen or contain two consecutive hyphens.
|
3994
4016
|
# @option options [Time,DateTime,Date,Integer,String] :restore_time
|
3995
4017
|
# The date and time to restore from.
|
3996
4018
|
#
|
3997
|
-
# Valid Values: Value must be a time in Universal Coordinated Time (UTC)
|
3998
|
-
# format
|
3999
|
-
#
|
4000
4019
|
# Constraints:
|
4001
4020
|
#
|
4002
|
-
# * Must be
|
4021
|
+
# * Must be a time in Universal Coordinated Time (UTC) format.
|
4022
|
+
#
|
4023
|
+
# * Must be before the latest restorable time for the DB instance.
|
4003
4024
|
#
|
4004
4025
|
# * Can't be specified if the `UseLatestRestorableTime` parameter is
|
4005
|
-
# enabled
|
4026
|
+
# enabled.
|
4006
4027
|
#
|
4007
4028
|
# Example: `2009-09-07T23:45:00Z`
|
4008
4029
|
# @option options [Boolean] :use_latest_restorable_time
|
4009
|
-
#
|
4010
|
-
#
|
4011
|
-
#
|
4030
|
+
# Specifies whether the DB instance is restored from the latest backup
|
4031
|
+
# time. By default, the DB instance isn't restored from the latest
|
4032
|
+
# backup time.
|
4033
|
+
#
|
4034
|
+
# Constraints:
|
4035
|
+
#
|
4036
|
+
# * Can't be specified if the `RestoreTime` parameter is provided.
|
4012
4037
|
#
|
4013
|
-
#
|
4014
|
-
# provided.
|
4038
|
+
# ^
|
4015
4039
|
# @option options [String] :db_instance_class
|
4016
4040
|
# The compute and memory capacity of the Amazon RDS DB instance, for
|
4017
4041
|
# example db.m4.large. Not all DB instance classes are available in all
|
@@ -4019,7 +4043,7 @@ module Aws::RDS
|
|
4019
4043
|
# list of DB instance classes, and availability for your engine, see [DB
|
4020
4044
|
# Instance Class][1] in the *Amazon RDS User Guide*.
|
4021
4045
|
#
|
4022
|
-
# Default: The same
|
4046
|
+
# Default: The same DB instance class as the original DB instance.
|
4023
4047
|
#
|
4024
4048
|
#
|
4025
4049
|
#
|
@@ -4027,35 +4051,49 @@ module Aws::RDS
|
|
4027
4051
|
# @option options [Integer] :port
|
4028
4052
|
# The port number on which the database accepts connections.
|
4029
4053
|
#
|
4030
|
-
# Constraints: Value must be `1150-65535`
|
4031
|
-
#
|
4032
4054
|
# Default: The same port as the original DB instance.
|
4055
|
+
#
|
4056
|
+
# Constraints:
|
4057
|
+
#
|
4058
|
+
# * The value must be `1150-65535`.
|
4059
|
+
#
|
4060
|
+
# ^
|
4033
4061
|
# @option options [String] :availability_zone
|
4034
4062
|
# The Availability Zone (AZ) where the DB instance will be created.
|
4035
4063
|
#
|
4036
4064
|
# Default: A random, system-chosen Availability Zone.
|
4037
4065
|
#
|
4038
|
-
#
|
4039
|
-
#
|
4066
|
+
# Constraints:
|
4067
|
+
#
|
4068
|
+
# * You can't specify the `AvailabilityZone` parameter if the DB
|
4069
|
+
# instance is a Multi-AZ deployment.
|
4070
|
+
#
|
4071
|
+
# ^
|
4040
4072
|
#
|
4041
4073
|
# Example: `us-east-1a`
|
4042
4074
|
# @option options [String] :db_subnet_group_name
|
4043
4075
|
# The DB subnet group name to use for the new instance.
|
4044
4076
|
#
|
4045
|
-
# Constraints:
|
4046
|
-
#
|
4077
|
+
# Constraints:
|
4078
|
+
#
|
4079
|
+
# * If supplied, must match the name of an existing DB subnet group.
|
4080
|
+
#
|
4081
|
+
# ^
|
4047
4082
|
#
|
4048
4083
|
# Example: `mydbsubnetgroup`
|
4049
4084
|
# @option options [Boolean] :multi_az
|
4050
|
-
#
|
4051
|
-
# deployment.
|
4085
|
+
# Secifies whether the DB instance is a Multi-AZ deployment.
|
4052
4086
|
#
|
4053
4087
|
# This setting doesn't apply to RDS Custom.
|
4054
4088
|
#
|
4055
|
-
#
|
4056
|
-
#
|
4089
|
+
# Constraints:
|
4090
|
+
#
|
4091
|
+
# * You can't specify the `AvailabilityZone` parameter if the DB
|
4092
|
+
# instance is a Multi-AZ deployment.
|
4093
|
+
#
|
4094
|
+
# ^
|
4057
4095
|
# @option options [Boolean] :publicly_accessible
|
4058
|
-
#
|
4096
|
+
# Specifies whether the DB instance is publicly accessible.
|
4059
4097
|
#
|
4060
4098
|
# When the DB cluster is publicly accessible, its Domain Name System
|
4061
4099
|
# (DNS) endpoint resolves to the private IP address from within the DB
|
@@ -4070,19 +4108,19 @@ module Aws::RDS
|
|
4070
4108
|
#
|
4071
4109
|
# For more information, see CreateDBInstance.
|
4072
4110
|
# @option options [Boolean] :auto_minor_version_upgrade
|
4073
|
-
#
|
4074
|
-
#
|
4111
|
+
# Specifies whether minor version upgrades are applied automatically to
|
4112
|
+
# the DB instance during the maintenance window.
|
4075
4113
|
#
|
4076
4114
|
# This setting doesn't apply to RDS Custom.
|
4077
4115
|
# @option options [String] :license_model
|
4078
|
-
#
|
4116
|
+
# The license model information for the restored DB instance.
|
4079
4117
|
#
|
4080
4118
|
# This setting doesn't apply to RDS Custom.
|
4081
4119
|
#
|
4082
|
-
#
|
4083
|
-
#
|
4084
|
-
# Valid values: `license-included` \| `bring-your-own-license` \|
|
4120
|
+
# Valid Values: `license-included` \| `bring-your-own-license` \|
|
4085
4121
|
# `general-public-license`
|
4122
|
+
#
|
4123
|
+
# Default: Same as the source.
|
4086
4124
|
# @option options [String] :db_name
|
4087
4125
|
# The database name for the restored DB instance.
|
4088
4126
|
#
|
@@ -4095,10 +4133,6 @@ module Aws::RDS
|
|
4095
4133
|
#
|
4096
4134
|
# This setting doesn't apply to RDS Custom.
|
4097
4135
|
#
|
4098
|
-
# Default: The same as source
|
4099
|
-
#
|
4100
|
-
# Constraint: Must be compatible with the engine of the source
|
4101
|
-
#
|
4102
4136
|
# Valid Values:
|
4103
4137
|
#
|
4104
4138
|
# * `mariadb`
|
@@ -4122,18 +4156,27 @@ module Aws::RDS
|
|
4122
4156
|
# * `sqlserver-ex`
|
4123
4157
|
#
|
4124
4158
|
# * `sqlserver-web`
|
4159
|
+
#
|
4160
|
+
# Default: The same as source
|
4161
|
+
#
|
4162
|
+
# Constraints:
|
4163
|
+
#
|
4164
|
+
# * Must be compatible with the engine of the source.
|
4165
|
+
#
|
4166
|
+
# ^
|
4125
4167
|
# @option options [Integer] :iops
|
4126
4168
|
# The amount of Provisioned IOPS (input/output operations per second) to
|
4127
|
-
#
|
4169
|
+
# initially allocate for the DB instance.
|
4128
4170
|
#
|
4129
|
-
#
|
4171
|
+
# This setting doesn't apply to SQL Server.
|
4130
4172
|
#
|
4131
|
-
#
|
4173
|
+
# Constraints:
|
4174
|
+
#
|
4175
|
+
# * Must be an integer greater than 1000.
|
4132
4176
|
#
|
4133
|
-
#
|
4134
|
-
# supported.
|
4177
|
+
# ^
|
4135
4178
|
# @option options [String] :option_group_name
|
4136
|
-
# The name of the option group to
|
4179
|
+
# The name of the option group to use for the restored DB instance.
|
4137
4180
|
#
|
4138
4181
|
# Permanent options, such as the TDE option for Oracle Advanced Security
|
4139
4182
|
# TDE, can't be removed from an option group, and that option group
|
@@ -4142,9 +4185,8 @@ module Aws::RDS
|
|
4142
4185
|
#
|
4143
4186
|
# This setting doesn't apply to RDS Custom.
|
4144
4187
|
# @option options [Boolean] :copy_tags_to_snapshot
|
4145
|
-
#
|
4146
|
-
#
|
4147
|
-
# copied.
|
4188
|
+
# Specifies whether to copy all tags from the restored DB instance to
|
4189
|
+
# snapshots of the DB instance. By default, tags are not copied.
|
4148
4190
|
# @option options [Array<Types::Tag>] :tags
|
4149
4191
|
# A list of tags. For more information, see [Tagging Amazon RDS
|
4150
4192
|
# Resources][1] in the *Amazon RDS User Guide.*
|
@@ -4153,14 +4195,19 @@ module Aws::RDS
|
|
4153
4195
|
#
|
4154
4196
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
|
4155
4197
|
# @option options [String] :storage_type
|
4156
|
-
#
|
4198
|
+
# The storage type to associate with the DB instance.
|
4157
4199
|
#
|
4158
|
-
# Valid
|
4200
|
+
# Valid Values: `gp2 | gp3 | io1 | standard`
|
4159
4201
|
#
|
4160
|
-
#
|
4161
|
-
# `
|
4202
|
+
# Default: `io1`, if the `Iops` parameter is specified. Otherwise,
|
4203
|
+
# `gp2`.
|
4162
4204
|
#
|
4163
|
-
#
|
4205
|
+
# Constraints:
|
4206
|
+
#
|
4207
|
+
# * If you specify `io1` or `gp3`, you must also include a value for the
|
4208
|
+
# `Iops` parameter.
|
4209
|
+
#
|
4210
|
+
# ^
|
4164
4211
|
# @option options [String] :tde_credential_arn
|
4165
4212
|
# The ARN from the key store with which to associate the instance for
|
4166
4213
|
# TDE encryption.
|
@@ -4177,8 +4224,8 @@ module Aws::RDS
|
|
4177
4224
|
# Default: The default EC2 VPC security group for the DB subnet group's
|
4178
4225
|
# VPC.
|
4179
4226
|
# @option options [String] :domain
|
4180
|
-
#
|
4181
|
-
#
|
4227
|
+
# The Active Directory directory ID to restore the DB instance in.
|
4228
|
+
# Create the domain before running this command. Currently, you can
|
4182
4229
|
# create only the MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB
|
4183
4230
|
# instances in an Active Directory Domain.
|
4184
4231
|
#
|
@@ -4242,9 +4289,9 @@ module Aws::RDS
|
|
4242
4289
|
#
|
4243
4290
|
# Example: `123.124.125.126,234.235.236.237`
|
4244
4291
|
# @option options [Boolean] :enable_iam_database_authentication
|
4245
|
-
#
|
4246
|
-
#
|
4247
|
-
#
|
4292
|
+
# Specifies whether to enable mapping of Amazon Web Services Identity
|
4293
|
+
# and Access Management (IAM) accounts to database accounts. By default,
|
4294
|
+
# mapping isn't enabled.
|
4248
4295
|
#
|
4249
4296
|
# This setting doesn't apply to RDS Custom.
|
4250
4297
|
#
|
@@ -4286,7 +4333,7 @@ module Aws::RDS
|
|
4286
4333
|
#
|
4287
4334
|
# Constraints:
|
4288
4335
|
#
|
4289
|
-
# * If supplied, must match the name of an existing
|
4336
|
+
# * If supplied, must match the name of an existing DB parameter group.
|
4290
4337
|
#
|
4291
4338
|
# * Must be 1 to 255 letters, numbers, or hyphens.
|
4292
4339
|
#
|
@@ -4294,10 +4341,10 @@ module Aws::RDS
|
|
4294
4341
|
#
|
4295
4342
|
# * Can't end with a hyphen or contain two consecutive hyphens.
|
4296
4343
|
# @option options [Boolean] :deletion_protection
|
4297
|
-
#
|
4298
|
-
#
|
4299
|
-
#
|
4300
|
-
#
|
4344
|
+
# Specifies whether the DB instance has deletion protection enabled. The
|
4345
|
+
# database can't be deleted when deletion protection is enabled. By
|
4346
|
+
# default, deletion protection isn't enabled. For more information, see
|
4347
|
+
# [ Deleting a DB Instance][1].
|
4301
4348
|
#
|
4302
4349
|
#
|
4303
4350
|
#
|
@@ -4320,12 +4367,12 @@ module Aws::RDS
|
|
4320
4367
|
# @option options [String] :source_db_instance_automated_backups_arn
|
4321
4368
|
# The Amazon Resource Name (ARN) of the replicated automated backups
|
4322
4369
|
# from which to restore, for example,
|
4323
|
-
# `arn:aws:rds:
|
4370
|
+
# `arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE`.
|
4324
4371
|
#
|
4325
4372
|
# This setting doesn't apply to RDS Custom.
|
4326
4373
|
# @option options [Boolean] :enable_customer_owned_ip
|
4327
|
-
#
|
4328
|
-
#
|
4374
|
+
# Specifies whether to enable a customer-owned IP address (CoIP) for an
|
4375
|
+
# RDS on Outposts DB instance.
|
4329
4376
|
#
|
4330
4377
|
# A *CoIP* provides local or external connectivity to resources in your
|
4331
4378
|
# Outpost subnets through your on-premises network. For some use cases,
|
@@ -4382,12 +4429,6 @@ module Aws::RDS
|
|
4382
4429
|
# @option options [String] :network_type
|
4383
4430
|
# The network type of the DB instance.
|
4384
4431
|
#
|
4385
|
-
# Valid values:
|
4386
|
-
#
|
4387
|
-
# * `IPV4`
|
4388
|
-
#
|
4389
|
-
# * `DUAL`
|
4390
|
-
#
|
4391
4432
|
# The network type is determined by the `DBSubnetGroup` specified for
|
4392
4433
|
# the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
|
4393
4434
|
# or the IPv4 and the IPv6 protocols (`DUAL`).
|
@@ -4395,11 +4436,17 @@ module Aws::RDS
|
|
4395
4436
|
# For more information, see [ Working with a DB instance in a VPC][1] in
|
4396
4437
|
# the *Amazon RDS User Guide.*
|
4397
4438
|
#
|
4439
|
+
# Valid Values:
|
4440
|
+
#
|
4441
|
+
# * `IPV4`
|
4442
|
+
#
|
4443
|
+
# * `DUAL`
|
4444
|
+
#
|
4398
4445
|
#
|
4399
4446
|
#
|
4400
4447
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
4401
4448
|
# @option options [Integer] :storage_throughput
|
4402
|
-
#
|
4449
|
+
# The storage throughput value for the DB instance.
|
4403
4450
|
#
|
4404
4451
|
# This setting doesn't apply to RDS Custom or Amazon Aurora.
|
4405
4452
|
# @option options [Integer] :allocated_storage
|