aws-sdk-rds 1.300.0 → 1.302.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.
@@ -830,6 +830,22 @@ module Aws::RDS
830
830
  data[:engine_lifecycle_support]
831
831
  end
832
832
 
833
+ # The additional storage volumes associated with the DB instance. RDS
834
+ # supports additional storage volumes for RDS for Oracle and RDS for SQL
835
+ # Server.
836
+ # @return [Array<Types::AdditionalStorageVolumeOutput>]
837
+ def additional_storage_volumes
838
+ data[:additional_storage_volumes]
839
+ end
840
+
841
+ # The detailed status information for storage volumes associated with
842
+ # the DB instance. This information helps identify which specific volume
843
+ # is causing the instance to be in a storage-full state.
844
+ # @return [String]
845
+ def storage_volume_status
846
+ data[:storage_volume_status]
847
+ end
848
+
833
849
  # @!endgroup
834
850
 
835
851
  # @return [Client]
@@ -1044,7 +1060,28 @@ module Aws::RDS
1044
1060
  # multi_tenant: false,
1045
1061
  # dedicated_log_volume: false,
1046
1062
  # engine_lifecycle_support: "String",
1063
+ # tag_specifications: [
1064
+ # {
1065
+ # resource_type: "String",
1066
+ # tags: [
1067
+ # {
1068
+ # key: "String",
1069
+ # value: "String",
1070
+ # },
1071
+ # ],
1072
+ # },
1073
+ # ],
1047
1074
  # master_user_authentication_type: "password", # accepts password, iam-db-auth
1075
+ # additional_storage_volumes: [
1076
+ # {
1077
+ # volume_name: "String", # required
1078
+ # allocated_storage: 1,
1079
+ # iops: 1,
1080
+ # max_allocated_storage: 1,
1081
+ # storage_throughput: 1,
1082
+ # storage_type: "String",
1083
+ # },
1084
+ # ],
1048
1085
  # })
1049
1086
  # @param [Hash] options ({})
1050
1087
  # @option options [String] :db_name
@@ -1352,6 +1389,8 @@ module Aws::RDS
1352
1389
  #
1353
1390
  # * `postgres`
1354
1391
  #
1392
+ # * `sqlserver-dev-ee`
1393
+ #
1355
1394
  # * `sqlserver-ee`
1356
1395
  #
1357
1396
  # * `sqlserver-se`
@@ -2274,6 +2313,14 @@ module Aws::RDS
2274
2313
  #
2275
2314
  #
2276
2315
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
2316
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
2317
+ # Tags to assign to resources associated with the DB instance.
2318
+ #
2319
+ # Valid Values:
2320
+ #
2321
+ # * `auto-backup` - The DB instance's automated backup.
2322
+ #
2323
+ # ^
2277
2324
  # @option options [String] :master_user_authentication_type
2278
2325
  # Specifies the authentication type for the master user. With IAM master
2279
2326
  # user authentication, you can configure the master DB user with IAM
@@ -2287,6 +2334,12 @@ module Aws::RDS
2287
2334
  #
2288
2335
  # This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
2289
2336
  # engines.
2337
+ # @option options [Array<Types::AdditionalStorageVolume>] :additional_storage_volumes
2338
+ # A list of additional storage volumes to create for the DB instance.
2339
+ # You can create up to three additional storage volumes using the names
2340
+ # `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage
2341
+ # volumes are supported for RDS for Oracle and RDS for SQL Server DB
2342
+ # instances only.
2290
2343
  # @return [DBInstance]
2291
2344
  def create(options = {})
2292
2345
  options = options.merge(db_instance_identifier: @id)
@@ -2359,6 +2412,27 @@ module Aws::RDS
2359
2412
  # dedicated_log_volume: false,
2360
2413
  # upgrade_storage_config: false,
2361
2414
  # ca_certificate_identifier: "String",
2415
+ # tag_specifications: [
2416
+ # {
2417
+ # resource_type: "String",
2418
+ # tags: [
2419
+ # {
2420
+ # key: "String",
2421
+ # value: "String",
2422
+ # },
2423
+ # ],
2424
+ # },
2425
+ # ],
2426
+ # additional_storage_volumes: [
2427
+ # {
2428
+ # volume_name: "String", # required
2429
+ # allocated_storage: 1,
2430
+ # iops: 1,
2431
+ # max_allocated_storage: 1,
2432
+ # storage_throughput: 1,
2433
+ # storage_type: "String",
2434
+ # },
2435
+ # ],
2362
2436
  # source_region: "String",
2363
2437
  # })
2364
2438
  # @param [Hash] options ({})
@@ -2994,6 +3068,20 @@ module Aws::RDS
2994
3068
  #
