aws-sdk-docdb 1.88.0 → 1.89.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d36ece9c54e6c5b593943268e33884f9a1c2c3566ab5acee4e6e8f6a869da14
4
- data.tar.gz: db1df11fe78d6f6e104e9266db1671afbb17b3226bbbdecdc04a77c6aa2cb52d
3
+ metadata.gz: bc9e2fa7eb21c6951fd451bf0f9a44ac8cfffcae6cf720f6fb70b2ccdbe0e283
4
+ data.tar.gz: 8bbe105dd7fc04870af35c8e148916bcadcc4cbe4915bd1f90b0b7c9681b31b5
5
5
  SHA512:
6
- metadata.gz: 2aaed8db6a823abcf96947ab4e445431bbd2125c406018998ce289bf63429f13b4a5fa17eb568dc3254bef41d61f3913cfcca5b91b860b3dad0067f3c59de147
7
- data.tar.gz: 284ac4488d9e65d7ac968062c502ac25e918422c6fe5a44a4bb959ffbf5980594d850acff6e03de4ee38de44755906467edecb24346db51f0d463f070ca09e97
6
+ metadata.gz: 5528b38bf52b09a1ae92fb2d2e1cbc011eb39b059cbb50970e9db04af7fbd48d49d4fcbca2ca2091a4e589e94b7c90b8bae94be01caf199933552c6d91016dfc
7
+ data.tar.gz: bf4a23aaade3601928fff5148ab050bff5a9dc62d8360ec51d9ef48e166e7122a7bcb3778e202b8836d2987856eedc80b0bf90c5b8c07cea4c5df60f13710f58
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.89.0 (2025-07-30)
5
+ ------------------
6
+
7
+ * Feature - Add support for setting Serverless Scaling Configuration on clusters.
8
+
4
9
  1.88.0 (2025-07-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.88.0
1
+ 1.89.0
@@ -1052,6 +1052,10 @@ module Aws::DocDB
1052
1052
  #
1053
1053
  # </note>
1054
1054
  #
1055
+ # @option params [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
1056
+ # Contains the scaling configuration of an Amazon DocumentDB Serverless
1057
+ # cluster.
1058
+ #
1055
1059
  # @option params [Boolean] :manage_master_user_password
1056
1060
  # Specifies whether to manage the master user password with Amazon Web
1057
1061
  # Services Secrets Manager.
@@ -1118,6 +1122,10 @@ module Aws::DocDB
1118
1122
  # deletion_protection: false,
1119
1123
  # global_cluster_identifier: "GlobalClusterIdentifier",
1120
1124
  # storage_type: "String",
1125
+ # serverless_v2_scaling_configuration: {
1126
+ # min_capacity: 1.0,
1127
+ # max_capacity: 1.0,
1128
+ # },
1121
1129
  # manage_master_user_password: false,
1122
1130
  # master_user_secret_kms_key_id: "String",
1123
1131
  # source_region: "String",
@@ -1169,6 +1177,8 @@ module Aws::DocDB
1169
1177
  # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
1170
1178
  # resp.db_cluster.deletion_protection #=> Boolean
1171
1179
  # resp.db_cluster.storage_type #=> String
1180
+ # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
1181
+ # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
1172
1182
  # resp.db_cluster.master_user_secret.secret_arn #=> String
1173
1183
  # resp.db_cluster.master_user_secret.secret_status #=> String
1174
1184
  # resp.db_cluster.master_user_secret.kms_key_id #=> String
@@ -1924,6 +1934,8 @@ module Aws::DocDB
1924
1934
  # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
1925
1935
  # resp.db_cluster.deletion_protection #=> Boolean
1926
1936
  # resp.db_cluster.storage_type #=> String
1937
+ # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
1938
+ # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
1927
1939
  # resp.db_cluster.master_user_secret.secret_arn #=> String
1928
1940
  # resp.db_cluster.master_user_secret.secret_status #=> String
1929
1941
  # resp.db_cluster.master_user_secret.kms_key_id #=> String
@@ -2775,6 +2787,8 @@ module Aws::DocDB
2775
2787
  # resp.db_clusters[0].enabled_cloudwatch_logs_exports[0] #=> String
2776
2788
  # resp.db_clusters[0].deletion_protection #=> Boolean
2777
2789
  # resp.db_clusters[0].storage_type #=> String
2790
+ # resp.db_clusters[0].serverless_v2_scaling_configuration.min_capacity #=> Float
2791
+ # resp.db_clusters[0].serverless_v2_scaling_configuration.max_capacity #=> Float
2778
2792
  # resp.db_clusters[0].master_user_secret.secret_arn #=> String
2779
2793
  # resp.db_clusters[0].master_user_secret.secret_status #=> String
2780
2794
  # resp.db_clusters[0].master_user_secret.kms_key_id #=> String
@@ -2886,6 +2900,8 @@ module Aws::DocDB
2886
2900
  # resp.db_engine_versions[0].supported_ca_certificate_identifiers #=> Array
2887
2901
  # resp.db_engine_versions[0].supported_ca_certificate_identifiers[0] #=> String
2888
2902
  # resp.db_engine_versions[0].supports_certificate_rotation_without_restart #=> Boolean
2903
+ # resp.db_engine_versions[0].serverless_v2_features_support.min_capacity #=> Float
2904
+ # resp.db_engine_versions[0].serverless_v2_features_support.max_capacity #=> Float
2889
2905
  #
2890
2906
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBEngineVersions AWS API Documentation
2891
2907
  #
@@ -3748,6 +3764,8 @@ module Aws::DocDB
3748
3764
  # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
3749
3765
  # resp.db_cluster.deletion_protection #=> Boolean
3750
3766
  # resp.db_cluster.storage_type #=> String
3767
+ # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
3768
+ # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
3751
3769
  # resp.db_cluster.master_user_secret.secret_arn #=> String
3752
3770
  # resp.db_cluster.master_user_secret.secret_status #=> String
3753
3771
  # resp.db_cluster.master_user_secret.kms_key_id #=> String
@@ -4054,6 +4072,10 @@ module Aws::DocDB
4054
4072
  #
4055
4073
  # Default value is `standard `
4056
4074
  #
4075
+ # @option params [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
4076
+ # Contains the scaling configuration of an Amazon DocumentDB Serverless
4077
+ # cluster.
4078
+ #
4057
4079
  # @option params [Boolean] :manage_master_user_password
4058
4080
  # Specifies whether to manage the master user password with Amazon Web
4059
4081
  # Services Secrets Manager. If the cluster doesn't manage the master
@@ -4133,6 +4155,10 @@ module Aws::DocDB
4133
4155
  # allow_major_version_upgrade: false,
4134
4156
  # deletion_protection: false,
4135
4157
  # storage_type: "String",
4158
+ # serverless_v2_scaling_configuration: {
4159
+ # min_capacity: 1.0,
4160
+ # max_capacity: 1.0,
4161
+ # },
4136
4162
  # manage_master_user_password: false,
4137
4163
  # master_user_secret_kms_key_id: "String",
4138
4164
  # rotate_master_user_password: false,
@@ -4184,6 +4210,8 @@ module Aws::DocDB
4184
4210
  # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
4185
4211
  # resp.db_cluster.deletion_protection #=> Boolean
4186
4212
  # resp.db_cluster.storage_type #=> String
4213
+ # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
4214
+ # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
4187
4215
  # resp.db_cluster.master_user_secret.secret_arn #=> String
4188
4216
  # resp.db_cluster.master_user_secret.secret_status #=> String
4189
4217
  # resp.db_cluster.master_user_secret.kms_key_id #=> String
@@ -5177,6 +5205,10 @@ module Aws::DocDB
5177
5205
  # letters, numbers or hyphens. Its first character must be a letter, and
5178
5206
  # it cannot end with a hyphen or contain two consecutive hyphens.
5179
5207
  #
5208
+ # @option params [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
5209
+ # Contains the scaling configuration of an Amazon DocumentDB Serverless
5210
+ # cluster.
5211
+ #
5180
5212
  # @option params [String] :storage_type
5181
5213
  # The storage type to associate with the DB cluster.
5182
5214
  #
@@ -5213,6 +5245,10 @@ module Aws::DocDB
5213
5245
  # enable_cloudwatch_logs_exports: ["String"],
5214
5246
  # deletion_protection: false,
5215
5247
  # db_cluster_parameter_group_name: "String",
5248
+ # serverless_v2_scaling_configuration: {
5249
+ # min_capacity: 1.0,
5250
+ # max_capacity: 1.0,
5251
+ # },
5216
5252
  # storage_type: "String",
5217
5253
  # })
5218
5254
  #
@@ -5262,6 +5298,8 @@ module Aws::DocDB
5262
5298
  # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
5263
5299
  # resp.db_cluster.deletion_protection #=> Boolean
5264
5300
  # resp.db_cluster.storage_type #=> String
5301
+ # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
5302
+ # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
5265
5303
  # resp.db_cluster.master_user_secret.secret_arn #=> String
5266
5304
  # resp.db_cluster.master_user_secret.secret_status #=> String
5267
5305
  # resp.db_cluster.master_user_secret.kms_key_id #=> String
@@ -5405,6 +5443,10 @@ module Aws::DocDB
5405
5443
  # `DeletionProtection` is disabled. `DeletionProtection` protects
5406
5444
  # clusters from being accidentally deleted.
5407
5445
  #
5446
+ # @option params [Types::ServerlessV2ScalingConfiguration] :serverless_v2_scaling_configuration
5447
+ # Contains the scaling configuration of an Amazon DocumentDB Serverless
5448
+ # cluster.
5449
+ #
5408
5450
  # @option params [String] :storage_type
5409
5451
  # The storage type to associate with the DB cluster.
5410
5452
  #
@@ -5440,6 +5482,10 @@ module Aws::DocDB
5440
5482
  # kms_key_id: "String",
5441
5483
  # enable_cloudwatch_logs_exports: ["String"],
5442
5484
  # deletion_protection: false,
5485
+ # serverless_v2_scaling_configuration: {
5486
+ # min_capacity: 1.0,
5487
+ # max_capacity: 1.0,
5488
+ # },
5443
5489
  # storage_type: "String",
5444
5490
  # })
5445
5491
  #
@@ -5489,6 +5535,8 @@ module Aws::DocDB
5489
5535
  # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
5490
5536
  # resp.db_cluster.deletion_protection #=> Boolean
5491
5537
  # resp.db_cluster.storage_type #=> String
5538
+ # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
5539
+ # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
5492
5540
  # resp.db_cluster.master_user_secret.secret_arn #=> String
5493
5541
  # resp.db_cluster.master_user_secret.secret_status #=> String
5494
5542
  # resp.db_cluster.master_user_secret.kms_key_id #=> String
@@ -5570,6 +5618,8 @@ module Aws::DocDB
5570
5618
  # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
5571
5619
  # resp.db_cluster.deletion_protection #=> Boolean
5572
5620
  # resp.db_cluster.storage_type #=> String
5621
+ # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
5622
+ # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
5573
5623
  # resp.db_cluster.master_user_secret.secret_arn #=> String
5574
5624
  # resp.db_cluster.master_user_secret.secret_status #=> String
5575
5625
  # resp.db_cluster.master_user_secret.kms_key_id #=> String
@@ -5651,6 +5701,8 @@ module Aws::DocDB
5651
5701
  # resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
5652
5702
  # resp.db_cluster.deletion_protection #=> Boolean
5653
5703
  # resp.db_cluster.storage_type #=> String
5704
+ # resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
5705
+ # resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
5654
5706
  # resp.db_cluster.master_user_secret.secret_arn #=> String
5655
5707
  # resp.db_cluster.master_user_secret.secret_status #=> String
5656
5708
  # resp.db_cluster.master_user_secret.kms_key_id #=> String
@@ -5752,7 +5804,7 @@ module Aws::DocDB
5752
5804
  tracer: tracer
5753
5805
  )
