aws-sdk-opensearchserverless 1.66.0 → 1.68.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 +545 -3
- data/lib/aws-sdk-opensearchserverless/client_api.rb +341 -0
- data/lib/aws-sdk-opensearchserverless/types.rb +880 -2
- data/lib/aws-sdk-opensearchserverless.rb +1 -1
- data/sig/client.rbs +142 -0
- data/sig/types.rbs +228 -0
- metadata +3 -3
|
@@ -33,6 +33,9 @@ module Aws::OpenSearchServerless
|
|
|
33
33
|
BatchGetVpcEndpointRequest = Shapes::StructureShape.new(name: 'BatchGetVpcEndpointRequest')
|
|
34
34
|
BatchGetVpcEndpointResponse = Shapes::StructureShape.new(name: 'BatchGetVpcEndpointResponse')
|
|
35
35
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
36
|
+
BucketOwnerAccountId = Shapes::StringShape.new(name: 'BucketOwnerAccountId')
|
|
37
|
+
CancelIngestionJobRequest = Shapes::StructureShape.new(name: 'CancelIngestionJobRequest')
|
|
38
|
+
CancelIngestionJobResponse = Shapes::StructureShape.new(name: 'CancelIngestionJobResponse')
|
|
36
39
|
CapacityDetails = Shapes::StructureShape.new(name: 'CapacityDetails')
|
|
37
40
|
CapacityLimits = Shapes::StructureShape.new(name: 'CapacityLimits')
|
|
38
41
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
@@ -80,6 +83,10 @@ module Aws::OpenSearchServerless
|
|
|
80
83
|
CreateIamIdentityCenterConfigOptions = Shapes::StructureShape.new(name: 'CreateIamIdentityCenterConfigOptions')
|
|
81
84
|
CreateIndexRequest = Shapes::StructureShape.new(name: 'CreateIndexRequest')
|
|
82
85
|
CreateIndexResponse = Shapes::StructureShape.new(name: 'CreateIndexResponse')
|
|
86
|
+
CreateIngestionJobRequest = Shapes::StructureShape.new(name: 'CreateIngestionJobRequest')
|
|
87
|
+
CreateIngestionJobResponse = Shapes::StructureShape.new(name: 'CreateIngestionJobResponse')
|
|
88
|
+
CreateIngestionStreamRequest = Shapes::StructureShape.new(name: 'CreateIngestionStreamRequest')
|
|
89
|
+
CreateIngestionStreamResponse = Shapes::StructureShape.new(name: 'CreateIngestionStreamResponse')
|
|
83
90
|
CreateLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyRequest')
|
|
84
91
|
CreateLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyResponse')
|
|
85
92
|
CreateSecurityConfigRequest = Shapes::StructureShape.new(name: 'CreateSecurityConfigRequest')
|
|
@@ -99,6 +106,8 @@ module Aws::OpenSearchServerless
|
|
|
99
106
|
DeleteCollectionResponse = Shapes::StructureShape.new(name: 'DeleteCollectionResponse')
|
|
100
107
|
DeleteIndexRequest = Shapes::StructureShape.new(name: 'DeleteIndexRequest')
|
|
101
108
|
DeleteIndexResponse = Shapes::StructureShape.new(name: 'DeleteIndexResponse')
|
|
109
|
+
DeleteIngestionStreamRequest = Shapes::StructureShape.new(name: 'DeleteIngestionStreamRequest')
|
|
110
|
+
DeleteIngestionStreamResponse = Shapes::StructureShape.new(name: 'DeleteIngestionStreamResponse')
|
|
102
111
|
DeleteLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'DeleteLifecyclePolicyRequest')
|
|
103
112
|
DeleteLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'DeleteLifecyclePolicyResponse')
|
|
104
113
|
DeleteSecurityConfigRequest = Shapes::StructureShape.new(name: 'DeleteSecurityConfigRequest')
|
|
@@ -124,6 +133,10 @@ module Aws::OpenSearchServerless
|
|
|
124
133
|
GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
|
|
125
134
|
GetIndexRequest = Shapes::StructureShape.new(name: 'GetIndexRequest')
|
|
126
135
|
GetIndexResponse = Shapes::StructureShape.new(name: 'GetIndexResponse')
|
|
136
|
+
GetIngestionJobRequest = Shapes::StructureShape.new(name: 'GetIngestionJobRequest')
|
|
137
|
+
GetIngestionJobResponse = Shapes::StructureShape.new(name: 'GetIngestionJobResponse')
|
|
138
|
+
GetIngestionStreamRequest = Shapes::StructureShape.new(name: 'GetIngestionStreamRequest')
|
|
139
|
+
GetIngestionStreamResponse = Shapes::StructureShape.new(name: 'GetIngestionStreamResponse')
|
|
127
140
|
GetPoliciesStatsRequest = Shapes::StructureShape.new(name: 'GetPoliciesStatsRequest')
|
|
128
141
|
GetPoliciesStatsResponse = Shapes::StructureShape.new(name: 'GetPoliciesStatsResponse')
|
|
129
142
|
GetSecurityConfigRequest = Shapes::StructureShape.new(name: 'GetSecurityConfigRequest')
|
|
@@ -139,6 +152,35 @@ module Aws::OpenSearchServerless
|
|
|
139
152
|
IndexName = Shapes::StringShape.new(name: 'IndexName')
|
|
140
153
|
IndexSchema = Shapes::DocumentShape.new(name: 'IndexSchema', document: true)
|
|
141
154
|
IndexingCapacityValue = Shapes::IntegerShape.new(name: 'IndexingCapacityValue')
|
|
155
|
+
IngestionAlert = Shapes::StructureShape.new(name: 'IngestionAlert')
|
|
156
|
+
IngestionAlertCode = Shapes::StringShape.new(name: 'IngestionAlertCode')
|
|
157
|
+
IngestionAlerts = Shapes::ListShape.new(name: 'IngestionAlerts')
|
|
158
|
+
IngestionFailureCode = Shapes::StringShape.new(name: 'IngestionFailureCode')
|
|
159
|
+
IngestionFailureReason = Shapes::StructureShape.new(name: 'IngestionFailureReason')
|
|
160
|
+
IngestionFailureReasons = Shapes::ListShape.new(name: 'IngestionFailureReasons')
|
|
161
|
+
IngestionIndexName = Shapes::StringShape.new(name: 'IngestionIndexName')
|
|
162
|
+
IngestionJobDetail = Shapes::StructureShape.new(name: 'IngestionJobDetail')
|
|
163
|
+
IngestionJobId = Shapes::StringShape.new(name: 'IngestionJobId')
|
|
164
|
+
IngestionJobName = Shapes::StringShape.new(name: 'IngestionJobName')
|
|
165
|
+
IngestionJobResourceArn = Shapes::StringShape.new(name: 'IngestionJobResourceArn')
|
|
166
|
+
IngestionJobS3Source = Shapes::StructureShape.new(name: 'IngestionJobS3Source')
|
|
167
|
+
IngestionJobS3SourceKeyPrefixString = Shapes::StringShape.new(name: 'IngestionJobS3SourceKeyPrefixString')
|
|
168
|
+
IngestionJobSource = Shapes::StructureShape.new(name: 'IngestionJobSource')
|
|
169
|
+
IngestionJobStatus = Shapes::StringShape.new(name: 'IngestionJobStatus')
|
|
170
|
+
IngestionJobSummaries = Shapes::ListShape.new(name: 'IngestionJobSummaries')
|
|
171
|
+
IngestionJobSummary = Shapes::StructureShape.new(name: 'IngestionJobSummary')
|
|
172
|
+
IngestionState = Shapes::StringShape.new(name: 'IngestionState')
|
|
173
|
+
IngestionStatistics = Shapes::StructureShape.new(name: 'IngestionStatistics')
|
|
174
|
+
IngestionStreamDetail = Shapes::StructureShape.new(name: 'IngestionStreamDetail')
|
|
175
|
+
IngestionStreamId = Shapes::StringShape.new(name: 'IngestionStreamId')
|
|
176
|
+
IngestionStreamName = Shapes::StringShape.new(name: 'IngestionStreamName')
|
|
177
|
+
IngestionStreamResourceArn = Shapes::StringShape.new(name: 'IngestionStreamResourceArn')
|
|
178
|
+
IngestionStreamS3Source = Shapes::StructureShape.new(name: 'IngestionStreamS3Source')
|
|
179
|
+
IngestionStreamSource = Shapes::StructureShape.new(name: 'IngestionStreamSource')
|
|
180
|
+
IngestionStreamStatus = Shapes::StringShape.new(name: 'IngestionStreamStatus')
|
|
181
|
+
IngestionStreamSummaries = Shapes::ListShape.new(name: 'IngestionStreamSummaries')
|
|
182
|
+
IngestionStreamSummary = Shapes::StructureShape.new(name: 'IngestionStreamSummary')
|
|
183
|
+
InitialScan = Shapes::StringShape.new(name: 'InitialScan')
|
|
142
184
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
143
185
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
144
186
|
LifecyclePolicyDetail = Shapes::StructureShape.new(name: 'LifecyclePolicyDetail')
|
|
@@ -164,6 +206,12 @@ module Aws::OpenSearchServerless
|
|
|
164
206
|
ListCollectionsRequest = Shapes::StructureShape.new(name: 'ListCollectionsRequest')
|
|
165
207
|
ListCollectionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListCollectionsRequestMaxResultsInteger')
|
|
166
208
|
ListCollectionsResponse = Shapes::StructureShape.new(name: 'ListCollectionsResponse')
|
|
209
|
+
ListIngestionJobsRequest = Shapes::StructureShape.new(name: 'ListIngestionJobsRequest')
|
|
210
|
+
ListIngestionJobsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListIngestionJobsRequestMaxResultsInteger')
|
|
211
|
+
ListIngestionJobsResponse = Shapes::StructureShape.new(name: 'ListIngestionJobsResponse')
|
|
212
|
+
ListIngestionStreamsRequest = Shapes::StructureShape.new(name: 'ListIngestionStreamsRequest')
|
|
213
|
+
ListIngestionStreamsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListIngestionStreamsRequestMaxResultsInteger')
|
|
214
|
+
ListIngestionStreamsResponse = Shapes::StructureShape.new(name: 'ListIngestionStreamsResponse')
|
|
167
215
|
ListLifecyclePoliciesRequest = Shapes::StructureShape.new(name: 'ListLifecyclePoliciesRequest')
|
|
168
216
|
ListLifecyclePoliciesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListLifecyclePoliciesRequestMaxResultsInteger')
|
|
169
217
|
ListLifecyclePoliciesRequestResourcesList = Shapes::ListShape.new(name: 'ListLifecyclePoliciesRequestResourcesList')
|
|
@@ -190,6 +238,9 @@ module Aws::OpenSearchServerless
|
|
|
190
238
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
|
191
239
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
192
240
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
|
241
|
+
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
|
242
|
+
S3BucketNameOrArn = Shapes::StringShape.new(name: 'S3BucketNameOrArn')
|
|
243
|
+
S3Statistics = Shapes::StructureShape.new(name: 'S3Statistics')
|
|
193
244
|
SamlConfigOptions = Shapes::StructureShape.new(name: 'SamlConfigOptions')
|
|
194
245
|
SamlConfigOptionsSessionTimeoutInteger = Shapes::IntegerShape.new(name: 'SamlConfigOptionsSessionTimeoutInteger')
|
|
195
246
|
SearchCapacityValue = Shapes::IntegerShape.new(name: 'SearchCapacityValue')
|
|
@@ -209,7 +260,10 @@ module Aws::OpenSearchServerless
|
|
|
209
260
|
ServerlessGeneration = Shapes::StringShape.new(name: 'ServerlessGeneration')
|
|
210
261
|
ServerlessVectorAccelerationStatus = Shapes::StringShape.new(name: 'ServerlessVectorAccelerationStatus')
|
|
211
262
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
263
|
+
SqsArn = Shapes::StringShape.new(name: 'SqsArn')
|
|
212
264
|
StandbyReplicas = Shapes::StringShape.new(name: 'StandbyReplicas')
|
|
265
|
+
StreamBucketConfig = Shapes::StructureShape.new(name: 'StreamBucketConfig')
|
|
266
|
+
StreamBucketConfigs = Shapes::ListShape.new(name: 'StreamBucketConfigs')
|
|
213
267
|
String = Shapes::StringShape.new(name: 'String')
|
|
214
268
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
|
215
269
|
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
|
@@ -220,6 +274,7 @@ module Aws::OpenSearchServerless
|
|
|
220
274
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
|
221
275
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
222
276
|
Tags = Shapes::ListShape.new(name: 'Tags')
|
|
277
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
223
278
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
224
279
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
|
225
280
|
UpdateAccessPolicyRequest = Shapes::StructureShape.new(name: 'UpdateAccessPolicyRequest')
|
|
@@ -329,6 +384,17 @@ module Aws::OpenSearchServerless
|
|
|
329
384
|
BatchGetVpcEndpointResponse.add_member(:vpc_endpoint_error_details, Shapes::ShapeRef.new(shape: VpcEndpointErrorDetails, location_name: "vpcEndpointErrorDetails"))
|
|
330
385
|
BatchGetVpcEndpointResponse.struct_class = Types::BatchGetVpcEndpointResponse
|
|
331
386
|
|
|
387
|
+
CancelIngestionJobRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "collectionId"))
|
|
388
|
+
CancelIngestionJobRequest.add_member(:ingestion_job_id, Shapes::ShapeRef.new(shape: IngestionJobId, required: true, location_name: "ingestionJobId"))
|
|
389
|
+
CancelIngestionJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
390
|
+
CancelIngestionJobRequest.struct_class = Types::CancelIngestionJobRequest
|
|
391
|
+
|
|
392
|
+
CancelIngestionJobResponse.add_member(:ingestion_job_id, Shapes::ShapeRef.new(shape: IngestionJobId, location_name: "ingestionJobId"))
|
|
393
|
+
CancelIngestionJobResponse.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, location_name: "collectionId"))
|
|
394
|
+
CancelIngestionJobResponse.add_member(:ingestion_job_name, Shapes::ShapeRef.new(shape: IngestionJobName, location_name: "ingestionJobName"))
|
|
395
|
+
CancelIngestionJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: IngestionJobStatus, location_name: "status"))
|
|
396
|
+
CancelIngestionJobResponse.struct_class = Types::CancelIngestionJobResponse
|
|
397
|
+
|
|
332
398
|
CapacityDetails.add_member(:capacity_in_ocu, Shapes::ShapeRef.new(shape: Float, location_name: "capacityInOcu"))
|
|
333
399
|
CapacityDetails.add_member(:autoscaling_status, Shapes::ShapeRef.new(shape: AutoscalingStatus, location_name: "autoscalingStatus"))
|
|
334
400
|
CapacityDetails.struct_class = Types::CapacityDetails
|
|
@@ -508,6 +574,31 @@ module Aws::OpenSearchServerless
|
|
|
508
574
|
|
|
509
575
|
CreateIndexResponse.struct_class = Types::CreateIndexResponse
|
|
510
576
|
|
|
577
|
+
CreateIngestionJobRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "collectionId"))
|
|
578
|
+
CreateIngestionJobRequest.add_member(:ingestion_job_name, Shapes::ShapeRef.new(shape: IngestionJobName, required: true, location_name: "ingestionJobName"))
|
|
579
|
+
CreateIngestionJobRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IngestionIndexName, required: true, location_name: "indexName"))
|
|
580
|
+
CreateIngestionJobRequest.add_member(:failure_index_name, Shapes::ShapeRef.new(shape: IngestionIndexName, location_name: "failureIndexName"))
|
|
581
|
+
CreateIngestionJobRequest.add_member(:source, Shapes::ShapeRef.new(shape: IngestionJobSource, required: true, location_name: "source"))
|
|
582
|
+
CreateIngestionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
583
|
+
CreateIngestionJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
584
|
+
CreateIngestionJobRequest.struct_class = Types::CreateIngestionJobRequest
|
|
585
|
+
|
|
586
|
+
CreateIngestionJobResponse.add_member(:ingestion_job_detail, Shapes::ShapeRef.new(shape: IngestionJobDetail, location_name: "ingestionJobDetail"))
|
|
587
|
+
CreateIngestionJobResponse.struct_class = Types::CreateIngestionJobResponse
|
|
588
|
+
|
|
589
|
+
CreateIngestionStreamRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "collectionId"))
|
|
590
|
+
CreateIngestionStreamRequest.add_member(:ingestion_stream_name, Shapes::ShapeRef.new(shape: IngestionStreamName, required: true, location_name: "ingestionStreamName"))
|
|
591
|
+
CreateIngestionStreamRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IngestionIndexName, required: true, location_name: "indexName"))
|
|
592
|
+
CreateIngestionStreamRequest.add_member(:failure_index_name, Shapes::ShapeRef.new(shape: IngestionIndexName, location_name: "failureIndexName"))
|
|
593
|
+
CreateIngestionStreamRequest.add_member(:source, Shapes::ShapeRef.new(shape: IngestionStreamSource, required: true, location_name: "source"))
|
|
594
|
+
CreateIngestionStreamRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
|
595
|
+
CreateIngestionStreamRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
596
|
+
CreateIngestionStreamRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
597
|
+
CreateIngestionStreamRequest.struct_class = Types::CreateIngestionStreamRequest
|
|
598
|
+
|
|
599
|
+
CreateIngestionStreamResponse.add_member(:ingestion_stream_detail, Shapes::ShapeRef.new(shape: IngestionStreamDetail, location_name: "ingestionStreamDetail"))
|
|
600
|
+
CreateIngestionStreamResponse.struct_class = Types::CreateIngestionStreamResponse
|
|
601
|
+
|
|
511
602
|
CreateLifecyclePolicyRequest.add_member(:type, Shapes::ShapeRef.new(shape: LifecyclePolicyType, required: true, location_name: "type"))
|
|
512
603
|
CreateLifecyclePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "name"))
|
|
513
604
|
CreateLifecyclePolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, location_name: "description"))
|
|
@@ -591,6 +682,17 @@ module Aws::OpenSearchServerless
|
|
|
591
682
|
|
|
592
683
|
DeleteIndexResponse.struct_class = Types::DeleteIndexResponse
|
|
593
684
|
|
|
685
|
+
DeleteIngestionStreamRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "collectionId"))
|
|
686
|
+
DeleteIngestionStreamRequest.add_member(:ingestion_stream_id, Shapes::ShapeRef.new(shape: IngestionStreamId, required: true, location_name: "ingestionStreamId"))
|
|
687
|
+
DeleteIngestionStreamRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
688
|
+
DeleteIngestionStreamRequest.struct_class = Types::DeleteIngestionStreamRequest
|
|
689
|
+
|
|
690
|
+
DeleteIngestionStreamResponse.add_member(:ingestion_stream_id, Shapes::ShapeRef.new(shape: IngestionStreamId, location_name: "ingestionStreamId"))
|
|
691
|
+
DeleteIngestionStreamResponse.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, location_name: "collectionId"))
|
|
692
|
+
DeleteIngestionStreamResponse.add_member(:ingestion_stream_name, Shapes::ShapeRef.new(shape: IngestionStreamName, location_name: "ingestionStreamName"))
|
|
693
|
+
DeleteIngestionStreamResponse.add_member(:status, Shapes::ShapeRef.new(shape: IngestionStreamStatus, location_name: "status"))
|
|
694
|
+
DeleteIngestionStreamResponse.struct_class = Types::DeleteIngestionStreamResponse
|
|
695
|
+
|
|
594
696
|
DeleteLifecyclePolicyRequest.add_member(:type, Shapes::ShapeRef.new(shape: LifecyclePolicyType, required: true, location_name: "type"))
|
|
595
697
|
DeleteLifecyclePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "name"))
|
|
596
698
|
DeleteLifecyclePolicyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
@@ -668,6 +770,20 @@ module Aws::OpenSearchServerless
|
|
|
668
770
|
GetIndexResponse.add_member(:index_schema, Shapes::ShapeRef.new(shape: IndexSchema, location_name: "indexSchema"))
|
|
669
771
|
GetIndexResponse.struct_class = Types::GetIndexResponse
|
|
670
772
|
|
|
773
|
+
GetIngestionJobRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "collectionId"))
|
|
774
|
+
GetIngestionJobRequest.add_member(:ingestion_job_id, Shapes::ShapeRef.new(shape: IngestionJobId, required: true, location_name: "ingestionJobId"))
|
|
775
|
+
GetIngestionJobRequest.struct_class = Types::GetIngestionJobRequest
|
|
776
|
+
|
|
777
|
+
GetIngestionJobResponse.add_member(:ingestion_job_detail, Shapes::ShapeRef.new(shape: IngestionJobDetail, location_name: "ingestionJobDetail"))
|
|
778
|
+
GetIngestionJobResponse.struct_class = Types::GetIngestionJobResponse
|
|
779
|
+
|
|
780
|
+
GetIngestionStreamRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "collectionId"))
|
|
781
|
+
GetIngestionStreamRequest.add_member(:ingestion_stream_id, Shapes::ShapeRef.new(shape: IngestionStreamId, required: true, location_name: "ingestionStreamId"))
|
|
782
|
+
GetIngestionStreamRequest.struct_class = Types::GetIngestionStreamRequest
|
|
783
|
+
|
|
784
|
+
GetIngestionStreamResponse.add_member(:ingestion_stream_detail, Shapes::ShapeRef.new(shape: IngestionStreamDetail, location_name: "ingestionStreamDetail"))
|
|
785
|
+
GetIngestionStreamResponse.struct_class = Types::GetIngestionStreamResponse
|
|
786
|
+
|
|
671
787
|
GetPoliciesStatsRequest.struct_class = Types::GetPoliciesStatsRequest
|
|
672
788
|
|
|
673
789
|
GetPoliciesStatsResponse.add_member(:access_policy_stats, Shapes::ShapeRef.new(shape: AccessPolicyStats, location_name: "AccessPolicyStats"))
|
|
@@ -702,6 +818,93 @@ module Aws::OpenSearchServerless
|
|
|
702
818
|
IamIdentityCenterConfigOptions.add_member(:group_attribute, Shapes::ShapeRef.new(shape: IamIdentityCenterGroupAttribute, location_name: "groupAttribute"))
|
|
703
819
|
IamIdentityCenterConfigOptions.struct_class = Types::IamIdentityCenterConfigOptions
|
|
704
820
|
|
|
821
|
+
IngestionAlert.add_member(:code, Shapes::ShapeRef.new(shape: IngestionAlertCode, location_name: "code"))
|
|
822
|
+
IngestionAlert.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
823
|
+
IngestionAlert.struct_class = Types::IngestionAlert
|
|
824
|
+
|
|
825
|
+
IngestionAlerts.member = Shapes::ShapeRef.new(shape: IngestionAlert)
|
|
826
|
+
|
|
827
|
+
IngestionFailureReason.add_member(:code, Shapes::ShapeRef.new(shape: IngestionFailureCode, location_name: "code"))
|
|
828
|
+
IngestionFailureReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
829
|
+
IngestionFailureReason.struct_class = Types::IngestionFailureReason
|
|
830
|
+
|
|
831
|
+
IngestionFailureReasons.member = Shapes::ShapeRef.new(shape: IngestionFailureReason)
|
|
832
|
+
|
|
833
|
+
IngestionJobDetail.add_member(:ingestion_job_id, Shapes::ShapeRef.new(shape: IngestionJobId, location_name: "ingestionJobId"))
|
|
834
|
+
IngestionJobDetail.add_member(:arn, Shapes::ShapeRef.new(shape: IngestionJobResourceArn, location_name: "arn"))
|
|
835
|
+
IngestionJobDetail.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, location_name: "collectionId"))
|
|
836
|
+
IngestionJobDetail.add_member(:ingestion_job_name, Shapes::ShapeRef.new(shape: IngestionJobName, location_name: "ingestionJobName"))
|
|
837
|
+
IngestionJobDetail.add_member(:index_name, Shapes::ShapeRef.new(shape: IngestionIndexName, location_name: "indexName"))
|
|
838
|
+
IngestionJobDetail.add_member(:failure_index_name, Shapes::ShapeRef.new(shape: IngestionIndexName, location_name: "failureIndexName"))
|
|
839
|
+
IngestionJobDetail.add_member(:source, Shapes::ShapeRef.new(shape: IngestionJobSource, location_name: "source"))
|
|
840
|
+
IngestionJobDetail.add_member(:status, Shapes::ShapeRef.new(shape: IngestionJobStatus, location_name: "status"))
|
|
841
|
+
IngestionJobDetail.add_member(:state, Shapes::ShapeRef.new(shape: IngestionState, location_name: "state"))
|
|
842
|
+
IngestionJobDetail.add_member(:statistics, Shapes::ShapeRef.new(shape: IngestionStatistics, location_name: "statistics"))
|
|
843
|
+
IngestionJobDetail.add_member(:revision, Shapes::ShapeRef.new(shape: Long, location_name: "revision"))
|
|
844
|
+
IngestionJobDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
845
|
+
IngestionJobDetail.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
846
|
+
IngestionJobDetail.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: IngestionFailureReasons, location_name: "failureReasons"))
|
|
847
|
+
IngestionJobDetail.add_member(:active_alerts, Shapes::ShapeRef.new(shape: IngestionAlerts, location_name: "activeAlerts"))
|
|
848
|
+
IngestionJobDetail.struct_class = Types::IngestionJobDetail
|
|
849
|
+
|
|
850
|
+
IngestionJobS3Source.add_member(:bucket, Shapes::ShapeRef.new(shape: S3BucketNameOrArn, location_name: "bucket"))
|
|
851
|
+
IngestionJobS3Source.add_member(:bucket_owner_account_id, Shapes::ShapeRef.new(shape: BucketOwnerAccountId, location_name: "bucketOwnerAccountId"))
|
|
852
|
+
IngestionJobS3Source.add_member(:key_prefix, Shapes::ShapeRef.new(shape: IngestionJobS3SourceKeyPrefixString, location_name: "keyPrefix"))
|
|
853
|
+
IngestionJobS3Source.struct_class = Types::IngestionJobS3Source
|
|
854
|
+
|
|
855
|
+
IngestionJobSource.add_member(:s3, Shapes::ShapeRef.new(shape: IngestionJobS3Source, required: true, location_name: "s3"))
|
|
856
|
+
IngestionJobSource.struct_class = Types::IngestionJobSource
|
|
857
|
+
|
|
858
|
+
IngestionJobSummaries.member = Shapes::ShapeRef.new(shape: IngestionJobSummary)
|
|
859
|
+
|
|
860
|
+
IngestionJobSummary.add_member(:ingestion_job_id, Shapes::ShapeRef.new(shape: IngestionJobId, location_name: "ingestionJobId"))
|
|
861
|
+
IngestionJobSummary.add_member(:arn, Shapes::ShapeRef.new(shape: IngestionJobResourceArn, location_name: "arn"))
|
|
862
|
+
IngestionJobSummary.add_member(:ingestion_job_name, Shapes::ShapeRef.new(shape: IngestionJobName, location_name: "ingestionJobName"))
|
|
863
|
+
IngestionJobSummary.add_member(:index_name, Shapes::ShapeRef.new(shape: IngestionIndexName, location_name: "indexName"))
|
|
864
|
+
IngestionJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: IngestionJobStatus, location_name: "status"))
|
|
865
|
+
IngestionJobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
866
|
+
IngestionJobSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
867
|
+
IngestionJobSummary.struct_class = Types::IngestionJobSummary
|
|
868
|
+
|
|
869
|
+
IngestionStatistics.add_member(:s3, Shapes::ShapeRef.new(shape: S3Statistics, location_name: "s3"))
|
|
870
|
+
IngestionStatistics.struct_class = Types::IngestionStatistics
|
|
871
|
+
|
|
872
|
+
IngestionStreamDetail.add_member(:ingestion_stream_id, Shapes::ShapeRef.new(shape: IngestionStreamId, location_name: "ingestionStreamId"))
|
|
873
|
+
IngestionStreamDetail.add_member(:arn, Shapes::ShapeRef.new(shape: IngestionStreamResourceArn, location_name: "arn"))
|
|
874
|
+
IngestionStreamDetail.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, location_name: "collectionId"))
|
|
875
|
+
IngestionStreamDetail.add_member(:ingestion_stream_name, Shapes::ShapeRef.new(shape: IngestionStreamName, location_name: "ingestionStreamName"))
|
|
876
|
+
IngestionStreamDetail.add_member(:index_name, Shapes::ShapeRef.new(shape: IngestionIndexName, location_name: "indexName"))
|
|
877
|
+
IngestionStreamDetail.add_member(:failure_index_name, Shapes::ShapeRef.new(shape: IngestionIndexName, location_name: "failureIndexName"))
|
|
878
|
+
IngestionStreamDetail.add_member(:source, Shapes::ShapeRef.new(shape: IngestionStreamSource, location_name: "source"))
|
|
879
|
+
IngestionStreamDetail.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
|
880
|
+
IngestionStreamDetail.add_member(:status, Shapes::ShapeRef.new(shape: IngestionStreamStatus, location_name: "status"))
|
|
881
|
+
IngestionStreamDetail.add_member(:state, Shapes::ShapeRef.new(shape: IngestionState, location_name: "state"))
|
|
882
|
+
IngestionStreamDetail.add_member(:statistics, Shapes::ShapeRef.new(shape: IngestionStatistics, location_name: "statistics"))
|
|
883
|
+
IngestionStreamDetail.add_member(:revision, Shapes::ShapeRef.new(shape: Long, location_name: "revision"))
|
|
884
|
+
IngestionStreamDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
885
|
+
IngestionStreamDetail.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
886
|
+
IngestionStreamDetail.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: IngestionFailureReasons, location_name: "failureReasons"))
|
|
887
|
+
IngestionStreamDetail.add_member(:active_alerts, Shapes::ShapeRef.new(shape: IngestionAlerts, location_name: "activeAlerts"))
|
|
888
|
+
IngestionStreamDetail.struct_class = Types::IngestionStreamDetail
|
|
889
|
+
|
|
890
|
+
IngestionStreamS3Source.add_member(:sqs_arn, Shapes::ShapeRef.new(shape: SqsArn, required: true, location_name: "sqsArn"))
|
|
891
|
+
IngestionStreamS3Source.add_member(:buckets, Shapes::ShapeRef.new(shape: StreamBucketConfigs, location_name: "buckets"))
|
|
892
|
+
IngestionStreamS3Source.struct_class = Types::IngestionStreamS3Source
|
|
893
|
+
|
|
894
|
+
IngestionStreamSource.add_member(:s3, Shapes::ShapeRef.new(shape: IngestionStreamS3Source, required: true, location_name: "s3"))
|
|
895
|
+
IngestionStreamSource.struct_class = Types::IngestionStreamSource
|
|
896
|
+
|
|
897
|
+
IngestionStreamSummaries.member = Shapes::ShapeRef.new(shape: IngestionStreamSummary)
|
|
898
|
+
|
|
899
|
+
IngestionStreamSummary.add_member(:ingestion_stream_id, Shapes::ShapeRef.new(shape: IngestionStreamId, location_name: "ingestionStreamId"))
|
|
900
|
+
IngestionStreamSummary.add_member(:arn, Shapes::ShapeRef.new(shape: IngestionStreamResourceArn, location_name: "arn"))
|
|
901
|
+
IngestionStreamSummary.add_member(:ingestion_stream_name, Shapes::ShapeRef.new(shape: IngestionStreamName, location_name: "ingestionStreamName"))
|
|
902
|
+
IngestionStreamSummary.add_member(:index_name, Shapes::ShapeRef.new(shape: IngestionIndexName, location_name: "indexName"))
|
|
903
|
+
IngestionStreamSummary.add_member(:status, Shapes::ShapeRef.new(shape: IngestionStreamStatus, location_name: "status"))
|
|
904
|
+
IngestionStreamSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
905
|
+
IngestionStreamSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
906
|
+
IngestionStreamSummary.struct_class = Types::IngestionStreamSummary
|
|
907
|
+
|
|
705
908
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
706
909
|
InternalServerException.struct_class = Types::InternalServerException
|
|
707
910
|
|
|
@@ -778,6 +981,24 @@ module Aws::OpenSearchServerless
|
|
|
778
981
|
ListCollectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
779
982
|
ListCollectionsResponse.struct_class = Types::ListCollectionsResponse
|
|
780
983
|
|
|
984
|
+
ListIngestionJobsRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "collectionId"))
|
|
985
|
+
ListIngestionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
986
|
+
ListIngestionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListIngestionJobsRequestMaxResultsInteger, location_name: "maxResults"))
|
|
987
|
+
ListIngestionJobsRequest.struct_class = Types::ListIngestionJobsRequest
|
|
988
|
+
|
|
989
|
+
ListIngestionJobsResponse.add_member(:ingestion_job_summaries, Shapes::ShapeRef.new(shape: IngestionJobSummaries, location_name: "ingestionJobSummaries"))
|
|
990
|
+
ListIngestionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
991
|
+
ListIngestionJobsResponse.struct_class = Types::ListIngestionJobsResponse
|
|
992
|
+
|
|
993
|
+
ListIngestionStreamsRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: CollectionId, required: true, location_name: "collectionId"))
|
|
994
|
+
ListIngestionStreamsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
995
|
+
ListIngestionStreamsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListIngestionStreamsRequestMaxResultsInteger, location_name: "maxResults"))
|
|
996
|
+
ListIngestionStreamsRequest.struct_class = Types::ListIngestionStreamsRequest
|
|
997
|
+
|
|
998
|
+
ListIngestionStreamsResponse.add_member(:ingestion_stream_summaries, Shapes::ShapeRef.new(shape: IngestionStreamSummaries, location_name: "ingestionStreamSummaries"))
|
|
999
|
+
ListIngestionStreamsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
1000
|
+
ListIngestionStreamsResponse.struct_class = Types::ListIngestionStreamsResponse
|
|
1001
|
+
|
|
781
1002
|
ListLifecyclePoliciesRequest.add_member(:type, Shapes::ShapeRef.new(shape: LifecyclePolicyType, required: true, location_name: "type"))
|
|
782
1003
|
ListLifecyclePoliciesRequest.add_member(:resources, Shapes::ShapeRef.new(shape: ListLifecyclePoliciesRequestResourcesList, location_name: "resources"))
|
|
783
1004
|
ListLifecyclePoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
@@ -832,6 +1053,11 @@ module Aws::OpenSearchServerless
|
|
|
832
1053
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
833
1054
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
834
1055
|
|
|
1056
|
+
S3Statistics.add_member(:objects_discovered, Shapes::ShapeRef.new(shape: Long, location_name: "objectsDiscovered"))
|
|
1057
|
+
S3Statistics.add_member(:objects_ingested, Shapes::ShapeRef.new(shape: Long, location_name: "objectsIngested"))
|
|
1058
|
+
S3Statistics.add_member(:objects_failed, Shapes::ShapeRef.new(shape: Long, location_name: "objectsFailed"))
|
|
1059
|
+
S3Statistics.struct_class = Types::S3Statistics
|
|
1060
|
+
|
|
835
1061
|
SamlConfigOptions.add_member(:metadata, Shapes::ShapeRef.new(shape: samlMetadata, required: true, location_name: "metadata"))
|
|
836
1062
|
SamlConfigOptions.add_member(:user_attribute, Shapes::ShapeRef.new(shape: samlUserAttribute, location_name: "userAttribute"))
|
|
837
1063
|
SamlConfigOptions.add_member(:group_attribute, Shapes::ShapeRef.new(shape: samlGroupAttribute, location_name: "groupAttribute"))
|
|
@@ -895,6 +1121,13 @@ module Aws::OpenSearchServerless
|
|
|
895
1121
|
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
|
896
1122
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
897
1123
|
|
|
1124
|
+
StreamBucketConfig.add_member(:bucket, Shapes::ShapeRef.new(shape: S3BucketNameOrArn, required: true, location_name: "bucket"))
|
|
1125
|
+
StreamBucketConfig.add_member(:bucket_owner_account_id, Shapes::ShapeRef.new(shape: BucketOwnerAccountId, location_name: "bucketOwnerAccountId"))
|
|
1126
|
+
StreamBucketConfig.add_member(:initial_scan, Shapes::ShapeRef.new(shape: InitialScan, location_name: "initialScan"))
|
|
1127
|
+
StreamBucketConfig.struct_class = Types::StreamBucketConfig
|
|
1128
|
+
|
|
1129
|
+
StreamBucketConfigs.member = Shapes::ShapeRef.new(shape: StreamBucketConfig)
|
|
1130
|
+
|
|
898
1131
|
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
|
899
1132
|
|
|
900
1133
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
|
@@ -940,6 +1173,7 @@ module Aws::OpenSearchServerless
|
|
|
940
1173
|
UpdateCollectionDetail.add_member(:type, Shapes::ShapeRef.new(shape: CollectionType, location_name: "type"))
|
|
941
1174
|
UpdateCollectionDetail.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
|
942
1175
|
UpdateCollectionDetail.add_member(:vector_options, Shapes::ShapeRef.new(shape: VectorOptions, location_name: "vectorOptions"))
|
|
1176
|
+
UpdateCollectionDetail.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyArn"))
|
|
943
1177
|
UpdateCollectionDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
944
1178
|
UpdateCollectionDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
|
945
1179
|
UpdateCollectionDetail.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Long, location_name: "lastModifiedDate"))
|
|
@@ -969,6 +1203,7 @@ module Aws::OpenSearchServerless
|
|
|
969
1203
|
UpdateCollectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: UpdateCollectionRequestDescriptionString, location_name: "description"))
|
|
970
1204
|
UpdateCollectionRequest.add_member(:vector_options, Shapes::ShapeRef.new(shape: VectorOptions, location_name: "vectorOptions"))
|
|
971
1205
|
UpdateCollectionRequest.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "deletionProtection"))
|
|
1206
|
+
UpdateCollectionRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "encryptionConfig"))
|
|
972
1207
|
UpdateCollectionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
973
1208
|
UpdateCollectionRequest.struct_class = Types::UpdateCollectionRequest
|
|
974
1209
|
|
|
@@ -1148,6 +1383,18 @@ module Aws::OpenSearchServerless
|
|
|
1148
1383
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1149
1384
|
end)
|
|
1150
1385
|
|
|
1386
|
+
api.add_operation(:cancel_ingestion_job, Seahorse::Model::Operation.new.tap do |o|
|
|
1387
|
+
o.name = "CancelIngestionJob"
|
|
1388
|
+
o.http_method = "POST"
|
|
1389
|
+
o.http_request_uri = "/"
|
|
1390
|
+
o.input = Shapes::ShapeRef.new(shape: CancelIngestionJobRequest)
|
|
1391
|
+
o.output = Shapes::ShapeRef.new(shape: CancelIngestionJobResponse)
|
|
1392
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1393
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1394
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1395
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1396
|
+
end)
|
|
1397
|
+
|
|
1151
1398
|
api.add_operation(:create_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
1152
1399
|
o.name = "CreateAccessPolicy"
|
|
1153
1400
|
o.http_method = "POST"
|
|
@@ -1197,6 +1444,32 @@ module Aws::OpenSearchServerless
|
|
|
1197
1444
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1198
1445
|
end)
|
|
1199
1446
|
|
|
1447
|
+
api.add_operation(:create_ingestion_job, Seahorse::Model::Operation.new.tap do |o|
|
|
1448
|
+
o.name = "CreateIngestionJob"
|
|
1449
|
+
o.http_method = "POST"
|
|
1450
|
+
o.http_request_uri = "/"
|
|
1451
|
+
o.input = Shapes::ShapeRef.new(shape: CreateIngestionJobRequest)
|
|
1452
|
+
o.output = Shapes::ShapeRef.new(shape: CreateIngestionJobResponse)
|
|
1453
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1454
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1455
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1456
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1457
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1458
|
+
end)
|
|
1459
|
+
|
|
1460
|
+
api.add_operation(:create_ingestion_stream, Seahorse::Model::Operation.new.tap do |o|
|
|
1461
|
+
o.name = "CreateIngestionStream"
|
|
1462
|
+
o.http_method = "POST"
|
|
1463
|
+
o.http_request_uri = "/"
|
|
1464
|
+
o.input = Shapes::ShapeRef.new(shape: CreateIngestionStreamRequest)
|
|
1465
|
+
o.output = Shapes::ShapeRef.new(shape: CreateIngestionStreamResponse)
|
|
1466
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1467
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1468
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1469
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1470
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1471
|
+
end)
|
|
1472
|
+
|
|
1200
1473
|
api.add_operation(:create_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
1201
1474
|
o.name = "CreateLifecyclePolicy"
|
|
1202
1475
|
o.http_method = "POST"
|
|
@@ -1292,6 +1565,18 @@ module Aws::OpenSearchServerless
|
|
|
1292
1565
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1293
1566
|
end)
|
|
1294
1567
|
|
|
1568
|
+
api.add_operation(:delete_ingestion_stream, Seahorse::Model::Operation.new.tap do |o|
|
|
1569
|
+
o.name = "DeleteIngestionStream"
|
|
1570
|
+
o.http_method = "POST"
|
|
1571
|
+
o.http_request_uri = "/"
|
|
1572
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteIngestionStreamRequest)
|
|
1573
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteIngestionStreamResponse)
|
|
1574
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1575
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1576
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1577
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1578
|
+
end)
|
|
1579
|
+
|
|
1295
1580
|
api.add_operation(:delete_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
1296
1581
|
o.name = "DeleteLifecyclePolicy"
|
|
1297
1582
|
o.http_method = "POST"
|
|
@@ -1372,6 +1657,28 @@ module Aws::OpenSearchServerless
|
|
|
1372
1657
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1373
1658
|
end)
|
|
1374
1659
|
|
|
1660
|
+
api.add_operation(:get_ingestion_job, Seahorse::Model::Operation.new.tap do |o|
|
|
1661
|
+
o.name = "GetIngestionJob"
|
|
1662
|
+
o.http_method = "POST"
|
|
1663
|
+
o.http_request_uri = "/"
|
|
1664
|
+
o.input = Shapes::ShapeRef.new(shape: GetIngestionJobRequest)
|
|
1665
|
+
o.output = Shapes::ShapeRef.new(shape: GetIngestionJobResponse)
|
|
1666
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1667
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1668
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1669
|
+
end)
|
|
1670
|
+
|
|
1671
|
+
api.add_operation(:get_ingestion_stream, Seahorse::Model::Operation.new.tap do |o|
|
|
1672
|
+
o.name = "GetIngestionStream"
|
|
1673
|
+
o.http_method = "POST"
|
|
1674
|
+
o.http_request_uri = "/"
|
|
1675
|
+
o.input = Shapes::ShapeRef.new(shape: GetIngestionStreamRequest)
|
|
1676
|
+
o.output = Shapes::ShapeRef.new(shape: GetIngestionStreamResponse)
|
|
1677
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1678
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1679
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1680
|
+
end)
|
|
1681
|
+
|
|
1375
1682
|
api.add_operation(:get_policies_stats, Seahorse::Model::Operation.new.tap do |o|
|
|
1376
1683
|
o.name = "GetPoliciesStats"
|
|
1377
1684
|
o.http_method = "POST"
|
|
@@ -1451,6 +1758,40 @@ module Aws::OpenSearchServerless
|
|
|
1451
1758
|
)
|
|
1452
1759
|
end)
|
|
1453
1760
|
|
|
1761
|
+
api.add_operation(:list_ingestion_jobs, Seahorse::Model::Operation.new.tap do |o|
|
|
1762
|
+
o.name = "ListIngestionJobs"
|
|
1763
|
+
o.http_method = "POST"
|
|
1764
|
+
o.http_request_uri = "/"
|
|
1765
|
+
o.input = Shapes::ShapeRef.new(shape: ListIngestionJobsRequest)
|
|
1766
|
+
o.output = Shapes::ShapeRef.new(shape: ListIngestionJobsResponse)
|
|
1767
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1768
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1769
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1770
|
+
o[:pager] = Aws::Pager.new(
|
|
1771
|
+
limit_key: "max_results",
|
|
1772
|
+
tokens: {
|
|
1773
|
+
"next_token" => "next_token"
|
|
1774
|
+
}
|
|
1775
|
+
)
|
|
1776
|
+
end)
|
|
1777
|
+
|
|
1778
|
+
api.add_operation(:list_ingestion_streams, Seahorse::Model::Operation.new.tap do |o|
|
|
1779
|
+
o.name = "ListIngestionStreams"
|
|
1780
|
+
o.http_method = "POST"
|
|
1781
|
+
o.http_request_uri = "/"
|
|
1782
|
+
o.input = Shapes::ShapeRef.new(shape: ListIngestionStreamsRequest)
|
|
1783
|
+
o.output = Shapes::ShapeRef.new(shape: ListIngestionStreamsResponse)
|
|
1784
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1785
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1786
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1787
|
+
o[:pager] = Aws::Pager.new(
|
|
1788
|
+
limit_key: "max_results",
|
|
1789
|
+
tokens: {
|
|
1790
|
+
"next_token" => "next_token"
|
|
1791
|
+
}
|
|
1792
|
+
)
|
|
1793
|
+
end)
|
|
1794
|
+
|
|
1454
1795
|
api.add_operation(:list_lifecycle_policies, Seahorse::Model::Operation.new.tap do |o|
|
|
1455
1796
|
o.name = "ListLifecyclePolicies"
|
|
1456
1797
|
o.http_method = "POST"
|