2995
3069
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
2996
3070
  # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
3071
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
3072
+ # Tags to assign to resources associated with the DB instance.
3073
+ #
3074
+ # Valid Values:
3075
+ #
3076
+ # * `auto-backup` - The DB instance's automated backup.
3077
+ #
3078
+ # ^
3079
+ # @option options [Array<Types::AdditionalStorageVolume>] :additional_storage_volumes
3080
+ # A list of additional storage volumes to create for the DB instance.
3081
+ # You can create up to three additional storage volumes using the names
3082
+ # `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage
3083
+ # volumes are supported for RDS for Oracle and RDS for SQL Server DB
3084
+ # instances only.
2997
3085
  # @option options [String] :source_region
2998
3086
  # The source region of the snapshot. This is only needed when the
2999
3087
  # shapshot is encrypted and in a different region.
@@ -3198,7 +3286,29 @@ module Aws::RDS
3198
3286
  # multi_tenant: false,
3199
3287
  # dedicated_log_volume: false,
3200
3288
  # engine: "String",
3289
+ # tag_specifications: [
3290
+ # {
3291
+ # resource_type: "String",
3292
+ # tags: [
3293
+ # {
3294
+ # key: "String",
3295
+ # value: "String",
3296
+ # },
3297
+ # ],
3298
+ # },
3299
+ # ],
3201
3300
  # master_user_authentication_type: "password", # accepts password, iam-db-auth
3301
+ # additional_storage_volumes: [
3302
+ # {
3303
+ # volume_name: "String", # required
3304
+ # allocated_storage: 1,
3305
+ # iops: 1,
3306
+ # max_allocated_storage: 1,
3307
+ # storage_throughput: 1,
3308
+ # storage_type: "String",
3309
+ # set_for_delete: false,
3310
+ # },
3311
+ # ],
3202
3312
  # })
3203
3313
  # @param [Hash] options ({})
3204
3314
  # @option options [Integer] :allocated_storage
@@ -4285,6 +4395,14 @@ module Aws::RDS
4285
4395
  # parameter group. To avoid reverting to the default, specify a new
4286
4396
  # parameter group with `--db-parameter-group-name` and a new option
4287
4397
  # group with `--option-group-name`.
4398
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
4399
+ # Tags to assign to resources associated with the DB instance.
4400
+ #
4401
+ # Valid Values:
4402
+ #
4403
+ # * `auto-backup` - The DB instance's automated backup.
4404
+ #
4405
+ # ^
4288
4406
  # @option options [String] :master_user_authentication_type
4289
4407
  # Specifies the authentication type for the master user. With IAM master
4290
4408
  # user authentication, you can change the master DB user to use IAM
@@ -4298,6 +4416,11 @@ module Aws::RDS
4298
4416
  #
4299
4417
  # This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
4300
4418
  # engines.
4419
+ # @option options [Array<Types::ModifyAdditionalStorageVolume>] :additional_storage_volumes
4420
+ # A list of additional storage volumes to modify or delete for the DB
4421
+ # instance. You can create up to 3 additional storage volumes.
4422
+ # Additional storage volumes are supported for RDS for Oracle and RDS
4423
+ # for SQL Server DB instances only.
4301
4424
  # @return [DBInstance]
4302
4425
  def modify(options = {})
4303
4426
  options = options.merge(db_instance_identifier: @id)
@@ -4316,6 +4439,17 @@ module Aws::RDS
4316
4439
  # dbinstance = db_instance.promote({
4317
4440
  # backup_retention_period: 1,
4318
4441
  # preferred_backup_window: "String",
4442
+ # tag_specifications: [
4443
+ # {
4444
+ # resource_type: "String",
4445
+ # tags: [
4446
+ # {
4447
+ # key: "String",
4448
+ # value: "String",
4449
+ # },
4450
+ # ],
4451
+ # },
4452
+ # ],
4319
4453
  # })
4320
4454
  # @param [Hash] options ({})
4321
4455
  # @option options [Integer] :backup_retention_period
@@ -4353,6 +4487,14 @@ module Aws::RDS
4353
4487
  #
4354
4488
  #
4355
4489
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html
4490
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
4491
+ # Tags to assign to resources associated with the DB instance.
4492
+ #
4493
+ # Valid Values:
4494
+ #
4495
+ # * `auto-backup` - The DB instance's automated backup.
4496
+ #
4497
+ # ^
4356
4498
  # @return [DBInstance]
4357
4499
  def promote(options = {})
4358
4500
  options = options.merge(db_instance_identifier: @id)
@@ -4448,8 +4590,29 @@ module Aws::RDS
4448
4590
  # dedicated_log_volume: false,
