aws-sdk-rds 1.252.0 → 1.262.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 +50 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +320 -54
- data/lib/aws-sdk-rds/client_api.rb +39 -0
- data/lib/aws-sdk-rds/customizations/auth_token_generator.rb +16 -14
- data/lib/aws-sdk-rds/db_cluster.rb +104 -19
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +60 -4
- data/lib/aws-sdk-rds/db_engine.rb +0 -1
- data/lib/aws-sdk-rds/db_engine_version.rb +11 -0
- data/lib/aws-sdk-rds/db_instance.rb +18 -2
- data/lib/aws-sdk-rds/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-rds/endpoints.rb +2 -1780
- data/lib/aws-sdk-rds/errors.rb +11 -0
- data/lib/aws-sdk-rds/plugins/endpoints.rb +1 -330
- data/lib/aws-sdk-rds/resource.rb +21 -7
- data/lib/aws-sdk-rds/types.rb +401 -60
- data/lib/aws-sdk-rds.rb +1 -1
- data/sig/client.rbs +34 -6
- data/sig/db_cluster.rbs +16 -3
- data/sig/db_cluster_snapshot.rbs +7 -1
- data/sig/db_engine_version.rbs +3 -0
- data/sig/db_instance.rbs +6 -0
- data/sig/errors.rbs +2 -0
- data/sig/resource.rbs +4 -1
- data/sig/types.rbs +35 -0
- metadata +4 -4
@@ -197,6 +197,7 @@ module Aws::RDS
|
|
197
197
|
DBInstanceList = Shapes::ListShape.new(name: 'DBInstanceList')
|
198
198
|
DBInstanceMessage = Shapes::StructureShape.new(name: 'DBInstanceMessage')
|
199
199
|
DBInstanceNotFoundFault = Shapes::StructureShape.new(name: 'DBInstanceNotFoundFault', error: {"code"=>"DBInstanceNotFound", "httpStatusCode"=>404, "senderFault"=>true})
|
200
|
+
DBInstanceNotReadyFault = Shapes::StructureShape.new(name: 'DBInstanceNotReadyFault', error: {"code"=>"DBInstanceNotReady", "httpStatusCode"=>503})
|
200
201
|
DBInstanceRole = Shapes::StructureShape.new(name: 'DBInstanceRole')
|
201
202
|
DBInstanceRoleAlreadyExistsFault = Shapes::StructureShape.new(name: 'DBInstanceRoleAlreadyExistsFault', error: {"code"=>"DBInstanceRoleAlreadyExists", "httpStatusCode"=>400, "senderFault"=>true})
|
202
203
|
DBInstanceRoleNotFoundFault = Shapes::StructureShape.new(name: 'DBInstanceRoleNotFoundFault', error: {"code"=>"DBInstanceRoleNotFound", "httpStatusCode"=>404, "senderFault"=>true})
|
@@ -278,6 +279,7 @@ module Aws::RDS
|
|
278
279
|
DBUpgradeDependencyFailureFault = Shapes::StructureShape.new(name: 'DBUpgradeDependencyFailureFault', error: {"code"=>"DBUpgradeDependencyFailure", "httpStatusCode"=>400, "senderFault"=>true})
|
279
280
|
DataFilter = Shapes::StringShape.new(name: 'DataFilter')
|
280
281
|
DatabaseArn = Shapes::StringShape.new(name: 'DatabaseArn')
|
282
|
+
DatabaseInsightsMode = Shapes::StringShape.new(name: 'DatabaseInsightsMode')
|
281
283
|
DeleteBlueGreenDeploymentRequest = Shapes::StructureShape.new(name: 'DeleteBlueGreenDeploymentRequest')
|
282
284
|
DeleteBlueGreenDeploymentResponse = Shapes::StructureShape.new(name: 'DeleteBlueGreenDeploymentResponse')
|
283
285
|
DeleteCustomDBEngineVersionMessage = Shapes::StructureShape.new(name: 'DeleteCustomDBEngineVersionMessage')
|
@@ -667,6 +669,7 @@ module Aws::RDS
|
|
667
669
|
ScalingConfiguration = Shapes::StructureShape.new(name: 'ScalingConfiguration')
|
668
670
|
ScalingConfigurationInfo = Shapes::StructureShape.new(name: 'ScalingConfigurationInfo')
|
669
671
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
672
|
+
ServerlessV2FeaturesSupport = Shapes::StructureShape.new(name: 'ServerlessV2FeaturesSupport')
|
670
673
|
ServerlessV2ScalingConfiguration = Shapes::StructureShape.new(name: 'ServerlessV2ScalingConfiguration')
|
671
674
|
ServerlessV2ScalingConfigurationInfo = Shapes::StructureShape.new(name: 'ServerlessV2ScalingConfigurationInfo')
|
672
675
|
SharedSnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'SharedSnapshotQuotaExceededFault', error: {"code"=>"SharedSnapshotQuotaExceeded", "httpStatusCode"=>400, "senderFault"=>true})
|
@@ -736,6 +739,7 @@ module Aws::RDS
|
|
736
739
|
TargetList = Shapes::ListShape.new(name: 'TargetList')
|
737
740
|
TargetRole = Shapes::StringShape.new(name: 'TargetRole')
|
738
741
|
TargetState = Shapes::StringShape.new(name: 'TargetState')
|
742
|
+
TargetStorageType = Shapes::StringShape.new(name: 'TargetStorageType')
|
739
743
|
TargetType = Shapes::StringShape.new(name: 'TargetType')
|
740
744
|
TenantDatabase = Shapes::StructureShape.new(name: 'TenantDatabase')
|
741
745
|
TenantDatabaseAlreadyExistsFault = Shapes::StructureShape.new(name: 'TenantDatabaseAlreadyExistsFault', error: {"code"=>"TenantDatabaseAlreadyExists", "httpStatusCode"=>400, "senderFault"=>true})
|
@@ -997,6 +1001,10 @@ module Aws::RDS
|
|
997
1001
|
CreateBlueGreenDeploymentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
998
1002
|
CreateBlueGreenDeploymentRequest.add_member(:target_db_instance_class, Shapes::ShapeRef.new(shape: TargetDBInstanceClass, location_name: "TargetDBInstanceClass"))
|
999
1003
|
CreateBlueGreenDeploymentRequest.add_member(:upgrade_target_storage_config, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UpgradeTargetStorageConfig"))
|
1004
|
+
CreateBlueGreenDeploymentRequest.add_member(:target_iops, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "TargetIops"))
|
1005
|
+
CreateBlueGreenDeploymentRequest.add_member(:target_storage_type, Shapes::ShapeRef.new(shape: TargetStorageType, location_name: "TargetStorageType"))
|
1006
|
+
CreateBlueGreenDeploymentRequest.add_member(:target_allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "TargetAllocatedStorage"))
|
1007
|
+
CreateBlueGreenDeploymentRequest.add_member(:target_storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "TargetStorageThroughput"))
|
1000
1008
|
CreateBlueGreenDeploymentRequest.struct_class = Types::CreateBlueGreenDeploymentRequest
|
1001
1009
|
|
1002
1010
|
CreateBlueGreenDeploymentResponse.add_member(:blue_green_deployment, Shapes::ShapeRef.new(shape: BlueGreenDeployment, location_name: "BlueGreenDeployment"))
|
@@ -1067,6 +1075,7 @@ module Aws::RDS
|
|
1067
1075
|
CreateDBClusterMessage.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AutoMinorVersionUpgrade"))
|
1068
1076
|
CreateDBClusterMessage.add_member(:monitoring_interval, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MonitoringInterval"))
|
1069
1077
|
CreateDBClusterMessage.add_member(:monitoring_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "MonitoringRoleArn"))
|
1078
|
+
CreateDBClusterMessage.add_member(:database_insights_mode, Shapes::ShapeRef.new(shape: DatabaseInsightsMode, location_name: "DatabaseInsightsMode"))
|
1070
1079
|
CreateDBClusterMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
1071
1080
|
CreateDBClusterMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
1072
1081
|
CreateDBClusterMessage.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
@@ -1147,6 +1156,7 @@ module Aws::RDS
|
|
1147
1156
|
CreateDBInstanceMessage.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PromotionTier"))
|
1148
1157
|
CreateDBInstanceMessage.add_member(:timezone, Shapes::ShapeRef.new(shape: String, location_name: "Timezone"))
|
1149
1158
|
CreateDBInstanceMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
1159
|
+
CreateDBInstanceMessage.add_member(:database_insights_mode, Shapes::ShapeRef.new(shape: DatabaseInsightsMode, location_name: "DatabaseInsightsMode"))
|
1150
1160
|
CreateDBInstanceMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
1151
1161
|
CreateDBInstanceMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
1152
1162
|
CreateDBInstanceMessage.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
@@ -1189,6 +1199,7 @@ module Aws::RDS
|
|
1189
1199
|
CreateDBInstanceReadReplicaMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
1190
1200
|
CreateDBInstanceReadReplicaMessage.add_member(:pre_signed_url, Shapes::ShapeRef.new(shape: String, location_name: "PreSignedUrl"))
|
1191
1201
|
CreateDBInstanceReadReplicaMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
1202
|
+
CreateDBInstanceReadReplicaMessage.add_member(:database_insights_mode, Shapes::ShapeRef.new(shape: DatabaseInsightsMode, location_name: "DatabaseInsightsMode"))
|
1192
1203
|
CreateDBInstanceReadReplicaMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
1193
1204
|
CreateDBInstanceReadReplicaMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
1194
1205
|
CreateDBInstanceReadReplicaMessage.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
@@ -1427,6 +1438,7 @@ module Aws::RDS
|
|
1427
1438
|
DBCluster.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoMinorVersionUpgrade"))
|
1428
1439
|
DBCluster.add_member(:monitoring_interval, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MonitoringInterval"))
|
1429
1440
|
DBCluster.add_member(:monitoring_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "MonitoringRoleArn"))
|
1441
|
+
DBCluster.add_member(:database_insights_mode, Shapes::ShapeRef.new(shape: DatabaseInsightsMode, location_name: "DatabaseInsightsMode"))
|
1430
1442
|
DBCluster.add_member(:performance_insights_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PerformanceInsightsEnabled"))
|
1431
1443
|
DBCluster.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
1432
1444
|
DBCluster.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
@@ -1678,6 +1690,7 @@ module Aws::RDS
|
|
1678
1690
|
DBEngineVersion.add_member(:supported_ca_certificate_identifiers, Shapes::ShapeRef.new(shape: CACertificateIdentifiersList, location_name: "SupportedCACertificateIdentifiers"))
|
1679
1691
|
DBEngineVersion.add_member(:supports_local_write_forwarding, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsLocalWriteForwarding"))
|
1680
1692
|
DBEngineVersion.add_member(:supports_integrations, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsIntegrations"))
|
1693
|
+
DBEngineVersion.add_member(:serverless_v2_features_support, Shapes::ShapeRef.new(shape: ServerlessV2FeaturesSupport, location_name: "ServerlessV2FeaturesSupport"))
|
1681
1694
|
DBEngineVersion.struct_class = Types::DBEngineVersion
|
1682
1695
|
|
1683
1696
|
DBEngineVersionList.member = Shapes::ShapeRef.new(shape: DBEngineVersion, location_name: "DBEngineVersion")
|
@@ -1738,6 +1751,7 @@ module Aws::RDS
|
|
1738
1751
|
DBInstance.add_member(:db_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceArn"))
|
1739
1752
|
DBInstance.add_member(:timezone, Shapes::ShapeRef.new(shape: String, location_name: "Timezone"))
|
1740
1753
|
DBInstance.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
|
1754
|
+
DBInstance.add_member(:database_insights_mode, Shapes::ShapeRef.new(shape: DatabaseInsightsMode, location_name: "DatabaseInsightsMode"))
|
1741
1755
|
DBInstance.add_member(:performance_insights_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PerformanceInsightsEnabled"))
|
1742
1756
|
DBInstance.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
1743
1757
|
DBInstance.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
@@ -1832,6 +1846,8 @@ module Aws::RDS
|
|
1832
1846
|
|
1833
1847
|
DBInstanceNotFoundFault.struct_class = Types::DBInstanceNotFoundFault
|
1834
1848
|
|
1849
|
+
DBInstanceNotReadyFault.struct_class = Types::DBInstanceNotReadyFault
|
1850
|
+
|
1835
1851
|
DBInstanceRole.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "RoleArn"))
|
1836
1852
|
DBInstanceRole.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
|
1837
1853
|
DBInstanceRole.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
@@ -2831,6 +2847,7 @@ module Aws::RDS
|
|
2831
2847
|
GlobalCluster.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
|
2832
2848
|
GlobalCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
2833
2849
|
GlobalCluster.add_member(:global_cluster_members, Shapes::ShapeRef.new(shape: GlobalClusterMemberList, location_name: "GlobalClusterMembers"))
|
2850
|
+
GlobalCluster.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "Endpoint"))
|
2834
2851
|
GlobalCluster.add_member(:failover_state, Shapes::ShapeRef.new(shape: FailoverState, location_name: "FailoverState"))
|
2835
2852
|
GlobalCluster.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
2836
2853
|
GlobalCluster.struct_class = Types::GlobalCluster
|
@@ -3081,6 +3098,7 @@ module Aws::RDS
|
|
3081
3098
|
ModifyDBClusterMessage.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AutoMinorVersionUpgrade"))
|
3082
3099
|
ModifyDBClusterMessage.add_member(:monitoring_interval, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MonitoringInterval"))
|
3083
3100
|
ModifyDBClusterMessage.add_member(:monitoring_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "MonitoringRoleArn"))
|
3101
|
+
ModifyDBClusterMessage.add_member(:database_insights_mode, Shapes::ShapeRef.new(shape: DatabaseInsightsMode, location_name: "DatabaseInsightsMode"))
|
3084
3102
|
ModifyDBClusterMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
3085
3103
|
ModifyDBClusterMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
3086
3104
|
ModifyDBClusterMessage.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
@@ -3151,6 +3169,7 @@ module Aws::RDS
|
|
3151
3169
|
ModifyDBInstanceMessage.add_member(:disable_domain, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DisableDomain"))
|
3152
3170
|
ModifyDBInstanceMessage.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PromotionTier"))
|
3153
3171
|
ModifyDBInstanceMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
3172
|
+
ModifyDBInstanceMessage.add_member(:database_insights_mode, Shapes::ShapeRef.new(shape: DatabaseInsightsMode, location_name: "DatabaseInsightsMode"))
|
3154
3173
|
ModifyDBInstanceMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
3155
3174
|
ModifyDBInstanceMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
3156
3175
|
ModifyDBInstanceMessage.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
@@ -3811,6 +3830,11 @@ module Aws::RDS
|
|
3811
3830
|
RestoreDBClusterFromSnapshotMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
|
3812
3831
|
RestoreDBClusterFromSnapshotMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
3813
3832
|
RestoreDBClusterFromSnapshotMessage.add_member(:rds_custom_cluster_configuration, Shapes::ShapeRef.new(shape: RdsCustomClusterConfiguration, location_name: "RdsCustomClusterConfiguration"))
|
3833
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:monitoring_interval, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MonitoringInterval"))
|
3834
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:monitoring_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "MonitoringRoleArn"))
|
3835
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
3836
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
3837
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
3814
3838
|
RestoreDBClusterFromSnapshotMessage.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
3815
3839
|
RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
|
3816
3840
|
|
@@ -3846,6 +3870,11 @@ module Aws::RDS
|
|
3846
3870
|
RestoreDBClusterToPointInTimeMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
3847
3871
|
RestoreDBClusterToPointInTimeMessage.add_member(:source_db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "SourceDbClusterResourceId"))
|
3848
3872
|
RestoreDBClusterToPointInTimeMessage.add_member(:rds_custom_cluster_configuration, Shapes::ShapeRef.new(shape: RdsCustomClusterConfiguration, location_name: "RdsCustomClusterConfiguration"))
|
3873
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:monitoring_interval, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MonitoringInterval"))
|
3874
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:monitoring_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "MonitoringRoleArn"))
|
3875
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
3876
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
3877
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
3849
3878
|
RestoreDBClusterToPointInTimeMessage.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
3850
3879
|
RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
|
3851
3880
|
|
@@ -3935,6 +3964,7 @@ module Aws::RDS
|
|
3935
3964
|
RestoreDBInstanceFromS3Message.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketName"))
|
3936
3965
|
RestoreDBInstanceFromS3Message.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3Prefix"))
|
3937
3966
|
RestoreDBInstanceFromS3Message.add_member(:s3_ingestion_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3IngestionRoleArn"))
|
3967
|
+
RestoreDBInstanceFromS3Message.add_member(:database_insights_mode, Shapes::ShapeRef.new(shape: DatabaseInsightsMode, location_name: "DatabaseInsightsMode"))
|
3938
3968
|
RestoreDBInstanceFromS3Message.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
3939
3969
|
RestoreDBInstanceFromS3Message.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
3940
3970
|
RestoreDBInstanceFromS3Message.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
@@ -4045,12 +4075,18 @@ module Aws::RDS
|
|
4045
4075
|
ScalingConfigurationInfo.add_member(:seconds_before_timeout, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "SecondsBeforeTimeout"))
|
4046
4076
|
ScalingConfigurationInfo.struct_class = Types::ScalingConfigurationInfo
|
4047
4077
|
|
4078
|
+
ServerlessV2FeaturesSupport.add_member(:min_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinCapacity"))
|
4079
|
+
ServerlessV2FeaturesSupport.add_member(:max_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxCapacity"))
|
4080
|
+
ServerlessV2FeaturesSupport.struct_class = Types::ServerlessV2FeaturesSupport
|
4081
|
+
|
4048
4082
|
ServerlessV2ScalingConfiguration.add_member(:min_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinCapacity"))
|
4049
4083
|
ServerlessV2ScalingConfiguration.add_member(:max_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxCapacity"))
|
4084
|
+
ServerlessV2ScalingConfiguration.add_member(:seconds_until_auto_pause, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "SecondsUntilAutoPause"))
|
4050
4085
|
ServerlessV2ScalingConfiguration.struct_class = Types::ServerlessV2ScalingConfiguration
|
4051
4086
|
|
4052
4087
|
ServerlessV2ScalingConfigurationInfo.add_member(:min_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinCapacity"))
|
4053
4088
|
ServerlessV2ScalingConfigurationInfo.add_member(:max_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxCapacity"))
|
4089
|
+
ServerlessV2ScalingConfigurationInfo.add_member(:seconds_until_auto_pause, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "SecondsUntilAutoPause"))
|
4054
4090
|
ServerlessV2ScalingConfigurationInfo.struct_class = Types::ServerlessV2ScalingConfigurationInfo
|
4055
4091
|
|
4056
4092
|
SharedSnapshotQuotaExceededFault.struct_class = Types::SharedSnapshotQuotaExceededFault
|
@@ -5244,6 +5280,7 @@ module Aws::RDS
|
|
5244
5280
|
o.input = Shapes::ShapeRef.new(shape: DescribeDBLogFilesMessage)
|
5245
5281
|
o.output = Shapes::ShapeRef.new(shape: DescribeDBLogFilesResponse)
|
5246
5282
|
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
5283
|
+
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotReadyFault)
|
5247
5284
|
o[:pager] = Aws::Pager.new(
|
5248
5285
|
limit_key: "max_records",
|
5249
5286
|
tokens: {
|
@@ -5689,6 +5726,7 @@ module Aws::RDS
|
|
5689
5726
|
o.input = Shapes::ShapeRef.new(shape: DownloadDBLogFilePortionMessage)
|
5690
5727
|
o.output = Shapes::ShapeRef.new(shape: DownloadDBLogFilePortionDetails)
|
5691
5728
|
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
5729
|
+
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotReadyFault)
|
5692
5730
|
o.errors << Shapes::ShapeRef.new(shape: DBLogFileNotFoundFault)
|
5693
5731
|
o[:pager] = Aws::Pager.new(
|
5694
5732
|
more_results: "additional_data_pending",
|
@@ -5993,6 +6031,7 @@ module Aws::RDS
|
|
5993
6031
|
o.input = Shapes::ShapeRef.new(shape: ModifyGlobalClusterMessage)
|
5994
6032
|
o.output = Shapes::ShapeRef.new(shape: ModifyGlobalClusterResult)
|
5995
6033
|
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
6034
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterAlreadyExistsFault)
|
5996
6035
|
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
5997
6036
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
5998
6037
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
@@ -10,7 +10,7 @@ module Aws
|
|
10
10
|
#
|
11
11
|
# @see https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
|
12
12
|
class AuthTokenGenerator
|
13
|
-
# @option options [
|
13
|
+
# @option options [Credentials] :credentials An object that
|
14
14
|
# responds to `#credentials` returning another object that responds to
|
15
15
|
# `#access_key_id`, `#secret_access_key`, and `#session_token`.
|
16
16
|
def initialize(options = {})
|
@@ -19,19 +19,20 @@ module Aws
|
|
19
19
|
|
20
20
|
# Creates an auth login token.
|
21
21
|
#
|
22
|
-
# @param [Hash]
|
23
|
-
# @option
|
24
|
-
#
|
25
|
-
# @option
|
26
|
-
#
|
27
|
-
#
|
28
|
-
# @option
|
29
|
-
#
|
22
|
+
# @param [Hash] options The options for auth token creation.
|
23
|
+
# @option options [String] :region The region where the database
|
24
|
+
# is located.
|
25
|
+
# @option options [String] :endpoint The hostname of the database
|
26
|
+
# with a port number.
|
27
|
+
# For example: my-instance.us-west-2.rds.amazonaws.com:3306
|
28
|
+
# @option options [String] :user_name The username to login as.
|
29
|
+
# @option options [Integer] :expires_in (900) The number of seconds the
|
30
|
+
# token is valid for.
|
30
31
|
# @return [String]
|
31
|
-
def
|
32
|
-
region =
|
33
|
-
endpoint =
|
34
|
-
user_name =
|
32
|
+
def generate_auth_token(options)
|
33
|
+
region = options.fetch(:region)
|
34
|
+
endpoint = options.fetch(:endpoint)
|
35
|
+
user_name = options.fetch(:user_name)
|
35
36
|
|
36
37
|
param_list = Aws::Query::ParamList.new
|
37
38
|
param_list.set('Action', 'connect')
|
@@ -47,11 +48,12 @@ module Aws
|
|
47
48
|
http_method: 'GET',
|
48
49
|
url: "https://#{endpoint}/?#{param_list}",
|
49
50
|
body: '',
|
50
|
-
expires_in:
|
51
|
+
expires_in: options[:expires_in]
|
51
52
|
).to_s
|
52
53
|
# Remove extra scheme for token
|
53
54
|
presigned_url[8..-1]
|
54
55
|
end
|
56
|
+
alias_method :auth_token, :generate_auth_token
|
55
57
|
end
|
56
58
|
end
|
57
59
|
end
|
@@ -565,6 +565,12 @@ module Aws::RDS
|
|
565
565
|
data[:monitoring_role_arn]
|
566
566
|
end
|
567
567
|
|
568
|
+
# The mode of Database Insights that is enabled for the cluster.
|
569
|
+
# @return [String]
|
570
|
+
def database_insights_mode
|
571
|
+
data[:database_insights_mode]
|
572
|
+
end
|
573
|
+
|
568
574
|
# Indicates whether Performance Insights is enabled for the DB cluster.
|
569
575
|
#
|
570
576
|
# This setting is only for non-Aurora Multi-AZ DB clusters.
|
@@ -932,6 +938,7 @@ module Aws::RDS
|
|
932
938
|
# auto_minor_version_upgrade: false,
|
933
939
|
# monitoring_interval: 1,
|
934
940
|
# monitoring_role_arn: "String",
|
941
|
+
# database_insights_mode: "standard", # accepts standard, advanced
|
935
942
|
# enable_performance_insights: false,
|
936
943
|
# performance_insights_kms_key_id: "String",
|
937
944
|
# performance_insights_retention_period: 1,
|
@@ -939,6 +946,7 @@ module Aws::RDS
|
|
939
946
|
# serverless_v2_scaling_configuration: {
|
940
947
|
# min_capacity: 1.0,
|
941
948
|
# max_capacity: 1.0,
|
949
|
+
# seconds_until_auto_pause: 1,
|
942
950
|
# },
|
943
951
|
# network_type: "String",
|
944
952
|
# cluster_scalability_type: "standard", # accepts standard, limitless
|
@@ -1289,13 +1297,15 @@ module Aws::RDS
|
|
1289
1297
|
# mapping isn't enabled.
|
1290
1298
|
#
|
1291
1299
|
# For more information, see [ IAM Database Authentication][1] in the
|
1292
|
-
# *Amazon Aurora User Guide
|
1300
|
+
# *Amazon Aurora User Guide* or [IAM database authentication for
|
1301
|
+
# MariaDB, MySQL, and PostgreSQL][2] in the *Amazon RDS User Guide*.
|
1293
1302
|
#
|
1294
|
-
# Valid for Cluster Type: Aurora DB clusters
|
1303
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
1295
1304
|
#
|
1296
1305
|
#
|
1297
1306
|
#
|
1298
1307
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html
|
1308
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
|
1299
1309
|
# @option options [Integer] :backtrack_window
|
1300
1310
|
# The target backtrack window, in seconds. To disable backtracking, set
|
1301
1311
|
# this value to `0`.
|
@@ -1593,6 +1603,8 @@ module Aws::RDS
|
|
1593
1603
|
#
|
1594
1604
|
#
|
1595
1605
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling
|
1606
|
+
# @option options [String] :database_insights_mode
|
1607
|
+
# Specifies the mode of Database Insights to enable for the cluster.
|
1596
1608
|
# @option options [Boolean] :enable_performance_insights
|
1597
1609
|
# Specifies whether to turn on Performance Insights for the DB cluster.
|
1598
1610
|
#
|
@@ -1641,6 +1653,11 @@ module Aws::RDS
|
|
1641
1653
|
# Aurora Limitless Database to create a DB shard group.
|
1642
1654
|
#
|
1643
1655
|
# Valid for: Aurora DB clusters only
|
1656
|
+
#
|
1657
|
+
# <note markdown="1"> This setting is no longer used. Instead use the
|
1658
|
+
# `ClusterScalabilityType` setting.
|
1659
|
+
#
|
1660
|
+
# </note>
|
1644
1661
|
# @option options [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
|
1645
1662
|
# Contains the scaling configuration of an Aurora Serverless v2 DB
|
1646
1663
|
# cluster.
|
@@ -1763,8 +1780,8 @@ module Aws::RDS
|
|
1763
1780
|
# support for that engine version. For more information, see the
|
1764
1781
|
# following sections:
|
1765
1782
|
#
|
1766
|
-
# * Amazon Aurora
|
1767
|
-
#
|
1783
|
+
# * Amazon Aurora - [Using Amazon RDS Extended Support][1] in the
|
1784
|
+
# *Amazon Aurora User Guide*
|
1768
1785
|
#
|
1769
1786
|
# * Amazon RDS - [Using Amazon RDS Extended Support][2] in the *Amazon
|
1770
1787
|
# RDS User Guide*
|
@@ -1962,12 +1979,14 @@ module Aws::RDS
|
|
1962
1979
|
# auto_minor_version_upgrade: false,
|
1963
1980
|
# monitoring_interval: 1,
|
1964
1981
|
# monitoring_role_arn: "String",
|
1982
|
+
# database_insights_mode: "standard", # accepts standard, advanced
|
1965
1983
|
# enable_performance_insights: false,
|
1966
1984
|
# performance_insights_kms_key_id: "String",
|
1967
1985
|
# performance_insights_retention_period: 1,
|
1968
1986
|
# serverless_v2_scaling_configuration: {
|
1969
1987
|
# min_capacity: 1.0,
|
1970
1988
|
# max_capacity: 1.0,
|
1989
|
+
# seconds_until_auto_pause: 1,
|
1971
1990
|
# },
|
1972
1991
|
# network_type: "String",
|
1973
1992
|
# manage_master_user_password: false,
|
@@ -1997,11 +2016,11 @@ module Aws::RDS
|
|
1997
2016
|
#
|
1998
2017
|
# Example: `my-cluster2`
|
1999
2018
|
# @option options [Boolean] :apply_immediately
|
2000
|
-
# Specifies whether the modifications in this request
|
2001
|
-
#
|
2002
|
-
#
|
2003
|
-
#
|
2004
|
-
#
|
2019
|
+
# Specifies whether the modifications in this request are asynchronously
|
2020
|
+
# applied as soon as possible, regardless of the
|
2021
|
+
# `PreferredMaintenanceWindow` setting for the DB cluster. If this
|
2022
|
+
# parameter is disabled, changes to the DB cluster are applied during
|
2023
|
+
# the next maintenance window.
|
2005
2024
|
#
|
2006
2025
|
# Most modifications can be applied immediately or during the next
|
2007
2026
|
# scheduled maintenance window. Some modifications, such as turning on
|
@@ -2114,13 +2133,15 @@ module Aws::RDS
|
|
2114
2133
|
# mapping isn't enabled.
|
2115
2134
|
#
|
2116
2135
|
# For more information, see [ IAM Database Authentication][1] in the
|
2117
|
-
# *Amazon Aurora User Guide
|
2136
|
+
# *Amazon Aurora User Guide* or [IAM database authentication for
|
2137
|
+
# MariaDB, MySQL, and PostgreSQL][2] in the *Amazon RDS User Guide*.
|
2118
2138
|
#
|
2119
|
-
# Valid for Cluster Type: Aurora DB clusters
|
2139
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
2120
2140
|
#
|
2121
2141
|
#
|
2122
2142
|
#
|
2123
2143
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html
|
2144
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
|
2124
2145
|
# @option options [Integer] :backtrack_window
|
2125
2146
|
# The target backtrack window, in seconds. To disable backtracking, set
|
2126
2147
|
# this value to `0`.
|
@@ -2275,9 +2296,9 @@ module Aws::RDS
|
|
2275
2296
|
# Aurora User Guide*.
|
2276
2297
|
#
|
2277
2298
|
# <note markdown="1"> This parameter applies only to Aurora Serverless v1 DB clusters. To
|
2278
|
-
# enable or disable the HTTP endpoint for an Aurora
|
2279
|
-
#
|
2280
|
-
#
|
2299
|
+
# enable or disable the HTTP endpoint for an Aurora Serverless v2 or
|
2300
|
+
# provisioned DB cluster, use the `EnableHttpEndpoint` and
|
2301
|
+
# `DisableHttpEndpoint` operations.
|
2281
2302
|
#
|
2282
2303
|
# </note>
|
2283
2304
|
#
|
@@ -2408,13 +2429,15 @@ module Aws::RDS
|
|
2408
2429
|
#
|
2409
2430
|
#
|
2410
2431
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole
|
2432
|
+
# @option options [String] :database_insights_mode
|
2433
|
+
# Specifies the mode of Database Insights to enable for the cluster.
|
2411
2434
|
# @option options [Boolean] :enable_performance_insights
|
2412
2435
|
# Specifies whether to turn on Performance Insights for the DB cluster.
|
2413
2436
|
#
|
2414
2437
|
# For more information, see [ Using Amazon Performance Insights][1] in
|
2415
2438
|
# the *Amazon RDS User Guide*.
|
2416
2439
|
#
|
2417
|
-
# Valid for Cluster Type: Multi-AZ DB clusters
|
2440
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
2418
2441
|
#
|
2419
2442
|
#
|
2420
2443
|
#
|
@@ -2608,6 +2631,12 @@ module Aws::RDS
|
|
2608
2631
|
# Aurora Limitless Database to create a DB shard group.
|
2609
2632
|
#
|
2610
2633
|
# Valid for: Aurora DB clusters only
|
2634
|
+
#
|
2635
|
+
# <note markdown="1"> This setting is no longer used. Instead use the
|
2636
|
+
# `ClusterScalabilityType` setting when you create your Aurora Limitless
|
2637
|
+
# Database DB cluster.
|
2638
|
+
#
|
2639
|
+
# </note>
|
2611
2640
|
# @option options [String] :ca_certificate_identifier
|
2612
2641
|
# The CA certificate identifier to use for the DB cluster's server
|
2613
2642
|
# certificate.
|
@@ -2675,6 +2704,7 @@ module Aws::RDS
|
|
2675
2704
|
# serverless_v2_scaling_configuration: {
|
2676
2705
|
# min_capacity: 1.0,
|
2677
2706
|
# max_capacity: 1.0,
|
2707
|
+
# seconds_until_auto_pause: 1,
|
2678
2708
|
# },
|
2679
2709
|
# network_type: "String",
|
2680
2710
|
# source_db_cluster_resource_id: "String",
|
@@ -2683,6 +2713,11 @@ module Aws::RDS
|
|
2683
2713
|
# transit_gateway_multicast_domain_id: "String",
|
2684
2714
|
# replica_mode: "open-read-only", # accepts open-read-only, mounted
|
2685
2715
|
# },
|
2716
|
+
# monitoring_interval: 1,
|
2717
|
+
# monitoring_role_arn: "String",
|
2718
|
+
# enable_performance_insights: false,
|
2719
|
+
# performance_insights_kms_key_id: "String",
|
2720
|
+
# performance_insights_retention_period: 1,
|
2686
2721
|
# engine_lifecycle_support: "String",
|
2687
2722
|
# })
|
2688
2723
|
# @param [Hash] options ({})
|
@@ -2814,13 +2849,15 @@ module Aws::RDS
|
|
2814
2849
|
# mapping isn't enabled.
|
2815
2850
|
#
|
2816
2851
|
# For more information, see [ IAM Database Authentication][1] in the
|
2817
|
-
# *Amazon Aurora User Guide
|
2852
|
+
# *Amazon Aurora User Guide* or [ IAM database authentication for
|
2853
|
+
# MariaDB, MySQL, and PostgreSQL][2] in the *Amazon RDS User Guide*.
|
2818
2854
|
#
|
2819
|
-
# Valid for: Aurora DB clusters
|
2855
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
2820
2856
|
#
|
2821
2857
|
#
|
2822
2858
|
#
|
2823
2859
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html
|
2860
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
|
2824
2861
|
# @option options [Integer] :backtrack_window
|
2825
2862
|
# The target backtrack window, in seconds. To disable backtracking, set
|
2826
2863
|
# this value to 0.
|
@@ -3047,6 +3084,54 @@ module Aws::RDS
|
|
3047
3084
|
# The resource ID of the source DB cluster from which to restore.
|
3048
3085
|
# @option options [Types::RdsCustomClusterConfiguration] :rds_custom_cluster_configuration
|
3049
3086
|
# Reserved for future use.
|
3087
|
+
# @option options [Integer] :monitoring_interval
|
3088
|
+
# The interval, in seconds, between points when Enhanced Monitoring
|
3089
|
+
# metrics are collected for the DB cluster. To turn off collecting
|
3090
|
+
# Enhanced Monitoring metrics, specify `0`.
|
3091
|
+
#
|
3092
|
+
# If `MonitoringRoleArn` is specified, also set `MonitoringInterval` to
|
3093
|
+
# a value other than `0`.
|
3094
|
+
#
|
3095
|
+
# Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60`
|
3096
|
+
#
|
3097
|
+
# Default: `0`
|
3098
|
+
# @option options [String] :monitoring_role_arn
|
3099
|
+
# The Amazon Resource Name (ARN) for the IAM role that permits RDS to
|
3100
|
+
# send Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example
|
3101
|
+
# is `arn:aws:iam:123456789012:role/emaccess`.
|
3102
|
+
#
|
3103
|
+
# If `MonitoringInterval` is set to a value other than `0`, supply a
|
3104
|
+
# `MonitoringRoleArn` value.
|
3105
|
+
# @option options [Boolean] :enable_performance_insights
|
3106
|
+
# Specifies whether to turn on Performance Insights for the DB cluster.
|
3107
|
+
# @option options [String] :performance_insights_kms_key_id
|
3108
|
+
# The Amazon Web Services KMS key identifier for encryption of
|
3109
|
+
# Performance Insights data.
|
3110
|
+
#
|
3111
|
+
# The Amazon Web Services KMS key identifier is the key ARN, key ID,
|
3112
|
+
# alias ARN, or alias name for the KMS key.
|
3113
|
+
#
|
3114
|
+
# If you don't specify a value for `PerformanceInsightsKMSKeyId`, then
|
3115
|
+
# Amazon RDS uses your default KMS key. There is a default KMS key for
|
3116
|
+
# your Amazon Web Services account. Your Amazon Web Services account has
|
3117
|
+
# a different default KMS key for each Amazon Web Services Region.
|
3118
|
+
# @option options [Integer] :performance_insights_retention_period
|
3119
|
+
# The number of days to retain Performance Insights data.
|
3120
|
+
#
|
3121
|
+
# Valid Values:
|
3122
|
+
#
|
3123
|
+
# * `7`
|
3124
|
+
#
|
3125
|
+
# * *month* * 31, where *month* is a number of months from 1-23.
|
3126
|
+
# Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19
|
3127
|
+
# months * 31)
|
3128
|
+
#
|
3129
|
+
# * `731`
|
3130
|
+
#
|
3131
|
+
# Default: `7` days
|
3132
|
+
#
|
3133
|
+
# If you specify a retention period that isn't valid, such as `94`,
|
3134
|
+
# Amazon RDS issues an error.
|
3050
3135
|
# @option options [String] :engine_lifecycle_support
|
3051
3136
|
# The life cycle type for this DB cluster.
|
3052
3137
|
#
|
@@ -3066,8 +3151,8 @@ module Aws::RDS
|
|
3066
3151
|
# support for that engine version. For more information, see the
|
3067
3152
|
# following sections:
|
3068
3153
|
#
|
3069
|
-
# * Amazon Aurora
|
3070
|
-
#
|
3154
|
+
# * Amazon Aurora - [Using Amazon RDS Extended Support][1] in the
|
3155
|
+
# *Amazon Aurora User Guide*
|
3071
3156
|
#
|
3072
3157
|
# * Amazon RDS - [Using Amazon RDS Extended Support][2] in the *Amazon
|
3073
3158
|
# RDS User Guide*
|
@@ -592,6 +592,7 @@ module Aws::RDS
|
|
592
592
|
# serverless_v2_scaling_configuration: {
|
593
593
|
# min_capacity: 1.0,
|
594
594
|
# max_capacity: 1.0,
|
595
|
+
# seconds_until_auto_pause: 1,
|
595
596
|
# },
|
596
597
|
# network_type: "String",
|
597
598
|
# rds_custom_cluster_configuration: {
|
@@ -599,6 +600,11 @@ module Aws::RDS
|
|
599
600
|
# transit_gateway_multicast_domain_id: "String",
|
600
601
|
# replica_mode: "open-read-only", # accepts open-read-only, mounted
|
601
602
|
# },
|
603
|
+
# monitoring_interval: 1,
|
604
|
+
# monitoring_role_arn: "String",
|
605
|
+
# enable_performance_insights: false,
|
606
|
+
# performance_insights_kms_key_id: "String",
|
607
|
+
# performance_insights_retention_period: 1,
|
602
608
|
# engine_lifecycle_support: "String",
|
603
609
|
# })
|
604
610
|
# @param [Hash] options ({})
|
@@ -746,13 +752,15 @@ module Aws::RDS
|
|
746
752
|
# mapping isn't enabled.
|
747
753
|
#
|
748
754
|
# For more information, see [ IAM Database Authentication][1] in the
|
749
|
-
# *Amazon Aurora User Guide
|
755
|
+
# *Amazon Aurora User Guide* or [ IAM database authentication for
|
756
|
+
# MariaDB, MySQL, and PostgreSQL][2] in the *Amazon RDS User Guide*.
|
750
757
|
#
|
751
|
-
# Valid for: Aurora DB clusters
|
758
|
+
# Valid for: Aurora DB clusters and Multi-AZ DB clusters
|
752
759
|
#
|
753
760
|
#
|
754
761
|
#
|
755
762
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html
|
763
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
|
756
764
|
# @option options [Integer] :backtrack_window
|
757
765
|
# The target backtrack window, in seconds. To disable backtracking, set
|
758
766
|
# this value to 0.
|
@@ -980,6 +988,54 @@ module Aws::RDS
|
|
980
988
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
981
989
|
# @option options [Types::RdsCustomClusterConfiguration] :rds_custom_cluster_configuration
|
982
990
|
# Reserved for future use.
|
991
|
+
# @option options [Integer] :monitoring_interval
|
992
|
+
# The interval, in seconds, between points when Enhanced Monitoring
|
993
|
+
# metrics are collected for the DB cluster. To turn off collecting
|
994
|
+
# Enhanced Monitoring metrics, specify `0`.
|
995
|
+
#
|
996
|
+
# If `MonitoringRoleArn` is specified, also set `MonitoringInterval` to
|
997
|
+
# a value other than `0`.
|
998
|
+
#
|
999
|
+
# Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60`
|
1000
|
+
#
|
1001
|
+
# Default: `0`
|
1002
|
+
# @option options [String] :monitoring_role_arn
|
1003
|
+
# The Amazon Resource Name (ARN) for the IAM role that permits RDS to
|
1004
|
+
# send Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example
|
1005
|
+
# is `arn:aws:iam:123456789012:role/emaccess`.
|
1006
|
+
#
|
1007
|
+
# If `MonitoringInterval` is set to a value other than `0`, supply a
|
1008
|
+
# `MonitoringRoleArn` value.
|
1009
|
+
# @option options [Boolean] :enable_performance_insights
|
1010
|
+
# Specifies whether to turn on Performance Insights for the DB cluster.
|
1011
|
+
# @option options [String] :performance_insights_kms_key_id
|
1012
|
+
# The Amazon Web Services KMS key identifier for encryption of
|
1013
|
+
# Performance Insights data.
|
1014
|
+
#
|
1015
|
+
# The Amazon Web Services KMS key identifier is the key ARN, key ID,
|
1016
|
+
# alias ARN, or alias name for the KMS key.
|
1017
|
+
#
|
1018
|
+
# If you don't specify a value for `PerformanceInsightsKMSKeyId`, then
|
1019
|
+
# Amazon RDS uses your default KMS key. There is a default KMS key for
|
1020
|
+
# your Amazon Web Services account. Your Amazon Web Services account has
|
1021
|
+
# a different default KMS key for each Amazon Web Services Region.
|
1022
|
+
# @option options [Integer] :performance_insights_retention_period
|
1023
|
+
# The number of days to retain Performance Insights data.
|
1024
|
+
#
|
1025
|
+
# Valid Values:
|
1026
|
+
#
|
1027
|
+
# * `7`
|
1028
|
+
#
|
1029
|
+
# * *month* * 31, where *month* is a number of months from 1-23.
|
1030
|
+
# Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19
|
1031
|
+
# months * 31)
|
1032
|
+
#
|
1033
|
+
# * `731`
|
1034
|
+
#
|
1035
|
+
# Default: `7` days
|
1036
|
+
#
|
1037
|
+
# If you specify a retention period that isn't valid, such as `94`,
|
1038
|
+
# Amazon RDS issues an error.
|
983
1039
|
# @option options [String] :engine_lifecycle_support
|
984
1040
|
# The life cycle type for this DB cluster.
|
985
1041
|
#
|
@@ -999,8 +1055,8 @@ module Aws::RDS
|
|
999
1055
|
# support for that engine version. For more information, see the
|
1000
1056
|
# following sections:
|
1001
1057
|
#
|
1002
|
-
# * Amazon Aurora
|
1003
|
-
#
|
1058
|
+
# * Amazon Aurora - [Using Amazon RDS Extended Support][1] in the
|
1059
|
+
# *Amazon Aurora User Guide*
|
1004
1060
|
#
|
1005
1061
|
# * Amazon RDS - [Using Amazon RDS Extended Support][2] in the *Amazon
|
1006
1062
|
# RDS User Guide*
|