aws-sdk-rds 1.296.0 → 1.301.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.
@@ -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]
@@ -1031,6 +1061,16 @@ module Aws::RDS
1031
1061
  # dedicated_log_volume: false,
1032
1062
  # engine_lifecycle_support: "String",
1033
1063
  # master_user_authentication_type: "password", # accepts password, iam-db-auth
1064
+ # additional_storage_volumes: [
1065
+ # {
1066
+ # volume_name: "String", # required
1067
+ # allocated_storage: 1,
1068
+ # iops: 1,
1069
+ # max_allocated_storage: 1,
1070
+ # storage_throughput: 1,
1071
+ # storage_type: "String",
1072
+ # },
1073
+ # ],
1034
1074
  # })
1035
1075
  # @param [Hash] options ({})
1036
1076
  # @option options [String] :db_name
@@ -1338,6 +1378,8 @@ module Aws::RDS
1338
1378
  #
1339
1379
  # * `postgres`
1340
1380
  #
1381
+ # * `sqlserver-dev-ee`
1382
+ #
1341
1383
  # * `sqlserver-ee`
1342
1384
  #
1343
1385
  # * `sqlserver-se`
@@ -1729,37 +1771,28 @@ module Aws::RDS
1729
1771
  # Specifies whether the DB instance is publicly accessible.
1730
1772
  #
1731
1773
  # When the DB instance is publicly accessible and you connect from
1732
- # outside of the DB instance's virtual private cloud (VPC), its Domain
1733
- # Name System (DNS) endpoint resolves to the public IP address. When you
1774
+ # outside of the DB instance's virtual private cloud (VPC), its domain
1775
+ # name system (DNS) endpoint resolves to the public IP address. When you
1734
1776
  # connect from within the same VPC as the DB instance, the endpoint
1735
1777
  # resolves to the private IP address. Access to the DB instance is
1736
- # ultimately controlled by the security group it uses. That public
1737
- # access is not permitted if the security group assigned to the DB
1738
- # instance doesn't permit it.
1778
+ # controlled by its security group settings.
1739
1779
  #
1740
1780
  # When the DB instance isn't publicly accessible, it is an internal DB
1741
1781
  # instance with a DNS name that resolves to a private IP address.
1742
1782
  #
1743
- # Default: The default behavior varies depending on whether
1744
- # `DBSubnetGroupName` is specified.
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.
1783
+ # The default behavior when `PubliclyAccessible` is not specified
1784
+ # depends on whether a `DBSubnetGroup` is specified.
1751
1785
  #
1752
- # * If the default VPC in the target Region has an internet gateway
1753
- # attached to it, the DB instance is public.
1786
+ # If `DBSubnetGroup` isn't specified, `PubliclyAccessible` defaults to
1787
+ # `false` for Aurora instances and `true` for non-Aurora instances.
1754
1788
  #
1755
- # If `DBSubnetGroupName` is specified, and `PubliclyAccessible` isn't
1756
- # specified, the following applies:
1789
+ # If `DBSubnetGroup` is specified, `PubliclyAccessible` defaults to
1790
+ # `false` unless the value of `DBSubnetGroup` is `default`, in which
1791
+ # case `PubliclyAccessible` defaults to `true`.
1757
1792
  #
1758
- # * If the subnets are part of a VPC that doesn’t have an internet
1759
- # gateway attached to it, the DB instance is private.
1760
- #
1761
- # * If the subnets are part of a VPC that has an internet gateway
1762
- # attached to it, the DB instance is public.
1793
+ # If `PubliclyAccessible` is true and the VPC that the `DBSubnetGroup`
1794
+ # is in doesn't have an internet gateway attached to it, Amazon RDS
1795
+ # returns an error.
1763
1796
  # @option options [Array<Types::Tag>] :tags
1764
1797
  # Tags to assign to the DB instance.
1765
1798
  # @option options [String] :db_cluster_identifier
@@ -2282,6 +2315,12 @@ module Aws::RDS
2282
2315
  #
2283
2316
  # This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
2284
2317
  # engines.
2318
+ # @option options [Array<Types::AdditionalStorageVolume>] :additional_storage_volumes
2319
+ # A list of additional storage volumes to create for the DB instance.
2320
+ # You can create up to three additional storage volumes using the names
2321
+ # `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage
2322
+ # volumes are supported for RDS for Oracle and RDS for SQL Server DB
2323
+ # instances only.
2285
2324
  # @return [DBInstance]
2286
2325
  def create(options = {})
2287
2326
  options = options.merge(db_instance_identifier: @id)
@@ -2354,6 +2393,16 @@ module Aws::RDS
2354
2393
  # dedicated_log_volume: false,
2355
2394
  # upgrade_storage_config: false,
2356
2395
  # ca_certificate_identifier: "String",
