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
data/lib/aws-sdk-rds/resource.rb
CHANGED
|
@@ -107,13 +107,24 @@ 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
|
|
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,
|
|
114
114
|
# master_user_secret_kms_key_id: "String",
|
|
115
115
|
# ca_certificate_identifier: "String",
|
|
116
116
|
# engine_lifecycle_support: "String",
|
|
117
|
+
# tag_specifications: [
|
|
118
|
+
# {
|
|
119
|
+
# resource_type: "String",
|
|
120
|
+
# tags: [
|
|
121
|
+
# {
|
|
122
|
+
# key: "String",
|
|
123
|
+
# value: "String",
|
|
124
|
+
# },
|
|
125
|
+
# ],
|
|
126
|
+
# },
|
|
127
|
+
# ],
|
|
117
128
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
118
129
|
# source_region: "String",
|
|
119
130
|
# })
|
|
@@ -649,40 +660,31 @@ module Aws::RDS
|
|
|
649
660
|
# @option options [Boolean] :publicly_accessible
|
|
650
661
|
# Specifies whether the DB cluster is publicly accessible.
|
|
651
662
|
#
|
|
663
|
+
# Valid for Cluster Type: Multi-AZ DB clusters only
|
|
664
|
+
#
|
|
652
665
|
# When the DB cluster is publicly accessible and you connect from
|
|
653
|
-
# outside of the DB cluster's virtual private cloud (VPC), its
|
|
654
|
-
#
|
|
666
|
+
# outside of the DB cluster's virtual private cloud (VPC), its domain
|
|
667
|
+
# name system (DNS) endpoint resolves to the public IP address. When you
|
|
655
668
|
# connect from within the same VPC as the DB cluster, the endpoint
|
|
656
669
|
# resolves to the private IP address. Access to the DB cluster is
|
|
657
|
-
#
|
|
658
|
-
# access isn't permitted if the security group assigned to the DB
|
|
659
|
-
# cluster doesn't permit it.
|
|
670
|
+
# controlled by its security group settings.
|
|
660
671
|
#
|
|
661
672
|
# When the DB cluster isn't publicly accessible, it is an internal DB
|
|
662
673
|
# cluster with a DNS name that resolves to a private IP address.
|
|
663
674
|
#
|
|
664
|
-
#
|
|
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:
|
|
675
|
+
# The default behavior when `PubliclyAccessible` is not specified
|
|
676
|
+
# depends on whether a `DBSubnetGroup` is specified.
|
|
671
677
|
#
|
|
672
|
-
#
|
|
673
|
-
#
|
|
678
|
+
# If `DBSubnetGroup` isn't specified, `PubliclyAccessible` defaults to
|
|
679
|
+
# `true`.
|
|
674
680
|
#
|
|
675
|
-
#
|
|
676
|
-
#
|
|
681
|
+
# If `DBSubnetGroup` is specified, `PubliclyAccessible` defaults to
|
|
682
|
+
# `false` unless the value of `DBSubnetGroup` is `default`, in which
|
|
683
|
+
# case `PubliclyAccessible` defaults to `true`.
|
|
677
684
|
#
|
|
678
|
-
# If `
|
|
679
|
-
#
|
|
680
|
-
#
|
|
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.
|
|
683
|
-
#
|
|
684
|
-
# * If the subnets are part of a VPC that has an internet gateway
|
|
685
|
-
# attached to it, the DB cluster is public.
|
|
685
|
+
# If `PubliclyAccessible` is true and the VPC that the `DBSubnetGroup`
|
|
686
|
+
# is in doesn't have an internet gateway attached to it, Amazon RDS
|
|
687
|
+
# returns an error.
|
|
686
688
|
# @option options [Boolean] :auto_minor_version_upgrade
|
|
687
689
|
# Specifies whether minor engine upgrades are applied automatically to
|
|
688
690
|
# the DB cluster during the maintenance window. By default, minor engine
|
|
@@ -991,6 +993,14 @@ module Aws::RDS
|
|
|
991
993
|
#
|
|
992
994
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html
|
|
993
995
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
|
|
996
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
|
997
|
+
# Tags to assign to resources associated with the DB cluster.
|
|
998
|
+
#
|
|
999
|
+
# Valid Values:
|
|
1000
|
+
#
|
|
1001
|
+
# * `cluster-auto-backup` - The DB cluster's automated backup.
|
|
1002
|
+
#
|
|
1003
|
+
# ^
|
|
994
1004
|
# @option options [String] :master_user_authentication_type
|
|
995
1005
|
# Specifies the authentication type for the master user. With IAM master
|
|
996
1006
|
# user authentication, you can configure the master DB user with IAM
|
|
@@ -1189,7 +1199,28 @@ module Aws::RDS
|
|
|
1189
1199
|
# multi_tenant: false,
|
|
1190
1200
|
# dedicated_log_volume: false,
|
|
1191
1201
|
# engine_lifecycle_support: "String",
|
|
1202
|
+
# tag_specifications: [
|
|
1203
|
+
# {
|
|
1204
|
+
# resource_type: "String",
|
|
1205
|
+
# tags: [
|
|
1206
|
+
# {
|
|
1207
|
+
# key: "String",
|
|
1208
|
+
# value: "String",
|
|
1209
|
+
# },
|
|
1210
|
+
# ],
|
|
1211
|
+
# },
|
|
1212
|
+
# ],
|
|
1192
1213
|
# master_user_authentication_type: "password", # accepts password, iam-db-auth
|
|
1214
|
+
# additional_storage_volumes: [
|
|
1215
|
+
# {
|
|
1216
|
+
# volume_name: "String", # required
|
|
1217
|
+
# allocated_storage: 1,
|
|
1218
|
+
# iops: 1,
|
|
1219
|
+
# max_allocated_storage: 1,
|
|
1220
|
+
# storage_throughput: 1,
|
|
1221
|
+
# storage_type: "String",
|
|
1222
|
+
# },
|
|
1223
|
+
# ],
|
|
1193
1224
|
# })
|
|
1194
1225
|
# @param [Hash] options ({})
|
|
1195
1226
|
# @option options [String] :db_name
|
|
@@ -1510,6 +1541,8 @@ module Aws::RDS
|
|
|
1510
1541
|
#
|
|
1511
1542
|
# * `postgres`
|
|
1512
1543
|
#
|
|
1544
|
+
# * `sqlserver-dev-ee`
|
|
1545
|
+
#
|
|
1513
1546
|
# * `sqlserver-ee`
|
|
1514
1547
|
#
|
|
1515
1548
|
# * `sqlserver-se`
|
|
@@ -1901,37 +1934,28 @@ module Aws::RDS
|
|
|
1901
1934
|
# Specifies whether the DB instance is publicly accessible.
|
|
1902
1935
|
#
|
|
1903
1936
|
# When the DB instance is publicly accessible and you connect from
|
|
1904
|
-
# outside of the DB instance's virtual private cloud (VPC), its
|
|
1905
|
-
#
|
|
1937
|
+
# outside of the DB instance's virtual private cloud (VPC), its domain
|
|
1938
|
+
# name system (DNS) endpoint resolves to the public IP address. When you
|
|
1906
1939
|
# connect from within the same VPC as the DB instance, the endpoint
|
|
1907
1940
|
# resolves to the private IP address. Access to the DB instance is
|
|
1908
|
-
#
|
|
1909
|
-
# access is not permitted if the security group assigned to the DB
|
|
1910
|
-
# instance doesn't permit it.
|
|
1941
|
+
# controlled by its security group settings.
|
|
1911
1942
|
#
|
|
1912
1943
|
# When the DB instance isn't publicly accessible, it is an internal DB
|
|
1913
1944
|
# instance with a DNS name that resolves to a private IP address.
|
|
1914
1945
|
#
|
|
1915
|
-
#
|
|
1916
|
-
# `
|
|
1917
|
-
#
|
|
1918
|
-
# If `DBSubnetGroupName` isn't specified, and `PubliclyAccessible`
|
|
1919
|
-
# isn't specified, the following applies:
|
|
1946
|
+
# The default behavior when `PubliclyAccessible` is not specified
|
|
1947
|
+
# depends on whether a `DBSubnetGroup` is specified.
|
|
1920
1948
|
#
|
|
1921
|
-
#
|
|
1922
|
-
#
|
|
1949
|
+
# If `DBSubnetGroup` isn't specified, `PubliclyAccessible` defaults to
|
|
1950
|
+
# `false` for Aurora instances and `true` for non-Aurora instances.
|
|
1923
1951
|
#
|
|
1924
|
-
#
|
|
1925
|
-
#
|
|
1952
|
+
# If `DBSubnetGroup` is specified, `PubliclyAccessible` defaults to
|
|
1953
|
+
# `false` unless the value of `DBSubnetGroup` is `default`, in which
|
|
1954
|
+
# case `PubliclyAccessible` defaults to `true`.
|
|
1926
1955
|
#
|
|
1927
|
-
# If `
|
|
1928
|
-
#
|
|
1929
|
-
#
|
|
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.
|
|
1932
|
-
#
|
|
1933
|
-
# * If the subnets are part of a VPC that has an internet gateway
|
|
1934
|
-
# attached to it, the DB instance is public.
|
|
1956
|
+
# If `PubliclyAccessible` is true and the VPC that the `DBSubnetGroup`
|
|
1957
|
+
# is in doesn't have an internet gateway attached to it, Amazon RDS
|
|
1958
|
+
# returns an error.
|
|
1935
1959
|
# @option options [Array<Types::Tag>] :tags
|
|
1936
1960
|
# Tags to assign to the DB instance.
|
|
1937
1961
|
# @option options [String] :db_cluster_identifier
|
|
@@ -2441,6 +2465,14 @@ module Aws::RDS
|
|
|
2441
2465
|
#
|
|
2442
2466
|
#
|
|
2443
2467
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
|
|
2468
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
|
2469
|
+
# Tags to assign to resources associated with the DB instance.
|
|
2470
|
+
#
|
|
2471
|
+
# Valid Values:
|
|
2472
|
+
#
|
|
2473
|
+
# * `auto-backup` - The DB instance's automated backup.
|
|
2474
|
+
#
|
|
2475
|
+
# ^
|
|
2444
2476
|
# @option options [String] :master_user_authentication_type
|
|
2445
2477
|
# Specifies the authentication type for the master user. With IAM master
|
|
2446
2478
|
# user authentication, you can configure the master DB user with IAM
|
|
@@ -2454,6 +2486,12 @@ module Aws::RDS
|
|
|
2454
2486
|
#
|
|
2455
2487
|
# This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL
|
|
2456
2488
|
# engines.
|
|
2489
|
+
# @option options [Array<Types::AdditionalStorageVolume>] :additional_storage_volumes
|
|
2490
|
+
# A list of additional storage volumes to create for the DB instance.
|
|
2491
|
+
# You can create up to three additional storage volumes using the names
|
|
2492
|
+
# `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage
|
|
2493
|
+
# volumes are supported for RDS for Oracle and RDS for SQL Server DB
|
|
2494
|
+
# instances only.
|
|
2457
2495
|
# @return [DBInstance]
|
|
2458
2496
|
def create_db_instance(options = {})
|
|
2459
2497
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|