aws-sdk-rds 1.296.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +807 -72
- data/lib/aws-sdk-rds/client_api.rb +126 -0
- data/lib/aws-sdk-rds/db_cluster.rb +68 -25
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +19 -0
- data/lib/aws-sdk-rds/db_engine_version.rb +16 -0
- data/lib/aws-sdk-rds/db_instance.rb +205 -23
- data/lib/aws-sdk-rds/db_snapshot.rb +43 -0
- data/lib/aws-sdk-rds/errors.rb +11 -0
- data/lib/aws-sdk-rds/resource.rb +85 -47
- data/lib/aws-sdk-rds/types.rb +754 -81
- data/lib/aws-sdk-rds.rb +1 -1
- data/sig/client.rbs +206 -11
- data/sig/db_cluster.rbs +28 -3
- data/sig/db_cluster_snapshot.rbs +12 -1
- data/sig/db_engine_version.rbs +6 -0
- data/sig/db_instance.rbs +109 -4
- data/sig/db_snapshot.rbs +25 -1
- data/sig/errors.rbs +2 -0
- data/sig/resource.rbs +34 -2
- data/sig/types.rbs +104 -2
- metadata +3 -3
|
@@ -606,6 +606,17 @@ module Aws::RDS
|
|
|
606
606
|
# performance_insights_kms_key_id: "String",
|
|
607
607
|
# performance_insights_retention_period: 1,
|
|
608
608
|
# engine_lifecycle_support: "String",
|
|
609
|
+
# tag_specifications: [
|
|
610
|
+
# {
|
|
611
|
+
# resource_type: "String",
|
|
612
|
+
# tags: [
|
|
613
|
+
# {
|
|
614
|
+
# key: "String",
|
|
615
|
+
# value: "String",
|
|
616
|
+
# },
|
|
617
|
+
# ],
|
|
618
|
+
# },
|
|
619
|
+
# ],
|
|
609
620
|
# })
|
|
610
621
|
# @param [Hash] options ({})
|
|
611
622
|
# @option options [Array<String>] :availability_zones
|
|
@@ -1074,6 +1085,14 @@ module Aws::RDS
|
|
|
1074
1085
|
#
|
|
1075
1086
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html
|
|
1076
1087
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
|
|
1088
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
|
1089
|
+
# Tags to assign to resources associated with the DB cluster.
|
|
1090
|
+
#
|
|
1091
|
+
# Valid Values:
|
|
1092
|
+
#
|
|
1093
|
+
# * `cluster-auto-backup` - The DB cluster's automated backup.
|
|
1094
|
+
#
|
|
1095
|
+
# ^
|
|
1077
1096
|
# @return [DBCluster]
|
|
1078
1097
|
def restore(options = {})
|
|
1079
1098
|
options = options.merge(snapshot_identifier: @snapshot_id)
|
|
@@ -317,6 +317,22 @@ module Aws::RDS
|
|
|
317
317
|
data[:serverless_v2_features_support]
|
|
318
318
|
end
|
|
319
319
|
|
|
320
|
+
# The database installation files (ISO and EXE) uploaded to Amazon S3
|
|
321
|
+
# for your database engine version to import to Amazon RDS. Required for
|
|
322
|
+
# `sqlserver-dev-ee`.
|
|
323
|
+
# @return [Array<String>]
|
|
324
|
+
def database_installation_files
|
|
325
|
+
data[:database_installation_files]
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
# The reason that the custom engine version creation for
|
|
329
|
+
# `sqlserver-dev-ee` failed with an `incompatible-installation-media`
|
|
330
|
+
# status.
|
|
331
|
+
# @return [String]
|
|
332
|
+
def failure_reason
|
|
333
|
+
data[:failure_reason]
|
|
334
|
+
end
|
|
335
|
+
|
|
320
336
|
# @!endgroup
|
|
321
337
|
|
|
322
338
|
# @return [Client]
|
|
@@ -153,6 +153,20 @@ module Aws::RDS
|
|
|
153
153
|
data[:preferred_maintenance_window]
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
+
# This data type represents the order in which the instances are
|
|
157
|
+
# upgraded.
|
|
158
|
+
#
|
|
159
|
+
# * \[first\] - Typically used for development or testing environments.
|
|
160
|
+
#
|
|
161
|
+
# * \[second\] - Default order for resources not specifically
|
|
162
|
+
# configured.
|
|
163
|
+
#
|
|
164
|
+
# * \[last\] - Usually reserved for production environments.
|
|
165
|
+
# @return [String]
|
|
166
|
+
def upgrade_rollout_order
|
|
167
|
+
data[:upgrade_rollout_order]
|
|
168
|
+
end
|
|
169
|
+
|
|
156
170
|
# Information about pending changes to the DB instance. This information
|
|
157
171
|
# is returned only when there are pending changes. Specific changes are
|
|
158
172
|
# identified by subelements.
|
|
@@ -816,6 +830,22 @@ module Aws::RDS
|
|
|
816
830
|
data[:engine_lifecycle_support]
|
|
817
831
|
end
|
|
818
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
|
+
|
|
819
849
|
# @!endgroup
|
|
820
850
|
|
|
821
851
|
# @return [Client]
|
|
@@ -1030,7 +1060,28 @@ module Aws::RDS
|
|
|
1030
1060
|
# multi_tenant: false,
|
|
1031
1061
|
# dedicated_log_volume: false,
|
|
1032
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
|
+
# ],
|
|
1033
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
|
+
# ],
|
|
1034
1085
|
# })
|
|
1035
1086
|
# @param [Hash] options ({})
|
|
1036
1087
|
# @option options [String] :db_name
|
|
@@ -1338,6 +1389,8 @@ module Aws::RDS
|
|
|
1338
1389
|
#
|
|
1339
1390
|
# * `postgres`
|
|
1340
1391
|
#
|
|
1392
|
+
# * `sqlserver-dev-ee`
|
|
1393
|
+
#
|
|
1341
1394
|
# * `sqlserver-ee`
|
|
1342
1395
|
#
|
|
1343
1396
|
# * `sqlserver-se`
|
|
@@ -1729,37 +1782,28 @@ module Aws::RDS
|
|
|
1729
1782
|
# Specifies whether the DB instance is publicly accessible.
|
|
1730
1783
|
#
|
|
1731
1784
|
# When the DB instance is publicly accessible and you connect from
|
|
1732
|
-
# outside of the DB instance's virtual private cloud (VPC), its
|
|
1733
|
-
#
|
|
1785
|
+
# outside of the DB instance's virtual private cloud (VPC), its domain
|
|
1786
|
+
# name system (DNS) endpoint resolves to the public IP address. When you
|
|
1734
1787
|
# connect from within the same VPC as the DB instance, the endpoint
|
|
1735
1788
|
# resolves to the private IP address. Access to the DB instance is
|
|
1736
|
-
#
|
|
1737
|
-
# access is not permitted if the security group assigned to the DB
|
|
1738
|
-
# instance doesn't permit it.
|
|
1789
|
+
# controlled by its security group settings.
|
|
1739
1790
|
#
|
|
1740
1791
|
# When the DB instance isn't publicly accessible, it is an internal DB
|
|
1741
1792
|
# instance with a DNS name that resolves to a private IP address.
|
|
1742
1793
|
#
|
|
1743
|
-
#
|
|
1744
|
-
# `
|
|
1745
|
-
#
|
|
1746
|
-
# If `DBSubnetGroupName` isn't specified, and `PubliclyAccessible`
|
|
1747
|
-
# isn't specified, the following applies:
|
|
1748
|
-
#
|
|
1749
|
-
# * If the default VPC in the target Region doesn’t have an internet
|
|
1750
|
-
# gateway attached to it, the DB instance is private.
|
|
1794
|
+
# The default behavior when `PubliclyAccessible` is not specified
|
|
1795
|
+
# depends on whether a `DBSubnetGroup` is specified.
|
|
1751
1796
|
#
|
|
1752
|
-
#
|
|
1753
|
-
#
|
|
1797
|
+
# If `DBSubnetGroup` isn't specified, `PubliclyAccessible` defaults to
|
|
1798
|
+
# `false` for Aurora instances and `true` for non-Aurora instances.
|
|
1754
1799
|
#
|
|
1755
|
-
# If `
|
|
1756
|
-
#
|
|
1800
|
+
# If `DBSubnetGroup` is specified, `PubliclyAccessible` defaults to
|
|
1801
|
+
# `false` unless the value of `DBSubnetGroup` is `default`, in which
|
|
1802
|
+
# case `PubliclyAccessible` defaults to `true`.
|
|
1757
1803
|
#
|
|
1758
|
-
#
|
|
1759
|
-
#
|
|
1760
|
-
#
|
|
1761
|
-
# * If the subnets are part of a VPC that has an internet gateway
|
|
1762
|
-
# attached to it, the DB instance is public.
|
|
1804
|
+
# If `PubliclyAccessible` is true and the VPC that the `DBSubnetGroup`
|
|
1805
|
+
# is in doesn't have an internet gateway attached to it, Amazon RDS
|
|
1806
|
+
# returns an error.
|
|
1763
1807
|
# @option options [Array<Types::Tag>] :tags
|
|
1764
1808
|
# Tags to assign to the DB instance.
|
|
1765
1809
|
# @option options [String] :db_cluster_identifier
|
|
@@ -2269,6 +2313,14 @@ module Aws::RDS
|
|
|
2269
2313
|
#
|
|
2270
2314
|
#
|
|
2271
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
|
+
# ^
|
|
2272
2324
|
# @option options [String] :master_user_authentication_type
|
|
2273
2325
|
# Specifies the authentication type for the master user. With IAM master
|
|
2274
2326
|
# user authentication, you can configure the master DB user with IAM
|
|
@@ -2282,6 +2334,12 @@ module Aws::RDS
|
|
|
2282
2334
|
#
|
|
2283
2335
|
# This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
|
|
2284
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.
|
|
2285
2343
|
# @return [DBInstance]
|
|
2286
2344
|
def create(options = {})
|
|
2287
2345
|
options = options.merge(db_instance_identifier: @id)
|
|
@@ -2354,6 +2412,27 @@ module Aws::RDS
|
|
|
2354
2412
|
# dedicated_log_volume: false,
|
|
2355
2413
|
# upgrade_storage_config: false,
|
|
2356
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
|
+
# ],
|
|
2357
2436
|
# source_region: "String",
|
|
2358
2437
|
# })
|
|
2359
2438
|
# @param [Hash] options ({})
|
|
@@ -2989,6 +3068,20 @@ module Aws::RDS
|
|
|
2989
3068
|
#
|
|
2990
3069
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
|
|
2991
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.
|
|
2992
3085
|
# @option options [String] :source_region
|
|
2993
3086
|
# The source region of the snapshot. This is only needed when the
|
|
2994
3087
|
# shapshot is encrypted and in a different region.
|
|
@@ -3193,7 +3286,29 @@ module Aws::RDS
|
|
|
3193
3286
|
# multi_tenant: false,
|
|
3194
3287
|
# dedicated_log_volume: false,
|
|
3195
3288
|
# engine: "String",
|
|
3289
|
+
# tag_specifications: [
|
|
3290
|
+
# {
|
|
3291
|
+
# resource_type: "String",
|
|
3292
|
+
# tags: [
|
|
3293
|
+
# {
|
|
3294
|
+
# key: "String",
|
|
3295
|
+
# value: "String",
|
|
3296
|
+
# },
|
|
3297
|
+
# ],
|
|
3298
|
+
# },
|
|
3299
|
+
# ],
|
|
3196
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
|
+
# ],
|
|
3197
3312
|
# })
|
|
3198
3313
|
# @param [Hash] options ({})
|
|
3199
3314
|
# @option options [Integer] :allocated_storage
|
|
@@ -3742,7 +3857,7 @@ module Aws::RDS
|
|
|
3742
3857
|
#
|
|
3743
3858
|
# * Must be in the distinguished name format.
|
|
3744
3859
|
#
|
|
3745
|
-
#
|
|
3860
|
+
# ^
|
|
3746
3861
|
#
|
|
3747
3862
|
# Example:
|
|
3748
3863
|
# `OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain`
|
|
@@ -4280,6 +4395,14 @@ module Aws::RDS
|
|
|
4280
4395
|
# parameter group. To avoid reverting to the default, specify a new
|
|
4281
4396
|
# parameter group with `--db-parameter-group-name` and a new option
|
|
4282
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
|
+
# ^
|
|
4283
4406
|
# @option options [String] :master_user_authentication_type
|
|
4284
4407
|
# Specifies the authentication type for the master user. With IAM master
|
|
4285
4408
|
# user authentication, you can change the master DB user to use IAM
|
|
@@ -4293,6 +4416,11 @@ module Aws::RDS
|
|
|
4293
4416
|
#
|
|
4294
4417
|
# This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
|
|
4295
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.
|
|
4296
4424
|
# @return [DBInstance]
|
|
4297
4425
|
def modify(options = {})
|
|
4298
4426
|
options = options.merge(db_instance_identifier: @id)
|
|
@@ -4311,6 +4439,17 @@ module Aws::RDS
|
|
|
4311
4439
|
# dbinstance = db_instance.promote({
|
|
4312
4440
|
# backup_retention_period: 1,
|
|
4313
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
|
+
# ],
|
|
4314
4453
|
# })
|
|
4315
4454
|
# @param [Hash] options ({})
|
|
4316
4455
|
# @option options [Integer] :backup_retention_period
|
|
@@ -4348,6 +4487,14 @@ module Aws::RDS
|
|
|
4348
4487
|
#
|
|
4349
4488
|
#
|
|
4350
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
|
+
# ^
|
|
4351
4498
|
# @return [DBInstance]
|
|
4352
4499
|
def promote(options = {})
|
|
4353
4500
|
options = options.merge(db_instance_identifier: @id)
|
|
@@ -4443,8 +4590,29 @@ module Aws::RDS
|
|
|
4443
4590
|
# dedicated_log_volume: false,
|
|
4444
4591
|
# ca_certificate_identifier: "String",
|
|
4445
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
|
+
# ],
|
|
4446
4604
|
# manage_master_user_password: false,
|
|
4447
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
|
+
# ],
|
|
4448
4616
|
# })
|
|
4449
4617
|
# @param [Hash] options ({})
|
|
4450
4618
|
# @option options [required, String] :target_db_instance_identifier
|
|
@@ -5007,6 +5175,14 @@ module Aws::RDS
|
|
|
5007
5175
|
#
|
|
5008
5176
|
#
|
|
5009
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
|
+
# ^
|
|
5010
5186
|
# @option options [Boolean] :manage_master_user_password
|
|
5011
5187
|
# Specifies whether to manage the master user password with Amazon Web
|
|
5012
5188
|
# Services Secrets Manager in the restored DB instance.
|
|
@@ -5045,6 +5221,12 @@ module Aws::RDS
|
|
|
5045
5221
|
# There is a default KMS key for your Amazon Web Services account. Your
|
|
5046
5222
|
# Amazon Web Services account has a different default KMS key for each
|
|
5047
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.
|
|
5048
5230
|
# @return [DBInstance]
|
|
5049
5231
|
def restore(options = {})
|
|
5050
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)
|
data/lib/aws-sdk-rds/errors.rb
CHANGED
|
@@ -240,6 +240,7 @@ module Aws::RDS
|
|
|
240
240
|
# * This error class is not used. `TenantDatabaseQuotaExceeded` is used during parsing instead.
|
|
241
241
|
# * {UnsupportedDBEngineVersionFault}
|
|
242
242
|
# * This error class is not used. `UnsupportedDBEngineVersion` is used during parsing instead.
|
|
243
|
+
# * {VpcEncryptionControlViolationException}
|
|
243
244
|
#
|
|
244
245
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
|
245
246
|
# if they are not defined above.
|
|
@@ -1833,5 +1834,15 @@ module Aws::RDS
|
|
|
1833
1834
|
end
|
|
1834
1835
|
end
|
|
1835
1836
|
|
|
1837
|
+
class VpcEncryptionControlViolationException < ServiceError
|
|
1838
|
+
|
|
1839
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
1840
|
+
# @param [String] message
|
|
1841
|
+
# @param [Aws::RDS::Types::VpcEncryptionControlViolationException] data
|
|
1842
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
1843
|
+
super(context, message, data)
|
|
1844
|
+
end
|
|
1845
|
+
end
|
|
1846
|
+
|
|
1836
1847
|
end
|
|
1837
1848
|
end
|