aws-sdk-kendra 1.17.0 → 1.22.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -35,6 +35,7 @@ module Aws::Kendra
35
35
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
36
36
  CapacityUnitsConfiguration = Shapes::StructureShape.new(name: 'CapacityUnitsConfiguration')
37
37
  ChangeDetectingColumns = Shapes::ListShape.new(name: 'ChangeDetectingColumns')
38
+ ClaimRegex = Shapes::StringShape.new(name: 'ClaimRegex')
38
39
  ClickFeedback = Shapes::StructureShape.new(name: 'ClickFeedback')
39
40
  ClickFeedbackList = Shapes::ListShape.new(name: 'ClickFeedbackList')
40
41
  ClientTokenName = Shapes::StringShape.new(name: 'ClientTokenName')
@@ -69,6 +70,8 @@ module Aws::Kendra
69
70
  CreateFaqResponse = Shapes::StructureShape.new(name: 'CreateFaqResponse')
70
71
  CreateIndexRequest = Shapes::StructureShape.new(name: 'CreateIndexRequest')
71
72
  CreateIndexResponse = Shapes::StructureShape.new(name: 'CreateIndexResponse')
73
+ CreateThesaurusRequest = Shapes::StructureShape.new(name: 'CreateThesaurusRequest')
74
+ CreateThesaurusResponse = Shapes::StructureShape.new(name: 'CreateThesaurusResponse')
72
75
  DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
73
76
  DataSourceDateFieldFormat = Shapes::StringShape.new(name: 'DataSourceDateFieldFormat')
74
77
  DataSourceFieldName = Shapes::StringShape.new(name: 'DataSourceFieldName')
@@ -97,12 +100,15 @@ module Aws::Kendra
97
100
  DeleteDataSourceRequest = Shapes::StructureShape.new(name: 'DeleteDataSourceRequest')
98
101
  DeleteFaqRequest = Shapes::StructureShape.new(name: 'DeleteFaqRequest')
99
102
  DeleteIndexRequest = Shapes::StructureShape.new(name: 'DeleteIndexRequest')
103
+ DeleteThesaurusRequest = Shapes::StructureShape.new(name: 'DeleteThesaurusRequest')
100
104
  DescribeDataSourceRequest = Shapes::StructureShape.new(name: 'DescribeDataSourceRequest')
101
105
  DescribeDataSourceResponse = Shapes::StructureShape.new(name: 'DescribeDataSourceResponse')
102
106
  DescribeFaqRequest = Shapes::StructureShape.new(name: 'DescribeFaqRequest')
103
107
  DescribeFaqResponse = Shapes::StructureShape.new(name: 'DescribeFaqResponse')
104
108
  DescribeIndexRequest = Shapes::StructureShape.new(name: 'DescribeIndexRequest')
105
109
  DescribeIndexResponse = Shapes::StructureShape.new(name: 'DescribeIndexResponse')
110
+ DescribeThesaurusRequest = Shapes::StructureShape.new(name: 'DescribeThesaurusRequest')
111
+ DescribeThesaurusResponse = Shapes::StructureShape.new(name: 'DescribeThesaurusResponse')
106
112
  Description = Shapes::StringShape.new(name: 'Description')
107
113
  Document = Shapes::StructureShape.new(name: 'Document')
108
114
  DocumentAttribute = Shapes::StructureShape.new(name: 'DocumentAttribute')
@@ -126,6 +132,9 @@ module Aws::Kendra
126
132
  Duration = Shapes::StringShape.new(name: 'Duration')
127
133
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
128
134
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
135
+ ExcludeMimeTypesList = Shapes::ListShape.new(name: 'ExcludeMimeTypesList')
136
+ ExcludeSharedDrivesList = Shapes::ListShape.new(name: 'ExcludeSharedDrivesList')
137
+ ExcludeUserAccountsList = Shapes::ListShape.new(name: 'ExcludeUserAccountsList')
129
138
  Facet = Shapes::StructureShape.new(name: 'Facet')
130
139
  FacetList = Shapes::ListShape.new(name: 'FacetList')
131
140
  FacetResult = Shapes::StructureShape.new(name: 'FacetResult')
@@ -137,8 +146,12 @@ module Aws::Kendra
137
146
  FaqStatus = Shapes::StringShape.new(name: 'FaqStatus')
