aws-sdk-kendra 1.43.0 → 1.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,6 +80,8 @@ module Aws::Kendra
80
80
  ConnectionConfiguration = Shapes::StructureShape.new(name: 'ConnectionConfiguration')
81
81
  ContentSourceConfiguration = Shapes::StructureShape.new(name: 'ContentSourceConfiguration')
82
82
  ContentType = Shapes::StringShape.new(name: 'ContentType')
83
+ Correction = Shapes::StructureShape.new(name: 'Correction')
84
+ CorrectionList = Shapes::ListShape.new(name: 'CorrectionList')
83
85
  CrawlDepth = Shapes::IntegerShape.new(name: 'CrawlDepth')
84
86
  CreateDataSourceRequest = Shapes::StructureShape.new(name: 'CreateDataSourceRequest')
85
87
  CreateDataSourceResponse = Shapes::StructureShape.new(name: 'CreateDataSourceResponse')
@@ -220,6 +222,9 @@ module Aws::Kendra
220
222
  FaqSummary = Shapes::StructureShape.new(name: 'FaqSummary')
221
223
  FaqSummaryItems = Shapes::ListShape.new(name: 'FaqSummaryItems')
222
224
  FeedbackToken = Shapes::StringShape.new(name: 'FeedbackToken')
225
+ FileSystemId = Shapes::StringShape.new(name: 'FileSystemId')
226
+ FsxConfiguration = Shapes::StructureShape.new(name: 'FsxConfiguration')
227
+ FsxFileSystemType = Shapes::StringShape.new(name: 'FsxFileSystemType')
223
228
  GetQuerySuggestionsRequest = Shapes::StructureShape.new(name: 'GetQuerySuggestionsRequest')
224
229
  GetQuerySuggestionsResponse = Shapes::StructureShape.new(name: 'GetQuerySuggestionsResponse')
225
230
  GetSnapshotsRequest = Shapes::StructureShape.new(name: 'GetSnapshotsRequest')
@@ -408,6 +413,9 @@ module Aws::Kendra
408
413
  SnapshotsDataRecords = Shapes::ListShape.new(name: 'SnapshotsDataRecords')
409
414
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
410
415
  SortingConfiguration = Shapes::StructureShape.new(name: 'SortingConfiguration')
416
+ SpellCorrectedQuery = Shapes::StructureShape.new(name: 'SpellCorrectedQuery')
417
+ SpellCorrectedQueryList = Shapes::ListShape.new(name: 'SpellCorrectedQueryList')
418
+ SpellCorrectionConfiguration = Shapes::StructureShape.new(name: 'SpellCorrectionConfiguration')
411
419
  SqlConfiguration = Shapes::StructureShape.new(name: 'SqlConfiguration')
412
420
  StartDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobRequest')
413
421
  StartDataSourceSyncJobResponse = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobResponse')
@@ -418,6 +426,7 @@ module Aws::Kendra
418
426
  SubmitFeedbackRequest = Shapes::StructureShape.new(name: 'SubmitFeedbackRequest')
419
427
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
420
428
  SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
429
+ SuggestedQueryText = Shapes::StringShape.new(name: 'SuggestedQueryText')
421
430
  Suggestion = Shapes::StructureShape.new(name: 'Suggestion')
422
431
  SuggestionHighlight = Shapes::StructureShape.new(name: 'SuggestionHighlight')
423
432
  SuggestionHighlightList = Shapes::ListShape.new(name: 'SuggestionHighlightList')
@@ -684,6 +693,14 @@ module Aws::Kendra
684
693
  ContentSourceConfiguration.add_member(:direct_put_content, Shapes::ShapeRef.new(shape: Boolean, location_name: "DirectPutContent"))
685
694
  ContentSourceConfiguration.struct_class = Types::ContentSourceConfiguration
686
695
 
696
+ Correction.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BeginOffset"))
697
+ Correction.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
698
+ Correction.add_member(:term, Shapes::ShapeRef.new(shape: String, location_name: "Term"))
699
+ Correction.add_member(:corrected_term, Shapes::ShapeRef.new(shape: String, location_name: "CorrectedTerm"))
700
+ Correction.struct_class = Types::Correction
701
+
702
+ CorrectionList.member = Shapes::ShapeRef.new(shape: Correction)
703
+
687
704
  CreateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location_name: "Name"))
688
705
  CreateDataSourceRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
689
706
  CreateDataSourceRequest.add_member(:type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "Type"))
@@ -780,6 +797,7 @@ module Aws::Kendra
780
797
  DataSourceConfiguration.add_member(:google_drive_configuration, Shapes::ShapeRef.new(shape: GoogleDriveConfiguration, location_name: "GoogleDriveConfiguration"))
781
798
  DataSourceConfiguration.add_member(:web_crawler_configuration, Shapes::ShapeRef.new(shape: WebCrawlerConfiguration, location_name: "WebCrawlerConfiguration"))
