aws-sdk-rds 1.142.0 → 1.145.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.
@@ -541,6 +541,10 @@ module Aws::RDS
541
541
  # storage_type: "String",
542
542
  # iops: 1,
543
543
  # publicly_accessible: false,
544
+ # serverless_v2_scaling_configuration: {
545
+ # min_capacity: 1.0,
546
+ # max_capacity: 1.0,
547
+ # },
544
548
  # })
545
549
  # @param [Hash] options ({})
546
550
  # @option options [Array<String>] :availability_zones
@@ -893,6 +897,16 @@ module Aws::RDS
893
897
  # attached to it, the DB cluster is public.
894
898
  #
895
899
  # Valid for: Aurora DB clusters and Multi-AZ DB clusters
900
+ # @option options [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
901
+ # Contains the scaling configuration of an Aurora Serverless v2 DB
902
+ # cluster.
903
+ #
904
+ # For more information, see [Using Amazon Aurora Serverless v2][1] in
905
+ # the *Amazon Aurora User Guide*.
906
+ #
907
+ #
908
+ #
909
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
896
910
  # @return [DBCluster]
897
911
  def restore(options = {})
898
912
  options = options.merge(snapshot_identifier: @snapshot_id)
@@ -678,6 +678,31 @@ module Aws::RDS
678
678
  data[:backup_target]
679
679
  end
680
680
 
681
+ # The network type of the DB instance.
682
+ #
683
+ # Valid values:
684
+ #
685
+ # * `IPV4`
686
+ #
687
+ # * `DUAL`
688
+ #
689
+ # The network type is determined by the `DBSubnetGroup` specified for
690
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
691
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
692
+ #
693
+ # For more information, see [ Working with a DB instance in a VPC][1] in
694
+ # the *Amazon RDS User Guide* and [ Working with a DB instance in a
695
+ # VPC][2] in the *Amazon Aurora User Guide.*
696
+ #
697
+ #
698
+ #
699
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
700
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
701
+ # @return [String]
702
+ def network_type
703
+ data[:network_type]
704
+ end
705
+
681
706
  # @!endgroup
682
707
 
683
708
  # @return [Client]
@@ -874,6 +899,7 @@ module Aws::RDS
874
899
  # enable_customer_owned_ip: false,
875
900
  # custom_iam_instance_profile: "String",
876
901
  # backup_target: "String",
902
+ # network_type: "String",
877
903
  # })
878
904
  # @param [Hash] options ({})
879
905
  # @option options [String] :db_name
@@ -1214,7 +1240,10 @@ module Aws::RDS
1214
1240
  #
1215
1241
  # **Amazon Aurora**
1216
1242
  #
1217
- # Not applicable. Availability Zones are managed by the DB cluster.
1243
+ # Each Aurora DB cluster hosts copies of its storage in three separate
1244
+ # Availability Zones. Specify one of these Availability Zones. Aurora
1245
+ # automatically chooses an appropriate Availability Zone if you don't
1246
+ # specify one.
1218
1247
  #
1219
1248
  # Default: A random, system-chosen Availability Zone in the endpoint's
1220
1249
  # Amazon Web Services Region.
@@ -1432,7 +1461,7 @@ module Aws::RDS
1432
1461
  #
1433
1462
  #
1434
1463
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create
1435
- # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html#custom-reqs-limits.reqsMS
1464
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html
1436
1465
  # [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt
1437
1466
  # [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport
1438
1467
  # [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt
@@ -1831,6 +1860,25 @@ module Aws::RDS
1831
1860
  #
1832
1861
  #
1833
1862
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
1863
+ # @option options [String] :network_type
1864
+ # The network type of the DB instance.
1865
+ #
1866
+ # Valid values:
1867
+ #
1868
+ # * `IPV4`
1869
+ #
1870
+ # * `DUAL`
1871
+ #
1872
+ # The network type is determined by the `DBSubnetGroup` specified for
1873
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
1874
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
1875
+ #
1876
+ # For more information, see [ Working with a DB instance in a VPC][1] in
1877
+ # the *Amazon RDS User Guide.*
1878
+ #
1879
+ #
1880
+ #
1881
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
1834
1882
  # @return [DBInstance]
1835
1883
  def create(options = {})
1836
1884
  options = options.merge(db_instance_identifier: @id)
@@ -1887,6 +1935,7 @@ module Aws::RDS
1887
1935
  # replica_mode: "open-read-only", # accepts open-read-only, mounted
1888
1936
  # max_allocated_storage: 1,
1889
1937
  # custom_iam_instance_profile: "String",
1938
+ # network_type: "String",
1890
1939
  # source_region: "String",
1891
1940
  # })
1892
1941
  # @param [Hash] options ({})
