aws-sdk-rds 1.290.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.
@@ -346,7 +346,7 @@ module Aws::RDS
346
346
  # parameters: [ # required
347
347
  # {
348
348
  # parameter_name: "String",
349
- # parameter_value: "String",
349
+ # parameter_value: "PotentiallySensitiveParameterValue",
350
350
  # description: "String",
351
351
  # source: "String",
352
352
  # apply_type: "String",
@@ -411,7 +411,7 @@ module Aws::RDS
411
411
  # parameters: [
412
412
  # {
413
413
  # parameter_name: "String",
414
- # parameter_value: "String",
414
+ # parameter_value: "PotentiallySensitiveParameterValue",
415
415
  # description: "String",
416
416
  # source: "String",
417
417
  # apply_type: "String",
@@ -127,6 +127,12 @@ module Aws::RDS
127
127
  data[:iops]
128
128
  end
129
129
 
130
+ # Specifies the storage throughput for the DB snapshot.
131
+ # @return [Integer]
132
+ def storage_throughput
133
+ data[:storage_throughput]
134
+ end
135
+
130
136
  # Provides the option group name for the DB snapshot.
131
137
  # @return [String]
132
138
  def option_group_name
@@ -234,6 +240,13 @@ module Aws::RDS
234
240
  data[:tag_list]
235
241
  end
236
242
 
243
+ # Specifies where manual snapshots are stored: Dedicated Local Zones,
244
+ # Amazon Web Services Outposts or the Amazon Web Services Region.
245
+ # @return [String]
246
+ def snapshot_target
247
+ data[:snapshot_target]
248
+ end
249
+
237
250
  # Specifies the time of the CreateDBSnapshot operation in Coordinated
238
251
  # Universal Time (UTC). Doesn't change when the snapshot is copied.
239
252
  # @return [Time]
@@ -256,19 +269,6 @@ module Aws::RDS
256
269
  data[:snapshot_database_time]
257
270
  end
258
271
 
259
- # Specifies where manual snapshots are stored: Dedicated Local Zones,
260
- # Amazon Web Services Outposts or the Amazon Web Services Region.
261
- # @return [String]
262
- def snapshot_target
263
- data[:snapshot_target]
264
- end
265
-
266
- # Specifies the storage throughput for the DB snapshot.
267
- # @return [Integer]
268
- def storage_throughput
269
- data[:storage_throughput]
270
- end
271
-
272
272
  # The Oracle system identifier (SID), which is the name of the Oracle
273
273
  # database instance that manages your database files. The Oracle SID is
274
274
  # also the name of your CDB.
@@ -277,13 +277,6 @@ module Aws::RDS
277
277
  data[:db_system_id]
278
278
  end
279
279
 
280
- # Indicates whether the DB instance has a dedicated log volume (DLV)
281
- # enabled.
282
- # @return [Boolean]
283
- def dedicated_log_volume
284
- data[:dedicated_log_volume]
285
- end
286
-
287
280
  # Indicates whether the snapshot is of a DB instance using the
288
281
  # multi-tenant configuration (TRUE) or the single-tenant configuration
289
282
  # (FALSE).
@@ -292,6 +285,13 @@ module Aws::RDS
292
285
  data[:multi_tenant]
293
286
  end
294
287
 
288
+ # Indicates whether the DB instance has a dedicated log volume (DLV)
289
+ # enabled.
290
+ # @return [Boolean]
291
+ def dedicated_log_volume
292
+ data[:dedicated_log_volume]
293
+ end
294
+
295
295
  # Specifies the name of the Availability Zone where RDS stores the DB
296
296
  # snapshot. This value is valid only for snapshots that RDS stores on a
297
297
  # Dedicated Local Zone.
@@ -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]
@@ -489,12 +497,12 @@ module Aws::RDS
489
497
  # },
490
498
  # ],
491
499
  # copy_tags: false,
492
- # pre_signed_url: "String",
500
+ # pre_signed_url: "SensitiveString",
493
501
  # option_group_name: "String",
494
502
  # target_custom_availability_zone: "String",
503
+ # snapshot_target: "String",
495
504
  # copy_option_group: false,
496
505
  # snapshot_availability_zone: "String",
497
- # snapshot_target: "String",
498
506
  # source_region: "String",
499
507
  # })
500
508
  # @param [Hash] options ({})
@@ -636,15 +644,6 @@ module Aws::RDS
636
644
  # CAZ.
637
645
  #
638
646
  # Example: `rds-caz-aiqhTgQv`.