4449
4591
  # ca_certificate_identifier: "String",
4450
4592
  # engine_lifecycle_support: "String",
4593
+ # tag_specifications: [
4594
+ # {
4595
+ # resource_type: "String",
4596
+ # tags: [
4597
+ # {
4598
+ # key: "String",
4599
+ # value: "String",
4600
+ # },
4601
+ # ],
4602
+ # },
4603
+ # ],
4451
4604
  # manage_master_user_password: false,
4452
4605
  # master_user_secret_kms_key_id: "String",
4606
+ # additional_storage_volumes: [
4607
+ # {
4608
+ # volume_name: "String", # required
4609
+ # allocated_storage: 1,
4610
+ # iops: 1,
4611
+ # max_allocated_storage: 1,
4612
+ # storage_throughput: 1,
4613
+ # storage_type: "String",
4614
+ # },
4615
+ # ],
4453
4616
  # })
4454
4617
  # @param [Hash] options ({})
4455
4618
  # @option options [required, String] :target_db_instance_identifier
@@ -5012,6 +5175,14 @@ module Aws::RDS
5012
5175
  #
5013
5176
  #
5014
5177
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
5178
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
5179
+ # Tags to assign to resources associated with the DB instance.
5180
+ #
5181
+ # Valid Values:
5182
+ #
5183
+ # * `auto-backup` - The DB instance's automated backup.
5184
+ #
5185
+ # ^
5015
5186
  # @option options [Boolean] :manage_master_user_password
5016
5187
  # Specifies whether to manage the master user password with Amazon Web
5017
5188
  # Services Secrets Manager in the restored DB instance.
@@ -5050,6 +5221,12 @@ module Aws::RDS
5050
5221
  # There is a default KMS key for your Amazon Web Services account. Your
5051
5222
  # Amazon Web Services account has a different default KMS key for each
5052
5223
  # Amazon Web Services Region.
5224
+ # @option options [Array<Types::AdditionalStorageVolume>] :additional_storage_volumes
5225
+ # A list of additional storage volumes to restore to the DB instance.
5226
+ # You can restore up to three additional storage volumes using the names
5227
+ # `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage
5228
+ # volumes are supported for RDS for Oracle and RDS for SQL Server DB
5229
+ # instances only.
5053
5230
  # @return [DBInstance]
5054
5231
  def restore(options = {})
5055
5232
  options = options.merge(source_db_instance_identifier: @id)
@@ -300,6 +300,14 @@ module Aws::RDS
300
300
  data[:snapshot_availability_zone]
301
301
  end
302
302
 
303
+ # The additional storage volumes associated with the DB snapshot. RDS
304
+ # supports additional storage volumes for RDS for Oracle and RDS for SQL
305
+ # Server.
306
+ # @return [Array<Types::AdditionalStorageVolume>]
307
+ def additional_storage_volumes
308
+ data[:additional_storage_volumes]
309
+ end
310
+
303
311
  # @!endgroup
304
312
 
305
313
  # @return [Client]
@@ -744,8 +752,29 @@ module Aws::RDS
744
752
  # dedicated_log_volume: false,
745
753
  # ca_certificate_identifier: "String",
746
754
  # engine_lifecycle_support: "String",
755
+ # tag_specifications: [
756
+ # {
757
+ # resource_type: "String",
758
+ # tags: [
759
+ # {
760
+ # key: "String",
761
+ # value: "String",
762
+ # },
763
+ # ],
764
+ # },
765
+ # ],
747
766
  # manage_master_user_password: false,
748
767
  # master_user_secret_kms_key_id: "String",
768
+ # additional_storage_volumes: [
769
+ # {
770
+ # volume_name: "String", # required
771
+ # allocated_storage: 1,
772
+ # iops: 1,
773
+ # max_allocated_storage: 1,
774
+ # storage_throughput: 1,
775
+ # storage_type: "String",
776
+ # },
777
+ # ],
749
778
  # })
750
779
  # @param [Hash] options ({})
751
780
  # @option options [required, String] :db_instance_identifier
@@ -1281,6 +1310,14 @@ module Aws::RDS
1281
1310
  #
1282
1311
  #
1283
1312
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
1313
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
1314
+ # Tags to assign to resources associated with the DB instance.
1315
+ #
1316
+ # Valid Values:
1317
+ #
1318
+ # * `auto-backup` - The DB instance's automated backup.
1319
+ #
1320
+ # ^
1284
1321
  # @option options [Boolean] :manage_master_user_password
1285
1322
  # Specifies whether to manage the master user password with Amazon Web
1286
1323
  # Services Secrets Manager in the restored DB instance.