2396
+ # additional_storage_volumes: [
2397
+ # {
2398
+ # volume_name: "String", # required
2399
+ # allocated_storage: 1,
2400
+ # iops: 1,
2401
+ # max_allocated_storage: 1,
2402
+ # storage_throughput: 1,
2403
+ # storage_type: "String",
2404
+ # },
2405
+ # ],
2357
2406
  # source_region: "String",
2358
2407
  # })
2359
2408
  # @param [Hash] options ({})
@@ -2989,6 +3038,12 @@ module Aws::RDS
2989
3038
  #
2990
3039
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
2991
3040
  # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html
3041
+ # @option options [Array<Types::AdditionalStorageVolume>] :additional_storage_volumes
3042
+ # A list of additional storage volumes to create for the DB instance.
3043
+ # You can create up to three additional storage volumes using the names
3044
+ # `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage
3045
+ # volumes are supported for RDS for Oracle and RDS for SQL Server DB
3046
+ # instances only.
2992
3047
  # @option options [String] :source_region
2993
3048
  # The source region of the snapshot. This is only needed when the
2994
3049
  # shapshot is encrypted and in a different region.
@@ -3194,6 +3249,17 @@ module Aws::RDS
3194
3249
  # dedicated_log_volume: false,
3195
3250
  # engine: "String",
3196
3251
  # master_user_authentication_type: "password", # accepts password, iam-db-auth
3252
+ # additional_storage_volumes: [
3253
+ # {
3254
+ # volume_name: "String", # required
3255
+ # allocated_storage: 1,
3256
+ # iops: 1,
3257
+ # max_allocated_storage: 1,
3258
+ # storage_throughput: 1,
3259
+ # storage_type: "String",
3260
+ # set_for_delete: false,
3261
+ # },
3262
+ # ],
3197
3263
  # })
3198
3264
  # @param [Hash] options ({})
3199
3265
  # @option options [Integer] :allocated_storage
@@ -3742,7 +3808,7 @@ module Aws::RDS
3742
3808
  #
3743
3809
  # * Must be in the distinguished name format.
3744
3810
  #
3745
- # * Can't be longer than 64 characters.
3811
+ # ^
3746
3812
  #
3747
3813
  # Example:
3748
3814
  # `OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain`
@@ -4293,6 +4359,11 @@ module Aws::RDS
4293
4359
  #
4294
4360
  # This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
4295
4361
  # engines.
4362
+ # @option options [Array<Types::ModifyAdditionalStorageVolume>] :additional_storage_volumes
4363
+ # A list of additional storage volumes to modify or delete for the DB
4364
+ # instance. You can create up to 3 additional storage volumes.
4365
+ # Additional storage volumes are supported for RDS for Oracle and RDS
4366
+ # for SQL Server DB instances only.
4296
4367
  # @return [DBInstance]
4297
4368
  def modify(options = {})
4298
4369
  options = options.merge(db_instance_identifier: @id)
@@ -4445,6 +4516,16 @@ module Aws::RDS
4445
4516
  # engine_lifecycle_support: "String",
4446
4517
  # manage_master_user_password: false,
4447
4518
  # master_user_secret_kms_key_id: "String",
4519
+ # additional_storage_volumes: [
4520
+ # {
4521
+ # volume_name: "String", # required
4522
+ # allocated_storage: 1,
4523
+ # iops: 1,
4524
+ # max_allocated_storage: 1,
4525
+ # storage_throughput: 1,
4526
+ # storage_type: "String",
4527
+ # },
4528
+ # ],
4448
4529
  # })
4449
4530
  # @param [Hash] options ({})
4450
4531
  # @option options [required, String] :target_db_instance_identifier
@@ -5045,6 +5126,12 @@ module Aws::RDS
5045
5126
  # There is a default KMS key for your Amazon Web Services account. Your
5046
5127
  # Amazon Web Services account has a different default KMS key for each
5047
5128
  # Amazon Web Services Region.
5129
+ # @option options [Array<Types::AdditionalStorageVolume>] :additional_storage_volumes
5130
+ # A list of additional storage volumes to restore to the DB instance.
5131
+ # You can restore up to three additional storage volumes using the names
5132
+ # `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage
5133
+ # volumes are supported for RDS for Oracle and RDS for SQL Server DB
5134
+ # instances only.
5048
5135
  # @return [DBInstance]
5049
5136
  def restore(options = {})
5050
5137
  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]
@@ -746,6 +754,16 @@ module Aws::RDS
746
754
  # engine_lifecycle_support: "String",
747
755
  # manage_master_user_password: false,
748
756
  # master_user_secret_kms_key_id: "String",