138
147
  FaqSummary = Shapes::StructureShape.new(name: 'FaqSummary')
139
148
  FaqSummaryItems = Shapes::ListShape.new(name: 'FaqSummaryItems')
149
+ FeedbackToken = Shapes::StringShape.new(name: 'FeedbackToken')
150
+ GoogleDriveConfiguration = Shapes::StructureShape.new(name: 'GoogleDriveConfiguration')
151
+ GroupAttributeField = Shapes::StringShape.new(name: 'GroupAttributeField')
140
152
  Highlight = Shapes::StructureShape.new(name: 'Highlight')
141
153
  HighlightList = Shapes::ListShape.new(name: 'HighlightList')
154
+ HighlightType = Shapes::StringShape.new(name: 'HighlightType')
142
155
  Importance = Shapes::IntegerShape.new(name: 'Importance')
143
156
  IndexConfigurationSummary = Shapes::StructureShape.new(name: 'IndexConfigurationSummary')
144
157
  IndexConfigurationSummaryList = Shapes::ListShape.new(name: 'IndexConfigurationSummaryList')
@@ -153,6 +166,10 @@ module Aws::Kendra
153
166
  IndexedTextDocumentsCount = Shapes::IntegerShape.new(name: 'IndexedTextDocumentsCount')
154
167
  Integer = Shapes::IntegerShape.new(name: 'Integer')
155
168
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
169
+ Issuer = Shapes::StringShape.new(name: 'Issuer')
170
+ JsonTokenTypeConfiguration = Shapes::StructureShape.new(name: 'JsonTokenTypeConfiguration')
171
+ JwtTokenTypeConfiguration = Shapes::StructureShape.new(name: 'JwtTokenTypeConfiguration')
172
+ KeyLocation = Shapes::StringShape.new(name: 'KeyLocation')
156
173
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
157
174
  ListDataSourceSyncJobsRequest = Shapes::StructureShape.new(name: 'ListDataSourceSyncJobsRequest')
158
175
  ListDataSourceSyncJobsResponse = Shapes::StructureShape.new(name: 'ListDataSourceSyncJobsResponse')
@@ -164,12 +181,16 @@ module Aws::Kendra
164
181
  ListIndicesResponse = Shapes::StructureShape.new(name: 'ListIndicesResponse')
165
182
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
166
183
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
184
+ ListThesauriRequest = Shapes::StructureShape.new(name: 'ListThesauriRequest')
185
+ ListThesauriResponse = Shapes::StructureShape.new(name: 'ListThesauriResponse')
167
186
  Long = Shapes::IntegerShape.new(name: 'Long')
168
187
  MaxResultsIntegerForListDataSourceSyncJobsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListDataSourceSyncJobsRequest')
169
188
  MaxResultsIntegerForListDataSourcesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListDataSourcesRequest')
170
189
  MaxResultsIntegerForListFaqsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListFaqsRequest')
171
190
  MaxResultsIntegerForListIndicesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListIndicesRequest')
191
+ MaxResultsIntegerForListThesauriRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListThesauriRequest')
172
192
  MetricValue = Shapes::StringShape.new(name: 'MetricValue')
193
+ MimeType = Shapes::StringShape.new(name: 'MimeType')
173
194
  NextToken = Shapes::StringShape.new(name: 'NextToken')
174
195
  OneDriveConfiguration = Shapes::StructureShape.new(name: 'OneDriveConfiguration')
175
196
  OneDriveUser = Shapes::StringShape.new(name: 'OneDriveUser')
@@ -235,6 +256,7 @@ module Aws::Kendra
235
256
  SharePointConfiguration = Shapes::StructureShape.new(name: 'SharePointConfiguration')
236
257
  SharePointUrlList = Shapes::ListShape.new(name: 'SharePointUrlList')
237
258
  SharePointVersion = Shapes::StringShape.new(name: 'SharePointVersion')
259
+ SharedDriveId = Shapes::StringShape.new(name: 'SharedDriveId')
238
260
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
239
261
  SortingConfiguration = Shapes::StructureShape.new(name: 'SortingConfiguration')
240
262
  SqlConfiguration = Shapes::StructureShape.new(name: 'SqlConfiguration')
