aws-sdk-rds 1.273.0 → 1.274.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +312 -9
- data/lib/aws-sdk-rds/client_api.rb +13 -1
- data/lib/aws-sdk-rds/db_cluster.rb +23 -2
- data/lib/aws-sdk-rds/db_instance.rb +89 -4
- data/lib/aws-sdk-rds/db_snapshot.rb +47 -0
- data/lib/aws-sdk-rds/resource.rb +15 -1
- data/lib/aws-sdk-rds/types.rb +347 -10
- data/lib/aws-sdk-rds.rb +1 -1
- data/sig/client.rbs +13 -4
- data/sig/db_instance.rbs +3 -1
- data/sig/db_snapshot.rbs +3 -1
- data/sig/types.rbs +10 -0
- metadata +2 -2
@@ -188,6 +188,13 @@ module Aws::RDS
|
|
188
188
|
end
|
189
189
|
|
190
190
|
# Indicates whether minor version patches are applied automatically.
|
191
|
+
#
|
192
|
+
# For more information about automatic minor version upgrades, see
|
193
|
+
# [Automatically upgrading the minor engine version][1].
|
194
|
+
#
|
195
|
+
#
|
196
|
+
#
|
197
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades
|
191
198
|
# @return [Boolean]
|
192
199
|
def auto_minor_version_upgrade
|
193
200
|
data[:auto_minor_version_upgrade]
|
@@ -1621,6 +1628,13 @@ module Aws::RDS
|
|
1621
1628
|
#
|
1622
1629
|
# If you create an RDS Custom DB instance, you must set
|
1623
1630
|
# `AutoMinorVersionUpgrade` to `false`.
|
1631
|
+
#
|
1632
|
+
# For more information about automatic minor version upgrades, see
|
1633
|
+
# [Automatically upgrading the minor engine version][1].
|
1634
|
+
#
|
1635
|
+
#
|
1636
|
+
#
|
1637
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades
|
1624
1638
|
# @option options [String] :license_model
|
1625
1639
|
# The license model information for this DB instance.
|
1626
1640
|
#
|
@@ -2372,6 +2386,13 @@ module Aws::RDS
|
|
2372
2386
|
# This setting doesn't apply to RDS Custom DB instances.
|
2373
2387
|
#
|
2374
2388
|
# Default: Inherits the value from the source DB instance.
|
2389
|
+
#
|
2390
|
+
# For more information about automatic minor version upgrades, see
|
2391
|
+
# [Automatically upgrading the minor engine version][1].
|
2392
|
+
#
|
2393
|
+
#
|
2394
|
+
#
|
2395
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades
|
2375
2396
|
# @option options [Integer] :iops
|
2376
2397
|
# The amount of Provisioned IOPS (input/output operations per second) to
|
2377
2398
|
# initially allocate for the DB instance.
|
@@ -3260,11 +3281,17 @@ module Aws::RDS
|
|
3260
3281
|
#
|
3261
3282
|
# This setting doesn't apply to the following DB instances:
|
3262
3283
|
#
|
3263
|
-
# * Amazon Aurora
|
3264
|
-
#
|
3284
|
+
# * Amazon Aurora
|
3285
|
+
#
|
3286
|
+
# The password for the master user is managed by the DB cluster. For
|
3287
|
+
# more information, see `ModifyDBCluster`.
|
3265
3288
|
#
|
3266
3289
|
# * RDS Custom
|
3267
3290
|
#
|
3291
|
+
# * RDS for Oracle CDBs in the multi-tenant configuration
|
3292
|
+
#
|
3293
|
+
# Specify the master password in `ModifyTenantDatabase` instead.
|
3294
|
+
#
|
3268
3295
|
# Default: Uses existing setting
|
3269
3296
|
#
|
3270
3297
|
# Constraints:
|
@@ -3466,6 +3493,13 @@ module Aws::RDS
|
|
3466
3493
|
#
|
3467
3494
|
# For an RDS Custom DB instance, don't enable this setting. Otherwise,
|
3468
3495
|
# the operation returns an error.
|
3496
|
+
#
|
3497
|
+
# For more information about automatic minor version upgrades, see
|
3498
|
+
# [Automatically upgrading the minor engine version][1].
|
3499
|
+
#
|
3500
|
+
#
|
3501
|
+
#
|
3502
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades
|
3469
3503
|
# @option options [String] :license_model
|
3470
3504
|
# The license model for the DB instance.
|
3471
3505
|
#
|
@@ -4058,7 +4092,11 @@ module Aws::RDS
|
|
4058
4092
|
# * Can't manage the master user password with Amazon Web Services
|
4059
4093
|
# Secrets Manager if `MasterUserPassword` is specified.
|
4060
4094
|
#
|
4061
|
-
#
|
4095
|
+
# * Can't specify for RDS for Oracle CDB instances in the multi-tenant
|
4096
|
+
# configuration. Use `ModifyTenantDatabase` instead.
|
4097
|
+
#
|
4098
|
+
# * Can't specify the parameters `ManageMasterUserPassword` and
|
4099
|
+
# `MultiTenant` in the same operation.
|
4062
4100
|
#
|
4063
4101
|
#
|
4064
4102
|
#
|
@@ -4068,7 +4106,7 @@ module Aws::RDS
|
|
4068
4106
|
# Secrets Manager for the master user password.
|
4069
4107
|
#
|
4070
4108
|
# This setting is valid only if the master user password is managed by
|
4071
|
-
# RDS in Amazon Web Services Secrets Manager for the DB
|
4109
|
+
# RDS in Amazon Web Services Secrets Manager for the DB instance. The
|
4072
4110
|
# secret value contains the updated password.
|
4073
4111
|
#
|
4074
4112
|
# For more information, see [Password management with Amazon Web
|
@@ -4313,6 +4351,8 @@ module Aws::RDS
|
|
4313
4351
|
# dedicated_log_volume: false,
|
4314
4352
|
# ca_certificate_identifier: "String",
|
4315
4353
|
# engine_lifecycle_support: "String",
|
4354
|
+
# manage_master_user_password: false,
|
4355
|
+
# master_user_secret_kms_key_id: "String",
|
4316
4356
|
# })
|
4317
4357
|
# @param [Hash] options ({})
|
4318
4358
|
# @option options [required, String] :target_db_instance_identifier
|
@@ -4424,6 +4464,13 @@ module Aws::RDS
|
|
4424
4464
|
# the DB instance during the maintenance window.
|
4425
4465
|
#
|
4426
4466
|
# This setting doesn't apply to RDS Custom.
|
4467
|
+
#
|
4468
|
+
# For more information about automatic minor version upgrades, see
|
4469
|
+
# [Automatically upgrading the minor engine version][1].
|
4470
|
+
#
|
4471
|
+
#
|
4472
|
+
#
|
4473
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades
|
4427
4474
|
# @option options [String] :license_model
|
4428
4475
|
# The license model information for the restored DB instance.
|
4429
4476
|
#
|
@@ -4866,6 +4913,44 @@ module Aws::RDS
|
|
4866
4913
|
#
|
4867
4914
|
#
|
4868
4915
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
|
4916
|
+
# @option options [Boolean] :manage_master_user_password
|
4917
|
+
# Specifies whether to manage the master user password with Amazon Web
|
4918
|
+
# Services Secrets Manager in the restored DB instance.
|
4919
|
+
#
|
4920
|
+
# For more information, see [Password management with Amazon Web
|
4921
|
+
# Services Secrets Manager][1] in the *Amazon RDS User Guide*.
|
4922
|
+
#
|
4923
|
+
# Constraints:
|
4924
|
+
#
|
4925
|
+
# * Applies to RDS for Oracle only.
|
4926
|
+
#
|
4927
|
+
# ^
|
4928
|
+
#
|
4929
|
+
#
|
4930
|
+
#
|
4931
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html
|
4932
|
+
# @option options [String] :master_user_secret_kms_key_id
|
4933
|
+
# The Amazon Web Services KMS key identifier to encrypt a secret that is
|
4934
|
+
# automatically generated and managed in Amazon Web Services Secrets
|
4935
|
+
# Manager.
|
4936
|
+
#
|
4937
|
+
# This setting is valid only if the master user password is managed by
|
4938
|
+
# RDS in Amazon Web Services Secrets Manager for the DB instance.
|
4939
|
+
#
|
4940
|
+
# The Amazon Web Services KMS key identifier is the key ARN, key ID,
|
4941
|
+
# alias ARN, or alias name for the KMS key. To use a KMS key in a
|
4942
|
+
# different Amazon Web Services account, specify the key ARN or alias
|
4943
|
+
# ARN.
|
4944
|
+
#
|
4945
|
+
# If you don't specify `MasterUserSecretKmsKeyId`, then the
|
4946
|
+
# `aws/secretsmanager` KMS key is used to encrypt the secret. If the
|
4947
|
+
# secret is in a different Amazon Web Services account, then you can't
|
4948
|
+
# use the `aws/secretsmanager` KMS key to encrypt the secret, and you
|
4949
|
+
# must use a customer managed KMS key.
|
4950
|
+
#
|
4951
|
+
# There is a default KMS key for your Amazon Web Services account. Your
|
4952
|
+
# Amazon Web Services account has a different default KMS key for each
|
4953
|
+
# Amazon Web Services Region.
|
4869
4954
|
# @return [DBInstance]
|
4870
4955
|
def restore(options = {})
|
4871
4956
|
options = options.merge(source_db_instance_identifier: @id)
|
@@ -720,6 +720,8 @@ module Aws::RDS
|
|
720
720
|
# dedicated_log_volume: false,
|
721
721
|
# ca_certificate_identifier: "String",
|
722
722
|
# engine_lifecycle_support: "String",
|
723
|
+
# manage_master_user_password: false,
|
724
|
+
# master_user_secret_kms_key_id: "String",
|
723
725
|
# })
|
724
726
|
# @param [Hash] options ({})
|
725
727
|
# @option options [required, String] :db_instance_identifier
|
@@ -800,6 +802,13 @@ module Aws::RDS
|
|
800
802
|
#
|
801
803
|
# If you restore an RDS Custom DB instance, you must disable this
|
802
804
|
# parameter.
|
805
|
+
#
|
806
|
+
# For more information about automatic minor version upgrades, see
|
807
|
+
# [Automatically upgrading the minor engine version][1].
|
808
|
+
#
|
809
|
+
#
|
810
|
+
#
|
811
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades
|
803
812
|
# @option options [String] :license_model
|
804
813
|
# License model information for the restored DB instance.
|
805
814
|
#
|
@@ -1247,6 +1256,44 @@ module Aws::RDS
|
|
1247
1256
|
#
|
1248
1257
|
#
|
1249
1258
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
|
1259
|
+
# @option options [Boolean] :manage_master_user_password
|
1260
|
+
# Specifies whether to manage the master user password with Amazon Web
|
1261
|
+
# Services Secrets Manager in the restored DB instance.
|
1262
|
+
#
|
1263
|
+
# For more information, see [Password management with Amazon Web
|
1264
|
+
# Services Secrets Manager][1] in the *Amazon RDS User Guide*.
|
1265
|
+
#
|
1266
|
+
# Constraints:
|
1267
|
+
#
|
1268
|
+
# * Applies to RDS for Oracle only.
|
1269
|
+
#
|
1270
|
+
# ^
|
1271
|
+
#
|
1272
|
+
#
|
1273
|
+
#
|
1274
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html
|
1275
|
+
# @option options [String] :master_user_secret_kms_key_id
|
1276
|
+
# The Amazon Web Services KMS key identifier to encrypt a secret that is
|
1277
|
+
# automatically generated and managed in Amazon Web Services Secrets
|
1278
|
+
# Manager.
|
1279
|
+
#
|
1280
|
+
# This setting is valid only if the master user password is managed by
|
1281
|
+
# RDS in Amazon Web Services Secrets Manager for the DB instance.
|
1282
|
+
#
|
1283
|
+
# The Amazon Web Services KMS key identifier is the key ARN, key ID,
|
1284
|
+
# alias ARN, or alias name for the KMS key. To use a KMS key in a
|
1285
|
+
# different Amazon Web Services account, specify the key ARN or alias
|
1286
|
+
# ARN.
|
1287
|
+
#
|
1288
|
+
# If you don't specify `MasterUserSecretKmsKeyId`, then the
|
1289
|
+
# `aws/secretsmanager` KMS key is used to encrypt the secret. If the
|
1290
|
+
# secret is in a different Amazon Web Services account, then you can't
|
1291
|
+
# use the `aws/secretsmanager` KMS key to encrypt the secret, and you
|
1292
|
+
# must use a customer managed KMS key.
|
1293
|
+
#
|
1294
|
+
# There is a default KMS key for your Amazon Web Services account. Your
|
1295
|
+
# Amazon Web Services account has a different default KMS key for each
|
1296
|
+
# Amazon Web Services Region.
|
1250
1297
|
# @return [DBInstance]
|
1251
1298
|
def restore(options = {})
|
1252
1299
|
options = options.merge(db_snapshot_identifier: @snapshot_id)
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -743,7 +743,14 @@ module Aws::RDS
|
|
743
743
|
# the DB cluster during the maintenance window. By default, minor engine
|
744
744
|
# upgrades are applied automatically.
|
745
745
|
#
|
746
|
-
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster
|
746
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster.
|
747
|
+
#
|
748
|
+
# For more information about automatic minor version upgrades, see
|
749
|
+
# [Automatically upgrading the minor engine version][1].
|
750
|
+
#
|
751
|
+
#
|
752
|
+
#
|
753
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades
|
747
754
|
# @option options [Integer] :monitoring_interval
|
748
755
|
# The interval, in seconds, between points when Enhanced Monitoring
|
749
756
|
# metrics are collected for the DB cluster. To turn off collecting
|
@@ -1770,6 +1777,13 @@ module Aws::RDS
|
|
1770
1777
|
#
|
1771
1778
|
# If you create an RDS Custom DB instance, you must set
|
1772
1779
|
# `AutoMinorVersionUpgrade` to `false`.
|
1780
|
+
#
|
1781
|
+
# For more information about automatic minor version upgrades, see
|
1782
|
+
# [Automatically upgrading the minor engine version][1].
|
1783
|
+
#
|
1784
|
+
#
|
1785
|
+
#
|
1786
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades
|
1773
1787
|
# @option options [String] :license_model
|
1774
1788
|
# The license model information for this DB instance.
|
1775
1789
|
#
|