757
+ # additional_storage_volumes: [
758
+ # {
759
+ # volume_name: "String", # required
760
+ # allocated_storage: 1,
761
+ # iops: 1,
762
+ # max_allocated_storage: 1,
763
+ # storage_throughput: 1,
764
+ # storage_type: "String",
765
+ # },
766
+ # ],
749
767
  # })
750
768
  # @param [Hash] options ({})
751
769
  # @option options [required, String] :db_instance_identifier
@@ -1319,6 +1337,12 @@ module Aws::RDS
1319
1337
  # There is a default KMS key for your Amazon Web Services account. Your
1320
1338
  # Amazon Web Services account has a different default KMS key for each
1321
1339
  # Amazon Web Services Region.
1340
+ # @option options [Array<Types::AdditionalStorageVolume>] :additional_storage_volumes
1341
+ # A list of additional storage volumes to create for the DB instance.
1342
+ # You can create up to three additional storage volumes using the names
1343
+ # `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage
1344
+ # volumes are supported for RDS for Oracle and RDS for SQL Server DB
1345
+ # instances only.
1322
1346
  # @return [DBInstance]
1323
1347
  def restore(options = {})
1324
1348
  options = options.merge(db_snapshot_identifier: @snapshot_id)
@@ -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
@@ -107,7 +107,7 @@ module Aws::RDS
107
107
  # performance_insights_kms_key_id: "String",
108
108
  # performance_insights_retention_period: 1,
109
109
  # enable_limitless_database: false,
110
- # cluster_scalability_type: "standard", # accepts standard, limitless, scaleout
110
+ # cluster_scalability_type: "standard", # accepts standard, limitless
111
111
  # db_system_id: "String",
112
112
  # manage_master_user_password: false,
113
113
  # enable_local_write_forwarding: false,
@@ -649,40 +649,31 @@ module Aws::RDS
649
649
  # @option options [Boolean] :publicly_accessible
650
650
  # Specifies whether the DB cluster is publicly accessible.
651
651
  #
652
+ # Valid for Cluster Type: Multi-AZ DB clusters only
653
+ #
652
654
  # When the DB cluster is publicly accessible and you connect from
653
- # outside of the DB cluster's virtual private cloud (VPC), its Domain
654
- # Name System (DNS) endpoint resolves to the public IP address. When you
655
+ # outside of the DB cluster's virtual private cloud (VPC), its domain
656
+ # name system (DNS) endpoint resolves to the public IP address. When you
655
657
  # connect from within the same VPC as the DB cluster, the endpoint
656
658
  # resolves to the private IP address. Access to the DB cluster is
657
- # ultimately controlled by the security group it uses. That public
658
- # access isn't permitted if the security group assigned to the DB
659
- # cluster doesn't permit it.
659
+ # controlled by its security group settings.
660
660
  #
661
661
  # When the DB cluster isn't publicly accessible, it is an internal DB
662
662
  # cluster with a DNS name that resolves to a private IP address.
663
663
  #
664
- # Valid for Cluster Type: Multi-AZ DB clusters only
665
- #
666
- # Default: The default behavior varies depending on whether
667
- # `DBSubnetGroupName` is specified.
668
- #
669
- # If `DBSubnetGroupName` isn't specified, and `PubliclyAccessible`
670
- # isn't specified, the following applies:
671
- #
672
- # * If the default VPC in the target Region doesn’t have an internet
673
- # gateway attached to it, the DB cluster is private.
674
- #
675
- # * If the default VPC in the target Region has an internet gateway
676
- # attached to it, the DB cluster is public.
664
+ # The default behavior when `PubliclyAccessible` is not specified
665
+ # depends on whether a `DBSubnetGroup` is specified.
677
666
  #
678
- # If `DBSubnetGroupName` is specified, and `PubliclyAccessible` isn't
679
- # specified, the following applies:
667
+ # If `DBSubnetGroup` isn't specified, `PubliclyAccessible` defaults to
668
+ # `true`.
680
669
  #
681
- # * If the subnets are part of a VPC that doesn’t have an internet
682
- # gateway attached to it, the DB cluster is private.
670
+ # If `DBSubnetGroup` is specified, `PubliclyAccessible` defaults to
671
+ # `false` unless the value of `DBSubnetGroup` is `default`, in which
672
+ # case `PubliclyAccessible` defaults to `true`.
683
673
  #
684
- # * If the subnets are part of a VPC that has an internet gateway
685
- # attached to it, the DB cluster is public.
674
+ # If `PubliclyAccessible` is true and the VPC that the `DBSubnetGroup`
675
+ # is in doesn't have an internet gateway attached to it, Amazon RDS
676
+ # returns an error.
686
677
  # @option options [Boolean] :auto_minor_version_upgrade
687
678
  # Specifies whether minor engine upgrades are applied automatically to