@@ -257,18 +279,32 @@ module Aws::Kendra
257
279
  TenantDomain = Shapes::StringShape.new(name: 'TenantDomain')
258
280
  TextDocumentStatistics = Shapes::StructureShape.new(name: 'TextDocumentStatistics')
259
281
  TextWithHighlights = Shapes::StructureShape.new(name: 'TextWithHighlights')
282
+ ThesaurusId = Shapes::StringShape.new(name: 'ThesaurusId')
283
+ ThesaurusName = Shapes::StringShape.new(name: 'ThesaurusName')
284
+ ThesaurusStatus = Shapes::StringShape.new(name: 'ThesaurusStatus')
285
+ ThesaurusSummary = Shapes::StructureShape.new(name: 'ThesaurusSummary')
286
+ ThesaurusSummaryItems = Shapes::ListShape.new(name: 'ThesaurusSummaryItems')
260
287
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
261
288
  TimeRange = Shapes::StructureShape.new(name: 'TimeRange')
262
289
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
263
290
  Title = Shapes::StringShape.new(name: 'Title')
291
+ Token = Shapes::StringShape.new(name: 'Token')
264
292
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
265
293
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
266
294
  UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
267
295
  UpdateIndexRequest = Shapes::StructureShape.new(name: 'UpdateIndexRequest')
296
+ UpdateThesaurusRequest = Shapes::StructureShape.new(name: 'UpdateThesaurusRequest')
268
297
  Url = Shapes::StringShape.new(name: 'Url')
298
+ UserAccount = Shapes::StringShape.new(name: 'UserAccount')
299
+ UserContext = Shapes::StructureShape.new(name: 'UserContext')
300
+ UserContextPolicy = Shapes::StringShape.new(name: 'UserContextPolicy')
301
+ UserNameAttributeField = Shapes::StringShape.new(name: 'UserNameAttributeField')
302
+ UserTokenConfiguration = Shapes::StructureShape.new(name: 'UserTokenConfiguration')
303
+ UserTokenConfigurationList = Shapes::ListShape.new(name: 'UserTokenConfigurationList')
269
304
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
270
305
  ValueImportanceMap = Shapes::MapShape.new(name: 'ValueImportanceMap')
271
306
  ValueImportanceMapKey = Shapes::StringShape.new(name: 'ValueImportanceMapKey')
307
+ VisitorId = Shapes::StringShape.new(name: 'VisitorId')
272
308
  VpcSecurityGroupId = Shapes::StringShape.new(name: 'VpcSecurityGroupId')
273
309
 
274
310
  AccessControlListConfiguration.add_member(:key_path, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "KeyPath"))
@@ -456,11 +492,25 @@ module Aws::Kendra
456
492
  CreateIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
457
493
  CreateIndexRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenName, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
458
494
  CreateIndexRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
495
+ CreateIndexRequest.add_member(:user_token_configurations, Shapes::ShapeRef.new(shape: UserTokenConfigurationList, location_name: "UserTokenConfigurations"))
496
+ CreateIndexRequest.add_member(:user_context_policy, Shapes::ShapeRef.new(shape: UserContextPolicy, location_name: "UserContextPolicy"))
459
497
  CreateIndexRequest.struct_class = Types::CreateIndexRequest
460
498
 
461
499
  CreateIndexResponse.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, location_name: "Id"))
462
500
  CreateIndexResponse.struct_class = Types::CreateIndexResponse
463
501
 
502
+ CreateThesaurusRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
503
+ CreateThesaurusRequest.add_member(:name, Shapes::ShapeRef.new(shape: ThesaurusName, required: true, location_name: "Name"))
504
+ CreateThesaurusRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
505
+ CreateThesaurusRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
506
+ CreateThesaurusRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
507
+ CreateThesaurusRequest.add_member(:source_s3_path, Shapes::ShapeRef.new(shape: S3Path, required: true, location_name: "SourceS3Path"))
508
+ CreateThesaurusRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenName, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
509
+ CreateThesaurusRequest.struct_class = Types::CreateThesaurusRequest
510
+
511
+ CreateThesaurusResponse.add_member(:id, Shapes::ShapeRef.new(shape: ThesaurusId, location_name: "Id"))
512
+ CreateThesaurusResponse.struct_class = Types::CreateThesaurusResponse
513
+
464
514
  DataSourceConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3DataSourceConfiguration, location_name: "S3Configuration"))
