aws-sdk-rds 1.200.0 → 1.201.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 +598 -6
- data/lib/aws-sdk-rds/client_api.rb +202 -0
- data/lib/aws-sdk-rds/db_instance.rb +48 -8
- data/lib/aws-sdk-rds/db_snapshot.rb +8 -0
- data/lib/aws-sdk-rds/endpoints.rb +70 -0
- data/lib/aws-sdk-rds/errors.rb +44 -0
- data/lib/aws-sdk-rds/event_subscription.rb +2 -2
- data/lib/aws-sdk-rds/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-rds/resource.rb +16 -0
- data/lib/aws-sdk-rds/types.rb +720 -22
- data/lib/aws-sdk-rds/waiters.rb +101 -0
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +2 -2
@@ -446,6 +446,20 @@ module Aws::RDS
|
|
446
446
|
end
|
447
447
|
end
|
448
448
|
|
449
|
+
class CreateTenantDatabase
|
450
|
+
def self.build(context)
|
451
|
+
unless context.config.regional_endpoint
|
452
|
+
endpoint = context.config.endpoint.to_s
|
453
|
+
end
|
454
|
+
Aws::RDS::EndpointParameters.new(
|
455
|
+
region: context.config.region,
|
456
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
457
|
+
use_fips: context.config.use_fips_endpoint,
|
458
|
+
endpoint: endpoint,
|
459
|
+
)
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
449
463
|
class DeleteBlueGreenDeployment
|
450
464
|
def self.build(context)
|
451
465
|
unless context.config.regional_endpoint
|
@@ -712,6 +726,20 @@ module Aws::RDS
|
|
712
726
|
end
|
713
727
|
end
|
714
728
|
|
729
|
+
class DeleteTenantDatabase
|
730
|
+
def self.build(context)
|
731
|
+
unless context.config.regional_endpoint
|
732
|
+
endpoint = context.config.endpoint.to_s
|
733
|
+
end
|
734
|
+
Aws::RDS::EndpointParameters.new(
|
735
|
+
region: context.config.region,
|
736
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
737
|
+
use_fips: context.config.use_fips_endpoint,
|
738
|
+
endpoint: endpoint,
|
739
|
+
)
|
740
|
+
end
|
741
|
+
end
|
742
|
+
|
715
743
|
class DeregisterDBProxyTargets
|
716
744
|
def self.build(context)
|
717
745
|
unless context.config.regional_endpoint
|
@@ -1048,6 +1076,20 @@ module Aws::RDS
|
|
1048
1076
|
end
|
1049
1077
|
end
|
1050
1078
|
|
1079
|
+
class DescribeDBSnapshotTenantDatabases
|
1080
|
+
def self.build(context)
|
1081
|
+
unless context.config.regional_endpoint
|
1082
|
+
endpoint = context.config.endpoint.to_s
|
1083
|
+
end
|
1084
|
+
Aws::RDS::EndpointParameters.new(
|
1085
|
+
region: context.config.region,
|
1086
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1087
|
+
use_fips: context.config.use_fips_endpoint,
|
1088
|
+
endpoint: endpoint,
|
1089
|
+
)
|
1090
|
+
end
|
1091
|
+
end
|
1092
|
+
|
1051
1093
|
class DescribeDBSnapshots
|
1052
1094
|
def self.build(context)
|
1053
1095
|
unless context.config.regional_endpoint
|
@@ -1286,6 +1328,20 @@ module Aws::RDS
|
|
1286
1328
|
end
|
1287
1329
|
end
|
1288
1330
|
|
1331
|
+
class DescribeTenantDatabases
|
1332
|
+
def self.build(context)
|
1333
|
+
unless context.config.regional_endpoint
|
1334
|
+
endpoint = context.config.endpoint.to_s
|
1335
|
+
end
|
1336
|
+
Aws::RDS::EndpointParameters.new(
|
1337
|
+
region: context.config.region,
|
1338
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1339
|
+
use_fips: context.config.use_fips_endpoint,
|
1340
|
+
endpoint: endpoint,
|
1341
|
+
)
|
1342
|
+
end
|
1343
|
+
end
|
1344
|
+
|
1289
1345
|
class DescribeValidDBInstanceModifications
|
1290
1346
|
def self.build(context)
|
1291
1347
|
unless context.config.regional_endpoint
|
@@ -1622,6 +1678,20 @@ module Aws::RDS
|
|
1622
1678
|
end
|
1623
1679
|
end
|
1624
1680
|
|
1681
|
+
class ModifyTenantDatabase
|
1682
|
+
def self.build(context)
|
1683
|
+
unless context.config.regional_endpoint
|
1684
|
+
endpoint = context.config.endpoint.to_s
|
1685
|
+
end
|
1686
|
+
Aws::RDS::EndpointParameters.new(
|
1687
|
+
region: context.config.region,
|
1688
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1689
|
+
use_fips: context.config.use_fips_endpoint,
|
1690
|
+
endpoint: endpoint,
|
1691
|
+
)
|
1692
|
+
end
|
1693
|
+
end
|
1694
|
+
|
1625
1695
|
class PromoteReadReplica
|
1626
1696
|
def self.build(context)
|
1627
1697
|
unless context.config.regional_endpoint
|
data/lib/aws-sdk-rds/errors.rb
CHANGED
@@ -80,6 +80,7 @@ module Aws::RDS
|
|
80
80
|
# * {DBSecurityGroupQuotaExceededFault}
|
81
81
|
# * {DBSnapshotAlreadyExistsFault}
|
82
82
|
# * {DBSnapshotNotFoundFault}
|
83
|
+
# * {DBSnapshotTenantDatabaseNotFoundFault}
|
83
84
|
# * {DBSubnetGroupAlreadyExistsFault}
|
84
85
|
# * {DBSubnetGroupDoesNotCoverEnoughAZs}
|
85
86
|
# * {DBSubnetGroupNotAllowedFault}
|
@@ -161,6 +162,9 @@ module Aws::RDS
|
|
161
162
|
# * {SubscriptionAlreadyExistFault}
|
162
163
|
# * {SubscriptionCategoryNotFoundFault}
|
163
164
|
# * {SubscriptionNotFoundFault}
|
165
|
+
# * {TenantDatabaseAlreadyExistsFault}
|
166
|
+
# * {TenantDatabaseNotFoundFault}
|
167
|
+
# * {TenantDatabaseQuotaExceededFault}
|
164
168
|
#
|
165
169
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
166
170
|
# if they are not defined above.
|
@@ -698,6 +702,16 @@ module Aws::RDS
|
|
698
702
|
end
|
699
703
|
end
|
700
704
|
|
705
|
+
class DBSnapshotTenantDatabaseNotFoundFault < ServiceError
|
706
|
+
|
707
|
+
# @param [Seahorse::Client::RequestContext] context
|
708
|
+
# @param [String] message
|
709
|
+
# @param [Aws::RDS::Types::DBSnapshotTenantDatabaseNotFoundFault] data
|
710
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
711
|
+
super(context, message, data)
|
712
|
+
end
|
713
|
+
end
|
714
|
+
|
701
715
|
class DBSubnetGroupAlreadyExistsFault < ServiceError
|
702
716
|
|
703
717
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1508,5 +1522,35 @@ module Aws::RDS
|
|
1508
1522
|
end
|
1509
1523
|
end
|
1510
1524
|
|
1525
|
+
class TenantDatabaseAlreadyExistsFault < ServiceError
|
1526
|
+
|
1527
|
+
# @param [Seahorse::Client::RequestContext] context
|
1528
|
+
# @param [String] message
|
1529
|
+
# @param [Aws::RDS::Types::TenantDatabaseAlreadyExistsFault] data
|
1530
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1531
|
+
super(context, message, data)
|
1532
|
+
end
|
1533
|
+
end
|
1534
|
+
|
1535
|
+
class TenantDatabaseNotFoundFault < ServiceError
|
1536
|
+
|
1537
|
+
# @param [Seahorse::Client::RequestContext] context
|
1538
|
+
# @param [String] message
|
1539
|
+
# @param [Aws::RDS::Types::TenantDatabaseNotFoundFault] data
|
1540
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1541
|
+
super(context, message, data)
|
1542
|
+
end
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
class TenantDatabaseQuotaExceededFault < ServiceError
|
1546
|
+
|
1547
|
+
# @param [Seahorse::Client::RequestContext] context
|
1548
|
+
# @param [String] message
|
1549
|
+
# @param [Aws::RDS::Types::TenantDatabaseQuotaExceededFault] data
|
1550
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1551
|
+
super(context, message, data)
|
1552
|
+
end
|
1553
|
+
end
|
1554
|
+
|
1511
1555
|
end
|
1512
1556
|
end
|
@@ -89,8 +89,8 @@ module Aws::RDS
|
|
89
89
|
data[:event_categories_list]
|
90
90
|
end
|
91
91
|
|
92
|
-
#
|
93
|
-
#
|
92
|
+
# Specifies whether the subscription is enabled. True indicates the
|
93
|
+
# subscription is enabled.
|
94
94
|
# @return [Boolean]
|
95
95
|
def enabled
|
96
96
|
data[:enabled]
|
@@ -118,6 +118,8 @@ module Aws::RDS
|
|
118
118
|
Aws::RDS::Endpoints::CreateIntegration.build(context)
|
119
119
|
when :create_option_group
|
120
120
|
Aws::RDS::Endpoints::CreateOptionGroup.build(context)
|
121
|
+
when :create_tenant_database
|
122
|
+
Aws::RDS::Endpoints::CreateTenantDatabase.build(context)
|
121
123
|
when :delete_blue_green_deployment
|
122
124
|
Aws::RDS::Endpoints::DeleteBlueGreenDeployment.build(context)
|
123
125
|
when :delete_custom_db_engine_version
|
@@ -156,6 +158,8 @@ module Aws::RDS
|
|
156
158
|
Aws::RDS::Endpoints::DeleteIntegration.build(context)
|
157
159
|
when :delete_option_group
|
158
160
|
Aws::RDS::Endpoints::DeleteOptionGroup.build(context)
|
161
|
+
when :delete_tenant_database
|
162
|
+
Aws::RDS::Endpoints::DeleteTenantDatabase.build(context)
|
159
163
|
when :deregister_db_proxy_targets
|
160
164
|
Aws::RDS::Endpoints::DeregisterDBProxyTargets.build(context)
|
161
165
|
when :describe_account_attributes
|
@@ -204,6 +208,8 @@ module Aws::RDS
|
|
204
208
|
Aws::RDS::Endpoints::DescribeDBSecurityGroups.build(context)
|
205
209
|
when :describe_db_snapshot_attributes
|
206
210
|
Aws::RDS::Endpoints::DescribeDBSnapshotAttributes.build(context)
|
211
|
+
when :describe_db_snapshot_tenant_databases
|
212
|
+
Aws::RDS::Endpoints::DescribeDBSnapshotTenantDatabases.build(context)
|
207
213
|
when :describe_db_snapshots
|
208
214
|
Aws::RDS::Endpoints::DescribeDBSnapshots.build(context)
|
209
215
|
when :describe_db_subnet_groups
|
@@ -238,6 +244,8 @@ module Aws::RDS
|
|
238
244
|
Aws::RDS::Endpoints::DescribeReservedDBInstancesOfferings.build(context)
|
239
245
|
when :describe_source_regions
|
240
246
|
Aws::RDS::Endpoints::DescribeSourceRegions.build(context)
|
247
|
+
when :describe_tenant_databases
|
248
|
+
Aws::RDS::Endpoints::DescribeTenantDatabases.build(context)
|
241
249
|
when :describe_valid_db_instance_modifications
|
242
250
|
Aws::RDS::Endpoints::DescribeValidDBInstanceModifications.build(context)
|
243
251
|
when :download_db_log_file_portion
|
@@ -286,6 +294,8 @@ module Aws::RDS
|
|
286
294
|
Aws::RDS::Endpoints::ModifyGlobalCluster.build(context)
|
287
295
|
when :modify_option_group
|
288
296
|
Aws::RDS::Endpoints::ModifyOptionGroup.build(context)
|
297
|
+
when :modify_tenant_database
|
298
|
+
Aws::RDS::Endpoints::ModifyTenantDatabase.build(context)
|
289
299
|
when :promote_read_replica
|
290
300
|
Aws::RDS::Endpoints::PromoteReadReplica.build(context)
|
291
301
|
when :promote_read_replica_db_cluster
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -1043,6 +1043,7 @@ module Aws::RDS
|
|
1043
1043
|
# ca_certificate_identifier: "String",
|
1044
1044
|
# db_system_id: "String",
|
1045
1045
|
# dedicated_log_volume: false,
|
1046
|
+
# multi_tenant: false,
|
1046
1047
|
# })
|
1047
1048
|
# @param [Hash] options ({})
|
1048
1049
|
# @option options [String] :db_name
|
@@ -2158,6 +2159,21 @@ module Aws::RDS
|
|
2158
2159
|
# @option options [Boolean] :dedicated_log_volume
|
2159
2160
|
# Indicates whether the DB instance has a dedicated log volume (DLV)
|
2160
2161
|
# enabled.
|
2162
|
+
# @option options [Boolean] :multi_tenant
|
2163
|
+
# Specifies whether to use the multi-tenant configuration or the
|
2164
|
+
# single-tenant configuration (default). This parameter only applies to
|
2165
|
+
# RDS for Oracle container database (CDB) engines.
|
2166
|
+
#
|
2167
|
+
# Note the following restrictions:
|
2168
|
+
#
|
2169
|
+
# * The DB engine that you specify in the request must support the
|
2170
|
+
# multi-tenant configuration. If you attempt to enable the
|
2171
|
+
# multi-tenant configuration on a DB engine that doesn't support it,
|
2172
|
+
# the request fails.
|
2173
|
+
#
|
2174
|
+
# * If you specify the multi-tenant configuration when you create your
|
2175
|
+
# DB instance, you can't later modify this DB instance to use the
|
2176
|
+
# single-tenant configuration.
|
2161
2177
|
# @return [DBInstance]
|
2162
2178
|
def create_db_instance(options = {})
|
2163
2179
|
resp = Aws::Plugins::UserAgent.feature('resource') do
|