@@ -1319,6 +1356,12 @@ module Aws::RDS
1319
1356
  # There is a default KMS key for your Amazon Web Services account. Your
1320
1357
  # Amazon Web Services account has a different default KMS key for each
1321
1358
  # Amazon Web Services Region.
1359
+ # @option options [Array<Types::AdditionalStorageVolume>] :additional_storage_volumes
1360
+ # A list of additional storage volumes to create for the DB instance.
1361
+ # You can create up to three additional storage volumes using the names
1362
+ # `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage
1363
+ # volumes are supported for RDS for Oracle and RDS for SQL Server DB
1364
+ # instances only.
1322
1365
  # @return [DBInstance]
1323
1366
  def restore(options = {})
1324
1367
  options = options.merge(db_snapshot_identifier: @snapshot_id)
@@ -114,6 +114,17 @@ module Aws::RDS
114
114
  # master_user_secret_kms_key_id: "String",
115
115
  # ca_certificate_identifier: "String",
116
116
  # engine_lifecycle_support: "String",
117
+ # tag_specifications: [
118
+ # {
119
+ # resource_type: "String",
120
+ # tags: [
121
+ # {
122
+ # key: "String",
123
+ # value: "String",
124
+ # },
125
+ # ],
126
+ # },
127
+ # ],
117
128
  # master_user_authentication_type: "password", # accepts password, iam-db-auth
118
129
  # source_region: "String",
119
130
  # })
@@ -982,6 +993,14 @@ module Aws::RDS
982
993
  #
983
994
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html
984
995
  # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
996
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
997
+ # Tags to assign to resources associated with the DB cluster.
998
+ #
999
+ # Valid Values:
1000
+ #
1001
+ # * `cluster-auto-backup` - The DB cluster's automated backup.
1002
+ #
1003
+ # ^
985
1004
  # @option options [String] :master_user_authentication_type
986
1005
  # Specifies the authentication type for the master user. With IAM master
987
1006
  # user authentication, you can configure the master DB user with IAM
@@ -1180,7 +1199,28 @@ module Aws::RDS
1180
1199
  # multi_tenant: false,
1181
1200
  # dedicated_log_volume: false,
1182
1201
  # engine_lifecycle_support: "String",
1202
+ # tag_specifications: [
1203
+ # {
1204
+ # resource_type: "String",
1205
+ # tags: [
1206
+ # {
1207
+ # key: "String",
1208
+ # value: "String",
1209
+ # },
1210
+ # ],
1211
+ # },
1212
+ # ],
1183
1213
  # master_user_authentication_type: "password", # accepts password, iam-db-auth
1214
+ # additional_storage_volumes: [
1215
+ # {
1216
+ # volume_name: "String", # required
1217
+ # allocated_storage: 1,
1218
+ # iops: 1,
1219
+ # max_allocated_storage: 1,
1220
+ # storage_throughput: 1,
1221
+ # storage_type: "String",
1222
+ # },
1223
+ # ],
1184
1224
  # })
1185
1225
  # @param [Hash] options ({})
1186
1226
  # @option options [String] :db_name
@@ -1501,6 +1541,8 @@ module Aws::RDS
1501
1541
  #
1502
1542
  # * `postgres`
1503
1543
  #
1544
+ # * `sqlserver-dev-ee`
1545
+ #
1504
1546
  # * `sqlserver-ee`
1505
1547
  #
1506
1548
  # * `sqlserver-se`
@@ -2423,6 +2465,14 @@ module Aws::RDS
2423
2465
  #
2424
2466
  #
2425
2467
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
2468
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
2469
+ # Tags to assign to resources associated with the DB instance.
2470
+ #
2471
+ # Valid Values:
2472
+ #
2473
+ # * `auto-backup` - The DB instance's automated backup.
2474
+ #
2475
+ # ^
2426
2476
  # @option options [String] :master_user_authentication_type
2427
2477
  # Specifies the authentication type for the master user. With IAM master
2428
2478
  # user authentication, you can configure the master DB user with IAM
@@ -2436,6 +2486,12 @@ module Aws::RDS
2436
2486
  #
2437
2487
  # This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
2438
2488
  # engines.
2489
+ # @option options [Array<Types::AdditionalStorageVolume>] :additional_storage_volumes
2490
+ # A list of additional storage volumes to create for the DB instance.
2491
+ # You can create up to three additional storage volumes using the names
2492
+ # `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage
2493
+ # volumes are supported for RDS for Oracle and RDS for SQL Server DB
2494
+ # instances only.
2439
2495
  # @return [DBInstance]
2440
2496
  def create_db_instance(options = {})
2441
2497
  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do