aws-sdk-rds 1.324.0 → 1.326.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 +1282 -8
- data/lib/aws-sdk-rds/client_api.rb +175 -0
- data/lib/aws-sdk-rds/db_cluster.rb +7 -1
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +8 -1
- data/lib/aws-sdk-rds/db_instance.rb +263 -5
- data/lib/aws-sdk-rds/db_snapshot.rb +38 -0
- data/lib/aws-sdk-rds/errors.rb +56 -0
- data/lib/aws-sdk-rds/resource.rb +38 -0
- data/lib/aws-sdk-rds/types.rb +1237 -11
- data/lib/aws-sdk-rds.rb +1 -1
- data/sig/client.rbs +77 -2
- data/sig/db_instance.rbs +7 -0
- data/sig/db_snapshot.rbs +1 -0
- data/sig/errors.rbs +154 -146
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +108 -0
- metadata +3 -3
|
@@ -886,6 +886,14 @@ module Aws::RDS
|
|
|
886
886
|
data[:storage_operation_percent_progress]
|
|
887
887
|
end
|
|
888
888
|
|
|
889
|
+
# The identifier of the DB capacity reservation associated with this DB
|
|
890
|
+
# instance. Amazon RDS doesn't return this value if the DB instance
|
|
891
|
+
# doesn't use a DB capacity reservation.
|
|
892
|
+
# @return [String]
|
|
893
|
+
def db_capacity_reservation_identifier
|
|
894
|
+
data[:db_capacity_reservation_identifier]
|
|
895
|
+
end
|
|
896
|
+
|
|
889
897
|
# @!endgroup
|
|
890
898
|
|
|
891
899
|
# @return [Client]
|
|
@@ -1121,6 +1129,7 @@ module Aws::RDS
|
|
|
1121
1129
|
# ],
|
|
1122
1130
|
# },
|
|
1123
1131
|
# ],
|
|
1132
|
+
# db_capacity_reservation_identifier: "DBCapacityReservationIdentifier",
|
|
1124
1133
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
1125
1134
|
# })
|
|
1126
1135
|
# @param [Hash] options ({})
|
|
@@ -2370,6 +2379,43 @@ module Aws::RDS
|
|
|
2370
2379
|
# * `auto-backup` - The DB instance's automated backup.
|
|
2371
2380
|
#
|
|
2372
2381
|
# ^
|
|
2382
|
+
# @option options [String] :db_capacity_reservation_identifier
|
|
2383
|
+
# The identifier or the name of the DB capacity reservation to associate
|
|
2384
|
+
# with this DB instance. You can specify the identifier, which has the
|
|
2385
|
+
# prefix `dbcr-`, or the reservation name. When you specify this
|
|
2386
|
+
# parameter, the DB instance uses reserved capacity from the specified
|
|
2387
|
+
# reservation.
|
|
2388
|
+
#
|
|
2389
|
+
# If you specify `AvailabilityZone`, Amazon RDS places the DB instance
|
|
2390
|
+
# in that Availability Zone, and the reservation must cover it.
|
|
2391
|
+
#
|
|
2392
|
+
# Constraints:
|
|
2393
|
+
#
|
|
2394
|
+
# * The reservation must reserve capacity for the DB instance class and
|
|
2395
|
+
# the database engine of the DB instance.
|
|
2396
|
+
#
|
|
2397
|
+
# * If the reservation reserves capacity for a specific license model,
|
|
2398
|
+
# the license model of the DB instance must match it.
|
|
2399
|
+
#
|
|
2400
|
+
# * The reservation must be in the `active` state, and it must not be
|
|
2401
|
+
# past its end date.
|
|
2402
|
+
#
|
|
2403
|
+
# * If you specify `AvailabilityZone`, it must be one of the
|
|
2404
|
+
# Availability Zones of the reservation.
|
|
2405
|
+
#
|
|
2406
|
+
# * For a Multi-AZ DB instance, the reservation must cover two or more
|
|
2407
|
+
# Availability Zones. A Multi-AZ DB instance uses one unit of reserved
|
|
2408
|
+
# capacity in each of two Availability Zones. If the reservation
|
|
2409
|
+
# covers more than two Availability Zones, Amazon RDS chooses the two
|
|
2410
|
+
# that the DB instance uses.
|
|
2411
|
+
#
|
|
2412
|
+
# * The reservation must have available capacity in each Availability
|
|
2413
|
+
# Zone that the DB instance uses.
|
|
2414
|
+
#
|
|
2415
|
+
# * The DB subnet group must be in a VPC with default tenancy.
|
|
2416
|
+
#
|
|
2417
|
+
# * The DB subnet group must cover each Availability Zone that the DB
|
|
2418
|
+
# instance uses.
|
|
2373
2419
|
# @option options [String] :master_user_authentication_type
|
|
2374
2420
|
# Specifies the authentication type for the master user. With IAM master
|
|
2375
2421
|
# user authentication, you can configure the master DB user with IAM
|
|
@@ -2476,6 +2522,7 @@ module Aws::RDS
|
|
|
2476
2522
|
# ],
|
|
2477
2523
|
# },
|
|
2478
2524
|
# ],
|
|
2525
|
+
# db_capacity_reservation_identifier: "DBCapacityReservationIdentifier",
|
|
2479
2526
|
# source_region: "String",
|
|
2480
2527
|
# })
|
|
2481
2528
|
# @param [Hash] options ({})
|
|
@@ -2695,11 +2742,15 @@ module Aws::RDS
|
|
|
2695
2742
|
# The Amazon Web Services KMS key identifier is the key ARN, key ID,
|
|
2696
2743
|
# alias ARN, or alias name for the KMS key.
|
|
2697
2744
|
#
|
|
2698
|
-
#
|
|
2699
|
-
#
|
|
2700
|
-
#
|
|
2701
|
-
#
|
|
2702
|
-
#
|
|
2745
|
+
# For a read replica in the same Amazon Web Services Region as the
|
|
2746
|
+
# source DB instance or Multi-AZ DB cluster, specifying this parameter
|
|
2747
|
+
# is optional. If you specify a KMS key identifier, the read replica is
|
|
2748
|
+
# encrypted with that KMS key, which can be different from the KMS key
|
|
2749
|
+
# of the source.
|
|
2750
|
+
#
|
|
2751
|
+
# If you don't specify a value for this parameter, the read replica is
|
|
2752
|
+
# encrypted with the same KMS key as the source DB instance or Multi-AZ
|
|
2753
|
+
# DB cluster.
|
|
2703
2754
|
#
|
|
2704
2755
|
# If you create an encrypted read replica in a different Amazon Web
|
|
2705
2756
|
# Services Region, then you must specify a KMS key identifier for the
|
|
@@ -3126,6 +3177,45 @@ module Aws::RDS
|
|
|
3126
3177
|
# * `auto-backup` - The DB instance's automated backup.
|
|
3127
3178
|
#
|
|
3128
3179
|
# ^
|
|
3180
|
+
# @option options [String] :db_capacity_reservation_identifier
|
|
3181
|
+
# The identifier or the name of the DB capacity reservation to associate
|
|
3182
|
+
# with this read replica. You can specify the identifier, which has the
|
|
3183
|
+
# prefix `dbcr-`, or the reservation name. When you specify this
|
|
3184
|
+
# parameter, the read replica uses reserved capacity from the specified
|
|
3185
|
+
# reservation. A read replica uses one unit of reserved capacity, in the
|
|
3186
|
+
# same way as any other DB instance.
|
|
3187
|
+
#
|
|
3188
|
+
# If you specify `AvailabilityZone`, Amazon RDS places the DB instance
|
|
3189
|
+
# in that Availability Zone, and the reservation must cover it.
|
|
3190
|
+
#
|
|
3191
|
+
# Constraints:
|
|
3192
|
+
#
|
|
3193
|
+
# * The reservation must reserve capacity for the DB instance class and
|
|
3194
|
+
# the database engine of the DB instance.
|
|
3195
|
+
#
|
|
3196
|
+
# * If the reservation reserves capacity for a specific license model,
|
|
3197
|
+
# the license model of the source DB instance must match it. A read
|
|
3198
|
+
# replica inherits its license model from the source DB instance.
|
|
3199
|
+
#
|
|
3200
|
+
# * The reservation must be in the `active` state, and it must not be
|
|
3201
|
+
# past its end date.
|
|
3202
|
+
#
|
|
3203
|
+
# * If you specify `AvailabilityZone`, it must be one of the
|
|
3204
|
+
# Availability Zones of the reservation.
|
|
3205
|
+
#
|
|
3206
|
+
# * For a Multi-AZ DB instance, the reservation must cover two or more
|
|
3207
|
+
# Availability Zones. A Multi-AZ DB instance uses one unit of reserved
|
|
3208
|
+
# capacity in each of two Availability Zones. If the reservation
|
|
3209
|
+
# covers more than two Availability Zones, Amazon RDS chooses the two
|
|
3210
|
+
# that the DB instance uses.
|
|
3211
|
+
#
|
|
3212
|
+
# * The reservation must have available capacity in each Availability
|
|
3213
|
+
# Zone that the DB instance uses.
|
|
3214
|
+
#
|
|
3215
|
+
# * The DB subnet group must be in a VPC with default tenancy.
|
|
3216
|
+
#
|
|
3217
|
+
# * The DB subnet group must cover each Availability Zone that the DB
|
|
3218
|
+
# instance uses.
|
|
3129
3219
|
# @option options [String] :source_region
|
|
3130
3220
|
# The source region of the snapshot. This is only needed when the
|
|
3131
3221
|
# shapshot is encrypted and in a different region.
|
|
@@ -3341,6 +3431,7 @@ module Aws::RDS
|
|
|
3341
3431
|
# set_for_delete: false,
|
|
3342
3432
|
# },
|
|
3343
3433
|
# ],
|
|
3434
|
+
# db_capacity_reservation_identifier: "DBCapacityReservationIdentifier",
|
|
3344
3435
|
# tag_specifications: [
|
|
3345
3436
|
# {
|
|
3346
3437
|
# resource_type: "String",
|
|
@@ -4447,6 +4538,135 @@ module Aws::RDS
|
|
|
4447
4538
|
# instance. You can create up to 3 additional storage volumes.
|
|
4448
4539
|
# Additional storage volumes are supported for RDS for Oracle and RDS
|
|
4449
4540
|
# for SQL Server DB instances only.
|
|
4541
|
+
# @option options [String] :db_capacity_reservation_identifier
|
|
4542
|
+
# The identifier or the name of the DB capacity reservation for the DB
|
|
4543
|
+
# instance to use. You can specify the identifier, which has the prefix
|
|
4544
|
+
# `dbcr-`, or the reservation name. After the modification completes,
|
|
4545
|
+
# the DB instance uses reserved capacity from this reservation.
|
|
4546
|
+
#
|
|
4547
|
+
# You can't change the DB capacity reservation of a DB instance on its
|
|
4548
|
+
# own. A request that changes the reservation must also change the DB
|
|
4549
|
+
# instance class, the Multi-AZ setting, the license model, or the
|
|
4550
|
+
# engine. Therefore, this request always changes the configuration of
|
|
4551
|
+
# the DB instance.
|
|
4552
|
+
#
|
|
4553
|
+
# If the DB instance already uses the reservation that you specify, this
|
|
4554
|
+
# requirement doesn't apply. You can then change another setting, such
|
|
4555
|
+
# as the Multi-AZ setting, and keep the reservation.
|
|
4556
|
+
#
|
|
4557
|
+
# For a DB instance that uses no reservation, change `DBInstanceClass`
|
|
4558
|
+
# to the DB instance class that the reservation reserves. A reservation
|
|
4559
|
+
# reserves capacity for one DB instance class, so that change moves the
|
|
4560
|
+
# DB instance onto the reserved capacity. That change also resizes the
|
|
4561
|
+
# DB instance, which interrupts it.
|
|
4562
|
+
#
|
|
4563
|
+
# If the DB instance already runs the DB instance class that the
|
|
4564
|
+
# reservation reserves, change `MultiAZ` or `LicenseModel` instead. Only
|
|
4565
|
+
# RDS for Oracle and RDS for Microsoft SQL Server accept a change of
|
|
4566
|
+
# license model, so `MultiAZ` is the remaining choice for every other
|
|
4567
|
+
# engine.
|
|
4568
|
+
#
|
|
4569
|
+
# If you don't specify this parameter, Amazon RDS moves the DB instance
|
|
4570
|
+
# to unreserved capacity, and it releases the reserved capacity that the
|
|
4571
|
+
# DB instance holds. A request that changes the DB instance class, the
|
|
4572
|
+
# Multi-AZ setting, the license model, or the engine moves the DB
|
|
4573
|
+
# instance to different hardware, and Amazon RDS places the DB instance
|
|
4574
|
+
# on unreserved capacity. Therefore, to keep the DB instance on reserved
|
|
4575
|
+
# capacity, specify this parameter in every request that changes any of
|
|
4576
|
+
# those settings.
|
|
4577
|
+
#
|
|
4578
|
+
# The DB instance keeps its current reservation until Amazon RDS
|
|
4579
|
+
# applies
|
|
4580
|
+
# the modification. Until then, the `DBCapacityReservationIdentifier`
|
|
4581
|
+
# field of the DB instance still reports that reservation, and
|
|
4582
|
+
# `PendingModifiedValues` reports no reservation. Amazon RDS releases
|
|
4583
|
+
# the reserved capacity when it moves the DB instance.
|
|
4584
|
+
#
|
|
4585
|
+
# Constraints:
|
|
4586
|
+
#
|
|
4587
|
+
# * If the request changes which DB capacity reservation the DB instance
|
|
4588
|
+
# uses, it must also set a new value for `DBInstanceClass`, `MultiAZ`,
|
|
4589
|
+
# `LicenseModel`, or `Engine`. The new value must differ from the
|
|
4590
|
+
# current value. The only engine change that `ModifyDBInstance`
|
|
4591
|
+
# supports is a conversion to the CDB architecture. Repeating the
|
|
4592
|
+
# current value doesn't satisfy this requirement. This requirement
|
|
4593
|
+
# applies both when the DB instance uses no reservation, and when it
|
|
4594
|
+
# moves to a different reservation.
|
|
4595
|
+
#
|
|
4596
|
+
# * The reservation must reserve capacity for the DB instance class that
|
|
4597
|
+
# the DB instance uses after the modification, and for the database
|
|
4598
|
+
# engine of the DB instance. Therefore, when the request changes
|
|
4599
|
+
# `DBInstanceClass`, the reservation reserves capacity for a DB
|
|
4600
|
+
# instance class that the DB instance doesn't use today.
|
|
4601
|
+
#
|
|
4602
|
+
# * The reservation must be in the `active` state, and it must not be
|
|
4603
|
+
# past its end date.
|
|
4604
|
+
#
|
|
4605
|
+
# * The reservation must have available capacity in each Availability
|
|
4606
|
+
# Zone that the DB instance uses after the modification.
|
|
4607
|
+
#
|
|
4608
|
+
# * The reservation must cover the Availability Zone of the DB instance,
|
|
4609
|
+
# except when the request changes the DB instance from Multi-AZ to
|
|
4610
|
+
# Single-AZ.
|
|
4611
|
+
#
|
|
4612
|
+
# * For a Multi-AZ DB instance, the reservation must cover two or more
|
|
4613
|
+
# Availability Zones. A Multi-AZ DB instance uses one unit of reserved
|
|
4614
|
+
# capacity in each of two Availability Zones.
|
|
4615
|
+
#
|
|
4616
|
+
# * If the DB instance is already Multi-AZ, the reservation must cover
|
|
4617
|
+
# both of its Availability Zones. If the request converts the DB
|
|
4618
|
+
# instance to Multi-AZ, the reservation must cover the current
|
|
4619
|
+
# Availability Zone of the DB instance, and Amazon RDS chooses the
|
|
4620
|
+
# second Availability Zone from the reservation.
|
|
4621
|
+
#
|
|
4622
|
+
# * If the reservation reserves capacity for a specific license model,
|
|
4623
|
+
# the license model of the DB instance must match it. Amazon RDS
|
|
4624
|
+
# checks the license model only when the request specifies
|
|
4625
|
+
# `LicenseModel`.
|
|
4626
|
+
#
|
|
4627
|
+
# * You can't specify this parameter together with a change to
|
|
4628
|
+
# `DBSubnetGroupName`.
|
|
4629
|
+
#
|
|
4630
|
+
# * You can't specify this parameter together with a change to both
|
|
4631
|
+
# `DBInstanceClass` and `LicenseModel`. Submit those changes as two
|
|
4632
|
+
# separate requests.
|
|
4633
|
+
#
|
|
4634
|
+
# * Can't be specified together with a change to `DBInstanceClass` when
|
|
4635
|
+
# the request also changes the DB instance from Multi-AZ to Single-AZ.
|
|
4636
|
+
#
|
|
4637
|
+
# * When the request changes the DB instance from Multi-AZ to Single-AZ,
|
|
4638
|
+
# the reservation must cover either the primary or the secondary
|
|
4639
|
+
# Availability Zone of the DB instance. Amazon RDS keeps the DB
|
|
4640
|
+
# instance in its primary Availability Zone, and it removes the
|
|
4641
|
+
# standby replica. Therefore, the primary Availability Zone keeps its
|
|
4642
|
+
# unit of reserved capacity, and the secondary Availability Zone
|
|
4643
|
+
# releases its unit.
|
|
4644
|
+
#
|
|
4645
|
+
# * Can't be specified together with `LicenseModel` while a
|
|
4646
|
+
# modification of the DB instance class or the Multi-AZ setting is
|
|
4647
|
+
# pending.
|
|
4648
|
+
#
|
|
4649
|
+
# * Can't be specified together with `DBInstanceClass` or `MultiAZ`
|
|
4650
|
+
# while a modification of the license model is pending.
|
|
4651
|
+
#
|
|
4652
|
+
# * When a modification is already pending, the reservation must reserve
|
|
4653
|
+
# capacity for the DB instance as it will be after both the pending
|
|
4654
|
+
# modification and the requested modification complete.
|
|
4655
|
+
#
|
|
4656
|
+
# * The DB subnet group must be in a VPC with default tenancy.
|
|
4657
|
+
#
|
|
4658
|
+
# * The DB subnet group must cover each Availability Zone that the DB
|
|
4659
|
+
# instance uses.
|
|
4660
|
+
#
|
|
4661
|
+
# * Isn't supported for an RDS on Outposts DB instance.
|
|
4662
|
+
#
|
|
4663
|
+
# * If the reservation expires within one week, you must also enable
|
|
4664
|
+
# `ApplyImmediately`. Otherwise, choose a reservation with a later end
|
|
4665
|
+
# date.
|
|
4666
|
+
#
|
|
4667
|
+
# * Amazon RDS holds a unit of reserved capacity for the DB instance
|
|
4668
|
+
# when it accepts the request, even when the modification waits for
|
|
4669
|
+
# the maintenance window.
|
|
4450
4670
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
|
4451
4671
|
# Tags to assign to resources associated with the DB instance.
|
|
4452
4672
|
#
|
|
@@ -4658,6 +4878,7 @@ module Aws::RDS
|
|
|
4658
4878
|
# allocated_storage: 1,
|
|
4659
4879
|
# backup_retention_period: 1,
|
|
4660
4880
|
# preferred_backup_window: "String",
|
|
4881
|
+
# db_capacity_reservation_identifier: "DBCapacityReservationIdentifier",
|
|
4661
4882
|
# dedicated_log_volume: false,
|
|
4662
4883
|
# ca_certificate_identifier: "String",
|
|
4663
4884
|
# engine_lifecycle_support: "String",
|
|
@@ -5249,6 +5470,43 @@ module Aws::RDS
|
|
|
5249
5470
|
#
|
|
5250
5471
|
#
|
|
5251
5472
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow
|
|
5473
|
+
# @option options [String] :db_capacity_reservation_identifier
|
|
5474
|
+
# The identifier or the name of the DB capacity reservation to associate
|
|
5475
|
+
# with this DB instance. You can specify the identifier, which has the
|
|
5476
|
+
# prefix `dbcr-`, or the reservation name. When you specify this
|
|
5477
|
+
# parameter, the DB instance uses reserved capacity from the specified
|
|
5478
|
+
# reservation.
|
|
5479
|
+
#
|
|
5480
|
+
# If you specify `AvailabilityZone`, Amazon RDS places the DB instance
|
|
5481
|
+
# in that Availability Zone, and the reservation must cover it.
|
|
5482
|
+
#
|
|
5483
|
+
# Constraints:
|
|
5484
|
+
#
|
|
5485
|
+
# * The reservation must reserve capacity for the DB instance class and
|
|
5486
|
+
# the database engine of the DB instance.
|
|
5487
|
+
#
|
|
5488
|
+
# * If the reservation reserves capacity for a specific license model,
|
|
5489
|
+
# the license model of the DB instance must match it.
|
|
5490
|
+
#
|
|
5491
|
+
# * The reservation must be in the `active` state, and it must not be
|
|
5492
|
+
# past its end date.
|
|
5493
|
+
#
|
|
5494
|
+
# * If you specify `AvailabilityZone`, it must be one of the
|
|
5495
|
+
# Availability Zones of the reservation.
|
|
5496
|
+
#
|
|
5497
|
+
# * For a Multi-AZ DB instance, the reservation must cover two or more
|
|
5498
|
+
# Availability Zones. A Multi-AZ DB instance uses one unit of reserved
|
|
5499
|
+
# capacity in each of two Availability Zones. If the reservation
|
|
5500
|
+
# covers more than two Availability Zones, Amazon RDS chooses the two
|
|
5501
|
+
# that the DB instance uses.
|
|
5502
|
+
#
|
|
5503
|
+
# * The reservation must have available capacity in each Availability
|
|
5504
|
+
# Zone that the DB instance uses.
|
|
5505
|
+
#
|
|
5506
|
+
# * The DB subnet group must be in a VPC with default tenancy.
|
|
5507
|
+
#
|
|
5508
|
+
# * The DB subnet group must cover each Availability Zone that the DB
|
|
5509
|
+
# instance uses.
|
|
5252
5510
|
# @option options [Boolean] :dedicated_log_volume
|
|
5253
5511
|
# Specifies whether to enable a dedicated log volume (DLV) for the DB
|
|
5254
5512
|
# instance.
|
|
@@ -790,6 +790,7 @@ module Aws::RDS
|
|
|
790
790
|
# db_cluster_snapshot_identifier: "String",
|
|
791
791
|
# backup_retention_period: 1,
|
|
792
792
|
# preferred_backup_window: "String",
|
|
793
|
+
# db_capacity_reservation_identifier: "DBCapacityReservationIdentifier",
|
|
793
794
|
# dedicated_log_volume: false,
|
|
794
795
|
# ca_certificate_identifier: "String",
|
|
795
796
|
# engine_lifecycle_support: "String",
|
|
@@ -1354,6 +1355,43 @@ module Aws::RDS
|
|
|
1354
1355
|
#
|
|
1355
1356
|
#
|
|
1356
1357
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow
|
|
1358
|
+
# @option options [String] :db_capacity_reservation_identifier
|
|
1359
|
+
# The identifier or the name of the DB capacity reservation to associate
|
|
1360
|
+
# with this DB instance. You can specify the identifier, which has the
|
|
1361
|
+
# prefix `dbcr-`, or the reservation name. When you specify this
|
|
1362
|
+
# parameter, the DB instance uses reserved capacity from the specified
|
|
1363
|
+
# reservation.
|
|
1364
|
+
#
|
|
1365
|
+
# If you specify `AvailabilityZone`, Amazon RDS places the DB instance
|
|
1366
|
+
# in that Availability Zone, and the reservation must cover it.
|
|
1367
|
+
#
|
|
1368
|
+
# Constraints:
|
|
1369
|
+
#
|
|
1370
|
+
# * The reservation must reserve capacity for the DB instance class and
|
|
1371
|
+
# the database engine of the DB instance.
|
|
1372
|
+
#
|
|
1373
|
+
# * If the reservation reserves capacity for a specific license model,
|
|
1374
|
+
# the license model of the DB instance must match it.
|
|
1375
|
+
#
|
|
1376
|
+
# * The reservation must be in the `active` state, and it must not be
|
|
1377
|
+
# past its end date.
|
|
1378
|
+
#
|
|
1379
|
+
# * If you specify `AvailabilityZone`, it must be one of the
|
|
1380
|
+
# Availability Zones of the reservation.
|
|
1381
|
+
#
|
|
1382
|
+
# * For a Multi-AZ DB instance, the reservation must cover two or more
|
|
1383
|
+
# Availability Zones. A Multi-AZ DB instance uses one unit of reserved
|
|
1384
|
+
# capacity in each of two Availability Zones. If the reservation
|
|
1385
|
+
# covers more than two Availability Zones, Amazon RDS chooses the two
|
|
1386
|
+
# that the DB instance uses.
|
|
1387
|
+
#
|
|
1388
|
+
# * The reservation must have available capacity in each Availability
|
|
1389
|
+
# Zone that the DB instance uses.
|
|
1390
|
+
#
|
|
1391
|
+
# * The DB subnet group must be in a VPC with default tenancy.
|
|
1392
|
+
#
|
|
1393
|
+
# * The DB subnet group must cover each Availability Zone that the DB
|
|
1394
|
+
# instance uses.
|
|
1357
1395
|
# @option options [Boolean] :dedicated_log_volume
|
|
1358
1396
|
# Specifies whether to enable a dedicated log volume (DLV) for the DB
|
|
1359
1397
|
# instance.
|
data/lib/aws-sdk-rds/errors.rb
CHANGED
|
@@ -44,6 +44,12 @@ module Aws::RDS
|
|
|
44
44
|
# * {CustomDBEngineVersionAlreadyExistsFault}
|
|
45
45
|
# * {CustomDBEngineVersionNotFoundFault}
|
|
46
46
|
# * {CustomDBEngineVersionQuotaExceededFault}
|
|
47
|
+
# * {DBCapacityReservationAlreadyExistsFault}
|
|
48
|
+
# * This error class is not used. `DBCapacityReservationAlreadyExists` is used during parsing instead.
|
|
49
|
+
# * {DBCapacityReservationNotFoundFault}
|
|
50
|
+
# * This error class is not used. `DBCapacityReservationNotFound` is used during parsing instead.
|
|
51
|
+
# * {DBCapacityReservationUnsupportedFault}
|
|
52
|
+
# * This error class is not used. `DBCapacityReservationUnsupported` is used during parsing instead.
|
|
47
53
|
# * {DBClusterAlreadyExistsFault}
|
|
48
54
|
# * {DBClusterAutomatedBackupNotFoundFault}
|
|
49
55
|
# * {DBClusterAutomatedBackupQuotaExceededFault}
|
|
@@ -151,6 +157,8 @@ module Aws::RDS
|
|
|
151
157
|
# * {IntegrationQuotaExceededFault}
|
|
152
158
|
# * {InvalidBlueGreenDeploymentStateFault}
|
|
153
159
|
# * {InvalidCustomDBEngineVersionStateFault}
|
|
160
|
+
# * {InvalidDBCapacityReservationStateFault}
|
|
161
|
+
# * This error class is not used. `InvalidDBCapacityReservationState` is used during parsing instead.
|
|
154
162
|
# * {InvalidDBClusterAutomatedBackupStateFault}
|
|
155
163
|
# * {InvalidDBClusterCapacityFault}
|
|
156
164
|
# * {InvalidDBClusterEndpointStateFault}
|
|
@@ -378,6 +386,42 @@ module Aws::RDS
|
|
|
378
386
|
end
|
|
379
387
|
end
|
|
380
388
|
|
|
389
|
+
# @deprecated This error class is not used during parsing.
|
|
390
|
+
# Please use `DBCapacityReservationAlreadyExists` instead.
|
|
391
|
+
class DBCapacityReservationAlreadyExistsFault < ServiceError
|
|
392
|
+
|
|
393
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
394
|
+
# @param [String] message
|
|
395
|
+
# @param [Aws::RDS::Types::DBCapacityReservationAlreadyExistsFault] data
|
|
396
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
397
|
+
super(context, message, data)
|
|
398
|
+
end
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
# @deprecated This error class is not used during parsing.
|
|
402
|
+
# Please use `DBCapacityReservationNotFound` instead.
|
|
403
|
+
class DBCapacityReservationNotFoundFault < ServiceError
|
|
404
|
+
|
|
405
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
406
|
+
# @param [String] message
|
|
407
|
+
# @param [Aws::RDS::Types::DBCapacityReservationNotFoundFault] data
|
|
408
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
409
|
+
super(context, message, data)
|
|
410
|
+
end
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
# @deprecated This error class is not used during parsing.
|
|
414
|
+
# Please use `DBCapacityReservationUnsupported` instead.
|
|
415
|
+
class DBCapacityReservationUnsupportedFault < ServiceError
|
|
416
|
+
|
|
417
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
418
|
+
# @param [String] message
|
|
419
|
+
# @param [Aws::RDS::Types::DBCapacityReservationUnsupportedFault] data
|
|
420
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
421
|
+
super(context, message, data)
|
|
422
|
+
end
|
|
423
|
+
end
|
|
424
|
+
|
|
381
425
|
class DBClusterAlreadyExistsFault < ServiceError
|
|
382
426
|
|
|
383
427
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -1176,6 +1220,18 @@ module Aws::RDS
|
|
|
1176
1220
|
end
|
|
1177
1221
|
end
|
|
1178
1222
|
|
|
1223
|
+
# @deprecated This error class is not used during parsing.
|
|
1224
|
+
# Please use `InvalidDBCapacityReservationState` instead.
|
|
1225
|
+
class InvalidDBCapacityReservationStateFault < ServiceError
|
|
1226
|
+
|
|
1227
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
1228
|
+
# @param [String] message
|
|
1229
|
+
# @param [Aws::RDS::Types::InvalidDBCapacityReservationStateFault] data
|
|
1230
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
1231
|
+
super(context, message, data)
|
|
1232
|
+
end
|
|
1233
|
+
end
|
|
1234
|
+
|
|
1179
1235
|
class InvalidDBClusterAutomatedBackupStateFault < ServiceError
|
|
1180
1236
|
|
|
1181
1237
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
|
@@ -1242,6 +1242,7 @@ module Aws::RDS
|
|
|
1242
1242
|
# ],
|
|
1243
1243
|
# },
|
|
1244
1244
|
# ],
|
|
1245
|
+
# db_capacity_reservation_identifier: "DBCapacityReservationIdentifier",
|
|
1245
1246
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
1246
1247
|
# })
|
|
1247
1248
|
# @param [Hash] options ({})
|
|
@@ -2504,6 +2505,43 @@ module Aws::RDS
|
|
|
2504
2505
|
# * `auto-backup` - The DB instance's automated backup.
|
|
2505
2506
|
#
|
|
2506
2507
|
# ^
|
|
2508
|
+
# @option options [String] :db_capacity_reservation_identifier
|
|
2509
|
+
# The identifier or the name of the DB capacity reservation to associate
|
|
2510
|
+
# with this DB instance. You can specify the identifier, which has the
|
|
2511
|
+
# prefix `dbcr-`, or the reservation name. When you specify this
|
|
2512
|
+
# parameter, the DB instance uses reserved capacity from the specified
|
|
2513
|
+
# reservation.
|
|
2514
|
+
#
|
|
2515
|
+
# If you specify `AvailabilityZone`, Amazon RDS places the DB instance
|
|
2516
|
+
# in that Availability Zone, and the reservation must cover it.
|
|
2517
|
+
#
|
|
2518
|
+
# Constraints:
|
|
2519
|
+
#
|
|
2520
|
+
# * The reservation must reserve capacity for the DB instance class and
|
|
2521
|
+
# the database engine of the DB instance.
|
|
2522
|
+
#
|
|
2523
|
+
# * If the reservation reserves capacity for a specific license model,
|
|
2524
|
+
# the license model of the DB instance must match it.
|
|
2525
|
+
#
|
|
2526
|
+
# * The reservation must be in the `active` state, and it must not be
|
|
2527
|
+
# past its end date.
|
|
2528
|
+
#
|
|
2529
|
+
# * If you specify `AvailabilityZone`, it must be one of the
|
|
2530
|
+
# Availability Zones of the reservation.
|
|
2531
|
+
#
|
|
2532
|
+
# * For a Multi-AZ DB instance, the reservation must cover two or more
|
|
2533
|
+
# Availability Zones. A Multi-AZ DB instance uses one unit of reserved
|
|
2534
|
+
# capacity in each of two Availability Zones. If the reservation
|
|
2535
|
+
# covers more than two Availability Zones, Amazon RDS chooses the two
|
|
2536
|
+
# that the DB instance uses.
|
|
2537
|
+
#
|
|
2538
|
+
# * The reservation must have available capacity in each Availability
|
|
2539
|
+
# Zone that the DB instance uses.
|
|
2540
|
+
#
|
|
2541
|
+
# * The DB subnet group must be in a VPC with default tenancy.
|
|
2542
|
+
#
|
|
2543
|
+
# * The DB subnet group must cover each Availability Zone that the DB
|
|
2544
|
+
# instance uses.
|
|
2507
2545
|
# @option options [String] :master_user_authentication_type
|
|
2508
2546
|
# Specifies the authentication type for the master user. With IAM master
|
|
2509
2547
|
# user authentication, you can configure the master DB user with IAM
|