aws-sdk-opensearchserverless 1.51.0 → 1.53.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 +317 -5
- data/lib/aws-sdk-opensearchserverless/client_api.rb +206 -0
- data/lib/aws-sdk-opensearchserverless/types.rb +525 -10
- data/lib/aws-sdk-opensearchserverless.rb +1 -1
- data/sig/client.rbs +84 -1
- data/sig/types.rbs +136 -0
- metadata +3 -3
data/sig/client.rbs
CHANGED
|
@@ -91,6 +91,18 @@ module Aws
|
|
|
91
91
|
) -> _BatchGetCollectionResponseSuccess
|
|
92
92
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCollectionResponseSuccess
|
|
93
93
|
|
|
94
|
+
interface _BatchGetCollectionGroupResponseSuccess
|
|
95
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetCollectionGroupResponse]
|
|
96
|
+
def collection_group_details: () -> ::Array[Types::CollectionGroupDetail]
|
|
97
|
+
def collection_group_error_details: () -> ::Array[Types::CollectionGroupErrorDetail]
|
|
98
|
+
end
|
|
99
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#batch_get_collection_group-instance_method
|
|
100
|
+
def batch_get_collection_group: (
|
|
101
|
+
?ids: Array[::String],
|
|
102
|
+
?names: Array[::String]
|
|
103
|
+
) -> _BatchGetCollectionGroupResponseSuccess
|
|
104
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCollectionGroupResponseSuccess
|
|
105
|
+
|
|
94
106
|
interface _BatchGetEffectiveLifecyclePolicyResponseSuccess
|
|
95
107
|
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetEffectiveLifecyclePolicyResponse]
|
|
96
108
|
def effective_lifecycle_policy_details: () -> ::Array[Types::EffectiveLifecyclePolicyDetail]
|
|
@@ -167,10 +179,40 @@ module Aws
|
|
|
167
179
|
?vector_options: {
|
|
168
180
|
serverless_vector_acceleration: ("ENABLED" | "DISABLED" | "ALLOWED")
|
|
169
181
|
},
|
|
182
|
+
?collection_group_name: ::String,
|
|
183
|
+
?encryption_config: {
|
|
184
|
+
a_ws_owned_key: bool?,
|
|
185
|
+
kms_key_arn: ::String?
|
|
186
|
+
},
|
|
170
187
|
?client_token: ::String
|
|
171
188
|
) -> _CreateCollectionResponseSuccess
|
|
172
189
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCollectionResponseSuccess
|
|
173
190
|
|
|
191
|
+
interface _CreateCollectionGroupResponseSuccess
|
|
192
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCollectionGroupResponse]
|
|
193
|
+
def create_collection_group_detail: () -> Types::CreateCollectionGroupDetail
|
|
194
|
+
end
|
|
195
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_collection_group-instance_method
|
|
196
|
+
def create_collection_group: (
|
|
197
|
+
name: ::String,
|
|
198
|
+
standby_replicas: ("ENABLED" | "DISABLED"),
|
|
199
|
+
?description: ::String,
|
|
200
|
+
?tags: Array[
|
|
201
|
+
{
|
|
202
|
+
key: ::String,
|
|
203
|
+
value: ::String
|
|
204
|
+
},
|
|
205
|
+
],
|
|
206
|
+
?capacity_limits: {
|
|
207
|
+
max_indexing_capacity_in_ocu: ::Float?,
|
|
208
|
+
max_search_capacity_in_ocu: ::Float?,
|
|
209
|
+
min_indexing_capacity_in_ocu: ::Float?,
|
|
210
|
+
min_search_capacity_in_ocu: ::Float?
|
|
211
|
+
},
|
|
212
|
+
?client_token: ::String
|
|
213
|
+
) -> _CreateCollectionGroupResponseSuccess
|
|
214
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCollectionGroupResponseSuccess
|
|
215
|
+
|
|
174
216
|
interface _CreateIndexResponseSuccess
|
|
175
217
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateIndexResponse]
|
|
176
218
|
end
|
|
@@ -276,6 +318,16 @@ module Aws
|
|
|
276
318
|
) -> _DeleteCollectionResponseSuccess
|
|
277
319
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCollectionResponseSuccess
|
|
278
320
|
|
|
321
|
+
interface _DeleteCollectionGroupResponseSuccess
|
|
322
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCollectionGroupResponse]
|
|
323
|
+
end
|
|
324
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_collection_group-instance_method
|
|
325
|
+
def delete_collection_group: (
|
|
326
|
+
id: ::String,
|
|
327
|
+
?client_token: ::String
|
|
328
|
+
) -> _DeleteCollectionGroupResponseSuccess
|
|
329
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCollectionGroupResponseSuccess
|
|
330
|
+
|
|
279
331
|
interface _DeleteIndexResponseSuccess
|
|
280
332
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIndexResponse]
|
|
281
333
|
end
|
|
@@ -408,6 +460,18 @@ module Aws
|
|
|
408
460
|
) -> _ListAccessPoliciesResponseSuccess
|
|
409
461
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccessPoliciesResponseSuccess
|
|
410
462
|
|
|
463
|
+
interface _ListCollectionGroupsResponseSuccess
|
|
464
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCollectionGroupsResponse]
|
|
465
|
+
def collection_group_summaries: () -> ::Array[Types::CollectionGroupSummary]
|
|
466
|
+
def next_token: () -> ::String
|
|
467
|
+
end
|
|
468
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_collection_groups-instance_method
|
|
469
|
+
def list_collection_groups: (
|
|
470
|
+
?next_token: ::String,
|
|
471
|
+
?max_results: ::Integer
|
|
472
|
+
) -> _ListCollectionGroupsResponseSuccess
|
|
473
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCollectionGroupsResponseSuccess
|
|
474
|
+
|
|
411
475
|
interface _ListCollectionsResponseSuccess
|
|
412
476
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListCollectionsResponse]
|
|
413
477
|
def collection_summaries: () -> ::Array[Types::CollectionSummary]
|
|
@@ -417,7 +481,8 @@ module Aws
|
|
|
417
481
|
def list_collections: (
|
|
418
482
|
?collection_filters: {
|
|
419
483
|
name: ::String?,
|
|
420
|
-
status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")
|
|
484
|
+
status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")?,
|
|
485
|
+
collection_group_name: ::String?
|
|
421
486
|
},
|
|
422
487
|
?next_token: ::String,
|
|
423
488
|
?max_results: ::Integer
|
|
@@ -555,6 +620,24 @@ module Aws
|
|
|
555
620
|
) -> _UpdateCollectionResponseSuccess
|
|
556
621
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCollectionResponseSuccess
|
|
557
622
|
|
|
623
|
+
interface _UpdateCollectionGroupResponseSuccess
|
|
624
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCollectionGroupResponse]
|
|
625
|
+
def update_collection_group_detail: () -> Types::UpdateCollectionGroupDetail
|
|
626
|
+
end
|
|
627
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_collection_group-instance_method
|
|
628
|
+
def update_collection_group: (
|
|
629
|
+
id: ::String,
|
|
630
|
+
?description: ::String,
|
|
631
|
+
?capacity_limits: {
|
|
632
|
+
max_indexing_capacity_in_ocu: ::Float?,
|
|
633
|
+
max_search_capacity_in_ocu: ::Float?,
|
|
634
|
+
min_indexing_capacity_in_ocu: ::Float?,
|
|
635
|
+
min_search_capacity_in_ocu: ::Float?
|
|
636
|
+
},
|
|
637
|
+
?client_token: ::String
|
|
638
|
+
) -> _UpdateCollectionGroupResponseSuccess
|
|
639
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCollectionGroupResponseSuccess
|
|
640
|
+
|
|
558
641
|
interface _UpdateIndexResponseSuccess
|
|
559
642
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIndexResponse]
|
|
560
643
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -39,6 +39,18 @@ module Aws::OpenSearchServerless
|
|
|
39
39
|
SENSITIVE: []
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
+
class BatchGetCollectionGroupRequest
|
|
43
|
+
attr_accessor ids: ::Array[::String]
|
|
44
|
+
attr_accessor names: ::Array[::String]
|
|
45
|
+
SENSITIVE: []
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
class BatchGetCollectionGroupResponse
|
|
49
|
+
attr_accessor collection_group_details: ::Array[Types::CollectionGroupDetail]
|
|
50
|
+
attr_accessor collection_group_error_details: ::Array[Types::CollectionGroupErrorDetail]
|
|
51
|
+
SENSITIVE: []
|
|
52
|
+
end
|
|
53
|
+
|
|
42
54
|
class BatchGetCollectionRequest
|
|
43
55
|
attr_accessor ids: ::Array[::String]
|
|
44
56
|
attr_accessor names: ::Array[::String]
|
|
@@ -107,6 +119,7 @@ module Aws::OpenSearchServerless
|
|
|
107
119
|
attr_accessor fips_endpoints: Types::FipsEndpoints
|
|
108
120
|
attr_accessor failure_code: ::String
|
|
109
121
|
attr_accessor failure_message: ::String
|
|
122
|
+
attr_accessor collection_group_name: ::String
|
|
110
123
|
SENSITIVE: []
|
|
111
124
|
end
|
|
112
125
|
|
|
@@ -121,6 +134,46 @@ module Aws::OpenSearchServerless
|
|
|
121
134
|
class CollectionFilters
|
|
122
135
|
attr_accessor name: ::String
|
|
123
136
|
attr_accessor status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")
|
|
137
|
+
attr_accessor collection_group_name: ::String
|
|
138
|
+
SENSITIVE: []
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
class CollectionGroupCapacityLimits
|
|
142
|
+
attr_accessor max_indexing_capacity_in_ocu: ::Float
|
|
143
|
+
attr_accessor max_search_capacity_in_ocu: ::Float
|
|
144
|
+
attr_accessor min_indexing_capacity_in_ocu: ::Float
|
|
145
|
+
attr_accessor min_search_capacity_in_ocu: ::Float
|
|
146
|
+
SENSITIVE: []
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
class CollectionGroupDetail
|
|
150
|
+
attr_accessor id: ::String
|
|
151
|
+
attr_accessor arn: ::String
|
|
152
|
+
attr_accessor name: ::String
|
|
153
|
+
attr_accessor standby_replicas: ("ENABLED" | "DISABLED")
|
|
154
|
+
attr_accessor description: ::String
|
|
155
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
156
|
+
attr_accessor created_date: ::Integer
|
|
157
|
+
attr_accessor capacity_limits: Types::CollectionGroupCapacityLimits
|
|
158
|
+
attr_accessor number_of_collections: ::Integer
|
|
159
|
+
SENSITIVE: []
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
class CollectionGroupErrorDetail
|
|
163
|
+
attr_accessor id: ::String
|
|
164
|
+
attr_accessor name: ::String
|
|
165
|
+
attr_accessor error_message: ::String
|
|
166
|
+
attr_accessor error_code: ::String
|
|
167
|
+
SENSITIVE: []
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
class CollectionGroupSummary
|
|
171
|
+
attr_accessor id: ::String
|
|
172
|
+
attr_accessor arn: ::String
|
|
173
|
+
attr_accessor name: ::String
|
|
174
|
+
attr_accessor number_of_collections: ::Integer
|
|
175
|
+
attr_accessor created_date: ::Integer
|
|
176
|
+
attr_accessor capacity_limits: Types::CollectionGroupCapacityLimits
|
|
124
177
|
SENSITIVE: []
|
|
125
178
|
end
|
|
126
179
|
|
|
@@ -129,6 +182,8 @@ module Aws::OpenSearchServerless
|
|
|
129
182
|
attr_accessor name: ::String
|
|
130
183
|
attr_accessor status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")
|
|
131
184
|
attr_accessor arn: ::String
|
|
185
|
+
attr_accessor kms_key_arn: ::String
|
|
186
|
+
attr_accessor collection_group_name: ::String
|
|
132
187
|
SENSITIVE: []
|
|
133
188
|
end
|
|
134
189
|
|
|
@@ -163,6 +218,34 @@ module Aws::OpenSearchServerless
|
|
|
163
218
|
attr_accessor vector_options: Types::VectorOptions
|
|
164
219
|
attr_accessor created_date: ::Integer
|
|
165
220
|
attr_accessor last_modified_date: ::Integer
|
|
221
|
+
attr_accessor collection_group_name: ::String
|
|
222
|
+
SENSITIVE: []
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
class CreateCollectionGroupDetail
|
|
226
|
+
attr_accessor id: ::String
|
|
227
|
+
attr_accessor arn: ::String
|
|
228
|
+
attr_accessor name: ::String
|
|
229
|
+
attr_accessor standby_replicas: ("ENABLED" | "DISABLED")
|
|
230
|
+
attr_accessor description: ::String
|
|
231
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
232
|
+
attr_accessor created_date: ::Integer
|
|
233
|
+
attr_accessor capacity_limits: Types::CollectionGroupCapacityLimits
|
|
234
|
+
SENSITIVE: []
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
class CreateCollectionGroupRequest
|
|
238
|
+
attr_accessor name: ::String
|
|
239
|
+
attr_accessor standby_replicas: ("ENABLED" | "DISABLED")
|
|
240
|
+
attr_accessor description: ::String
|
|
241
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
242
|
+
attr_accessor capacity_limits: Types::CollectionGroupCapacityLimits
|
|
243
|
+
attr_accessor client_token: ::String
|
|
244
|
+
SENSITIVE: []
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
class CreateCollectionGroupResponse
|
|
248
|
+
attr_accessor create_collection_group_detail: Types::CreateCollectionGroupDetail
|
|
166
249
|
SENSITIVE: []
|
|
167
250
|
end
|
|
168
251
|
|
|
@@ -173,6 +256,8 @@ module Aws::OpenSearchServerless
|
|
|
173
256
|
attr_accessor tags: ::Array[Types::Tag]
|
|
174
257
|
attr_accessor standby_replicas: ("ENABLED" | "DISABLED")
|
|
175
258
|
attr_accessor vector_options: Types::VectorOptions
|
|
259
|
+
attr_accessor collection_group_name: ::String
|
|
260
|
+
attr_accessor encryption_config: Types::EncryptionConfig
|
|
176
261
|
attr_accessor client_token: ::String
|
|
177
262
|
SENSITIVE: []
|
|
178
263
|
end
|
|
@@ -281,6 +366,15 @@ module Aws::OpenSearchServerless
|
|
|
281
366
|
SENSITIVE: []
|
|
282
367
|
end
|
|
283
368
|
|
|
369
|
+
class DeleteCollectionGroupRequest
|
|
370
|
+
attr_accessor id: ::String
|
|
371
|
+
attr_accessor client_token: ::String
|
|
372
|
+
SENSITIVE: []
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
class DeleteCollectionGroupResponse < Aws::EmptyStructure
|
|
376
|
+
end
|
|
377
|
+
|
|
284
378
|
class DeleteCollectionRequest
|
|
285
379
|
attr_accessor id: ::String
|
|
286
380
|
attr_accessor client_token: ::String
|
|
@@ -366,6 +460,12 @@ module Aws::OpenSearchServerless
|
|
|
366
460
|
SENSITIVE: []
|
|
367
461
|
end
|
|
368
462
|
|
|
463
|
+
class EncryptionConfig
|
|
464
|
+
attr_accessor a_ws_owned_key: bool
|
|
465
|
+
attr_accessor kms_key_arn: ::String
|
|
466
|
+
SENSITIVE: []
|
|
467
|
+
end
|
|
468
|
+
|
|
369
469
|
class FipsEndpoints
|
|
370
470
|
attr_accessor collection_endpoint: ::String
|
|
371
471
|
attr_accessor dashboard_endpoint: ::String
|
|
@@ -516,6 +616,18 @@ module Aws::OpenSearchServerless
|
|
|
516
616
|
SENSITIVE: []
|
|
517
617
|
end
|
|
518
618
|
|
|
619
|
+
class ListCollectionGroupsRequest
|
|
620
|
+
attr_accessor next_token: ::String
|
|
621
|
+
attr_accessor max_results: ::Integer
|
|
622
|
+
SENSITIVE: []
|
|
623
|
+
end
|
|
624
|
+
|
|
625
|
+
class ListCollectionGroupsResponse
|
|
626
|
+
attr_accessor collection_group_summaries: ::Array[Types::CollectionGroupSummary]
|
|
627
|
+
attr_accessor next_token: ::String
|
|
628
|
+
SENSITIVE: []
|
|
629
|
+
end
|
|
630
|
+
|
|
519
631
|
class ListCollectionsRequest
|
|
520
632
|
attr_accessor collection_filters: Types::CollectionFilters
|
|
521
633
|
attr_accessor next_token: ::String
|
|
@@ -737,6 +849,30 @@ module Aws::OpenSearchServerless
|
|
|
737
849
|
SENSITIVE: []
|
|
738
850
|
end
|
|
739
851
|
|
|
852
|
+
class UpdateCollectionGroupDetail
|
|
853
|
+
attr_accessor id: ::String
|
|
854
|
+
attr_accessor arn: ::String
|
|
855
|
+
attr_accessor name: ::String
|
|
856
|
+
attr_accessor description: ::String
|
|
857
|
+
attr_accessor capacity_limits: Types::CollectionGroupCapacityLimits
|
|
858
|
+
attr_accessor created_date: ::Integer
|
|
859
|
+
attr_accessor last_modified_date: ::Integer
|
|
860
|
+
SENSITIVE: []
|
|
861
|
+
end
|
|
862
|
+
|
|
863
|
+
class UpdateCollectionGroupRequest
|
|
864
|
+
attr_accessor id: ::String
|
|
865
|
+
attr_accessor description: ::String
|
|
866
|
+
attr_accessor capacity_limits: Types::CollectionGroupCapacityLimits
|
|
867
|
+
attr_accessor client_token: ::String
|
|
868
|
+
SENSITIVE: []
|
|
869
|
+
end
|
|
870
|
+
|
|
871
|
+
class UpdateCollectionGroupResponse
|
|
872
|
+
attr_accessor update_collection_group_detail: Types::UpdateCollectionGroupDetail
|
|
873
|
+
SENSITIVE: []
|
|
874
|
+
end
|
|
875
|
+
|
|
740
876
|
class UpdateCollectionRequest
|
|
741
877
|
attr_accessor id: ::String
|
|
742
878
|
attr_accessor description: ::String
|
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.53.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.241.
|
|
21
|
+
version: 3.241.3
|
|
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.241.
|
|
31
|
+
version: 3.241.3
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|