aws-sdk-kendra 1.16.0 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-kendra.rb +1 -1
- data/lib/aws-sdk-kendra/client.rb +527 -4
- data/lib/aws-sdk-kendra/client_api.rb +296 -0
- data/lib/aws-sdk-kendra/types.rb +1501 -65
- metadata +4 -4
@@ -35,12 +35,33 @@ 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')
|
41
42
|
ColumnConfiguration = Shapes::StructureShape.new(name: 'ColumnConfiguration')
|
42
43
|
ColumnName = Shapes::StringShape.new(name: 'ColumnName')
|
43
44
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
45
|
+
ConfluenceAttachmentConfiguration = Shapes::StructureShape.new(name: 'ConfluenceAttachmentConfiguration')
|
46
|
+
ConfluenceAttachmentFieldMappingsList = Shapes::ListShape.new(name: 'ConfluenceAttachmentFieldMappingsList')
|
47
|
+
ConfluenceAttachmentFieldName = Shapes::StringShape.new(name: 'ConfluenceAttachmentFieldName')
|
48
|
+
ConfluenceAttachmentToIndexFieldMapping = Shapes::StructureShape.new(name: 'ConfluenceAttachmentToIndexFieldMapping')
|
49
|
+
ConfluenceBlogConfiguration = Shapes::StructureShape.new(name: 'ConfluenceBlogConfiguration')
|
50
|
+
ConfluenceBlogFieldMappingsList = Shapes::ListShape.new(name: 'ConfluenceBlogFieldMappingsList')
|
51
|
+
ConfluenceBlogFieldName = Shapes::StringShape.new(name: 'ConfluenceBlogFieldName')
|
52
|
+
ConfluenceBlogToIndexFieldMapping = Shapes::StructureShape.new(name: 'ConfluenceBlogToIndexFieldMapping')
|
53
|
+
ConfluenceConfiguration = Shapes::StructureShape.new(name: 'ConfluenceConfiguration')
|
54
|
+
ConfluencePageConfiguration = Shapes::StructureShape.new(name: 'ConfluencePageConfiguration')
|
55
|
+
ConfluencePageFieldMappingsList = Shapes::ListShape.new(name: 'ConfluencePageFieldMappingsList')
|
56
|
+
ConfluencePageFieldName = Shapes::StringShape.new(name: 'ConfluencePageFieldName')
|
57
|
+
ConfluencePageToIndexFieldMapping = Shapes::StructureShape.new(name: 'ConfluencePageToIndexFieldMapping')
|
58
|
+
ConfluenceSpaceConfiguration = Shapes::StructureShape.new(name: 'ConfluenceSpaceConfiguration')
|
59
|
+
ConfluenceSpaceFieldMappingsList = Shapes::ListShape.new(name: 'ConfluenceSpaceFieldMappingsList')
|
60
|
+
ConfluenceSpaceFieldName = Shapes::StringShape.new(name: 'ConfluenceSpaceFieldName')
|
61
|
+
ConfluenceSpaceIdentifier = Shapes::StringShape.new(name: 'ConfluenceSpaceIdentifier')
|
62
|
+
ConfluenceSpaceList = Shapes::ListShape.new(name: 'ConfluenceSpaceList')
|
63
|
+
ConfluenceSpaceToIndexFieldMapping = Shapes::StructureShape.new(name: 'ConfluenceSpaceToIndexFieldMapping')
|
64
|
+
ConfluenceVersion = Shapes::StringShape.new(name: 'ConfluenceVersion')
|
44
65
|
ConnectionConfiguration = Shapes::StructureShape.new(name: 'ConnectionConfiguration')
|
45
66
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
46
67
|
CreateDataSourceRequest = Shapes::StructureShape.new(name: 'CreateDataSourceRequest')
|
@@ -49,6 +70,8 @@ module Aws::Kendra
|
|
49
70
|
CreateFaqResponse = Shapes::StructureShape.new(name: 'CreateFaqResponse')
|
50
71
|
CreateIndexRequest = Shapes::StructureShape.new(name: 'CreateIndexRequest')
|
51
72
|
CreateIndexResponse = Shapes::StructureShape.new(name: 'CreateIndexResponse')
|
73
|
+
CreateThesaurusRequest = Shapes::StructureShape.new(name: 'CreateThesaurusRequest')
|
74
|
+
CreateThesaurusResponse = Shapes::StructureShape.new(name: 'CreateThesaurusResponse')
|
52
75
|
DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
|
53
76
|
DataSourceDateFieldFormat = Shapes::StringShape.new(name: 'DataSourceDateFieldFormat')
|
54
77
|
DataSourceFieldName = Shapes::StringShape.new(name: 'DataSourceFieldName')
|
@@ -77,12 +100,15 @@ module Aws::Kendra
|
|
77
100
|
DeleteDataSourceRequest = Shapes::StructureShape.new(name: 'DeleteDataSourceRequest')
|
78
101
|
DeleteFaqRequest = Shapes::StructureShape.new(name: 'DeleteFaqRequest')
|
79
102
|
DeleteIndexRequest = Shapes::StructureShape.new(name: 'DeleteIndexRequest')
|
103
|
+
DeleteThesaurusRequest = Shapes::StructureShape.new(name: 'DeleteThesaurusRequest')
|
80
104
|
DescribeDataSourceRequest = Shapes::StructureShape.new(name: 'DescribeDataSourceRequest')
|
81
105
|
DescribeDataSourceResponse = Shapes::StructureShape.new(name: 'DescribeDataSourceResponse')
|
82
106
|
DescribeFaqRequest = Shapes::StructureShape.new(name: 'DescribeFaqRequest')
|
83
107
|
DescribeFaqResponse = Shapes::StructureShape.new(name: 'DescribeFaqResponse')
|
84
108
|
DescribeIndexRequest = Shapes::StructureShape.new(name: 'DescribeIndexRequest')
|
85
109
|
DescribeIndexResponse = Shapes::StructureShape.new(name: 'DescribeIndexResponse')
|
110
|
+
DescribeThesaurusRequest = Shapes::StructureShape.new(name: 'DescribeThesaurusRequest')
|
111
|
+
DescribeThesaurusResponse = Shapes::StructureShape.new(name: 'DescribeThesaurusResponse')
|
86
112
|
Description = Shapes::StringShape.new(name: 'Description')
|
87
113
|
Document = Shapes::StructureShape.new(name: 'Document')
|
88
114
|
DocumentAttribute = Shapes::StructureShape.new(name: 'DocumentAttribute')
|
@@ -106,6 +132,9 @@ module Aws::Kendra
|
|
106
132
|
Duration = Shapes::StringShape.new(name: 'Duration')
|
107
133
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
108
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')
|
109
138
|
Facet = Shapes::StructureShape.new(name: 'Facet')
|
110
139
|
FacetList = Shapes::ListShape.new(name: 'FacetList')
|
111
140
|
FacetResult = Shapes::StructureShape.new(name: 'FacetResult')
|
@@ -117,8 +146,12 @@ module Aws::Kendra
|
|
117
146
|
FaqStatus = Shapes::StringShape.new(name: 'FaqStatus')
|
118
147
|
FaqSummary = Shapes::StructureShape.new(name: 'FaqSummary')
|
119
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')
|
120
152
|
Highlight = Shapes::StructureShape.new(name: 'Highlight')
|
121
153
|
HighlightList = Shapes::ListShape.new(name: 'HighlightList')
|
154
|
+
HighlightType = Shapes::StringShape.new(name: 'HighlightType')
|
122
155
|
Importance = Shapes::IntegerShape.new(name: 'Importance')
|
123
156
|
IndexConfigurationSummary = Shapes::StructureShape.new(name: 'IndexConfigurationSummary')
|
124
157
|
IndexConfigurationSummaryList = Shapes::ListShape.new(name: 'IndexConfigurationSummaryList')
|
@@ -133,6 +166,10 @@ module Aws::Kendra
|
|
133
166
|
IndexedTextDocumentsCount = Shapes::IntegerShape.new(name: 'IndexedTextDocumentsCount')
|
134
167
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
135
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')
|
136
173
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
137
174
|
ListDataSourceSyncJobsRequest = Shapes::StructureShape.new(name: 'ListDataSourceSyncJobsRequest')
|
138
175
|
ListDataSourceSyncJobsResponse = Shapes::StructureShape.new(name: 'ListDataSourceSyncJobsResponse')
|
@@ -144,12 +181,16 @@ module Aws::Kendra
|
|
144
181
|
ListIndicesResponse = Shapes::StructureShape.new(name: 'ListIndicesResponse')
|
145
182
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
146
183
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
184
|
+
ListThesauriRequest = Shapes::StructureShape.new(name: 'ListThesauriRequest')
|
185
|
+
ListThesauriResponse = Shapes::StructureShape.new(name: 'ListThesauriResponse')
|
147
186
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
148
187
|
MaxResultsIntegerForListDataSourceSyncJobsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListDataSourceSyncJobsRequest')
|
149
188
|
MaxResultsIntegerForListDataSourcesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListDataSourcesRequest')
|
150
189
|
MaxResultsIntegerForListFaqsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListFaqsRequest')
|
151
190
|
MaxResultsIntegerForListIndicesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListIndicesRequest')
|
191
|
+
MaxResultsIntegerForListThesauriRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListThesauriRequest')
|
152
192
|
MetricValue = Shapes::StringShape.new(name: 'MetricValue')
|
193
|
+
MimeType = Shapes::StringShape.new(name: 'MimeType')
|
153
194
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
154
195
|
OneDriveConfiguration = Shapes::StructureShape.new(name: 'OneDriveConfiguration')
|
155
196
|
OneDriveUser = Shapes::StringShape.new(name: 'OneDriveUser')
|
@@ -215,6 +256,7 @@ module Aws::Kendra
|
|
215
256
|
SharePointConfiguration = Shapes::StructureShape.new(name: 'SharePointConfiguration')
|
216
257
|
SharePointUrlList = Shapes::ListShape.new(name: 'SharePointUrlList')
|
217
258
|
SharePointVersion = Shapes::StringShape.new(name: 'SharePointVersion')
|
259
|
+
SharedDriveId = Shapes::StringShape.new(name: 'SharedDriveId')
|
218
260
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
219
261
|
SortingConfiguration = Shapes::StructureShape.new(name: 'SortingConfiguration')
|
220
262
|
SqlConfiguration = Shapes::StructureShape.new(name: 'SqlConfiguration')
|
@@ -237,18 +279,32 @@ module Aws::Kendra
|
|
237
279
|
TenantDomain = Shapes::StringShape.new(name: 'TenantDomain')
|
238
280
|
TextDocumentStatistics = Shapes::StructureShape.new(name: 'TextDocumentStatistics')
|
239
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')
|
240
287
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
241
288
|
TimeRange = Shapes::StructureShape.new(name: 'TimeRange')
|
242
289
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
243
290
|
Title = Shapes::StringShape.new(name: 'Title')
|
291
|
+
Token = Shapes::StringShape.new(name: 'Token')
|
244
292
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
245
293
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
246
294
|
UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
|
247
295
|
UpdateIndexRequest = Shapes::StructureShape.new(name: 'UpdateIndexRequest')
|
296
|
+
UpdateThesaurusRequest = Shapes::StructureShape.new(name: 'UpdateThesaurusRequest')
|
248
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')
|
249
304
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
250
305
|
ValueImportanceMap = Shapes::MapShape.new(name: 'ValueImportanceMap')
|
251
306
|
ValueImportanceMapKey = Shapes::StringShape.new(name: 'ValueImportanceMapKey')
|
307
|
+
VisitorId = Shapes::StringShape.new(name: 'VisitorId')
|
252
308
|
VpcSecurityGroupId = Shapes::StringShape.new(name: 'VpcSecurityGroupId')
|
253
309
|
|
254
310
|
AccessControlListConfiguration.add_member(:key_path, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "KeyPath"))
|
@@ -336,6 +392,65 @@ module Aws::Kendra
|
|
336
392
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
337
393
|
ConflictException.struct_class = Types::ConflictException
|
338
394
|
|
395
|
+
ConfluenceAttachmentConfiguration.add_member(:crawl_attachments, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlAttachments"))
|
396
|
+
ConfluenceAttachmentConfiguration.add_member(:attachment_field_mappings, Shapes::ShapeRef.new(shape: ConfluenceAttachmentFieldMappingsList, location_name: "AttachmentFieldMappings"))
|
397
|
+
ConfluenceAttachmentConfiguration.struct_class = Types::ConfluenceAttachmentConfiguration
|
398
|
+
|
399
|
+
ConfluenceAttachmentFieldMappingsList.member = Shapes::ShapeRef.new(shape: ConfluenceAttachmentToIndexFieldMapping)
|
400
|
+
|
401
|
+
ConfluenceAttachmentToIndexFieldMapping.add_member(:data_source_field_name, Shapes::ShapeRef.new(shape: ConfluenceAttachmentFieldName, location_name: "DataSourceFieldName"))
|
402
|
+
ConfluenceAttachmentToIndexFieldMapping.add_member(:date_field_format, Shapes::ShapeRef.new(shape: DataSourceDateFieldFormat, location_name: "DateFieldFormat"))
|
403
|
+
ConfluenceAttachmentToIndexFieldMapping.add_member(:index_field_name, Shapes::ShapeRef.new(shape: IndexFieldName, location_name: "IndexFieldName"))
|
404
|
+
ConfluenceAttachmentToIndexFieldMapping.struct_class = Types::ConfluenceAttachmentToIndexFieldMapping
|
405
|
+
|
406
|
+
ConfluenceBlogConfiguration.add_member(:blog_field_mappings, Shapes::ShapeRef.new(shape: ConfluenceBlogFieldMappingsList, location_name: "BlogFieldMappings"))
|
407
|
+
ConfluenceBlogConfiguration.struct_class = Types::ConfluenceBlogConfiguration
|
408
|
+
|
409
|
+
ConfluenceBlogFieldMappingsList.member = Shapes::ShapeRef.new(shape: ConfluenceBlogToIndexFieldMapping)
|
410
|
+
|
411
|
+
ConfluenceBlogToIndexFieldMapping.add_member(:data_source_field_name, Shapes::ShapeRef.new(shape: ConfluenceBlogFieldName, location_name: "DataSourceFieldName"))
|
412
|
+
ConfluenceBlogToIndexFieldMapping.add_member(:date_field_format, Shapes::ShapeRef.new(shape: DataSourceDateFieldFormat, location_name: "DateFieldFormat"))
|
413
|
+
ConfluenceBlogToIndexFieldMapping.add_member(:index_field_name, Shapes::ShapeRef.new(shape: IndexFieldName, location_name: "IndexFieldName"))
|
414
|
+
ConfluenceBlogToIndexFieldMapping.struct_class = Types::ConfluenceBlogToIndexFieldMapping
|
415
|
+
|
416
|
+
ConfluenceConfiguration.add_member(:server_url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "ServerUrl"))
|
417
|
+
ConfluenceConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
|
418
|
+
ConfluenceConfiguration.add_member(:version, Shapes::ShapeRef.new(shape: ConfluenceVersion, required: true, location_name: "Version"))
|
419
|
+
ConfluenceConfiguration.add_member(:space_configuration, Shapes::ShapeRef.new(shape: ConfluenceSpaceConfiguration, location_name: "SpaceConfiguration"))
|
420
|
+
ConfluenceConfiguration.add_member(:page_configuration, Shapes::ShapeRef.new(shape: ConfluencePageConfiguration, location_name: "PageConfiguration"))
|
421
|
+
ConfluenceConfiguration.add_member(:blog_configuration, Shapes::ShapeRef.new(shape: ConfluenceBlogConfiguration, location_name: "BlogConfiguration"))
|
422
|
+
ConfluenceConfiguration.add_member(:attachment_configuration, Shapes::ShapeRef.new(shape: ConfluenceAttachmentConfiguration, location_name: "AttachmentConfiguration"))
|
423
|
+
ConfluenceConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
|
424
|
+
ConfluenceConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
|
425
|
+
ConfluenceConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
|
426
|
+
ConfluenceConfiguration.struct_class = Types::ConfluenceConfiguration
|
427
|
+
|
428
|
+
ConfluencePageConfiguration.add_member(:page_field_mappings, Shapes::ShapeRef.new(shape: ConfluencePageFieldMappingsList, location_name: "PageFieldMappings"))
|
429
|
+
ConfluencePageConfiguration.struct_class = Types::ConfluencePageConfiguration
|
430
|
+
|
431
|
+
ConfluencePageFieldMappingsList.member = Shapes::ShapeRef.new(shape: ConfluencePageToIndexFieldMapping)
|
432
|
+
|
433
|
+
ConfluencePageToIndexFieldMapping.add_member(:data_source_field_name, Shapes::ShapeRef.new(shape: ConfluencePageFieldName, location_name: "DataSourceFieldName"))
|
434
|
+
ConfluencePageToIndexFieldMapping.add_member(:date_field_format, Shapes::ShapeRef.new(shape: DataSourceDateFieldFormat, location_name: "DateFieldFormat"))
|
435
|
+
ConfluencePageToIndexFieldMapping.add_member(:index_field_name, Shapes::ShapeRef.new(shape: IndexFieldName, location_name: "IndexFieldName"))
|
436
|
+
ConfluencePageToIndexFieldMapping.struct_class = Types::ConfluencePageToIndexFieldMapping
|
437
|
+
|
438
|
+
ConfluenceSpaceConfiguration.add_member(:crawl_personal_spaces, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlPersonalSpaces"))
|
439
|
+
ConfluenceSpaceConfiguration.add_member(:crawl_archived_spaces, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlArchivedSpaces"))
|
440
|
+
ConfluenceSpaceConfiguration.add_member(:include_spaces, Shapes::ShapeRef.new(shape: ConfluenceSpaceList, location_name: "IncludeSpaces"))
|
441
|
+
ConfluenceSpaceConfiguration.add_member(:exclude_spaces, Shapes::ShapeRef.new(shape: ConfluenceSpaceList, location_name: "ExcludeSpaces"))
|
442
|
+
ConfluenceSpaceConfiguration.add_member(:space_field_mappings, Shapes::ShapeRef.new(shape: ConfluenceSpaceFieldMappingsList, location_name: "SpaceFieldMappings"))
|
443
|
+
ConfluenceSpaceConfiguration.struct_class = Types::ConfluenceSpaceConfiguration
|
444
|
+
|
445
|
+
ConfluenceSpaceFieldMappingsList.member = Shapes::ShapeRef.new(shape: ConfluenceSpaceToIndexFieldMapping)
|
446
|
+
|
447
|
+
ConfluenceSpaceList.member = Shapes::ShapeRef.new(shape: ConfluenceSpaceIdentifier)
|
448
|
+
|
449
|
+
ConfluenceSpaceToIndexFieldMapping.add_member(:data_source_field_name, Shapes::ShapeRef.new(shape: ConfluenceSpaceFieldName, location_name: "DataSourceFieldName"))
|
450
|
+
ConfluenceSpaceToIndexFieldMapping.add_member(:date_field_format, Shapes::ShapeRef.new(shape: DataSourceDateFieldFormat, location_name: "DateFieldFormat"))
|
451
|
+
ConfluenceSpaceToIndexFieldMapping.add_member(:index_field_name, Shapes::ShapeRef.new(shape: IndexFieldName, location_name: "IndexFieldName"))
|
452
|
+
ConfluenceSpaceToIndexFieldMapping.struct_class = Types::ConfluenceSpaceToIndexFieldMapping
|
453
|
+
|
339
454
|
ConnectionConfiguration.add_member(:database_host, Shapes::ShapeRef.new(shape: DatabaseHost, required: true, location_name: "DatabaseHost"))
|
340
455
|
ConnectionConfiguration.add_member(:database_port, Shapes::ShapeRef.new(shape: DatabasePort, required: true, location_name: "DatabasePort"))
|
341
456
|
ConnectionConfiguration.add_member(:database_name, Shapes::ShapeRef.new(shape: DatabaseName, required: true, location_name: "DatabaseName"))
|
@@ -377,17 +492,33 @@ module Aws::Kendra
|
|
377
492
|
CreateIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
378
493
|
CreateIndexRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenName, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
379
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"))
|
380
497
|
CreateIndexRequest.struct_class = Types::CreateIndexRequest
|
381
498
|
|
382
499
|
CreateIndexResponse.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, location_name: "Id"))
|
383
500
|
CreateIndexResponse.struct_class = Types::CreateIndexResponse
|
384
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
|
+
|
385
514
|
DataSourceConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3DataSourceConfiguration, location_name: "S3Configuration"))
|
386
515
|
DataSourceConfiguration.add_member(:share_point_configuration, Shapes::ShapeRef.new(shape: SharePointConfiguration, location_name: "SharePointConfiguration"))
|
387
516
|
DataSourceConfiguration.add_member(:database_configuration, Shapes::ShapeRef.new(shape: DatabaseConfiguration, location_name: "DatabaseConfiguration"))
|
388
517
|
DataSourceConfiguration.add_member(:salesforce_configuration, Shapes::ShapeRef.new(shape: SalesforceConfiguration, location_name: "SalesforceConfiguration"))
|
389
518
|
DataSourceConfiguration.add_member(:one_drive_configuration, Shapes::ShapeRef.new(shape: OneDriveConfiguration, location_name: "OneDriveConfiguration"))
|
390
519
|
DataSourceConfiguration.add_member(:service_now_configuration, Shapes::ShapeRef.new(shape: ServiceNowConfiguration, location_name: "ServiceNowConfiguration"))
|
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"))
|
391
522
|
DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
|
392
523
|
|
393
524
|
DataSourceInclusionsExclusionsStrings.member = Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStringsMember)
|
@@ -455,6 +586,10 @@ module Aws::Kendra
|
|
455
586
|
DeleteIndexRequest.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "Id"))
|
456
587
|
DeleteIndexRequest.struct_class = Types::DeleteIndexRequest
|
457
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
|
+
|
458
593
|
DescribeDataSourceRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
|
459
594
|
DescribeDataSourceRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
460
595
|
DescribeDataSourceRequest.struct_class = Types::DescribeDataSourceRequest
|
@@ -506,8 +641,29 @@ module Aws::Kendra
|
|
506
641
|
DescribeIndexResponse.add_member(:index_statistics, Shapes::ShapeRef.new(shape: IndexStatistics, location_name: "IndexStatistics"))
|
507
642
|
DescribeIndexResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
508
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"))
|
509
646
|
DescribeIndexResponse.struct_class = Types::DescribeIndexResponse
|
510
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
|
+
|
511
667
|
Document.add_member(:id, Shapes::ShapeRef.new(shape: DocumentId, required: true, location_name: "Id"))
|
512
668
|
Document.add_member(:title, Shapes::ShapeRef.new(shape: Title, location_name: "Title"))
|
513
669
|
Document.add_member(:blob, Shapes::ShapeRef.new(shape: Blob, location_name: "Blob"))
|
@@ -554,6 +710,12 @@ module Aws::Kendra
|
|
554
710
|
DocumentsMetadataConfiguration.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "S3Prefix"))
|
555
711
|
DocumentsMetadataConfiguration.struct_class = Types::DocumentsMetadataConfiguration
|
556
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
|
+
|
557
719
|
Facet.add_member(:document_attribute_key, Shapes::ShapeRef.new(shape: DocumentAttributeKey, location_name: "DocumentAttributeKey"))
|
558
720
|
Facet.struct_class = Types::Facet
|
559
721
|
|
@@ -579,9 +741,19 @@ module Aws::Kendra
|
|
579
741
|
|
580
742
|
FaqSummaryItems.member = Shapes::ShapeRef.new(shape: FaqSummary)
|
581
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
|
+
|
582
753
|
Highlight.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "BeginOffset"))
|
583
754
|
Highlight.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "EndOffset"))
|
584
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"))
|
585
757
|
Highlight.struct_class = Types::Highlight
|
586
758
|
|
587
759
|
HighlightList.member = Shapes::ShapeRef.new(shape: Highlight)
|
@@ -603,6 +775,19 @@ module Aws::Kendra
|
|
603
775
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
604
776
|
InternalServerException.struct_class = Types::InternalServerException
|
605
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
|
+
|
606
791
|
ListDataSourceSyncJobsRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
|
607
792
|
ListDataSourceSyncJobsRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
|
608
793
|
ListDataSourceSyncJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -647,12 +832,22 @@ module Aws::Kendra
|
|
647
832
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
648
833
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
649
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
|
+
|
650
844
|
OneDriveConfiguration.add_member(:tenant_domain, Shapes::ShapeRef.new(shape: TenantDomain, required: true, location_name: "TenantDomain"))
|
651
845
|
OneDriveConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
|
652
846
|
OneDriveConfiguration.add_member(:one_drive_users, Shapes::ShapeRef.new(shape: OneDriveUsers, required: true, location_name: "OneDriveUsers"))
|
653
847
|
OneDriveConfiguration.add_member(:inclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPatterns"))
|
654
848
|
OneDriveConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
|
655
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"))
|
656
851
|
OneDriveConfiguration.struct_class = Types::OneDriveConfiguration
|
657
852
|
|
658
853
|
OneDriveUserList.member = Shapes::ShapeRef.new(shape: OneDriveUser)
|
@@ -677,6 +872,8 @@ module Aws::Kendra
|
|
677
872
|
QueryRequest.add_member(:page_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PageNumber"))
|
678
873
|
QueryRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: Integer, location_name: "PageSize"))
|
679
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"))
|
680
877
|
QueryRequest.struct_class = Types::QueryRequest
|
681
878
|
|
682
879
|
QueryResult.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "QueryId"))
|
@@ -694,6 +891,7 @@ module Aws::Kendra
|
|
694
891
|
QueryResultItem.add_member(:document_uri, Shapes::ShapeRef.new(shape: Url, location_name: "DocumentURI"))
|
695
892
|
QueryResultItem.add_member(:document_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "DocumentAttributes"))
|
696
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"))
|
697
895
|
QueryResultItem.struct_class = Types::QueryResultItem
|
698
896
|
|
699
897
|
QueryResultItemList.member = Shapes::ShapeRef.new(shape: QueryResultItem)
|
@@ -836,6 +1034,7 @@ module Aws::Kendra
|
|
836
1034
|
SharePointConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
|
837
1035
|
SharePointConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
|
838
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"))
|
839
1038
|
SharePointConfiguration.struct_class = Types::SharePointConfiguration
|
840
1039
|
|
841
1040
|
SharePointUrlList.member = Shapes::ShapeRef.new(shape: Url)
|
@@ -888,6 +1087,15 @@ module Aws::Kendra
|
|
888
1087
|
TextWithHighlights.add_member(:highlights, Shapes::ShapeRef.new(shape: HighlightList, location_name: "Highlights"))
|
889
1088
|
TextWithHighlights.struct_class = Types::TextWithHighlights
|
890
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
|
+
|
891
1099
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
892
1100
|
ThrottlingException.struct_class = Types::ThrottlingException
|
893
1101
|
|
@@ -916,8 +1124,27 @@ module Aws::Kendra
|
|
916
1124
|
UpdateIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
917
1125
|
UpdateIndexRequest.add_member(:document_metadata_configuration_updates, Shapes::ShapeRef.new(shape: DocumentMetadataConfigurationList, location_name: "DocumentMetadataConfigurationUpdates"))
|
918
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"))
|
919
1129
|
UpdateIndexRequest.struct_class = Types::UpdateIndexRequest
|
920
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
|
+
|
921
1148
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
922
1149
|
ValidationException.struct_class = Types::ValidationException
|
923
1150
|
|
@@ -1019,6 +1246,21 @@ module Aws::Kendra
|
|
1019
1246
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1020
1247
|
end)
|
1021
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
|
+
|
1022
1264
|
api.add_operation(:delete_data_source, Seahorse::Model::Operation.new.tap do |o|
|
1023
1265
|
o.name = "DeleteDataSource"
|
1024
1266
|
o.http_method = "POST"
|
@@ -1061,6 +1303,20 @@ module Aws::Kendra
|
|
1061
1303
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1062
1304
|
end)
|
1063
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
|
+
|
1064
1320
|
api.add_operation(:describe_data_source, Seahorse::Model::Operation.new.tap do |o|
|
1065
1321
|
o.name = "DescribeDataSource"
|
1066
1322
|
o.http_method = "POST"
|
@@ -1100,6 +1356,19 @@ module Aws::Kendra
|
|
1100
1356
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1101
1357
|
end)
|
1102
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
|
+
|
1103
1372
|
api.add_operation(:list_data_source_sync_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1104
1373
|
o.name = "ListDataSourceSyncJobs"
|
1105
1374
|
o.http_method = "POST"
|
@@ -1183,6 +1452,19 @@ module Aws::Kendra
|
|
1183
1452
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1184
1453
|
end)
|
1185
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
|
+
|
1186
1468
|
api.add_operation(:query, Seahorse::Model::Operation.new.tap do |o|
|
1187
1469
|
o.name = "Query"
|
1188
1470
|
o.http_method = "POST"
|
@@ -1294,6 +1576,20 @@ module Aws::Kendra
|
|
1294
1576
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1295
1577
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1296
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)
|
1297
1593
|
end
|
1298
1594
|
|
1299
1595
|
end
|