aws-sdk-opensearchserverless 1.58.0 → 1.60.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchserverless/client.rb +33 -8
- data/lib/aws-sdk-opensearchserverless/client_api.rb +34 -6
- data/lib/aws-sdk-opensearchserverless/types.rb +117 -6
- data/lib/aws-sdk-opensearchserverless.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/types.rbs +24 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a86f37985a511ee8092cf318cff4433bf2678af5acc721895fbddae13ad819db
|
|
4
|
+
data.tar.gz: f11233420a6731a29659c17f503cba1edc893ff6949609692780cff26ed40f97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11f1f6ddca6b6393fbc116a37f119df4ea7f993e0a8f0bdf633bf5b2c33c8004aaa07e7ae2cdd2617e1b51f949b9c5cd27b73ad0f8e0d35c137f1ad3a7d0d029
|
|
7
|
+
data.tar.gz: 3d54b36b9de80a9e6fa4b6d6a016a32b990f2a2e9de23619fa25bcd2674655ecf24271a466be44d49a32328ba6085d059742f9cf66871a979cd67f9ade588c3c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.60.0 (2026-05-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for deletion protection on collections, ability to create NEXTGEN collection groups and autoscaling visibility for NEXTGEN collection groups
|
|
8
|
+
|
|
9
|
+
1.59.0 (2026-05-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.58.0 (2026-05-19)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.60.0
|
|
@@ -199,7 +199,7 @@ module Aws::OpenSearchServerless
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
|
|
203
203
|
# a clock skew correction and retry requests with skewed client clocks.
|
|
204
204
|
#
|
|
205
205
|
# @option options [String] :defaults_mode ("legacy")
|
|
@@ -323,17 +323,15 @@ module Aws::OpenSearchServerless
|
|
|
323
323
|
# @option options [String] :retry_mode ("legacy")
|
|
324
324
|
# Specifies which retry algorithm to use. Values are:
|
|
325
325
|
#
|
|
326
|
-
# * `legacy` - The pre-existing retry behavior.
|
|
327
|
-
# no retry mode is provided.
|
|
326
|
+
# * `legacy` - The pre-existing retry behavior. This is the default
|
|
327
|
+
# value if no retry mode is provided.
|
|
328
328
|
#
|
|
329
329
|
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
330
330
|
# This includes support for retry quotas, which limit the number of
|
|
331
331
|
# unsuccessful retries a client can make.
|
|
332
332
|
#
|
|
333
|
-
# * `adaptive` -
|
|
334
|
-
#
|
|
335
|
-
# throttling. This is a provisional mode that may change behavior
|
|
336
|
-
# in the future.
|
|
333
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
334
|
+
# `standard` mode along with automatic client side throttling.
|
|
337
335
|
#
|
|
338
336
|
# @option options [String] :sdk_ua_app_id
|
|
339
337
|
# A unique and opaque application ID that is appended to the
|
|
@@ -528,6 +526,7 @@ module Aws::OpenSearchServerless
|
|
|
528
526
|
# resp.collection_details[0].arn #=> String
|
|
529
527
|
# resp.collection_details[0].kms_key_arn #=> String
|
|
530
528
|
# resp.collection_details[0].standby_replicas #=> String, one of "ENABLED", "DISABLED"
|
|
529
|
+
# resp.collection_details[0].deletion_protection #=> String, one of "ENABLED", "DISABLED"
|
|
531
530
|
# resp.collection_details[0].vector_options.serverless_vector_acceleration #=> String, one of "ENABLED", "DISABLED", "ALLOWED"
|
|
532
531
|
# resp.collection_details[0].created_date #=> Integer
|
|
533
532
|
# resp.collection_details[0].last_modified_date #=> Integer
|
|
@@ -598,7 +597,12 @@ module Aws::OpenSearchServerless
|
|
|
598
597
|
# resp.collection_group_details[0].capacity_limits.max_search_capacity_in_ocu #=> Float
|
|
599
598
|
# resp.collection_group_details[0].capacity_limits.min_indexing_capacity_in_ocu #=> Float
|
|
600
599
|
# resp.collection_group_details[0].capacity_limits.min_search_capacity_in_ocu #=> Float
|
|
600
|
+
# resp.collection_group_details[0].current_capacity.search.capacity_in_ocu #=> Float
|
|
601
|
+
# resp.collection_group_details[0].current_capacity.search.autoscaling_status #=> String, one of "ACTION_SCALING_UP", "ACTION_SCALING_DOWN", "NO_ACTION"
|
|
602
|
+
# resp.collection_group_details[0].current_capacity.indexing.capacity_in_ocu #=> Float
|
|
603
|
+
# resp.collection_group_details[0].current_capacity.indexing.autoscaling_status #=> String, one of "ACTION_SCALING_UP", "ACTION_SCALING_DOWN", "NO_ACTION"
|
|
601
604
|
# resp.collection_group_details[0].number_of_collections #=> Integer
|
|
605
|
+
# resp.collection_group_details[0].generation #=> String, one of "CLASSIC", "NEXTGEN"
|
|
602
606
|
# resp.collection_group_error_details #=> Array
|
|
603
607
|
# resp.collection_group_error_details[0].id #=> String
|
|
604
608
|
# resp.collection_group_error_details[0].name #=> String
|
|
@@ -862,6 +866,10 @@ module Aws::OpenSearchServerless
|
|
|
862
866
|
# @option params [Types::EncryptionConfig] :encryption_config
|
|
863
867
|
# Encryption settings for the collection.
|
|
864
868
|
#
|
|
869
|
+
# @option params [String] :deletion_protection
|
|
870
|
+
# Indicates whether to enable deletion protection for the collection.
|
|
871
|
+
# When set to `ENABLED`, the collection cannot be deleted.
|
|
872
|
+
#
|
|
865
873
|
# @option params [String] :client_token
|
|
866
874
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
|
867
875
|
# request.
|
|
@@ -894,6 +902,7 @@ module Aws::OpenSearchServerless
|
|
|
894
902
|
# a_ws_owned_key: false,
|
|
895
903
|
# kms_key_arn: "EncryptionConfigKmsKeyArnString",
|
|
896
904
|
# },
|
|
905
|
+
# deletion_protection: "ENABLED", # accepts ENABLED, DISABLED
|
|
897
906
|
# client_token: "ClientToken",
|
|
898
907
|
# })
|
|
899
908
|
#
|
|
@@ -907,6 +916,7 @@ module Aws::OpenSearchServerless
|
|
|
907
916
|
# resp.create_collection_detail.arn #=> String
|
|
908
917
|
# resp.create_collection_detail.kms_key_arn #=> String
|
|
909
918
|
# resp.create_collection_detail.standby_replicas #=> String, one of "ENABLED", "DISABLED"
|
|
919
|
+
# resp.create_collection_detail.deletion_protection #=> String, one of "ENABLED", "DISABLED"
|
|
910
920
|
# resp.create_collection_detail.vector_options.serverless_vector_acceleration #=> String, one of "ENABLED", "DISABLED", "ALLOWED"
|
|
911
921
|
# resp.create_collection_detail.created_date #=> Integer
|
|
912
922
|
# resp.create_collection_detail.last_modified_date #=> Integer
|
|
@@ -950,6 +960,10 @@ module Aws::OpenSearchServerless
|
|
|
950
960
|
# Units (OCUs). These limits control the maximum and minimum capacity
|
|
951
961
|
# for collections within the group.
|
|
952
962
|
#
|
|
963
|
+
# @option params [String] :generation
|
|
964
|
+
# The generation of Amazon OpenSearch Serverless for the collection
|
|
965
|
+
# group. Valid values are `CLASSIC` and `NEXTGEN`.
|
|
966
|
+
#
|
|
953
967
|
# @option params [String] :client_token
|
|
954
968
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
|
955
969
|
# request.
|
|
@@ -979,6 +993,7 @@ module Aws::OpenSearchServerless
|
|
|
979
993
|
# min_indexing_capacity_in_ocu: 1.0,
|
|
980
994
|
# min_search_capacity_in_ocu: 1.0,
|
|
981
995
|
# },
|
|
996
|
+
# generation: "CLASSIC", # accepts CLASSIC, NEXTGEN
|
|
982
997
|
# client_token: "ClientToken",
|
|
983
998
|
# })
|
|
984
999
|
#
|
|
@@ -997,6 +1012,7 @@ module Aws::OpenSearchServerless
|
|
|
997
1012
|
# resp.create_collection_group_detail.capacity_limits.max_search_capacity_in_ocu #=> Float
|
|
998
1013
|
# resp.create_collection_group_detail.capacity_limits.min_indexing_capacity_in_ocu #=> Float
|
|
999
1014
|
# resp.create_collection_group_detail.capacity_limits.min_search_capacity_in_ocu #=> Float
|
|
1015
|
+
# resp.create_collection_group_detail.generation #=> String, one of "CLASSIC", "NEXTGEN"
|
|
1000
1016
|
#
|
|
1001
1017
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/CreateCollectionGroup AWS API Documentation
|
|
1002
1018
|
#
|
|
@@ -1414,6 +1430,7 @@ module Aws::OpenSearchServerless
|
|
|
1414
1430
|
# resp.delete_collection_detail.id #=> String
|
|
1415
1431
|
# resp.delete_collection_detail.name #=> String
|
|
1416
1432
|
# resp.delete_collection_detail.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED", "UPDATE_FAILED"
|
|
1433
|
+
# resp.delete_collection_detail.deletion_protection #=> String, one of "ENABLED", "DISABLED"
|
|
1417
1434
|
#
|
|
1418
1435
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/DeleteCollection AWS API Documentation
|
|
1419
1436
|
#
|
|
@@ -1977,6 +1994,7 @@ module Aws::OpenSearchServerless
|
|
|
1977
1994
|
# resp.collection_group_summaries[0].capacity_limits.max_search_capacity_in_ocu #=> Float
|
|
1978
1995
|
# resp.collection_group_summaries[0].capacity_limits.min_indexing_capacity_in_ocu #=> Float
|
|
1979
1996
|
# resp.collection_group_summaries[0].capacity_limits.min_search_capacity_in_ocu #=> Float
|
|
1997
|
+
# resp.collection_group_summaries[0].generation #=> String, one of "CLASSIC", "NEXTGEN"
|
|
1980
1998
|
# resp.next_token #=> String
|
|
1981
1999
|
#
|
|
1982
2000
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/ListCollectionGroups AWS API Documentation
|
|
@@ -2516,6 +2534,10 @@ module Aws::OpenSearchServerless
|
|
|
2516
2534
|
# Configuration options for vector search capabilities in the
|
|
2517
2535
|
# collection.
|
|
2518
2536
|
#
|
|
2537
|
+
# @option params [String] :deletion_protection
|
|
2538
|
+
# Indicates whether to enable or disable deletion protection for the
|
|
2539
|
+
# collection. When set to `ENABLED`, the collection cannot be deleted.
|
|
2540
|
+
#
|
|
2519
2541
|
# @option params [String] :client_token
|
|
2520
2542
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
|
2521
2543
|
# request.
|
|
@@ -2535,6 +2557,7 @@ module Aws::OpenSearchServerless
|
|
|
2535
2557
|
# vector_options: {
|
|
2536
2558
|
# serverless_vector_acceleration: "ENABLED", # required, accepts ENABLED, DISABLED, ALLOWED
|
|
2537
2559
|
# },
|
|
2560
|
+
# deletion_protection: "ENABLED", # accepts ENABLED, DISABLED
|
|
2538
2561
|
# client_token: "ClientToken",
|
|
2539
2562
|
# })
|
|
2540
2563
|
#
|
|
@@ -2549,6 +2572,7 @@ module Aws::OpenSearchServerless
|
|
|
2549
2572
|
# resp.update_collection_detail.arn #=> String
|
|
2550
2573
|
# resp.update_collection_detail.created_date #=> Integer
|
|
2551
2574
|
# resp.update_collection_detail.last_modified_date #=> Integer
|
|
2575
|
+
# resp.update_collection_detail.deletion_protection #=> String, one of "ENABLED", "DISABLED"
|
|
2552
2576
|
#
|
|
2553
2577
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/UpdateCollection AWS API Documentation
|
|
2554
2578
|
#
|
|
@@ -2608,6 +2632,7 @@ module Aws::OpenSearchServerless
|
|
|
2608
2632
|
# resp.update_collection_group_detail.capacity_limits.min_search_capacity_in_ocu #=> Float
|
|
2609
2633
|
# resp.update_collection_group_detail.created_date #=> Integer
|
|
2610
2634
|
# resp.update_collection_group_detail.last_modified_date #=> Integer
|
|
2635
|
+
# resp.update_collection_group_detail.generation #=> String, one of "CLASSIC", "NEXTGEN"
|
|
2611
2636
|
#
|
|
2612
2637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/UpdateCollectionGroup AWS API Documentation
|
|
2613
2638
|
#
|
|
@@ -2976,7 +3001,7 @@ module Aws::OpenSearchServerless
|
|
|
2976
3001
|
tracer: tracer
|
|
2977
3002
|
)
|
|
2978
3003
|
context[:gem_name] = 'aws-sdk-opensearchserverless'
|
|
2979
|
-
context[:gem_version] = '1.
|
|
3004
|
+
context[:gem_version] = '1.60.0'
|
|
2980
3005
|
Seahorse::Client::Request.new(handlers, context)
|
|
2981
3006
|
end
|
|
2982
3007
|
|
|
@@ -21,6 +21,7 @@ module Aws::OpenSearchServerless
|
|
|
21
21
|
AccessPolicyType = Shapes::StringShape.new(name: 'AccessPolicyType')
|
|
22
22
|
AccountSettingsDetail = Shapes::StructureShape.new(name: 'AccountSettingsDetail')
|
|
23
23
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
|
24
|
+
AutoscalingStatus = Shapes::StringShape.new(name: 'AutoscalingStatus')
|
|
24
25
|
BatchGetCollectionGroupRequest = Shapes::StructureShape.new(name: 'BatchGetCollectionGroupRequest')
|
|
25
26
|
BatchGetCollectionGroupResponse = Shapes::StructureShape.new(name: 'BatchGetCollectionGroupResponse')
|
|
26
27
|
BatchGetCollectionRequest = Shapes::StructureShape.new(name: 'BatchGetCollectionRequest')
|
|
@@ -32,6 +33,7 @@ module Aws::OpenSearchServerless
|
|
|
32
33
|
BatchGetVpcEndpointRequest = Shapes::StructureShape.new(name: 'BatchGetVpcEndpointRequest')
|
|
33
34
|
BatchGetVpcEndpointResponse = Shapes::StructureShape.new(name: 'BatchGetVpcEndpointResponse')
|
|
34
35
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
36
|
+
CapacityDetails = Shapes::StructureShape.new(name: 'CapacityDetails')
|
|
35
37
|
CapacityLimits = Shapes::StructureShape.new(name: 'CapacityLimits')
|
|
36
38
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
37
39
|
CollectionDetail = Shapes::StructureShape.new(name: 'CollectionDetail')
|
|
@@ -46,10 +48,12 @@ module Aws::OpenSearchServerless
|
|
|
46
48
|
CollectionGroupErrorDetails = Shapes::ListShape.new(name: 'CollectionGroupErrorDetails')
|
|
47
49
|
CollectionGroupId = Shapes::StringShape.new(name: 'CollectionGroupId')
|
|
48
50
|
CollectionGroupIds = Shapes::ListShape.new(name: 'CollectionGroupIds')
|
|
49
|
-
|
|
51
|
+
CollectionGroupMaxIndexingCapacityValue = Shapes::FloatShape.new(name: 'CollectionGroupMaxIndexingCapacityValue')
|
|
52
|
+
CollectionGroupMaxSearchCapacityValue = Shapes::FloatShape.new(name: 'CollectionGroupMaxSearchCapacityValue')
|
|
53
|
+
CollectionGroupMinIndexingCapacityValue = Shapes::FloatShape.new(name: 'CollectionGroupMinIndexingCapacityValue')
|
|
54
|
+
CollectionGroupMinSearchCapacityValue = Shapes::FloatShape.new(name: 'CollectionGroupMinSearchCapacityValue')
|
|
50
55
|
CollectionGroupName = Shapes::StringShape.new(name: 'CollectionGroupName')
|
|
51
56
|
CollectionGroupNames = Shapes::ListShape.new(name: 'CollectionGroupNames')
|
|
52
|
-
CollectionGroupSearchCapacityValue = Shapes::FloatShape.new(name: 'CollectionGroupSearchCapacityValue')
|
|
53
57
|
CollectionGroupSummaries = Shapes::ListShape.new(name: 'CollectionGroupSummaries')
|
|
54
58
|
CollectionGroupSummary = Shapes::StructureShape.new(name: 'CollectionGroupSummary')
|
|
55
59
|
CollectionId = Shapes::StringShape.new(name: 'CollectionId')
|
|
@@ -85,6 +89,7 @@ module Aws::OpenSearchServerless
|
|
|
85
89
|
CreateVpcEndpointDetail = Shapes::StructureShape.new(name: 'CreateVpcEndpointDetail')
|
|
86
90
|
CreateVpcEndpointRequest = Shapes::StructureShape.new(name: 'CreateVpcEndpointRequest')
|
|
87
91
|
CreateVpcEndpointResponse = Shapes::StructureShape.new(name: 'CreateVpcEndpointResponse')
|
|
92
|
+
CurrentCapacity = Shapes::StructureShape.new(name: 'CurrentCapacity')
|
|
88
93
|
DeleteAccessPolicyRequest = Shapes::StructureShape.new(name: 'DeleteAccessPolicyRequest')
|
|
89
94
|
DeleteAccessPolicyResponse = Shapes::StructureShape.new(name: 'DeleteAccessPolicyResponse')
|
|
90
95
|
DeleteCollectionDetail = Shapes::StructureShape.new(name: 'DeleteCollectionDetail')
|
|
@@ -103,6 +108,7 @@ module Aws::OpenSearchServerless
|
|
|
103
108
|
DeleteVpcEndpointDetail = Shapes::StructureShape.new(name: 'DeleteVpcEndpointDetail')
|
|
104
109
|
DeleteVpcEndpointRequest = Shapes::StructureShape.new(name: 'DeleteVpcEndpointRequest')
|
|
105
110
|
DeleteVpcEndpointResponse = Shapes::StructureShape.new(name: 'DeleteVpcEndpointResponse')
|
|
111
|
+
DeletionProtection = Shapes::StringShape.new(name: 'DeletionProtection')
|
|
106
112
|
Document = Shapes::DocumentShape.new(name: 'Document', document: true)
|
|
107
113
|
EffectiveLifecyclePolicyDetail = Shapes::StructureShape.new(name: 'EffectiveLifecyclePolicyDetail')
|
|
108
114
|
EffectiveLifecyclePolicyDetails = Shapes::ListShape.new(name: 'EffectiveLifecyclePolicyDetails')
|
|
@@ -111,6 +117,7 @@ module Aws::OpenSearchServerless
|
|
|
111
117
|
EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
|
|
112
118
|
EncryptionConfigKmsKeyArnString = Shapes::StringShape.new(name: 'EncryptionConfigKmsKeyArnString')
|
|
113
119
|
FipsEndpoints = Shapes::StructureShape.new(name: 'FipsEndpoints')
|
|
120
|
+
Float = Shapes::FloatShape.new(name: 'Float')
|
|
114
121
|
GetAccessPolicyRequest = Shapes::StructureShape.new(name: 'GetAccessPolicyRequest')
|
|
115
122
|
GetAccessPolicyResponse = Shapes::StructureShape.new(name: 'GetAccessPolicyResponse')
|
|
116
123
|
GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
|
|
@@ -199,6 +206,7 @@ module Aws::OpenSearchServerless
|
|
|
199
206
|
SecurityPolicySummaries = Shapes::ListShape.new(name: 'SecurityPolicySummaries')
|
|
200
207
|
SecurityPolicySummary = Shapes::StructureShape.new(name: 'SecurityPolicySummary')
|
|
201
208
|
SecurityPolicyType = Shapes::StringShape.new(name: 'SecurityPolicyType')
|
|
209
|
+
ServerlessGeneration = Shapes::StringShape.new(name: 'ServerlessGeneration')
|
|
202
210
|
ServerlessVectorAccelerationStatus = Shapes::StringShape.new(name: 'ServerlessVectorAccelerationStatus')
|
|
203
211
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
204
212
|
StandbyReplicas = Shapes::StringShape.new(name: 'StandbyReplicas')
|
|
@@ -321,6 +329,10 @@ module Aws::OpenSearchServerless
|
|
|
321
329
|
BatchGetVpcEndpointResponse.add_member(:vpc_endpoint_error_details, Shapes::ShapeRef.new(shape: VpcEndpointErrorDetails, location_name: "vpcEndpointErrorDetails"))
|
|
322
330
|
BatchGetVpcEndpointResponse.struct_class = Types::BatchGetVpcEndpointResponse
|
|
323
331
|
|
|
332
|
+
CapacityDetails.add_member(:capacity_in_ocu, Shapes::ShapeRef.new(shape: Float, location_name: "capacityInOcu"))
|
|
333
|
+
CapacityDetails.add_member(:autoscaling_status, Shapes::ShapeRef.new(shape: AutoscalingStatus, location_name: "autoscalingStatus"))
|
|
334
|
+
CapacityDetails.struct_class = Types::CapacityDetails
|
|
335
|
+
|
|
324
336
|
CapacityLimits.add_member(:max_indexing_capacity_in_ocu, Shapes::ShapeRef.new(shape: IndexingCapacityValue, location_name: "maxIndexingCapacityInOCU"))
|
|
325
337
|
CapacityLimits.add_member(:max_search_capacity_in_ocu, Shapes::ShapeRef.new(shape: SearchCapacityValue, location_name: "maxSearchCapacityInOCU"))
|
|
326
338
|
CapacityLimits.struct_class = Types::CapacityLimits
|
|
@@ -333,6 +345,7 @@ module Aws::OpenSearchServerless
|
|
|
333
345
|
CollectionDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
334
346
|
CollectionDetail.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyArn"))
|
|
335
347
|
CollectionDetail.add_member(:standby_replicas, Shapes::ShapeRef.new(shape: StandbyReplicas, location_name: "standbyReplicas"))
|
|
348
|
+
CollectionDetail.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "deletionProtection"))
|
|
336
349
|
CollectionDetail.add_member(:vector_options, Shapes::ShapeRef.new(shape: VectorOptions, location_name: "vectorOptions"))
|
|
337
350
|
CollectionDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
338
351
|
CollectionDetail.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Long, location_name: "lastModifiedDate"))
|
|
@@ -359,10 +372,10 @@ module Aws::OpenSearchServerless
|
|
|
359
372
|
CollectionFilters.add_member(:collection_group_name, Shapes::ShapeRef.new(shape: CollectionGroupName, location_name: "collectionGroupName"))
|
|
360
373
|
CollectionFilters.struct_class = Types::CollectionFilters
|
|
361
374
|
|
|
362
|
-
CollectionGroupCapacityLimits.add_member(:max_indexing_capacity_in_ocu, Shapes::ShapeRef.new(shape:
|
|
363
|
-
CollectionGroupCapacityLimits.add_member(:max_search_capacity_in_ocu, Shapes::ShapeRef.new(shape:
|
|
364
|
-
CollectionGroupCapacityLimits.add_member(:min_indexing_capacity_in_ocu, Shapes::ShapeRef.new(shape:
|
|
365
|
-
CollectionGroupCapacityLimits.add_member(:min_search_capacity_in_ocu, Shapes::ShapeRef.new(shape:
|
|
375
|
+
CollectionGroupCapacityLimits.add_member(:max_indexing_capacity_in_ocu, Shapes::ShapeRef.new(shape: CollectionGroupMaxIndexingCapacityValue, location_name: "maxIndexingCapacityInOCU"))
|
|
376
|
+
CollectionGroupCapacityLimits.add_member(:max_search_capacity_in_ocu, Shapes::ShapeRef.new(shape: CollectionGroupMaxSearchCapacityValue, location_name: "maxSearchCapacityInOCU"))
|
|
377
|
+
CollectionGroupCapacityLimits.add_member(:min_indexing_capacity_in_ocu, Shapes::ShapeRef.new(shape: CollectionGroupMinIndexingCapacityValue, location_name: "minIndexingCapacityInOCU"))
|
|
378
|
+
CollectionGroupCapacityLimits.add_member(:min_search_capacity_in_ocu, Shapes::ShapeRef.new(shape: CollectionGroupMinSearchCapacityValue, location_name: "minSearchCapacityInOCU"))
|
|
366
379
|
CollectionGroupCapacityLimits.struct_class = Types::CollectionGroupCapacityLimits
|
|
367
380
|
|
|
368
381
|
CollectionGroupDetail.add_member(:id, Shapes::ShapeRef.new(shape: CollectionGroupId, location_name: "id"))
|
|
@@ -373,7 +386,9 @@ module Aws::OpenSearchServerless
|
|
|
373
386
|
CollectionGroupDetail.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
374
387
|
CollectionGroupDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
375
388
|
CollectionGroupDetail.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CollectionGroupCapacityLimits, location_name: "capacityLimits"))
|
|
389
|
+
CollectionGroupDetail.add_member(:current_capacity, Shapes::ShapeRef.new(shape: CurrentCapacity, location_name: "currentCapacity"))
|
|
376
390
|
CollectionGroupDetail.add_member(:number_of_collections, Shapes::ShapeRef.new(shape: Integer, location_name: "numberOfCollections"))
|
|
391
|
+
CollectionGroupDetail.add_member(:generation, Shapes::ShapeRef.new(shape: ServerlessGeneration, location_name: "generation"))
|
|
377
392
|
CollectionGroupDetail.struct_class = Types::CollectionGroupDetail
|
|
378
393
|
|
|
379
394
|
CollectionGroupDetails.member = Shapes::ShapeRef.new(shape: CollectionGroupDetail)
|
|
@@ -398,6 +413,7 @@ module Aws::OpenSearchServerless
|
|
|
398
413
|
CollectionGroupSummary.add_member(:number_of_collections, Shapes::ShapeRef.new(shape: Integer, location_name: "numberOfCollections"))
|
|
399
414
|
CollectionGroupSummary.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
400
415
|
CollectionGroupSummary.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CollectionGroupCapacityLimits, location_name: "capacityLimits"))
|
|
416
|
+
CollectionGroupSummary.add_member(:generation, Shapes::ShapeRef.new(shape: ServerlessGeneration, location_name: "generation"))
|
|
401
417
|
CollectionGroupSummary.struct_class = Types::CollectionGroupSummary
|
|
402
418
|
|
|
403
419
|
CollectionIds.member = Shapes::ShapeRef.new(shape: CollectionId)
|
|
@@ -435,6 +451,7 @@ module Aws::OpenSearchServerless
|
|
|
435
451
|
CreateCollectionDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
436
452
|
CreateCollectionDetail.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyArn"))
|
|
437
453
|
CreateCollectionDetail.add_member(:standby_replicas, Shapes::ShapeRef.new(shape: StandbyReplicas, location_name: "standbyReplicas"))
|
|
454
|
+
CreateCollectionDetail.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "deletionProtection"))
|
|
438
455
|
CreateCollectionDetail.add_member(:vector_options, Shapes::ShapeRef.new(shape: VectorOptions, location_name: "vectorOptions"))
|
|
439
456
|
CreateCollectionDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
440
457
|
CreateCollectionDetail.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Long, location_name: "lastModifiedDate"))
|
|
@@ -449,6 +466,7 @@ module Aws::OpenSearchServerless
|
|
|
449
466
|
CreateCollectionGroupDetail.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
450
467
|
CreateCollectionGroupDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
451
468
|
CreateCollectionGroupDetail.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CollectionGroupCapacityLimits, location_name: "capacityLimits"))
|
|
469
|
+
CreateCollectionGroupDetail.add_member(:generation, Shapes::ShapeRef.new(shape: ServerlessGeneration, location_name: "generation"))
|
|
452
470
|
CreateCollectionGroupDetail.struct_class = Types::CreateCollectionGroupDetail
|
|
453
471
|
|
|
454
472
|
CreateCollectionGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: CollectionGroupName, required: true, location_name: "name"))
|
|
@@ -456,6 +474,7 @@ module Aws::OpenSearchServerless
|
|
|
456
474
|
CreateCollectionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: CreateCollectionGroupRequestDescriptionString, location_name: "description"))
|
|
457
475
|
CreateCollectionGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
458
476
|
CreateCollectionGroupRequest.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CollectionGroupCapacityLimits, location_name: "capacityLimits"))
|
|
477
|
+
CreateCollectionGroupRequest.add_member(:generation, Shapes::ShapeRef.new(shape: ServerlessGeneration, location_name: "generation"))
|
|
459
478
|
CreateCollectionGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
460
479
|
CreateCollectionGroupRequest.struct_class = Types::CreateCollectionGroupRequest
|
|
461
480
|
|
|
@@ -470,6 +489,7 @@ module Aws::OpenSearchServerless
|
|
|
470
489
|
CreateCollectionRequest.add_member(:vector_options, Shapes::ShapeRef.new(shape: VectorOptions, location_name: "vectorOptions"))
|
|
471
490
|
CreateCollectionRequest.add_member(:collection_group_name, Shapes::ShapeRef.new(shape: CollectionGroupName, location_name: "collectionGroupName"))
|
|
472
491
|
CreateCollectionRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "encryptionConfig"))
|
|
492
|
+
CreateCollectionRequest.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "deletionProtection"))
|
|
473
493
|
CreateCollectionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
474
494
|
CreateCollectionRequest.struct_class = Types::CreateCollectionRequest
|
|
475
495
|
|
|
@@ -535,6 +555,10 @@ module Aws::OpenSearchServerless
|
|
|
535
555
|
CreateVpcEndpointResponse.add_member(:create_vpc_endpoint_detail, Shapes::ShapeRef.new(shape: CreateVpcEndpointDetail, location_name: "createVpcEndpointDetail"))
|
|
536
556
|
CreateVpcEndpointResponse.struct_class = Types::CreateVpcEndpointResponse
|
|
537
557
|
|
|
558
|
+
CurrentCapacity.add_member(:search, Shapes::ShapeRef.new(shape: CapacityDetails, location_name: "search"))
|
|
559
|
+
CurrentCapacity.add_member(:indexing, Shapes::ShapeRef.new(shape: CapacityDetails, location_name: "indexing"))
|
|
560
|
+
CurrentCapacity.struct_class = Types::CurrentCapacity
|
|
561
|
+
|
|
538
562
|
DeleteAccessPolicyRequest.add_member(:type, Shapes::ShapeRef.new(shape: AccessPolicyType, required: true, location_name: "type"))
|
|
539
563
|
DeleteAccessPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "name"))
|
|
540
564
|
DeleteAccessPolicyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
@@ -545,6 +569,7 @@ module Aws::OpenSearchServerless
|
|
|
545
569
|
DeleteCollectionDetail.add_member(:id, Shapes::ShapeRef.new(shape: CollectionId, location_name: "id"))
|
|
546
570
|
DeleteCollectionDetail.add_member(:name, Shapes::ShapeRef.new(shape: CollectionName, location_name: "name"))
|
|
547
571
|
DeleteCollectionDetail.add_member(:status, Shapes::ShapeRef.new(shape: CollectionStatus, location_name: "status"))
|
|
572
|
+
DeleteCollectionDetail.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "deletionProtection"))
|
|
548
573
|
DeleteCollectionDetail.struct_class = Types::DeleteCollectionDetail
|
|
549
574
|
|
|
550
575
|
DeleteCollectionGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: CollectionGroupId, required: true, location_name: "id"))
|
|
@@ -918,6 +943,7 @@ module Aws::OpenSearchServerless
|
|
|
918
943
|
UpdateCollectionDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
919
944
|
UpdateCollectionDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
920
945
|
UpdateCollectionDetail.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Long, location_name: "lastModifiedDate"))
|
|
946
|
+
UpdateCollectionDetail.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "deletionProtection"))
|
|
921
947
|
UpdateCollectionDetail.struct_class = Types::UpdateCollectionDetail
|
|
922
948
|
|
|
923
949
|
UpdateCollectionGroupDetail.add_member(:id, Shapes::ShapeRef.new(shape: CollectionGroupId, location_name: "id"))
|
|
@@ -927,6 +953,7 @@ module Aws::OpenSearchServerless
|
|
|
927
953
|
UpdateCollectionGroupDetail.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CollectionGroupCapacityLimits, location_name: "capacityLimits"))
|
|
928
954
|
UpdateCollectionGroupDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
929
955
|
UpdateCollectionGroupDetail.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Long, location_name: "lastModifiedDate"))
|
|
956
|
+
UpdateCollectionGroupDetail.add_member(:generation, Shapes::ShapeRef.new(shape: ServerlessGeneration, location_name: "generation"))
|
|
930
957
|
UpdateCollectionGroupDetail.struct_class = Types::UpdateCollectionGroupDetail
|
|
931
958
|
|
|
932
959
|
UpdateCollectionGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: CollectionGroupId, required: true, location_name: "id"))
|
|
@@ -941,6 +968,7 @@ module Aws::OpenSearchServerless
|
|
|
941
968
|
UpdateCollectionRequest.add_member(:id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "id"))
|
|
942
969
|
UpdateCollectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: UpdateCollectionRequestDescriptionString, location_name: "description"))
|
|
943
970
|
UpdateCollectionRequest.add_member(:vector_options, Shapes::ShapeRef.new(shape: VectorOptions, location_name: "vectorOptions"))
|
|
971
|
+
UpdateCollectionRequest.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "deletionProtection"))
|
|
944
972
|
UpdateCollectionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
945
973
|
UpdateCollectionRequest.struct_class = Types::UpdateCollectionRequest
|
|
946
974
|
|
|
@@ -297,6 +297,26 @@ module Aws::OpenSearchServerless
|
|
|
297
297
|
include Aws::Structure
|
|
298
298
|
end
|
|
299
299
|
|
|
300
|
+
# Capacity details for an OpenSearch Serverless collection group,
|
|
301
|
+
# including the current capacity and autoscaling status.
|
|
302
|
+
#
|
|
303
|
+
# @!attribute [rw] capacity_in_ocu
|
|
304
|
+
# The current capacity in OpenSearch Compute Units (OCUs).
|
|
305
|
+
# @return [Float]
|
|
306
|
+
#
|
|
307
|
+
# @!attribute [rw] autoscaling_status
|
|
308
|
+
# The current autoscaling status for the collection group.
|
|
309
|
+
# @return [String]
|
|
310
|
+
#
|
|
311
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/CapacityDetails AWS API Documentation
|
|
312
|
+
#
|
|
313
|
+
class CapacityDetails < Struct.new(
|
|
314
|
+
:capacity_in_ocu,
|
|
315
|
+
:autoscaling_status)
|
|
316
|
+
SENSITIVE = []
|
|
317
|
+
include Aws::Structure
|
|
318
|
+
end
|
|
319
|
+
|
|
300
320
|
# The maximum capacity limits for all OpenSearch Serverless collections,
|
|
301
321
|
# in OpenSearch Compute Units (OCUs). These limits are used to scale
|
|
302
322
|
# your collections based on the current workload. For more information,
|
|
@@ -360,6 +380,11 @@ module Aws::OpenSearchServerless
|
|
|
360
380
|
# Details about an OpenSearch Serverless collection.
|
|
361
381
|
# @return [String]
|
|
362
382
|
#
|
|
383
|
+
# @!attribute [rw] deletion_protection
|
|
384
|
+
# Indicates whether deletion protection is `ENABLED` or `DISABLED` for
|
|
385
|
+
# the collection.
|
|
386
|
+
# @return [String]
|
|
387
|
+
#
|
|
363
388
|
# @!attribute [rw] vector_options
|
|
364
389
|
# Configuration options for vector search capabilities in the
|
|
365
390
|
# collection.
|
|
@@ -412,6 +437,7 @@ module Aws::OpenSearchServerless
|
|
|
412
437
|
:arn,
|
|
413
438
|
:kms_key_arn,
|
|
414
439
|
:standby_replicas,
|
|
440
|
+
:deletion_protection,
|
|
415
441
|
:vector_options,
|
|
416
442
|
:created_date,
|
|
417
443
|
:last_modified_date,
|
|
@@ -549,10 +575,19 @@ module Aws::OpenSearchServerless
|
|
|
549
575
|
# Units (OCUs).
|
|
550
576
|
# @return [Types::CollectionGroupCapacityLimits]
|
|
551
577
|
#
|
|
578
|
+
# @!attribute [rw] current_capacity
|
|
579
|
+
# Current search and indexing capacity for the collection group.
|
|
580
|
+
# @return [Types::CurrentCapacity]
|
|
581
|
+
#
|
|
552
582
|
# @!attribute [rw] number_of_collections
|
|
553
583
|
# The number of collections associated with the collection group.
|
|
554
584
|
# @return [Integer]
|
|
555
585
|
#
|
|
586
|
+
# @!attribute [rw] generation
|
|
587
|
+
# The generation of Amazon OpenSearch Serverless for the collection
|
|
588
|
+
# group.
|
|
589
|
+
# @return [String]
|
|
590
|
+
#
|
|
556
591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/CollectionGroupDetail AWS API Documentation
|
|
557
592
|
#
|
|
558
593
|
class CollectionGroupDetail < Struct.new(
|
|
@@ -564,7 +599,9 @@ module Aws::OpenSearchServerless
|
|
|
564
599
|
:tags,
|
|
565
600
|
:created_date,
|
|
566
601
|
:capacity_limits,
|
|
567
|
-
:
|
|
602
|
+
:current_capacity,
|
|
603
|
+
:number_of_collections,
|
|
604
|
+
:generation)
|
|
568
605
|
SENSITIVE = []
|
|
569
606
|
include Aws::Structure
|
|
570
607
|
end
|
|
@@ -629,6 +666,11 @@ module Aws::OpenSearchServerless
|
|
|
629
666
|
# search operations that can be used by collections in the group.
|
|
630
667
|
# @return [Types::CollectionGroupCapacityLimits]
|
|
631
668
|
#
|
|
669
|
+
# @!attribute [rw] generation
|
|
670
|
+
# The generation of Amazon OpenSearch Serverless for the collection
|
|
671
|
+
# group.
|
|
672
|
+
# @return [String]
|
|
673
|
+
#
|
|
632
674
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/CollectionGroupSummary AWS API Documentation
|
|
633
675
|
#
|
|
634
676
|
class CollectionGroupSummary < Struct.new(
|
|
@@ -637,7 +679,8 @@ module Aws::OpenSearchServerless
|
|
|
637
679
|
:name,
|
|
638
680
|
:number_of_collections,
|
|
639
681
|
:created_date,
|
|
640
|
-
:capacity_limits
|
|
682
|
+
:capacity_limits,
|
|
683
|
+
:generation)
|
|
641
684
|
SENSITIVE = []
|
|
642
685
|
include Aws::Structure
|
|
643
686
|
end
|
|
@@ -782,6 +825,11 @@ module Aws::OpenSearchServerless
|
|
|
782
825
|
# Creates details about an OpenSearch Serverless collection.
|
|
783
826
|
# @return [String]
|
|
784
827
|
#
|
|
828
|
+
# @!attribute [rw] deletion_protection
|
|
829
|
+
# Indicates whether deletion protection is `ENABLED` or `DISABLED` for
|
|
830
|
+
# the collection.
|
|
831
|
+
# @return [String]
|
|
832
|
+
#
|
|
785
833
|
# @!attribute [rw] vector_options
|
|
786
834
|
# Configuration options for vector search capabilities in the
|
|
787
835
|
# collection.
|
|
@@ -810,6 +858,7 @@ module Aws::OpenSearchServerless
|
|
|
810
858
|
:arn,
|
|
811
859
|
:kms_key_arn,
|
|
812
860
|
:standby_replicas,
|
|
861
|
+
:deletion_protection,
|
|
813
862
|
:vector_options,
|
|
814
863
|
:created_date,
|
|
815
864
|
:last_modified_date,
|
|
@@ -854,6 +903,11 @@ module Aws::OpenSearchServerless
|
|
|
854
903
|
# Units (OCUs).
|
|
855
904
|
# @return [Types::CollectionGroupCapacityLimits]
|
|
856
905
|
#
|
|
906
|
+
# @!attribute [rw] generation
|
|
907
|
+
# The generation of Amazon OpenSearch Serverless for the collection
|
|
908
|
+
# group.
|
|
909
|
+
# @return [String]
|
|
910
|
+
#
|
|
857
911
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/CreateCollectionGroupDetail AWS API Documentation
|
|
858
912
|
#
|
|
859
913
|
class CreateCollectionGroupDetail < Struct.new(
|
|
@@ -864,7 +918,8 @@ module Aws::OpenSearchServerless
|
|
|
864
918
|
:description,
|
|
865
919
|
:tags,
|
|
866
920
|
:created_date,
|
|
867
|
-
:capacity_limits
|
|
921
|
+
:capacity_limits,
|
|
922
|
+
:generation)
|
|
868
923
|
SENSITIVE = []
|
|
869
924
|
include Aws::Structure
|
|
870
925
|
end
|
|
@@ -893,6 +948,11 @@ module Aws::OpenSearchServerless
|
|
|
893
948
|
# for collections within the group.
|
|
894
949
|
# @return [Types::CollectionGroupCapacityLimits]
|
|
895
950
|
#
|
|
951
|
+
# @!attribute [rw] generation
|
|
952
|
+
# The generation of Amazon OpenSearch Serverless for the collection
|
|
953
|
+
# group. Valid values are `CLASSIC` and `NEXTGEN`.
|
|
954
|
+
# @return [String]
|
|
955
|
+
#
|
|
896
956
|
# @!attribute [rw] client_token
|
|
897
957
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
|
898
958
|
# request.
|
|
@@ -909,6 +969,7 @@ module Aws::OpenSearchServerless
|
|
|
909
969
|
:description,
|
|
910
970
|
:tags,
|
|
911
971
|
:capacity_limits,
|
|
972
|
+
:generation,
|
|
912
973
|
:client_token)
|
|
913
974
|
SENSITIVE = []
|
|
914
975
|
include Aws::Structure
|
|
@@ -960,6 +1021,11 @@ module Aws::OpenSearchServerless
|
|
|
960
1021
|
# Encryption settings for the collection.
|
|
961
1022
|
# @return [Types::EncryptionConfig]
|
|
962
1023
|
#
|
|
1024
|
+
# @!attribute [rw] deletion_protection
|
|
1025
|
+
# Indicates whether to enable deletion protection for the collection.
|
|
1026
|
+
# When set to `ENABLED`, the collection cannot be deleted.
|
|
1027
|
+
# @return [String]
|
|
1028
|
+
#
|
|
963
1029
|
# @!attribute [rw] client_token
|
|
964
1030
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
|
965
1031
|
# request.
|
|
@@ -979,6 +1045,7 @@ module Aws::OpenSearchServerless
|
|
|
979
1045
|
:vector_options,
|
|
980
1046
|
:collection_group_name,
|
|
981
1047
|
:encryption_config,
|
|
1048
|
+
:deletion_protection,
|
|
982
1049
|
:client_token)
|
|
983
1050
|
SENSITIVE = []
|
|
984
1051
|
include Aws::Structure
|
|
@@ -1295,6 +1362,26 @@ module Aws::OpenSearchServerless
|
|
|
1295
1362
|
include Aws::Structure
|
|
1296
1363
|
end
|
|
1297
1364
|
|
|
1365
|
+
# Current search and indexing capacity for an OpenSearch Serverless
|
|
1366
|
+
# collection group. Measured in OpenSearch Compute Units (OCUs).
|
|
1367
|
+
#
|
|
1368
|
+
# @!attribute [rw] search
|
|
1369
|
+
# The search capacity for the collection group.
|
|
1370
|
+
# @return [Types::CapacityDetails]
|
|
1371
|
+
#
|
|
1372
|
+
# @!attribute [rw] indexing
|
|
1373
|
+
# The indexing capacity for the collection group.
|
|
1374
|
+
# @return [Types::CapacityDetails]
|
|
1375
|
+
#
|
|
1376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/CurrentCapacity AWS API Documentation
|
|
1377
|
+
#
|
|
1378
|
+
class CurrentCapacity < Struct.new(
|
|
1379
|
+
:search,
|
|
1380
|
+
:indexing)
|
|
1381
|
+
SENSITIVE = []
|
|
1382
|
+
include Aws::Structure
|
|
1383
|
+
end
|
|
1384
|
+
|
|
1298
1385
|
# @!attribute [rw] type
|
|
1299
1386
|
# The type of policy.
|
|
1300
1387
|
# @return [String]
|
|
@@ -1339,12 +1426,18 @@ module Aws::OpenSearchServerless
|
|
|
1339
1426
|
# The current status of the collection.
|
|
1340
1427
|
# @return [String]
|
|
1341
1428
|
#
|
|
1429
|
+
# @!attribute [rw] deletion_protection
|
|
1430
|
+
# Indicates whether deletion protection is `ENABLED` or `DISABLED` for
|
|
1431
|
+
# the collection.
|
|
1432
|
+
# @return [String]
|
|
1433
|
+
#
|
|
1342
1434
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/DeleteCollectionDetail AWS API Documentation
|
|
1343
1435
|
#
|
|
1344
1436
|
class DeleteCollectionDetail < Struct.new(
|
|
1345
1437
|
:id,
|
|
1346
1438
|
:name,
|
|
1347
|
-
:status
|
|
1439
|
+
:status,
|
|
1440
|
+
:deletion_protection)
|
|
1348
1441
|
SENSITIVE = []
|
|
1349
1442
|
include Aws::Structure
|
|
1350
1443
|
end
|
|
@@ -2997,6 +3090,11 @@ module Aws::OpenSearchServerless
|
|
|
2997
3090
|
# The date and time when the collection was last modified.
|
|
2998
3091
|
# @return [Integer]
|
|
2999
3092
|
#
|
|
3093
|
+
# @!attribute [rw] deletion_protection
|
|
3094
|
+
# Indicates whether deletion protection is `ENABLED` or `DISABLED` for
|
|
3095
|
+
# the collection.
|
|
3096
|
+
# @return [String]
|
|
3097
|
+
#
|
|
3000
3098
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/UpdateCollectionDetail AWS API Documentation
|
|
3001
3099
|
#
|
|
3002
3100
|
class UpdateCollectionDetail < Struct.new(
|
|
@@ -3008,7 +3106,8 @@ module Aws::OpenSearchServerless
|
|
|
3008
3106
|
:vector_options,
|
|
3009
3107
|
:arn,
|
|
3010
3108
|
:created_date,
|
|
3011
|
-
:last_modified_date
|
|
3109
|
+
:last_modified_date,
|
|
3110
|
+
:deletion_protection)
|
|
3012
3111
|
SENSITIVE = []
|
|
3013
3112
|
include Aws::Structure
|
|
3014
3113
|
end
|
|
@@ -3044,6 +3143,11 @@ module Aws::OpenSearchServerless
|
|
|
3044
3143
|
# The date and time when the collection group was last modified.
|
|
3045
3144
|
# @return [Integer]
|
|
3046
3145
|
#
|
|
3146
|
+
# @!attribute [rw] generation
|
|
3147
|
+
# The generation of Amazon OpenSearch Serverless for the collection
|
|
3148
|
+
# group.
|
|
3149
|
+
# @return [String]
|
|
3150
|
+
#
|
|
3047
3151
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/UpdateCollectionGroupDetail AWS API Documentation
|
|
3048
3152
|
#
|
|
3049
3153
|
class UpdateCollectionGroupDetail < Struct.new(
|
|
@@ -3053,7 +3157,8 @@ module Aws::OpenSearchServerless
|
|
|
3053
3157
|
:description,
|
|
3054
3158
|
:capacity_limits,
|
|
3055
3159
|
:created_date,
|
|
3056
|
-
:last_modified_date
|
|
3160
|
+
:last_modified_date,
|
|
3161
|
+
:generation)
|
|
3057
3162
|
SENSITIVE = []
|
|
3058
3163
|
include Aws::Structure
|
|
3059
3164
|
end
|
|
@@ -3115,6 +3220,11 @@ module Aws::OpenSearchServerless
|
|
|
3115
3220
|
# collection.
|
|
3116
3221
|
# @return [Types::VectorOptions]
|
|
3117
3222
|
#
|
|
3223
|
+
# @!attribute [rw] deletion_protection
|
|
3224
|
+
# Indicates whether to enable or disable deletion protection for the
|
|
3225
|
+
# collection. When set to `ENABLED`, the collection cannot be deleted.
|
|
3226
|
+
# @return [String]
|
|
3227
|
+
#
|
|
3118
3228
|
# @!attribute [rw] client_token
|
|
3119
3229
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
|
3120
3230
|
# request.
|
|
@@ -3129,6 +3239,7 @@ module Aws::OpenSearchServerless
|
|
|
3129
3239
|
:id,
|
|
3130
3240
|
:description,
|
|
3131
3241
|
:vector_options,
|
|
3242
|
+
:deletion_protection,
|
|
3132
3243
|
:client_token)
|
|
3133
3244
|
SENSITIVE = []
|
|
3134
3245
|
include Aws::Structure
|
data/sig/client.rbs
CHANGED
|
@@ -184,6 +184,7 @@ module Aws
|
|
|
184
184
|
a_ws_owned_key: bool?,
|
|
185
185
|
kms_key_arn: ::String?
|
|
186
186
|
},
|
|
187
|
+
?deletion_protection: ("ENABLED" | "DISABLED"),
|
|
187
188
|
?client_token: ::String
|
|
188
189
|
) -> _CreateCollectionResponseSuccess
|
|
189
190
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCollectionResponseSuccess
|
|
@@ -209,6 +210,7 @@ module Aws
|
|
|
209
210
|
min_indexing_capacity_in_ocu: ::Float?,
|
|
210
211
|
min_search_capacity_in_ocu: ::Float?
|
|
211
212
|
},
|
|
213
|
+
?generation: ("CLASSIC" | "NEXTGEN"),
|
|
212
214
|
?client_token: ::String
|
|
213
215
|
) -> _CreateCollectionGroupResponseSuccess
|
|
214
216
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCollectionGroupResponseSuccess
|
|
@@ -619,6 +621,7 @@ module Aws
|
|
|
619
621
|
?vector_options: {
|
|
620
622
|
serverless_vector_acceleration: ("ENABLED" | "DISABLED" | "ALLOWED")
|
|
621
623
|
},
|
|
624
|
+
?deletion_protection: ("ENABLED" | "DISABLED"),
|
|
622
625
|
?client_token: ::String
|
|
623
626
|
) -> _UpdateCollectionResponseSuccess
|
|
624
627
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCollectionResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -96,6 +96,12 @@ module Aws::OpenSearchServerless
|
|
|
96
96
|
SENSITIVE: []
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
+
class CapacityDetails
|
|
100
|
+
attr_accessor capacity_in_ocu: ::Float
|
|
101
|
+
attr_accessor autoscaling_status: ("ACTION_SCALING_UP" | "ACTION_SCALING_DOWN" | "NO_ACTION")
|
|
102
|
+
SENSITIVE: []
|
|
103
|
+
end
|
|
104
|
+
|
|
99
105
|
class CapacityLimits
|
|
100
106
|
attr_accessor max_indexing_capacity_in_ocu: ::Integer
|
|
101
107
|
attr_accessor max_search_capacity_in_ocu: ::Integer
|
|
@@ -111,6 +117,7 @@ module Aws::OpenSearchServerless
|
|
|
111
117
|
attr_accessor arn: ::String
|
|
112
118
|
attr_accessor kms_key_arn: ::String
|
|
113
119
|
attr_accessor standby_replicas: ("ENABLED" | "DISABLED")
|
|
120
|
+
attr_accessor deletion_protection: ("ENABLED" | "DISABLED")
|
|
114
121
|
attr_accessor vector_options: Types::VectorOptions
|
|
115
122
|
attr_accessor created_date: ::Integer
|
|
116
123
|
attr_accessor last_modified_date: ::Integer
|
|
@@ -155,7 +162,9 @@ module Aws::OpenSearchServerless
|
|
|
155
162
|
attr_accessor tags: ::Array[Types::Tag]
|
|
156
163
|
attr_accessor created_date: ::Integer
|
|
157
164
|
attr_accessor capacity_limits: Types::CollectionGroupCapacityLimits
|
|
165
|
+
attr_accessor current_capacity: Types::CurrentCapacity
|
|
158
166
|
attr_accessor number_of_collections: ::Integer
|
|
167
|
+
attr_accessor generation: ("CLASSIC" | "NEXTGEN")
|
|
159
168
|
SENSITIVE: []
|
|
160
169
|
end
|
|
161
170
|
|
|
@@ -174,6 +183,7 @@ module Aws::OpenSearchServerless
|
|
|
174
183
|
attr_accessor number_of_collections: ::Integer
|
|
175
184
|
attr_accessor created_date: ::Integer
|
|
176
185
|
attr_accessor capacity_limits: Types::CollectionGroupCapacityLimits
|
|
186
|
+
attr_accessor generation: ("CLASSIC" | "NEXTGEN")
|
|
177
187
|
SENSITIVE: []
|
|
178
188
|
end
|
|
179
189
|
|
|
@@ -215,6 +225,7 @@ module Aws::OpenSearchServerless
|
|
|
215
225
|
attr_accessor arn: ::String
|
|
216
226
|
attr_accessor kms_key_arn: ::String
|
|
217
227
|
attr_accessor standby_replicas: ("ENABLED" | "DISABLED")
|
|
228
|
+
attr_accessor deletion_protection: ("ENABLED" | "DISABLED")
|
|
218
229
|
attr_accessor vector_options: Types::VectorOptions
|
|
219
230
|
attr_accessor created_date: ::Integer
|
|
220
231
|
attr_accessor last_modified_date: ::Integer
|
|
@@ -231,6 +242,7 @@ module Aws::OpenSearchServerless
|
|
|
231
242
|
attr_accessor tags: ::Array[Types::Tag]
|
|
232
243
|
attr_accessor created_date: ::Integer
|
|
233
244
|
attr_accessor capacity_limits: Types::CollectionGroupCapacityLimits
|
|
245
|
+
attr_accessor generation: ("CLASSIC" | "NEXTGEN")
|
|
234
246
|
SENSITIVE: []
|
|
235
247
|
end
|
|
236
248
|
|
|
@@ -240,6 +252,7 @@ module Aws::OpenSearchServerless
|
|
|
240
252
|
attr_accessor description: ::String
|
|
241
253
|
attr_accessor tags: ::Array[Types::Tag]
|
|
242
254
|
attr_accessor capacity_limits: Types::CollectionGroupCapacityLimits
|
|
255
|
+
attr_accessor generation: ("CLASSIC" | "NEXTGEN")
|
|
243
256
|
attr_accessor client_token: ::String
|
|
244
257
|
SENSITIVE: []
|
|
245
258
|
end
|
|
@@ -258,6 +271,7 @@ module Aws::OpenSearchServerless
|
|
|
258
271
|
attr_accessor vector_options: Types::VectorOptions
|
|
259
272
|
attr_accessor collection_group_name: ::String
|
|
260
273
|
attr_accessor encryption_config: Types::EncryptionConfig
|
|
274
|
+
attr_accessor deletion_protection: ("ENABLED" | "DISABLED")
|
|
261
275
|
attr_accessor client_token: ::String
|
|
262
276
|
SENSITIVE: []
|
|
263
277
|
end
|
|
@@ -349,6 +363,12 @@ module Aws::OpenSearchServerless
|
|
|
349
363
|
SENSITIVE: []
|
|
350
364
|
end
|
|
351
365
|
|
|
366
|
+
class CurrentCapacity
|
|
367
|
+
attr_accessor search: Types::CapacityDetails
|
|
368
|
+
attr_accessor indexing: Types::CapacityDetails
|
|
369
|
+
SENSITIVE: []
|
|
370
|
+
end
|
|
371
|
+
|
|
352
372
|
class DeleteAccessPolicyRequest
|
|
353
373
|
attr_accessor type: ("data")
|
|
354
374
|
attr_accessor name: ::String
|
|
@@ -363,6 +383,7 @@ module Aws::OpenSearchServerless
|
|
|
363
383
|
attr_accessor id: ::String
|
|
364
384
|
attr_accessor name: ::String
|
|
365
385
|
attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED" | "UPDATE_FAILED")
|
|
386
|
+
attr_accessor deletion_protection: ("ENABLED" | "DISABLED")
|
|
366
387
|
SENSITIVE: []
|
|
367
388
|
end
|
|
368
389
|
|
|
@@ -847,6 +868,7 @@ module Aws::OpenSearchServerless
|
|
|
847
868
|
attr_accessor arn: ::String
|
|
848
869
|
attr_accessor created_date: ::Integer
|
|
849
870
|
attr_accessor last_modified_date: ::Integer
|
|
871
|
+
attr_accessor deletion_protection: ("ENABLED" | "DISABLED")
|
|
850
872
|
SENSITIVE: []
|
|
851
873
|
end
|
|
852
874
|
|
|
@@ -858,6 +880,7 @@ module Aws::OpenSearchServerless
|
|
|
858
880
|
attr_accessor capacity_limits: Types::CollectionGroupCapacityLimits
|
|
859
881
|
attr_accessor created_date: ::Integer
|
|
860
882
|
attr_accessor last_modified_date: ::Integer
|
|
883
|
+
attr_accessor generation: ("CLASSIC" | "NEXTGEN")
|
|
861
884
|
SENSITIVE: []
|
|
862
885
|
end
|
|
863
886
|
|
|
@@ -878,6 +901,7 @@ module Aws::OpenSearchServerless
|
|
|
878
901
|
attr_accessor id: ::String
|
|
879
902
|
attr_accessor description: ::String
|
|
880
903
|
attr_accessor vector_options: Types::VectorOptions
|
|
904
|
+
attr_accessor deletion_protection: ("ENABLED" | "DISABLED")
|
|
881
905
|
attr_accessor client_token: ::String
|
|
882
906
|
SENSITIVE: []
|
|
883
907
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-opensearchserverless
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.60.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.248.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.248.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|