639
- # @option options [Boolean] :copy_option_group
640
- # Specifies whether to copy the DB option group associated with the
641
- # source DB snapshot to the target Amazon Web Services account and
642
- # associate with the target DB snapshot. The associated option group can
643
- # be copied only with cross-account snapshot copy calls.
644
- # @option options [String] :snapshot_availability_zone
645
- # Specifies the name of the Availability Zone where RDS stores the DB
646
- # snapshot. This value is valid only for snapshots that RDS stores on a
647
- # Dedicated Local Zone.
648
647
  # @option options [String] :snapshot_target
649
648
  # Configures the location where RDS will store copied snapshots.
650
649
  #
@@ -655,6 +654,15 @@ module Aws::RDS
655
654
  # * `outposts` (Amazon Web Services Outposts)
656
655
  #
657
656
  # * `region` (Amazon Web Services Region)
657
+ # @option options [Boolean] :copy_option_group
658
+ # Specifies whether to copy the DB option group associated with the
659
+ # source DB snapshot to the target Amazon Web Services account and
660
+ # associate with the target DB snapshot. The associated option group can
661
+ # be copied only with cross-account snapshot copy calls.
662
+ # @option options [String] :snapshot_availability_zone
663
+ # Specifies the name of the Availability Zone where RDS stores the DB
664
+ # snapshot. This value is valid only for snapshots that RDS stores on a
665
+ # Dedicated Local Zone.
658
666
  # @option options [String] :source_region
659
667
  # The source region of the snapshot. This is only needed when the
660
668
  # shapshot is encrypted and in a different region.
@@ -705,6 +713,7 @@ module Aws::RDS
705
713
  # db_name: "String",
706
714
  # engine: "String",
707
715
  # iops: 1,
716
+ # storage_throughput: 1,
708
717
  # option_group_name: "String",
709
718
  # tags: [
710
719
  # {
@@ -714,7 +723,7 @@ module Aws::RDS
714
723
  # ],
715
724
  # storage_type: "String",
716
725
  # tde_credential_arn: "String",
717
- # tde_credential_password: "String",
726
+ # tde_credential_password: "SensitiveString",
718
727
  # vpc_security_group_ids: ["String"],
719
728
  # domain: "String",
720
729
  # domain_fqdn: "String",
@@ -735,17 +744,37 @@ module Aws::RDS
735
744
  # db_parameter_group_name: "String",
736
745
  # deletion_protection: false,
737
746
  # enable_customer_owned_ip: false,
738
- # custom_iam_instance_profile: "String",
739
- # backup_target: "String",
740
747
  # network_type: "String",
741
- # storage_throughput: 1,
742
- # db_cluster_snapshot_identifier: "String",
748
+ # backup_target: "String",
749
+ # custom_iam_instance_profile: "String",
743
750
  # allocated_storage: 1,
751
+ # db_cluster_snapshot_identifier: "String",
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
@@ -929,6 +958,10 @@ module Aws::RDS
929
958
  #
930
959
  #
931
960
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS
961
+ # @option options [Integer] :storage_throughput
962
+ # Specifies the storage throughput value for the DB instance.
963
+ #
964
+ # This setting doesn't apply to RDS Custom or Amazon Aurora.
932
965
  # @option options [String] :option_group_name
933
966
  # The name of the option group to be used for the restored DB instance.
934
967
  #
@@ -1138,27 +1171,25 @@ module Aws::RDS
1138
1171
  #
1139
1172
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
1140
1173
  # [2]: https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing
1141
- # @option options [String] :custom_iam_instance_profile
1142
- # The instance profile associated with the underlying Amazon EC2
1143
- # instance of an RDS Custom DB instance. The instance profile must meet
1144
- # the following requirements:
1174
+ # @option options [String] :network_type
1175
+ # The network type of the DB instance.
1145
1176
  #
1146
- # * The profile must exist in your account.
1177
+ # Valid Values:
1147
1178
  #
1148
- # * The profile must have an IAM role that Amazon EC2 has permissions to
1149
- # assume.
1179
+ # * `IPV4`
1150
1180
  #
1151
- # * The instance profile name and the associated IAM role name must
1152
- # start with the prefix `AWSRDSCustom`.
1181
+ # * `DUAL`
1153
1182
  #
1154
- # For the list of permissions required for the IAM role, see [ Configure
1155
- # IAM and your VPC][1] in the *Amazon RDS User Guide*.
1183
+ # The network type is determined by the `DBSubnetGroup` specified for
1184
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
1185
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
1156
1186
  #
1157
- # This setting is required for RDS Custom.
1187
+ # For more information, see [ Working with a DB instance in a VPC][1] in
1188
+ # the *Amazon RDS User Guide.*
1158
1189
  #
1159
1190
  #
1160
1191
  #