688
679
  # the DB cluster during the maintenance window. By default, minor engine
@@ -1190,6 +1181,16 @@ module Aws::RDS
1190
1181
  # dedicated_log_volume: false,
1191
1182
  # engine_lifecycle_support: "String",
1192
1183
  # master_user_authentication_type: "password", # accepts password, iam-db-auth
1184
+ # additional_storage_volumes: [
1185
+ # {
1186
+ # volume_name: "String", # required
1187
+ # allocated_storage: 1,
1188
+ # iops: 1,
1189
+ # max_allocated_storage: 1,
1190
+ # storage_throughput: 1,
1191
+ # storage_type: "String",
1192
+ # },
1193
+ # ],
1193
1194
  # })
1194
1195
  # @param [Hash] options ({})
1195
1196
  # @option options [String] :db_name
@@ -1510,6 +1511,8 @@ module Aws::RDS
1510
1511
  #
1511
1512
  # * `postgres`
1512
1513
  #
1514
+ # * `sqlserver-dev-ee`
1515
+ #
1513
1516
  # * `sqlserver-ee`
1514
1517
  #
1515
1518
  # * `sqlserver-se`
@@ -1901,37 +1904,28 @@ module Aws::RDS
1901
1904
  # Specifies whether the DB instance is publicly accessible.
1902
1905
  #
1903
1906
  # When the DB instance is publicly accessible and you connect from
1904
- # outside of the DB instance's virtual private cloud (VPC), its Domain
1905
- # Name System (DNS) endpoint resolves to the public IP address. When you
1907
+ # outside of the DB instance's virtual private cloud (VPC), its domain
1908
+ # name system (DNS) endpoint resolves to the public IP address. When you
1906
1909
  # connect from within the same VPC as the DB instance, the endpoint
1907
1910
  # resolves to the private IP address. Access to the DB instance is
1908
- # ultimately controlled by the security group it uses. That public
1909
- # access is not permitted if the security group assigned to the DB
1910
- # instance doesn't permit it.
1911
+ # controlled by its security group settings.
1911
1912
  #
1912
1913
  # When the DB instance isn't publicly accessible, it is an internal DB
1913
1914
  # instance with a DNS name that resolves to a private IP address.
1914
1915
  #
1915
- # Default: The default behavior varies depending on whether
1916
- # `DBSubnetGroupName` is specified.
1917
- #
1918
- # If `DBSubnetGroupName` isn't specified, and `PubliclyAccessible`
1919
- # isn't specified, the following applies:
1920
- #
1921
- # * If the default VPC in the target Region doesn’t have an internet
1922
- # gateway attached to it, the DB instance is private.
1923
- #
1924
- # * If the default VPC in the target Region has an internet gateway
1925
- # attached to it, the DB instance is public.
1916
+ # The default behavior when `PubliclyAccessible` is not specified
1917
+ # depends on whether a `DBSubnetGroup` is specified.
1926
1918
  #
1927
- # If `DBSubnetGroupName` is specified, and `PubliclyAccessible` isn't
1928
- # specified, the following applies:
1919
+ # If `DBSubnetGroup` isn't specified, `PubliclyAccessible` defaults to
1920
+ # `false` for Aurora instances and `true` for non-Aurora instances.
1929
1921
  #
1930
- # * If the subnets are part of a VPC that doesn’t have an internet
1931
- # gateway attached to it, the DB instance is private.
1922
+ # If `DBSubnetGroup` is specified, `PubliclyAccessible` defaults to
1923
+ # `false` unless the value of `DBSubnetGroup` is `default`, in which
1924
+ # case `PubliclyAccessible` defaults to `true`.
1932
1925
  #
1933
- # * If the subnets are part of a VPC that has an internet gateway
1934
- # attached to it, the DB instance is public.
1926
+ # If `PubliclyAccessible` is true and the VPC that the `DBSubnetGroup`
1927
+ # is in doesn't have an internet gateway attached to it, Amazon RDS
1928
+ # returns an error.
1935
1929
  # @option options [Array<Types::Tag>] :tags
1936
1930
  # Tags to assign to the DB instance.
1937
1931
  # @option options [String] :db_cluster_identifier
@@ -2454,6 +2448,12 @@ module Aws::RDS
2454
2448
  #
2455
2449
  # This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
2456
2450
  # engines.
2451
+ # @option options [Array<Types::AdditionalStorageVolume>] :additional_storage_volumes
2452
+ # A list of additional storage volumes to create for the DB instance.
2453
+ # You can create up to three additional storage volumes using the names
2454
+ # `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage
2455
+ # volumes are supported for RDS for Oracle and RDS for SQL Server DB
2456
+ # instances only.
2457
2457
  # @return [DBInstance]
2458
2458
  def create_db_instance(options = {})
2459
2459
  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do