aws-sdk-docdb 1.115.0 → 1.116.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-docdb/client.rb +94 -1
- data/lib/aws-sdk-docdb/client_api.rb +42 -0
- data/lib/aws-sdk-docdb/types.rb +138 -0
- data/lib/aws-sdk-docdb.rb +1 -1
- data/sig/client.rbs +22 -0
- data/sig/types.rbs +28 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 035d30f3d86818bc1ae433354beeb4414ef597c34d6d6719b33be5d248ccfa39
|
|
4
|
+
data.tar.gz: dbabd8c4aa063e41521a583fecf4117a13654ad77f2a848bc7777647f6f8b3af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 56cea6e01508fa20f369c1cdda8a438b7a4b0ec3f22f4fb83431a69d9484beffc281e201e8b5818482dc78e730449985e8fa89efd14d71bc0a8211b2abab1f6a
|
|
7
|
+
data.tar.gz: 0d6e0ce463da17d58abe5c037cdee0bc9c86d76e20fdeeb21235654aacb3c7a25cdb5d99fd57a333a6f85af73647f288241dcca7de363561cf6078bf7cf4b3cd
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.116.0 (2026-10-30)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon DocumentDB now returns ServerlessV2PlatformVersion in DBCluster API responses and adds the DescribeServerlessV2PlatformVersions API to discover available platform versions and their capabilities.
|
|
8
|
+
|
|
4
9
|
1.115.0 (2026-10-29)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.116.0
|
data/lib/aws-sdk-docdb/client.rb
CHANGED
|
@@ -1205,6 +1205,7 @@ module Aws::DocDB
|
|
|
1205
1205
|
# resp.db_cluster.storage_type #=> String
|
|
1206
1206
|
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
|
1207
1207
|
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
|
1208
|
+
# resp.db_cluster.serverless_v2_platform_version #=> String
|
|
1208
1209
|
# resp.db_cluster.master_user_secret.secret_arn #=> String
|
|
1209
1210
|
# resp.db_cluster.master_user_secret.secret_status #=> String
|
|
1210
1211
|
# resp.db_cluster.master_user_secret.kms_key_id #=> String
|
|
@@ -1977,6 +1978,7 @@ module Aws::DocDB
|
|
|
1977
1978
|
# resp.db_cluster.storage_type #=> String
|
|
1978
1979
|
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
|
1979
1980
|
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
|
1981
|
+
# resp.db_cluster.serverless_v2_platform_version #=> String
|
|
1980
1982
|
# resp.db_cluster.master_user_secret.secret_arn #=> String
|
|
1981
1983
|
# resp.db_cluster.master_user_secret.secret_status #=> String
|
|
1982
1984
|
# resp.db_cluster.master_user_secret.kms_key_id #=> String
|
|
@@ -2843,6 +2845,7 @@ module Aws::DocDB
|
|
|
2843
2845
|
# resp.db_clusters[0].storage_type #=> String
|
|
2844
2846
|
# resp.db_clusters[0].serverless_v2_scaling_configuration.min_capacity #=> Float
|
|
2845
2847
|
# resp.db_clusters[0].serverless_v2_scaling_configuration.max_capacity #=> Float
|
|
2848
|
+
# resp.db_clusters[0].serverless_v2_platform_version #=> String
|
|
2846
2849
|
# resp.db_clusters[0].master_user_secret.secret_arn #=> String
|
|
2847
2850
|
# resp.db_clusters[0].master_user_secret.secret_status #=> String
|
|
2848
2851
|
# resp.db_clusters[0].master_user_secret.kms_key_id #=> String
|
|
@@ -3748,6 +3751,90 @@ module Aws::DocDB
|
|
|
3748
3751
|
req.send_request(options)
|
|
3749
3752
|
end
|
|
3750
3753
|
|
|
3754
|
+
# Describes the properties of specific platform versions for Amazon
|
|
3755
|
+
# DocumentDB Serverless v2.
|
|
3756
|
+
#
|
|
3757
|
+
# @option params [String] :serverless_v2_platform_version
|
|
3758
|
+
# A specific platform version to return details for.
|
|
3759
|
+
#
|
|
3760
|
+
# Example: `3`
|
|
3761
|
+
#
|
|
3762
|
+
# @option params [String] :engine
|
|
3763
|
+
# The database engine to return platform version details for.
|
|
3764
|
+
#
|
|
3765
|
+
# @option params [Array<Types::Filter>] :filters
|
|
3766
|
+
# This parameter isn't currently supported.
|
|
3767
|
+
#
|
|
3768
|
+
# @option params [Boolean] :default_only
|
|
3769
|
+
# Specifies whether to return only the default platform versions for
|
|
3770
|
+
# each engine. The default platform version is the version used for new
|
|
3771
|
+
# DB clusters.
|
|
3772
|
+
#
|
|
3773
|
+
# @option params [Boolean] :include_all
|
|
3774
|
+
# Specifies whether to also include platform versions that are no longer
|
|
3775
|
+
# in use. If you don't specify a value, the response includes only
|
|
3776
|
+
# active platform versions.
|
|
3777
|
+
#
|
|
3778
|
+
# @option params [Integer] :max_records
|
|
3779
|
+
# The maximum number of records to include in the response. If more
|
|
3780
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
|
3781
|
+
# token (marker) is included in the response so that the remaining
|
|
3782
|
+
# results can be retrieved.
|
|
3783
|
+
#
|
|
3784
|
+
# Default: 100
|
|
3785
|
+
#
|
|
3786
|
+
# Constraints: Minimum 20, maximum 100.
|
|
3787
|
+
#
|
|
3788
|
+
# @option params [String] :marker
|
|
3789
|
+
# An optional pagination token provided by a previous request. If this
|
|
3790
|
+
# parameter is specified, the response includes only records beyond the
|
|
3791
|
+
# marker, up to the value specified by `MaxRecords`.
|
|
3792
|
+
#
|
|
3793
|
+
# @return [Types::ServerlessV2PlatformVersionsMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3794
|
+
#
|
|
3795
|
+
# * {Types::ServerlessV2PlatformVersionsMessage#marker #marker} => String
|
|
3796
|
+
# * {Types::ServerlessV2PlatformVersionsMessage#serverless_v2_platform_versions #serverless_v2_platform_versions} => Array<Types::ServerlessV2PlatformVersionInfo>
|
|
3797
|
+
#
|
|
3798
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3799
|
+
#
|
|
3800
|
+
# @example Request syntax with placeholder values
|
|
3801
|
+
#
|
|
3802
|
+
# resp = client.describe_serverless_v2_platform_versions({
|
|
3803
|
+
# serverless_v2_platform_version: "String",
|
|
3804
|
+
# engine: "String",
|
|
3805
|
+
# filters: [
|
|
3806
|
+
# {
|
|
3807
|
+
# name: "String", # required
|
|
3808
|
+
# values: ["String"], # required
|
|
3809
|
+
# },
|
|
3810
|
+
# ],
|
|
3811
|
+
# default_only: false,
|
|
3812
|
+
# include_all: false,
|
|
3813
|
+
# max_records: 1,
|
|
3814
|
+
# marker: "String",
|
|
3815
|
+
# })
|
|
3816
|
+
#
|
|
3817
|
+
# @example Response structure
|
|
3818
|
+
#
|
|
3819
|
+
# resp.marker #=> String
|
|
3820
|
+
# resp.serverless_v2_platform_versions #=> Array
|
|
3821
|
+
# resp.serverless_v2_platform_versions[0].serverless_v2_platform_version #=> String
|
|
3822
|
+
# resp.serverless_v2_platform_versions[0].serverless_v2_platform_version_description #=> String
|
|
3823
|
+
# resp.serverless_v2_platform_versions[0].engine #=> String
|
|
3824
|
+
# resp.serverless_v2_platform_versions[0].serverless_v2_features_support.min_capacity #=> Float
|
|
3825
|
+
# resp.serverless_v2_platform_versions[0].serverless_v2_features_support.max_capacity #=> Float
|
|
3826
|
+
# resp.serverless_v2_platform_versions[0].status #=> String
|
|
3827
|
+
# resp.serverless_v2_platform_versions[0].is_default #=> Boolean
|
|
3828
|
+
#
|
|
3829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeServerlessV2PlatformVersions AWS API Documentation
|
|
3830
|
+
#
|
|
3831
|
+
# @overload describe_serverless_v2_platform_versions(params = {})
|
|
3832
|
+
# @param [Hash] params ({})
|
|
3833
|
+
def describe_serverless_v2_platform_versions(params = {}, options = {})
|
|
3834
|
+
req = build_request(:describe_serverless_v2_platform_versions, params)
|
|
3835
|
+
req.send_request(options)
|
|
3836
|
+
end
|
|
3837
|
+
|
|
3751
3838
|
# Forces a failover for a cluster.
|
|
3752
3839
|
#
|
|
3753
3840
|
# A failover for a cluster promotes one of the Amazon DocumentDB
|
|
@@ -3835,6 +3922,7 @@ module Aws::DocDB
|
|
|
3835
3922
|
# resp.db_cluster.storage_type #=> String
|
|
3836
3923
|
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
|
3837
3924
|
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
|
3925
|
+
# resp.db_cluster.serverless_v2_platform_version #=> String
|
|
3838
3926
|
# resp.db_cluster.master_user_secret.secret_arn #=> String
|
|
3839
3927
|
# resp.db_cluster.master_user_secret.secret_status #=> String
|
|
3840
3928
|
# resp.db_cluster.master_user_secret.kms_key_id #=> String
|
|
@@ -4332,6 +4420,7 @@ module Aws::DocDB
|
|
|
4332
4420
|
# resp.db_cluster.storage_type #=> String
|
|
4333
4421
|
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
|
4334
4422
|
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
|
4423
|
+
# resp.db_cluster.serverless_v2_platform_version #=> String
|
|
4335
4424
|
# resp.db_cluster.master_user_secret.secret_arn #=> String
|
|
4336
4425
|
# resp.db_cluster.master_user_secret.secret_status #=> String
|
|
4337
4426
|
# resp.db_cluster.master_user_secret.kms_key_id #=> String
|
|
@@ -5467,6 +5556,7 @@ module Aws::DocDB
|
|
|
5467
5556
|
# resp.db_cluster.storage_type #=> String
|
|
5468
5557
|
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
|
5469
5558
|
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
|
5559
|
+
# resp.db_cluster.serverless_v2_platform_version #=> String
|
|
5470
5560
|
# resp.db_cluster.master_user_secret.secret_arn #=> String
|
|
5471
5561
|
# resp.db_cluster.master_user_secret.secret_status #=> String
|
|
5472
5562
|
# resp.db_cluster.master_user_secret.kms_key_id #=> String
|
|
@@ -5729,6 +5819,7 @@ module Aws::DocDB
|
|
|
5729
5819
|
# resp.db_cluster.storage_type #=> String
|
|
5730
5820
|
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
|
5731
5821
|
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
|
5822
|
+
# resp.db_cluster.serverless_v2_platform_version #=> String
|
|
5732
5823
|
# resp.db_cluster.master_user_secret.secret_arn #=> String
|
|
5733
5824
|
# resp.db_cluster.master_user_secret.secret_status #=> String
|
|
5734
5825
|
# resp.db_cluster.master_user_secret.kms_key_id #=> String
|
|
@@ -5815,6 +5906,7 @@ module Aws::DocDB
|
|
|
5815
5906
|
# resp.db_cluster.storage_type #=> String
|
|
5816
5907
|
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
|
5817
5908
|
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
|
5909
|
+
# resp.db_cluster.serverless_v2_platform_version #=> String
|
|
5818
5910
|
# resp.db_cluster.master_user_secret.secret_arn #=> String
|
|
5819
5911
|
# resp.db_cluster.master_user_secret.secret_status #=> String
|
|
5820
5912
|
# resp.db_cluster.master_user_secret.kms_key_id #=> String
|
|
@@ -5901,6 +5993,7 @@ module Aws::DocDB
|
|
|
5901
5993
|
# resp.db_cluster.storage_type #=> String
|
|
5902
5994
|
# resp.db_cluster.serverless_v2_scaling_configuration.min_capacity #=> Float
|
|
5903
5995
|
# resp.db_cluster.serverless_v2_scaling_configuration.max_capacity #=> Float
|
|
5996
|
+
# resp.db_cluster.serverless_v2_platform_version #=> String
|
|
5904
5997
|
# resp.db_cluster.master_user_secret.secret_arn #=> String
|
|
5905
5998
|
# resp.db_cluster.master_user_secret.secret_status #=> String
|
|
5906
5999
|
# resp.db_cluster.master_user_secret.kms_key_id #=> String
|
|
@@ -6012,7 +6105,7 @@ module Aws::DocDB
|
|
|
6012
6105
|
tracer: tracer
|
|
6013
6106
|
)
|
|
6014
6107
|
context[:gem_name] = 'aws-sdk-docdb'
|
|
6015
|
-
context[:gem_version] = '1.
|
|
6108
|
+
context[:gem_version] = '1.116.0'
|
|
6016
6109
|
Seahorse::Client::Request.new(handlers, context)
|
|
6017
6110
|
end
|
|
6018
6111
|
|
|
@@ -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
|
+
DescribeServerlessV2PlatformVersionsMessage = Shapes::StructureShape.new(name: 'DescribeServerlessV2PlatformVersionsMessage')
|
|
136
137
|
DoubleOptional = Shapes::FloatShape.new(name: 'DoubleOptional')
|
|
137
138
|
Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
|
|
138
139
|
EngineDefaults = Shapes::StructureShape.new(name: 'EngineDefaults')
|
|
@@ -235,6 +236,9 @@ module Aws::DocDB
|
|
|
235
236
|
SNSNoAuthorizationFault = Shapes::StructureShape.new(name: 'SNSNoAuthorizationFault', error: {"code" => "SNSNoAuthorization", "httpStatusCode" => 400, "senderFault" => true})
|
|
236
237
|
SNSTopicArnNotFoundFault = Shapes::StructureShape.new(name: 'SNSTopicArnNotFoundFault', error: {"code" => "SNSTopicArnNotFound", "httpStatusCode" => 404, "senderFault" => true})
|
|
237
238
|
ServerlessV2FeaturesSupport = Shapes::StructureShape.new(name: 'ServerlessV2FeaturesSupport')
|
|
239
|
+
ServerlessV2PlatformVersionInfo = Shapes::StructureShape.new(name: 'ServerlessV2PlatformVersionInfo')
|
|
240
|
+
ServerlessV2PlatformVersionList = Shapes::ListShape.new(name: 'ServerlessV2PlatformVersionList')
|
|
241
|
+
ServerlessV2PlatformVersionsMessage = Shapes::StructureShape.new(name: 'ServerlessV2PlatformVersionsMessage')
|
|
238
242
|
ServerlessV2ScalingConfiguration = Shapes::StructureShape.new(name: 'ServerlessV2ScalingConfiguration')
|
|
239
243
|
ServerlessV2ScalingConfigurationInfo = Shapes::StructureShape.new(name: 'ServerlessV2ScalingConfigurationInfo')
|
|
240
244
|
SharedSnapshotQuotaExceededFault = Shapes::StructureShape.new(name: 'SharedSnapshotQuotaExceededFault', error: {"code" => "SharedSnapshotQuotaExceeded", "httpStatusCode" => 400, "senderFault" => true})
|
|
@@ -485,6 +489,7 @@ module Aws::DocDB
|
|
|
485
489
|
DBCluster.add_member(:io_optimized_next_allowed_modification_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "IOOptimizedNextAllowedModificationTime"))
|
|
486
490
|
DBCluster.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
|
|
487
491
|
DBCluster.add_member(:serverless_v2_scaling_configuration, Shapes::ShapeRef.new(shape: ServerlessV2ScalingConfigurationInfo, location_name: "ServerlessV2ScalingConfiguration"))
|
|
492
|
+
DBCluster.add_member(:serverless_v2_platform_version, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessV2PlatformVersion"))
|
|
488
493
|
DBCluster.add_member(:master_user_secret, Shapes::ShapeRef.new(shape: ClusterMasterUserSecret, location_name: "MasterUserSecret"))
|
|
489
494
|
DBCluster.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
|
490
495
|
DBCluster.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTagsToSnapshot"))
|
|
@@ -839,6 +844,15 @@ module Aws::DocDB
|
|
|
839
844
|
DescribePendingMaintenanceActionsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
|
840
845
|
DescribePendingMaintenanceActionsMessage.struct_class = Types::DescribePendingMaintenanceActionsMessage
|
|
841
846
|
|
|
847
|
+
DescribeServerlessV2PlatformVersionsMessage.add_member(:serverless_v2_platform_version, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessV2PlatformVersion"))
|
|
848
|
+
DescribeServerlessV2PlatformVersionsMessage.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
|
849
|
+
DescribeServerlessV2PlatformVersionsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
|
850
|
+
DescribeServerlessV2PlatformVersionsMessage.add_member(:default_only, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DefaultOnly"))
|
|
851
|
+
DescribeServerlessV2PlatformVersionsMessage.add_member(:include_all, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "IncludeAll"))
|
|
852
|
+
DescribeServerlessV2PlatformVersionsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
|
853
|
+
DescribeServerlessV2PlatformVersionsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
|
854
|
+
DescribeServerlessV2PlatformVersionsMessage.struct_class = Types::DescribeServerlessV2PlatformVersionsMessage
|
|
855
|
+
|
|
842
856
|
Endpoint.add_member(:address, Shapes::ShapeRef.new(shape: String, location_name: "Address"))
|
|
843
857
|
Endpoint.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "Port"))
|
|
844
858
|
Endpoint.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "HostedZoneId"))
|
|
@@ -1246,6 +1260,20 @@ module Aws::DocDB
|
|
|
1246
1260
|
ServerlessV2FeaturesSupport.add_member(:max_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxCapacity"))
|
|
1247
1261
|
ServerlessV2FeaturesSupport.struct_class = Types::ServerlessV2FeaturesSupport
|
|
1248
1262
|
|
|
1263
|
+
ServerlessV2PlatformVersionInfo.add_member(:serverless_v2_platform_version, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessV2PlatformVersion"))
|
|
1264
|
+
ServerlessV2PlatformVersionInfo.add_member(:serverless_v2_platform_version_description, Shapes::ShapeRef.new(shape: String, location_name: "ServerlessV2PlatformVersionDescription"))
|
|
1265
|
+
ServerlessV2PlatformVersionInfo.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
|
1266
|
+
ServerlessV2PlatformVersionInfo.add_member(:serverless_v2_features_support, Shapes::ShapeRef.new(shape: ServerlessV2FeaturesSupport, location_name: "ServerlessV2FeaturesSupport"))
|
|
1267
|
+
ServerlessV2PlatformVersionInfo.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
|
1268
|
+
ServerlessV2PlatformVersionInfo.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefault"))
|
|
1269
|
+
ServerlessV2PlatformVersionInfo.struct_class = Types::ServerlessV2PlatformVersionInfo
|
|
1270
|
+
|
|
1271
|
+
ServerlessV2PlatformVersionList.member = Shapes::ShapeRef.new(shape: ServerlessV2PlatformVersionInfo, location_name: "ServerlessV2PlatformVersionInfo")
|
|
1272
|
+
|
|
1273
|
+
ServerlessV2PlatformVersionsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
|
1274
|
+
ServerlessV2PlatformVersionsMessage.add_member(:serverless_v2_platform_versions, Shapes::ShapeRef.new(shape: ServerlessV2PlatformVersionList, location_name: "ServerlessV2PlatformVersions"))
|
|
1275
|
+
ServerlessV2PlatformVersionsMessage.struct_class = Types::ServerlessV2PlatformVersionsMessage
|
|
1276
|
+
|
|
1249
1277
|
ServerlessV2ScalingConfiguration.add_member(:min_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinCapacity"))
|
|
1250
1278
|
ServerlessV2ScalingConfiguration.add_member(:max_capacity, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxCapacity"))
|
|
1251
1279
|
ServerlessV2ScalingConfiguration.struct_class = Types::ServerlessV2ScalingConfiguration
|
|
@@ -1812,6 +1840,20 @@ module Aws::DocDB
|
|
|
1812
1840
|
)
|
|
1813
1841
|
end)
|
|
1814
1842
|
|
|
1843
|
+
api.add_operation(:describe_serverless_v2_platform_versions, Seahorse::Model::Operation.new.tap do |o|
|
|
1844
|
+
o.name = "DescribeServerlessV2PlatformVersions"
|
|
1845
|
+
o.http_method = "POST"
|
|
1846
|
+
o.http_request_uri = "/"
|
|
1847
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeServerlessV2PlatformVersionsMessage)
|
|
1848
|
+
o.output = Shapes::ShapeRef.new(shape: ServerlessV2PlatformVersionsMessage)
|
|
1849
|
+
o[:pager] = Aws::Pager.new(
|
|
1850
|
+
limit_key: "max_records",
|
|
1851
|
+
tokens: {
|
|
1852
|
+
"marker" => "marker"
|
|
1853
|
+
}
|
|
1854
|
+
)
|
|
1855
|
+
end)
|
|
1856
|
+
|
|
1815
1857
|
api.add_operation(:failover_db_cluster, Seahorse::Model::Operation.new.tap do |o|
|
|
1816
1858
|
o.name = "FailoverDBCluster"
|
|
1817
1859
|
o.http_method = "POST"
|
data/lib/aws-sdk-docdb/types.rb
CHANGED
|
@@ -1490,6 +1490,11 @@ module Aws::DocDB
|
|
|
1490
1490
|
# cluster.
|
|
1491
1491
|
# @return [Types::ServerlessV2ScalingConfigurationInfo]
|
|
1492
1492
|
#
|
|
1493
|
+
# @!attribute [rw] serverless_v2_platform_version
|
|
1494
|
+
# The version of the Amazon DocumentDB Serverless platform used by the
|
|
1495
|
+
# cluster.
|
|
1496
|
+
# @return [String]
|
|
1497
|
+
#
|
|
1493
1498
|
# @!attribute [rw] master_user_secret
|
|
1494
1499
|
# The secret managed by Amazon DocumentDB in Amazon Web Services
|
|
1495
1500
|
# Secrets Manager for the master user password.
|
|
@@ -1555,6 +1560,7 @@ module Aws::DocDB
|
|
|
1555
1560
|
:io_optimized_next_allowed_modification_time,
|
|
1556
1561
|
:storage_type,
|
|
1557
1562
|
:serverless_v2_scaling_configuration,
|
|
1563
|
+
:serverless_v2_platform_version,
|
|
1558
1564
|
:master_user_secret,
|
|
1559
1565
|
:network_type,
|
|
1560
1566
|
:copy_tags_to_snapshot)
|
|
@@ -3574,6 +3580,65 @@ module Aws::DocDB
|
|
|
3574
3580
|
include Aws::Structure
|
|
3575
3581
|
end
|
|
3576
3582
|
|
|
3583
|
+
# The input for the `DescribeServerlessV2PlatformVersions` operation.
|
|
3584
|
+
#
|
|
3585
|
+
# @!attribute [rw] serverless_v2_platform_version
|
|
3586
|
+
# A specific platform version to return details for.
|
|
3587
|
+
#
|
|
3588
|
+
# Example: `3`
|
|
3589
|
+
# @return [String]
|
|
3590
|
+
#
|
|
3591
|
+
# @!attribute [rw] engine
|
|
3592
|
+
# The database engine to return platform version details for.
|
|
3593
|
+
# @return [String]
|
|
3594
|
+
#
|
|
3595
|
+
# @!attribute [rw] filters
|
|
3596
|
+
# This parameter isn't currently supported.
|
|
3597
|
+
# @return [Array<Types::Filter>]
|
|
3598
|
+
#
|
|
3599
|
+
# @!attribute [rw] default_only
|
|
3600
|
+
# Specifies whether to return only the default platform versions for
|
|
3601
|
+
# each engine. The default platform version is the version used for
|
|
3602
|
+
# new DB clusters.
|
|
3603
|
+
# @return [Boolean]
|
|
3604
|
+
#
|
|
3605
|
+
# @!attribute [rw] include_all
|
|
3606
|
+
# Specifies whether to also include platform versions that are no
|
|
3607
|
+
# longer in use. If you don't specify a value, the response includes
|
|
3608
|
+
# only active platform versions.
|
|
3609
|
+
# @return [Boolean]
|
|
3610
|
+
#
|
|
3611
|
+
# @!attribute [rw] max_records
|
|
3612
|
+
# The maximum number of records to include in the response. If more
|
|
3613
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
|
3614
|
+
# token (marker) is included in the response so that the remaining
|
|
3615
|
+
# results can be retrieved.
|
|
3616
|
+
#
|
|
3617
|
+
# Default: 100
|
|
3618
|
+
#
|
|
3619
|
+
# Constraints: Minimum 20, maximum 100.
|
|
3620
|
+
# @return [Integer]
|
|
3621
|
+
#
|
|
3622
|
+
# @!attribute [rw] marker
|
|
3623
|
+
# An optional pagination token provided by a previous request. If this
|
|
3624
|
+
# parameter is specified, the response includes only records beyond
|
|
3625
|
+
# the marker, up to the value specified by `MaxRecords`.
|
|
3626
|
+
# @return [String]
|
|
3627
|
+
#
|
|
3628
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeServerlessV2PlatformVersionsMessage AWS API Documentation
|
|
3629
|
+
#
|
|
3630
|
+
class DescribeServerlessV2PlatformVersionsMessage < Struct.new(
|
|
3631
|
+
:serverless_v2_platform_version,
|
|
3632
|
+
:engine,
|
|
3633
|
+
:filters,
|
|
3634
|
+
:default_only,
|
|
3635
|
+
:include_all,
|
|
3636
|
+
:max_records,
|
|
3637
|
+
:marker)
|
|
3638
|
+
SENSITIVE = []
|
|
3639
|
+
include Aws::Structure
|
|
3640
|
+
end
|
|
3641
|
+
|
|
3577
3642
|
# Network information for accessing a cluster or instance. Client
|
|
3578
3643
|
# programs must specify a valid endpoint to access these Amazon
|
|
3579
3644
|
# DocumentDB resources.
|
|
@@ -6013,6 +6078,79 @@ module Aws::DocDB
|
|
|
6013
6078
|
include Aws::Structure
|
|
6014
6079
|
end
|
|
6015
6080
|
|
|
6081
|
+
# Contains details about a specific Amazon DocumentDB Serverless
|
|
6082
|
+
# platform version, including its version number, status, engine, and
|
|
6083
|
+
# supported features.
|
|
6084
|
+
#
|
|
6085
|
+
# @!attribute [rw] serverless_v2_platform_version
|
|
6086
|
+
# The version number of the serverless platform.
|
|
6087
|
+
# @return [String]
|
|
6088
|
+
#
|
|
6089
|
+
# @!attribute [rw] serverless_v2_platform_version_description
|
|
6090
|
+
# The description of the serverless platform.
|
|
6091
|
+
# @return [String]
|
|
6092
|
+
#
|
|
6093
|
+
# @!attribute [rw] engine
|
|
6094
|
+
# The name of the database engine.
|
|
6095
|
+
# @return [String]
|
|
6096
|
+
#
|
|
6097
|
+
# @!attribute [rw] serverless_v2_features_support
|
|
6098
|
+
# Specifies any Amazon DocumentDB Serverless v2 properties or limits
|
|
6099
|
+
# that differ between platform versions. You can retrieve the platform
|
|
6100
|
+
# version of an existing cluster and check whether it supports
|
|
6101
|
+
# specific features before you use them.
|
|
6102
|
+
# @return [Types::ServerlessV2FeaturesSupport]
|
|
6103
|
+
#
|
|
6104
|
+
# @!attribute [rw] status
|
|
6105
|
+
# The status of the serverless platform. Valid statuses are the
|
|
6106
|
+
# following:
|
|
6107
|
+
#
|
|
6108
|
+
# * `enabled` - The platform version is in use.
|
|
6109
|
+
#
|
|
6110
|
+
# * `disabled` - The platform version is not in use.
|
|
6111
|
+
# @return [String]
|
|
6112
|
+
#
|
|
6113
|
+
# @!attribute [rw] is_default
|
|
6114
|
+
# Specifies whether this platform version is the default version for
|
|
6115
|
+
# the engine. The default platform version is the version used for new
|
|
6116
|
+
# DB clusters.
|
|
6117
|
+
# @return [Boolean]
|
|
6118
|
+
#
|
|
6119
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ServerlessV2PlatformVersionInfo AWS API Documentation
|
|
6120
|
+
#
|
|
6121
|
+
class ServerlessV2PlatformVersionInfo < Struct.new(
|
|
6122
|
+
:serverless_v2_platform_version,
|
|
6123
|
+
:serverless_v2_platform_version_description,
|
|
6124
|
+
:engine,
|
|
6125
|
+
:serverless_v2_features_support,
|
|
6126
|
+
:status,
|
|
6127
|
+
:is_default)
|
|
6128
|
+
SENSITIVE = []
|
|
6129
|
+
include Aws::Structure
|
|
6130
|
+
end
|
|
6131
|
+
|
|
6132
|
+
# Contains the result of a successful invocation of the
|
|
6133
|
+
# `DescribeServerlessV2PlatformVersions` operation.
|
|
6134
|
+
#
|
|
6135
|
+
# @!attribute [rw] marker
|
|
6136
|
+
# An optional pagination token provided by a previous request. If this
|
|
6137
|
+
# parameter is specified, the response includes only records beyond
|
|
6138
|
+
# the marker, up to the value specified by `MaxRecords`.
|
|
6139
|
+
# @return [String]
|
|
6140
|
+
#
|
|
6141
|
+
# @!attribute [rw] serverless_v2_platform_versions
|
|
6142
|
+
# A list of `ServerlessV2PlatformVersionInfo` elements.
|
|
6143
|
+
# @return [Array<Types::ServerlessV2PlatformVersionInfo>]
|
|
6144
|
+
#
|
|
6145
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ServerlessV2PlatformVersionsMessage AWS API Documentation
|
|
6146
|
+
#
|
|
6147
|
+
class ServerlessV2PlatformVersionsMessage < Struct.new(
|
|
6148
|
+
:marker,
|
|
6149
|
+
:serverless_v2_platform_versions)
|
|
6150
|
+
SENSITIVE = []
|
|
6151
|
+
include Aws::Structure
|
|
6152
|
+
end
|
|
6153
|
+
|
|
6016
6154
|
# Sets the scaling configuration of an Amazon DocumentDB Serverless
|
|
6017
6155
|
# cluster.
|
|
6018
6156
|
#
|
data/lib/aws-sdk-docdb.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -688,6 +688,28 @@ module Aws
|
|
|
688
688
|
) -> _DescribePendingMaintenanceActionsResponseSuccess
|
|
689
689
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePendingMaintenanceActionsResponseSuccess
|
|
690
690
|
|
|
691
|
+
interface _DescribeServerlessV2PlatformVersionsResponseSuccess
|
|
692
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ServerlessV2PlatformVersionsMessage]
|
|
693
|
+
def marker: () -> ::String
|
|
694
|
+
def serverless_v2_platform_versions: () -> ::Array[Types::ServerlessV2PlatformVersionInfo]
|
|
695
|
+
end
|
|
696
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDB/Client.html#describe_serverless_v2_platform_versions-instance_method
|
|
697
|
+
def describe_serverless_v2_platform_versions: (
|
|
698
|
+
?serverless_v2_platform_version: ::String,
|
|
699
|
+
?engine: ::String,
|
|
700
|
+
?filters: Array[
|
|
701
|
+
{
|
|
702
|
+
name: ::String,
|
|
703
|
+
values: Array[::String]
|
|
704
|
+
}
|
|
705
|
+
],
|
|
706
|
+
?default_only: bool,
|
|
707
|
+
?include_all: bool,
|
|
708
|
+
?max_records: ::Integer,
|
|
709
|
+
?marker: ::String
|
|
710
|
+
) -> _DescribeServerlessV2PlatformVersionsResponseSuccess
|
|
711
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeServerlessV2PlatformVersionsResponseSuccess
|
|
712
|
+
|
|
691
713
|
interface _FailoverDBClusterResponseSuccess
|
|
692
714
|
include ::Seahorse::Client::_ResponseSuccess[Types::FailoverDBClusterResult]
|
|
693
715
|
def db_cluster: () -> Types::DBCluster
|
data/sig/types.rbs
CHANGED
|
@@ -276,6 +276,7 @@ module Aws::DocDB
|
|
|
276
276
|
attr_accessor io_optimized_next_allowed_modification_time: ::Time
|
|
277
277
|
attr_accessor storage_type: ::String
|
|
278
278
|
attr_accessor serverless_v2_scaling_configuration: Types::ServerlessV2ScalingConfigurationInfo
|
|
279
|
+
attr_accessor serverless_v2_platform_version: ::String
|
|
279
280
|
attr_accessor master_user_secret: Types::ClusterMasterUserSecret
|
|
280
281
|
attr_accessor network_type: ::String
|
|
281
282
|
attr_accessor copy_tags_to_snapshot: bool
|
|
@@ -727,6 +728,17 @@ module Aws::DocDB
|
|
|
727
728
|
SENSITIVE: []
|
|
728
729
|
end
|
|
729
730
|
|
|
731
|
+
class DescribeServerlessV2PlatformVersionsMessage
|
|
732
|
+
attr_accessor serverless_v2_platform_version: ::String
|
|
733
|
+
attr_accessor engine: ::String
|
|
734
|
+
attr_accessor filters: ::Array[Types::Filter]
|
|
735
|
+
attr_accessor default_only: bool
|
|
736
|
+
attr_accessor include_all: bool
|
|
737
|
+
attr_accessor max_records: ::Integer
|
|
738
|
+
attr_accessor marker: ::String
|
|
739
|
+
SENSITIVE: []
|
|
740
|
+
end
|
|
741
|
+
|
|
730
742
|
class Endpoint
|
|
731
743
|
attr_accessor address: ::String
|
|
732
744
|
attr_accessor port: ::Integer
|
|
@@ -1231,6 +1243,22 @@ module Aws::DocDB
|
|
|
1231
1243
|
SENSITIVE: []
|
|
1232
1244
|
end
|
|
1233
1245
|
|
|
1246
|
+
class ServerlessV2PlatformVersionInfo
|
|
1247
|
+
attr_accessor serverless_v2_platform_version: ::String
|
|
1248
|
+
attr_accessor serverless_v2_platform_version_description: ::String
|
|
1249
|
+
attr_accessor engine: ::String
|
|
1250
|
+
attr_accessor serverless_v2_features_support: Types::ServerlessV2FeaturesSupport
|
|
1251
|
+
attr_accessor status: ::String
|
|
1252
|
+
attr_accessor is_default: bool
|
|
1253
|
+
SENSITIVE: []
|
|
1254
|
+
end
|
|
1255
|
+
|
|
1256
|
+
class ServerlessV2PlatformVersionsMessage
|
|
1257
|
+
attr_accessor marker: ::String
|
|
1258
|
+
attr_accessor serverless_v2_platform_versions: ::Array[Types::ServerlessV2PlatformVersionInfo]
|
|
1259
|
+
SENSITIVE: []
|
|
1260
|
+
end
|
|
1261
|
+
|
|
1234
1262
|
class ServerlessV2ScalingConfiguration
|
|
1235
1263
|
attr_accessor min_capacity: ::Float
|
|
1236
1264
|
attr_accessor max_capacity: ::Float
|