465
515
  DataSourceConfiguration.add_member(:share_point_configuration, Shapes::ShapeRef.new(shape: SharePointConfiguration, location_name: "SharePointConfiguration"))
466
516
  DataSourceConfiguration.add_member(:database_configuration, Shapes::ShapeRef.new(shape: DatabaseConfiguration, location_name: "DatabaseConfiguration"))
@@ -468,6 +518,7 @@ module Aws::Kendra
468
518
  DataSourceConfiguration.add_member(:one_drive_configuration, Shapes::ShapeRef.new(shape: OneDriveConfiguration, location_name: "OneDriveConfiguration"))
469
519
  DataSourceConfiguration.add_member(:service_now_configuration, Shapes::ShapeRef.new(shape: ServiceNowConfiguration, location_name: "ServiceNowConfiguration"))
470
520
  DataSourceConfiguration.add_member(:confluence_configuration, Shapes::ShapeRef.new(shape: ConfluenceConfiguration, location_name: "ConfluenceConfiguration"))
521
+ DataSourceConfiguration.add_member(:google_drive_configuration, Shapes::ShapeRef.new(shape: GoogleDriveConfiguration, location_name: "GoogleDriveConfiguration"))
471
522
  DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
472
523
 
473
524
  DataSourceInclusionsExclusionsStrings.member = Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStringsMember)
@@ -535,6 +586,10 @@ module Aws::Kendra
535
586
  DeleteIndexRequest.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "Id"))
536
587
  DeleteIndexRequest.struct_class = Types::DeleteIndexRequest
537
588
 
589
+ DeleteThesaurusRequest.add_member(:id, Shapes::ShapeRef.new(shape: ThesaurusId, required: true, location_name: "Id"))
590
+ DeleteThesaurusRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
591
+ DeleteThesaurusRequest.struct_class = Types::DeleteThesaurusRequest
592
+
538
593
  DescribeDataSourceRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
539
594
  DescribeDataSourceRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
540
595
  DescribeDataSourceRequest.struct_class = Types::DescribeDataSourceRequest
@@ -586,8 +641,29 @@ module Aws::Kendra
586
641
  DescribeIndexResponse.add_member(:index_statistics, Shapes::ShapeRef.new(shape: IndexStatistics, location_name: "IndexStatistics"))
587
642
  DescribeIndexResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
588
643
  DescribeIndexResponse.add_member(:capacity_units, Shapes::ShapeRef.new(shape: CapacityUnitsConfiguration, location_name: "CapacityUnits"))
644
+ DescribeIndexResponse.add_member(:user_token_configurations, Shapes::ShapeRef.new(shape: UserTokenConfigurationList, location_name: "UserTokenConfigurations"))
645
+ DescribeIndexResponse.add_member(:user_context_policy, Shapes::ShapeRef.new(shape: UserContextPolicy, location_name: "UserContextPolicy"))
589
646
  DescribeIndexResponse.struct_class = Types::DescribeIndexResponse
590
647
 
648
+ DescribeThesaurusRequest.add_member(:id, Shapes::ShapeRef.new(shape: ThesaurusId, required: true, location_name: "Id"))
649
+ DescribeThesaurusRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
650
+ DescribeThesaurusRequest.struct_class = Types::DescribeThesaurusRequest
651
+
652
+ DescribeThesaurusResponse.add_member(:id, Shapes::ShapeRef.new(shape: ThesaurusId, location_name: "Id"))
653
+ DescribeThesaurusResponse.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, location_name: "IndexId"))
654
+ DescribeThesaurusResponse.add_member(:name, Shapes::ShapeRef.new(shape: ThesaurusName, location_name: "Name"))
655
+ DescribeThesaurusResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
656
+ DescribeThesaurusResponse.add_member(:status, Shapes::ShapeRef.new(shape: ThesaurusStatus, location_name: "Status"))
657
+ DescribeThesaurusResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
658
+ DescribeThesaurusResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
659
+ DescribeThesaurusResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
660
+ DescribeThesaurusResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
661
+ DescribeThesaurusResponse.add_member(:source_s3_path, Shapes::ShapeRef.new(shape: S3Path, location_name: "SourceS3Path"))
662
+ DescribeThesaurusResponse.add_member(:file_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "FileSizeBytes"))
663
+ DescribeThesaurusResponse.add_member(:term_count, Shapes::ShapeRef.new(shape: Long, location_name: "TermCount"))
664
+ DescribeThesaurusResponse.add_member(:synonym_rule_count, Shapes::ShapeRef.new(shape: Long, location_name: "SynonymRuleCount"))
665
+ DescribeThesaurusResponse.struct_class = Types::DescribeThesaurusResponse
666
+
591
667
  Document.add_member(:id, Shapes::ShapeRef.new(shape: DocumentId, required: true, location_name: "Id"))
