aws-sdk-rds 1.23.0 → 1.24.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 +313 -67
- data/lib/aws-sdk-rds/client_api.rb +62 -0
- data/lib/aws-sdk-rds/db_cluster.rb +72 -2
- data/lib/aws-sdk-rds/db_cluster_parameter_group.rb +2 -0
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +21 -1
- data/lib/aws-sdk-rds/db_engine_version.rb +6 -0
- data/lib/aws-sdk-rds/db_instance.rb +50 -57
- data/lib/aws-sdk-rds/db_parameter_group.rb +2 -0
- data/lib/aws-sdk-rds/db_snapshot.rb +9 -16
- data/lib/aws-sdk-rds/parameter.rb +6 -0
- data/lib/aws-sdk-rds/resource.rb +46 -12
- data/lib/aws-sdk-rds/types.rb +439 -88
- metadata +2 -2
@@ -33,6 +33,7 @@ module Aws::RDS
|
|
33
33
|
AvailableProcessorFeature = Shapes::StructureShape.new(name: 'AvailableProcessorFeature')
|
34
34
|
AvailableProcessorFeatureList = Shapes::ListShape.new(name: 'AvailableProcessorFeatureList')
|
35
35
|
BacktrackDBClusterMessage = Shapes::StructureShape.new(name: 'BacktrackDBClusterMessage')
|
36
|
+
BackupPolicyNotFoundFault = Shapes::StructureShape.new(name: 'BackupPolicyNotFoundFault')
|
36
37
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
37
38
|
BooleanOptional = Shapes::BooleanShape.new(name: 'BooleanOptional')
|
38
39
|
Certificate = Shapes::StructureShape.new(name: 'Certificate')
|
@@ -79,6 +80,7 @@ module Aws::RDS
|
|
79
80
|
DBClusterBacktrackList = Shapes::ListShape.new(name: 'DBClusterBacktrackList')
|
80
81
|
DBClusterBacktrackMessage = Shapes::StructureShape.new(name: 'DBClusterBacktrackMessage')
|
81
82
|
DBClusterBacktrackNotFoundFault = Shapes::StructureShape.new(name: 'DBClusterBacktrackNotFoundFault')
|
83
|
+
DBClusterCapacityInfo = Shapes::StructureShape.new(name: 'DBClusterCapacityInfo')
|
82
84
|
DBClusterList = Shapes::ListShape.new(name: 'DBClusterList')
|
83
85
|
DBClusterMember = Shapes::StructureShape.new(name: 'DBClusterMember')
|
84
86
|
DBClusterMemberList = Shapes::ListShape.new(name: 'DBClusterMemberList')
|
@@ -221,6 +223,7 @@ module Aws::RDS
|
|
221
223
|
EC2SecurityGroupList = Shapes::ListShape.new(name: 'EC2SecurityGroupList')
|
222
224
|
Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
|
223
225
|
EngineDefaults = Shapes::StructureShape.new(name: 'EngineDefaults')
|
226
|
+
EngineModeList = Shapes::ListShape.new(name: 'EngineModeList')
|
224
227
|
Event = Shapes::StructureShape.new(name: 'Event')
|
225
228
|
EventCategoriesList = Shapes::ListShape.new(name: 'EventCategoriesList')
|
226
229
|
EventCategoriesMap = Shapes::StructureShape.new(name: 'EventCategoriesMap')
|
@@ -245,6 +248,7 @@ module Aws::RDS
|
|
245
248
|
InsufficientStorageClusterCapacityFault = Shapes::StructureShape.new(name: 'InsufficientStorageClusterCapacityFault')
|
246
249
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
247
250
|
IntegerOptional = Shapes::IntegerShape.new(name: 'IntegerOptional')
|
251
|
+
InvalidDBClusterCapacityFault = Shapes::StructureShape.new(name: 'InvalidDBClusterCapacityFault')
|
248
252
|
InvalidDBClusterSnapshotStateFault = Shapes::StructureShape.new(name: 'InvalidDBClusterSnapshotStateFault')
|
249
253
|
InvalidDBClusterStateFault = Shapes::StructureShape.new(name: 'InvalidDBClusterStateFault')
|
250
254
|
InvalidDBInstanceStateFault = Shapes::StructureShape.new(name: 'InvalidDBInstanceStateFault')
|
@@ -266,6 +270,7 @@ module Aws::RDS
|
|
266
270
|
LogTypeList = Shapes::ListShape.new(name: 'LogTypeList')
|
267
271
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
268
272
|
LongOptional = Shapes::IntegerShape.new(name: 'LongOptional')
|
273
|
+
ModifyCurrentDBClusterCapacityMessage = Shapes::StructureShape.new(name: 'ModifyCurrentDBClusterCapacityMessage')
|
269
274
|
ModifyDBClusterMessage = Shapes::StructureShape.new(name: 'ModifyDBClusterMessage')
|
270
275
|
ModifyDBClusterParameterGroupMessage = Shapes::StructureShape.new(name: 'ModifyDBClusterParameterGroupMessage')
|
271
276
|
ModifyDBClusterResult = Shapes::StructureShape.new(name: 'ModifyDBClusterResult')
|
@@ -374,6 +379,8 @@ module Aws::RDS
|
|
374
379
|
SNSInvalidTopicFault = Shapes::StructureShape.new(name: 'SNSInvalidTopicFault')
|
375
380
|
SNSNoAuthorizationFault = Shapes::StructureShape.new(name: 'SNSNoAuthorizationFault')
|
376
381
|
SNSTopicArnNotFoundFault = Shapes::StructureShape.new(name: 'SNSTopicArnNotFoundFault')
|
382
|
+
ScalingConfiguration = Shapes::StructureShape.new(name: 'ScalingConfiguration')
|
383
|
+
ScalingConfigurationInfo = Shapes::StructureShape.new(name: 'ScalingConfigurationInfo')
|
377
384
|
SharedSnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'SharedSnapshotQuotaExceededFault')
|
378
385
|
SnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'SnapshotQuotaExceededFault')
|
379
386
|
SourceIdsList = Shapes::ListShape.new(name: 'SourceIdsList')
|
@@ -577,6 +584,8 @@ module Aws::RDS
|
|
577
584
|
CreateDBClusterMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
578
585
|
CreateDBClusterMessage.add_member(:backtrack_window, Shapes::ShapeRef.new(shape: LongOptional, location_name: "BacktrackWindow"))
|
579
586
|
CreateDBClusterMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
587
|
+
CreateDBClusterMessage.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
588
|
+
CreateDBClusterMessage.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfiguration, location_name: "ScalingConfiguration"))
|
580
589
|
CreateDBClusterMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
|
581
590
|
CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
582
591
|
CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
|
@@ -777,6 +786,9 @@ module Aws::RDS
|
|
777
786
|
DBCluster.add_member(:backtrack_window, Shapes::ShapeRef.new(shape: LongOptional, location_name: "BacktrackWindow"))
|
778
787
|
DBCluster.add_member(:backtrack_consumed_change_records, Shapes::ShapeRef.new(shape: LongOptional, location_name: "BacktrackConsumedChangeRecords"))
|
779
788
|
DBCluster.add_member(:enabled_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnabledCloudwatchLogsExports"))
|
789
|
+
DBCluster.add_member(:capacity, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Capacity"))
|
790
|
+
DBCluster.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
791
|
+
DBCluster.add_member(:scaling_configuration_info, Shapes::ShapeRef.new(shape: ScalingConfigurationInfo, location_name: "ScalingConfigurationInfo"))
|
780
792
|
DBCluster.struct_class = Types::DBCluster
|
781
793
|
|
782
794
|
DBClusterBacktrack.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
@@ -793,6 +805,13 @@ module Aws::RDS
|
|
793
805
|
DBClusterBacktrackMessage.add_member(:db_cluster_backtracks, Shapes::ShapeRef.new(shape: DBClusterBacktrackList, location_name: "DBClusterBacktracks"))
|
794
806
|
DBClusterBacktrackMessage.struct_class = Types::DBClusterBacktrackMessage
|
795
807
|
|
808
|
+
DBClusterCapacityInfo.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
809
|
+
DBClusterCapacityInfo.add_member(:pending_capacity, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PendingCapacity"))
|
810
|
+
DBClusterCapacityInfo.add_member(:current_capacity, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "CurrentCapacity"))
|
811
|
+
DBClusterCapacityInfo.add_member(:seconds_before_timeout, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "SecondsBeforeTimeout"))
|
812
|
+
DBClusterCapacityInfo.add_member(:timeout_action, Shapes::ShapeRef.new(shape: String, location_name: "TimeoutAction"))
|
813
|
+
DBClusterCapacityInfo.struct_class = Types::DBClusterCapacityInfo
|
814
|
+
|
796
815
|
DBClusterList.member = Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster")
|
797
816
|
|
798
817
|
DBClusterMember.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceIdentifier"))
|
@@ -834,6 +853,7 @@ module Aws::RDS
|
|
834
853
|
|
835
854
|
DBClusterRole.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "RoleArn"))
|
836
855
|
DBClusterRole.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
856
|
+
DBClusterRole.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
|
837
857
|
DBClusterRole.struct_class = Types::DBClusterRole
|
838
858
|
|
839
859
|
DBClusterRoles.member = Shapes::ShapeRef.new(shape: DBClusterRole, location_name: "DBClusterRole")
|
@@ -888,6 +908,7 @@ module Aws::RDS
|
|
888
908
|
DBEngineVersion.add_member(:exportable_log_types, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "ExportableLogTypes"))
|
889
909
|
DBEngineVersion.add_member(:supports_log_exports_to_cloudwatch_logs, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsLogExportsToCloudwatchLogs"))
|
890
910
|
DBEngineVersion.add_member(:supports_read_replica, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsReadReplica"))
|
911
|
+
DBEngineVersion.add_member(:supported_engine_modes, Shapes::ShapeRef.new(shape: EngineModeList, location_name: "SupportedEngineModes"))
|
891
912
|
DBEngineVersion.struct_class = Types::DBEngineVersion
|
892
913
|
|
893
914
|
DBEngineVersionList.member = Shapes::ShapeRef.new(shape: DBEngineVersion, location_name: "DBEngineVersion")
|
@@ -1398,6 +1419,8 @@ module Aws::RDS
|
|
1398
1419
|
EngineDefaults.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersList, location_name: "Parameters"))
|
1399
1420
|
EngineDefaults.struct_class = Types::EngineDefaults
|
1400
1421
|
|
1422
|
+
EngineModeList.member = Shapes::ShapeRef.new(shape: String)
|
1423
|
+
|
1401
1424
|
Event.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceIdentifier"))
|
1402
1425
|
Event.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, location_name: "SourceType"))
|
1403
1426
|
Event.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
@@ -1470,6 +1493,12 @@ module Aws::RDS
|
|
1470
1493
|
|
1471
1494
|
LogTypeList.member = Shapes::ShapeRef.new(shape: String)
|
1472
1495
|
|
1496
|
+
ModifyCurrentDBClusterCapacityMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
1497
|
+
ModifyCurrentDBClusterCapacityMessage.add_member(:capacity, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Capacity"))
|
1498
|
+
ModifyCurrentDBClusterCapacityMessage.add_member(:seconds_before_timeout, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "SecondsBeforeTimeout"))
|
1499
|
+
ModifyCurrentDBClusterCapacityMessage.add_member(:timeout_action, Shapes::ShapeRef.new(shape: String, location_name: "TimeoutAction"))
|
1500
|
+
ModifyCurrentDBClusterCapacityMessage.struct_class = Types::ModifyCurrentDBClusterCapacityMessage
|
1501
|
+
|
1473
1502
|
ModifyDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
1474
1503
|
ModifyDBClusterMessage.add_member(:new_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "NewDBClusterIdentifier"))
|
1475
1504
|
ModifyDBClusterMessage.add_member(:apply_immediately, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApplyImmediately"))
|
@@ -1485,6 +1514,7 @@ module Aws::RDS
|
|
1485
1514
|
ModifyDBClusterMessage.add_member(:backtrack_window, Shapes::ShapeRef.new(shape: LongOptional, location_name: "BacktrackWindow"))
|
1486
1515
|
ModifyDBClusterMessage.add_member(:cloudwatch_logs_export_configuration, Shapes::ShapeRef.new(shape: CloudwatchLogsExportConfiguration, location_name: "CloudwatchLogsExportConfiguration"))
|
1487
1516
|
ModifyDBClusterMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
1517
|
+
ModifyDBClusterMessage.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfiguration, location_name: "ScalingConfiguration"))
|
1488
1518
|
ModifyDBClusterMessage.struct_class = Types::ModifyDBClusterMessage
|
1489
1519
|
|
1490
1520
|
ModifyDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
|
@@ -1722,6 +1752,7 @@ module Aws::RDS
|
|
1722
1752
|
OrderableDBInstanceOption.add_member(:min_iops_per_gib, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinIopsPerGib"))
|
1723
1753
|
OrderableDBInstanceOption.add_member(:max_iops_per_gib, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxIopsPerGib"))
|
1724
1754
|
OrderableDBInstanceOption.add_member(:available_processor_features, Shapes::ShapeRef.new(shape: AvailableProcessorFeatureList, location_name: "AvailableProcessorFeatures"))
|
1755
|
+
OrderableDBInstanceOption.add_member(:supported_engine_modes, Shapes::ShapeRef.new(shape: EngineModeList, location_name: "SupportedEngineModes"))
|
1725
1756
|
OrderableDBInstanceOption.struct_class = Types::OrderableDBInstanceOption
|
1726
1757
|
|
1727
1758
|
OrderableDBInstanceOptionsList.member = Shapes::ShapeRef.new(shape: OrderableDBInstanceOption, location_name: "OrderableDBInstanceOption")
|
@@ -1740,6 +1771,7 @@ module Aws::RDS
|
|
1740
1771
|
Parameter.add_member(:is_modifiable, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsModifiable"))
|
1741
1772
|
Parameter.add_member(:minimum_engine_version, Shapes::ShapeRef.new(shape: String, location_name: "MinimumEngineVersion"))
|
1742
1773
|
Parameter.add_member(:apply_method, Shapes::ShapeRef.new(shape: ApplyMethod, location_name: "ApplyMethod"))
|
1774
|
+
Parameter.add_member(:supported_engine_modes, Shapes::ShapeRef.new(shape: EngineModeList, location_name: "SupportedEngineModes"))
|
1743
1775
|
Parameter.struct_class = Types::Parameter
|
1744
1776
|
|
1745
1777
|
ParametersList.member = Shapes::ShapeRef.new(shape: Parameter, location_name: "Parameter")
|
@@ -1953,6 +1985,8 @@ module Aws::RDS
|
|
1953
1985
|
RestoreDBClusterFromSnapshotMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
1954
1986
|
RestoreDBClusterFromSnapshotMessage.add_member(:backtrack_window, Shapes::ShapeRef.new(shape: LongOptional, location_name: "BacktrackWindow"))
|
1955
1987
|
RestoreDBClusterFromSnapshotMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
1988
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
1989
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfiguration, location_name: "ScalingConfiguration"))
|
1956
1990
|
RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
|
1957
1991
|
|
1958
1992
|
RestoreDBClusterFromSnapshotResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
@@ -2096,6 +2130,18 @@ module Aws::RDS
|
|
2096
2130
|
RevokeDBSecurityGroupIngressResult.add_member(:db_security_group, Shapes::ShapeRef.new(shape: DBSecurityGroup, location_name: "DBSecurityGroup"))
|
2097
2131
|
RevokeDBSecurityGroupIngressResult.struct_class = Types::RevokeDBSecurityGroupIngressResult
|
2098
2132
|
|
2133
|
+
ScalingConfiguration.add_member(:min_capacity, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MinCapacity"))
|
2134
|
+
ScalingConfiguration.add_member(:max_capacity, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxCapacity"))
|
2135
|
+
ScalingConfiguration.add_member(:auto_pause, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AutoPause"))
|
2136
|
+
ScalingConfiguration.add_member(:seconds_until_auto_pause, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "SecondsUntilAutoPause"))
|
2137
|
+
ScalingConfiguration.struct_class = Types::ScalingConfiguration
|
2138
|
+
|
2139
|
+
ScalingConfigurationInfo.add_member(:min_capacity, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MinCapacity"))
|
2140
|
+
ScalingConfigurationInfo.add_member(:max_capacity, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxCapacity"))
|
2141
|
+
ScalingConfigurationInfo.add_member(:auto_pause, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AutoPause"))
|
2142
|
+
ScalingConfigurationInfo.add_member(:seconds_until_auto_pause, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "SecondsUntilAutoPause"))
|
2143
|
+
ScalingConfigurationInfo.struct_class = Types::ScalingConfigurationInfo
|
2144
|
+
|
2099
2145
|
SourceIdsList.member = Shapes::ShapeRef.new(shape: String, location_name: "SourceId")
|
2100
2146
|
|
2101
2147
|
SourceRegion.add_member(:region_name, Shapes::ShapeRef.new(shape: String, location_name: "RegionName"))
|
@@ -2384,6 +2430,7 @@ module Aws::RDS
|
|
2384
2430
|
o.errors << Shapes::ShapeRef.new(shape: AuthorizationNotFoundFault)
|
2385
2431
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
2386
2432
|
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
2433
|
+
o.errors << Shapes::ShapeRef.new(shape: BackupPolicyNotFoundFault)
|
2387
2434
|
end)
|
2388
2435
|
|
2389
2436
|
api.add_operation(:create_db_instance_read_replica, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2988,6 +3035,17 @@ module Aws::RDS
|
|
2988
3035
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
2989
3036
|
end)
|
2990
3037
|
|
3038
|
+
api.add_operation(:modify_current_db_cluster_capacity, Seahorse::Model::Operation.new.tap do |o|
|
3039
|
+
o.name = "ModifyCurrentDBClusterCapacity"
|
3040
|
+
o.http_method = "POST"
|
3041
|
+
o.http_request_uri = "/"
|
3042
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyCurrentDBClusterCapacityMessage)
|
3043
|
+
o.output = Shapes::ShapeRef.new(shape: DBClusterCapacityInfo)
|
3044
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
3045
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
3046
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterCapacityFault)
|
3047
|
+
end)
|
3048
|
+
|
2991
3049
|
api.add_operation(:modify_db_cluster, Seahorse::Model::Operation.new.tap do |o|
|
2992
3050
|
o.name = "ModifyDBCluster"
|
2993
3051
|
o.http_method = "POST"
|
@@ -3050,6 +3108,7 @@ module Aws::RDS
|
|
3050
3108
|
o.errors << Shapes::ShapeRef.new(shape: AuthorizationNotFoundFault)
|
3051
3109
|
o.errors << Shapes::ShapeRef.new(shape: CertificateNotFoundFault)
|
3052
3110
|
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
3111
|
+
o.errors << Shapes::ShapeRef.new(shape: BackupPolicyNotFoundFault)
|
3053
3112
|
end)
|
3054
3113
|
|
3055
3114
|
api.add_operation(:modify_db_parameter_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3309,6 +3368,7 @@ module Aws::RDS
|
|
3309
3368
|
o.errors << Shapes::ShapeRef.new(shape: DBSecurityGroupNotFoundFault)
|
3310
3369
|
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
3311
3370
|
o.errors << Shapes::ShapeRef.new(shape: DBParameterGroupNotFoundFault)
|
3371
|
+
o.errors << Shapes::ShapeRef.new(shape: BackupPolicyNotFoundFault)
|
3312
3372
|
end)
|
3313
3373
|
|
3314
3374
|
api.add_operation(:restore_db_instance_from_s3, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3333,6 +3393,7 @@ module Aws::RDS
|
|
3333
3393
|
o.errors << Shapes::ShapeRef.new(shape: StorageTypeNotSupportedFault)
|
3334
3394
|
o.errors << Shapes::ShapeRef.new(shape: AuthorizationNotFoundFault)
|
3335
3395
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
3396
|
+
o.errors << Shapes::ShapeRef.new(shape: BackupPolicyNotFoundFault)
|
3336
3397
|
end)
|
3337
3398
|
|
3338
3399
|
api.add_operation(:restore_db_instance_to_point_in_time, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3361,6 +3422,7 @@ module Aws::RDS
|
|
3361
3422
|
o.errors << Shapes::ShapeRef.new(shape: DBSecurityGroupNotFoundFault)
|
3362
3423
|
o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
|
3363
3424
|
o.errors << Shapes::ShapeRef.new(shape: DBParameterGroupNotFoundFault)
|
3425
|
+
o.errors << Shapes::ShapeRef.new(shape: BackupPolicyNotFoundFault)
|
3364
3426
|
end)
|
3365
3427
|
|
3366
3428
|
api.add_operation(:revoke_db_security_group_ingress, Seahorse::Model::Operation.new.tap do |o|
|
@@ -297,11 +297,45 @@ module Aws::RDS
|
|
297
297
|
|
298
298
|
# A list of log types that this DB cluster is configured to export to
|
299
299
|
# CloudWatch Logs.
|
300
|
+
#
|
301
|
+
# Log types vary by DB engine. For information about the log types for
|
302
|
+
# each DB engine, see [Amazon RDS Database Log Files][1] in the *Amazon
|
303
|
+
# RDS User Guide.*
|
304
|
+
#
|
305
|
+
#
|
306
|
+
#
|
307
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html
|
300
308
|
# @return [Array<String>]
|
301
309
|
def enabled_cloudwatch_logs_exports
|
302
310
|
data[:enabled_cloudwatch_logs_exports]
|
303
311
|
end
|
304
312
|
|
313
|
+
# @return [Integer]
|
314
|
+
def capacity
|
315
|
+
data[:capacity]
|
316
|
+
end
|
317
|
+
|
318
|
+
# The DB engine mode of the DB cluster, either `provisioned` or
|
319
|
+
# `serverless`.
|
320
|
+
# @return [String]
|
321
|
+
def engine_mode
|
322
|
+
data[:engine_mode]
|
323
|
+
end
|
324
|
+
|
325
|
+
# Shows the scaling configuration for an Aurora DB cluster in
|
326
|
+
# `serverless` DB engine mode.
|
327
|
+
#
|
328
|
+
# For more information, see [Using Amazon Aurora Serverless][1] in the
|
329
|
+
# *Amazon RDS User Guide*.
|
330
|
+
#
|
331
|
+
#
|
332
|
+
#
|
333
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/aurora-serverless.html
|
334
|
+
# @return [Types::ScalingConfigurationInfo]
|
335
|
+
def scaling_configuration_info
|
336
|
+
data[:scaling_configuration_info]
|
337
|
+
end
|
338
|
+
|
305
339
|
# @!endgroup
|
306
340
|
|
307
341
|
# @return [Client]
|
@@ -465,6 +499,13 @@ module Aws::RDS
|
|
465
499
|
# enable_iam_database_authentication: false,
|
466
500
|
# backtrack_window: 1,
|
467
501
|
# enable_cloudwatch_logs_exports: ["String"],
|
502
|
+
# engine_mode: "String",
|
503
|
+
# scaling_configuration: {
|
504
|
+
# min_capacity: 1,
|
505
|
+
# max_capacity: 1,
|
506
|
+
# auto_pause: false,
|
507
|
+
# seconds_until_auto_pause: 1,
|
508
|
+
# },
|
468
509
|
# source_region: "String",
|
469
510
|
# })
|
470
511
|
# @param [Hash] options ({})
|
@@ -695,7 +736,20 @@ module Aws::RDS
|
|
695
736
|
# ^
|
696
737
|
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
697
738
|
# The list of log types that need to be enabled for exporting to
|
698
|
-
# CloudWatch Logs.
|
739
|
+
# CloudWatch Logs. The values in the list depend on the DB engine being
|
740
|
+
# used. For more information, see [Publishing Database Logs to Amazon
|
741
|
+
# CloudWatch Logs ][1] in the *Amazon Relational Database Service User
|
742
|
+
# Guide*.
|
743
|
+
#
|
744
|
+
#
|
745
|
+
#
|
746
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
747
|
+
# @option options [String] :engine_mode
|
748
|
+
# The DB engine mode of the DB cluster, either `provisioned` or
|
749
|
+
# `serverless`.
|
750
|
+
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
751
|
+
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
752
|
+
# of the DB cluster.
|
699
753
|
# @option options [String] :destination_region
|
700
754
|
# @option options [String] :source_region
|
701
755
|
# The source region of the snapshot. This is only needed when the
|
@@ -838,6 +892,12 @@ module Aws::RDS
|
|
838
892
|
# disable_log_types: ["String"],
|
839
893
|
# },
|
840
894
|
# engine_version: "String",
|
895
|
+
# scaling_configuration: {
|
896
|
+
# min_capacity: 1,
|
897
|
+
# max_capacity: 1,
|
898
|
+
# auto_pause: false,
|
899
|
+
# seconds_until_auto_pause: 1,
|
900
|
+
# },
|
841
901
|
# })
|
842
902
|
# @param [Hash] options ({})
|
843
903
|
# @option options [String] :new_db_cluster_identifier
|
@@ -977,6 +1037,9 @@ module Aws::RDS
|
|
977
1037
|
#
|
978
1038
|
# For a list of valid engine versions, see CreateDBCluster, or call
|
979
1039
|
# DescribeDBEngineVersions.
|
1040
|
+
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
1041
|
+
# The scaling properties of the DB cluster. You can only modify scaling
|
1042
|
+
# properties for DB clusters in `serverless` DB engine mode.
|
980
1043
|
# @return [DBCluster]
|
981
1044
|
def modify(options = {})
|
982
1045
|
options = options.merge(db_cluster_identifier: @id)
|
@@ -1132,7 +1195,14 @@ module Aws::RDS
|
|
1132
1195
|
# ^
|
1133
1196
|
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
1134
1197
|
# The list of logs that the restored DB cluster is to export to
|
1135
|
-
# CloudWatch Logs.
|
1198
|
+
# CloudWatch Logs. The values in the list depend on the DB engine being
|
1199
|
+
# used. For more information, see [Publishing Database Logs to Amazon
|
1200
|
+
# CloudWatch Logs ][1] in the *Amazon Relational Database Service User
|
1201
|
+
# Guide*.
|
1202
|
+
#
|
1203
|
+
#
|
1204
|
+
#
|
1205
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
1136
1206
|
# @return [DBCluster]
|
1137
1207
|
def restore(options = {})
|
1138
1208
|
options = options.merge(source_db_cluster_identifier: @id)
|
@@ -256,6 +256,7 @@ module Aws::RDS
|
|
256
256
|
# is_modifiable: false,
|
257
257
|
# minimum_engine_version: "String",
|
258
258
|
# apply_method: "immediate", # accepts immediate, pending-reboot
|
259
|
+
# supported_engine_modes: ["String"],
|
259
260
|
# },
|
260
261
|
# ],
|
261
262
|
# })
|
@@ -288,6 +289,7 @@ module Aws::RDS
|
|
288
289
|
# is_modifiable: false,
|
289
290
|
# minimum_engine_version: "String",
|
290
291
|
# apply_method: "immediate", # accepts immediate, pending-reboot
|
292
|
+
# supported_engine_modes: ["String"],
|
291
293
|
# },
|
292
294
|
# ],
|
293
295
|
# })
|
@@ -473,6 +473,13 @@ module Aws::RDS
|
|
473
473
|
# enable_iam_database_authentication: false,
|
474
474
|
# backtrack_window: 1,
|
475
475
|
# enable_cloudwatch_logs_exports: ["String"],
|
476
|
+
# engine_mode: "String",
|
477
|
+
# scaling_configuration: {
|
478
|
+
# min_capacity: 1,
|
479
|
+
# max_capacity: 1,
|
480
|
+
# auto_pause: false,
|
481
|
+
# seconds_until_auto_pause: 1,
|
482
|
+
# },
|
476
483
|
# })
|
477
484
|
# @param [Hash] options ({})
|
478
485
|
# @option options [Array<String>] :availability_zones
|
@@ -558,7 +565,20 @@ module Aws::RDS
|
|
558
565
|
# ^
|
559
566
|
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
560
567
|
# The list of logs that the restored DB cluster is to export to
|
561
|
-
# CloudWatch Logs.
|
568
|
+
# CloudWatch Logs. The values in the list depend on the DB engine being
|
569
|
+
# used. For more information, see [Publishing Database Logs to Amazon
|
570
|
+
# CloudWatch Logs ][1] in the *Amazon Relational Database Service User
|
571
|
+
# Guide*.
|
572
|
+
#
|
573
|
+
#
|
574
|
+
#
|
575
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
576
|
+
# @option options [String] :engine_mode
|
577
|
+
# The DB engine mode of the DB cluster, either `provisioned` or
|
578
|
+
# `serverless`.
|
579
|
+
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
580
|
+
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
581
|
+
# of the DB cluster.
|
562
582
|
# @return [DBCluster]
|
563
583
|
def restore(options = {})
|
564
584
|
options = options.merge(snapshot_identifier: @snapshot_id)
|
@@ -107,6 +107,12 @@ module Aws::RDS
|
|
107
107
|
data[:supports_read_replica]
|
108
108
|
end
|
109
109
|
|
110
|
+
# A list of the supported DB engine modes.
|
111
|
+
# @return [Array<String>]
|
112
|
+
def supported_engine_modes
|
113
|
+
data[:supported_engine_modes]
|
114
|
+
end
|
115
|
+
|
110
116
|
# @!endgroup
|
111
117
|
|
112
118
|
# @return [Client]
|
@@ -246,20 +246,6 @@ module Aws::RDS
|
|
246
246
|
# DNS name, which resolves to a public IP address. A value of false
|
247
247
|
# specifies an internal instance with a DNS name that resolves to a
|
248
248
|
# private IP address.
|
249
|
-
#
|
250
|
-
# Default: The default behavior varies depending on whether a VPC has
|
251
|
-
# been requested or not. The following list shows the default behavior
|
252
|
-
# in each case.
|
253
|
-
#
|
254
|
-
# * **Default VPC:**true
|
255
|
-
#
|
256
|
-
# * **VPC:**false
|
257
|
-
#
|
258
|
-
# If no DB subnet group has been specified as part of the request and
|
259
|
-
# the PubliclyAccessible value has not been set, the DB instance is
|
260
|
-
# publicly accessible. If a specific DB subnet group has been specified
|
261
|
-
# as part of the request and the PubliclyAccessible value has not been
|
262
|
-
# set, the DB instance is private.
|
263
249
|
# @return [Boolean]
|
264
250
|
def publicly_accessible
|
265
251
|
data[:publicly_accessible]
|
@@ -431,6 +417,14 @@ module Aws::RDS
|
|
431
417
|
|
432
418
|
# A list of log types that this DB instance is configured to export to
|
433
419
|
# CloudWatch Logs.
|
420
|
+
#
|
421
|
+
# Log types vary by DB engine. For information about the log types for
|
422
|
+
# each DB engine, see [Amazon RDS Database Log Files][1] in the *Amazon
|
423
|
+
# RDS User Guide.*
|
424
|
+
#
|
425
|
+
#
|
426
|
+
#
|
427
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html
|
434
428
|
# @return [Array<String>]
|
435
429
|
def enabled_cloudwatch_logs_exports
|
436
430
|
data[:enabled_cloudwatch_logs_exports]
|
@@ -1186,19 +1180,26 @@ module Aws::RDS
|
|
1186
1180
|
# specifies an internal instance with a DNS name that resolves to a
|
1187
1181
|
# private IP address.
|
1188
1182
|
#
|
1189
|
-
# Default: The default behavior varies depending on whether
|
1190
|
-
#
|
1191
|
-
# in each case.
|
1183
|
+
# Default: The default behavior varies depending on whether
|
1184
|
+
# `DBSubnetGroupName` is specified.
|
1192
1185
|
#
|
1193
|
-
#
|
1186
|
+
# If `DBSubnetGroupName` is not specified, and `PubliclyAccessible` is
|
1187
|
+
# not specified, the following applies:
|
1194
1188
|
#
|
1195
|
-
# *
|
1189
|
+
# * If the default VPC in the target region doesn’t have an Internet
|
1190
|
+
# gateway attached to it, the DB instance is private.
|
1196
1191
|
#
|
1197
|
-
# If
|
1198
|
-
#
|
1199
|
-
#
|
1200
|
-
#
|
1201
|
-
#
|
1192
|
+
# * If the default VPC in the target region has an Internet gateway
|
1193
|
+
# attached to it, the DB instance is public.
|
1194
|
+
#
|
1195
|
+
# If `DBSubnetGroupName` is specified, and `PubliclyAccessible` is not
|
1196
|
+
# specified, the following applies:
|
1197
|
+
#
|
1198
|
+
# * If the subnets are part of a VPC that doesn’t have an Internet
|
1199
|
+
# gateway attached to it, the DB instance is private.
|
1200
|
+
#
|
1201
|
+
# * If the subnets are part of a VPC that has an Internet gateway
|
1202
|
+
# attached to it, the DB instance is public.
|
1202
1203
|
# @option options [Array<Types::Tag>] :tags
|
1203
1204
|
# A list of tags. For more information, see [Tagging Amazon RDS
|
1204
1205
|
# Resources][1].
|
@@ -1344,7 +1345,14 @@ module Aws::RDS
|
|
1344
1345
|
# Valid values are 7 or 731 (2 years).
|
1345
1346
|
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
1346
1347
|
# The list of log types that need to be enabled for exporting to
|
1347
|
-
# CloudWatch Logs.
|
1348
|
+
# CloudWatch Logs. The values in the list depend on the DB engine being
|
1349
|
+
# used. For more information, see [Publishing Database Logs to Amazon
|
1350
|
+
# CloudWatch Logs ][1] in the *Amazon Relational Database Service User
|
1351
|
+
# Guide*.
|
1352
|
+
#
|
1353
|
+
#
|
1354
|
+
#
|
1355
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
1348
1356
|
# @option options [Array<Types::ProcessorFeature>] :processor_features
|
1349
1357
|
# The number of CPU cores and the number of threads per core for the DB
|
1350
1358
|
# instance class of the DB instance.
|
@@ -1452,21 +1460,7 @@ module Aws::RDS
|
|
1452
1460
|
# true specifies an Internet-facing instance with a publicly resolvable
|
1453
1461
|
# DNS name, which resolves to a public IP address. A value of false
|
1454
1462
|
# specifies an internal instance with a DNS name that resolves to a
|
1455
|
-
# private IP address.
|
1456
|
-
#
|
1457
|
-
# Default: The default behavior varies depending on whether a VPC has
|
1458
|
-
# been requested or not. The following list shows the default behavior
|
1459
|
-
# in each case.
|
1460
|
-
#
|
1461
|
-
# * **Default VPC:**true
|
1462
|
-
#
|
1463
|
-
# * **VPC:**false
|
1464
|
-
#
|
1465
|
-
# If no DB subnet group has been specified as part of the request and
|
1466
|
-
# the PubliclyAccessible value has not been set, the DB instance is
|
1467
|
-
# publicly accessible. If a specific DB subnet group has been specified
|
1468
|
-
# as part of the request and the PubliclyAccessible value has not been
|
1469
|
-
# set, the DB instance is private.
|
1463
|
+
# private IP address. For more information, see CreateDBInstance.
|
1470
1464
|
# @option options [Array<Types::Tag>] :tags
|
1471
1465
|
# A list of tags. For more information, see [Tagging Amazon RDS
|
1472
1466
|
# Resources][1].
|
@@ -1637,7 +1631,13 @@ module Aws::RDS
|
|
1637
1631
|
# Valid values are 7 or 731 (2 years).
|
1638
1632
|
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
1639
1633
|
# The list of logs that the new DB instance is to export to CloudWatch
|
1640
|
-
# Logs.
|
1634
|
+
# Logs. The values in the list depend on the DB engine being used. For
|
1635
|
+
# more information, see [Publishing Database Logs to Amazon CloudWatch
|
1636
|
+
# Logs ][1] in the *Amazon Relational Database Service User Guide*.
|
1637
|
+
#
|
1638
|
+
#
|
1639
|
+
#
|
1640
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
1641
1641
|
# @option options [Array<Types::ProcessorFeature>] :processor_features
|
1642
1642
|
# The number of CPU cores and the number of threads per core for the DB
|
1643
1643
|
# instance class of the DB instance.
|
@@ -2515,21 +2515,7 @@ module Aws::RDS
|
|
2515
2515
|
# true specifies an Internet-facing instance with a publicly resolvable
|
2516
2516
|
# DNS name, which resolves to a public IP address. A value of false
|
2517
2517
|
# specifies an internal instance with a DNS name that resolves to a
|
2518
|
-
# private IP address.
|
2519
|
-
#
|
2520
|
-
# Default: The default behavior varies depending on whether a VPC has
|
2521
|
-
# been requested or not. The following list shows the default behavior
|
2522
|
-
# in each case.
|
2523
|
-
#
|
2524
|
-
# * **Default VPC:**true
|
2525
|
-
#
|
2526
|
-
# * **VPC:**false
|
2527
|
-
#
|
2528
|
-
# If no DB subnet group has been specified as part of the request and
|
2529
|
-
# the PubliclyAccessible value has not been set, the DB instance is
|
2530
|
-
# publicly accessible. If a specific DB subnet group has been specified
|
2531
|
-
# as part of the request and the PubliclyAccessible value has not been
|
2532
|
-
# set, the DB instance is private.
|
2518
|
+
# private IP address. For more information, see CreateDBInstance.
|
2533
2519
|
# @option options [Boolean] :auto_minor_version_upgrade
|
2534
2520
|
# Indicates that minor version upgrades are applied automatically to the
|
2535
2521
|
# DB instance during the maintenance window.
|
@@ -2638,7 +2624,14 @@ module Aws::RDS
|
|
2638
2624
|
# Default: `false`
|
2639
2625
|
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
2640
2626
|
# The list of logs that the restored DB instance is to export to
|
2641
|
-
# CloudWatch Logs.
|
2627
|
+
# CloudWatch Logs. The values in the list depend on the DB engine being
|
2628
|
+
# used. For more information, see [Publishing Database Logs to Amazon
|
2629
|
+
# CloudWatch Logs ][1] in the *Amazon Relational Database Service User
|
2630
|
+
# Guide*.
|
2631
|
+
#
|
2632
|
+
#
|
2633
|
+
#
|
2634
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
2642
2635
|
# @option options [Array<Types::ProcessorFeature>] :processor_features
|
2643
2636
|
# The number of CPU cores and the number of threads per core for the DB
|
2644
2637
|
# instance class of the DB instance.
|