aws-sdk-kendra 1.21.0 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +143 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-kendra.rb +2 -2
- data/lib/aws-sdk-kendra/client.rb +680 -16
- data/lib/aws-sdk-kendra/client_api.rb +339 -2
- data/lib/aws-sdk-kendra/errors.rb +1 -1
- data/lib/aws-sdk-kendra/resource.rb +1 -1
- data/lib/aws-sdk-kendra/types.rb +1255 -122
- metadata +9 -7
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -27,6 +27,10 @@ module Aws::Kendra
|
|
27
27
|
BatchDeleteDocumentResponse = Shapes::StructureShape.new(name: 'BatchDeleteDocumentResponse')
|
28
28
|
BatchDeleteDocumentResponseFailedDocument = Shapes::StructureShape.new(name: 'BatchDeleteDocumentResponseFailedDocument')
|
29
29
|
BatchDeleteDocumentResponseFailedDocuments = Shapes::ListShape.new(name: 'BatchDeleteDocumentResponseFailedDocuments')
|
30
|
+
BatchGetDocumentStatusRequest = Shapes::StructureShape.new(name: 'BatchGetDocumentStatusRequest')
|
31
|
+
BatchGetDocumentStatusResponse = Shapes::StructureShape.new(name: 'BatchGetDocumentStatusResponse')
|
32
|
+
BatchGetDocumentStatusResponseError = Shapes::StructureShape.new(name: 'BatchGetDocumentStatusResponseError')
|
33
|
+
BatchGetDocumentStatusResponseErrors = Shapes::ListShape.new(name: 'BatchGetDocumentStatusResponseErrors')
|
30
34
|
BatchPutDocumentRequest = Shapes::StructureShape.new(name: 'BatchPutDocumentRequest')
|
31
35
|
BatchPutDocumentResponse = Shapes::StructureShape.new(name: 'BatchPutDocumentResponse')
|
32
36
|
BatchPutDocumentResponseFailedDocument = Shapes::StructureShape.new(name: 'BatchPutDocumentResponseFailedDocument')
|
@@ -36,6 +40,7 @@ module Aws::Kendra
|
|
36
40
|
CapacityUnitsConfiguration = Shapes::StructureShape.new(name: 'CapacityUnitsConfiguration')
|
37
41
|
ChangeDetectingColumns = Shapes::ListShape.new(name: 'ChangeDetectingColumns')
|
38
42
|
ClaimRegex = Shapes::StringShape.new(name: 'ClaimRegex')
|
43
|
+
ClearQuerySuggestionsRequest = Shapes::StructureShape.new(name: 'ClearQuerySuggestionsRequest')
|
39
44
|
ClickFeedback = Shapes::StructureShape.new(name: 'ClickFeedback')
|
40
45
|
ClickFeedbackList = Shapes::ListShape.new(name: 'ClickFeedbackList')
|
41
46
|
ClientTokenName = Shapes::StringShape.new(name: 'ClientTokenName')
|
@@ -70,6 +75,8 @@ module Aws::Kendra
|
|
70
75
|
CreateFaqResponse = Shapes::StructureShape.new(name: 'CreateFaqResponse')
|
71
76
|
CreateIndexRequest = Shapes::StructureShape.new(name: 'CreateIndexRequest')
|
72
77
|
CreateIndexResponse = Shapes::StructureShape.new(name: 'CreateIndexResponse')
|
78
|
+
CreateQuerySuggestionsBlockListRequest = Shapes::StructureShape.new(name: 'CreateQuerySuggestionsBlockListRequest')
|
79
|
+
CreateQuerySuggestionsBlockListResponse = Shapes::StructureShape.new(name: 'CreateQuerySuggestionsBlockListResponse')
|
73
80
|
CreateThesaurusRequest = Shapes::StructureShape.new(name: 'CreateThesaurusRequest')
|
74
81
|
CreateThesaurusResponse = Shapes::StructureShape.new(name: 'CreateThesaurusResponse')
|
75
82
|
DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
|
@@ -100,6 +107,7 @@ module Aws::Kendra
|
|
100
107
|
DeleteDataSourceRequest = Shapes::StructureShape.new(name: 'DeleteDataSourceRequest')
|
101
108
|
DeleteFaqRequest = Shapes::StructureShape.new(name: 'DeleteFaqRequest')
|
102
109
|
DeleteIndexRequest = Shapes::StructureShape.new(name: 'DeleteIndexRequest')
|
110
|
+
DeleteQuerySuggestionsBlockListRequest = Shapes::StructureShape.new(name: 'DeleteQuerySuggestionsBlockListRequest')
|
103
111
|
DeleteThesaurusRequest = Shapes::StructureShape.new(name: 'DeleteThesaurusRequest')
|
104
112
|
DescribeDataSourceRequest = Shapes::StructureShape.new(name: 'DescribeDataSourceRequest')
|
105
113
|
DescribeDataSourceResponse = Shapes::StructureShape.new(name: 'DescribeDataSourceResponse')
|
@@ -107,6 +115,10 @@ module Aws::Kendra
|
|
107
115
|
DescribeFaqResponse = Shapes::StructureShape.new(name: 'DescribeFaqResponse')
|
108
116
|
DescribeIndexRequest = Shapes::StructureShape.new(name: 'DescribeIndexRequest')
|
109
117
|
DescribeIndexResponse = Shapes::StructureShape.new(name: 'DescribeIndexResponse')
|
118
|
+
DescribeQuerySuggestionsBlockListRequest = Shapes::StructureShape.new(name: 'DescribeQuerySuggestionsBlockListRequest')
|
119
|
+
DescribeQuerySuggestionsBlockListResponse = Shapes::StructureShape.new(name: 'DescribeQuerySuggestionsBlockListResponse')
|
120
|
+
DescribeQuerySuggestionsConfigRequest = Shapes::StructureShape.new(name: 'DescribeQuerySuggestionsConfigRequest')
|
121
|
+
DescribeQuerySuggestionsConfigResponse = Shapes::StructureShape.new(name: 'DescribeQuerySuggestionsConfigResponse')
|
110
122
|
DescribeThesaurusRequest = Shapes::StructureShape.new(name: 'DescribeThesaurusRequest')
|
111
123
|
DescribeThesaurusResponse = Shapes::StructureShape.new(name: 'DescribeThesaurusResponse')
|
112
124
|
Description = Shapes::StringShape.new(name: 'Description')
|
@@ -123,11 +135,17 @@ module Aws::Kendra
|
|
123
135
|
DocumentAttributeValueType = Shapes::StringShape.new(name: 'DocumentAttributeValueType')
|
124
136
|
DocumentId = Shapes::StringShape.new(name: 'DocumentId')
|
125
137
|
DocumentIdList = Shapes::ListShape.new(name: 'DocumentIdList')
|
138
|
+
DocumentInfo = Shapes::StructureShape.new(name: 'DocumentInfo')
|
139
|
+
DocumentInfoList = Shapes::ListShape.new(name: 'DocumentInfoList')
|
126
140
|
DocumentList = Shapes::ListShape.new(name: 'DocumentList')
|
127
141
|
DocumentMetadataBoolean = Shapes::BooleanShape.new(name: 'DocumentMetadataBoolean')
|
128
142
|
DocumentMetadataConfiguration = Shapes::StructureShape.new(name: 'DocumentMetadataConfiguration')
|
129
143
|
DocumentMetadataConfigurationList = Shapes::ListShape.new(name: 'DocumentMetadataConfigurationList')
|
130
144
|
DocumentMetadataConfigurationName = Shapes::StringShape.new(name: 'DocumentMetadataConfigurationName')
|
145
|
+
DocumentRelevanceConfiguration = Shapes::StructureShape.new(name: 'DocumentRelevanceConfiguration')
|
146
|
+
DocumentRelevanceOverrideConfigurationList = Shapes::ListShape.new(name: 'DocumentRelevanceOverrideConfigurationList')
|
147
|
+
DocumentStatus = Shapes::StringShape.new(name: 'DocumentStatus')
|
148
|
+
DocumentStatusList = Shapes::ListShape.new(name: 'DocumentStatusList')
|
131
149
|
DocumentsMetadataConfiguration = Shapes::StructureShape.new(name: 'DocumentsMetadataConfiguration')
|
132
150
|
Duration = Shapes::StringShape.new(name: 'Duration')
|
133
151
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
@@ -147,6 +165,8 @@ module Aws::Kendra
|
|
147
165
|
FaqSummary = Shapes::StructureShape.new(name: 'FaqSummary')
|
148
166
|
FaqSummaryItems = Shapes::ListShape.new(name: 'FaqSummaryItems')
|
149
167
|
FeedbackToken = Shapes::StringShape.new(name: 'FeedbackToken')
|
168
|
+
GetQuerySuggestionsRequest = Shapes::StructureShape.new(name: 'GetQuerySuggestionsRequest')
|
169
|
+
GetQuerySuggestionsResponse = Shapes::StructureShape.new(name: 'GetQuerySuggestionsResponse')
|
150
170
|
GoogleDriveConfiguration = Shapes::StructureShape.new(name: 'GoogleDriveConfiguration')
|
151
171
|
GroupAttributeField = Shapes::StringShape.new(name: 'GroupAttributeField')
|
152
172
|
Highlight = Shapes::StructureShape.new(name: 'Highlight')
|
@@ -179,6 +199,8 @@ module Aws::Kendra
|
|
179
199
|
ListFaqsResponse = Shapes::StructureShape.new(name: 'ListFaqsResponse')
|
180
200
|
ListIndicesRequest = Shapes::StructureShape.new(name: 'ListIndicesRequest')
|
181
201
|
ListIndicesResponse = Shapes::StructureShape.new(name: 'ListIndicesResponse')
|
202
|
+
ListQuerySuggestionsBlockListsRequest = Shapes::StructureShape.new(name: 'ListQuerySuggestionsBlockListsRequest')
|
203
|
+
ListQuerySuggestionsBlockListsResponse = Shapes::StructureShape.new(name: 'ListQuerySuggestionsBlockListsResponse')
|
182
204
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
183
205
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
184
206
|
ListThesauriRequest = Shapes::StructureShape.new(name: 'ListThesauriRequest')
|
@@ -188,10 +210,15 @@ module Aws::Kendra
|
|
188
210
|
MaxResultsIntegerForListDataSourcesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListDataSourcesRequest')
|
189
211
|
MaxResultsIntegerForListFaqsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListFaqsRequest')
|
190
212
|
MaxResultsIntegerForListIndicesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListIndicesRequest')
|
213
|
+
MaxResultsIntegerForListQuerySuggestionsBlockLists = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListQuerySuggestionsBlockLists')
|
191
214
|
MaxResultsIntegerForListThesauriRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListThesauriRequest')
|
192
215
|
MetricValue = Shapes::StringShape.new(name: 'MetricValue')
|
193
216
|
MimeType = Shapes::StringShape.new(name: 'MimeType')
|
217
|
+
MinimumNumberOfQueryingUsers = Shapes::IntegerShape.new(name: 'MinimumNumberOfQueryingUsers')
|
218
|
+
MinimumQueryCount = Shapes::IntegerShape.new(name: 'MinimumQueryCount')
|
219
|
+
Mode = Shapes::StringShape.new(name: 'Mode')
|
194
220
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
221
|
+
ObjectBoolean = Shapes::BooleanShape.new(name: 'ObjectBoolean')
|
195
222
|
OneDriveConfiguration = Shapes::StructureShape.new(name: 'OneDriveConfiguration')
|
196
223
|
OneDriveUser = Shapes::StringShape.new(name: 'OneDriveUser')
|
197
224
|
OneDriveUserList = Shapes::ListShape.new(name: 'OneDriveUserList')
|
@@ -209,6 +236,13 @@ module Aws::Kendra
|
|
209
236
|
QueryResultItem = Shapes::StructureShape.new(name: 'QueryResultItem')
|
210
237
|
QueryResultItemList = Shapes::ListShape.new(name: 'QueryResultItemList')
|
211
238
|
QueryResultType = Shapes::StringShape.new(name: 'QueryResultType')
|
239
|
+
QuerySuggestionsBlockListId = Shapes::StringShape.new(name: 'QuerySuggestionsBlockListId')
|
240
|
+
QuerySuggestionsBlockListName = Shapes::StringShape.new(name: 'QuerySuggestionsBlockListName')
|
241
|
+
QuerySuggestionsBlockListStatus = Shapes::StringShape.new(name: 'QuerySuggestionsBlockListStatus')
|
242
|
+
QuerySuggestionsBlockListSummary = Shapes::StructureShape.new(name: 'QuerySuggestionsBlockListSummary')
|
243
|
+
QuerySuggestionsBlockListSummaryItems = Shapes::ListShape.new(name: 'QuerySuggestionsBlockListSummaryItems')
|
244
|
+
QuerySuggestionsId = Shapes::StringShape.new(name: 'QuerySuggestionsId')
|
245
|
+
QuerySuggestionsStatus = Shapes::StringShape.new(name: 'QuerySuggestionsStatus')
|
212
246
|
QueryText = Shapes::StringShape.new(name: 'QueryText')
|
213
247
|
ReadAccessType = Shapes::StringShape.new(name: 'ReadAccessType')
|
214
248
|
Relevance = Shapes::StructureShape.new(name: 'Relevance')
|
@@ -247,10 +281,12 @@ module Aws::Kendra
|
|
247
281
|
SecretArn = Shapes::StringShape.new(name: 'SecretArn')
|
248
282
|
SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
|
249
283
|
ServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'ServerSideEncryptionConfiguration')
|
284
|
+
ServiceNowAuthenticationType = Shapes::StringShape.new(name: 'ServiceNowAuthenticationType')
|
250
285
|
ServiceNowBuildVersionType = Shapes::StringShape.new(name: 'ServiceNowBuildVersionType')
|
251
286
|
ServiceNowConfiguration = Shapes::StructureShape.new(name: 'ServiceNowConfiguration')
|
252
287
|
ServiceNowHostUrl = Shapes::StringShape.new(name: 'ServiceNowHostUrl')
|
253
288
|
ServiceNowKnowledgeArticleConfiguration = Shapes::StructureShape.new(name: 'ServiceNowKnowledgeArticleConfiguration')
|
289
|
+
ServiceNowKnowledgeArticleFilterQuery = Shapes::StringShape.new(name: 'ServiceNowKnowledgeArticleFilterQuery')
|
254
290
|
ServiceNowServiceCatalogConfiguration = Shapes::StructureShape.new(name: 'ServiceNowServiceCatalogConfiguration')
|
255
291
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
256
292
|
SharePointConfiguration = Shapes::StructureShape.new(name: 'SharePointConfiguration')
|
@@ -262,12 +298,20 @@ module Aws::Kendra
|
|
262
298
|
SqlConfiguration = Shapes::StructureShape.new(name: 'SqlConfiguration')
|
263
299
|
StartDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobRequest')
|
264
300
|
StartDataSourceSyncJobResponse = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobResponse')
|
301
|
+
Status = Shapes::StructureShape.new(name: 'Status')
|
265
302
|
StopDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StopDataSourceSyncJobRequest')
|
266
303
|
StorageCapacityUnit = Shapes::IntegerShape.new(name: 'StorageCapacityUnit')
|
267
304
|
String = Shapes::StringShape.new(name: 'String')
|
268
305
|
SubmitFeedbackRequest = Shapes::StructureShape.new(name: 'SubmitFeedbackRequest')
|
269
306
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
270
307
|
SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
|
308
|
+
Suggestion = Shapes::StructureShape.new(name: 'Suggestion')
|
309
|
+
SuggestionHighlight = Shapes::StructureShape.new(name: 'SuggestionHighlight')
|
310
|
+
SuggestionHighlightList = Shapes::ListShape.new(name: 'SuggestionHighlightList')
|
311
|
+
SuggestionList = Shapes::ListShape.new(name: 'SuggestionList')
|
312
|
+
SuggestionQueryText = Shapes::StringShape.new(name: 'SuggestionQueryText')
|
313
|
+
SuggestionTextWithHighlights = Shapes::StructureShape.new(name: 'SuggestionTextWithHighlights')
|
314
|
+
SuggestionValue = Shapes::StructureShape.new(name: 'SuggestionValue')
|
271
315
|
TableName = Shapes::StringShape.new(name: 'TableName')
|
272
316
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
273
317
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -293,6 +337,8 @@ module Aws::Kendra
|
|
293
337
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
294
338
|
UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
|
295
339
|
UpdateIndexRequest = Shapes::StructureShape.new(name: 'UpdateIndexRequest')
|
340
|
+
UpdateQuerySuggestionsBlockListRequest = Shapes::StructureShape.new(name: 'UpdateQuerySuggestionsBlockListRequest')
|
341
|
+
UpdateQuerySuggestionsConfigRequest = Shapes::StructureShape.new(name: 'UpdateQuerySuggestionsConfigRequest')
|
296
342
|
UpdateThesaurusRequest = Shapes::StructureShape.new(name: 'UpdateThesaurusRequest')
|
297
343
|
Url = Shapes::StringShape.new(name: 'Url')
|
298
344
|
UserAccount = Shapes::StringShape.new(name: 'UserAccount')
|
@@ -355,6 +401,21 @@ module Aws::Kendra
|
|
355
401
|
|
356
402
|
BatchDeleteDocumentResponseFailedDocuments.member = Shapes::ShapeRef.new(shape: BatchDeleteDocumentResponseFailedDocument)
|
357
403
|
|
404
|
+
BatchGetDocumentStatusRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
405
|
+
BatchGetDocumentStatusRequest.add_member(:document_info_list, Shapes::ShapeRef.new(shape: DocumentInfoList, required: true, location_name: "DocumentInfoList"))
|
406
|
+
BatchGetDocumentStatusRequest.struct_class = Types::BatchGetDocumentStatusRequest
|
407
|
+
|
408
|
+
BatchGetDocumentStatusResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchGetDocumentStatusResponseErrors, location_name: "Errors"))
|
409
|
+
BatchGetDocumentStatusResponse.add_member(:document_status_list, Shapes::ShapeRef.new(shape: DocumentStatusList, location_name: "DocumentStatusList"))
|
410
|
+
BatchGetDocumentStatusResponse.struct_class = Types::BatchGetDocumentStatusResponse
|
411
|
+
|
412
|
+
BatchGetDocumentStatusResponseError.add_member(:document_id, Shapes::ShapeRef.new(shape: DocumentId, location_name: "DocumentId"))
|
413
|
+
BatchGetDocumentStatusResponseError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
414
|
+
BatchGetDocumentStatusResponseError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
415
|
+
BatchGetDocumentStatusResponseError.struct_class = Types::BatchGetDocumentStatusResponseError
|
416
|
+
|
417
|
+
BatchGetDocumentStatusResponseErrors.member = Shapes::ShapeRef.new(shape: BatchGetDocumentStatusResponseError)
|
418
|
+
|
358
419
|
BatchPutDocumentRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
359
420
|
BatchPutDocumentRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
360
421
|
BatchPutDocumentRequest.add_member(:documents, Shapes::ShapeRef.new(shape: DocumentList, required: true, location_name: "Documents"))
|
@@ -376,6 +437,9 @@ module Aws::Kendra
|
|
376
437
|
|
377
438
|
ChangeDetectingColumns.member = Shapes::ShapeRef.new(shape: ColumnName)
|
378
439
|
|
440
|
+
ClearQuerySuggestionsRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
441
|
+
ClearQuerySuggestionsRequest.struct_class = Types::ClearQuerySuggestionsRequest
|
442
|
+
|
379
443
|
ClickFeedback.add_member(:result_id, Shapes::ShapeRef.new(shape: ResultId, required: true, location_name: "ResultId"))
|
380
444
|
ClickFeedback.add_member(:click_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ClickTime"))
|
381
445
|
ClickFeedback.struct_class = Types::ClickFeedback
|
@@ -499,6 +563,18 @@ module Aws::Kendra
|
|
499
563
|
CreateIndexResponse.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, location_name: "Id"))
|
500
564
|
CreateIndexResponse.struct_class = Types::CreateIndexResponse
|
501
565
|
|
566
|
+
CreateQuerySuggestionsBlockListRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
567
|
+
CreateQuerySuggestionsBlockListRequest.add_member(:name, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListName, required: true, location_name: "Name"))
|
568
|
+
CreateQuerySuggestionsBlockListRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
569
|
+
CreateQuerySuggestionsBlockListRequest.add_member(:source_s3_path, Shapes::ShapeRef.new(shape: S3Path, required: true, location_name: "SourceS3Path"))
|
570
|
+
CreateQuerySuggestionsBlockListRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenName, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
571
|
+
CreateQuerySuggestionsBlockListRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
572
|
+
CreateQuerySuggestionsBlockListRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
573
|
+
CreateQuerySuggestionsBlockListRequest.struct_class = Types::CreateQuerySuggestionsBlockListRequest
|
574
|
+
|
575
|
+
CreateQuerySuggestionsBlockListResponse.add_member(:id, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListId, location_name: "Id"))
|
576
|
+
CreateQuerySuggestionsBlockListResponse.struct_class = Types::CreateQuerySuggestionsBlockListResponse
|
577
|
+
|
502
578
|
CreateThesaurusRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
503
579
|
CreateThesaurusRequest.add_member(:name, Shapes::ShapeRef.new(shape: ThesaurusName, required: true, location_name: "Name"))
|
504
580
|
CreateThesaurusRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
@@ -546,7 +622,7 @@ module Aws::Kendra
|
|
546
622
|
DataSourceSyncJobHistoryList.member = Shapes::ShapeRef.new(shape: DataSourceSyncJob)
|
547
623
|
|
548
624
|
DataSourceSyncJobMetricTarget.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "DataSourceId"))
|
549
|
-
DataSourceSyncJobMetricTarget.add_member(:data_source_sync_job_id, Shapes::ShapeRef.new(shape: DataSourceSyncJobId,
|
625
|
+
DataSourceSyncJobMetricTarget.add_member(:data_source_sync_job_id, Shapes::ShapeRef.new(shape: DataSourceSyncJobId, location_name: "DataSourceSyncJobId"))
|
550
626
|
DataSourceSyncJobMetricTarget.struct_class = Types::DataSourceSyncJobMetricTarget
|
551
627
|
|
552
628
|
DataSourceSyncJobMetrics.add_member(:documents_added, Shapes::ShapeRef.new(shape: MetricValue, location_name: "DocumentsAdded"))
|
@@ -586,6 +662,10 @@ module Aws::Kendra
|
|
586
662
|
DeleteIndexRequest.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "Id"))
|
587
663
|
DeleteIndexRequest.struct_class = Types::DeleteIndexRequest
|
588
664
|
|
665
|
+
DeleteQuerySuggestionsBlockListRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
666
|
+
DeleteQuerySuggestionsBlockListRequest.add_member(:id, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListId, required: true, location_name: "Id"))
|
667
|
+
DeleteQuerySuggestionsBlockListRequest.struct_class = Types::DeleteQuerySuggestionsBlockListRequest
|
668
|
+
|
589
669
|
DeleteThesaurusRequest.add_member(:id, Shapes::ShapeRef.new(shape: ThesaurusId, required: true, location_name: "Id"))
|
590
670
|
DeleteThesaurusRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
591
671
|
DeleteThesaurusRequest.struct_class = Types::DeleteThesaurusRequest
|
@@ -645,6 +725,38 @@ module Aws::Kendra
|
|
645
725
|
DescribeIndexResponse.add_member(:user_context_policy, Shapes::ShapeRef.new(shape: UserContextPolicy, location_name: "UserContextPolicy"))
|
646
726
|
DescribeIndexResponse.struct_class = Types::DescribeIndexResponse
|
647
727
|
|
728
|
+
DescribeQuerySuggestionsBlockListRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
729
|
+
DescribeQuerySuggestionsBlockListRequest.add_member(:id, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListId, required: true, location_name: "Id"))
|
730
|
+
DescribeQuerySuggestionsBlockListRequest.struct_class = Types::DescribeQuerySuggestionsBlockListRequest
|
731
|
+
|
732
|
+
DescribeQuerySuggestionsBlockListResponse.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, location_name: "IndexId"))
|
733
|
+
DescribeQuerySuggestionsBlockListResponse.add_member(:id, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListId, location_name: "Id"))
|
734
|
+
DescribeQuerySuggestionsBlockListResponse.add_member(:name, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListName, location_name: "Name"))
|
735
|
+
DescribeQuerySuggestionsBlockListResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
736
|
+
DescribeQuerySuggestionsBlockListResponse.add_member(:status, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListStatus, location_name: "Status"))
|
737
|
+
DescribeQuerySuggestionsBlockListResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
738
|
+
DescribeQuerySuggestionsBlockListResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
739
|
+
DescribeQuerySuggestionsBlockListResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
740
|
+
DescribeQuerySuggestionsBlockListResponse.add_member(:source_s3_path, Shapes::ShapeRef.new(shape: S3Path, location_name: "SourceS3Path"))
|
741
|
+
DescribeQuerySuggestionsBlockListResponse.add_member(:item_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ItemCount"))
|
742
|
+
DescribeQuerySuggestionsBlockListResponse.add_member(:file_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "FileSizeBytes"))
|
743
|
+
DescribeQuerySuggestionsBlockListResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
744
|
+
DescribeQuerySuggestionsBlockListResponse.struct_class = Types::DescribeQuerySuggestionsBlockListResponse
|
745
|
+
|
746
|
+
DescribeQuerySuggestionsConfigRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
747
|
+
DescribeQuerySuggestionsConfigRequest.struct_class = Types::DescribeQuerySuggestionsConfigRequest
|
748
|
+
|
749
|
+
DescribeQuerySuggestionsConfigResponse.add_member(:mode, Shapes::ShapeRef.new(shape: Mode, location_name: "Mode"))
|
750
|
+
DescribeQuerySuggestionsConfigResponse.add_member(:status, Shapes::ShapeRef.new(shape: QuerySuggestionsStatus, location_name: "Status"))
|
751
|
+
DescribeQuerySuggestionsConfigResponse.add_member(:query_log_look_back_window_in_days, Shapes::ShapeRef.new(shape: Integer, location_name: "QueryLogLookBackWindowInDays"))
|
752
|
+
DescribeQuerySuggestionsConfigResponse.add_member(:include_queries_without_user_information, Shapes::ShapeRef.new(shape: ObjectBoolean, location_name: "IncludeQueriesWithoutUserInformation"))
|
753
|
+
DescribeQuerySuggestionsConfigResponse.add_member(:minimum_number_of_querying_users, Shapes::ShapeRef.new(shape: MinimumNumberOfQueryingUsers, location_name: "MinimumNumberOfQueryingUsers"))
|
754
|
+
DescribeQuerySuggestionsConfigResponse.add_member(:minimum_query_count, Shapes::ShapeRef.new(shape: MinimumQueryCount, location_name: "MinimumQueryCount"))
|
755
|
+
DescribeQuerySuggestionsConfigResponse.add_member(:last_suggestions_build_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastSuggestionsBuildTime"))
|
756
|
+
DescribeQuerySuggestionsConfigResponse.add_member(:last_clear_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastClearTime"))
|
757
|
+
DescribeQuerySuggestionsConfigResponse.add_member(:total_suggestions_count, Shapes::ShapeRef.new(shape: Integer, location_name: "TotalSuggestionsCount"))
|
758
|
+
DescribeQuerySuggestionsConfigResponse.struct_class = Types::DescribeQuerySuggestionsConfigResponse
|
759
|
+
|
648
760
|
DescribeThesaurusRequest.add_member(:id, Shapes::ShapeRef.new(shape: ThesaurusId, required: true, location_name: "Id"))
|
649
761
|
DescribeThesaurusRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
650
762
|
DescribeThesaurusRequest.struct_class = Types::DescribeThesaurusRequest
|
@@ -697,6 +809,12 @@ module Aws::Kendra
|
|
697
809
|
|
698
810
|
DocumentIdList.member = Shapes::ShapeRef.new(shape: DocumentId)
|
699
811
|
|
812
|
+
DocumentInfo.add_member(:document_id, Shapes::ShapeRef.new(shape: DocumentId, required: true, location_name: "DocumentId"))
|
813
|
+
DocumentInfo.add_member(:attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "Attributes"))
|
814
|
+
DocumentInfo.struct_class = Types::DocumentInfo
|
815
|
+
|
816
|
+
DocumentInfoList.member = Shapes::ShapeRef.new(shape: DocumentInfo)
|
817
|
+
|
700
818
|
DocumentList.member = Shapes::ShapeRef.new(shape: Document)
|
701
819
|
|
702
820
|
DocumentMetadataConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: DocumentMetadataConfigurationName, required: true, location_name: "Name"))
|
@@ -707,6 +825,14 @@ module Aws::Kendra
|
|
707
825
|
|
708
826
|
DocumentMetadataConfigurationList.member = Shapes::ShapeRef.new(shape: DocumentMetadataConfiguration)
|
709
827
|
|
828
|
+
DocumentRelevanceConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: DocumentMetadataConfigurationName, required: true, location_name: "Name"))
|
829
|
+
DocumentRelevanceConfiguration.add_member(:relevance, Shapes::ShapeRef.new(shape: Relevance, required: true, location_name: "Relevance"))
|
830
|
+
DocumentRelevanceConfiguration.struct_class = Types::DocumentRelevanceConfiguration
|
831
|
+
|
832
|
+
DocumentRelevanceOverrideConfigurationList.member = Shapes::ShapeRef.new(shape: DocumentRelevanceConfiguration)
|
833
|
+
|
834
|
+
DocumentStatusList.member = Shapes::ShapeRef.new(shape: Status)
|
835
|
+
|
710
836
|
DocumentsMetadataConfiguration.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "S3Prefix"))
|
711
837
|
DocumentsMetadataConfiguration.struct_class = Types::DocumentsMetadataConfiguration
|
712
838
|
|
@@ -741,6 +867,15 @@ module Aws::Kendra
|
|
741
867
|
|
742
868
|
FaqSummaryItems.member = Shapes::ShapeRef.new(shape: FaqSummary)
|
743
869
|
|
870
|
+
GetQuerySuggestionsRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
871
|
+
GetQuerySuggestionsRequest.add_member(:query_text, Shapes::ShapeRef.new(shape: SuggestionQueryText, required: true, location_name: "QueryText"))
|
872
|
+
GetQuerySuggestionsRequest.add_member(:max_suggestions_count, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxSuggestionsCount"))
|
873
|
+
GetQuerySuggestionsRequest.struct_class = Types::GetQuerySuggestionsRequest
|
874
|
+
|
875
|
+
GetQuerySuggestionsResponse.add_member(:query_suggestions_id, Shapes::ShapeRef.new(shape: QuerySuggestionsId, location_name: "QuerySuggestionsId"))
|
876
|
+
GetQuerySuggestionsResponse.add_member(:suggestions, Shapes::ShapeRef.new(shape: SuggestionList, location_name: "Suggestions"))
|
877
|
+
GetQuerySuggestionsResponse.struct_class = Types::GetQuerySuggestionsResponse
|
878
|
+
|
744
879
|
GoogleDriveConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
|
745
880
|
GoogleDriveConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
|
746
881
|
GoogleDriveConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
|
@@ -826,6 +961,15 @@ module Aws::Kendra
|
|
826
961
|
ListIndicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
827
962
|
ListIndicesResponse.struct_class = Types::ListIndicesResponse
|
828
963
|
|
964
|
+
ListQuerySuggestionsBlockListsRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
965
|
+
ListQuerySuggestionsBlockListsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
966
|
+
ListQuerySuggestionsBlockListsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsIntegerForListQuerySuggestionsBlockLists, location_name: "MaxResults"))
|
967
|
+
ListQuerySuggestionsBlockListsRequest.struct_class = Types::ListQuerySuggestionsBlockListsRequest
|
968
|
+
|
969
|
+
ListQuerySuggestionsBlockListsResponse.add_member(:block_list_summary_items, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListSummaryItems, location_name: "BlockListSummaryItems"))
|
970
|
+
ListQuerySuggestionsBlockListsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
971
|
+
ListQuerySuggestionsBlockListsResponse.struct_class = Types::ListQuerySuggestionsBlockListsResponse
|
972
|
+
|
829
973
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
830
974
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
831
975
|
|
@@ -869,6 +1013,7 @@ module Aws::Kendra
|
|
869
1013
|
QueryRequest.add_member(:facets, Shapes::ShapeRef.new(shape: FacetList, location_name: "Facets"))
|
870
1014
|
QueryRequest.add_member(:requested_document_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeKeyList, location_name: "RequestedDocumentAttributes"))
|
871
1015
|
QueryRequest.add_member(:query_result_type_filter, Shapes::ShapeRef.new(shape: QueryResultType, location_name: "QueryResultTypeFilter"))
|
1016
|
+
QueryRequest.add_member(:document_relevance_override_configurations, Shapes::ShapeRef.new(shape: DocumentRelevanceOverrideConfigurationList, location_name: "DocumentRelevanceOverrideConfigurations"))
|
872
1017
|
QueryRequest.add_member(:page_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PageNumber"))
|
873
1018
|
QueryRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: Integer, location_name: "PageSize"))
|
874
1019
|
QueryRequest.add_member(:sorting_configuration, Shapes::ShapeRef.new(shape: SortingConfiguration, location_name: "SortingConfiguration"))
|
@@ -896,6 +1041,16 @@ module Aws::Kendra
|
|
896
1041
|
|
897
1042
|
QueryResultItemList.member = Shapes::ShapeRef.new(shape: QueryResultItem)
|
898
1043
|
|
1044
|
+
QuerySuggestionsBlockListSummary.add_member(:id, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListId, location_name: "Id"))
|
1045
|
+
QuerySuggestionsBlockListSummary.add_member(:name, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListName, location_name: "Name"))
|
1046
|
+
QuerySuggestionsBlockListSummary.add_member(:status, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListStatus, location_name: "Status"))
|
1047
|
+
QuerySuggestionsBlockListSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
1048
|
+
QuerySuggestionsBlockListSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
1049
|
+
QuerySuggestionsBlockListSummary.add_member(:item_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ItemCount"))
|
1050
|
+
QuerySuggestionsBlockListSummary.struct_class = Types::QuerySuggestionsBlockListSummary
|
1051
|
+
|
1052
|
+
QuerySuggestionsBlockListSummaryItems.member = Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListSummary)
|
1053
|
+
|
899
1054
|
Relevance.add_member(:freshness, Shapes::ShapeRef.new(shape: DocumentMetadataBoolean, location_name: "Freshness"))
|
900
1055
|
Relevance.add_member(:importance, Shapes::ShapeRef.new(shape: Importance, location_name: "Importance"))
|
901
1056
|
Relevance.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration"))
|
@@ -1003,6 +1158,7 @@ module Aws::Kendra
|
|
1003
1158
|
ServiceNowConfiguration.add_member(:service_now_build_version, Shapes::ShapeRef.new(shape: ServiceNowBuildVersionType, required: true, location_name: "ServiceNowBuildVersion"))
|
1004
1159
|
ServiceNowConfiguration.add_member(:knowledge_article_configuration, Shapes::ShapeRef.new(shape: ServiceNowKnowledgeArticleConfiguration, location_name: "KnowledgeArticleConfiguration"))
|
1005
1160
|
ServiceNowConfiguration.add_member(:service_catalog_configuration, Shapes::ShapeRef.new(shape: ServiceNowServiceCatalogConfiguration, location_name: "ServiceCatalogConfiguration"))
|
1161
|
+
ServiceNowConfiguration.add_member(:authentication_type, Shapes::ShapeRef.new(shape: ServiceNowAuthenticationType, location_name: "AuthenticationType"))
|
1006
1162
|
ServiceNowConfiguration.struct_class = Types::ServiceNowConfiguration
|
1007
1163
|
|
1008
1164
|
ServiceNowKnowledgeArticleConfiguration.add_member(:crawl_attachments, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlAttachments"))
|
@@ -1011,6 +1167,7 @@ module Aws::Kendra
|
|
1011
1167
|
ServiceNowKnowledgeArticleConfiguration.add_member(:document_data_field_name, Shapes::ShapeRef.new(shape: DataSourceFieldName, required: true, location_name: "DocumentDataFieldName"))
|
1012
1168
|
ServiceNowKnowledgeArticleConfiguration.add_member(:document_title_field_name, Shapes::ShapeRef.new(shape: DataSourceFieldName, location_name: "DocumentTitleFieldName"))
|
1013
1169
|
ServiceNowKnowledgeArticleConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
|
1170
|
+
ServiceNowKnowledgeArticleConfiguration.add_member(:filter_query, Shapes::ShapeRef.new(shape: ServiceNowKnowledgeArticleFilterQuery, location_name: "FilterQuery"))
|
1014
1171
|
ServiceNowKnowledgeArticleConfiguration.struct_class = Types::ServiceNowKnowledgeArticleConfiguration
|
1015
1172
|
|
1016
1173
|
ServiceNowServiceCatalogConfiguration.add_member(:crawl_attachments, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlAttachments"))
|
@@ -1053,6 +1210,12 @@ module Aws::Kendra
|
|
1053
1210
|
StartDataSourceSyncJobResponse.add_member(:execution_id, Shapes::ShapeRef.new(shape: String, location_name: "ExecutionId"))
|
1054
1211
|
StartDataSourceSyncJobResponse.struct_class = Types::StartDataSourceSyncJobResponse
|
1055
1212
|
|
1213
|
+
Status.add_member(:document_id, Shapes::ShapeRef.new(shape: DocumentId, location_name: "DocumentId"))
|
1214
|
+
Status.add_member(:document_status, Shapes::ShapeRef.new(shape: DocumentStatus, location_name: "DocumentStatus"))
|
1215
|
+
Status.add_member(:failure_code, Shapes::ShapeRef.new(shape: String, location_name: "FailureCode"))
|
1216
|
+
Status.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "FailureReason"))
|
1217
|
+
Status.struct_class = Types::Status
|
1218
|
+
|
1056
1219
|
StopDataSourceSyncJobRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
|
1057
1220
|
StopDataSourceSyncJobRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
1058
1221
|
StopDataSourceSyncJobRequest.struct_class = Types::StopDataSourceSyncJobRequest
|
@@ -1065,6 +1228,25 @@ module Aws::Kendra
|
|
1065
1228
|
|
1066
1229
|
SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId)
|
1067
1230
|
|
1231
|
+
Suggestion.add_member(:id, Shapes::ShapeRef.new(shape: ResultId, location_name: "Id"))
|
1232
|
+
Suggestion.add_member(:value, Shapes::ShapeRef.new(shape: SuggestionValue, location_name: "Value"))
|
1233
|
+
Suggestion.struct_class = Types::Suggestion
|
1234
|
+
|
1235
|
+
SuggestionHighlight.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BeginOffset"))
|
1236
|
+
SuggestionHighlight.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
|
1237
|
+
SuggestionHighlight.struct_class = Types::SuggestionHighlight
|
1238
|
+
|
1239
|
+
SuggestionHighlightList.member = Shapes::ShapeRef.new(shape: SuggestionHighlight)
|
1240
|
+
|
1241
|
+
SuggestionList.member = Shapes::ShapeRef.new(shape: Suggestion)
|
1242
|
+
|
1243
|
+
SuggestionTextWithHighlights.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
|
1244
|
+
SuggestionTextWithHighlights.add_member(:highlights, Shapes::ShapeRef.new(shape: SuggestionHighlightList, location_name: "Highlights"))
|
1245
|
+
SuggestionTextWithHighlights.struct_class = Types::SuggestionTextWithHighlights
|
1246
|
+
|
1247
|
+
SuggestionValue.add_member(:text, Shapes::ShapeRef.new(shape: SuggestionTextWithHighlights, location_name: "Text"))
|
1248
|
+
SuggestionValue.struct_class = Types::SuggestionValue
|
1249
|
+
|
1068
1250
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
1069
1251
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
1070
1252
|
Tag.struct_class = Types::Tag
|
@@ -1128,6 +1310,22 @@ module Aws::Kendra
|
|
1128
1310
|
UpdateIndexRequest.add_member(:user_context_policy, Shapes::ShapeRef.new(shape: UserContextPolicy, location_name: "UserContextPolicy"))
|
1129
1311
|
UpdateIndexRequest.struct_class = Types::UpdateIndexRequest
|
1130
1312
|
|
1313
|
+
UpdateQuerySuggestionsBlockListRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
1314
|
+
UpdateQuerySuggestionsBlockListRequest.add_member(:id, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListId, required: true, location_name: "Id"))
|
1315
|
+
UpdateQuerySuggestionsBlockListRequest.add_member(:name, Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListName, location_name: "Name"))
|
1316
|
+
UpdateQuerySuggestionsBlockListRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
1317
|
+
UpdateQuerySuggestionsBlockListRequest.add_member(:source_s3_path, Shapes::ShapeRef.new(shape: S3Path, location_name: "SourceS3Path"))
|
1318
|
+
UpdateQuerySuggestionsBlockListRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
1319
|
+
UpdateQuerySuggestionsBlockListRequest.struct_class = Types::UpdateQuerySuggestionsBlockListRequest
|
1320
|
+
|
1321
|
+
UpdateQuerySuggestionsConfigRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
1322
|
+
UpdateQuerySuggestionsConfigRequest.add_member(:mode, Shapes::ShapeRef.new(shape: Mode, location_name: "Mode"))
|
1323
|
+
UpdateQuerySuggestionsConfigRequest.add_member(:query_log_look_back_window_in_days, Shapes::ShapeRef.new(shape: Integer, location_name: "QueryLogLookBackWindowInDays"))
|
1324
|
+
UpdateQuerySuggestionsConfigRequest.add_member(:include_queries_without_user_information, Shapes::ShapeRef.new(shape: ObjectBoolean, location_name: "IncludeQueriesWithoutUserInformation"))
|
1325
|
+
UpdateQuerySuggestionsConfigRequest.add_member(:minimum_number_of_querying_users, Shapes::ShapeRef.new(shape: MinimumNumberOfQueryingUsers, location_name: "MinimumNumberOfQueryingUsers"))
|
1326
|
+
UpdateQuerySuggestionsConfigRequest.add_member(:minimum_query_count, Shapes::ShapeRef.new(shape: MinimumQueryCount, location_name: "MinimumQueryCount"))
|
1327
|
+
UpdateQuerySuggestionsConfigRequest.struct_class = Types::UpdateQuerySuggestionsConfigRequest
|
1328
|
+
|
1131
1329
|
UpdateThesaurusRequest.add_member(:id, Shapes::ShapeRef.new(shape: ThesaurusId, required: true, location_name: "Id"))
|
1132
1330
|
UpdateThesaurusRequest.add_member(:name, Shapes::ShapeRef.new(shape: ThesaurusName, location_name: "Name"))
|
1133
1331
|
UpdateThesaurusRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
@@ -1185,6 +1383,20 @@ module Aws::Kendra
|
|
1185
1383
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1186
1384
|
end)
|
1187
1385
|
|
1386
|
+
api.add_operation(:batch_get_document_status, Seahorse::Model::Operation.new.tap do |o|
|
1387
|
+
o.name = "BatchGetDocumentStatus"
|
1388
|
+
o.http_method = "POST"
|
1389
|
+
o.http_request_uri = "/"
|
1390
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetDocumentStatusRequest)
|
1391
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetDocumentStatusResponse)
|
1392
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1393
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1394
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1395
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1396
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1397
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1398
|
+
end)
|
1399
|
+
|
1188
1400
|
api.add_operation(:batch_put_document, Seahorse::Model::Operation.new.tap do |o|
|
1189
1401
|
o.name = "BatchPutDocument"
|
1190
1402
|
o.http_method = "POST"
|
@@ -1200,6 +1412,20 @@ module Aws::Kendra
|
|
1200
1412
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1201
1413
|
end)
|
1202
1414
|
|
1415
|
+
api.add_operation(:clear_query_suggestions, Seahorse::Model::Operation.new.tap do |o|
|
1416
|
+
o.name = "ClearQuerySuggestions"
|
1417
|
+
o.http_method = "POST"
|
1418
|
+
o.http_request_uri = "/"
|
1419
|
+
o.input = Shapes::ShapeRef.new(shape: ClearQuerySuggestionsRequest)
|
1420
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1421
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1422
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1423
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1424
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1425
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1426
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1427
|
+
end)
|
1428
|
+
|
1203
1429
|
api.add_operation(:create_data_source, Seahorse::Model::Operation.new.tap do |o|
|
1204
1430
|
o.name = "CreateDataSource"
|
1205
1431
|
o.http_method = "POST"
|
@@ -1246,6 +1472,21 @@ module Aws::Kendra
|
|
1246
1472
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1247
1473
|
end)
|
1248
1474
|
|
1475
|
+
api.add_operation(:create_query_suggestions_block_list, Seahorse::Model::Operation.new.tap do |o|
|
1476
|
+
o.name = "CreateQuerySuggestionsBlockList"
|
1477
|
+
o.http_method = "POST"
|
1478
|
+
o.http_request_uri = "/"
|
1479
|
+
o.input = Shapes::ShapeRef.new(shape: CreateQuerySuggestionsBlockListRequest)
|
1480
|
+
o.output = Shapes::ShapeRef.new(shape: CreateQuerySuggestionsBlockListResponse)
|
1481
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1482
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1483
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1484
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1485
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1486
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1487
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1488
|
+
end)
|
1489
|
+
|
1249
1490
|
api.add_operation(:create_thesaurus, Seahorse::Model::Operation.new.tap do |o|
|
1250
1491
|
o.name = "CreateThesaurus"
|
1251
1492
|
o.http_method = "POST"
|
@@ -1303,6 +1544,20 @@ module Aws::Kendra
|
|
1303
1544
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1304
1545
|
end)
|
1305
1546
|
|
1547
|
+
api.add_operation(:delete_query_suggestions_block_list, Seahorse::Model::Operation.new.tap do |o|
|
1548
|
+
o.name = "DeleteQuerySuggestionsBlockList"
|
1549
|
+
o.http_method = "POST"
|
1550
|
+
o.http_request_uri = "/"
|
1551
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteQuerySuggestionsBlockListRequest)
|
1552
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1553
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1554
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1555
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1556
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1557
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1558
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1559
|
+
end)
|
1560
|
+
|
1306
1561
|
api.add_operation(:delete_thesaurus, Seahorse::Model::Operation.new.tap do |o|
|
1307
1562
|
o.name = "DeleteThesaurus"
|
1308
1563
|
o.http_method = "POST"
|
@@ -1356,6 +1611,32 @@ module Aws::Kendra
|
|
1356
1611
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1357
1612
|
end)
|
1358
1613
|
|
1614
|
+
api.add_operation(:describe_query_suggestions_block_list, Seahorse::Model::Operation.new.tap do |o|
|
1615
|
+
o.name = "DescribeQuerySuggestionsBlockList"
|
1616
|
+
o.http_method = "POST"
|
1617
|
+
o.http_request_uri = "/"
|
1618
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeQuerySuggestionsBlockListRequest)
|
1619
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeQuerySuggestionsBlockListResponse)
|
1620
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1621
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1622
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1623
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1624
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1625
|
+
end)
|
1626
|
+
|
1627
|
+
api.add_operation(:describe_query_suggestions_config, Seahorse::Model::Operation.new.tap do |o|
|
1628
|
+
o.name = "DescribeQuerySuggestionsConfig"
|
1629
|
+
o.http_method = "POST"
|
1630
|
+
o.http_request_uri = "/"
|
1631
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeQuerySuggestionsConfigRequest)
|
1632
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeQuerySuggestionsConfigResponse)
|
1633
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1634
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1635
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1636
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1637
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1638
|
+
end)
|
1639
|
+
|
1359
1640
|
api.add_operation(:describe_thesaurus, Seahorse::Model::Operation.new.tap do |o|
|
1360
1641
|
o.name = "DescribeThesaurus"
|
1361
1642
|
o.http_method = "POST"
|
@@ -1369,6 +1650,21 @@ module Aws::Kendra
|
|
1369
1650
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1370
1651
|
end)
|
1371
1652
|
|
1653
|
+
api.add_operation(:get_query_suggestions, Seahorse::Model::Operation.new.tap do |o|
|
1654
|
+
o.name = "GetQuerySuggestions"
|
1655
|
+
o.http_method = "POST"
|
1656
|
+
o.http_request_uri = "/"
|
1657
|
+
o.input = Shapes::ShapeRef.new(shape: GetQuerySuggestionsRequest)
|
1658
|
+
o.output = Shapes::ShapeRef.new(shape: GetQuerySuggestionsResponse)
|
1659
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1660
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1661
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1662
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1663
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1664
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1665
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1666
|
+
end)
|
1667
|
+
|
1372
1668
|
api.add_operation(:list_data_source_sync_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1373
1669
|
o.name = "ListDataSourceSyncJobs"
|
1374
1670
|
o.http_method = "POST"
|
@@ -1439,6 +1735,19 @@ module Aws::Kendra
|
|
1439
1735
|
)
|
1440
1736
|
end)
|
1441
1737
|
|
1738
|
+
api.add_operation(:list_query_suggestions_block_lists, Seahorse::Model::Operation.new.tap do |o|
|
1739
|
+
o.name = "ListQuerySuggestionsBlockLists"
|
1740
|
+
o.http_method = "POST"
|
1741
|
+
o.http_request_uri = "/"
|
1742
|
+
o.input = Shapes::ShapeRef.new(shape: ListQuerySuggestionsBlockListsRequest)
|
1743
|
+
o.output = Shapes::ShapeRef.new(shape: ListQuerySuggestionsBlockListsResponse)
|
1744
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1745
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1746
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1747
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1748
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1749
|
+
end)
|
1750
|
+
|
1442
1751
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
1443
1752
|
o.name = "ListTagsForResource"
|
1444
1753
|
o.http_method = "POST"
|
@@ -1577,6 +1886,34 @@ module Aws::Kendra
|
|
1577
1886
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1578
1887
|
end)
|
1579
1888
|
|
1889
|
+
api.add_operation(:update_query_suggestions_block_list, Seahorse::Model::Operation.new.tap do |o|
|
1890
|
+
o.name = "UpdateQuerySuggestionsBlockList"
|
1891
|
+
o.http_method = "POST"
|
1892
|
+
o.http_request_uri = "/"
|
1893
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateQuerySuggestionsBlockListRequest)
|
1894
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1895
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1896
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1897
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1898
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1899
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1900
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1901
|
+
end)
|
1902
|
+
|
1903
|
+
api.add_operation(:update_query_suggestions_config, Seahorse::Model::Operation.new.tap do |o|
|
1904
|
+
o.name = "UpdateQuerySuggestionsConfig"
|
1905
|
+
o.http_method = "POST"
|
1906
|
+
o.http_request_uri = "/"
|
1907
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateQuerySuggestionsConfigRequest)
|
1908
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1909
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1910
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1911
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1912
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1913
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1914
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1915
|
+
end)
|
1916
|
+
|
1580
1917
|
api.add_operation(:update_thesaurus, Seahorse::Model::Operation.new.tap do |o|
|
1581
1918
|
o.name = "UpdateThesaurus"
|
1582
1919
|
o.http_method = "POST"
|