592
668
  Document.add_member(:title, Shapes::ShapeRef.new(shape: Title, location_name: "Title"))
593
669
  Document.add_member(:blob, Shapes::ShapeRef.new(shape: Blob, location_name: "Blob"))
@@ -634,6 +710,12 @@ module Aws::Kendra
634
710
  DocumentsMetadataConfiguration.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "S3Prefix"))
635
711
  DocumentsMetadataConfiguration.struct_class = Types::DocumentsMetadataConfiguration
636
712
 
713
+ ExcludeMimeTypesList.member = Shapes::ShapeRef.new(shape: MimeType)
714
+
715
+ ExcludeSharedDrivesList.member = Shapes::ShapeRef.new(shape: SharedDriveId)
716
+
717
+ ExcludeUserAccountsList.member = Shapes::ShapeRef.new(shape: UserAccount)
718
+
637
719
  Facet.add_member(:document_attribute_key, Shapes::ShapeRef.new(shape: DocumentAttributeKey, location_name: "DocumentAttributeKey"))
638
720
  Facet.struct_class = Types::Facet
639
721
 
@@ -659,9 +741,19 @@ module Aws::Kendra
659
741
 
660
742
  FaqSummaryItems.member = Shapes::ShapeRef.new(shape: FaqSummary)
661
743
 
744
+ GoogleDriveConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
745
+ GoogleDriveConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
746
+ GoogleDriveConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
747
+ GoogleDriveConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
748
+ GoogleDriveConfiguration.add_member(:exclude_mime_types, Shapes::ShapeRef.new(shape: ExcludeMimeTypesList, location_name: "ExcludeMimeTypes"))
749
+ GoogleDriveConfiguration.add_member(:exclude_user_accounts, Shapes::ShapeRef.new(shape: ExcludeUserAccountsList, location_name: "ExcludeUserAccounts"))
750
+ GoogleDriveConfiguration.add_member(:exclude_shared_drives, Shapes::ShapeRef.new(shape: ExcludeSharedDrivesList, location_name: "ExcludeSharedDrives"))
751
+ GoogleDriveConfiguration.struct_class = Types::GoogleDriveConfiguration
752
+
662
753
  Highlight.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "BeginOffset"))
663
754
  Highlight.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "EndOffset"))
664
755
  Highlight.add_member(:top_answer, Shapes::ShapeRef.new(shape: Boolean, location_name: "TopAnswer"))
756
+ Highlight.add_member(:type, Shapes::ShapeRef.new(shape: HighlightType, location_name: "Type"))
665
757
  Highlight.struct_class = Types::Highlight
666
758
 
667
759
  HighlightList.member = Shapes::ShapeRef.new(shape: Highlight)
@@ -683,6 +775,19 @@ module Aws::Kendra
683
775
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
684
776
  InternalServerException.struct_class = Types::InternalServerException
685
777
 
