aws-sdk-opensearchserverless 1.55.0 → 1.56.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-opensearchserverless/client.rb +15 -7
- data/lib/aws-sdk-opensearchserverless/client_api.rb +2 -0
- data/lib/aws-sdk-opensearchserverless/types.rb +15 -1
- data/lib/aws-sdk-opensearchserverless.rb +1 -1
- data/sig/client.rbs +4 -1
- data/sig/types.rbs +8 -6
- 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: ebeabc9a11f9e4bbd3814979a975e8a0335ffe42c82288dd8c608f9d93c29d49
|
|
4
|
+
data.tar.gz: 337075808f251427a56123364460132302e3032c54cc247154ab2c5c373880f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c62927a57d2cb468623889acc1c202965a67c262a85c3e542ffb58cf07fbb4bbb1f7f63c53caa0db6c7efc2ea8945c2dd9b610c98c6de1d1fcd6e26ae9661a5d
|
|
7
|
+
data.tar.gz: c1787e8090fc3d995d9a4808ab1163880b40c37671f84eaf327cdcbb4ee1a6d164e46e33f10f55ce519da9c2ae8e76a2fd688c844fec0675900dee2907fb4c19
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.56.0
|
|
@@ -522,7 +522,7 @@ module Aws::OpenSearchServerless
|
|
|
522
522
|
# resp.collection_details #=> Array
|
|
523
523
|
# resp.collection_details[0].id #=> String
|
|
524
524
|
# resp.collection_details[0].name #=> String
|
|
525
|
-
# resp.collection_details[0].status #=> String, one of "CREATING", "DELETING", "ACTIVE", "FAILED"
|
|
525
|
+
# resp.collection_details[0].status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED", "UPDATE_FAILED"
|
|
526
526
|
# resp.collection_details[0].type #=> String, one of "SEARCH", "TIMESERIES", "VECTORSEARCH"
|
|
527
527
|
# resp.collection_details[0].description #=> String
|
|
528
528
|
# resp.collection_details[0].arn #=> String
|
|
@@ -901,7 +901,7 @@ module Aws::OpenSearchServerless
|
|
|
901
901
|
#
|
|
902
902
|
# resp.create_collection_detail.id #=> String
|
|
903
903
|
# resp.create_collection_detail.name #=> String
|
|
904
|
-
# resp.create_collection_detail.status #=> String, one of "CREATING", "DELETING", "ACTIVE", "FAILED"
|
|
904
|
+
# resp.create_collection_detail.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED", "UPDATE_FAILED"
|
|
905
905
|
# resp.create_collection_detail.type #=> String, one of "SEARCH", "TIMESERIES", "VECTORSEARCH"
|
|
906
906
|
# resp.create_collection_detail.description #=> String
|
|
907
907
|
# resp.create_collection_detail.arn #=> String
|
|
@@ -1413,7 +1413,7 @@ module Aws::OpenSearchServerless
|
|
|
1413
1413
|
#
|
|
1414
1414
|
# resp.delete_collection_detail.id #=> String
|
|
1415
1415
|
# resp.delete_collection_detail.name #=> String
|
|
1416
|
-
# resp.delete_collection_detail.status #=> String, one of "CREATING", "DELETING", "ACTIVE", "FAILED"
|
|
1416
|
+
# resp.delete_collection_detail.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED", "UPDATE_FAILED"
|
|
1417
1417
|
#
|
|
1418
1418
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/DeleteCollection AWS API Documentation
|
|
1419
1419
|
#
|
|
@@ -2024,7 +2024,7 @@ module Aws::OpenSearchServerless
|
|
|
2024
2024
|
# resp = client.list_collections({
|
|
2025
2025
|
# collection_filters: {
|
|
2026
2026
|
# name: "CollectionName",
|
|
2027
|
-
# status: "CREATING", # accepts CREATING, DELETING, ACTIVE, FAILED
|
|
2027
|
+
# status: "CREATING", # accepts CREATING, UPDATING, DELETING, ACTIVE, FAILED, UPDATE_FAILED
|
|
2028
2028
|
# collection_group_name: "CollectionGroupName",
|
|
2029
2029
|
# },
|
|
2030
2030
|
# next_token: "String",
|
|
@@ -2036,7 +2036,7 @@ module Aws::OpenSearchServerless
|
|
|
2036
2036
|
# resp.collection_summaries #=> Array
|
|
2037
2037
|
# resp.collection_summaries[0].id #=> String
|
|
2038
2038
|
# resp.collection_summaries[0].name #=> String
|
|
2039
|
-
# resp.collection_summaries[0].status #=> String, one of "CREATING", "DELETING", "ACTIVE", "FAILED"
|
|
2039
|
+
# resp.collection_summaries[0].status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED", "UPDATE_FAILED"
|
|
2040
2040
|
# resp.collection_summaries[0].arn #=> String
|
|
2041
2041
|
# resp.collection_summaries[0].kms_key_arn #=> String
|
|
2042
2042
|
# resp.collection_summaries[0].collection_group_name #=> String
|
|
@@ -2512,6 +2512,10 @@ module Aws::OpenSearchServerless
|
|
|
2512
2512
|
# @option params [String] :description
|
|
2513
2513
|
# A description of the collection.
|
|
2514
2514
|
#
|
|
2515
|
+
# @option params [Types::VectorOptions] :vector_options
|
|
2516
|
+
# Configuration options for vector search capabilities in the
|
|
2517
|
+
# collection.
|
|
2518
|
+
#
|
|
2515
2519
|
# @option params [String] :client_token
|
|
2516
2520
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
|
2517
2521
|
# request.
|
|
@@ -2528,6 +2532,9 @@ module Aws::OpenSearchServerless
|
|
|
2528
2532
|
# resp = client.update_collection({
|
|
2529
2533
|
# id: "CollectionId", # required
|
|
2530
2534
|
# description: "UpdateCollectionRequestDescriptionString",
|
|
2535
|
+
# vector_options: {
|
|
2536
|
+
# serverless_vector_acceleration: "ENABLED", # required, accepts ENABLED, DISABLED, ALLOWED
|
|
2537
|
+
# },
|
|
2531
2538
|
# client_token: "ClientToken",
|
|
2532
2539
|
# })
|
|
2533
2540
|
#
|
|
@@ -2535,9 +2542,10 @@ module Aws::OpenSearchServerless
|
|
|
2535
2542
|
#
|
|
2536
2543
|
# resp.update_collection_detail.id #=> String
|
|
2537
2544
|
# resp.update_collection_detail.name #=> String
|
|
2538
|
-
# resp.update_collection_detail.status #=> String, one of "CREATING", "DELETING", "ACTIVE", "FAILED"
|
|
2545
|
+
# resp.update_collection_detail.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED", "UPDATE_FAILED"
|
|
2539
2546
|
# resp.update_collection_detail.type #=> String, one of "SEARCH", "TIMESERIES", "VECTORSEARCH"
|
|
2540
2547
|
# resp.update_collection_detail.description #=> String
|
|
2548
|
+
# resp.update_collection_detail.vector_options.serverless_vector_acceleration #=> String, one of "ENABLED", "DISABLED", "ALLOWED"
|
|
2541
2549
|
# resp.update_collection_detail.arn #=> String
|
|
2542
2550
|
# resp.update_collection_detail.created_date #=> Integer
|
|
2543
2551
|
# resp.update_collection_detail.last_modified_date #=> Integer
|
|
@@ -2968,7 +2976,7 @@ module Aws::OpenSearchServerless
|
|
|
2968
2976
|
tracer: tracer
|
|
2969
2977
|
)
|
|
2970
2978
|
context[:gem_name] = 'aws-sdk-opensearchserverless'
|
|
2971
|
-
context[:gem_version] = '1.
|
|
2979
|
+
context[:gem_version] = '1.56.0'
|
|
2972
2980
|
Seahorse::Client::Request.new(handlers, context)
|
|
2973
2981
|
end
|
|
2974
2982
|
|
|
@@ -914,6 +914,7 @@ module Aws::OpenSearchServerless
|
|
|
914
914
|
UpdateCollectionDetail.add_member(:status, Shapes::ShapeRef.new(shape: CollectionStatus, location_name: "status"))
|
|
915
915
|
UpdateCollectionDetail.add_member(:type, Shapes::ShapeRef.new(shape: CollectionType, location_name: "type"))
|
|
916
916
|
UpdateCollectionDetail.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
|
917
|
+
UpdateCollectionDetail.add_member(:vector_options, Shapes::ShapeRef.new(shape: VectorOptions, location_name: "vectorOptions"))
|
|
917
918
|
UpdateCollectionDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
918
919
|
UpdateCollectionDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
919
920
|
UpdateCollectionDetail.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Long, location_name: "lastModifiedDate"))
|
|
@@ -939,6 +940,7 @@ module Aws::OpenSearchServerless
|
|
|
939
940
|
|
|
940
941
|
UpdateCollectionRequest.add_member(:id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "id"))
|
|
941
942
|
UpdateCollectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: UpdateCollectionRequestDescriptionString, location_name: "description"))
|
|
943
|
+
UpdateCollectionRequest.add_member(:vector_options, Shapes::ShapeRef.new(shape: VectorOptions, location_name: "vectorOptions"))
|
|
942
944
|
UpdateCollectionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
943
945
|
UpdateCollectionRequest.struct_class = Types::UpdateCollectionRequest
|
|
944
946
|
|
|
@@ -683,7 +683,9 @@ module Aws::OpenSearchServerless
|
|
|
683
683
|
end
|
|
684
684
|
|
|
685
685
|
# When creating a resource, thrown when a resource with the same name
|
|
686
|
-
# already exists or is being created.
|
|
686
|
+
# already exists or is being created. When deleting a resource, thrown
|
|
687
|
+
# when the resource is not in the ACTIVE, FAILED, or UPDATE\_FAILED
|
|
688
|
+
# state.
|
|
687
689
|
#
|
|
688
690
|
# @!attribute [rw] message
|
|
689
691
|
# @return [String]
|
|
@@ -2978,6 +2980,11 @@ module Aws::OpenSearchServerless
|
|
|
2978
2980
|
# The description of the collection.
|
|
2979
2981
|
# @return [String]
|
|
2980
2982
|
#
|
|
2983
|
+
# @!attribute [rw] vector_options
|
|
2984
|
+
# Configuration options for vector search capabilities in the
|
|
2985
|
+
# collection.
|
|
2986
|
+
# @return [Types::VectorOptions]
|
|
2987
|
+
#
|
|
2981
2988
|
# @!attribute [rw] arn
|
|
2982
2989
|
# The Amazon Resource Name (ARN) of the collection.
|
|
2983
2990
|
# @return [String]
|
|
@@ -2998,6 +3005,7 @@ module Aws::OpenSearchServerless
|
|
|
2998
3005
|
:status,
|
|
2999
3006
|
:type,
|
|
3000
3007
|
:description,
|
|
3008
|
+
:vector_options,
|
|
3001
3009
|
:arn,
|
|
3002
3010
|
:created_date,
|
|
3003
3011
|
:last_modified_date)
|
|
@@ -3102,6 +3110,11 @@ module Aws::OpenSearchServerless
|
|
|
3102
3110
|
# A description of the collection.
|
|
3103
3111
|
# @return [String]
|
|
3104
3112
|
#
|
|
3113
|
+
# @!attribute [rw] vector_options
|
|
3114
|
+
# Configuration options for vector search capabilities in the
|
|
3115
|
+
# collection.
|
|
3116
|
+
# @return [Types::VectorOptions]
|
|
3117
|
+
#
|
|
3105
3118
|
# @!attribute [rw] client_token
|
|
3106
3119
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
|
3107
3120
|
# request.
|
|
@@ -3115,6 +3128,7 @@ module Aws::OpenSearchServerless
|
|
|
3115
3128
|
class UpdateCollectionRequest < Struct.new(
|
|
3116
3129
|
:id,
|
|
3117
3130
|
:description,
|
|
3131
|
+
:vector_options,
|
|
3118
3132
|
:client_token)
|
|
3119
3133
|
SENSITIVE = []
|
|
3120
3134
|
include Aws::Structure
|
data/sig/client.rbs
CHANGED
|
@@ -481,7 +481,7 @@ module Aws
|
|
|
481
481
|
def list_collections: (
|
|
482
482
|
?collection_filters: {
|
|
483
483
|
name: ::String?,
|
|
484
|
-
status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")?,
|
|
484
|
+
status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED" | "UPDATE_FAILED")?,
|
|
485
485
|
collection_group_name: ::String?
|
|
486
486
|
},
|
|
487
487
|
?next_token: ::String,
|
|
@@ -616,6 +616,9 @@ module Aws
|
|
|
616
616
|
def update_collection: (
|
|
617
617
|
id: ::String,
|
|
618
618
|
?description: ::String,
|
|
619
|
+
?vector_options: {
|
|
620
|
+
serverless_vector_acceleration: ("ENABLED" | "DISABLED" | "ALLOWED")
|
|
621
|
+
},
|
|
619
622
|
?client_token: ::String
|
|
620
623
|
) -> _UpdateCollectionResponseSuccess
|
|
621
624
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCollectionResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -105,7 +105,7 @@ module Aws::OpenSearchServerless
|
|
|
105
105
|
class CollectionDetail
|
|
106
106
|
attr_accessor id: ::String
|
|
107
107
|
attr_accessor name: ::String
|
|
108
|
-
attr_accessor status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")
|
|
108
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED" | "UPDATE_FAILED")
|
|
109
109
|
attr_accessor type: ("SEARCH" | "TIMESERIES" | "VECTORSEARCH")
|
|
110
110
|
attr_accessor description: ::String
|
|
111
111
|
attr_accessor arn: ::String
|
|
@@ -133,7 +133,7 @@ module Aws::OpenSearchServerless
|
|
|
133
133
|
|
|
134
134
|
class CollectionFilters
|
|
135
135
|
attr_accessor name: ::String
|
|
136
|
-
attr_accessor status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")
|
|
136
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED" | "UPDATE_FAILED")
|
|
137
137
|
attr_accessor collection_group_name: ::String
|
|
138
138
|
SENSITIVE: []
|
|
139
139
|
end
|
|
@@ -180,7 +180,7 @@ module Aws::OpenSearchServerless
|
|
|
180
180
|
class CollectionSummary
|
|
181
181
|
attr_accessor id: ::String
|
|
182
182
|
attr_accessor name: ::String
|
|
183
|
-
attr_accessor status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")
|
|
183
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED" | "UPDATE_FAILED")
|
|
184
184
|
attr_accessor arn: ::String
|
|
185
185
|
attr_accessor kms_key_arn: ::String
|
|
186
186
|
attr_accessor collection_group_name: ::String
|
|
@@ -209,7 +209,7 @@ module Aws::OpenSearchServerless
|
|
|
209
209
|
class CreateCollectionDetail
|
|
210
210
|
attr_accessor id: ::String
|
|
211
211
|
attr_accessor name: ::String
|
|
212
|
-
attr_accessor status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")
|
|
212
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED" | "UPDATE_FAILED")
|
|
213
213
|
attr_accessor type: ("SEARCH" | "TIMESERIES" | "VECTORSEARCH")
|
|
214
214
|
attr_accessor description: ::String
|
|
215
215
|
attr_accessor arn: ::String
|
|
@@ -362,7 +362,7 @@ module Aws::OpenSearchServerless
|
|
|
362
362
|
class DeleteCollectionDetail
|
|
363
363
|
attr_accessor id: ::String
|
|
364
364
|
attr_accessor name: ::String
|
|
365
|
-
attr_accessor status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")
|
|
365
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED" | "UPDATE_FAILED")
|
|
366
366
|
SENSITIVE: []
|
|
367
367
|
end
|
|
368
368
|
|
|
@@ -840,9 +840,10 @@ module Aws::OpenSearchServerless
|
|
|
840
840
|
class UpdateCollectionDetail
|
|
841
841
|
attr_accessor id: ::String
|
|
842
842
|
attr_accessor name: ::String
|
|
843
|
-
attr_accessor status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")
|
|
843
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED" | "UPDATE_FAILED")
|
|
844
844
|
attr_accessor type: ("SEARCH" | "TIMESERIES" | "VECTORSEARCH")
|
|
845
845
|
attr_accessor description: ::String
|
|
846
|
+
attr_accessor vector_options: Types::VectorOptions
|
|
846
847
|
attr_accessor arn: ::String
|
|
847
848
|
attr_accessor created_date: ::Integer
|
|
848
849
|
attr_accessor last_modified_date: ::Integer
|
|
@@ -876,6 +877,7 @@ module Aws::OpenSearchServerless
|
|
|
876
877
|
class UpdateCollectionRequest
|
|
877
878
|
attr_accessor id: ::String
|
|
878
879
|
attr_accessor description: ::String
|
|
880
|
+
attr_accessor vector_options: Types::VectorOptions
|
|
879
881
|
attr_accessor client_token: ::String
|
|
880
882
|
SENSITIVE: []
|
|
881
883
|
end
|