@@ -2306,6 +2355,25 @@ module Aws::RDS
2306
2355
  #
2307
2356
  #
2308
2357
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc
2358
+ # @option options [String] :network_type
2359
+ # The network type of the DB instance.
2360
+ #
2361
+ # Valid values:
2362
+ #
2363
+ # * `IPV4`
2364
+ #
2365
+ # * `DUAL`
2366
+ #
2367
+ # The network type is determined by the `DBSubnetGroup` specified for
2368
+ # read replica. A `DBSubnetGroup` can support only the IPv4 protocol or
2369
+ # the IPv4 and the IPv6 protocols (`DUAL`).
2370
+ #
2371
+ # For more information, see [ Working with a DB instance in a VPC][1] in
2372
+ # the *Amazon RDS User Guide.*
2373
+ #
2374
+ #
2375
+ #
2376
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
2309
2377
  # @option options [String] :source_region
2310
2378
  # The source region of the snapshot. This is only needed when the
2311
2379
  # shapshot is encrypted and in a different region.
@@ -2487,6 +2555,7 @@ module Aws::RDS
2487
2555
  # aws_backup_recovery_point_arn: "AwsBackupRecoveryPointArn",
2488
2556
  # automation_mode: "full", # accepts full, all-paused
2489
2557
  # resume_full_automation_mode_minutes: 1,
2558
+ # network_type: "String",
2490
2559
  # })
2491
2560
  # @param [Hash] options ({})
2492
2561
  # @option options [Integer] :allocated_storage
@@ -3213,6 +3282,25 @@ module Aws::RDS
3213
3282
  # The number of minutes to pause the automation. When the time period
3214
3283
  # ends, RDS Custom resumes full automation. The minimum value is `60`
3215
3284
  # (default). The maximum value is `1,440`.
3285
+ # @option options [String] :network_type
3286
+ # The network type of the DB instance.
3287
+ #
3288
+ # Valid values:
3289
+ #
3290
+ # * `IPV4`
3291
+ #
3292
+ # * `DUAL`
3293
+ #
3294
+ # The network type is determined by the `DBSubnetGroup` specified for
3295
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
3296
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
3297
+ #
3298
+ # For more information, see [ Working with a DB instance in a VPC][1] in
3299
+ # the *Amazon RDS User Guide.*
3300
+ #
3301
+ #
3302
+ #
3303
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
3216
3304
  # @return [DBInstance]
3217
3305
  def modify(options = {})
3218
3306
  options = options.merge(db_instance_identifier: @id)
@@ -3348,6 +3436,7 @@ module Aws::RDS
3348
3436
  # enable_customer_owned_ip: false,
3349
3437
  # custom_iam_instance_profile: "String",
3350
3438
  # backup_target: "String",
3439
+ # network_type: "String",
3351
3440
  # })
3352
3441
  # @param [Hash] options ({})
3353
3442
  # @option options [required, String] :target_db_instance_identifier
@@ -3702,6 +3791,25 @@ module Aws::RDS
3702
3791
  #
3703
3792
  #
3704
3793
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
3794
+ # @option options [String] :network_type
3795
+ # The network type of the DB instance.
3796
+ #
3797
+ # Valid values:
3798
+ #
3799
+ # * `IPV4`
3800
+ #
3801
+ # * `DUAL`
3802
+ #
3803
+ # The network type is determined by the `DBSubnetGroup` specified for
3804
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
3805
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
3806
+ #
3807
+ # For more information, see [ Working with a DB instance in a VPC][1] in
3808
+ # the *Amazon RDS User Guide.*
3809
+ #
3810
+ #
3811
+ #
3812
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
3705
3813
  # @return [DBInstance]
3706
3814
  def restore(options = {})
3707
3815
  options = options.merge(source_db_instance_identifier: @id)
@@ -631,6 +631,7 @@ module Aws::RDS
631
631
  # enable_customer_owned_ip: false,
632
632
  # custom_iam_instance_profile: "String",
633
633
  # backup_target: "String",
634
+ # network_type: "String",
634
635
  # })
635
636
  # @param [Hash] options ({})
636
637
  # @option options [required, String] :db_instance_identifier
@@ -968,6 +969,25 @@ module Aws::RDS
968
969
  #
969
970
  #
970
971
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
972
+ # @option options [String] :network_type
973
+ # The network type of the DB instance.
974
+ #
975
+ # Valid values:
976
+ #
977
+ # * `IPV4`
978
+ #
979
+ # * `DUAL`
980
+ #
981
+ # The network type is determined by the `DBSubnetGroup` specified for
982
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
983
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
984
+ #
985
+ # For more information, see [ Working with a DB instance in a VPC][1] in
986
+ # the *Amazon RDS User Guide.*
987
+ #
988
+ #
989
+ #
990
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
971
991
  # @return [DBInstance]