778
+ JsonTokenTypeConfiguration.add_member(:user_name_attribute_field, Shapes::ShapeRef.new(shape: String, required: true, location_name: "UserNameAttributeField"))
779
+ JsonTokenTypeConfiguration.add_member(:group_attribute_field, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupAttributeField"))
780
+ JsonTokenTypeConfiguration.struct_class = Types::JsonTokenTypeConfiguration
781
+
782
+ JwtTokenTypeConfiguration.add_member(:key_location, Shapes::ShapeRef.new(shape: KeyLocation, required: true, location_name: "KeyLocation"))
783
+ JwtTokenTypeConfiguration.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "URL"))
784
+ JwtTokenTypeConfiguration.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "SecretManagerArn"))
785
+ JwtTokenTypeConfiguration.add_member(:user_name_attribute_field, Shapes::ShapeRef.new(shape: UserNameAttributeField, location_name: "UserNameAttributeField"))
786
+ JwtTokenTypeConfiguration.add_member(:group_attribute_field, Shapes::ShapeRef.new(shape: GroupAttributeField, location_name: "GroupAttributeField"))
787
+ JwtTokenTypeConfiguration.add_member(:issuer, Shapes::ShapeRef.new(shape: Issuer, location_name: "Issuer"))
788
+ JwtTokenTypeConfiguration.add_member(:claim_regex, Shapes::ShapeRef.new(shape: ClaimRegex, location_name: "ClaimRegex"))
789
+ JwtTokenTypeConfiguration.struct_class = Types::JwtTokenTypeConfiguration
790
+
686
791
  ListDataSourceSyncJobsRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
687
792
  ListDataSourceSyncJobsRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
688
793
  ListDataSourceSyncJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -727,12 +832,22 @@ module Aws::Kendra
727
832
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
728
833
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
729
834
 
835
+ ListThesauriRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
836
+ ListThesauriRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
837
+ ListThesauriRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsIntegerForListThesauriRequest, location_name: "MaxResults"))
838
+ ListThesauriRequest.struct_class = Types::ListThesauriRequest
839
+
840
+ ListThesauriResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
841
+ ListThesauriResponse.add_member(:thesaurus_summary_items, Shapes::ShapeRef.new(shape: ThesaurusSummaryItems, location_name: "ThesaurusSummaryItems"))
842
+ ListThesauriResponse.struct_class = Types::ListThesauriResponse
843
+
730
844
  OneDriveConfiguration.add_member(:tenant_domain, Shapes::ShapeRef.new(shape: TenantDomain, required: true, location_name: "TenantDomain"))
731
845
  OneDriveConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
732
846
  OneDriveConfiguration.add_member(:one_drive_users, Shapes::ShapeRef.new(shape: OneDriveUsers, required: true, location_name: "OneDriveUsers"))
733
847
  OneDriveConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
734
848
  OneDriveConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
735
849
  OneDriveConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
850
+ OneDriveConfiguration.add_member(:disable_local_groups, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableLocalGroups"))
736
851
  OneDriveConfiguration.struct_class = Types::OneDriveConfiguration
737
852
 
738
853
  OneDriveUserList.member = Shapes::ShapeRef.new(shape: OneDriveUser)
@@ -757,6 +872,8 @@ module Aws::Kendra
757
872
  QueryRequest.add_member(:page_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PageNumber"))
758
873
  QueryRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: Integer, location_name: "PageSize"))
759
874
  QueryRequest.add_member(:sorting_configuration, Shapes::ShapeRef.new(shape: SortingConfiguration, location_name: "SortingConfiguration"))
875
+ QueryRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "UserContext"))
876
+ QueryRequest.add_member(:visitor_id, Shapes::ShapeRef.new(shape: VisitorId, location_name: "VisitorId"))
760
877
  QueryRequest.struct_class = Types::QueryRequest
761
878
 
762
879
  QueryResult.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "QueryId"))
@@ -774,6 +891,7 @@ module Aws::Kendra
774
891
  QueryResultItem.add_member(:document_uri, Shapes::ShapeRef.new(shape: Url, location_name: "DocumentURI"))
775
892
  QueryResultItem.add_member(:document_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "DocumentAttributes"))
776
893
  QueryResultItem.add_member(:score_attributes, Shapes::ShapeRef.new(shape: ScoreAttributes, location_name: "ScoreAttributes"))
894
+ QueryResultItem.add_member(:feedback_token, Shapes::ShapeRef.new(shape: FeedbackToken, location_name: "FeedbackToken"))
777
895
  QueryResultItem.struct_class = Types::QueryResultItem
778
896
 
779
897
  QueryResultItemList.member = Shapes::ShapeRef.new(shape: QueryResultItem)
@@ -916,6 +1034,7 @@ module Aws::Kendra
916
1034
  SharePointConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