782
799
  DataSourceConfiguration.add_member(:work_docs_configuration, Shapes::ShapeRef.new(shape: WorkDocsConfiguration, location_name: "WorkDocsConfiguration"))
800
+ DataSourceConfiguration.add_member(:fsx_configuration, Shapes::ShapeRef.new(shape: FsxConfiguration, location_name: "FsxConfiguration"))
783
801
  DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
784
802
 
785
803
  DataSourceGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: PrincipalName, required: true, location_name: "GroupId"))
@@ -1188,6 +1206,15 @@ module Aws::Kendra
1188
1206
 
1189
1207
  FaqSummaryItems.member = Shapes::ShapeRef.new(shape: FaqSummary)
1190
1208
 
1209
+ FsxConfiguration.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
1210
+ FsxConfiguration.add_member(:file_system_type, Shapes::ShapeRef.new(shape: FsxFileSystemType, required: true, location_name: "FileSystemType"))
1211
+ FsxConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, required: true, location_name: "VpcConfiguration"))
1212
+ FsxConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SecretArn"))
1213
+ FsxConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
1214
+ FsxConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
1215
+ FsxConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
1216
+ FsxConfiguration.struct_class = Types::FsxConfiguration
1217
+
1191
1218
  GetQuerySuggestionsRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
1192
1219
  GetQuerySuggestionsRequest.add_member(:query_text, Shapes::ShapeRef.new(shape: SuggestionQueryText, required: true, location_name: "QueryText"))
1193
1220
  GetQuerySuggestionsRequest.add_member(:max_suggestions_count, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxSuggestionsCount"))
@@ -1467,6 +1494,7 @@ module Aws::Kendra
1467
1494
  QueryRequest.add_member(:sorting_configuration, Shapes::ShapeRef.new(shape: SortingConfiguration, location_name: "SortingConfiguration"))
1468
1495
  QueryRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "UserContext"))
1469
1496
  QueryRequest.add_member(:visitor_id, Shapes::ShapeRef.new(shape: VisitorId, location_name: "VisitorId"))
1497
+ QueryRequest.add_member(:spell_correction_configuration, Shapes::ShapeRef.new(shape: SpellCorrectionConfiguration, location_name: "SpellCorrectionConfiguration"))
1470
1498
  QueryRequest.struct_class = Types::QueryRequest
1471
1499
 
1472
1500
  QueryResult.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "QueryId"))
@@ -1474,6 +1502,7 @@ module Aws::Kendra
1474
1502
  QueryResult.add_member(:facet_results, Shapes::ShapeRef.new(shape: FacetResultList, location_name: "FacetResults"))
1475
1503
  QueryResult.add_member(:total_number_of_results, Shapes::ShapeRef.new(shape: Integer, location_name: "TotalNumberOfResults"))
1476
1504
  QueryResult.add_member(:warnings, Shapes::ShapeRef.new(shape: WarningList, location_name: "Warnings"))
1505
+ QueryResult.add_member(:spell_corrected_queries, Shapes::ShapeRef.new(shape: SpellCorrectedQueryList, location_name: "SpellCorrectedQueries"))
1477
1506
  QueryResult.struct_class = Types::QueryResult
1478
1507
 
1479
1508
  QueryResultItem.add_member(:id, Shapes::ShapeRef.new(shape: ResultId, location_name: "Id"))
@@ -1667,6 +1696,15 @@ module Aws::Kendra
1667
1696
  SortingConfiguration.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "SortOrder"))
1668
1697
  SortingConfiguration.struct_class = Types::SortingConfiguration
1669
1698
 
1699
+ SpellCorrectedQuery.add_member(:suggested_query_text, Shapes::ShapeRef.new(shape: SuggestedQueryText, location_name: "SuggestedQueryText"))
1700
+ SpellCorrectedQuery.add_member(:corrections, Shapes::ShapeRef.new(shape: CorrectionList, location_name: "Corrections"))
1701
+ SpellCorrectedQuery.struct_class = Types::SpellCorrectedQuery
1702
+
1703
+ SpellCorrectedQueryList.member = Shapes::ShapeRef.new(shape: SpellCorrectedQuery)
1704
+
1705
+ SpellCorrectionConfiguration.add_member(:include_query_spell_check_suggestions, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "IncludeQuerySpellCheckSuggestions"))
1706
+ SpellCorrectionConfiguration.struct_class = Types::SpellCorrectionConfiguration
1707
+
1670
1708
  SqlConfiguration.add_member(:query_identifiers_enclosing_option, Shapes::ShapeRef.new(shape: QueryIdentifiersEnclosingOption, location_name: "QueryIdentifiersEnclosingOption"))
1671
1709
  SqlConfiguration.struct_class = Types::SqlConfiguration
1672
1710