5754
5806
  context[:gem_name] = 'aws-sdk-docdb'
5755
- context[:gem_version] = '1.88.0'
5807
+ context[:gem_version] = '1.89.0'
5756
5808
  Seahorse::Client::Request.new(handlers, context)
5757
5809
  end
5758
5810
 
@@ -133,6 +133,7 @@ module Aws::DocDB
133
133
  DescribeGlobalClustersMessage = Shapes::StructureShape.new(name: 'DescribeGlobalClustersMessage')
134
134
  DescribeOrderableDBInstanceOptionsMessage = Shapes::StructureShape.new(name: 'DescribeOrderableDBInstanceOptionsMessage')
135
135
  DescribePendingMaintenanceActionsMessage = Shapes::StructureShape.new(name: 'DescribePendingMaintenanceActionsMessage')
136
+ DoubleOptional = Shapes::FloatShape.new(name: 'DoubleOptional')
136
137
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
137
138
  EngineDefaults = Shapes::StructureShape.new(name: 'EngineDefaults')
138
139
  Event = Shapes::StructureShape.new(name: 'Event')
@@ -228,6 +229,9 @@ module Aws::DocDB
228
229
  SNSInvalidTopicFault = Shapes::StructureShape.new(name: 'SNSInvalidTopicFault', error: {"code" => "SNSInvalidTopic", "httpStatusCode" => 400, "senderFault" => true})