917
1035
  SharePointConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
918
1036
  SharePointConfiguration.add_member(:document_title_field_name, Shapes::ShapeRef.new(shape: DataSourceFieldName, location_name: "DocumentTitleFieldName"))
1037
+ SharePointConfiguration.add_member(:disable_local_groups, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableLocalGroups"))
919
1038
  SharePointConfiguration.struct_class = Types::SharePointConfiguration
920
1039
 
921
1040
  SharePointUrlList.member = Shapes::ShapeRef.new(shape: Url)
@@ -968,6 +1087,15 @@ module Aws::Kendra
968
1087
  TextWithHighlights.add_member(:highlights, Shapes::ShapeRef.new(shape: HighlightList, location_name: "Highlights"))
969
1088
  TextWithHighlights.struct_class = Types::TextWithHighlights
970
1089
 
1090
+ ThesaurusSummary.add_member(:id, Shapes::ShapeRef.new(shape: ThesaurusId, location_name: "Id"))
1091
+ ThesaurusSummary.add_member(:name, Shapes::ShapeRef.new(shape: ThesaurusName, location_name: "Name"))
1092
+ ThesaurusSummary.add_member(:status, Shapes::ShapeRef.new(shape: ThesaurusStatus, location_name: "Status"))
1093
+ ThesaurusSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
1094
+ ThesaurusSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
1095
+ ThesaurusSummary.struct_class = Types::ThesaurusSummary
1096
+
1097
+ ThesaurusSummaryItems.member = Shapes::ShapeRef.new(shape: ThesaurusSummary)
1098
+
971
1099
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
972
1100
  ThrottlingException.struct_class = Types::ThrottlingException
973
1101
 
@@ -996,8 +1124,27 @@ module Aws::Kendra
996
1124
  UpdateIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
997
1125
  UpdateIndexRequest.add_member(:document_metadata_configuration_updates, Shapes::ShapeRef.new(shape: DocumentMetadataConfigurationList, location_name: "DocumentMetadataConfigurationUpdates"))
998
1126
  UpdateIndexRequest.add_member(:capacity_units, Shapes::ShapeRef.new(shape: CapacityUnitsConfiguration, location_name: "CapacityUnits"))
1127
+ UpdateIndexRequest.add_member(:user_token_configurations, Shapes::ShapeRef.new(shape: UserTokenConfigurationList, location_name: "UserTokenConfigurations"))
1128
+ UpdateIndexRequest.add_member(:user_context_policy, Shapes::ShapeRef.new(shape: UserContextPolicy, location_name: "UserContextPolicy"))
999
1129
  UpdateIndexRequest.struct_class = Types::UpdateIndexRequest
1000
1130
 
1131
+ UpdateThesaurusRequest.add_member(:id, Shapes::ShapeRef.new(shape: ThesaurusId, required: true, location_name: "Id"))
1132
+ UpdateThesaurusRequest.add_member(:name, Shapes::ShapeRef.new(shape: ThesaurusName, location_name: "Name"))
1133
+ UpdateThesaurusRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
1134
+ UpdateThesaurusRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1135
+ UpdateThesaurusRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
1136
+ UpdateThesaurusRequest.add_member(:source_s3_path, Shapes::ShapeRef.new(shape: S3Path, location_name: "SourceS3Path"))
1137
+ UpdateThesaurusRequest.struct_class = Types::UpdateThesaurusRequest
1138
+
1139
+ UserContext.add_member(:token, Shapes::ShapeRef.new(shape: Token, location_name: "Token"))
1140
+ UserContext.struct_class = Types::UserContext
1141
+
1142
+ UserTokenConfiguration.add_member(:jwt_token_type_configuration, Shapes::ShapeRef.new(shape: JwtTokenTypeConfiguration, location_name: "JwtTokenTypeConfiguration"))
1143
+ UserTokenConfiguration.add_member(:json_token_type_configuration, Shapes::ShapeRef.new(shape: JsonTokenTypeConfiguration, location_name: "JsonTokenTypeConfiguration"))
1144
+ UserTokenConfiguration.struct_class = Types::UserTokenConfiguration
1145
+
1146
+ UserTokenConfigurationList.member = Shapes::ShapeRef.new(shape: UserTokenConfiguration)
1147
+
1001
1148
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1002
1149
  ValidationException.struct_class = Types::ValidationException
1003
1150
 
@@ -1099,6 +1246,21 @@ module Aws::Kendra
1099
1246
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1100
1247
  end)