972
992
  def restore(options = {})
973
993
  options = options.merge(db_snapshot_identifier: @snapshot_id)
@@ -65,6 +65,28 @@ module Aws::RDS
65
65
  data[:db_subnet_group_arn]
66
66
  end
67
67
 
68
+ # The network type of the DB subnet group.
69
+ #
70
+ # Valid values:
71
+ #
72
+ # * `IPV4`
73
+ #
74
+ # * `DUAL`
75
+ #
76
+ # A `DBSubnetGroup` can support only the IPv4 protocol or the IPv4 and
77
+ # the IPv6 protocols (`DUAL`).
78
+ #
79
+ # For more information, see [ Working with a DB instance in a VPC][1] in
80
+ # the *Amazon RDS User Guide.*
81
+ #
82
+ #
83
+ #
84
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
85
+ # @return [Array<String>]
86
+ def supported_network_types
87
+ data[:supported_network_types]
88
+ end
89
+
68
90
  # @!endgroup
69
91
 
70
92
  # @return [Client]
@@ -32,9 +32,7 @@ module Aws::RDS
32
32
  # * {AuthorizationQuotaExceededFault}
33
33
  # * {BackupPolicyNotFoundFault}
34
34
  # * {CertificateNotFoundFault}
35
- # * {CustomAvailabilityZoneAlreadyExistsFault}
36
35
  # * {CustomAvailabilityZoneNotFoundFault}
37
- # * {CustomAvailabilityZoneQuotaExceededFault}
38
36
  # * {CustomDBEngineVersionAlreadyExistsFault}
39
37
  # * {CustomDBEngineVersionNotFoundFault}
40
38
  # * {CustomDBEngineVersionQuotaExceededFault}
@@ -93,8 +91,6 @@ module Aws::RDS
93
91
  # * {GlobalClusterQuotaExceededFault}
94
92
  # * {IamRoleMissingPermissionsFault}
95
93
  # * {IamRoleNotFoundFault}
96
- # * {InstallationMediaAlreadyExistsFault}
97
- # * {InstallationMediaNotFoundFault}
98
94
  # * {InstanceQuotaExceededFault}
99
95
  # * {InsufficientAvailableIPsInSubnetFault}
100
96
  # * {InsufficientDBClusterCapacityFault}
@@ -126,6 +122,7 @@ module Aws::RDS
126
122
  # * {InvalidSubnet}
127
123
  # * {InvalidVPCNetworkStateFault}
128
124
  # * {KMSKeyNotAccessibleFault}
125
+ # * {NetworkTypeNotSupported}
129
126
  # * {OptionGroupAlreadyExistsFault}
130
127
  # * {OptionGroupNotFoundFault}
131
128
  # * {OptionGroupQuotaExceededFault}
@@ -205,16 +202,6 @@ module Aws::RDS
205
202
  end
206
203
  end
207
204
 
208
- class CustomAvailabilityZoneAlreadyExistsFault < ServiceError
209
-
210
- # @param [Seahorse::Client::RequestContext] context
211
- # @param [String] message
212
- # @param [Aws::RDS::Types::CustomAvailabilityZoneAlreadyExistsFault] data
213
- def initialize(context, message, data = Aws::EmptyStructure.new)
214
- super(context, message, data)
215
- end
216
- end
217
-
218
205
  class CustomAvailabilityZoneNotFoundFault < ServiceError
219
206
 
220
207
  # @param [Seahorse::Client::RequestContext] context
@@ -225,16 +212,6 @@ module Aws::RDS
225
212
  end
226
213
  end
227
214
 
228
- class CustomAvailabilityZoneQuotaExceededFault < ServiceError
229
-
230
- # @param [Seahorse::Client::RequestContext] context
231
- # @param [String] message
232
- # @param [Aws::RDS::Types::CustomAvailabilityZoneQuotaExceededFault] data
233
- def initialize(context, message, data = Aws::EmptyStructure.new)
234
- super(context, message, data)
235
- end
236
- end
237
-
238
215
  class CustomDBEngineVersionAlreadyExistsFault < ServiceError
239
216
 
240
217
  # @param [Seahorse::Client::RequestContext] context
@@ -815,26 +792,6 @@ module Aws::RDS
815
792
  end
816
793
  end
817
794
 