229
230
  SNSNoAuthorizationFault = Shapes::StructureShape.new(name: 'SNSNoAuthorizationFault', error: {"code" => "SNSNoAuthorization", "httpStatusCode" => 400, "senderFault" => true})
230
231
  SNSTopicArnNotFoundFault = Shapes::StructureShape.new(name: 'SNSTopicArnNotFoundFault', error: {"code" => "SNSTopicArnNotFound", "httpStatusCode" => 404, "senderFault" => true})
232
+ ServerlessV2FeaturesSupport = Shapes::StructureShape.new(name: 'ServerlessV2FeaturesSupport')
233
+ ServerlessV2ScalingConfiguration = Shapes::StructureShape.new(name: 'ServerlessV2ScalingConfiguration')
234
+ ServerlessV2ScalingConfigurationInfo = Shapes::StructureShape.new(name: 'ServerlessV2ScalingConfigurationInfo')
231
235
  SharedSnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'SharedSnapshotQuotaExceededFault', error: {"code" => "SharedSnapshotQuotaExceeded", "httpStatusCode" => 400, "senderFault" => true})
232
236
  SnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'SnapshotQuotaExceededFault', error: {"code" => "SnapshotQuotaExceeded", "httpStatusCode" => 400, "senderFault" => true})
233
237
  SourceIdsList = Shapes::ListShape.new(name: 'SourceIdsList')