1101
1248
 
1249
+ api.add_operation(:create_thesaurus, Seahorse::Model::Operation.new.tap do |o|
1250
+ o.name = "CreateThesaurus"
1251
+ o.http_method = "POST"
1252
+ o.http_request_uri = "/"
1253
+ o.input = Shapes::ShapeRef.new(shape: CreateThesaurusRequest)
1254
+ o.output = Shapes::ShapeRef.new(shape: CreateThesaurusResponse)
1255
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1256
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1257
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1258
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1259
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1260
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1261
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1262
+ end)
1263
+
1102
1264
  api.add_operation(:delete_data_source, Seahorse::Model::Operation.new.tap do |o|
1103
1265
  o.name = "DeleteDataSource"
1104
1266
  o.http_method = "POST"
@@ -1141,6 +1303,20 @@ module Aws::Kendra
1141
1303
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1142
1304
  end)
1143
1305
 
1306
+ api.add_operation(:delete_thesaurus, Seahorse::Model::Operation.new.tap do |o|
1307
+ o.name = "DeleteThesaurus"
1308
+ o.http_method = "POST"
1309
+ o.http_request_uri = "/"
1310
+ o.input = Shapes::ShapeRef.new(shape: DeleteThesaurusRequest)
1311
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1312
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1313
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1314
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1315
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1316
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1317
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1318
+ end)
1319
+
1144
1320
  api.add_operation(:describe_data_source, Seahorse::Model::Operation.new.tap do |o|
1145
1321
  o.name = "DescribeDataSource"
1146
1322
  o.http_method = "POST"
@@ -1180,6 +1356,19 @@ module Aws::Kendra
1180
1356
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1181
1357
  end)
1182
1358
 
1359
+ api.add_operation(:describe_thesaurus, Seahorse::Model::Operation.new.tap do |o|
1360
+ o.name = "DescribeThesaurus"
1361
+ o.http_method = "POST"
1362
+ o.http_request_uri = "/"
1363
+ o.input = Shapes::ShapeRef.new(shape: DescribeThesaurusRequest)
1364
+ o.output = Shapes::ShapeRef.new(shape: DescribeThesaurusResponse)
1365
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1366
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1367
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1368
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1369
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1370
+ end)
1371
+
1183
1372
  api.add_operation(:list_data_source_sync_jobs, Seahorse::Model::Operation.new.tap do |o|
1184
1373
  o.name = "ListDataSourceSyncJobs"
1185
1374
  o.http_method = "POST"
@@ -1263,6 +1452,19 @@ module Aws::Kendra
1263
1452
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1264
1453
  end)
1265
1454
 
1455
+ api.add_operation(:list_thesauri, Seahorse::Model::Operation.new.tap do |o|
1456
+ o.name = "ListThesauri"
1457
+ o.http_method = "POST"
1458
+ o.http_request_uri = "/"
1459
+ o.input = Shapes::ShapeRef.new(shape: ListThesauriRequest)
1460
+ o.output = Shapes::ShapeRef.new(shape: ListThesauriResponse)
1461
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1462
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1463
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1464
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1465
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1466
+ end)
1467
+
1266
1468
  api.add_operation(:query, Seahorse::Model::Operation.new.tap do |o|
1267
1469
  o.name = "Query"
1268
1470
  o.http_method = "POST"
@@ -1374,6 +1576,20 @@ module Aws::Kendra
1374
1576
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1375
1577
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1376
1578
  end)
1579
+
1580
+ api.add_operation(:update_thesaurus, Seahorse::Model::Operation.new.tap do |o|
1581
+ o.name = "UpdateThesaurus"
1582
+ o.http_method = "POST"
1583
+ o.http_request_uri = "/"
1584
+ o.input = Shapes::ShapeRef.new(shape: UpdateThesaurusRequest)
1585
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1586
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1587
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1588
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1589
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1590
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1591
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1592
+ end)
1377
1593
  end
1378
1594
 
1379
1595
  end
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9