aws-sdk-rds 1.40.0 → 1.41.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/lib/aws-sdk-rds.rb +1 -1
- data/lib/aws-sdk-rds/client.rb +392 -8
- data/lib/aws-sdk-rds/client_api.rb +149 -1
- data/lib/aws-sdk-rds/db_cluster.rb +51 -1
- data/lib/aws-sdk-rds/db_instance.rb +5 -4
- data/lib/aws-sdk-rds/resource.rb +10 -5
- data/lib/aws-sdk-rds/types.rb +437 -8
- metadata +2 -2
@@ -73,6 +73,8 @@ module Aws::RDS
|
|
73
73
|
CreateDBSubnetGroupResult = Shapes::StructureShape.new(name: 'CreateDBSubnetGroupResult')
|
74
74
|
CreateEventSubscriptionMessage = Shapes::StructureShape.new(name: 'CreateEventSubscriptionMessage')
|
75
75
|
CreateEventSubscriptionResult = Shapes::StructureShape.new(name: 'CreateEventSubscriptionResult')
|
76
|
+
CreateGlobalClusterMessage = Shapes::StructureShape.new(name: 'CreateGlobalClusterMessage')
|
77
|
+
CreateGlobalClusterResult = Shapes::StructureShape.new(name: 'CreateGlobalClusterResult')
|
76
78
|
CreateOptionGroupMessage = Shapes::StructureShape.new(name: 'CreateOptionGroupMessage')
|
77
79
|
CreateOptionGroupResult = Shapes::StructureShape.new(name: 'CreateOptionGroupResult')
|
78
80
|
DBCluster = Shapes::StructureShape.new(name: 'DBCluster')
|
@@ -186,6 +188,8 @@ module Aws::RDS
|
|
186
188
|
DeleteDBSubnetGroupMessage = Shapes::StructureShape.new(name: 'DeleteDBSubnetGroupMessage')
|
187
189
|
DeleteEventSubscriptionMessage = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionMessage')
|
188
190
|
DeleteEventSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionResult')
|
191
|
+
DeleteGlobalClusterMessage = Shapes::StructureShape.new(name: 'DeleteGlobalClusterMessage')
|
192
|
+
DeleteGlobalClusterResult = Shapes::StructureShape.new(name: 'DeleteGlobalClusterResult')
|
189
193
|
DeleteOptionGroupMessage = Shapes::StructureShape.new(name: 'DeleteOptionGroupMessage')
|
190
194
|
DescribeAccountAttributesMessage = Shapes::StructureShape.new(name: 'DescribeAccountAttributesMessage')
|
191
195
|
DescribeCertificatesMessage = Shapes::StructureShape.new(name: 'DescribeCertificatesMessage')
|
@@ -218,6 +222,7 @@ module Aws::RDS
|
|
218
222
|
DescribeEventCategoriesMessage = Shapes::StructureShape.new(name: 'DescribeEventCategoriesMessage')
|
219
223
|
DescribeEventSubscriptionsMessage = Shapes::StructureShape.new(name: 'DescribeEventSubscriptionsMessage')
|
220
224
|
DescribeEventsMessage = Shapes::StructureShape.new(name: 'DescribeEventsMessage')
|
225
|
+
DescribeGlobalClustersMessage = Shapes::StructureShape.new(name: 'DescribeGlobalClustersMessage')
|
221
226
|
DescribeOptionGroupOptionsMessage = Shapes::StructureShape.new(name: 'DescribeOptionGroupOptionsMessage')
|
222
227
|
DescribeOptionGroupsMessage = Shapes::StructureShape.new(name: 'DescribeOptionGroupsMessage')
|
223
228
|
DescribeOrderableDBInstanceOptionsMessage = Shapes::StructureShape.new(name: 'DescribeOrderableDBInstanceOptionsMessage')
|
@@ -257,6 +262,14 @@ module Aws::RDS
|
|
257
262
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
258
263
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
259
264
|
FilterValueList = Shapes::ListShape.new(name: 'FilterValueList')
|
265
|
+
GlobalCluster = Shapes::StructureShape.new(name: 'GlobalCluster')
|
266
|
+
GlobalClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'GlobalClusterAlreadyExistsFault')
|
267
|
+
GlobalClusterList = Shapes::ListShape.new(name: 'GlobalClusterList')
|
268
|
+
GlobalClusterMember = Shapes::StructureShape.new(name: 'GlobalClusterMember')
|
269
|
+
GlobalClusterMemberList = Shapes::ListShape.new(name: 'GlobalClusterMemberList')
|
270
|
+
GlobalClusterNotFoundFault = Shapes::StructureShape.new(name: 'GlobalClusterNotFoundFault')
|
271
|
+
GlobalClusterQuotaExceededFault = Shapes::StructureShape.new(name: 'GlobalClusterQuotaExceededFault')
|
272
|
+
GlobalClustersMessage = Shapes::StructureShape.new(name: 'GlobalClustersMessage')
|
260
273
|
IPRange = Shapes::StructureShape.new(name: 'IPRange')
|
261
274
|
IPRangeList = Shapes::ListShape.new(name: 'IPRangeList')
|
262
275
|
InstanceQuotaExceededFault = Shapes::StructureShape.new(name: 'InstanceQuotaExceededFault')
|
@@ -278,6 +291,7 @@ module Aws::RDS
|
|
278
291
|
InvalidDBSubnetGroupStateFault = Shapes::StructureShape.new(name: 'InvalidDBSubnetGroupStateFault')
|
279
292
|
InvalidDBSubnetStateFault = Shapes::StructureShape.new(name: 'InvalidDBSubnetStateFault')
|
280
293
|
InvalidEventSubscriptionStateFault = Shapes::StructureShape.new(name: 'InvalidEventSubscriptionStateFault')
|
294
|
+
InvalidGlobalClusterStateFault = Shapes::StructureShape.new(name: 'InvalidGlobalClusterStateFault')
|
281
295
|
InvalidOptionGroupStateFault = Shapes::StructureShape.new(name: 'InvalidOptionGroupStateFault')
|
282
296
|
InvalidRestoreFault = Shapes::StructureShape.new(name: 'InvalidRestoreFault')
|
283
297
|
InvalidS3BucketFault = Shapes::StructureShape.new(name: 'InvalidS3BucketFault')
|
@@ -309,6 +323,8 @@ module Aws::RDS
|
|
309
323
|
ModifyDBSubnetGroupResult = Shapes::StructureShape.new(name: 'ModifyDBSubnetGroupResult')
|
310
324
|
ModifyEventSubscriptionMessage = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionMessage')
|
311
325
|
ModifyEventSubscriptionResult = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionResult')
|
326
|
+
ModifyGlobalClusterMessage = Shapes::StructureShape.new(name: 'ModifyGlobalClusterMessage')
|
327
|
+
ModifyGlobalClusterResult = Shapes::StructureShape.new(name: 'ModifyGlobalClusterResult')
|
312
328
|
ModifyOptionGroupMessage = Shapes::StructureShape.new(name: 'ModifyOptionGroupMessage')
|
313
329
|
ModifyOptionGroupResult = Shapes::StructureShape.new(name: 'ModifyOptionGroupResult')
|
314
330
|
Option = Shapes::StructureShape.new(name: 'Option')
|
@@ -362,10 +378,13 @@ module Aws::RDS
|
|
362
378
|
ReadReplicaDBClusterIdentifierList = Shapes::ListShape.new(name: 'ReadReplicaDBClusterIdentifierList')
|
363
379
|
ReadReplicaDBInstanceIdentifierList = Shapes::ListShape.new(name: 'ReadReplicaDBInstanceIdentifierList')
|
364
380
|
ReadReplicaIdentifierList = Shapes::ListShape.new(name: 'ReadReplicaIdentifierList')
|
381
|
+
ReadersArnList = Shapes::ListShape.new(name: 'ReadersArnList')
|
365
382
|
RebootDBInstanceMessage = Shapes::StructureShape.new(name: 'RebootDBInstanceMessage')
|
366
383
|
RebootDBInstanceResult = Shapes::StructureShape.new(name: 'RebootDBInstanceResult')
|
367
384
|
RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
|
368
385
|
RecurringChargeList = Shapes::ListShape.new(name: 'RecurringChargeList')
|
386
|
+
RemoveFromGlobalClusterMessage = Shapes::StructureShape.new(name: 'RemoveFromGlobalClusterMessage')
|
387
|
+
RemoveFromGlobalClusterResult = Shapes::StructureShape.new(name: 'RemoveFromGlobalClusterResult')
|
369
388
|
RemoveRoleFromDBClusterMessage = Shapes::StructureShape.new(name: 'RemoveRoleFromDBClusterMessage')
|
370
389
|
RemoveSourceIdentifierFromSubscriptionMessage = Shapes::StructureShape.new(name: 'RemoveSourceIdentifierFromSubscriptionMessage')
|
371
390
|
RemoveSourceIdentifierFromSubscriptionResult = Shapes::StructureShape.new(name: 'RemoveSourceIdentifierFromSubscriptionResult')
|
@@ -622,6 +641,7 @@ module Aws::RDS
|
|
622
641
|
CreateDBClusterMessage.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
623
642
|
CreateDBClusterMessage.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfiguration, location_name: "ScalingConfiguration"))
|
624
643
|
CreateDBClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
644
|
+
CreateDBClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "GlobalClusterIdentifier"))
|
625
645
|
CreateDBClusterMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
|
626
646
|
CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
627
647
|
CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
|
@@ -776,6 +796,18 @@ module Aws::RDS
|
|
776
796
|
CreateEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
|
777
797
|
CreateEventSubscriptionResult.struct_class = Types::CreateEventSubscriptionResult
|
778
798
|
|
799
|
+
CreateGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "GlobalClusterIdentifier"))
|
800
|
+
CreateGlobalClusterMessage.add_member(:source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBClusterIdentifier"))
|
801
|
+
CreateGlobalClusterMessage.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
802
|
+
CreateGlobalClusterMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
803
|
+
CreateGlobalClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
804
|
+
CreateGlobalClusterMessage.add_member(:database_name, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseName"))
|
805
|
+
CreateGlobalClusterMessage.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
|
806
|
+
CreateGlobalClusterMessage.struct_class = Types::CreateGlobalClusterMessage
|
807
|
+
|
808
|
+
CreateGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
809
|
+
CreateGlobalClusterResult.struct_class = Types::CreateGlobalClusterResult
|
810
|
+
|
779
811
|
CreateOptionGroupMessage.add_member(:option_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "OptionGroupName"))
|
780
812
|
CreateOptionGroupMessage.add_member(:engine_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EngineName"))
|
781
813
|
CreateOptionGroupMessage.add_member(:major_engine_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MajorEngineVersion"))
|
@@ -830,6 +862,7 @@ module Aws::RDS
|
|
830
862
|
DBCluster.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
831
863
|
DBCluster.add_member(:scaling_configuration_info, Shapes::ShapeRef.new(shape: ScalingConfigurationInfo, location_name: "ScalingConfigurationInfo"))
|
832
864
|
DBCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeletionProtection"))
|
865
|
+
DBCluster.add_member(:http_endpoint_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "HttpEndpointEnabled"))
|
833
866
|
DBCluster.struct_class = Types::DBCluster
|
834
867
|
|
835
868
|
DBClusterBacktrack.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
@@ -1243,6 +1276,12 @@ module Aws::RDS
|
|
1243
1276
|
DeleteEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
|
1244
1277
|
DeleteEventSubscriptionResult.struct_class = Types::DeleteEventSubscriptionResult
|
1245
1278
|
|
1279
|
+
DeleteGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GlobalClusterIdentifier"))
|
1280
|
+
DeleteGlobalClusterMessage.struct_class = Types::DeleteGlobalClusterMessage
|
1281
|
+
|
1282
|
+
DeleteGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
1283
|
+
DeleteGlobalClusterResult.struct_class = Types::DeleteGlobalClusterResult
|
1284
|
+
|
1246
1285
|
DeleteOptionGroupMessage.add_member(:option_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "OptionGroupName"))
|
1247
1286
|
DeleteOptionGroupMessage.struct_class = Types::DeleteOptionGroupMessage
|
1248
1287
|
|
@@ -1428,6 +1467,12 @@ module Aws::RDS
|
|
1428
1467
|
DescribeEventsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1429
1468
|
DescribeEventsMessage.struct_class = Types::DescribeEventsMessage
|
1430
1469
|
|
1470
|
+
DescribeGlobalClustersMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "GlobalClusterIdentifier"))
|
1471
|
+
DescribeGlobalClustersMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
1472
|
+
DescribeGlobalClustersMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
1473
|
+
DescribeGlobalClustersMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1474
|
+
DescribeGlobalClustersMessage.struct_class = Types::DescribeGlobalClustersMessage
|
1475
|
+
|
1431
1476
|
DescribeOptionGroupOptionsMessage.add_member(:engine_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EngineName"))
|
1432
1477
|
DescribeOptionGroupOptionsMessage.add_member(:major_engine_version, Shapes::ShapeRef.new(shape: String, location_name: "MajorEngineVersion"))
|
1433
1478
|
DescribeOptionGroupOptionsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
@@ -1582,7 +1627,7 @@ module Aws::RDS
|
|
1582
1627
|
EventsMessage.add_member(:events, Shapes::ShapeRef.new(shape: EventList, location_name: "Events"))
|
1583
1628
|
EventsMessage.struct_class = Types::EventsMessage
|
1584
1629
|
|
1585
|
-
FailoverDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
1630
|
+
FailoverDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
1586
1631
|
FailoverDBClusterMessage.add_member(:target_db_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "TargetDBInstanceIdentifier"))
|
1587
1632
|
FailoverDBClusterMessage.struct_class = Types::FailoverDBClusterMessage
|
1588
1633
|
|
@@ -1597,6 +1642,31 @@ module Aws::RDS
|
|
1597
1642
|
|
1598
1643
|
FilterValueList.member = Shapes::ShapeRef.new(shape: String, location_name: "Value")
|
1599
1644
|
|
1645
|
+
GlobalCluster.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "GlobalClusterIdentifier"))
|
1646
|
+
GlobalCluster.add_member(:global_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalClusterResourceId"))
|
1647
|
+
GlobalCluster.add_member(:global_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "GlobalClusterArn"))
|
1648
|
+
GlobalCluster.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
1649
|
+
GlobalCluster.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
1650
|
+
GlobalCluster.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
1651
|
+
GlobalCluster.add_member(:database_name, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseName"))
|
1652
|
+
GlobalCluster.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
|
1653
|
+
GlobalCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
1654
|
+
GlobalCluster.add_member(:global_cluster_members, Shapes::ShapeRef.new(shape: GlobalClusterMemberList, location_name: "GlobalClusterMembers"))
|
1655
|
+
GlobalCluster.struct_class = Types::GlobalCluster
|
1656
|
+
|
1657
|
+
GlobalClusterList.member = Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalClusterMember")
|
1658
|
+
|
1659
|
+
GlobalClusterMember.add_member(:db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterArn"))
|
1660
|
+
GlobalClusterMember.add_member(:readers, Shapes::ShapeRef.new(shape: ReadersArnList, location_name: "Readers"))
|
1661
|
+
GlobalClusterMember.add_member(:is_writer, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsWriter"))
|
1662
|
+
GlobalClusterMember.struct_class = Types::GlobalClusterMember
|
1663
|
+
|
1664
|
+
GlobalClusterMemberList.member = Shapes::ShapeRef.new(shape: GlobalClusterMember, location_name: "GlobalClusterMember")
|
1665
|
+
|
1666
|
+
GlobalClustersMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1667
|
+
GlobalClustersMessage.add_member(:global_clusters, Shapes::ShapeRef.new(shape: GlobalClusterList, location_name: "GlobalClusters"))
|
1668
|
+
GlobalClustersMessage.struct_class = Types::GlobalClustersMessage
|
1669
|
+
|
1600
1670
|
IPRange.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
1601
1671
|
IPRange.add_member(:cidrip, Shapes::ShapeRef.new(shape: String, location_name: "CIDRIP"))
|
1602
1672
|
IPRange.struct_class = Types::IPRange
|
@@ -1646,6 +1716,7 @@ module Aws::RDS
|
|
1646
1716
|
ModifyDBClusterMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
1647
1717
|
ModifyDBClusterMessage.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfiguration, location_name: "ScalingConfiguration"))
|
1648
1718
|
ModifyDBClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
1719
|
+
ModifyDBClusterMessage.add_member(:enable_http_endpoint, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableHttpEndpoint"))
|
1649
1720
|
ModifyDBClusterMessage.struct_class = Types::ModifyDBClusterMessage
|
1650
1721
|
|
1651
1722
|
ModifyDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
|
@@ -1748,6 +1819,14 @@ module Aws::RDS
|
|
1748
1819
|
ModifyEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
|
1749
1820
|
ModifyEventSubscriptionResult.struct_class = Types::ModifyEventSubscriptionResult
|
1750
1821
|
|
1822
|
+
ModifyGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "GlobalClusterIdentifier"))
|
1823
|
+
ModifyGlobalClusterMessage.add_member(:new_global_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "NewGlobalClusterIdentifier"))
|
1824
|
+
ModifyGlobalClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
1825
|
+
ModifyGlobalClusterMessage.struct_class = Types::ModifyGlobalClusterMessage
|
1826
|
+
|
1827
|
+
ModifyGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
1828
|
+
ModifyGlobalClusterResult.struct_class = Types::ModifyGlobalClusterResult
|
1829
|
+
|
1751
1830
|
ModifyOptionGroupMessage.add_member(:option_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "OptionGroupName"))
|
1752
1831
|
ModifyOptionGroupMessage.add_member(:options_to_include, Shapes::ShapeRef.new(shape: OptionConfigurationList, location_name: "OptionsToInclude"))
|
1753
1832
|
ModifyOptionGroupMessage.add_member(:options_to_remove, Shapes::ShapeRef.new(shape: OptionNamesList, location_name: "OptionsToRemove"))
|
@@ -1989,6 +2068,8 @@ module Aws::RDS
|
|
1989
2068
|
|
1990
2069
|
ReadReplicaIdentifierList.member = Shapes::ShapeRef.new(shape: String, location_name: "ReadReplicaIdentifier")
|
1991
2070
|
|
2071
|
+
ReadersArnList.member = Shapes::ShapeRef.new(shape: String)
|
2072
|
+
|
1992
2073
|
RebootDBInstanceMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
|
1993
2074
|
RebootDBInstanceMessage.add_member(:force_failover, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ForceFailover"))
|
1994
2075
|
RebootDBInstanceMessage.struct_class = Types::RebootDBInstanceMessage
|
@@ -2002,6 +2083,13 @@ module Aws::RDS
|
|
2002
2083
|
|
2003
2084
|
RecurringChargeList.member = Shapes::ShapeRef.new(shape: RecurringCharge, location_name: "RecurringCharge")
|
2004
2085
|
|
2086
|
+
RemoveFromGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "GlobalClusterIdentifier"))
|
2087
|
+
RemoveFromGlobalClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DbClusterIdentifier"))
|
2088
|
+
RemoveFromGlobalClusterMessage.struct_class = Types::RemoveFromGlobalClusterMessage
|
2089
|
+
|
2090
|
+
RemoveFromGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
2091
|
+
RemoveFromGlobalClusterResult.struct_class = Types::RemoveFromGlobalClusterResult
|
2092
|
+
|
2005
2093
|
RemoveRoleFromDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
2006
2094
|
RemoveRoleFromDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RoleArn"))
|
2007
2095
|
RemoveRoleFromDBClusterMessage.struct_class = Types::RemoveRoleFromDBClusterMessage
|
@@ -2552,6 +2640,8 @@ module Aws::RDS
|
|
2552
2640
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
2553
2641
|
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
2554
2642
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupDoesNotCoverEnoughAZs)
|
2643
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
2644
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
2555
2645
|
end)
|
2556
2646
|
|
2557
2647
|
api.add_operation(:create_db_cluster_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2705,6 +2795,18 @@ module Aws::RDS
|
|
2705
2795
|
o.errors << Shapes::ShapeRef.new(shape: SourceNotFoundFault)
|
2706
2796
|
end)
|
2707
2797
|
|
2798
|
+
api.add_operation(:create_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
2799
|
+
o.name = "CreateGlobalCluster"
|
2800
|
+
o.http_method = "POST"
|
2801
|
+
o.http_request_uri = "/"
|
2802
|
+
o.input = Shapes::ShapeRef.new(shape: CreateGlobalClusterMessage)
|
2803
|
+
o.output = Shapes::ShapeRef.new(shape: CreateGlobalClusterResult)
|
2804
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterAlreadyExistsFault)
|
2805
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterQuotaExceededFault)
|
2806
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
2807
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
2808
|
+
end)
|
2809
|
+
|
2708
2810
|
api.add_operation(:create_option_group, Seahorse::Model::Operation.new.tap do |o|
|
2709
2811
|
o.name = "CreateOptionGroup"
|
2710
2812
|
o.http_method = "POST"
|
@@ -2834,6 +2936,16 @@ module Aws::RDS
|
|
2834
2936
|
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSubscriptionStateFault)
|
2835
2937
|
end)
|
2836
2938
|
|
2939
|
+
api.add_operation(:delete_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
2940
|
+
o.name = "DeleteGlobalCluster"
|
2941
|
+
o.http_method = "POST"
|
2942
|
+
o.http_request_uri = "/"
|
2943
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteGlobalClusterMessage)
|
2944
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteGlobalClusterResult)
|
2945
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
2946
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
2947
|
+
end)
|
2948
|
+
|
2837
2949
|
api.add_operation(:delete_option_group, Seahorse::Model::Operation.new.tap do |o|
|
2838
2950
|
o.name = "DeleteOptionGroup"
|
2839
2951
|
o.http_method = "POST"
|
@@ -3133,6 +3245,21 @@ module Aws::RDS
|
|
3133
3245
|
)
|
3134
3246
|
end)
|
3135
3247
|
|
3248
|
+
api.add_operation(:describe_global_clusters, Seahorse::Model::Operation.new.tap do |o|
|
3249
|
+
o.name = "DescribeGlobalClusters"
|
3250
|
+
o.http_method = "POST"
|
3251
|
+
o.http_request_uri = "/"
|
3252
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeGlobalClustersMessage)
|
3253
|
+
o.output = Shapes::ShapeRef.new(shape: GlobalClustersMessage)
|
3254
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
3255
|
+
o[:pager] = Aws::Pager.new(
|
3256
|
+
limit_key: "max_records",
|
3257
|
+
tokens: {
|
3258
|
+
"marker" => "marker"
|
3259
|
+
}
|
3260
|
+
)
|
3261
|
+
end)
|
3262
|
+
|
3136
3263
|
api.add_operation(:describe_option_group_options, Seahorse::Model::Operation.new.tap do |o|
|
3137
3264
|
o.name = "DescribeOptionGroupOptions"
|
3138
3265
|
o.http_method = "POST"
|
@@ -3418,6 +3545,16 @@ module Aws::RDS
|
|
3418
3545
|
o.errors << Shapes::ShapeRef.new(shape: SubscriptionCategoryNotFoundFault)
|
3419
3546
|
end)
|
3420
3547
|
|
3548
|
+
api.add_operation(:modify_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
3549
|
+
o.name = "ModifyGlobalCluster"
|
3550
|
+
o.http_method = "POST"
|
3551
|
+
o.http_request_uri = "/"
|
3552
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyGlobalClusterMessage)
|
3553
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyGlobalClusterResult)
|
3554
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
3555
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
3556
|
+
end)
|
3557
|
+
|
3421
3558
|
api.add_operation(:modify_option_group, Seahorse::Model::Operation.new.tap do |o|
|
3422
3559
|
o.name = "ModifyOptionGroup"
|
3423
3560
|
o.http_method = "POST"
|
@@ -3469,6 +3606,17 @@ module Aws::RDS
|
|
3469
3606
|
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
3470
3607
|
end)
|
3471
3608
|
|
3609
|
+
api.add_operation(:remove_from_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
3610
|
+
o.name = "RemoveFromGlobalCluster"
|
3611
|
+
o.http_method = "POST"
|
3612
|
+
o.http_request_uri = "/"
|
3613
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveFromGlobalClusterMessage)
|
3614
|
+
o.output = Shapes::ShapeRef.new(shape: RemoveFromGlobalClusterResult)
|
3615
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
3616
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
3617
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
3618
|
+
end)
|
3619
|
+
|
3472
3620
|
api.add_operation(:remove_role_from_db_cluster, Seahorse::Model::Operation.new.tap do |o|
|
3473
3621
|
o.name = "RemoveRoleFromDBCluster"
|
3474
3622
|
o.http_method = "POST"
|
@@ -349,6 +349,30 @@ module Aws::RDS
|
|
349
349
|
data[:deletion_protection]
|
350
350
|
end
|
351
351
|
|
352
|
+
# <note markdown="1"> HTTP endpoint functionality is in beta for Aurora Serverless and is
|
353
|
+
# subject to change.
|
354
|
+
#
|
355
|
+
# </note>
|
356
|
+
#
|
357
|
+
# Value that is `true` if the HTTP endpoint for an Aurora Serverless DB
|
358
|
+
# cluster is enabled and `false` otherwise.
|
359
|
+
#
|
360
|
+
# When enabled, the HTTP endpoint provides a connectionless web service
|
361
|
+
# API for running SQL queries on the Aurora Serverless DB cluster. You
|
362
|
+
# can also query your database from inside the RDS console with the
|
363
|
+
# query editor.
|
364
|
+
#
|
365
|
+
# For more information about Aurora Serverless, see [Using Amazon Aurora
|
366
|
+
# Serverless][1] in the *Amazon Aurora User Guide*.
|
367
|
+
#
|
368
|
+
#
|
369
|
+
#
|
370
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
|
371
|
+
# @return [Boolean]
|
372
|
+
def http_endpoint_enabled
|
373
|
+
data[:http_endpoint_enabled]
|
374
|
+
end
|
375
|
+
|
352
376
|
# @!endgroup
|
353
377
|
|
354
378
|
# @return [Client]
|
@@ -520,6 +544,7 @@ module Aws::RDS
|
|
520
544
|
# seconds_until_auto_pause: 1,
|
521
545
|
# },
|
522
546
|
# deletion_protection: false,
|
547
|
+
# global_cluster_identifier: "String",
|
523
548
|
# source_region: "String",
|
524
549
|
# })
|
525
550
|
# @param [Hash] options ({})
|
@@ -760,7 +785,7 @@ module Aws::RDS
|
|
760
785
|
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
761
786
|
# @option options [String] :engine_mode
|
762
787
|
# The DB engine mode of the DB cluster, either `provisioned`,
|
763
|
-
# `serverless`, or `
|
788
|
+
# `serverless`, `parallelquery`, or `global`.
|
764
789
|
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
765
790
|
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
766
791
|
# of the DB cluster.
|
@@ -768,6 +793,9 @@ module Aws::RDS
|
|
768
793
|
# Indicates if the DB cluster should have deletion protection enabled.
|
769
794
|
# The database can't be deleted when this value is set to true. The
|
770
795
|
# default is false.
|
796
|
+
# @option options [String] :global_cluster_identifier
|
797
|
+
# The global cluster ID of an Aurora cluster that becomes the primary
|
798
|
+
# cluster in the new global database cluster.
|
771
799
|
# @option options [String] :destination_region
|
772
800
|
# @option options [String] :source_region
|
773
801
|
# The source region of the snapshot. This is only needed when the
|
@@ -917,6 +945,7 @@ module Aws::RDS
|
|
917
945
|
# seconds_until_auto_pause: 1,
|
918
946
|
# },
|
919
947
|
# deletion_protection: false,
|
948
|
+
# enable_http_endpoint: false,
|
920
949
|
# })
|
921
950
|
# @param [Hash] options ({})
|
922
951
|
# @option options [String] :new_db_cluster_identifier
|
@@ -1063,6 +1092,27 @@ module Aws::RDS
|
|
1063
1092
|
# @option options [Boolean] :deletion_protection
|
1064
1093
|
# Indicates if the DB cluster has deletion protection enabled. The
|
1065
1094
|
# database can't be deleted when this value is set to true.
|
1095
|
+
# @option options [Boolean] :enable_http_endpoint
|
1096
|
+
# <note markdown="1"> HTTP endpoint functionality is in beta for Aurora Serverless and is
|
1097
|
+
# subject to change.
|
1098
|
+
#
|
1099
|
+
# </note>
|
1100
|
+
#
|
1101
|
+
# A value that indicates whether to enable the HTTP endpoint for an
|
1102
|
+
# Aurora Serverless DB cluster. By default, the HTTP endpoint is
|
1103
|
+
# disabled.
|
1104
|
+
#
|
1105
|
+
# When enabled, the HTTP endpoint provides a connectionless web service
|
1106
|
+
# API for running SQL queries on the Aurora Serverless DB cluster. You
|
1107
|
+
# can also query your database from inside the RDS console with the
|
1108
|
+
# query editor.
|
1109
|
+
#
|
1110
|
+
# For more information about Aurora Serverless, see [Using Amazon Aurora
|
1111
|
+
# Serverless][1] in the *Amazon Aurora User Guide*.
|
1112
|
+
#
|
1113
|
+
#
|
1114
|
+
#
|
1115
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
|
1066
1116
|
# @return [DBCluster]
|
1067
1117
|
def modify(options = {})
|
1068
1118
|
options = options.merge(db_cluster_identifier: @id)
|
@@ -953,7 +953,8 @@ module Aws::RDS
|
|
953
953
|
#
|
954
954
|
# Default: The default DB security group for the database engine.
|
955
955
|
# @option options [Array<String>] :vpc_security_group_ids
|
956
|
-
# A list of EC2 VPC security groups to associate with this DB
|
956
|
+
# A list of Amazon EC2 VPC security groups to associate with this DB
|
957
|
+
# instance.
|
957
958
|
#
|
958
959
|
# **Amazon Aurora**
|
959
960
|
#
|
@@ -1108,9 +1109,9 @@ module Aws::RDS
|
|
1108
1109
|
#
|
1109
1110
|
# Type: Integer
|
1110
1111
|
# @option options [Boolean] :multi_az
|
1111
|
-
#
|
1112
|
-
#
|
1113
|
-
# true.
|
1112
|
+
# A value that specifies whether the DB instance is a Multi-AZ
|
1113
|
+
# deployment. You can't set the AvailabilityZone parameter if the
|
1114
|
+
# MultiAZ parameter is set to true.
|
1114
1115
|
# @option options [String] :engine_version
|
1115
1116
|
# The version number of the database engine to use.
|
1116
1117
|
#
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -61,6 +61,7 @@ module Aws::RDS
|
|
61
61
|
# seconds_until_auto_pause: 1,
|
62
62
|
# },
|
63
63
|
# deletion_protection: false,
|
64
|
+
# global_cluster_identifier: "String",
|
64
65
|
# source_region: "String",
|
65
66
|
# })
|
66
67
|
# @param [Hash] options ({})
|
@@ -314,7 +315,7 @@ module Aws::RDS
|
|
314
315
|
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
315
316
|
# @option options [String] :engine_mode
|
316
317
|
# The DB engine mode of the DB cluster, either `provisioned`,
|
317
|
-
# `serverless`, or `
|
318
|
+
# `serverless`, `parallelquery`, or `global`.
|
318
319
|
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
319
320
|
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
320
321
|
# of the DB cluster.
|
@@ -322,6 +323,9 @@ module Aws::RDS
|
|
322
323
|
# Indicates if the DB cluster should have deletion protection enabled.
|
323
324
|
# The database can't be deleted when this value is set to true. The
|
324
325
|
# default is false.
|
326
|
+
# @option options [String] :global_cluster_identifier
|
327
|
+
# The global cluster ID of an Aurora cluster that becomes the primary
|
328
|
+
# cluster in the new global database cluster.
|
325
329
|
# @option options [String] :destination_region
|
326
330
|
# @option options [String] :source_region
|
327
331
|
# The source region of the snapshot. This is only needed when the
|
@@ -772,7 +776,8 @@ module Aws::RDS
|
|
772
776
|
#
|
773
777
|
# Default: The default DB security group for the database engine.
|
774
778
|
# @option options [Array<String>] :vpc_security_group_ids
|
775
|
-
# A list of EC2 VPC security groups to associate with this DB
|
779
|
+
# A list of Amazon EC2 VPC security groups to associate with this DB
|
780
|
+
# instance.
|
776
781
|
#
|
777
782
|
# **Amazon Aurora**
|
778
783
|
#
|
@@ -927,9 +932,9 @@ module Aws::RDS
|
|
927
932
|
#
|
928
933
|
# Type: Integer
|
929
934
|
# @option options [Boolean] :multi_az
|
930
|
-
#
|
931
|
-
#
|
932
|
-
# true.
|
935
|
+
# A value that specifies whether the DB instance is a Multi-AZ
|
936
|
+
# deployment. You can't set the AvailabilityZone parameter if the
|
937
|
+
# MultiAZ parameter is set to true.
|
933
938
|
# @option options [String] :engine_version
|
934
939
|
# The version number of the database engine to use.
|
935
940
|
#
|