818
- class InstallationMediaAlreadyExistsFault < ServiceError
819
-
820
- # @param [Seahorse::Client::RequestContext] context
821
- # @param [String] message
822
- # @param [Aws::RDS::Types::InstallationMediaAlreadyExistsFault] data
823
- def initialize(context, message, data = Aws::EmptyStructure.new)
824
- super(context, message, data)
825
- end
826
- end
827
-
828
- class InstallationMediaNotFoundFault < ServiceError
829
-
830
- # @param [Seahorse::Client::RequestContext] context
831
- # @param [String] message
832
- # @param [Aws::RDS::Types::InstallationMediaNotFoundFault] data
833
- def initialize(context, message, data = Aws::EmptyStructure.new)
834
- super(context, message, data)
835
- end
836
- end
837
-
838
795
  class InstanceQuotaExceededFault < ServiceError
839
796
 
840
797
  # @param [Seahorse::Client::RequestContext] context
@@ -1145,6 +1102,16 @@ module Aws::RDS
1145
1102
  end
1146
1103
  end
1147
1104
 
1105
+ class NetworkTypeNotSupported < ServiceError
1106
+
1107
+ # @param [Seahorse::Client::RequestContext] context
1108
+ # @param [String] message
1109
+ # @param [Aws::RDS::Types::NetworkTypeNotSupported] data
1110
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1111
+ super(context, message, data)
1112
+ end
1113
+ end
1114
+
1148
1115
  class OptionGroupAlreadyExistsFault < ServiceError
1149
1116
 
1150
1117
  # @param [Seahorse::Client::RequestContext] context
@@ -94,6 +94,10 @@ module Aws::RDS
94
94
  # enable_performance_insights: false,
95
95
  # performance_insights_kms_key_id: "String",
96
96
  # performance_insights_retention_period: 1,
97
+ # serverless_v2_scaling_configuration: {
98
+ # min_capacity: 1.0,
99
+ # max_capacity: 1.0,
100
+ # },
97
101
  # source_region: "String",
98
102
  # })
99
103
  # @param [Hash] options ({})
@@ -764,6 +768,16 @@ module Aws::RDS
764
768
  # Valid values are 7 or 731 (2 years).
765
769
  #
766
770
  # Valid for: Multi-AZ DB clusters only
771
+ # @option options [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
772
+ # Contains the scaling configuration of an Aurora Serverless v2 DB
773
+ # cluster.
774
+ #
775
+ # For more information, see [Using Amazon Aurora Serverless v2][1] in
776
+ # the *Amazon Aurora User Guide*.
777
+ #
778
+ #
779
+ #
780
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html
767
781
  # @option options [String] :source_region
768
782
  # The source region of the snapshot. This is only needed when the
769
783
  # shapshot is encrypted and in a different region.
@@ -932,6 +946,7 @@ module Aws::RDS
932
946
  # enable_customer_owned_ip: false,
933
947
  # custom_iam_instance_profile: "String",
934
948
  # backup_target: "String",
949
+ # network_type: "String",
935
950
  # })
936
951
  # @param [Hash] options ({})
937
952
  # @option options [String] :db_name
@@ -1285,7 +1300,10 @@ module Aws::RDS
1285
1300
  #
1286
1301
  # **Amazon Aurora**
1287
1302
  #
1288
- # Not applicable. Availability Zones are managed by the DB cluster.
1303
+ # Each Aurora DB cluster hosts copies of its storage in three separate
1304
+ # Availability Zones. Specify one of these Availability Zones. Aurora
1305
+ # automatically chooses an appropriate Availability Zone if you don't
1306
+ # specify one.
1289
1307
  #
1290
1308
  # Default: A random, system-chosen Availability Zone in the endpoint's
1291
1309
  # Amazon Web Services Region.
@@ -1503,7 +1521,7 @@ module Aws::RDS
1503
1521
  #
1504
1522
  #
1505
1523
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create
1506
- # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html#custom-reqs-limits.reqsMS
1524
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html
1507
1525
  # [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt
1508
1526
  # [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport
1509
1527
  # [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt
@@ -1902,6 +1920,25 @@ module Aws::RDS
1902
1920
  #
1903
1921
  #
1904
1922
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
1923
+ # @option options [String] :network_type
1924
+ # The network type of the DB instance.
1925
+ #
1926
+ # Valid values:
1927
+ #
1928
+ # * `IPV4`
1929
+ #
1930
+ # * `DUAL`
1931
+ #
1932
+ # The network type is determined by the `DBSubnetGroup` specified for
1933
+ # the DB instance. A `DBSubnetGroup` can support only the IPv4 protocol
1934
+ # or the IPv4 and the IPv6 protocols (`DUAL`).
1935
+ #
1936
+ # For more information, see [ Working with a DB instance in a VPC][1] in
1937
+ # the *Amazon RDS User Guide.*
1938
+ #
1939
+ #
1940
+ #
1941
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
1905
1942
  # @return [DBInstance]
1906
1943
  def create_db_instance(options = {})
1907
1944
  resp = @client.create_db_instance(options)