@@ -362,6 +366,7 @@ module Aws::DocDB
362
366
  CreateDBClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
363
367
  CreateDBClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, location_name: "GlobalClusterIdentifier"))
364
368
  CreateDBClusterMessage.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
369
+ CreateDBClusterMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
365
370
  CreateDBClusterMessage.add_member(:manage_master_user_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterUserPassword"))
366
371
  CreateDBClusterMessage.add_member(:master_user_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserSecretKmsKeyId"))
367
372
  CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
@@ -471,6 +476,7 @@ module Aws::DocDB
471
476
  DBCluster.add_member(:enabled_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnabledCloudwatchLogsExports"))
472
477
  DBCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeletionProtection"))
473
478
  DBCluster.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
479
+ DBCluster.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfigurationInfo, location_name: "ServerlessV2ScalingConfiguration"))
474
480
  DBCluster.add_member(:master_user_secret, Shapes::ShapeRef.new(shape: ClusterMasterUserSecret, location_name: "MasterUserSecret"))
475
481
  DBCluster.struct_class = Types::DBCluster
476
482
 
@@ -571,6 +577,7 @@ module Aws::DocDB
571
577
  DBEngineVersion.add_member(:supports_log_exports_to_cloudwatch_logs, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsLogExportsToCloudwatchLogs"))
572
578
  DBEngineVersion.add_member(:supported_ca_certificate_identifiers, Shapes::ShapeRef.new(shape: CACertificateIdentifiersList, location_name: "SupportedCACertificateIdentifiers"))
573
579
  DBEngineVersion.add_member(:supports_certificate_rotation_without_restart, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsCertificateRotationWithoutRestart"))
580
+ DBEngineVersion.add_member(:serverless_v2_features_support, Shapes::ShapeRef.new(shape: ServerlessV2FeaturesSupport, location_name: "ServerlessV2FeaturesSupport"))
574
581
  DBEngineVersion.struct_class = Types::DBEngineVersion
575
582
 
576
583
  DBEngineVersionList.member = Shapes::ShapeRef.new(shape: DBEngineVersion, location_name: "DBEngineVersion")
@@ -990,6 +997,7 @@ module Aws::DocDB
990
997
  ModifyDBClusterMessage.add_member(:allow_major_version_upgrade, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllowMajorVersionUpgrade"))
991
998
  ModifyDBClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
992
999
  ModifyDBClusterMessage.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
1000
+ ModifyDBClusterMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
993
1001
  ModifyDBClusterMessage.add_member(:manage_master_user_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ManageMasterUserPassword"))
994
1002
  ModifyDBClusterMessage.add_member(:master_user_secret_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserSecretKmsKeyId"))
995
1003
  ModifyDBClusterMessage.add_member(:rotate_master_user_password, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "RotateMasterUserPassword"))
@@ -1172,6 +1180,7 @@ module Aws::DocDB
1172
1180
  RestoreDBClusterFromSnapshotMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
1173
1181
  RestoreDBClusterFromSnapshotMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
1174
1182
  RestoreDBClusterFromSnapshotMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterParameterGroupName"))
1183
+ RestoreDBClusterFromSnapshotMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
1175
1184
  RestoreDBClusterFromSnapshotMessage.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
1176
1185
  RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
1177
1186
 
@@ -1190,6 +1199,7 @@ module Aws::DocDB
1190
1199
  RestoreDBClusterToPointInTimeMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
1191
1200
  RestoreDBClusterToPointInTimeMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
1192
1201
  RestoreDBClusterToPointInTimeMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
1202
+ RestoreDBClusterToPointInTimeMessage.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfiguration, location_name: "ServerlessV2ScalingConfiguration"))
1193
1203
  RestoreDBClusterToPointInTimeMessage.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
1194
1204
  RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
1195
1205
 
@@ -1202,6 +1212,18 @@ module Aws::DocDB
1202
1212
 
1203
1213
  SNSTopicArnNotFoundFault.struct_class = Types::SNSTopicArnNotFoundFault
1204
1214
 
1215
+ ServerlessV2FeaturesSupport.add_member(:min_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinCapacity"))
1216
+ ServerlessV2FeaturesSupport.add_member(:max_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxCapacity"))
1217
+ ServerlessV2FeaturesSupport.struct_class = Types::ServerlessV2FeaturesSupport
1218
+
1219
+ ServerlessV2ScalingConfiguration.add_member(:min_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinCapacity"))
1220
+ ServerlessV2ScalingConfiguration.add_member(:max_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxCapacity"))
1221
+ ServerlessV2ScalingConfiguration.struct_class = Types::ServerlessV2ScalingConfiguration
1222
+
1223
+ ServerlessV2ScalingConfigurationInfo.add_member(:min_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinCapacity"))
1224
+ ServerlessV2ScalingConfigurationInfo.add_member(:max_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxCapacity"))
1225
+ ServerlessV2ScalingConfigurationInfo.struct_class = Types::ServerlessV2ScalingConfigurationInfo
1226
+
1205
1227
  SharedSnapshotQuotaExceededFault.struct_class = Types::SharedSnapshotQuotaExceededFault
1206
1228
 
1207
1229
  SnapshotQuotaExceededFault.struct_class = Types::SnapshotQuotaExceededFault
@@ -731,6 +731,11 @@ module Aws::DocDB
731
731
  # </note>
732
732
  # @return [String]
733
733
  #
734
+ # @!attribute [rw] serverless_v2_scaling_configuration
735
+ # Contains the scaling configuration of an Amazon DocumentDB
736
+ # Serverless cluster.
737
+ # @return [Types::ServerlessV2ScalingConfiguration]
738
+ #
734
739
  # @!attribute [rw] manage_master_user_password
735
740
  # Specifies whether to manage the master user password with Amazon Web
736
741
  # Services Secrets Manager.
@@ -791,6 +796,7 @@ module Aws::DocDB
791
796
  :deletion_protection,
792
797
  :global_cluster_identifier,
793
798
  :storage_type,
799
+ :serverless_v2_scaling_configuration,
794
800
  :manage_master_user_password,
795
801
  :master_user_secret_kms_key_id,
796
802
  :source_region)
@@ -1440,8 +1446,6 @@ module Aws::DocDB
1440
1446
  # @!attribute [rw] storage_type
1441
1447
  # Storage type associated with your cluster
1442
1448
  #
1443
- # Storage type associated with your cluster
1444
- #
1445
1449
  # For information on storage types for Amazon DocumentDB clusters, see
1446
1450
  # Cluster storage configurations in the *Amazon DocumentDB Developer
1447
1451
  # Guide*.
@@ -1451,6 +1455,11 @@ module Aws::DocDB
1451
1455
  # Default value is `standard `
1452
1456
  # @return [String]
1453
1457
  #
1458
+ # @!attribute [rw] serverless_v2_scaling_configuration
1459
+ # The scaling configuration of an Amazon DocumentDB Serverless
1460
+ # cluster.
1461
+ # @return [Types::ServerlessV2ScalingConfigurationInfo]
1462
+ #
1454
1463
  # @!attribute [rw] master_user_secret
1455
1464
  # The secret managed by Amazon DocumentDB in Amazon Web Services
1456
1465
  # Secrets Manager for the master user password.
@@ -1492,6 +1501,7 @@ module Aws::DocDB
1492
1501
  :enabled_cloudwatch_logs_exports,
1493
1502
  :deletion_protection,
1494
1503
  :storage_type,
1504
+ :serverless_v2_scaling_configuration,
1495
1505
  :master_user_secret)
1496
1506
  SENSITIVE = []
1497
1507
  include Aws::Structure
@@ -1966,6 +1976,16 @@ module Aws::DocDB
1966
1976
  # certificate without rebooting the DB instance.
1967
1977
  # @return [Boolean]
1968
1978
  #
1979
+ # @!attribute [rw] serverless_v2_features_support
1980
+ # Specifies any Amazon DocumentDB Serverless properties or limits that
1981
+ # differ between Amazon DocumentDB engine versions. You can test the
1982
+ # values of this attribute when deciding which Amazon DocumentDB
1983
+ # version to use in a new or upgraded cluster. You can also retrieve
1984
+ # the version of an existing cluster and check whether that version
1985
+ # supports certain Amazon DocumentDB Serverless features before you
1986
+ # attempt to use those features.
1987
+ # @return [Types::ServerlessV2FeaturesSupport]
1988
+ #
1969
1989
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DBEngineVersion AWS API Documentation
1970
1990
  #
1971
1991
  class DBEngineVersion < Struct.new(
@@ -1978,7 +1998,8 @@ module Aws::DocDB
1978
1998
  :exportable_log_types,
1979
1999
  :supports_log_exports_to_cloudwatch_logs,
1980
2000
  :supported_ca_certificate_identifiers,
1981
- :supports_certificate_rotation_without_restart)
2001
+ :supports_certificate_rotation_without_restart,
2002
+ :serverless_v2_features_support)
1982
2003
  SENSITIVE = []
1983
2004
  include Aws::Structure
1984
2005
  end
@@ -3888,10 +3909,10 @@ module Aws::DocDB
3888
3909
  # @return [String]
3889
3910
  #
3890
3911
  # @!attribute [rw] global_cluster_resource_id
3891
- # The Amazon Web Services Region-unique, immutable identifier for the
3892
- # global database cluster. This identifier is found in CloudTrail log
3893
- # entries whenever the KMS customer master key (CMK) for the cluster
3894
- # is accessed.
3912
+ # The Amazon Web Services RegionRegion-unique, immutable identifier
3913
+ # for the global database cluster. This identifier is found in
3914
+ # CloudTrail log entries whenever the KMS customer master key (CMK)
3915
+ # for the cluster is accessed.
3895
3916
  # @return [String]
3896
3917
  #
3897
3918
  # @!attribute [rw] global_cluster_arn
@@ -3960,7 +3981,7 @@ module Aws::DocDB
3960
3981
  #
3961
3982
  # @!attribute [rw] readers
3962
3983
  # The Amazon Resource Name (ARN) for each read-only secondary cluster
3963
- # associated with the Aurora global cluster.
3984
+ # associated with the Amazon DocumentDB global cluster.
3964
3985
  # @return [Array<String>]
3965
3986
  #
3966
3987
  # @!attribute [rw] is_writer
@@ -4312,6 +4333,11 @@ module Aws::DocDB
4312
4333
  # Default value is `standard `
4313
4334
  # @return [String]
4314
4335
  #
4336
+ # @!attribute [rw] serverless_v2_scaling_configuration
4337
+ # Contains the scaling configuration of an Amazon DocumentDB
4338
+ # Serverless cluster.
4339
+ # @return [Types::ServerlessV2ScalingConfiguration]
4340
+ #
4315
4341
  # @!attribute [rw] manage_master_user_password
4316
4342
  # Specifies whether to manage the master user password with Amazon Web
4317
4343
  # Services Secrets Manager. If the cluster doesn't manage the master
@@ -4388,6 +4414,7 @@ module Aws::DocDB
4388
4414
  :allow_major_version_upgrade,
4389
4415
  :deletion_protection,
4390
4416
  :storage_type,
4417
+ :serverless_v2_scaling_configuration,
4391
4418
  :manage_master_user_password,
4392
4419
  :master_user_secret_kms_key_id,
4393
4420
  :rotate_master_user_password)
@@ -5437,6 +5464,11 @@ module Aws::DocDB
5437
5464
  # and it cannot end with a hyphen or contain two consecutive hyphens.
5438
5465
  # @return [String]
5439
5466
  #
5467
+ # @!attribute [rw] serverless_v2_scaling_configuration
5468
+ # Contains the scaling configuration of an Amazon DocumentDB
5469
+ # Serverless cluster.
5470
+ # @return [Types::ServerlessV2ScalingConfiguration]
5471
+ #
5440
5472
  # @!attribute [rw] storage_type
5441
5473
  # The storage type to associate with the DB cluster.
5442
5474
  #
@@ -5465,6 +5497,7 @@ module Aws::DocDB
5465
5497
  :enable_cloudwatch_logs_exports,
5466
5498
  :deletion_protection,
5467
5499
  :db_cluster_parameter_group_name,
5500
+ :serverless_v2_scaling_configuration,
5468
5501
  :storage_type)
5469
5502
  SENSITIVE = []
5470
5503
  include Aws::Structure
@@ -5621,6 +5654,11 @@ module Aws::DocDB
5621
5654
  # deleted.
5622
5655
  # @return [Boolean]
5623
5656
  #
5657
+ # @!attribute [rw] serverless_v2_scaling_configuration
5658
+ # Contains the scaling configuration of an Amazon DocumentDB
5659
+ # Serverless cluster.
5660
+ # @return [Types::ServerlessV2ScalingConfiguration]
5661
+ #
5624
5662
  # @!attribute [rw] storage_type
5625
5663
  # The storage type to associate with the DB cluster.
5626
5664
  #
@@ -5648,6 +5686,7 @@ module Aws::DocDB
5648
5686
  :kms_key_id,
5649
5687
  :enable_cloudwatch_logs_exports,
5650
5688
  :deletion_protection,
5689
+ :serverless_v2_scaling_configuration,
5651
5690
  :storage_type)
5652
5691
  SENSITIVE = []
5653
5692
  include Aws::Structure
@@ -5685,6 +5724,83 @@ module Aws::DocDB
5685
5724
  #
5686
5725
  class SNSTopicArnNotFoundFault < Aws::EmptyStructure; end
5687
5726
 
5727
+ # Specifies any Amazon DocumentDB Serverless properties or limits that
5728
+ # differ between Amazon DocumentDB engine versions. You can test the
5729
+ # values of this attribute when deciding which Amazon DocumentDB version
5730
+ # to use in a new or upgraded cluster. You can also retrieve the version
5731
+ # of an existing cluster and check whether that version supports certain
5732
+ # Amazon DocumentDB Serverless features before you attempt to use those
5733
+ # features.
5734
+ #
5735
+ # @!attribute [rw] min_capacity
5736
+ # The minimum number of Amazon DocumentDB capacity units (DCUs) for an
5737
+ # instance in an Amazon DocumentDB Serverless cluster. You can specify
5738
+ # DCU values in half-step increments, such as 8, 8.5, 9, and so on.
5739
+ # @return [Float]
5740
+ #
5741
+ # @!attribute [rw] max_capacity
5742
+ # The maximum number of Amazon DocumentDB capacity units (DCUs) for an
5743
+ # instance in an Amazon DocumentDB Serverless cluster. You can specify
5744
+ # DCU values in half-step increments, such as 32, 32.5, 33, and so on.
5745
+ # @return [Float]
5746
+ #
5747
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ServerlessV2FeaturesSupport AWS API Documentation
5748
+ #
5749
+ class ServerlessV2FeaturesSupport < Struct.new(
5750
+ :min_capacity,
5751
+ :max_capacity)
5752
+ SENSITIVE = []
5753
+ include Aws::Structure
5754
+ end
5755
+
5756
+ # Sets the scaling configuration of an Amazon DocumentDB Serverless
5757
+ # cluster.
5758
+ #
5759
+ # @!attribute [rw] min_capacity
5760
+ # The minimum number of Amazon DocumentDB capacity units (DCUs) for an
5761
+ # instance in an Amazon DocumentDB Serverless cluster. You can specify
5762
+ # DCU values in half-step increments, such as 8, 8.5, 9, and so on.
5763
+ # @return [Float]
5764
+ #
5765
+ # @!attribute [rw] max_capacity
5766
+ # The maximum number of Amazon DocumentDB capacity units (DCUs) for an
5767
+ # instance in an Amazon DocumentDB Serverless cluster. You can specify
5768
+ # DCU values in half-step increments, such as 32, 32.5, 33, and so on.
5769
+ # @return [Float]
5770
+ #
5771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ServerlessV2ScalingConfiguration AWS API Documentation
5772
+ #
5773
+ class ServerlessV2ScalingConfiguration < Struct.new(
5774
+ :min_capacity,
5775
+ :max_capacity)
5776
+ SENSITIVE = []
5777
+ include Aws::Structure
5778
+ end
5779
+
5780
+ # Retrieves the scaling configuration for an Amazon DocumentDB
5781
+ # Serverless cluster.
5782
+ #
5783
+ # @!attribute [rw] min_capacity
5784
+ # The minimum number of Amazon DocumentDB capacity units (DCUs) for an
5785
+ # instance in an Amazon DocumentDB Serverless cluster. You can specify
5786
+ # DCU values in half-step increments, such as 8, 8.5, 9, and so on.
5787
+ # @return [Float]
5788
+ #
5789
+ # @!attribute [rw] max_capacity
5790
+ # The maximum number of Amazon DocumentDB capacity units (DCUs) for an
5791
+ # instance in an Amazon DocumentDB Serverless cluster. You can specify
5792
+ # DCU values in half-step increments, such as 32, 32.5, 33, and so on.
5793
+ # @return [Float]
5794
+ #
5795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ServerlessV2ScalingConfigurationInfo AWS API Documentation
5796
+ #
5797
+ class ServerlessV2ScalingConfigurationInfo < Struct.new(
5798
+ :min_capacity,
5799
+ :max_capacity)
5800
+ SENSITIVE = []
5801
+ include Aws::Structure
5802
+ end
5803
+
5688
5804
  # You have exceeded the maximum number of accounts that you can share a
5689
5805
  # manual DB snapshot with.
5690
5806
  #
data/lib/aws-sdk-docdb.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::DocDB
55
55
  autoload :EndpointProvider, 'aws-sdk-docdb/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-docdb/endpoints'
57
57
 
58
- GEM_VERSION = '1.88.0'
58
+ GEM_VERSION = '1.89.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -184,6 +184,10 @@ module Aws
184
184
  ?deletion_protection: bool,
185
185
  ?global_cluster_identifier: ::String,
186
186
  ?storage_type: ::String,
187
+ ?serverless_v2_scaling_configuration: {
188
+ min_capacity: ::Float?,
189
+ max_capacity: ::Float?
190
+ },
187
191
  ?manage_master_user_password: bool,
188
192
  ?master_user_secret_kms_key_id: ::String,
189
193
  ?source_region: ::String
@@ -745,6 +749,10 @@ module Aws
745
749
  ?allow_major_version_upgrade: bool,
746
750
  ?deletion_protection: bool,
747
751
  ?storage_type: ::String,
752
+ ?serverless_v2_scaling_configuration: {
753
+ min_capacity: ::Float?,
754
+ max_capacity: ::Float?
755
+ },
748
756
  ?manage_master_user_password: bool,
749
757
  ?master_user_secret_kms_key_id: ::String,
750
758
  ?rotate_master_user_password: bool
@@ -936,6 +944,10 @@ module Aws
936
944
  ?enable_cloudwatch_logs_exports: Array[::String],
937
945
  ?deletion_protection: bool,
938
946
  ?db_cluster_parameter_group_name: ::String,
947
+ ?serverless_v2_scaling_configuration: {
948
+ min_capacity: ::Float?,
949
+ max_capacity: ::Float?
950
+ },
939
951
  ?storage_type: ::String
940
952
  ) -> _RestoreDBClusterFromSnapshotResponseSuccess
941
953
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreDBClusterFromSnapshotResponseSuccess
@@ -963,6 +975,10 @@ module Aws
963
975
  ?kms_key_id: ::String,
964
976
  ?enable_cloudwatch_logs_exports: Array[::String],
965
977
  ?deletion_protection: bool,
978
+ ?serverless_v2_scaling_configuration: {
979
+ min_capacity: ::Float?,
980
+ max_capacity: ::Float?
981
+ },
966
982
  ?storage_type: ::String
967
983
  ) -> _RestoreDBClusterToPointInTimeResponseSuccess
968
984
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreDBClusterToPointInTimeResponseSuccess
data/sig/types.rbs CHANGED
@@ -134,6 +134,7 @@ module Aws::DocDB
134
134
  attr_accessor deletion_protection: bool
135
135
  attr_accessor global_cluster_identifier: ::String
136
136
  attr_accessor storage_type: ::String
137
+ attr_accessor serverless_v2_scaling_configuration: Types::ServerlessV2ScalingConfiguration
137
138
  attr_accessor manage_master_user_password: bool
138
139
  attr_accessor master_user_secret_kms_key_id: ::String
139
140
  attr_accessor source_region: ::String
@@ -271,6 +272,7 @@ module Aws::DocDB
271
272
  attr_accessor enabled_cloudwatch_logs_exports: ::Array[::String]
272
273
  attr_accessor deletion_protection: bool
273
274
  attr_accessor storage_type: ::String
275
+ attr_accessor serverless_v2_scaling_configuration: Types::ServerlessV2ScalingConfigurationInfo
274
276
  attr_accessor master_user_secret: Types::ClusterMasterUserSecret
275
277
  SENSITIVE: []
276
278
  end
@@ -389,6 +391,7 @@ module Aws::DocDB
389
391
  attr_accessor supports_log_exports_to_cloudwatch_logs: bool
390
392
  attr_accessor supported_ca_certificate_identifiers: ::Array[::String]
391
393
  attr_accessor supports_certificate_rotation_without_restart: bool
394
+ attr_accessor serverless_v2_features_support: Types::ServerlessV2FeaturesSupport
392
395
  SENSITIVE: []
393
396
  end
394
397
 
@@ -924,6 +927,7 @@ module Aws::DocDB
924
927
  attr_accessor allow_major_version_upgrade: bool
925
928
  attr_accessor deletion_protection: bool
926
929
  attr_accessor storage_type: ::String
930
+ attr_accessor serverless_v2_scaling_configuration: Types::ServerlessV2ScalingConfiguration
927
931
  attr_accessor manage_master_user_password: bool
928
932
  attr_accessor master_user_secret_kms_key_id: ::String
929
933
  attr_accessor rotate_master_user_password: bool
@@ -1153,6 +1157,7 @@ module Aws::DocDB
1153
1157
  attr_accessor enable_cloudwatch_logs_exports: ::Array[::String]
1154
1158
  attr_accessor deletion_protection: bool
1155
1159
  attr_accessor db_cluster_parameter_group_name: ::String
1160
+ attr_accessor serverless_v2_scaling_configuration: Types::ServerlessV2ScalingConfiguration
1156
1161
  attr_accessor storage_type: ::String
1157
1162
  SENSITIVE: []
1158
1163
  end
@@ -1175,6 +1180,7 @@ module Aws::DocDB
1175
1180
  attr_accessor kms_key_id: ::String
1176
1181
  attr_accessor enable_cloudwatch_logs_exports: ::Array[::String]
1177
1182
  attr_accessor deletion_protection: bool
1183
+ attr_accessor serverless_v2_scaling_configuration: Types::ServerlessV2ScalingConfiguration
1178
1184
  attr_accessor storage_type: ::String
1179
1185
  SENSITIVE: []
1180
1186
  end
@@ -1193,6 +1199,24 @@ module Aws::DocDB
1193
1199
  class SNSTopicArnNotFoundFault < Aws::EmptyStructure
1194
1200
  end
1195
1201
 
1202
+ class ServerlessV2FeaturesSupport
1203
+ attr_accessor min_capacity: ::Float
1204
+ attr_accessor max_capacity: ::Float
1205
+ SENSITIVE: []
1206
+ end
1207
+
1208
+ class ServerlessV2ScalingConfiguration
1209
+ attr_accessor min_capacity: ::Float
1210
+ attr_accessor max_capacity: ::Float
1211
+ SENSITIVE: []
1212
+ end
1213
+
1214
+ class ServerlessV2ScalingConfigurationInfo
1215
+ attr_accessor min_capacity: ::Float
1216
+ attr_accessor max_capacity: ::Float
1217
+ SENSITIVE: []
1218
+ end
1219
+
1196
1220
  class SharedSnapshotQuotaExceededFault < Aws::EmptyStructure
1197
1221
  end
1198
1222
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-docdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.88.0
4
+ version: 1.89.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services