aws-sdk-rds 1.187.0 → 1.189.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +233 -9
- data/lib/aws-sdk-rds/client_api.rb +91 -1
- data/lib/aws-sdk-rds/db_cluster.rb +33 -0
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +8 -1
- data/lib/aws-sdk-rds/db_engine_version.rb +11 -0
- data/lib/aws-sdk-rds/endpoints.rb +28 -0
- data/lib/aws-sdk-rds/errors.rb +33 -0
- data/lib/aws-sdk-rds/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-rds/resource.rb +7 -0
- data/lib/aws-sdk-rds/types.rb +378 -23
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +2 -2
@@ -127,6 +127,11 @@ module Aws::RDS
|
|
127
127
|
CustomEngineVersionStatus = Shapes::StringShape.new(name: 'CustomEngineVersionStatus')
|
128
128
|
DBCluster = Shapes::StructureShape.new(name: 'DBCluster')
|
129
129
|
DBClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'DBClusterAlreadyExistsFault')
|
130
|
+
DBClusterAutomatedBackup = Shapes::StructureShape.new(name: 'DBClusterAutomatedBackup')
|
131
|
+
DBClusterAutomatedBackupList = Shapes::ListShape.new(name: 'DBClusterAutomatedBackupList')
|
132
|
+
DBClusterAutomatedBackupMessage = Shapes::StructureShape.new(name: 'DBClusterAutomatedBackupMessage')
|
133
|
+
DBClusterAutomatedBackupNotFoundFault = Shapes::StructureShape.new(name: 'DBClusterAutomatedBackupNotFoundFault')
|
134
|
+
DBClusterAutomatedBackupQuotaExceededFault = Shapes::StructureShape.new(name: 'DBClusterAutomatedBackupQuotaExceededFault')
|
130
135
|
DBClusterBacktrack = Shapes::StructureShape.new(name: 'DBClusterBacktrack')
|
131
136
|
DBClusterBacktrackList = Shapes::ListShape.new(name: 'DBClusterBacktrackList')
|
132
137
|
DBClusterBacktrackMessage = Shapes::StructureShape.new(name: 'DBClusterBacktrackMessage')
|
@@ -251,6 +256,8 @@ module Aws::RDS
|
|
251
256
|
DeleteBlueGreenDeploymentRequest = Shapes::StructureShape.new(name: 'DeleteBlueGreenDeploymentRequest')
|
252
257
|
DeleteBlueGreenDeploymentResponse = Shapes::StructureShape.new(name: 'DeleteBlueGreenDeploymentResponse')
|
253
258
|
DeleteCustomDBEngineVersionMessage = Shapes::StructureShape.new(name: 'DeleteCustomDBEngineVersionMessage')
|
259
|
+
DeleteDBClusterAutomatedBackupMessage = Shapes::StructureShape.new(name: 'DeleteDBClusterAutomatedBackupMessage')
|
260
|
+
DeleteDBClusterAutomatedBackupResult = Shapes::StructureShape.new(name: 'DeleteDBClusterAutomatedBackupResult')
|
254
261
|
DeleteDBClusterEndpointMessage = Shapes::StructureShape.new(name: 'DeleteDBClusterEndpointMessage')
|
255
262
|
DeleteDBClusterMessage = Shapes::StructureShape.new(name: 'DeleteDBClusterMessage')
|
256
263
|
DeleteDBClusterParameterGroupMessage = Shapes::StructureShape.new(name: 'DeleteDBClusterParameterGroupMessage')
|
@@ -281,6 +288,7 @@ module Aws::RDS
|
|
281
288
|
DescribeBlueGreenDeploymentsRequest = Shapes::StructureShape.new(name: 'DescribeBlueGreenDeploymentsRequest')
|
282
289
|
DescribeBlueGreenDeploymentsResponse = Shapes::StructureShape.new(name: 'DescribeBlueGreenDeploymentsResponse')
|
283
290
|
DescribeCertificatesMessage = Shapes::StructureShape.new(name: 'DescribeCertificatesMessage')
|
291
|
+
DescribeDBClusterAutomatedBackupsMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterAutomatedBackupsMessage')
|
284
292
|
DescribeDBClusterBacktracksMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterBacktracksMessage')
|
285
293
|
DescribeDBClusterEndpointsMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterEndpointsMessage')
|
286
294
|
DescribeDBClusterParameterGroupsMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterParameterGroupsMessage')
|
@@ -396,6 +404,7 @@ module Aws::RDS
|
|
396
404
|
IntegerOptional = Shapes::IntegerShape.new(name: 'IntegerOptional')
|
397
405
|
InvalidBlueGreenDeploymentStateFault = Shapes::StructureShape.new(name: 'InvalidBlueGreenDeploymentStateFault')
|
398
406
|
InvalidCustomDBEngineVersionStateFault = Shapes::StructureShape.new(name: 'InvalidCustomDBEngineVersionStateFault')
|
407
|
+
InvalidDBClusterAutomatedBackupStateFault = Shapes::StructureShape.new(name: 'InvalidDBClusterAutomatedBackupStateFault')
|
399
408
|
InvalidDBClusterCapacityFault = Shapes::StructureShape.new(name: 'InvalidDBClusterCapacityFault')
|
400
409
|
InvalidDBClusterEndpointStateFault = Shapes::StructureShape.new(name: 'InvalidDBClusterEndpointStateFault')
|
401
410
|
InvalidDBClusterSnapshotStateFault = Shapes::StructureShape.new(name: 'InvalidDBClusterSnapshotStateFault')
|
@@ -424,6 +433,7 @@ module Aws::RDS
|
|
424
433
|
KeyList = Shapes::ListShape.new(name: 'KeyList')
|
425
434
|
KmsKeyIdOrArn = Shapes::StringShape.new(name: 'KmsKeyIdOrArn')
|
426
435
|
ListTagsForResourceMessage = Shapes::StructureShape.new(name: 'ListTagsForResourceMessage')
|
436
|
+
LocalWriteForwardingStatus = Shapes::StringShape.new(name: 'LocalWriteForwardingStatus')
|
427
437
|
LogTypeList = Shapes::ListShape.new(name: 'LogTypeList')
|
428
438
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
429
439
|
LongOptional = Shapes::IntegerShape.new(name: 'LongOptional')
|
@@ -950,6 +960,7 @@ module Aws::RDS
|
|
950
960
|
CreateDBClusterMessage.add_member(:db_system_id, Shapes::ShapeRef.new(shape: String, location_name: "DBSystemId"))
|
951
961
|
CreateDBClusterMessage.add_member(:manage_master_user_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterUserPassword"))
|
952
962
|
CreateDBClusterMessage.add_member(:master_user_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserSecretKmsKeyId"))
|
963
|
+
CreateDBClusterMessage.add_member(:enable_local_write_forwarding, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableLocalWriteForwarding"))
|
953
964
|
CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
954
965
|
CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
|
955
966
|
|
@@ -1264,10 +1275,46 @@ module Aws::RDS
|
|
1264
1275
|
DBCluster.add_member(:db_system_id, Shapes::ShapeRef.new(shape: String, location_name: "DBSystemId"))
|
1265
1276
|
DBCluster.add_member(:master_user_secret, Shapes::ShapeRef.new(shape: MasterUserSecret, location_name: "MasterUserSecret"))
|
1266
1277
|
DBCluster.add_member(:io_optimized_next_allowed_modification_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "IOOptimizedNextAllowedModificationTime"))
|
1278
|
+
DBCluster.add_member(:local_write_forwarding_status, Shapes::ShapeRef.new(shape: LocalWriteForwardingStatus, location_name: "LocalWriteForwardingStatus"))
|
1267
1279
|
DBCluster.struct_class = Types::DBCluster
|
1268
1280
|
|
1269
1281
|
DBClusterAlreadyExistsFault.struct_class = Types::DBClusterAlreadyExistsFault
|
1270
1282
|
|
1283
|
+
DBClusterAutomatedBackup.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
1284
|
+
DBClusterAutomatedBackup.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcId"))
|
1285
|
+
DBClusterAutomatedBackup.add_member(:db_cluster_automated_backups_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterAutomatedBackupsArn"))
|
1286
|
+
DBClusterAutomatedBackup.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
1287
|
+
DBClusterAutomatedBackup.add_member(:restore_window, Shapes::ShapeRef.new(shape: RestoreWindow, location_name: "RestoreWindow"))
|
1288
|
+
DBClusterAutomatedBackup.add_member(:master_username, Shapes::ShapeRef.new(shape: String, location_name: "MasterUsername"))
|
1289
|
+
DBClusterAutomatedBackup.add_member(:db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbClusterResourceId"))
|
1290
|
+
DBClusterAutomatedBackup.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
|
1291
|
+
DBClusterAutomatedBackup.add_member(:license_model, Shapes::ShapeRef.new(shape: String, location_name: "LicenseModel"))
|
1292
|
+
DBClusterAutomatedBackup.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
1293
|
+
DBClusterAutomatedBackup.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
|
1294
|
+
DBClusterAutomatedBackup.add_member(:cluster_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "ClusterCreateTime"))
|
1295
|
+
DBClusterAutomatedBackup.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "StorageEncrypted"))
|
1296
|
+
DBClusterAutomatedBackup.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: Integer, location_name: "AllocatedStorage"))
|
1297
|
+
DBClusterAutomatedBackup.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
1298
|
+
DBClusterAutomatedBackup.add_member(:db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterArn"))
|
1299
|
+
DBClusterAutomatedBackup.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
|
1300
|
+
DBClusterAutomatedBackup.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
1301
|
+
DBClusterAutomatedBackup.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, location_name: "AvailabilityZones"))
|
1302
|
+
DBClusterAutomatedBackup.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "Port"))
|
1303
|
+
DBClusterAutomatedBackup.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
1304
|
+
DBClusterAutomatedBackup.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
|
1305
|
+
DBClusterAutomatedBackup.add_member(:iops, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Iops"))
|
1306
|
+
DBClusterAutomatedBackup.struct_class = Types::DBClusterAutomatedBackup
|
1307
|
+
|
1308
|
+
DBClusterAutomatedBackupList.member = Shapes::ShapeRef.new(shape: DBClusterAutomatedBackup, location_name: "DBClusterAutomatedBackup")
|
1309
|
+
|
1310
|
+
DBClusterAutomatedBackupMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1311
|
+
DBClusterAutomatedBackupMessage.add_member(:db_cluster_automated_backups, Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupList, location_name: "DBClusterAutomatedBackups"))
|
1312
|
+
DBClusterAutomatedBackupMessage.struct_class = Types::DBClusterAutomatedBackupMessage
|
1313
|
+
|
1314
|
+
DBClusterAutomatedBackupNotFoundFault.struct_class = Types::DBClusterAutomatedBackupNotFoundFault
|
1315
|
+
|
1316
|
+
DBClusterAutomatedBackupQuotaExceededFault.struct_class = Types::DBClusterAutomatedBackupQuotaExceededFault
|
1317
|
+
|
1271
1318
|
DBClusterBacktrack.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
1272
1319
|
DBClusterBacktrack.add_member(:backtrack_identifier, Shapes::ShapeRef.new(shape: String, location_name: "BacktrackIdentifier"))
|
1273
1320
|
DBClusterBacktrack.add_member(:backtrack_to, Shapes::ShapeRef.new(shape: TStamp, location_name: "BacktrackTo"))
|
@@ -1397,6 +1444,7 @@ module Aws::RDS
|
|
1397
1444
|
DBClusterSnapshot.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
1398
1445
|
DBClusterSnapshot.add_member(:db_system_id, Shapes::ShapeRef.new(shape: String, location_name: "DBSystemId"))
|
1399
1446
|
DBClusterSnapshot.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
|
1447
|
+
DBClusterSnapshot.add_member(:db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbClusterResourceId"))
|
1400
1448
|
DBClusterSnapshot.struct_class = Types::DBClusterSnapshot
|
1401
1449
|
|
1402
1450
|
DBClusterSnapshotAlreadyExistsFault.struct_class = Types::DBClusterSnapshotAlreadyExistsFault
|
@@ -1450,6 +1498,7 @@ module Aws::RDS
|
|
1450
1498
|
DBEngineVersion.add_member(:custom_db_engine_version_manifest, Shapes::ShapeRef.new(shape: CustomDBEngineVersionManifest, location_name: "CustomDBEngineVersionManifest"))
|
1451
1499
|
DBEngineVersion.add_member(:supports_certificate_rotation_without_restart, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsCertificateRotationWithoutRestart"))
|
1452
1500
|
DBEngineVersion.add_member(:supported_ca_certificate_identifiers, Shapes::ShapeRef.new(shape: CACertificateIdentifiersList, location_name: "SupportedCACertificateIdentifiers"))
|
1501
|
+
DBEngineVersion.add_member(:supports_local_write_forwarding, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsLocalWriteForwarding"))
|
1453
1502
|
DBEngineVersion.struct_class = Types::DBEngineVersion
|
1454
1503
|
|
1455
1504
|
DBEngineVersionList.member = Shapes::ShapeRef.new(shape: DBEngineVersion, location_name: "DBEngineVersion")
|
@@ -1850,12 +1899,19 @@ module Aws::RDS
|
|
1850
1899
|
DeleteCustomDBEngineVersionMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: CustomEngineVersion, required: true, location_name: "EngineVersion"))
|
1851
1900
|
DeleteCustomDBEngineVersionMessage.struct_class = Types::DeleteCustomDBEngineVersionMessage
|
1852
1901
|
|
1902
|
+
DeleteDBClusterAutomatedBackupMessage.add_member(:db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DbClusterResourceId"))
|
1903
|
+
DeleteDBClusterAutomatedBackupMessage.struct_class = Types::DeleteDBClusterAutomatedBackupMessage
|
1904
|
+
|
1905
|
+
DeleteDBClusterAutomatedBackupResult.add_member(:db_cluster_automated_backup, Shapes::ShapeRef.new(shape: DBClusterAutomatedBackup, location_name: "DBClusterAutomatedBackup"))
|
1906
|
+
DeleteDBClusterAutomatedBackupResult.struct_class = Types::DeleteDBClusterAutomatedBackupResult
|
1907
|
+
|
1853
1908
|
DeleteDBClusterEndpointMessage.add_member(:db_cluster_endpoint_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterEndpointIdentifier"))
|
1854
1909
|
DeleteDBClusterEndpointMessage.struct_class = Types::DeleteDBClusterEndpointMessage
|
1855
1910
|
|
1856
1911
|
DeleteDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
1857
1912
|
DeleteDBClusterMessage.add_member(:skip_final_snapshot, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipFinalSnapshot"))
|
1858
1913
|
DeleteDBClusterMessage.add_member(:final_db_snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "FinalDBSnapshotIdentifier"))
|
1914
|
+
DeleteDBClusterMessage.add_member(:delete_automated_backups, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeleteAutomatedBackups"))
|
1859
1915
|
DeleteDBClusterMessage.struct_class = Types::DeleteDBClusterMessage
|
1860
1916
|
|
1861
1917
|
DeleteDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
|
@@ -1954,6 +2010,13 @@ module Aws::RDS
|
|
1954
2010
|
DescribeCertificatesMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1955
2011
|
DescribeCertificatesMessage.struct_class = Types::DescribeCertificatesMessage
|
1956
2012
|
|
2013
|
+
DescribeDBClusterAutomatedBackupsMessage.add_member(:db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbClusterResourceId"))
|
2014
|
+
DescribeDBClusterAutomatedBackupsMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
2015
|
+
DescribeDBClusterAutomatedBackupsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
2016
|
+
DescribeDBClusterAutomatedBackupsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
2017
|
+
DescribeDBClusterAutomatedBackupsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
2018
|
+
DescribeDBClusterAutomatedBackupsMessage.struct_class = Types::DescribeDBClusterAutomatedBackupsMessage
|
2019
|
+
|
1957
2020
|
DescribeDBClusterBacktracksMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
1958
2021
|
DescribeDBClusterBacktracksMessage.add_member(:backtrack_identifier, Shapes::ShapeRef.new(shape: String, location_name: "BacktrackIdentifier"))
|
1959
2022
|
DescribeDBClusterBacktracksMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
@@ -1995,6 +2058,7 @@ module Aws::RDS
|
|
1995
2058
|
DescribeDBClusterSnapshotsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1996
2059
|
DescribeDBClusterSnapshotsMessage.add_member(:include_shared, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeShared"))
|
1997
2060
|
DescribeDBClusterSnapshotsMessage.add_member(:include_public, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludePublic"))
|
2061
|
+
DescribeDBClusterSnapshotsMessage.add_member(:db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbClusterResourceId"))
|
1998
2062
|
DescribeDBClusterSnapshotsMessage.struct_class = Types::DescribeDBClusterSnapshotsMessage
|
1999
2063
|
|
2000
2064
|
DescribeDBClustersMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
@@ -2467,6 +2531,8 @@ module Aws::RDS
|
|
2467
2531
|
|
2468
2532
|
InvalidCustomDBEngineVersionStateFault.struct_class = Types::InvalidCustomDBEngineVersionStateFault
|
2469
2533
|
|
2534
|
+
InvalidDBClusterAutomatedBackupStateFault.struct_class = Types::InvalidDBClusterAutomatedBackupStateFault
|
2535
|
+
|
2470
2536
|
InvalidDBClusterCapacityFault.struct_class = Types::InvalidDBClusterCapacityFault
|
2471
2537
|
|
2472
2538
|
InvalidDBClusterEndpointStateFault.struct_class = Types::InvalidDBClusterEndpointStateFault
|
@@ -2614,6 +2680,7 @@ module Aws::RDS
|
|
2614
2680
|
ModifyDBClusterMessage.add_member(:master_user_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserSecretKmsKeyId"))
|
2615
2681
|
ModifyDBClusterMessage.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
2616
2682
|
ModifyDBClusterMessage.add_member(:allow_engine_mode_change, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllowEngineModeChange"))
|
2683
|
+
ModifyDBClusterMessage.add_member(:enable_local_write_forwarding, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableLocalWriteForwarding"))
|
2617
2684
|
ModifyDBClusterMessage.struct_class = Types::ModifyDBClusterMessage
|
2618
2685
|
|
2619
2686
|
ModifyDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
|
@@ -3252,7 +3319,7 @@ module Aws::RDS
|
|
3252
3319
|
|
3253
3320
|
RestoreDBClusterToPointInTimeMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
3254
3321
|
RestoreDBClusterToPointInTimeMessage.add_member(:restore_type, Shapes::ShapeRef.new(shape: String, location_name: "RestoreType"))
|
3255
|
-
RestoreDBClusterToPointInTimeMessage.add_member(:source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String,
|
3322
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBClusterIdentifier"))
|
3256
3323
|
RestoreDBClusterToPointInTimeMessage.add_member(:restore_to_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "RestoreToTime"))
|
3257
3324
|
RestoreDBClusterToPointInTimeMessage.add_member(:use_latest_restorable_time, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseLatestRestorableTime"))
|
3258
3325
|
RestoreDBClusterToPointInTimeMessage.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
|
@@ -3277,6 +3344,7 @@ module Aws::RDS
|
|
3277
3344
|
RestoreDBClusterToPointInTimeMessage.add_member(:iops, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Iops"))
|
3278
3345
|
RestoreDBClusterToPointInTimeMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
|
3279
3346
|
RestoreDBClusterToPointInTimeMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
3347
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:source_db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "SourceDbClusterResourceId"))
|
3280
3348
|
RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
|
3281
3349
|
|
3282
3350
|
RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
@@ -3649,6 +3717,7 @@ module Aws::RDS
|
|
3649
3717
|
UpgradeTarget.add_member(:supports_parallel_query, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsParallelQuery"))
|
3650
3718
|
UpgradeTarget.add_member(:supports_global_databases, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsGlobalDatabases"))
|
3651
3719
|
UpgradeTarget.add_member(:supports_babelfish, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsBabelfish"))
|
3720
|
+
UpgradeTarget.add_member(:supports_local_write_forwarding, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsLocalWriteForwarding"))
|
3652
3721
|
UpgradeTarget.struct_class = Types::UpgradeTarget
|
3653
3722
|
|
3654
3723
|
UserAuthConfig.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
@@ -4158,6 +4227,17 @@ module Aws::RDS
|
|
4158
4227
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterSnapshotAlreadyExistsFault)
|
4159
4228
|
o.errors << Shapes::ShapeRef.new(shape: SnapshotQuotaExceededFault)
|
4160
4229
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterSnapshotStateFault)
|
4230
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupQuotaExceededFault)
|
4231
|
+
end)
|
4232
|
+
|
4233
|
+
api.add_operation(:delete_db_cluster_automated_backup, Seahorse::Model::Operation.new.tap do |o|
|
4234
|
+
o.name = "DeleteDBClusterAutomatedBackup"
|
4235
|
+
o.http_method = "POST"
|
4236
|
+
o.http_request_uri = "/"
|
4237
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteDBClusterAutomatedBackupMessage)
|
4238
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteDBClusterAutomatedBackupResult)
|
4239
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterAutomatedBackupStateFault)
|
4240
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupNotFoundFault)
|
4161
4241
|
end)
|
4162
4242
|
|
4163
4243
|
api.add_operation(:delete_db_cluster_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4356,6 +4436,15 @@ module Aws::RDS
|
|
4356
4436
|
)
|
4357
4437
|
end)
|
4358
4438
|
|
4439
|
+
api.add_operation(:describe_db_cluster_automated_backups, Seahorse::Model::Operation.new.tap do |o|
|
4440
|
+
o.name = "DescribeDBClusterAutomatedBackups"
|
4441
|
+
o.http_method = "POST"
|
4442
|
+
o.http_request_uri = "/"
|
4443
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeDBClusterAutomatedBackupsMessage)
|
4444
|
+
o.output = Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupMessage)
|
4445
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupNotFoundFault)
|
4446
|
+
end)
|
4447
|
+
|
4359
4448
|
api.add_operation(:describe_db_cluster_backtracks, Seahorse::Model::Operation.new.tap do |o|
|
4360
4449
|
o.name = "DescribeDBClusterBacktracks"
|
4361
4450
|
o.http_method = "POST"
|
@@ -5379,6 +5468,7 @@ module Aws::RDS
|
|
5379
5468
|
o.errors << Shapes::ShapeRef.new(shape: StorageQuotaExceededFault)
|
5380
5469
|
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
5381
5470
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterParameterGroupNotFoundFault)
|
5471
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterAutomatedBackupNotFoundFault)
|
5382
5472
|
end)
|
5383
5473
|
|
5384
5474
|
api.add_operation(:restore_db_instance_from_db_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
@@ -654,6 +654,13 @@ module Aws::RDS
|
|
654
654
|
data[:io_optimized_next_allowed_modification_time]
|
655
655
|
end
|
656
656
|
|
657
|
+
# Specifies whether an Aurora DB cluster has in-cluster write forwarding
|
658
|
+
# enabled, not enabled, requested, or is in the process of enabling it.
|
659
|
+
# @return [String]
|
660
|
+
def local_write_forwarding_status
|
661
|
+
data[:local_write_forwarding_status]
|
662
|
+
end
|
663
|
+
|
657
664
|
# @!endgroup
|
658
665
|
|
659
666
|
# @return [Client]
|
@@ -858,6 +865,7 @@ module Aws::RDS
|
|
858
865
|
# db_system_id: "String",
|
859
866
|
# manage_master_user_password: false,
|
860
867
|
# master_user_secret_kms_key_id: "String",
|
868
|
+
# enable_local_write_forwarding: false,
|
861
869
|
# source_region: "String",
|
862
870
|
# })
|
863
871
|
# @param [Hash] options ({})
|
@@ -1585,6 +1593,12 @@ module Aws::RDS
|
|
1585
1593
|
# Amazon Web Services Region.
|
1586
1594
|
#
|
1587
1595
|
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
1596
|
+
# @option options [Boolean] :enable_local_write_forwarding
|
1597
|
+
# Specifies whether read replicas can forward write operations to the
|
1598
|
+
# writer DB instance in the DB cluster. By default, write operations
|
1599
|
+
# aren't allowed on reader DB instances.
|
1600
|
+
#
|
1601
|
+
# Valid for: Aurora DB clusters only
|
1588
1602
|
# @option options [String] :source_region
|
1589
1603
|
# The source region of the snapshot. This is only needed when the
|
1590
1604
|
# shapshot is encrypted and in a different region.
|
@@ -1647,6 +1661,7 @@ module Aws::RDS
|
|
1647
1661
|
# dbcluster = db_cluster.delete({
|
1648
1662
|
# skip_final_snapshot: false,
|
1649
1663
|
# final_db_snapshot_identifier: "String",
|
1664
|
+
# delete_automated_backups: false,
|
1650
1665
|
# })
|
1651
1666
|
# @param [Hash] options ({})
|
1652
1667
|
# @option options [Boolean] :skip_final_snapshot
|
@@ -1678,6 +1693,11 @@ module Aws::RDS
|
|
1678
1693
|
# * First character must be a letter
|
1679
1694
|
#
|
1680
1695
|
# * Can't end with a hyphen or contain two consecutive hyphens
|
1696
|
+
# @option options [Boolean] :delete_automated_backups
|
1697
|
+
# A value that indicates whether to remove automated backups immediately
|
1698
|
+
# after the DB cluster is deleted. This parameter isn't case-sensitive.
|
1699
|
+
# The default is to remove automated backups immediately after the DB
|
1700
|
+
# cluster is deleted.
|
1681
1701
|
# @return [DBCluster]
|
1682
1702
|
def delete(options = {})
|
1683
1703
|
options = options.merge(db_cluster_identifier: @id)
|
@@ -1774,6 +1794,7 @@ module Aws::RDS
|
|
1774
1794
|
# master_user_secret_kms_key_id: "String",
|
1775
1795
|
# engine_mode: "String",
|
1776
1796
|
# allow_engine_mode_change: false,
|
1797
|
+
# enable_local_write_forwarding: false,
|
1777
1798
|
# })
|
1778
1799
|
# @param [Hash] options ({})
|
1779
1800
|
# @option options [String] :new_db_cluster_identifier
|
@@ -2382,6 +2403,12 @@ module Aws::RDS
|
|
2382
2403
|
# mode.
|
2383
2404
|
#
|
2384
2405
|
# ^
|
2406
|
+
# @option options [Boolean] :enable_local_write_forwarding
|
2407
|
+
# Specifies whether read replicas can forward write operations to the
|
2408
|
+
# writer DB instance in the DB cluster. By default, write operations
|
2409
|
+
# aren't allowed on reader DB instances.
|
2410
|
+
#
|
2411
|
+
# Valid for: Aurora DB clusters only
|
2385
2412
|
# @return [DBCluster]
|
2386
2413
|
def modify(options = {})
|
2387
2414
|
options = options.merge(db_cluster_identifier: @id)
|
@@ -2439,6 +2466,7 @@ module Aws::RDS
|
|
2439
2466
|
# max_capacity: 1.0,
|
2440
2467
|
# },
|
2441
2468
|
# network_type: "String",
|
2469
|
+
# source_db_cluster_resource_id: "String",
|
2442
2470
|
# })
|
2443
2471
|
# @param [Hash] options ({})
|
2444
2472
|
# @option options [required, String] :db_cluster_identifier
|
@@ -2793,6 +2821,8 @@ module Aws::RDS
|
|
2793
2821
|
#
|
2794
2822
|
#
|
2795
2823
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
2824
|
+
# @option options [String] :source_db_cluster_resource_id
|
2825
|
+
# The resource ID of the source DB cluster from which to restore.
|
2796
2826
|
# @return [DBCluster]
|
2797
2827
|
def restore(options = {})
|
2798
2828
|
options = options.merge(source_db_cluster_identifier: @id)
|
@@ -2929,6 +2959,7 @@ module Aws::RDS
|
|
2929
2959
|
# ],
|
2930
2960
|
# include_shared: false,
|
2931
2961
|
# include_public: false,
|
2962
|
+
# db_cluster_resource_id: "String",
|
2932
2963
|
# })
|
2933
2964
|
# @param [Hash] options ({})
|
2934
2965
|
# @option options [String] :db_cluster_snapshot_identifier
|
@@ -3000,6 +3031,8 @@ module Aws::RDS
|
|
3000
3031
|
#
|
3001
3032
|
# You can share a manual DB cluster snapshot as public by using the
|
3002
3033
|
# ModifyDBClusterSnapshotAttribute API action.
|
3034
|
+
# @option options [String] :db_cluster_resource_id
|
3035
|
+
# A specific DB cluster resource ID to describe.
|
3003
3036
|
# @return [DBClusterSnapshot::Collection]
|
3004
3037
|
def snapshots(options = {})
|
3005
3038
|
batches = Enumerator.new do |y|
|
@@ -159,7 +159,7 @@ module Aws::RDS
|
|
159
159
|
data[:kms_key_id]
|
160
160
|
end
|
161
161
|
|
162
|
-
#
|
162
|
+
# Specifies the Amazon Resource Name (ARN) for the DB cluster snapshot.
|
163
163
|
# @return [String]
|
164
164
|
def db_cluster_snapshot_arn
|
165
165
|
data[:db_cluster_snapshot_arn]
|
@@ -205,6 +205,13 @@ module Aws::RDS
|
|
205
205
|
data[:storage_type]
|
206
206
|
end
|
207
207
|
|
208
|
+
# Specifies the resource ID of the DB cluster that this DB cluster
|
209
|
+
# snapshot was created from.
|
210
|
+
# @return [String]
|
211
|
+
def db_cluster_resource_id
|
212
|
+
data[:db_cluster_resource_id]
|
213
|
+
end
|
214
|
+
|
208
215
|
# @!endgroup
|
209
216
|
|
210
217
|
# @return [Client]
|
@@ -277,6 +277,17 @@ module Aws::RDS
|
|
277
277
|
data[:supported_ca_certificate_identifiers]
|
278
278
|
end
|
279
279
|
|
280
|
+
# A value that indicates whether the DB engine version supports
|
281
|
+
# forwarding write operations from reader DB instances to the writer DB
|
282
|
+
# instance in the DB cluster. By default, write operations aren't
|
283
|
+
# allowed on reader DB instances.
|
284
|
+
#
|
285
|
+
# Valid for: Aurora DB clusters only
|
286
|
+
# @return [Boolean]
|
287
|
+
def supports_local_write_forwarding
|
288
|
+
data[:supports_local_write_forwarding]
|
289
|
+
end
|
290
|
+
|
280
291
|
# @!endgroup
|
281
292
|
|
282
293
|
# @return [Client]
|
@@ -474,6 +474,20 @@ module Aws::RDS
|
|
474
474
|
end
|
475
475
|
end
|
476
476
|
|
477
|
+
class DeleteDBClusterAutomatedBackup
|
478
|
+
def self.build(context)
|
479
|
+
unless context.config.regional_endpoint
|
480
|
+
endpoint = context.config.endpoint.to_s
|
481
|
+
end
|
482
|
+
Aws::RDS::EndpointParameters.new(
|
483
|
+
region: context.config.region,
|
484
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
485
|
+
use_fips: context.config.use_fips_endpoint,
|
486
|
+
endpoint: endpoint,
|
487
|
+
)
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
477
491
|
class DeleteDBClusterEndpoint
|
478
492
|
def self.build(context)
|
479
493
|
unless context.config.regional_endpoint
|
@@ -726,6 +740,20 @@ module Aws::RDS
|
|
726
740
|
end
|
727
741
|
end
|
728
742
|
|
743
|
+
class DescribeDBClusterAutomatedBackups
|
744
|
+
def self.build(context)
|
745
|
+
unless context.config.regional_endpoint
|
746
|
+
endpoint = context.config.endpoint.to_s
|
747
|
+
end
|
748
|
+
Aws::RDS::EndpointParameters.new(
|
749
|
+
region: context.config.region,
|
750
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
751
|
+
use_fips: context.config.use_fips_endpoint,
|
752
|
+
endpoint: endpoint,
|
753
|
+
)
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
729
757
|
class DescribeDBClusterBacktracks
|
730
758
|
def self.build(context)
|
731
759
|
unless context.config.regional_endpoint
|
data/lib/aws-sdk-rds/errors.rb
CHANGED
@@ -40,6 +40,8 @@ module Aws::RDS
|
|
40
40
|
# * {CustomDBEngineVersionNotFoundFault}
|
41
41
|
# * {CustomDBEngineVersionQuotaExceededFault}
|
42
42
|
# * {DBClusterAlreadyExistsFault}
|
43
|
+
# * {DBClusterAutomatedBackupNotFoundFault}
|
44
|
+
# * {DBClusterAutomatedBackupQuotaExceededFault}
|
43
45
|
# * {DBClusterBacktrackNotFoundFault}
|
44
46
|
# * {DBClusterEndpointAlreadyExistsFault}
|
45
47
|
# * {DBClusterEndpointNotFoundFault}
|
@@ -102,6 +104,7 @@ module Aws::RDS
|
|
102
104
|
# * {InsufficientStorageClusterCapacityFault}
|
103
105
|
# * {InvalidBlueGreenDeploymentStateFault}
|
104
106
|
# * {InvalidCustomDBEngineVersionStateFault}
|
107
|
+
# * {InvalidDBClusterAutomatedBackupStateFault}
|
105
108
|
# * {InvalidDBClusterCapacityFault}
|
106
109
|
# * {InvalidDBClusterEndpointStateFault}
|
107
110
|
# * {InvalidDBClusterSnapshotStateFault}
|
@@ -290,6 +293,26 @@ module Aws::RDS
|
|
290
293
|
end
|
291
294
|
end
|
292
295
|
|
296
|
+
class DBClusterAutomatedBackupNotFoundFault < ServiceError
|
297
|
+
|
298
|
+
# @param [Seahorse::Client::RequestContext] context
|
299
|
+
# @param [String] message
|
300
|
+
# @param [Aws::RDS::Types::DBClusterAutomatedBackupNotFoundFault] data
|
301
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
302
|
+
super(context, message, data)
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
306
|
+
class DBClusterAutomatedBackupQuotaExceededFault < ServiceError
|
307
|
+
|
308
|
+
# @param [Seahorse::Client::RequestContext] context
|
309
|
+
# @param [String] message
|
310
|
+
# @param [Aws::RDS::Types::DBClusterAutomatedBackupQuotaExceededFault] data
|
311
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
312
|
+
super(context, message, data)
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
293
316
|
class DBClusterBacktrackNotFoundFault < ServiceError
|
294
317
|
|
295
318
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -910,6 +933,16 @@ module Aws::RDS
|
|
910
933
|
end
|
911
934
|
end
|
912
935
|
|
936
|
+
class InvalidDBClusterAutomatedBackupStateFault < ServiceError
|
937
|
+
|
938
|
+
# @param [Seahorse::Client::RequestContext] context
|
939
|
+
# @param [String] message
|
940
|
+
# @param [Aws::RDS::Types::InvalidDBClusterAutomatedBackupStateFault] data
|
941
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
942
|
+
super(context, message, data)
|
943
|
+
end
|
944
|
+
end
|
945
|
+
|
913
946
|
class InvalidDBClusterCapacityFault < ServiceError
|
914
947
|
|
915
948
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -122,6 +122,8 @@ module Aws::RDS
|
|
122
122
|
Aws::RDS::Endpoints::DeleteCustomDBEngineVersion.build(context)
|
123
123
|
when :delete_db_cluster
|
124
124
|
Aws::RDS::Endpoints::DeleteDBCluster.build(context)
|
125
|
+
when :delete_db_cluster_automated_backup
|
126
|
+
Aws::RDS::Endpoints::DeleteDBClusterAutomatedBackup.build(context)
|
125
127
|
when :delete_db_cluster_endpoint
|
126
128
|
Aws::RDS::Endpoints::DeleteDBClusterEndpoint.build(context)
|
127
129
|
when :delete_db_cluster_parameter_group
|
@@ -158,6 +160,8 @@ module Aws::RDS
|
|
158
160
|
Aws::RDS::Endpoints::DescribeBlueGreenDeployments.build(context)
|
159
161
|
when :describe_certificates
|
160
162
|
Aws::RDS::Endpoints::DescribeCertificates.build(context)
|
163
|
+
when :describe_db_cluster_automated_backups
|
164
|
+
Aws::RDS::Endpoints::DescribeDBClusterAutomatedBackups.build(context)
|
161
165
|
when :describe_db_cluster_backtracks
|
162
166
|
Aws::RDS::Endpoints::DescribeDBClusterBacktracks.build(context)
|
163
167
|
when :describe_db_cluster_endpoints
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -102,6 +102,7 @@ module Aws::RDS
|
|
102
102
|
# db_system_id: "String",
|
103
103
|
# manage_master_user_password: false,
|
104
104
|
# master_user_secret_kms_key_id: "String",
|
105
|
+
# enable_local_write_forwarding: false,
|
105
106
|
# source_region: "String",
|
106
107
|
# })
|
107
108
|
# @param [Hash] options ({})
|
@@ -844,6 +845,12 @@ module Aws::RDS
|
|
844
845
|
# Amazon Web Services Region.
|
845
846
|
#
|
846
847
|
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
848
|
+
# @option options [Boolean] :enable_local_write_forwarding
|
849
|
+
# Specifies whether read replicas can forward write operations to the
|
850
|
+
# writer DB instance in the DB cluster. By default, write operations
|
851
|
+
# aren't allowed on reader DB instances.
|
852
|
+
#
|
853
|
+
# Valid for: Aurora DB clusters only
|
847
854
|
# @option options [String] :source_region
|
848
855
|
# The source region of the snapshot. This is only needed when the
|
849
856
|
# shapshot is encrypted and in a different region.
|