aws-sdk-rds 1.144.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +172 -2
- data/lib/aws-sdk-rds/client_api.rb +18 -0
- data/lib/aws-sdk-rds/db_instance.rb +106 -1
- data/lib/aws-sdk-rds/db_snapshot.rb +20 -0
- data/lib/aws-sdk-rds/db_subnet_group.rb +22 -0
- data/lib/aws-sdk-rds/errors.rb +11 -0
- data/lib/aws-sdk-rds/resource.rb +21 -1
- data/lib/aws-sdk-rds/types.rb +214 -9
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +2 -2
@@ -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
|
@@ -1435,7 +1461,7 @@ module Aws::RDS
|
|
1435
1461
|
#
|
1436
1462
|
#
|
1437
1463
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create
|
1438
|
-
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html
|
1464
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html
|
1439
1465
|
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt
|
1440
1466
|
# [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport
|
1441
1467
|
# [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt
|
@@ -1834,6 +1860,25 @@ module Aws::RDS
|
|
1834
1860
|
#
|
1835
1861
|
#
|
1836
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
|
1837
1882
|
# @return [DBInstance]
|
1838
1883
|
def create(options = {})
|
1839
1884
|
options = options.merge(db_instance_identifier: @id)
|
@@ -1890,6 +1935,7 @@ module Aws::RDS
|
|
1890
1935
|
# replica_mode: "open-read-only", # accepts open-read-only, mounted
|
1891
1936
|
# max_allocated_storage: 1,
|
1892
1937
|
# custom_iam_instance_profile: "String",
|
1938
|
+
# network_type: "String",
|
1893
1939
|
# source_region: "String",
|
1894
1940
|
# })
|
1895
1941
|
# @param [Hash] options ({})
|
@@ -2309,6 +2355,25 @@ module Aws::RDS
|
|
2309
2355
|
#
|
2310
2356
|
#
|
2311
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
|
2312
2377
|
# @option options [String] :source_region
|
2313
2378
|
# The source region of the snapshot. This is only needed when the
|
2314
2379
|
# shapshot is encrypted and in a different region.
|
@@ -2490,6 +2555,7 @@ module Aws::RDS
|
|
2490
2555
|
# aws_backup_recovery_point_arn: "AwsBackupRecoveryPointArn",
|
2491
2556
|
# automation_mode: "full", # accepts full, all-paused
|
2492
2557
|
# resume_full_automation_mode_minutes: 1,
|
2558
|
+
# network_type: "String",
|
2493
2559
|
# })
|
2494
2560
|
# @param [Hash] options ({})
|
2495
2561
|
# @option options [Integer] :allocated_storage
|
@@ -3216,6 +3282,25 @@ module Aws::RDS
|
|
3216
3282
|
# The number of minutes to pause the automation. When the time period
|
3217
3283
|
# ends, RDS Custom resumes full automation. The minimum value is `60`
|
3218
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
|
3219
3304
|
# @return [DBInstance]
|
3220
3305
|
def modify(options = {})
|
3221
3306
|
options = options.merge(db_instance_identifier: @id)
|
@@ -3351,6 +3436,7 @@ module Aws::RDS
|
|
3351
3436
|
# enable_customer_owned_ip: false,
|
3352
3437
|
# custom_iam_instance_profile: "String",
|
3353
3438
|
# backup_target: "String",
|
3439
|
+
# network_type: "String",
|
3354
3440
|
# })
|
3355
3441
|
# @param [Hash] options ({})
|
3356
3442
|
# @option options [required, String] :target_db_instance_identifier
|
@@ -3705,6 +3791,25 @@ module Aws::RDS
|
|
3705
3791
|
#
|
3706
3792
|
#
|
3707
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
|
3708
3813
|
# @return [DBInstance]
|
3709
3814
|
def restore(options = {})
|
3710
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]
|
data/lib/aws-sdk-rds/errors.rb
CHANGED
@@ -122,6 +122,7 @@ module Aws::RDS
|
|
122
122
|
# * {InvalidSubnet}
|
123
123
|
# * {InvalidVPCNetworkStateFault}
|
124
124
|
# * {KMSKeyNotAccessibleFault}
|
125
|
+
# * {NetworkTypeNotSupported}
|
125
126
|
# * {OptionGroupAlreadyExistsFault}
|
126
127
|
# * {OptionGroupNotFoundFault}
|
127
128
|
# * {OptionGroupQuotaExceededFault}
|
@@ -1101,6 +1102,16 @@ module Aws::RDS
|
|
1101
1102
|
end
|
1102
1103
|
end
|
1103
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
|
+
|
1104
1115
|
class OptionGroupAlreadyExistsFault < ServiceError
|
1105
1116
|
|
1106
1117
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -946,6 +946,7 @@ module Aws::RDS
|
|
946
946
|
# enable_customer_owned_ip: false,
|
947
947
|
# custom_iam_instance_profile: "String",
|
948
948
|
# backup_target: "String",
|
949
|
+
# network_type: "String",
|
949
950
|
# })
|
950
951
|
# @param [Hash] options ({})
|
951
952
|
# @option options [String] :db_name
|
@@ -1520,7 +1521,7 @@ module Aws::RDS
|
|
1520
1521
|
#
|
1521
1522
|
#
|
1522
1523
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create
|
1523
|
-
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html
|
1524
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html
|
1524
1525
|
# [3]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt
|
1525
1526
|
# [4]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport
|
1526
1527
|
# [5]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt
|
@@ -1919,6 +1920,25 @@ module Aws::RDS
|
|
1919
1920
|
#
|
1920
1921
|
#
|
1921
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
|
1922
1942
|
# @return [DBInstance]
|
1923
1943
|
def create_db_instance(options = {})
|
1924
1944
|
resp = @client.create_db_instance(options)
|