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
|
@@ -21,6 +21,8 @@ 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
|
+
BatchGetCollectionGroupRequest = Shapes::StructureShape.new(name: 'BatchGetCollectionGroupRequest')
|
|
25
|
+
BatchGetCollectionGroupResponse = Shapes::StructureShape.new(name: 'BatchGetCollectionGroupResponse')
|
|
24
26
|
BatchGetCollectionRequest = Shapes::StructureShape.new(name: 'BatchGetCollectionRequest')
|
|
25
27
|
BatchGetCollectionResponse = Shapes::StructureShape.new(name: 'BatchGetCollectionResponse')
|
|
26
28
|
BatchGetEffectiveLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'BatchGetEffectiveLifecyclePolicyRequest')
|
|
@@ -37,6 +39,19 @@ module Aws::OpenSearchServerless
|
|
|
37
39
|
CollectionErrorDetail = Shapes::StructureShape.new(name: 'CollectionErrorDetail')
|
|
38
40
|
CollectionErrorDetails = Shapes::ListShape.new(name: 'CollectionErrorDetails')
|
|
39
41
|
CollectionFilters = Shapes::StructureShape.new(name: 'CollectionFilters')
|
|
42
|
+
CollectionGroupCapacityLimits = Shapes::StructureShape.new(name: 'CollectionGroupCapacityLimits')
|
|
43
|
+
CollectionGroupDetail = Shapes::StructureShape.new(name: 'CollectionGroupDetail')
|
|
44
|
+
CollectionGroupDetails = Shapes::ListShape.new(name: 'CollectionGroupDetails')
|
|
45
|
+
CollectionGroupErrorDetail = Shapes::StructureShape.new(name: 'CollectionGroupErrorDetail')
|
|
46
|
+
CollectionGroupErrorDetails = Shapes::ListShape.new(name: 'CollectionGroupErrorDetails')
|
|
47
|
+
CollectionGroupId = Shapes::StringShape.new(name: 'CollectionGroupId')
|
|
48
|
+
CollectionGroupIds = Shapes::ListShape.new(name: 'CollectionGroupIds')
|
|
49
|
+
CollectionGroupIndexingCapacityValue = Shapes::FloatShape.new(name: 'CollectionGroupIndexingCapacityValue')
|
|
50
|
+
CollectionGroupName = Shapes::StringShape.new(name: 'CollectionGroupName')
|
|
51
|
+
CollectionGroupNames = Shapes::ListShape.new(name: 'CollectionGroupNames')
|
|
52
|
+
CollectionGroupSearchCapacityValue = Shapes::FloatShape.new(name: 'CollectionGroupSearchCapacityValue')
|
|
53
|
+
CollectionGroupSummaries = Shapes::ListShape.new(name: 'CollectionGroupSummaries')
|
|
54
|
+
CollectionGroupSummary = Shapes::StructureShape.new(name: 'CollectionGroupSummary')
|
|
40
55
|
CollectionId = Shapes::StringShape.new(name: 'CollectionId')
|
|
41
56
|
CollectionIds = Shapes::ListShape.new(name: 'CollectionIds')
|
|
42
57
|
CollectionName = Shapes::StringShape.new(name: 'CollectionName')
|
|
@@ -51,6 +66,10 @@ module Aws::OpenSearchServerless
|
|
|
51
66
|
CreateAccessPolicyRequest = Shapes::StructureShape.new(name: 'CreateAccessPolicyRequest')
|
|
52
67
|
CreateAccessPolicyResponse = Shapes::StructureShape.new(name: 'CreateAccessPolicyResponse')
|
|
53
68
|
CreateCollectionDetail = Shapes::StructureShape.new(name: 'CreateCollectionDetail')
|
|
69
|
+
CreateCollectionGroupDetail = Shapes::StructureShape.new(name: 'CreateCollectionGroupDetail')
|
|
70
|
+
CreateCollectionGroupRequest = Shapes::StructureShape.new(name: 'CreateCollectionGroupRequest')
|
|
71
|
+
CreateCollectionGroupRequestDescriptionString = Shapes::StringShape.new(name: 'CreateCollectionGroupRequestDescriptionString')
|
|
72
|
+
CreateCollectionGroupResponse = Shapes::StructureShape.new(name: 'CreateCollectionGroupResponse')
|
|
54
73
|
CreateCollectionRequest = Shapes::StructureShape.new(name: 'CreateCollectionRequest')
|
|
55
74
|
CreateCollectionRequestDescriptionString = Shapes::StringShape.new(name: 'CreateCollectionRequestDescriptionString')
|
|
56
75
|
CreateCollectionResponse = Shapes::StructureShape.new(name: 'CreateCollectionResponse')
|
|
@@ -69,6 +88,8 @@ module Aws::OpenSearchServerless
|
|
|
69
88
|
DeleteAccessPolicyRequest = Shapes::StructureShape.new(name: 'DeleteAccessPolicyRequest')
|
|
70
89
|
DeleteAccessPolicyResponse = Shapes::StructureShape.new(name: 'DeleteAccessPolicyResponse')
|
|
71
90
|
DeleteCollectionDetail = Shapes::StructureShape.new(name: 'DeleteCollectionDetail')
|
|
91
|
+
DeleteCollectionGroupRequest = Shapes::StructureShape.new(name: 'DeleteCollectionGroupRequest')
|
|
92
|
+
DeleteCollectionGroupResponse = Shapes::StructureShape.new(name: 'DeleteCollectionGroupResponse')
|
|
72
93
|
DeleteCollectionRequest = Shapes::StructureShape.new(name: 'DeleteCollectionRequest')
|
|
73
94
|
DeleteCollectionResponse = Shapes::StructureShape.new(name: 'DeleteCollectionResponse')
|
|
74
95
|
DeleteIndexRequest = Shapes::StructureShape.new(name: 'DeleteIndexRequest')
|
|
@@ -87,6 +108,8 @@ module Aws::OpenSearchServerless
|
|
|
87
108
|
EffectiveLifecyclePolicyDetails = Shapes::ListShape.new(name: 'EffectiveLifecyclePolicyDetails')
|
|
88
109
|
EffectiveLifecyclePolicyErrorDetail = Shapes::StructureShape.new(name: 'EffectiveLifecyclePolicyErrorDetail')
|
|
89
110
|
EffectiveLifecyclePolicyErrorDetails = Shapes::ListShape.new(name: 'EffectiveLifecyclePolicyErrorDetails')
|
|
111
|
+
EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
|
|
112
|
+
EncryptionConfigKmsKeyArnString = Shapes::StringShape.new(name: 'EncryptionConfigKmsKeyArnString')
|
|
90
113
|
FipsEndpoints = Shapes::StructureShape.new(name: 'FipsEndpoints')
|
|
91
114
|
GetAccessPolicyRequest = Shapes::StructureShape.new(name: 'GetAccessPolicyRequest')
|
|
92
115
|
GetAccessPolicyResponse = Shapes::StructureShape.new(name: 'GetAccessPolicyResponse')
|
|
@@ -109,6 +132,7 @@ module Aws::OpenSearchServerless
|
|
|
109
132
|
IndexName = Shapes::StringShape.new(name: 'IndexName')
|
|
110
133
|
IndexSchema = Shapes::DocumentShape.new(name: 'IndexSchema', document: true)
|
|
111
134
|
IndexingCapacityValue = Shapes::IntegerShape.new(name: 'IndexingCapacityValue')
|
|
135
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
112
136
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
113
137
|
LifecyclePolicyDetail = Shapes::StructureShape.new(name: 'LifecyclePolicyDetail')
|
|
114
138
|
LifecyclePolicyDetails = Shapes::ListShape.new(name: 'LifecyclePolicyDetails')
|
|
@@ -127,6 +151,9 @@ module Aws::OpenSearchServerless
|
|
|
127
151
|
ListAccessPoliciesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListAccessPoliciesRequestMaxResultsInteger')
|
|
128
152
|
ListAccessPoliciesRequestResourceList = Shapes::ListShape.new(name: 'ListAccessPoliciesRequestResourceList')
|
|
129
153
|
ListAccessPoliciesResponse = Shapes::StructureShape.new(name: 'ListAccessPoliciesResponse')
|
|
154
|
+
ListCollectionGroupsRequest = Shapes::StructureShape.new(name: 'ListCollectionGroupsRequest')
|
|
155
|
+
ListCollectionGroupsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListCollectionGroupsRequestMaxResultsInteger')
|
|
156
|
+
ListCollectionGroupsResponse = Shapes::StructureShape.new(name: 'ListCollectionGroupsResponse')
|
|
130
157
|
ListCollectionsRequest = Shapes::StructureShape.new(name: 'ListCollectionsRequest')
|
|
131
158
|
ListCollectionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListCollectionsRequestMaxResultsInteger')
|
|
132
159
|
ListCollectionsResponse = Shapes::StructureShape.new(name: 'ListCollectionsResponse')
|
|
@@ -192,6 +219,10 @@ module Aws::OpenSearchServerless
|
|
|
192
219
|
UpdateAccountSettingsRequest = Shapes::StructureShape.new(name: 'UpdateAccountSettingsRequest')
|
|
193
220
|
UpdateAccountSettingsResponse = Shapes::StructureShape.new(name: 'UpdateAccountSettingsResponse')
|
|
194
221
|
UpdateCollectionDetail = Shapes::StructureShape.new(name: 'UpdateCollectionDetail')
|
|
222
|
+
UpdateCollectionGroupDetail = Shapes::StructureShape.new(name: 'UpdateCollectionGroupDetail')
|
|
223
|
+
UpdateCollectionGroupRequest = Shapes::StructureShape.new(name: 'UpdateCollectionGroupRequest')
|
|
224
|
+
UpdateCollectionGroupRequestDescriptionString = Shapes::StringShape.new(name: 'UpdateCollectionGroupRequestDescriptionString')
|
|
225
|
+
UpdateCollectionGroupResponse = Shapes::StructureShape.new(name: 'UpdateCollectionGroupResponse')
|
|
195
226
|
UpdateCollectionRequest = Shapes::StructureShape.new(name: 'UpdateCollectionRequest')
|
|
196
227
|
UpdateCollectionRequestDescriptionString = Shapes::StringShape.new(name: 'UpdateCollectionRequestDescriptionString')
|
|
197
228
|
UpdateCollectionResponse = Shapes::StructureShape.new(name: 'UpdateCollectionResponse')
|
|
@@ -253,6 +284,14 @@ module Aws::OpenSearchServerless
|
|
|
253
284
|
AccountSettingsDetail.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CapacityLimits, location_name: "capacityLimits"))
|
|
254
285
|
AccountSettingsDetail.struct_class = Types::AccountSettingsDetail
|
|
255
286
|
|
|
287
|
+
BatchGetCollectionGroupRequest.add_member(:ids, Shapes::ShapeRef.new(shape: CollectionGroupIds, location_name: "ids"))
|
|
288
|
+
BatchGetCollectionGroupRequest.add_member(:names, Shapes::ShapeRef.new(shape: CollectionGroupNames, location_name: "names"))
|
|
289
|
+
BatchGetCollectionGroupRequest.struct_class = Types::BatchGetCollectionGroupRequest
|
|
290
|
+
|
|
291
|
+
BatchGetCollectionGroupResponse.add_member(:collection_group_details, Shapes::ShapeRef.new(shape: CollectionGroupDetails, location_name: "collectionGroupDetails"))
|
|
292
|
+
BatchGetCollectionGroupResponse.add_member(:collection_group_error_details, Shapes::ShapeRef.new(shape: CollectionGroupErrorDetails, location_name: "collectionGroupErrorDetails"))
|
|
293
|
+
BatchGetCollectionGroupResponse.struct_class = Types::BatchGetCollectionGroupResponse
|
|
294
|
+
|
|
256
295
|
BatchGetCollectionRequest.add_member(:ids, Shapes::ShapeRef.new(shape: CollectionIds, location_name: "ids"))
|
|
257
296
|
BatchGetCollectionRequest.add_member(:names, Shapes::ShapeRef.new(shape: CollectionNames, location_name: "names"))
|
|
258
297
|
BatchGetCollectionRequest.struct_class = Types::BatchGetCollectionRequest
|
|
@@ -302,6 +341,7 @@ module Aws::OpenSearchServerless
|
|
|
302
341
|
CollectionDetail.add_member(:fips_endpoints, Shapes::ShapeRef.new(shape: FipsEndpoints, location_name: "fipsEndpoints"))
|
|
303
342
|
CollectionDetail.add_member(:failure_code, Shapes::ShapeRef.new(shape: String, location_name: "failureCode"))
|
|
304
343
|
CollectionDetail.add_member(:failure_message, Shapes::ShapeRef.new(shape: String, location_name: "failureMessage"))
|
|
344
|
+
CollectionDetail.add_member(:collection_group_name, Shapes::ShapeRef.new(shape: CollectionGroupName, location_name: "collectionGroupName"))
|
|
305
345
|
CollectionDetail.struct_class = Types::CollectionDetail
|
|
306
346
|
|
|
307
347
|
CollectionDetails.member = Shapes::ShapeRef.new(shape: CollectionDetail)
|
|
@@ -316,8 +356,50 @@ module Aws::OpenSearchServerless
|
|
|
316
356
|
|
|
317
357
|
CollectionFilters.add_member(:name, Shapes::ShapeRef.new(shape: CollectionName, location_name: "name"))
|
|
318
358
|
CollectionFilters.add_member(:status, Shapes::ShapeRef.new(shape: CollectionStatus, location_name: "status"))
|
|
359
|
+
CollectionFilters.add_member(:collection_group_name, Shapes::ShapeRef.new(shape: CollectionGroupName, location_name: "collectionGroupName"))
|
|
319
360
|
CollectionFilters.struct_class = Types::CollectionFilters
|
|
320
361
|
|
|
362
|
+
CollectionGroupCapacityLimits.add_member(:max_indexing_capacity_in_ocu, Shapes::ShapeRef.new(shape: CollectionGroupIndexingCapacityValue, location_name: "maxIndexingCapacityInOCU"))
|
|
363
|
+
CollectionGroupCapacityLimits.add_member(:max_search_capacity_in_ocu, Shapes::ShapeRef.new(shape: CollectionGroupSearchCapacityValue, location_name: "maxSearchCapacityInOCU"))
|
|
364
|
+
CollectionGroupCapacityLimits.add_member(:min_indexing_capacity_in_ocu, Shapes::ShapeRef.new(shape: CollectionGroupIndexingCapacityValue, location_name: "minIndexingCapacityInOCU"))
|
|
365
|
+
CollectionGroupCapacityLimits.add_member(:min_search_capacity_in_ocu, Shapes::ShapeRef.new(shape: CollectionGroupSearchCapacityValue, location_name: "minSearchCapacityInOCU"))
|
|
366
|
+
CollectionGroupCapacityLimits.struct_class = Types::CollectionGroupCapacityLimits
|
|
367
|
+
|
|
368
|
+
CollectionGroupDetail.add_member(:id, Shapes::ShapeRef.new(shape: CollectionGroupId, location_name: "id"))
|
|
369
|
+
CollectionGroupDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
370
|
+
CollectionGroupDetail.add_member(:name, Shapes::ShapeRef.new(shape: CollectionGroupName, location_name: "name"))
|
|
371
|
+
CollectionGroupDetail.add_member(:standby_replicas, Shapes::ShapeRef.new(shape: StandbyReplicas, location_name: "standbyReplicas"))
|
|
372
|
+
CollectionGroupDetail.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
|
373
|
+
CollectionGroupDetail.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
374
|
+
CollectionGroupDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
375
|
+
CollectionGroupDetail.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CollectionGroupCapacityLimits, location_name: "capacityLimits"))
|
|
376
|
+
CollectionGroupDetail.add_member(:number_of_collections, Shapes::ShapeRef.new(shape: Integer, location_name: "numberOfCollections"))
|
|
377
|
+
CollectionGroupDetail.struct_class = Types::CollectionGroupDetail
|
|
378
|
+
|
|
379
|
+
CollectionGroupDetails.member = Shapes::ShapeRef.new(shape: CollectionGroupDetail)
|
|
380
|
+
|
|
381
|
+
CollectionGroupErrorDetail.add_member(:id, Shapes::ShapeRef.new(shape: CollectionGroupId, location_name: "id"))
|
|
382
|
+
CollectionGroupErrorDetail.add_member(:name, Shapes::ShapeRef.new(shape: CollectionGroupName, location_name: "name"))
|
|
383
|
+
CollectionGroupErrorDetail.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
|
|
384
|
+
CollectionGroupErrorDetail.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "errorCode"))
|
|
385
|
+
CollectionGroupErrorDetail.struct_class = Types::CollectionGroupErrorDetail
|
|
386
|
+
|
|
387
|
+
CollectionGroupErrorDetails.member = Shapes::ShapeRef.new(shape: CollectionGroupErrorDetail)
|
|
388
|
+
|
|
389
|
+
CollectionGroupIds.member = Shapes::ShapeRef.new(shape: CollectionGroupId)
|
|
390
|
+
|
|
391
|
+
CollectionGroupNames.member = Shapes::ShapeRef.new(shape: CollectionGroupName)
|
|
392
|
+
|
|
393
|
+
CollectionGroupSummaries.member = Shapes::ShapeRef.new(shape: CollectionGroupSummary)
|
|
394
|
+
|
|
395
|
+
CollectionGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: CollectionGroupId, location_name: "id"))
|
|
396
|
+
CollectionGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
397
|
+
CollectionGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: CollectionGroupName, location_name: "name"))
|
|
398
|
+
CollectionGroupSummary.add_member(:number_of_collections, Shapes::ShapeRef.new(shape: Integer, location_name: "numberOfCollections"))
|
|
399
|
+
CollectionGroupSummary.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
400
|
+
CollectionGroupSummary.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CollectionGroupCapacityLimits, location_name: "capacityLimits"))
|
|
401
|
+
CollectionGroupSummary.struct_class = Types::CollectionGroupSummary
|
|
402
|
+
|
|
321
403
|
CollectionIds.member = Shapes::ShapeRef.new(shape: CollectionId)
|
|
322
404
|
|
|
323
405
|
CollectionNames.member = Shapes::ShapeRef.new(shape: CollectionName)
|
|
@@ -328,6 +410,8 @@ module Aws::OpenSearchServerless
|
|
|
328
410
|
CollectionSummary.add_member(:name, Shapes::ShapeRef.new(shape: CollectionName, location_name: "name"))
|
|
329
411
|
CollectionSummary.add_member(:status, Shapes::ShapeRef.new(shape: CollectionStatus, location_name: "status"))
|
|
330
412
|
CollectionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
413
|
+
CollectionSummary.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyArn"))
|
|
414
|
+
CollectionSummary.add_member(:collection_group_name, Shapes::ShapeRef.new(shape: CollectionGroupName, location_name: "collectionGroupName"))
|
|
331
415
|
CollectionSummary.struct_class = Types::CollectionSummary
|
|
332
416
|
|
|
333
417
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
@@ -354,14 +438,38 @@ module Aws::OpenSearchServerless
|
|
|
354
438
|
CreateCollectionDetail.add_member(:vector_options, Shapes::ShapeRef.new(shape: VectorOptions, location_name: "vectorOptions"))
|
|
355
439
|
CreateCollectionDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
356
440
|
CreateCollectionDetail.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Long, location_name: "lastModifiedDate"))
|
|
441
|
+
CreateCollectionDetail.add_member(:collection_group_name, Shapes::ShapeRef.new(shape: CollectionGroupName, location_name: "collectionGroupName"))
|
|
357
442
|
CreateCollectionDetail.struct_class = Types::CreateCollectionDetail
|
|
358
443
|
|
|
444
|
+
CreateCollectionGroupDetail.add_member(:id, Shapes::ShapeRef.new(shape: CollectionGroupId, location_name: "id"))
|
|
445
|
+
CreateCollectionGroupDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
446
|
+
CreateCollectionGroupDetail.add_member(:name, Shapes::ShapeRef.new(shape: CollectionGroupName, location_name: "name"))
|
|
447
|
+
CreateCollectionGroupDetail.add_member(:standby_replicas, Shapes::ShapeRef.new(shape: StandbyReplicas, location_name: "standbyReplicas"))
|
|
448
|
+
CreateCollectionGroupDetail.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
|
449
|
+
CreateCollectionGroupDetail.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
450
|
+
CreateCollectionGroupDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
451
|
+
CreateCollectionGroupDetail.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CollectionGroupCapacityLimits, location_name: "capacityLimits"))
|
|
452
|
+
CreateCollectionGroupDetail.struct_class = Types::CreateCollectionGroupDetail
|
|
453
|
+
|
|
454
|
+
CreateCollectionGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: CollectionGroupName, required: true, location_name: "name"))
|
|
455
|
+
CreateCollectionGroupRequest.add_member(:standby_replicas, Shapes::ShapeRef.new(shape: StandbyReplicas, required: true, location_name: "standbyReplicas"))
|
|
456
|
+
CreateCollectionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: CreateCollectionGroupRequestDescriptionString, location_name: "description"))
|
|
457
|
+
CreateCollectionGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
458
|
+
CreateCollectionGroupRequest.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CollectionGroupCapacityLimits, location_name: "capacityLimits"))
|
|
459
|
+
CreateCollectionGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
460
|
+
CreateCollectionGroupRequest.struct_class = Types::CreateCollectionGroupRequest
|
|
461
|
+
|
|
462
|
+
CreateCollectionGroupResponse.add_member(:create_collection_group_detail, Shapes::ShapeRef.new(shape: CreateCollectionGroupDetail, location_name: "createCollectionGroupDetail"))
|
|
463
|
+
CreateCollectionGroupResponse.struct_class = Types::CreateCollectionGroupResponse
|
|
464
|
+
|
|
359
465
|
CreateCollectionRequest.add_member(:name, Shapes::ShapeRef.new(shape: CollectionName, required: true, location_name: "name"))
|
|
360
466
|
CreateCollectionRequest.add_member(:type, Shapes::ShapeRef.new(shape: CollectionType, location_name: "type"))
|
|
361
467
|
CreateCollectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: CreateCollectionRequestDescriptionString, location_name: "description"))
|
|
362
468
|
CreateCollectionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
363
469
|
CreateCollectionRequest.add_member(:standby_replicas, Shapes::ShapeRef.new(shape: StandbyReplicas, location_name: "standbyReplicas"))
|
|
364
470
|
CreateCollectionRequest.add_member(:vector_options, Shapes::ShapeRef.new(shape: VectorOptions, location_name: "vectorOptions"))
|
|
471
|
+
CreateCollectionRequest.add_member(:collection_group_name, Shapes::ShapeRef.new(shape: CollectionGroupName, location_name: "collectionGroupName"))
|
|
472
|
+
CreateCollectionRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "encryptionConfig"))
|
|
365
473
|
CreateCollectionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
366
474
|
CreateCollectionRequest.struct_class = Types::CreateCollectionRequest
|
|
367
475
|
|
|
@@ -439,6 +547,12 @@ module Aws::OpenSearchServerless
|
|
|
439
547
|
DeleteCollectionDetail.add_member(:status, Shapes::ShapeRef.new(shape: CollectionStatus, location_name: "status"))
|
|
440
548
|
DeleteCollectionDetail.struct_class = Types::DeleteCollectionDetail
|
|
441
549
|
|
|
550
|
+
DeleteCollectionGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: CollectionGroupId, required: true, location_name: "id"))
|
|
551
|
+
DeleteCollectionGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
552
|
+
DeleteCollectionGroupRequest.struct_class = Types::DeleteCollectionGroupRequest
|
|
553
|
+
|
|
554
|
+
DeleteCollectionGroupResponse.struct_class = Types::DeleteCollectionGroupResponse
|
|
555
|
+
|
|
442
556
|
DeleteCollectionRequest.add_member(:id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "id"))
|
|
443
557
|
DeleteCollectionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
444
558
|
DeleteCollectionRequest.struct_class = Types::DeleteCollectionRequest
|
|
@@ -502,6 +616,10 @@ module Aws::OpenSearchServerless
|
|
|
502
616
|
|
|
503
617
|
EffectiveLifecyclePolicyErrorDetails.member = Shapes::ShapeRef.new(shape: EffectiveLifecyclePolicyErrorDetail)
|
|
504
618
|
|
|
619
|
+
EncryptionConfig.add_member(:a_ws_owned_key, Shapes::ShapeRef.new(shape: Boolean, location_name: "aWSOwnedKey"))
|
|
620
|
+
EncryptionConfig.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: EncryptionConfigKmsKeyArnString, location_name: "kmsKeyArn"))
|
|
621
|
+
EncryptionConfig.struct_class = Types::EncryptionConfig
|
|
622
|
+
|
|
505
623
|
FipsEndpoints.add_member(:collection_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "collectionEndpoint"))
|
|
506
624
|
FipsEndpoints.add_member(:dashboard_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "dashboardEndpoint"))
|
|
507
625
|
FipsEndpoints.struct_class = Types::FipsEndpoints
|
|
@@ -618,6 +736,14 @@ module Aws::OpenSearchServerless
|
|
|
618
736
|
ListAccessPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
619
737
|
ListAccessPoliciesResponse.struct_class = Types::ListAccessPoliciesResponse
|
|
620
738
|
|
|
739
|
+
ListCollectionGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
740
|
+
ListCollectionGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListCollectionGroupsRequestMaxResultsInteger, location_name: "maxResults"))
|
|
741
|
+
ListCollectionGroupsRequest.struct_class = Types::ListCollectionGroupsRequest
|
|
742
|
+
|
|
743
|
+
ListCollectionGroupsResponse.add_member(:collection_group_summaries, Shapes::ShapeRef.new(shape: CollectionGroupSummaries, location_name: "collectionGroupSummaries"))
|
|
744
|
+
ListCollectionGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
745
|
+
ListCollectionGroupsResponse.struct_class = Types::ListCollectionGroupsResponse
|
|
746
|
+
|
|
621
747
|
ListCollectionsRequest.add_member(:collection_filters, Shapes::ShapeRef.new(shape: CollectionFilters, location_name: "collectionFilters"))
|
|
622
748
|
ListCollectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
623
749
|
ListCollectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListCollectionsRequestMaxResultsInteger, location_name: "maxResults"))
|
|
@@ -793,6 +919,24 @@ module Aws::OpenSearchServerless
|
|
|
793
919
|
UpdateCollectionDetail.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Long, location_name: "lastModifiedDate"))
|
|
794
920
|
UpdateCollectionDetail.struct_class = Types::UpdateCollectionDetail
|
|
795
921
|
|
|
922
|
+
UpdateCollectionGroupDetail.add_member(:id, Shapes::ShapeRef.new(shape: CollectionGroupId, location_name: "id"))
|
|
923
|
+
UpdateCollectionGroupDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
924
|
+
UpdateCollectionGroupDetail.add_member(:name, Shapes::ShapeRef.new(shape: CollectionGroupName, location_name: "name"))
|
|
925
|
+
UpdateCollectionGroupDetail.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
|
926
|
+
UpdateCollectionGroupDetail.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CollectionGroupCapacityLimits, location_name: "capacityLimits"))
|
|
927
|
+
UpdateCollectionGroupDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
928
|
+
UpdateCollectionGroupDetail.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Long, location_name: "lastModifiedDate"))
|
|
929
|
+
UpdateCollectionGroupDetail.struct_class = Types::UpdateCollectionGroupDetail
|
|
930
|
+
|
|
931
|
+
UpdateCollectionGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: CollectionGroupId, required: true, location_name: "id"))
|
|
932
|
+
UpdateCollectionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: UpdateCollectionGroupRequestDescriptionString, location_name: "description"))
|
|
933
|
+
UpdateCollectionGroupRequest.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CollectionGroupCapacityLimits, location_name: "capacityLimits"))
|
|
934
|
+
UpdateCollectionGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
935
|
+
UpdateCollectionGroupRequest.struct_class = Types::UpdateCollectionGroupRequest
|
|
936
|
+
|
|
937
|
+
UpdateCollectionGroupResponse.add_member(:update_collection_group_detail, Shapes::ShapeRef.new(shape: UpdateCollectionGroupDetail, location_name: "updateCollectionGroupDetail"))
|
|
938
|
+
UpdateCollectionGroupResponse.struct_class = Types::UpdateCollectionGroupResponse
|
|
939
|
+
|
|
796
940
|
UpdateCollectionRequest.add_member(:id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "id"))
|
|
797
941
|
UpdateCollectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: UpdateCollectionRequestDescriptionString, location_name: "description"))
|
|
798
942
|
UpdateCollectionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
@@ -934,6 +1078,16 @@ module Aws::OpenSearchServerless
|
|
|
934
1078
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
935
1079
|
end)
|
|
936
1080
|
|
|
1081
|
+
api.add_operation(:batch_get_collection_group, Seahorse::Model::Operation.new.tap do |o|
|
|
1082
|
+
o.name = "BatchGetCollectionGroup"
|
|
1083
|
+
o.http_method = "POST"
|
|
1084
|
+
o.http_request_uri = "/"
|
|
1085
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetCollectionGroupRequest)
|
|
1086
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetCollectionGroupResponse)
|
|
1087
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1088
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1089
|
+
end)
|
|
1090
|
+
|
|
937
1091
|
api.add_operation(:batch_get_effective_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
938
1092
|
o.name = "BatchGetEffectiveLifecyclePolicy"
|
|
939
1093
|
o.http_method = "POST"
|
|
@@ -989,6 +1143,18 @@ module Aws::OpenSearchServerless
|
|
|
989
1143
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
990
1144
|
end)
|
|
991
1145
|
|
|
1146
|
+
api.add_operation(:create_collection_group, Seahorse::Model::Operation.new.tap do |o|
|
|
1147
|
+
o.name = "CreateCollectionGroup"
|
|
1148
|
+
o.http_method = "POST"
|
|
1149
|
+
o.http_request_uri = "/"
|
|
1150
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCollectionGroupRequest)
|
|
1151
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCollectionGroupResponse)
|
|
1152
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1153
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1154
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1155
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1156
|
+
end)
|
|
1157
|
+
|
|
992
1158
|
api.add_operation(:create_index, Seahorse::Model::Operation.new.tap do |o|
|
|
993
1159
|
o.name = "CreateIndex"
|
|
994
1160
|
o.http_method = "POST"
|
|
@@ -1073,6 +1239,18 @@ module Aws::OpenSearchServerless
|
|
|
1073
1239
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1074
1240
|
end)
|
|
1075
1241
|
|
|
1242
|
+
api.add_operation(:delete_collection_group, Seahorse::Model::Operation.new.tap do |o|
|
|
1243
|
+
o.name = "DeleteCollectionGroup"
|
|
1244
|
+
o.http_method = "POST"
|
|
1245
|
+
o.http_request_uri = "/"
|
|
1246
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCollectionGroupRequest)
|
|
1247
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCollectionGroupResponse)
|
|
1248
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1249
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1250
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1251
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1252
|
+
end)
|
|
1253
|
+
|
|
1076
1254
|
api.add_operation(:delete_index, Seahorse::Model::Operation.new.tap do |o|
|
|
1077
1255
|
o.name = "DeleteIndex"
|
|
1078
1256
|
o.http_method = "POST"
|
|
@@ -1211,6 +1389,22 @@ module Aws::OpenSearchServerless
|
|
|
1211
1389
|
)
|
|
1212
1390
|
end)
|
|
1213
1391
|
|
|
1392
|
+
api.add_operation(:list_collection_groups, Seahorse::Model::Operation.new.tap do |o|
|
|
1393
|
+
o.name = "ListCollectionGroups"
|
|
1394
|
+
o.http_method = "POST"
|
|
1395
|
+
o.http_request_uri = "/"
|
|
1396
|
+
o.input = Shapes::ShapeRef.new(shape: ListCollectionGroupsRequest)
|
|
1397
|
+
o.output = Shapes::ShapeRef.new(shape: ListCollectionGroupsResponse)
|
|
1398
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1399
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1400
|
+
o[:pager] = Aws::Pager.new(
|
|
1401
|
+
limit_key: "max_results",
|
|
1402
|
+
tokens: {
|
|
1403
|
+
"next_token" => "next_token"
|
|
1404
|
+
}
|
|
1405
|
+
)
|
|
1406
|
+
end)
|
|
1407
|
+
|
|
1214
1408
|
api.add_operation(:list_collections, Seahorse::Model::Operation.new.tap do |o|
|
|
1215
1409
|
o.name = "ListCollections"
|
|
1216
1410
|
o.http_method = "POST"
|
|
@@ -1361,6 +1555,18 @@ module Aws::OpenSearchServerless
|
|
|
1361
1555
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1362
1556
|
end)
|
|
1363
1557
|
|
|
1558
|
+
api.add_operation(:update_collection_group, Seahorse::Model::Operation.new.tap do |o|
|
|
1559
|
+
o.name = "UpdateCollectionGroup"
|
|
1560
|
+
o.http_method = "POST"
|
|
1561
|
+
o.http_request_uri = "/"
|
|
1562
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateCollectionGroupRequest)
|
|
1563
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateCollectionGroupResponse)
|
|
1564
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1565
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1566
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1567
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1568
|
+
end)
|
|
1569
|
+
|
|
1364
1570
|
api.add_operation(:update_index, Seahorse::Model::Operation.new.tap do |o|
|
|
1365
1571
|
o.name = "UpdateIndex"
|
|
1366
1572
|
o.http_method = "POST"
|