aws-sdk-kendra 1.63.0 → 1.64.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kendra/client.rb +457 -75
- data/lib/aws-sdk-kendra/client_api.rb +229 -0
- data/lib/aws-sdk-kendra/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-kendra/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-kendra/endpoints.rb +70 -0
- data/lib/aws-sdk-kendra/errors.rb +21 -0
- data/lib/aws-sdk-kendra/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-kendra/types.rb +896 -165
- data/lib/aws-sdk-kendra.rb +1 -1
- metadata +2 -2
@@ -42,6 +42,10 @@ module Aws::Kendra
|
|
42
42
|
BatchDeleteDocumentResponse = Shapes::StructureShape.new(name: 'BatchDeleteDocumentResponse')
|
43
43
|
BatchDeleteDocumentResponseFailedDocument = Shapes::StructureShape.new(name: 'BatchDeleteDocumentResponseFailedDocument')
|
44
44
|
BatchDeleteDocumentResponseFailedDocuments = Shapes::ListShape.new(name: 'BatchDeleteDocumentResponseFailedDocuments')
|
45
|
+
BatchDeleteFeaturedResultsSetError = Shapes::StructureShape.new(name: 'BatchDeleteFeaturedResultsSetError')
|
46
|
+
BatchDeleteFeaturedResultsSetErrors = Shapes::ListShape.new(name: 'BatchDeleteFeaturedResultsSetErrors')
|
47
|
+
BatchDeleteFeaturedResultsSetRequest = Shapes::StructureShape.new(name: 'BatchDeleteFeaturedResultsSetRequest')
|
48
|
+
BatchDeleteFeaturedResultsSetResponse = Shapes::StructureShape.new(name: 'BatchDeleteFeaturedResultsSetResponse')
|
45
49
|
BatchGetDocumentStatusRequest = Shapes::StructureShape.new(name: 'BatchGetDocumentStatusRequest')
|
46
50
|
BatchGetDocumentStatusResponse = Shapes::StructureShape.new(name: 'BatchGetDocumentStatusResponse')
|
47
51
|
BatchGetDocumentStatusResponseError = Shapes::StructureShape.new(name: 'BatchGetDocumentStatusResponseError')
|
@@ -64,6 +68,8 @@ module Aws::Kendra
|
|
64
68
|
ColumnName = Shapes::StringShape.new(name: 'ColumnName')
|
65
69
|
ConditionOperator = Shapes::StringShape.new(name: 'ConditionOperator')
|
66
70
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
71
|
+
ConflictingItem = Shapes::StructureShape.new(name: 'ConflictingItem')
|
72
|
+
ConflictingItems = Shapes::ListShape.new(name: 'ConflictingItems')
|
67
73
|
ConfluenceAttachmentConfiguration = Shapes::StructureShape.new(name: 'ConfluenceAttachmentConfiguration')
|
68
74
|
ConfluenceAttachmentFieldMappingsList = Shapes::ListShape.new(name: 'ConfluenceAttachmentFieldMappingsList')
|
69
75
|
ConfluenceAttachmentFieldName = Shapes::StringShape.new(name: 'ConfluenceAttachmentFieldName')
|
@@ -99,6 +105,8 @@ module Aws::Kendra
|
|
99
105
|
CreateExperienceResponse = Shapes::StructureShape.new(name: 'CreateExperienceResponse')
|
100
106
|
CreateFaqRequest = Shapes::StructureShape.new(name: 'CreateFaqRequest')
|
101
107
|
CreateFaqResponse = Shapes::StructureShape.new(name: 'CreateFaqResponse')
|
108
|
+
CreateFeaturedResultsSetRequest = Shapes::StructureShape.new(name: 'CreateFeaturedResultsSetRequest')
|
109
|
+
CreateFeaturedResultsSetResponse = Shapes::StructureShape.new(name: 'CreateFeaturedResultsSetResponse')
|
102
110
|
CreateIndexRequest = Shapes::StructureShape.new(name: 'CreateIndexRequest')
|
103
111
|
CreateIndexResponse = Shapes::StructureShape.new(name: 'CreateIndexResponse')
|
104
112
|
CreateQuerySuggestionsBlockListRequest = Shapes::StructureShape.new(name: 'CreateQuerySuggestionsBlockListRequest')
|
@@ -152,6 +160,8 @@ module Aws::Kendra
|
|
152
160
|
DescribeExperienceResponse = Shapes::StructureShape.new(name: 'DescribeExperienceResponse')
|
153
161
|
DescribeFaqRequest = Shapes::StructureShape.new(name: 'DescribeFaqRequest')
|
154
162
|
DescribeFaqResponse = Shapes::StructureShape.new(name: 'DescribeFaqResponse')
|
163
|
+
DescribeFeaturedResultsSetRequest = Shapes::StructureShape.new(name: 'DescribeFeaturedResultsSetRequest')
|
164
|
+
DescribeFeaturedResultsSetResponse = Shapes::StructureShape.new(name: 'DescribeFeaturedResultsSetResponse')
|
155
165
|
DescribeIndexRequest = Shapes::StructureShape.new(name: 'DescribeIndexRequest')
|
156
166
|
DescribeIndexResponse = Shapes::StructureShape.new(name: 'DescribeIndexResponse')
|
157
167
|
DescribePrincipalMappingRequest = Shapes::StructureShape.new(name: 'DescribePrincipalMappingRequest')
|
@@ -238,6 +248,23 @@ module Aws::Kendra
|
|
238
248
|
FaqStatus = Shapes::StringShape.new(name: 'FaqStatus')
|
239
249
|
FaqSummary = Shapes::StructureShape.new(name: 'FaqSummary')
|
240
250
|
FaqSummaryItems = Shapes::ListShape.new(name: 'FaqSummaryItems')
|
251
|
+
FeaturedDocument = Shapes::StructureShape.new(name: 'FeaturedDocument')
|
252
|
+
FeaturedDocumentList = Shapes::ListShape.new(name: 'FeaturedDocumentList')
|
253
|
+
FeaturedDocumentMissing = Shapes::StructureShape.new(name: 'FeaturedDocumentMissing')
|
254
|
+
FeaturedDocumentMissingList = Shapes::ListShape.new(name: 'FeaturedDocumentMissingList')
|
255
|
+
FeaturedDocumentWithMetadata = Shapes::StructureShape.new(name: 'FeaturedDocumentWithMetadata')
|
256
|
+
FeaturedDocumentWithMetadataList = Shapes::ListShape.new(name: 'FeaturedDocumentWithMetadataList')
|
257
|
+
FeaturedResultsConflictException = Shapes::StructureShape.new(name: 'FeaturedResultsConflictException')
|
258
|
+
FeaturedResultsItem = Shapes::StructureShape.new(name: 'FeaturedResultsItem')
|
259
|
+
FeaturedResultsItemList = Shapes::ListShape.new(name: 'FeaturedResultsItemList')
|
260
|
+
FeaturedResultsSet = Shapes::StructureShape.new(name: 'FeaturedResultsSet')
|
261
|
+
FeaturedResultsSetDescription = Shapes::StringShape.new(name: 'FeaturedResultsSetDescription')
|
262
|
+
FeaturedResultsSetId = Shapes::StringShape.new(name: 'FeaturedResultsSetId')
|
263
|
+
FeaturedResultsSetIdList = Shapes::ListShape.new(name: 'FeaturedResultsSetIdList')
|
264
|
+
FeaturedResultsSetName = Shapes::StringShape.new(name: 'FeaturedResultsSetName')
|
265
|
+
FeaturedResultsSetStatus = Shapes::StringShape.new(name: 'FeaturedResultsSetStatus')
|
266
|
+
FeaturedResultsSetSummary = Shapes::StructureShape.new(name: 'FeaturedResultsSetSummary')
|
267
|
+
FeaturedResultsSetSummaryItems = Shapes::ListShape.new(name: 'FeaturedResultsSetSummaryItems')
|
241
268
|
FeedbackToken = Shapes::StringShape.new(name: 'FeedbackToken')
|
242
269
|
FileSystemId = Shapes::StringShape.new(name: 'FileSystemId')
|
243
270
|
FolderId = Shapes::StringShape.new(name: 'FolderId')
|
@@ -311,6 +338,8 @@ module Aws::Kendra
|
|
311
338
|
ListExperiencesResponse = Shapes::StructureShape.new(name: 'ListExperiencesResponse')
|
312
339
|
ListFaqsRequest = Shapes::StructureShape.new(name: 'ListFaqsRequest')
|
313
340
|
ListFaqsResponse = Shapes::StructureShape.new(name: 'ListFaqsResponse')
|
341
|
+
ListFeaturedResultsSetsRequest = Shapes::StructureShape.new(name: 'ListFeaturedResultsSetsRequest')
|
342
|
+
ListFeaturedResultsSetsResponse = Shapes::StructureShape.new(name: 'ListFeaturedResultsSetsResponse')
|
314
343
|
ListGroupsOlderThanOrderingIdRequest = Shapes::StructureShape.new(name: 'ListGroupsOlderThanOrderingIdRequest')
|
315
344
|
ListGroupsOlderThanOrderingIdResponse = Shapes::StructureShape.new(name: 'ListGroupsOlderThanOrderingIdResponse')
|
316
345
|
ListIndicesRequest = Shapes::StructureShape.new(name: 'ListIndicesRequest')
|
@@ -332,6 +361,7 @@ module Aws::Kendra
|
|
332
361
|
MaxResultsIntegerForListEntityPersonasRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListEntityPersonasRequest')
|
333
362
|
MaxResultsIntegerForListExperiencesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListExperiencesRequest')
|
334
363
|
MaxResultsIntegerForListFaqsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListFaqsRequest')
|
364
|
+
MaxResultsIntegerForListFeaturedResultsSetsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListFeaturedResultsSetsRequest')
|
335
365
|
MaxResultsIntegerForListIndicesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListIndicesRequest')
|
336
366
|
MaxResultsIntegerForListPrincipalsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListPrincipalsRequest')
|
337
367
|
MaxResultsIntegerForListQuerySuggestionsBlockLists = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListQuerySuggestionsBlockLists')
|
@@ -390,6 +420,7 @@ module Aws::Kendra
|
|
390
420
|
QuerySuggestionsId = Shapes::StringShape.new(name: 'QuerySuggestionsId')
|
391
421
|
QuerySuggestionsStatus = Shapes::StringShape.new(name: 'QuerySuggestionsStatus')
|
392
422
|
QueryText = Shapes::StringShape.new(name: 'QueryText')
|
423
|
+
QueryTextList = Shapes::ListShape.new(name: 'QueryTextList')
|
393
424
|
QuipConfiguration = Shapes::StructureShape.new(name: 'QuipConfiguration')
|
394
425
|
ReadAccessType = Shapes::StringShape.new(name: 'ReadAccessType')
|
395
426
|
Relevance = Shapes::StructureShape.new(name: 'Relevance')
|
@@ -520,6 +551,8 @@ module Aws::Kendra
|
|
520
551
|
UpdateAccessControlConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateAccessControlConfigurationResponse')
|
521
552
|
UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
|
522
553
|
UpdateExperienceRequest = Shapes::StructureShape.new(name: 'UpdateExperienceRequest')
|
554
|
+
UpdateFeaturedResultsSetRequest = Shapes::StructureShape.new(name: 'UpdateFeaturedResultsSetRequest')
|
555
|
+
UpdateFeaturedResultsSetResponse = Shapes::StructureShape.new(name: 'UpdateFeaturedResultsSetResponse')
|
523
556
|
UpdateIndexRequest = Shapes::StructureShape.new(name: 'UpdateIndexRequest')
|
524
557
|
UpdateQuerySuggestionsBlockListRequest = Shapes::StructureShape.new(name: 'UpdateQuerySuggestionsBlockListRequest')
|
525
558
|
UpdateQuerySuggestionsConfigRequest = Shapes::StructureShape.new(name: 'UpdateQuerySuggestionsConfigRequest')
|
@@ -647,6 +680,20 @@ module Aws::Kendra
|
|
647
680
|
|
648
681
|
BatchDeleteDocumentResponseFailedDocuments.member = Shapes::ShapeRef.new(shape: BatchDeleteDocumentResponseFailedDocument)
|
649
682
|
|
683
|
+
BatchDeleteFeaturedResultsSetError.add_member(:id, Shapes::ShapeRef.new(shape: FeaturedResultsSetId, required: true, location_name: "Id"))
|
684
|
+
BatchDeleteFeaturedResultsSetError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
|
685
|
+
BatchDeleteFeaturedResultsSetError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "ErrorMessage"))
|
686
|
+
BatchDeleteFeaturedResultsSetError.struct_class = Types::BatchDeleteFeaturedResultsSetError
|
687
|
+
|
688
|
+
BatchDeleteFeaturedResultsSetErrors.member = Shapes::ShapeRef.new(shape: BatchDeleteFeaturedResultsSetError)
|
689
|
+
|
690
|
+
BatchDeleteFeaturedResultsSetRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
691
|
+
BatchDeleteFeaturedResultsSetRequest.add_member(:featured_results_set_ids, Shapes::ShapeRef.new(shape: FeaturedResultsSetIdList, required: true, location_name: "FeaturedResultsSetIds"))
|
692
|
+
BatchDeleteFeaturedResultsSetRequest.struct_class = Types::BatchDeleteFeaturedResultsSetRequest
|
693
|
+
|
694
|
+
BatchDeleteFeaturedResultsSetResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDeleteFeaturedResultsSetErrors, required: true, location_name: "Errors"))
|
695
|
+
BatchDeleteFeaturedResultsSetResponse.struct_class = Types::BatchDeleteFeaturedResultsSetResponse
|
696
|
+
|
650
697
|
BatchGetDocumentStatusRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
651
698
|
BatchGetDocumentStatusRequest.add_member(:document_info_list, Shapes::ShapeRef.new(shape: DocumentInfoList, required: true, location_name: "DocumentInfoList"))
|
652
699
|
BatchGetDocumentStatusRequest.struct_class = Types::BatchGetDocumentStatusRequest
|
@@ -718,6 +765,13 @@ module Aws::Kendra
|
|
718
765
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
719
766
|
ConflictException.struct_class = Types::ConflictException
|
720
767
|
|
768
|
+
ConflictingItem.add_member(:query_text, Shapes::ShapeRef.new(shape: QueryText, location_name: "QueryText"))
|
769
|
+
ConflictingItem.add_member(:set_name, Shapes::ShapeRef.new(shape: String, location_name: "SetName"))
|
770
|
+
ConflictingItem.add_member(:set_id, Shapes::ShapeRef.new(shape: String, location_name: "SetId"))
|
771
|
+
ConflictingItem.struct_class = Types::ConflictingItem
|
772
|
+
|
773
|
+
ConflictingItems.member = Shapes::ShapeRef.new(shape: ConflictingItem)
|
774
|
+
|
721
775
|
ConfluenceAttachmentConfiguration.add_member(:crawl_attachments, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlAttachments"))
|
722
776
|
ConfluenceAttachmentConfiguration.add_member(:attachment_field_mappings, Shapes::ShapeRef.new(shape: ConfluenceAttachmentFieldMappingsList, location_name: "AttachmentFieldMappings"))
|
723
777
|
ConfluenceAttachmentConfiguration.struct_class = Types::ConfluenceAttachmentConfiguration
|
@@ -852,6 +906,19 @@ module Aws::Kendra
|
|
852
906
|
CreateFaqResponse.add_member(:id, Shapes::ShapeRef.new(shape: FaqId, location_name: "Id"))
|
853
907
|
CreateFaqResponse.struct_class = Types::CreateFaqResponse
|
854
908
|
|
909
|
+
CreateFeaturedResultsSetRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
910
|
+
CreateFeaturedResultsSetRequest.add_member(:featured_results_set_name, Shapes::ShapeRef.new(shape: FeaturedResultsSetName, required: true, location_name: "FeaturedResultsSetName"))
|
911
|
+
CreateFeaturedResultsSetRequest.add_member(:description, Shapes::ShapeRef.new(shape: FeaturedResultsSetDescription, location_name: "Description"))
|
912
|
+
CreateFeaturedResultsSetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenName, location_name: "ClientToken"))
|
913
|
+
CreateFeaturedResultsSetRequest.add_member(:status, Shapes::ShapeRef.new(shape: FeaturedResultsSetStatus, location_name: "Status"))
|
914
|
+
CreateFeaturedResultsSetRequest.add_member(:query_texts, Shapes::ShapeRef.new(shape: QueryTextList, location_name: "QueryTexts"))
|
915
|
+
CreateFeaturedResultsSetRequest.add_member(:featured_documents, Shapes::ShapeRef.new(shape: FeaturedDocumentList, location_name: "FeaturedDocuments"))
|
916
|
+
CreateFeaturedResultsSetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
917
|
+
CreateFeaturedResultsSetRequest.struct_class = Types::CreateFeaturedResultsSetRequest
|
918
|
+
|
919
|
+
CreateFeaturedResultsSetResponse.add_member(:featured_results_set, Shapes::ShapeRef.new(shape: FeaturedResultsSet, location_name: "FeaturedResultsSet"))
|
920
|
+
CreateFeaturedResultsSetResponse.struct_class = Types::CreateFeaturedResultsSetResponse
|
921
|
+
|
855
922
|
CreateIndexRequest.add_member(:name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "Name"))
|
856
923
|
CreateIndexRequest.add_member(:edition, Shapes::ShapeRef.new(shape: IndexEdition, location_name: "Edition"))
|
857
924
|
CreateIndexRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
@@ -1084,6 +1151,21 @@ module Aws::Kendra
|
|
1084
1151
|
DescribeFaqResponse.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
1085
1152
|
DescribeFaqResponse.struct_class = Types::DescribeFaqResponse
|
1086
1153
|
|
1154
|
+
DescribeFeaturedResultsSetRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
1155
|
+
DescribeFeaturedResultsSetRequest.add_member(:featured_results_set_id, Shapes::ShapeRef.new(shape: FeaturedResultsSetId, required: true, location_name: "FeaturedResultsSetId"))
|
1156
|
+
DescribeFeaturedResultsSetRequest.struct_class = Types::DescribeFeaturedResultsSetRequest
|
1157
|
+
|
1158
|
+
DescribeFeaturedResultsSetResponse.add_member(:featured_results_set_id, Shapes::ShapeRef.new(shape: FeaturedResultsSetId, location_name: "FeaturedResultsSetId"))
|
1159
|
+
DescribeFeaturedResultsSetResponse.add_member(:featured_results_set_name, Shapes::ShapeRef.new(shape: FeaturedResultsSetName, location_name: "FeaturedResultsSetName"))
|
1160
|
+
DescribeFeaturedResultsSetResponse.add_member(:description, Shapes::ShapeRef.new(shape: FeaturedResultsSetDescription, location_name: "Description"))
|
1161
|
+
DescribeFeaturedResultsSetResponse.add_member(:status, Shapes::ShapeRef.new(shape: FeaturedResultsSetStatus, location_name: "Status"))
|
1162
|
+
DescribeFeaturedResultsSetResponse.add_member(:query_texts, Shapes::ShapeRef.new(shape: QueryTextList, location_name: "QueryTexts"))
|
1163
|
+
DescribeFeaturedResultsSetResponse.add_member(:featured_documents_with_metadata, Shapes::ShapeRef.new(shape: FeaturedDocumentWithMetadataList, location_name: "FeaturedDocumentsWithMetadata"))
|
1164
|
+
DescribeFeaturedResultsSetResponse.add_member(:featured_documents_missing, Shapes::ShapeRef.new(shape: FeaturedDocumentMissingList, location_name: "FeaturedDocumentsMissing"))
|
1165
|
+
DescribeFeaturedResultsSetResponse.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Long, location_name: "LastUpdatedTimestamp"))
|
1166
|
+
DescribeFeaturedResultsSetResponse.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Long, location_name: "CreationTimestamp"))
|
1167
|
+
DescribeFeaturedResultsSetResponse.struct_class = Types::DescribeFeaturedResultsSetResponse
|
1168
|
+
|
1087
1169
|
DescribeIndexRequest.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "Id"))
|
1088
1170
|
DescribeIndexRequest.struct_class = Types::DescribeIndexRequest
|
1089
1171
|
|
@@ -1347,6 +1429,61 @@ module Aws::Kendra
|
|
1347
1429
|
|
1348
1430
|
FaqSummaryItems.member = Shapes::ShapeRef.new(shape: FaqSummary)
|
1349
1431
|
|
1432
|
+
FeaturedDocument.add_member(:id, Shapes::ShapeRef.new(shape: DocumentId, location_name: "Id"))
|
1433
|
+
FeaturedDocument.struct_class = Types::FeaturedDocument
|
1434
|
+
|
1435
|
+
FeaturedDocumentList.member = Shapes::ShapeRef.new(shape: FeaturedDocument)
|
1436
|
+
|
1437
|
+
FeaturedDocumentMissing.add_member(:id, Shapes::ShapeRef.new(shape: DocumentId, location_name: "Id"))
|
1438
|
+
FeaturedDocumentMissing.struct_class = Types::FeaturedDocumentMissing
|
1439
|
+
|
1440
|
+
FeaturedDocumentMissingList.member = Shapes::ShapeRef.new(shape: FeaturedDocumentMissing)
|
1441
|
+
|
1442
|
+
FeaturedDocumentWithMetadata.add_member(:id, Shapes::ShapeRef.new(shape: DocumentId, location_name: "Id"))
|
1443
|
+
FeaturedDocumentWithMetadata.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "Title"))
|
1444
|
+
FeaturedDocumentWithMetadata.add_member(:uri, Shapes::ShapeRef.new(shape: Url, location_name: "URI"))
|
1445
|
+
FeaturedDocumentWithMetadata.struct_class = Types::FeaturedDocumentWithMetadata
|
1446
|
+
|
1447
|
+
FeaturedDocumentWithMetadataList.member = Shapes::ShapeRef.new(shape: FeaturedDocumentWithMetadata)
|
1448
|
+
|
1449
|
+
FeaturedResultsConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1450
|
+
FeaturedResultsConflictException.add_member(:conflicting_items, Shapes::ShapeRef.new(shape: ConflictingItems, location_name: "ConflictingItems"))
|
1451
|
+
FeaturedResultsConflictException.struct_class = Types::FeaturedResultsConflictException
|
1452
|
+
|
1453
|
+
FeaturedResultsItem.add_member(:id, Shapes::ShapeRef.new(shape: ResultId, location_name: "Id"))
|
1454
|
+
FeaturedResultsItem.add_member(:type, Shapes::ShapeRef.new(shape: QueryResultType, location_name: "Type"))
|
1455
|
+
FeaturedResultsItem.add_member(:additional_attributes, Shapes::ShapeRef.new(shape: AdditionalResultAttributeList, location_name: "AdditionalAttributes"))
|
1456
|
+
FeaturedResultsItem.add_member(:document_id, Shapes::ShapeRef.new(shape: DocumentId, location_name: "DocumentId"))
|
1457
|
+
FeaturedResultsItem.add_member(:document_title, Shapes::ShapeRef.new(shape: TextWithHighlights, location_name: "DocumentTitle"))
|
1458
|
+
FeaturedResultsItem.add_member(:document_excerpt, Shapes::ShapeRef.new(shape: TextWithHighlights, location_name: "DocumentExcerpt"))
|
1459
|
+
FeaturedResultsItem.add_member(:document_uri, Shapes::ShapeRef.new(shape: Url, location_name: "DocumentURI"))
|
1460
|
+
FeaturedResultsItem.add_member(:document_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "DocumentAttributes"))
|
1461
|
+
FeaturedResultsItem.add_member(:feedback_token, Shapes::ShapeRef.new(shape: FeedbackToken, location_name: "FeedbackToken"))
|
1462
|
+
FeaturedResultsItem.struct_class = Types::FeaturedResultsItem
|
1463
|
+
|
1464
|
+
FeaturedResultsItemList.member = Shapes::ShapeRef.new(shape: FeaturedResultsItem)
|
1465
|
+
|
1466
|
+
FeaturedResultsSet.add_member(:featured_results_set_id, Shapes::ShapeRef.new(shape: FeaturedResultsSetId, location_name: "FeaturedResultsSetId"))
|
1467
|
+
FeaturedResultsSet.add_member(:featured_results_set_name, Shapes::ShapeRef.new(shape: FeaturedResultsSetName, location_name: "FeaturedResultsSetName"))
|
1468
|
+
FeaturedResultsSet.add_member(:description, Shapes::ShapeRef.new(shape: FeaturedResultsSetDescription, location_name: "Description"))
|
1469
|
+
FeaturedResultsSet.add_member(:status, Shapes::ShapeRef.new(shape: FeaturedResultsSetStatus, location_name: "Status"))
|
1470
|
+
FeaturedResultsSet.add_member(:query_texts, Shapes::ShapeRef.new(shape: QueryTextList, location_name: "QueryTexts"))
|
1471
|
+
FeaturedResultsSet.add_member(:featured_documents, Shapes::ShapeRef.new(shape: FeaturedDocumentList, location_name: "FeaturedDocuments"))
|
1472
|
+
FeaturedResultsSet.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Long, location_name: "LastUpdatedTimestamp"))
|
1473
|
+
FeaturedResultsSet.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Long, location_name: "CreationTimestamp"))
|
1474
|
+
FeaturedResultsSet.struct_class = Types::FeaturedResultsSet
|
1475
|
+
|
1476
|
+
FeaturedResultsSetIdList.member = Shapes::ShapeRef.new(shape: FeaturedResultsSetId)
|
1477
|
+
|
1478
|
+
FeaturedResultsSetSummary.add_member(:featured_results_set_id, Shapes::ShapeRef.new(shape: FeaturedResultsSetId, location_name: "FeaturedResultsSetId"))
|
1479
|
+
FeaturedResultsSetSummary.add_member(:featured_results_set_name, Shapes::ShapeRef.new(shape: FeaturedResultsSetName, location_name: "FeaturedResultsSetName"))
|
1480
|
+
FeaturedResultsSetSummary.add_member(:status, Shapes::ShapeRef.new(shape: FeaturedResultsSetStatus, location_name: "Status"))
|
1481
|
+
FeaturedResultsSetSummary.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Long, location_name: "LastUpdatedTimestamp"))
|
1482
|
+
FeaturedResultsSetSummary.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Long, location_name: "CreationTimestamp"))
|
1483
|
+
FeaturedResultsSetSummary.struct_class = Types::FeaturedResultsSetSummary
|
1484
|
+
|
1485
|
+
FeaturedResultsSetSummaryItems.member = Shapes::ShapeRef.new(shape: FeaturedResultsSetSummary)
|
1486
|
+
|
1350
1487
|
FolderIdList.member = Shapes::ShapeRef.new(shape: FolderId)
|
1351
1488
|
|
1352
1489
|
FsxConfiguration.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
|
@@ -1590,6 +1727,15 @@ module Aws::Kendra
|
|
1590
1727
|
ListFaqsResponse.add_member(:faq_summary_items, Shapes::ShapeRef.new(shape: FaqSummaryItems, location_name: "FaqSummaryItems"))
|
1591
1728
|
ListFaqsResponse.struct_class = Types::ListFaqsResponse
|
1592
1729
|
|
1730
|
+
ListFeaturedResultsSetsRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
1731
|
+
ListFeaturedResultsSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1732
|
+
ListFeaturedResultsSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsIntegerForListFeaturedResultsSetsRequest, location_name: "MaxResults"))
|
1733
|
+
ListFeaturedResultsSetsRequest.struct_class = Types::ListFeaturedResultsSetsRequest
|
1734
|
+
|
1735
|
+
ListFeaturedResultsSetsResponse.add_member(:featured_results_set_summary_items, Shapes::ShapeRef.new(shape: FeaturedResultsSetSummaryItems, location_name: "FeaturedResultsSetSummaryItems"))
|
1736
|
+
ListFeaturedResultsSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1737
|
+
ListFeaturedResultsSetsResponse.struct_class = Types::ListFeaturedResultsSetsResponse
|
1738
|
+
|
1593
1739
|
ListGroupsOlderThanOrderingIdRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
1594
1740
|
ListGroupsOlderThanOrderingIdRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, location_name: "DataSourceId"))
|
1595
1741
|
ListGroupsOlderThanOrderingIdRequest.add_member(:ordering_id, Shapes::ShapeRef.new(shape: PrincipalOrderingId, required: true, location_name: "OrderingId"))
|
@@ -1722,6 +1868,7 @@ module Aws::Kendra
|
|
1722
1868
|
QueryResult.add_member(:total_number_of_results, Shapes::ShapeRef.new(shape: Integer, location_name: "TotalNumberOfResults"))
|
1723
1869
|
QueryResult.add_member(:warnings, Shapes::ShapeRef.new(shape: WarningList, location_name: "Warnings"))
|
1724
1870
|
QueryResult.add_member(:spell_corrected_queries, Shapes::ShapeRef.new(shape: SpellCorrectedQueryList, location_name: "SpellCorrectedQueries"))
|
1871
|
+
QueryResult.add_member(:featured_results_items, Shapes::ShapeRef.new(shape: FeaturedResultsItemList, location_name: "FeaturedResultsItems"))
|
1725
1872
|
QueryResult.struct_class = Types::QueryResult
|
1726
1873
|
|
1727
1874
|
QueryResultItem.add_member(:id, Shapes::ShapeRef.new(shape: ResultId, location_name: "Id"))
|
@@ -1750,6 +1897,8 @@ module Aws::Kendra
|
|
1750
1897
|
|
1751
1898
|
QuerySuggestionsBlockListSummaryItems.member = Shapes::ShapeRef.new(shape: QuerySuggestionsBlockListSummary)
|
1752
1899
|
|
1900
|
+
QueryTextList.member = Shapes::ShapeRef.new(shape: QueryText)
|
1901
|
+
|
1753
1902
|
QuipConfiguration.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, required: true, location_name: "Domain"))
|
1754
1903
|
QuipConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
|
1755
1904
|
QuipConfiguration.add_member(:crawl_file_comments, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlFileComments"))
|
@@ -2109,6 +2258,18 @@ module Aws::Kendra
|
|
2109
2258
|
UpdateExperienceRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
2110
2259
|
UpdateExperienceRequest.struct_class = Types::UpdateExperienceRequest
|
2111
2260
|
|
2261
|
+
UpdateFeaturedResultsSetRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
2262
|
+
UpdateFeaturedResultsSetRequest.add_member(:featured_results_set_id, Shapes::ShapeRef.new(shape: FeaturedResultsSetId, required: true, location_name: "FeaturedResultsSetId"))
|
2263
|
+
UpdateFeaturedResultsSetRequest.add_member(:featured_results_set_name, Shapes::ShapeRef.new(shape: FeaturedResultsSetName, location_name: "FeaturedResultsSetName"))
|
2264
|
+
UpdateFeaturedResultsSetRequest.add_member(:description, Shapes::ShapeRef.new(shape: FeaturedResultsSetDescription, location_name: "Description"))
|
2265
|
+
UpdateFeaturedResultsSetRequest.add_member(:status, Shapes::ShapeRef.new(shape: FeaturedResultsSetStatus, location_name: "Status"))
|
2266
|
+
UpdateFeaturedResultsSetRequest.add_member(:query_texts, Shapes::ShapeRef.new(shape: QueryTextList, location_name: "QueryTexts"))
|
2267
|
+
UpdateFeaturedResultsSetRequest.add_member(:featured_documents, Shapes::ShapeRef.new(shape: FeaturedDocumentList, location_name: "FeaturedDocuments"))
|
2268
|
+
UpdateFeaturedResultsSetRequest.struct_class = Types::UpdateFeaturedResultsSetRequest
|
2269
|
+
|
2270
|
+
UpdateFeaturedResultsSetResponse.add_member(:featured_results_set, Shapes::ShapeRef.new(shape: FeaturedResultsSet, location_name: "FeaturedResultsSet"))
|
2271
|
+
UpdateFeaturedResultsSetResponse.struct_class = Types::UpdateFeaturedResultsSetResponse
|
2272
|
+
|
2112
2273
|
UpdateIndexRequest.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "Id"))
|
2113
2274
|
UpdateIndexRequest.add_member(:name, Shapes::ShapeRef.new(shape: IndexName, location_name: "Name"))
|
2114
2275
|
UpdateIndexRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
@@ -2259,6 +2420,19 @@ module Aws::Kendra
|
|
2259
2420
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2260
2421
|
end)
|
2261
2422
|
|
2423
|
+
api.add_operation(:batch_delete_featured_results_set, Seahorse::Model::Operation.new.tap do |o|
|
2424
|
+
o.name = "BatchDeleteFeaturedResultsSet"
|
2425
|
+
o.http_method = "POST"
|
2426
|
+
o.http_request_uri = "/"
|
2427
|
+
o.input = Shapes::ShapeRef.new(shape: BatchDeleteFeaturedResultsSetRequest)
|
2428
|
+
o.output = Shapes::ShapeRef.new(shape: BatchDeleteFeaturedResultsSetResponse)
|
2429
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2430
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2431
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2432
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2433
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2434
|
+
end)
|
2435
|
+
|
2262
2436
|
api.add_operation(:batch_get_document_status, Seahorse::Model::Operation.new.tap do |o|
|
2263
2437
|
o.name = "BatchGetDocumentStatus"
|
2264
2438
|
o.http_method = "POST"
|
@@ -2363,6 +2537,21 @@ module Aws::Kendra
|
|
2363
2537
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2364
2538
|
end)
|
2365
2539
|
|
2540
|
+
api.add_operation(:create_featured_results_set, Seahorse::Model::Operation.new.tap do |o|
|
2541
|
+
o.name = "CreateFeaturedResultsSet"
|
2542
|
+
o.http_method = "POST"
|
2543
|
+
o.http_request_uri = "/"
|
2544
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFeaturedResultsSetRequest)
|
2545
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFeaturedResultsSetResponse)
|
2546
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2547
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2548
|
+
o.errors << Shapes::ShapeRef.new(shape: FeaturedResultsConflictException)
|
2549
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2550
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2551
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2552
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2553
|
+
end)
|
2554
|
+
|
2366
2555
|
api.add_operation(:create_index, Seahorse::Model::Operation.new.tap do |o|
|
2367
2556
|
o.name = "CreateIndex"
|
2368
2557
|
o.http_method = "POST"
|
@@ -2572,6 +2761,19 @@ module Aws::Kendra
|
|
2572
2761
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2573
2762
|
end)
|
2574
2763
|
|
2764
|
+
api.add_operation(:describe_featured_results_set, Seahorse::Model::Operation.new.tap do |o|
|
2765
|
+
o.name = "DescribeFeaturedResultsSet"
|
2766
|
+
o.http_method = "POST"
|
2767
|
+
o.http_request_uri = "/"
|
2768
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeFeaturedResultsSetRequest)
|
2769
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeFeaturedResultsSetResponse)
|
2770
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2771
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2772
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2773
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2774
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2775
|
+
end)
|
2776
|
+
|
2575
2777
|
api.add_operation(:describe_index, Seahorse::Model::Operation.new.tap do |o|
|
2576
2778
|
o.name = "DescribeIndex"
|
2577
2779
|
o.http_method = "POST"
|
@@ -2829,6 +3031,19 @@ module Aws::Kendra
|
|
2829
3031
|
)
|
2830
3032
|
end)
|
2831
3033
|
|
3034
|
+
api.add_operation(:list_featured_results_sets, Seahorse::Model::Operation.new.tap do |o|
|
3035
|
+
o.name = "ListFeaturedResultsSets"
|
3036
|
+
o.http_method = "POST"
|
3037
|
+
o.http_request_uri = "/"
|
3038
|
+
o.input = Shapes::ShapeRef.new(shape: ListFeaturedResultsSetsRequest)
|
3039
|
+
o.output = Shapes::ShapeRef.new(shape: ListFeaturedResultsSetsResponse)
|
3040
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3041
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3042
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3043
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3044
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3045
|
+
end)
|
3046
|
+
|
2832
3047
|
api.add_operation(:list_groups_older_than_ordering_id, Seahorse::Model::Operation.new.tap do |o|
|
2833
3048
|
o.name = "ListGroupsOlderThanOrderingId"
|
2834
3049
|
o.http_method = "POST"
|
@@ -3059,6 +3274,20 @@ module Aws::Kendra
|
|
3059
3274
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3060
3275
|
end)
|
3061
3276
|
|
3277
|
+
api.add_operation(:update_featured_results_set, Seahorse::Model::Operation.new.tap do |o|
|
3278
|
+
o.name = "UpdateFeaturedResultsSet"
|
3279
|
+
o.http_method = "POST"
|
3280
|
+
o.http_request_uri = "/"
|
3281
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFeaturedResultsSetRequest)
|
3282
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFeaturedResultsSetResponse)
|
3283
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3284
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3285
|
+
o.errors << Shapes::ShapeRef.new(shape: FeaturedResultsConflictException)
|
3286
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3287
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3288
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3289
|
+
end)
|
3290
|
+
|
3062
3291
|
api.add_operation(:update_index, Seahorse::Model::Operation.new.tap do |o|
|
3063
3292
|
o.name = "UpdateIndex"
|
3064
3293
|
o.http_method = "POST"
|
@@ -50,9 +50,6 @@ module Aws::Kendra
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::Kendra
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://kendra-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://kendra-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kendra-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kendra-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kendra.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://kendra.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://kendra.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -53,6 +53,20 @@ module Aws::Kendra
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
+
class BatchDeleteFeaturedResultsSet
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::Kendra::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
56
70
|
class BatchGetDocumentStatus
|
57
71
|
def self.build(context)
|
58
72
|
unless context.config.regional_endpoint
|
@@ -151,6 +165,20 @@ module Aws::Kendra
|
|
151
165
|
end
|
152
166
|
end
|
153
167
|
|
168
|
+
class CreateFeaturedResultsSet
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::Kendra::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
154
182
|
class CreateIndex
|
155
183
|
def self.build(context)
|
156
184
|
unless context.config.regional_endpoint
|
@@ -361,6 +389,20 @@ module Aws::Kendra
|
|
361
389
|
end
|
362
390
|
end
|
363
391
|
|
392
|
+
class DescribeFeaturedResultsSet
|
393
|
+
def self.build(context)
|
394
|
+
unless context.config.regional_endpoint
|
395
|
+
endpoint = context.config.endpoint.to_s
|
396
|
+
end
|
397
|
+
Aws::Kendra::EndpointParameters.new(
|
398
|
+
region: context.config.region,
|
399
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
400
|
+
use_fips: context.config.use_fips_endpoint,
|
401
|
+
endpoint: endpoint,
|
402
|
+
)
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
364
406
|
class DescribeIndex
|
365
407
|
def self.build(context)
|
366
408
|
unless context.config.regional_endpoint
|
@@ -585,6 +627,20 @@ module Aws::Kendra
|
|
585
627
|
end
|
586
628
|
end
|
587
629
|
|
630
|
+
class ListFeaturedResultsSets
|
631
|
+
def self.build(context)
|
632
|
+
unless context.config.regional_endpoint
|
633
|
+
endpoint = context.config.endpoint.to_s
|
634
|
+
end
|
635
|
+
Aws::Kendra::EndpointParameters.new(
|
636
|
+
region: context.config.region,
|
637
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
638
|
+
use_fips: context.config.use_fips_endpoint,
|
639
|
+
endpoint: endpoint,
|
640
|
+
)
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
588
644
|
class ListGroupsOlderThanOrderingId
|
589
645
|
def self.build(context)
|
590
646
|
unless context.config.regional_endpoint
|
@@ -795,6 +851,20 @@ module Aws::Kendra
|
|
795
851
|
end
|
796
852
|
end
|
797
853
|
|
854
|
+
class UpdateFeaturedResultsSet
|
855
|
+
def self.build(context)
|
856
|
+
unless context.config.regional_endpoint
|
857
|
+
endpoint = context.config.endpoint.to_s
|
858
|
+
end
|
859
|
+
Aws::Kendra::EndpointParameters.new(
|
860
|
+
region: context.config.region,
|
861
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
862
|
+
use_fips: context.config.use_fips_endpoint,
|
863
|
+
endpoint: endpoint,
|
864
|
+
)
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
798
868
|
class UpdateIndex
|
799
869
|
def self.build(context)
|
800
870
|
unless context.config.regional_endpoint
|
@@ -29,6 +29,7 @@ module Aws::Kendra
|
|
29
29
|
# ## Error Classes
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {ConflictException}
|
32
|
+
# * {FeaturedResultsConflictException}
|
32
33
|
# * {InternalServerException}
|
33
34
|
# * {InvalidRequestException}
|
34
35
|
# * {ResourceAlreadyExistException}
|
@@ -75,6 +76,26 @@ module Aws::Kendra
|
|
75
76
|
end
|
76
77
|
end
|
77
78
|
|
79
|
+
class FeaturedResultsConflictException < ServiceError
|
80
|
+
|
81
|
+
# @param [Seahorse::Client::RequestContext] context
|
82
|
+
# @param [String] message
|
83
|
+
# @param [Aws::Kendra::Types::FeaturedResultsConflictException] data
|
84
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
85
|
+
super(context, message, data)
|
86
|
+
end
|
87
|
+
|
88
|
+
# @return [String]
|
89
|
+
def message
|
90
|
+
@message || @data[:message]
|
91
|
+
end
|
92
|
+
|
93
|
+
# @return [String]
|
94
|
+
def conflicting_items
|
95
|
+
@data[:conflicting_items]
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
78
99
|
class InternalServerException < ServiceError
|
79
100
|
|
80
101
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -62,6 +62,8 @@ module Aws::Kendra
|
|
62
62
|
Aws::Kendra::Endpoints::AssociatePersonasToEntities.build(context)
|
63
63
|
when :batch_delete_document
|
64
64
|
Aws::Kendra::Endpoints::BatchDeleteDocument.build(context)
|
65
|
+
when :batch_delete_featured_results_set
|
66
|
+
Aws::Kendra::Endpoints::BatchDeleteFeaturedResultsSet.build(context)
|
65
67
|
when :batch_get_document_status
|
66
68
|
Aws::Kendra::Endpoints::BatchGetDocumentStatus.build(context)
|
67
69
|
when :batch_put_document
|
@@ -76,6 +78,8 @@ module Aws::Kendra
|
|
76
78
|
Aws::Kendra::Endpoints::CreateExperience.build(context)
|
77
79
|
when :create_faq
|
78
80
|
Aws::Kendra::Endpoints::CreateFaq.build(context)
|
81
|
+
when :create_featured_results_set
|
82
|
+
Aws::Kendra::Endpoints::CreateFeaturedResultsSet.build(context)
|
79
83
|
when :create_index
|
80
84
|
Aws::Kendra::Endpoints::CreateIndex.build(context)
|
81
85
|
when :create_query_suggestions_block_list
|
@@ -106,6 +110,8 @@ module Aws::Kendra
|
|
106
110
|
Aws::Kendra::Endpoints::DescribeExperience.build(context)
|
107
111
|
when :describe_faq
|
108
112
|
Aws::Kendra::Endpoints::DescribeFaq.build(context)
|
113
|
+
when :describe_featured_results_set
|
114
|
+
Aws::Kendra::Endpoints::DescribeFeaturedResultsSet.build(context)
|
109
115
|
when :describe_index
|
110
116
|
Aws::Kendra::Endpoints::DescribeIndex.build(context)
|
111
117
|
when :describe_principal_mapping
|
@@ -138,6 +144,8 @@ module Aws::Kendra
|
|
138
144
|
Aws::Kendra::Endpoints::ListExperiences.build(context)
|
139
145
|
when :list_faqs
|
140
146
|
Aws::Kendra::Endpoints::ListFaqs.build(context)
|
147
|
+
when :list_featured_results_sets
|
148
|
+
Aws::Kendra::Endpoints::ListFeaturedResultsSets.build(context)
|
141
149
|
when :list_groups_older_than_ordering_id
|
142
150
|
Aws::Kendra::Endpoints::ListGroupsOlderThanOrderingId.build(context)
|
143
151
|
when :list_indices
|
@@ -168,6 +176,8 @@ module Aws::Kendra
|
|
168
176
|
Aws::Kendra::Endpoints::UpdateDataSource.build(context)
|
169
177
|
when :update_experience
|
170
178
|
Aws::Kendra::Endpoints::UpdateExperience.build(context)
|
179
|
+
when :update_featured_results_set
|
180
|
+
Aws::Kendra::Endpoints::UpdateFeaturedResultsSet.build(context)
|
171
181
|
when :update_index
|
172
182
|
Aws::Kendra::Endpoints::UpdateIndex.build(context)
|
173
183
|
when :update_query_suggestions_block_list
|