1161
- # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc
1192
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
1162
1193
  # @option options [String] :backup_target
1163
1194
  # Specifies where automated backups and manual snapshots are stored for
1164
1195
  # the restored DB instance.
@@ -1173,29 +1204,38 @@ module Aws::RDS
1173
1204
  #
1174
1205
  #
1175
1206
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
1176
- # @option options [String] :network_type
1177
- # The network type of the DB instance.
1207
+ # @option options [String] :custom_iam_instance_profile
1208
+ # The instance profile associated with the underlying Amazon EC2
1209
+ # instance of an RDS Custom DB instance. The instance profile must meet
1210
+ # the following requirements:
1178
1211
  #
1179
- # Valid Values:
1212
+ # * The profile must exist in your account.
1180
1213
  #
1181
- # * `IPV4`
1214
+ # * The profile must have an IAM role that Amazon EC2 has permissions to
1215
+ # assume.
1182
1216
  #
1183
- # * `DUAL`
1217
+ # * The instance profile name and the associated IAM role name must
1218
+ # start with the prefix `AWSRDSCustom`.
1184
1219
  #
1185
- # The network type is determined by the `DBSubnetGroup` specified for
1186
- # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
1187
- # or the IPv4 and the IPv6 protocols (`DUAL`).
1220
+ # For the list of permissions required for the IAM role, see [ Configure
1221
+ # IAM and your VPC][1] in the *Amazon RDS User Guide*.
1188
1222
  #
1189
- # For more information, see [ Working with a DB instance in a VPC][1] in
1190
- # the *Amazon RDS User Guide.*
1223
+ # This setting is required for RDS Custom.
1191
1224
  #
1192
1225
  #
1193
1226
  #
1194
- # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
1195
- # @option options [Integer] :storage_throughput
1196
- # Specifies the storage throughput value for the DB instance.
1227
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc
1228
+ # @option options [Integer] :allocated_storage
1229
+ # The amount of storage (in gibibytes) to allocate initially for the DB
1230
+ # instance. Follow the allocation rules specified in CreateDBInstance.
1197
1231
  #
1198
- # This setting doesn't apply to RDS Custom or Amazon Aurora.
1232
+ # This setting isn't valid for RDS for SQL Server.
1233
+ #
1234
+ # <note markdown="1"> Be sure to allocate enough storage for your new DB instance so that
1235
+ # the restore operation can succeed. You can also allocate additional
1236
+ # storage for future growth.
1237
+ #
1238
+ # </note>
1199
1239
  # @option options [String] :db_cluster_snapshot_identifier
1200
1240
  # The identifier for the Multi-AZ DB cluster snapshot to restore from.
1201
1241
  #
@@ -1220,17 +1260,6 @@ module Aws::RDS
1220
1260
  #
1221
1261
  #
1222
1262
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html
1223
- # @option options [Integer] :allocated_storage
1224
- # The amount of storage (in gibibytes) to allocate initially for the DB
1225
- # instance. Follow the allocation rules specified in CreateDBInstance.
1226
- #
1227
- # This setting isn't valid for RDS for SQL Server.
1228
- #
1229
- # <note markdown="1"> Be sure to allocate enough storage for your new DB instance so that
1230
- # the restore operation can succeed. You can also allocate additional
1231
- # storage for future growth.
1232
- #
1233
- # </note>
1234
1263
  # @option options [Boolean] :dedicated_log_volume
1235
1264
  # Specifies whether to enable a dedicated log volume (DLV) for the DB
1236
1265
  # instance.
@@ -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)
@@ -13,22 +13,22 @@ module Aws::RDS
13
13
  # @!attribute region
14
14
  # The AWS region used to dispatch the request.
15
15
  #
16
- # @return [String]
16
+ # @return [string]
17
17
  #
18
18
  # @!attribute use_dual_stack
19
19
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
20
  #
21
- # @return [Boolean]
21
+ # @return [boolean]
22
22
  #
23
23
  # @!attribute use_fips
24
24
  # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
25
  #
26
- # @return [Boolean]
26
+ # @return [boolean]
27
27
  #
28
28
  # @!attribute endpoint
29
29
  # Override the endpoint used to send this request
30
30
  #
31
- # @return [String]
31
+ # @return [string]
32
32
  #
33
33
  EndpointParameters = Struct.new(
34
34
  :region,
@@ -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
@@ -386,7 +386,7 @@ module Aws::RDS
386
386
  # option_settings: [
387
387
  # {
388
388
  # name: "String",
389
- # value: "String",
389
+ # value: "PotentiallySensitiveOptionSettingValue",
390
390
  # default_value: "String",
391
391
  # description: "String",
392
392
  # apply_type: "String",