aws-sdk-kendra 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1014 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Kendra
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AccessControlListConfiguration = Shapes::StructureShape.new(name: 'AccessControlListConfiguration')
15
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
+ AclConfiguration = Shapes::StructureShape.new(name: 'AclConfiguration')
17
+ AdditionalResultAttribute = Shapes::StructureShape.new(name: 'AdditionalResultAttribute')
18
+ AdditionalResultAttributeList = Shapes::ListShape.new(name: 'AdditionalResultAttributeList')
19
+ AdditionalResultAttributeValue = Shapes::StructureShape.new(name: 'AdditionalResultAttributeValue')
20
+ AdditionalResultAttributeValueType = Shapes::StringShape.new(name: 'AdditionalResultAttributeValueType')
21
+ AttributeFilter = Shapes::StructureShape.new(name: 'AttributeFilter')
22
+ AttributeFilterList = Shapes::ListShape.new(name: 'AttributeFilterList')
23
+ BatchDeleteDocumentRequest = Shapes::StructureShape.new(name: 'BatchDeleteDocumentRequest')
24
+ BatchDeleteDocumentResponse = Shapes::StructureShape.new(name: 'BatchDeleteDocumentResponse')
25
+ BatchDeleteDocumentResponseFailedDocument = Shapes::StructureShape.new(name: 'BatchDeleteDocumentResponseFailedDocument')
26
+ BatchDeleteDocumentResponseFailedDocuments = Shapes::ListShape.new(name: 'BatchDeleteDocumentResponseFailedDocuments')
27
+ BatchPutDocumentRequest = Shapes::StructureShape.new(name: 'BatchPutDocumentRequest')
28
+ BatchPutDocumentResponse = Shapes::StructureShape.new(name: 'BatchPutDocumentResponse')
29
+ BatchPutDocumentResponseFailedDocument = Shapes::StructureShape.new(name: 'BatchPutDocumentResponseFailedDocument')
30
+ BatchPutDocumentResponseFailedDocuments = Shapes::ListShape.new(name: 'BatchPutDocumentResponseFailedDocuments')
31
+ Blob = Shapes::BlobShape.new(name: 'Blob')
32
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
33
+ ChangeDetectingColumns = Shapes::ListShape.new(name: 'ChangeDetectingColumns')
34
+ ClickFeedback = Shapes::StructureShape.new(name: 'ClickFeedback')
35
+ ClickFeedbackList = Shapes::ListShape.new(name: 'ClickFeedbackList')
36
+ ColumnConfiguration = Shapes::StructureShape.new(name: 'ColumnConfiguration')
37
+ ColumnName = Shapes::StringShape.new(name: 'ColumnName')
38
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
39
+ ConnectionConfiguration = Shapes::StructureShape.new(name: 'ConnectionConfiguration')
40
+ ContentType = Shapes::StringShape.new(name: 'ContentType')
41
+ CreateDataSourceRequest = Shapes::StructureShape.new(name: 'CreateDataSourceRequest')
42
+ CreateDataSourceResponse = Shapes::StructureShape.new(name: 'CreateDataSourceResponse')
43
+ CreateFaqRequest = Shapes::StructureShape.new(name: 'CreateFaqRequest')
44
+ CreateFaqResponse = Shapes::StructureShape.new(name: 'CreateFaqResponse')
45
+ CreateIndexRequest = Shapes::StructureShape.new(name: 'CreateIndexRequest')
46
+ CreateIndexResponse = Shapes::StructureShape.new(name: 'CreateIndexResponse')
47
+ DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
48
+ DataSourceDateFieldFormat = Shapes::StringShape.new(name: 'DataSourceDateFieldFormat')
49
+ DataSourceFieldName = Shapes::StringShape.new(name: 'DataSourceFieldName')
50
+ DataSourceId = Shapes::StringShape.new(name: 'DataSourceId')
51
+ DataSourceInclusionsExclusionsStrings = Shapes::ListShape.new(name: 'DataSourceInclusionsExclusionsStrings')
52
+ DataSourceInclusionsExclusionsStringsMember = Shapes::StringShape.new(name: 'DataSourceInclusionsExclusionsStringsMember')
53
+ DataSourceName = Shapes::StringShape.new(name: 'DataSourceName')
54
+ DataSourceStatus = Shapes::StringShape.new(name: 'DataSourceStatus')
55
+ DataSourceSummary = Shapes::StructureShape.new(name: 'DataSourceSummary')
56
+ DataSourceSummaryList = Shapes::ListShape.new(name: 'DataSourceSummaryList')
57
+ DataSourceSyncJob = Shapes::StructureShape.new(name: 'DataSourceSyncJob')
58
+ DataSourceSyncJobHistoryList = Shapes::ListShape.new(name: 'DataSourceSyncJobHistoryList')
59
+ DataSourceSyncJobStatus = Shapes::StringShape.new(name: 'DataSourceSyncJobStatus')
60
+ DataSourceToIndexFieldMapping = Shapes::StructureShape.new(name: 'DataSourceToIndexFieldMapping')
61
+ DataSourceToIndexFieldMappingList = Shapes::ListShape.new(name: 'DataSourceToIndexFieldMappingList')
62
+ DataSourceType = Shapes::StringShape.new(name: 'DataSourceType')
63
+ DataSourceVpcConfiguration = Shapes::StructureShape.new(name: 'DataSourceVpcConfiguration')
64
+ DatabaseConfiguration = Shapes::StructureShape.new(name: 'DatabaseConfiguration')
65
+ DatabaseEngineType = Shapes::StringShape.new(name: 'DatabaseEngineType')
66
+ DatabaseHost = Shapes::StringShape.new(name: 'DatabaseHost')
67
+ DatabaseName = Shapes::StringShape.new(name: 'DatabaseName')
68
+ DatabasePort = Shapes::IntegerShape.new(name: 'DatabasePort')
69
+ DeleteFaqRequest = Shapes::StructureShape.new(name: 'DeleteFaqRequest')
70
+ DeleteIndexRequest = Shapes::StructureShape.new(name: 'DeleteIndexRequest')
71
+ DescribeDataSourceRequest = Shapes::StructureShape.new(name: 'DescribeDataSourceRequest')
72
+ DescribeDataSourceResponse = Shapes::StructureShape.new(name: 'DescribeDataSourceResponse')
73
+ DescribeFaqRequest = Shapes::StructureShape.new(name: 'DescribeFaqRequest')
74
+ DescribeFaqResponse = Shapes::StructureShape.new(name: 'DescribeFaqResponse')
75
+ DescribeIndexRequest = Shapes::StructureShape.new(name: 'DescribeIndexRequest')
76
+ DescribeIndexResponse = Shapes::StructureShape.new(name: 'DescribeIndexResponse')
77
+ Description = Shapes::StringShape.new(name: 'Description')
78
+ Document = Shapes::StructureShape.new(name: 'Document')
79
+ DocumentAttribute = Shapes::StructureShape.new(name: 'DocumentAttribute')
80
+ DocumentAttributeKey = Shapes::StringShape.new(name: 'DocumentAttributeKey')
81
+ DocumentAttributeKeyList = Shapes::ListShape.new(name: 'DocumentAttributeKeyList')
82
+ DocumentAttributeList = Shapes::ListShape.new(name: 'DocumentAttributeList')
83
+ DocumentAttributeStringListValue = Shapes::ListShape.new(name: 'DocumentAttributeStringListValue')
84
+ DocumentAttributeStringValue = Shapes::StringShape.new(name: 'DocumentAttributeStringValue')
85
+ DocumentAttributeValue = Shapes::StructureShape.new(name: 'DocumentAttributeValue')
86
+ DocumentAttributeValueCountPair = Shapes::StructureShape.new(name: 'DocumentAttributeValueCountPair')
87
+ DocumentAttributeValueCountPairList = Shapes::ListShape.new(name: 'DocumentAttributeValueCountPairList')
88
+ DocumentAttributeValueType = Shapes::StringShape.new(name: 'DocumentAttributeValueType')
89
+ DocumentId = Shapes::StringShape.new(name: 'DocumentId')
90
+ DocumentIdList = Shapes::ListShape.new(name: 'DocumentIdList')
91
+ DocumentList = Shapes::ListShape.new(name: 'DocumentList')
92
+ DocumentMetadataBoolean = Shapes::BooleanShape.new(name: 'DocumentMetadataBoolean')
93
+ DocumentMetadataConfiguration = Shapes::StructureShape.new(name: 'DocumentMetadataConfiguration')
94
+ DocumentMetadataConfigurationList = Shapes::ListShape.new(name: 'DocumentMetadataConfigurationList')
95
+ DocumentMetadataConfigurationName = Shapes::StringShape.new(name: 'DocumentMetadataConfigurationName')
96
+ DocumentsMetadataConfiguration = Shapes::StructureShape.new(name: 'DocumentsMetadataConfiguration')
97
+ Duration = Shapes::StringShape.new(name: 'Duration')
98
+ ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
99
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
100
+ Facet = Shapes::StructureShape.new(name: 'Facet')
101
+ FacetList = Shapes::ListShape.new(name: 'FacetList')
102
+ FacetResult = Shapes::StructureShape.new(name: 'FacetResult')
103
+ FacetResultList = Shapes::ListShape.new(name: 'FacetResultList')
104
+ FaqId = Shapes::StringShape.new(name: 'FaqId')
105
+ FaqName = Shapes::StringShape.new(name: 'FaqName')
106
+ FaqStatistics = Shapes::StructureShape.new(name: 'FaqStatistics')
107
+ FaqStatus = Shapes::StringShape.new(name: 'FaqStatus')
108
+ FaqSummary = Shapes::StructureShape.new(name: 'FaqSummary')
109
+ FaqSummaryItems = Shapes::ListShape.new(name: 'FaqSummaryItems')
110
+ Highlight = Shapes::StructureShape.new(name: 'Highlight')
111
+ HighlightList = Shapes::ListShape.new(name: 'HighlightList')
112
+ Importance = Shapes::IntegerShape.new(name: 'Importance')
113
+ IndexConfigurationSummary = Shapes::StructureShape.new(name: 'IndexConfigurationSummary')
114
+ IndexConfigurationSummaryList = Shapes::ListShape.new(name: 'IndexConfigurationSummaryList')
115
+ IndexFieldName = Shapes::StringShape.new(name: 'IndexFieldName')
116
+ IndexId = Shapes::StringShape.new(name: 'IndexId')
117
+ IndexName = Shapes::StringShape.new(name: 'IndexName')
118
+ IndexStatistics = Shapes::StructureShape.new(name: 'IndexStatistics')
119
+ IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
120
+ IndexedQuestionAnswersCount = Shapes::IntegerShape.new(name: 'IndexedQuestionAnswersCount')
121
+ IndexedTextDocumentsCount = Shapes::IntegerShape.new(name: 'IndexedTextDocumentsCount')
122
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
123
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
124
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
125
+ ListDataSourceSyncJobsRequest = Shapes::StructureShape.new(name: 'ListDataSourceSyncJobsRequest')
126
+ ListDataSourceSyncJobsResponse = Shapes::StructureShape.new(name: 'ListDataSourceSyncJobsResponse')
127
+ ListDataSourcesRequest = Shapes::StructureShape.new(name: 'ListDataSourcesRequest')
128
+ ListDataSourcesResponse = Shapes::StructureShape.new(name: 'ListDataSourcesResponse')
129
+ ListFaqsRequest = Shapes::StructureShape.new(name: 'ListFaqsRequest')
130
+ ListFaqsResponse = Shapes::StructureShape.new(name: 'ListFaqsResponse')
131
+ ListIndicesRequest = Shapes::StructureShape.new(name: 'ListIndicesRequest')
132
+ ListIndicesResponse = Shapes::StructureShape.new(name: 'ListIndicesResponse')
133
+ Long = Shapes::IntegerShape.new(name: 'Long')
134
+ MaxResultsIntegerForListDataSourceSyncJobsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListDataSourceSyncJobsRequest')
135
+ MaxResultsIntegerForListDataSourcesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListDataSourcesRequest')
136
+ MaxResultsIntegerForListFaqsRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListFaqsRequest')
137
+ MaxResultsIntegerForListIndicesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListIndicesRequest')
138
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
139
+ Order = Shapes::StringShape.new(name: 'Order')
140
+ Principal = Shapes::StructureShape.new(name: 'Principal')
141
+ PrincipalList = Shapes::ListShape.new(name: 'PrincipalList')
142
+ PrincipalName = Shapes::StringShape.new(name: 'PrincipalName')
143
+ PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
144
+ QueryId = Shapes::StringShape.new(name: 'QueryId')
145
+ QueryRequest = Shapes::StructureShape.new(name: 'QueryRequest')
146
+ QueryResult = Shapes::StructureShape.new(name: 'QueryResult')
147
+ QueryResultItem = Shapes::StructureShape.new(name: 'QueryResultItem')
148
+ QueryResultItemList = Shapes::ListShape.new(name: 'QueryResultItemList')
149
+ QueryResultType = Shapes::StringShape.new(name: 'QueryResultType')
150
+ QueryText = Shapes::StringShape.new(name: 'QueryText')
151
+ ReadAccessType = Shapes::StringShape.new(name: 'ReadAccessType')
152
+ Relevance = Shapes::StructureShape.new(name: 'Relevance')
153
+ RelevanceFeedback = Shapes::StructureShape.new(name: 'RelevanceFeedback')
154
+ RelevanceFeedbackList = Shapes::ListShape.new(name: 'RelevanceFeedbackList')
155
+ RelevanceType = Shapes::StringShape.new(name: 'RelevanceType')
156
+ ResourceAlreadyExistException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistException')
157
+ ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
158
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
159
+ ResourceUnavailableException = Shapes::StructureShape.new(name: 'ResourceUnavailableException')
160
+ ResultId = Shapes::StringShape.new(name: 'ResultId')
161
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
162
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
163
+ S3DataSourceConfiguration = Shapes::StructureShape.new(name: 'S3DataSourceConfiguration')
164
+ S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
165
+ S3Path = Shapes::StructureShape.new(name: 'S3Path')
166
+ ScanSchedule = Shapes::StringShape.new(name: 'ScanSchedule')
167
+ Search = Shapes::StructureShape.new(name: 'Search')
168
+ SecretArn = Shapes::StringShape.new(name: 'SecretArn')
169
+ SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
170
+ ServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'ServerSideEncryptionConfiguration')
171
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
172
+ SharePointConfiguration = Shapes::StructureShape.new(name: 'SharePointConfiguration')
173
+ SharePointUrlList = Shapes::ListShape.new(name: 'SharePointUrlList')
174
+ SharePointVersion = Shapes::StringShape.new(name: 'SharePointVersion')
175
+ StartDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobRequest')
176
+ StartDataSourceSyncJobResponse = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobResponse')
177
+ StopDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StopDataSourceSyncJobRequest')
178
+ String = Shapes::StringShape.new(name: 'String')
179
+ SubmitFeedbackRequest = Shapes::StructureShape.new(name: 'SubmitFeedbackRequest')
180
+ SubnetId = Shapes::StringShape.new(name: 'SubnetId')
181
+ SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
182
+ TableName = Shapes::StringShape.new(name: 'TableName')
183
+ TextDocumentStatistics = Shapes::StructureShape.new(name: 'TextDocumentStatistics')
184
+ TextWithHighlights = Shapes::StructureShape.new(name: 'TextWithHighlights')
185
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
186
+ TimeRange = Shapes::StructureShape.new(name: 'TimeRange')
187
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
188
+ Title = Shapes::StringShape.new(name: 'Title')
189
+ UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
190
+ UpdateIndexRequest = Shapes::StructureShape.new(name: 'UpdateIndexRequest')
191
+ Url = Shapes::StringShape.new(name: 'Url')
192
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
193
+ ValueImportanceMap = Shapes::MapShape.new(name: 'ValueImportanceMap')
194
+ ValueImportanceMapKey = Shapes::StringShape.new(name: 'ValueImportanceMapKey')
195
+ VpcSecurityGroupId = Shapes::StringShape.new(name: 'VpcSecurityGroupId')
196
+
197
+ AccessControlListConfiguration.add_member(:key_path, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "KeyPath"))
198
+ AccessControlListConfiguration.struct_class = Types::AccessControlListConfiguration
199
+
200
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
201
+ AccessDeniedException.struct_class = Types::AccessDeniedException
202
+
203
+ AclConfiguration.add_member(:allowed_groups_column_name, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "AllowedGroupsColumnName"))
204
+ AclConfiguration.struct_class = Types::AclConfiguration
205
+
206
+ AdditionalResultAttribute.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Key"))
207
+ AdditionalResultAttribute.add_member(:value_type, Shapes::ShapeRef.new(shape: AdditionalResultAttributeValueType, required: true, location_name: "ValueType"))
208
+ AdditionalResultAttribute.add_member(:value, Shapes::ShapeRef.new(shape: AdditionalResultAttributeValue, required: true, location_name: "Value"))
209
+ AdditionalResultAttribute.struct_class = Types::AdditionalResultAttribute
210
+
211
+ AdditionalResultAttributeList.member = Shapes::ShapeRef.new(shape: AdditionalResultAttribute)
212
+
213
+ AdditionalResultAttributeValue.add_member(:text_with_highlights_value, Shapes::ShapeRef.new(shape: TextWithHighlights, location_name: "TextWithHighlightsValue"))
214
+ AdditionalResultAttributeValue.struct_class = Types::AdditionalResultAttributeValue
215
+
216
+ AttributeFilter.add_member(:and_all_filters, Shapes::ShapeRef.new(shape: AttributeFilterList, location_name: "AndAllFilters"))
217
+ AttributeFilter.add_member(:or_all_filters, Shapes::ShapeRef.new(shape: AttributeFilterList, location_name: "OrAllFilters"))
218
+ AttributeFilter.add_member(:not_filter, Shapes::ShapeRef.new(shape: AttributeFilter, location_name: "NotFilter"))
219
+ AttributeFilter.add_member(:equals_to, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "EqualsTo"))
220
+ AttributeFilter.add_member(:contains_all, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "ContainsAll"))
221
+ AttributeFilter.add_member(:contains_any, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "ContainsAny"))
222
+ AttributeFilter.add_member(:greater_than, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "GreaterThan"))
223
+ AttributeFilter.add_member(:greater_than_or_equals, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "GreaterThanOrEquals"))
224
+ AttributeFilter.add_member(:less_than, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "LessThan"))
225
+ AttributeFilter.add_member(:less_than_or_equals, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "LessThanOrEquals"))
226
+ AttributeFilter.struct_class = Types::AttributeFilter
227
+
228
+ AttributeFilterList.member = Shapes::ShapeRef.new(shape: AttributeFilter)
229
+
230
+ BatchDeleteDocumentRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
231
+ BatchDeleteDocumentRequest.add_member(:document_id_list, Shapes::ShapeRef.new(shape: DocumentIdList, required: true, location_name: "DocumentIdList"))
232
+ BatchDeleteDocumentRequest.struct_class = Types::BatchDeleteDocumentRequest
233
+
234
+ BatchDeleteDocumentResponse.add_member(:failed_documents, Shapes::ShapeRef.new(shape: BatchDeleteDocumentResponseFailedDocuments, location_name: "FailedDocuments"))
235
+ BatchDeleteDocumentResponse.struct_class = Types::BatchDeleteDocumentResponse
236
+
237
+ BatchDeleteDocumentResponseFailedDocument.add_member(:id, Shapes::ShapeRef.new(shape: DocumentId, location_name: "Id"))
238
+ BatchDeleteDocumentResponseFailedDocument.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
239
+ BatchDeleteDocumentResponseFailedDocument.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
240
+ BatchDeleteDocumentResponseFailedDocument.struct_class = Types::BatchDeleteDocumentResponseFailedDocument
241
+
242
+ BatchDeleteDocumentResponseFailedDocuments.member = Shapes::ShapeRef.new(shape: BatchDeleteDocumentResponseFailedDocument)
243
+
244
+ BatchPutDocumentRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
245
+ BatchPutDocumentRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
246
+ BatchPutDocumentRequest.add_member(:documents, Shapes::ShapeRef.new(shape: DocumentList, required: true, location_name: "Documents"))
247
+ BatchPutDocumentRequest.struct_class = Types::BatchPutDocumentRequest
248
+
249
+ BatchPutDocumentResponse.add_member(:failed_documents, Shapes::ShapeRef.new(shape: BatchPutDocumentResponseFailedDocuments, location_name: "FailedDocuments"))
250
+ BatchPutDocumentResponse.struct_class = Types::BatchPutDocumentResponse
251
+
252
+ BatchPutDocumentResponseFailedDocument.add_member(:id, Shapes::ShapeRef.new(shape: DocumentId, location_name: "Id"))
253
+ BatchPutDocumentResponseFailedDocument.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
254
+ BatchPutDocumentResponseFailedDocument.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
255
+ BatchPutDocumentResponseFailedDocument.struct_class = Types::BatchPutDocumentResponseFailedDocument
256
+
257
+ BatchPutDocumentResponseFailedDocuments.member = Shapes::ShapeRef.new(shape: BatchPutDocumentResponseFailedDocument)
258
+
259
+ ChangeDetectingColumns.member = Shapes::ShapeRef.new(shape: ColumnName)
260
+
261
+ ClickFeedback.add_member(:result_id, Shapes::ShapeRef.new(shape: ResultId, required: true, location_name: "ResultId"))
262
+ ClickFeedback.add_member(:click_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ClickTime"))
263
+ ClickFeedback.struct_class = Types::ClickFeedback
264
+
265
+ ClickFeedbackList.member = Shapes::ShapeRef.new(shape: ClickFeedback)
266
+
267
+ ColumnConfiguration.add_member(:document_id_column_name, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "DocumentIdColumnName"))
268
+ ColumnConfiguration.add_member(:document_data_column_name, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "DocumentDataColumnName"))
269
+ ColumnConfiguration.add_member(:document_title_column_name, Shapes::ShapeRef.new(shape: ColumnName, location_name: "DocumentTitleColumnName"))
270
+ ColumnConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
271
+ ColumnConfiguration.add_member(:change_detecting_columns, Shapes::ShapeRef.new(shape: ChangeDetectingColumns, required: true, location_name: "ChangeDetectingColumns"))
272
+ ColumnConfiguration.struct_class = Types::ColumnConfiguration
273
+
274
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
275
+ ConflictException.struct_class = Types::ConflictException
276
+
277
+ ConnectionConfiguration.add_member(:database_host, Shapes::ShapeRef.new(shape: DatabaseHost, required: true, location_name: "DatabaseHost"))
278
+ ConnectionConfiguration.add_member(:database_port, Shapes::ShapeRef.new(shape: DatabasePort, required: true, location_name: "DatabasePort"))
279
+ ConnectionConfiguration.add_member(:database_name, Shapes::ShapeRef.new(shape: DatabaseName, required: true, location_name: "DatabaseName"))
280
+ ConnectionConfiguration.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
281
+ ConnectionConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
282
+ ConnectionConfiguration.struct_class = Types::ConnectionConfiguration
283
+
284
+ CreateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location_name: "Name"))
285
+ CreateDataSourceRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
286
+ CreateDataSourceRequest.add_member(:type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "Type"))
287
+ CreateDataSourceRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, required: true, location_name: "Configuration"))
288
+ CreateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
289
+ CreateDataSourceRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: ScanSchedule, location_name: "Schedule"))
290
+ CreateDataSourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
291
+ CreateDataSourceRequest.struct_class = Types::CreateDataSourceRequest
292
+
293
+ CreateDataSourceResponse.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
294
+ CreateDataSourceResponse.struct_class = Types::CreateDataSourceResponse
295
+
296
+ CreateFaqRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
297
+ CreateFaqRequest.add_member(:name, Shapes::ShapeRef.new(shape: FaqName, required: true, location_name: "Name"))
298
+ CreateFaqRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
299
+ CreateFaqRequest.add_member(:s3_path, Shapes::ShapeRef.new(shape: S3Path, required: true, location_name: "S3Path"))
300
+ CreateFaqRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
301
+ CreateFaqRequest.struct_class = Types::CreateFaqRequest
302
+
303
+ CreateFaqResponse.add_member(:id, Shapes::ShapeRef.new(shape: FaqId, location_name: "Id"))
304
+ CreateFaqResponse.struct_class = Types::CreateFaqResponse
305
+
306
+ CreateIndexRequest.add_member(:name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "Name"))
307
+ CreateIndexRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
308
+ CreateIndexRequest.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "ServerSideEncryptionConfiguration"))
309
+ CreateIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
310
+ CreateIndexRequest.struct_class = Types::CreateIndexRequest
311
+
312
+ CreateIndexResponse.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, location_name: "Id"))
313
+ CreateIndexResponse.struct_class = Types::CreateIndexResponse
314
+
315
+ DataSourceConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3DataSourceConfiguration, location_name: "S3Configuration"))
316
+ DataSourceConfiguration.add_member(:share_point_configuration, Shapes::ShapeRef.new(shape: SharePointConfiguration, location_name: "SharePointConfiguration"))
317
+ DataSourceConfiguration.add_member(:database_configuration, Shapes::ShapeRef.new(shape: DatabaseConfiguration, location_name: "DatabaseConfiguration"))
318
+ DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
319
+
320
+ DataSourceInclusionsExclusionsStrings.member = Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStringsMember)
321
+
322
+ DataSourceSummary.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, location_name: "Name"))
323
+ DataSourceSummary.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, location_name: "Id"))
324
+ DataSourceSummary.add_member(:type, Shapes::ShapeRef.new(shape: DataSourceType, location_name: "Type"))
325
+ DataSourceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
326
+ DataSourceSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
327
+ DataSourceSummary.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, location_name: "Status"))
328
+ DataSourceSummary.struct_class = Types::DataSourceSummary
329
+
330
+ DataSourceSummaryList.member = Shapes::ShapeRef.new(shape: DataSourceSummary)
331
+
332
+ DataSourceSyncJob.add_member(:execution_id, Shapes::ShapeRef.new(shape: String, location_name: "ExecutionId"))
333
+ DataSourceSyncJob.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
334
+ DataSourceSyncJob.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
335
+ DataSourceSyncJob.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceSyncJobStatus, location_name: "Status"))
336
+ DataSourceSyncJob.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
337
+ DataSourceSyncJob.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
338
+ DataSourceSyncJob.add_member(:data_source_error_code, Shapes::ShapeRef.new(shape: String, location_name: "DataSourceErrorCode"))
339
+ DataSourceSyncJob.struct_class = Types::DataSourceSyncJob
340
+
341
+ DataSourceSyncJobHistoryList.member = Shapes::ShapeRef.new(shape: DataSourceSyncJob)
342
+
343
+ DataSourceToIndexFieldMapping.add_member(:data_source_field_name, Shapes::ShapeRef.new(shape: DataSourceFieldName, required: true, location_name: "DataSourceFieldName"))
344
+ DataSourceToIndexFieldMapping.add_member(:date_field_format, Shapes::ShapeRef.new(shape: DataSourceDateFieldFormat, location_name: "DateFieldFormat"))
345
+ DataSourceToIndexFieldMapping.add_member(:index_field_name, Shapes::ShapeRef.new(shape: IndexFieldName, required: true, location_name: "IndexFieldName"))
346
+ DataSourceToIndexFieldMapping.struct_class = Types::DataSourceToIndexFieldMapping
347
+
348
+ DataSourceToIndexFieldMappingList.member = Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMapping)
349
+
350
+ DataSourceVpcConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, required: true, location_name: "SubnetIds"))
351
+ DataSourceVpcConfiguration.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, required: true, location_name: "SecurityGroupIds"))
352
+ DataSourceVpcConfiguration.struct_class = Types::DataSourceVpcConfiguration
353
+
354
+ DatabaseConfiguration.add_member(:database_engine_type, Shapes::ShapeRef.new(shape: DatabaseEngineType, required: true, location_name: "DatabaseEngineType"))
355
+ DatabaseConfiguration.add_member(:connection_configuration, Shapes::ShapeRef.new(shape: ConnectionConfiguration, required: true, location_name: "ConnectionConfiguration"))
356
+ DatabaseConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
357
+ DatabaseConfiguration.add_member(:column_configuration, Shapes::ShapeRef.new(shape: ColumnConfiguration, required: true, location_name: "ColumnConfiguration"))
358
+ DatabaseConfiguration.add_member(:acl_configuration, Shapes::ShapeRef.new(shape: AclConfiguration, location_name: "AclConfiguration"))
359
+ DatabaseConfiguration.struct_class = Types::DatabaseConfiguration
360
+
361
+ DeleteFaqRequest.add_member(:id, Shapes::ShapeRef.new(shape: FaqId, required: true, location_name: "Id"))
362
+ DeleteFaqRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
363
+ DeleteFaqRequest.struct_class = Types::DeleteFaqRequest
364
+
365
+ DeleteIndexRequest.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "Id"))
366
+ DeleteIndexRequest.struct_class = Types::DeleteIndexRequest
367
+
368
+ DescribeDataSourceRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
369
+ DescribeDataSourceRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
370
+ DescribeDataSourceRequest.struct_class = Types::DescribeDataSourceRequest
371
+
372
+ DescribeDataSourceResponse.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, location_name: "Id"))
373
+ DescribeDataSourceResponse.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, location_name: "IndexId"))
374
+ DescribeDataSourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, location_name: "Name"))
375
+ DescribeDataSourceResponse.add_member(:type, Shapes::ShapeRef.new(shape: DataSourceType, location_name: "Type"))
376
+ DescribeDataSourceResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, location_name: "Configuration"))
377
+ DescribeDataSourceResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
378
+ DescribeDataSourceResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
379
+ DescribeDataSourceResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
380
+ DescribeDataSourceResponse.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, location_name: "Status"))
381
+ DescribeDataSourceResponse.add_member(:schedule, Shapes::ShapeRef.new(shape: ScanSchedule, location_name: "Schedule"))
382
+ DescribeDataSourceResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
383
+ DescribeDataSourceResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
384
+ DescribeDataSourceResponse.struct_class = Types::DescribeDataSourceResponse
385
+
386
+ DescribeFaqRequest.add_member(:id, Shapes::ShapeRef.new(shape: FaqId, required: true, location_name: "Id"))
387
+ DescribeFaqRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
388
+ DescribeFaqRequest.struct_class = Types::DescribeFaqRequest
389
+
390
+ DescribeFaqResponse.add_member(:id, Shapes::ShapeRef.new(shape: FaqId, location_name: "Id"))
391
+ DescribeFaqResponse.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, location_name: "IndexId"))
392
+ DescribeFaqResponse.add_member(:name, Shapes::ShapeRef.new(shape: FaqName, location_name: "Name"))
393
+ DescribeFaqResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
394
+ DescribeFaqResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
395
+ DescribeFaqResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
396
+ DescribeFaqResponse.add_member(:s3_path, Shapes::ShapeRef.new(shape: S3Path, location_name: "S3Path"))
397
+ DescribeFaqResponse.add_member(:status, Shapes::ShapeRef.new(shape: FaqStatus, location_name: "Status"))
398
+ DescribeFaqResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
399
+ DescribeFaqResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
400
+ DescribeFaqResponse.struct_class = Types::DescribeFaqResponse
401
+
402
+ DescribeIndexRequest.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "Id"))
403
+ DescribeIndexRequest.struct_class = Types::DescribeIndexRequest
404
+
405
+ DescribeIndexResponse.add_member(:name, Shapes::ShapeRef.new(shape: IndexName, location_name: "Name"))
406
+ DescribeIndexResponse.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, location_name: "Id"))
407
+ DescribeIndexResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
408
+ DescribeIndexResponse.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "ServerSideEncryptionConfiguration"))
409
+ DescribeIndexResponse.add_member(:status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "Status"))
410
+ DescribeIndexResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
411
+ DescribeIndexResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
412
+ DescribeIndexResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
413
+ DescribeIndexResponse.add_member(:document_metadata_configurations, Shapes::ShapeRef.new(shape: DocumentMetadataConfigurationList, location_name: "DocumentMetadataConfigurations"))
414
+ DescribeIndexResponse.add_member(:index_statistics, Shapes::ShapeRef.new(shape: IndexStatistics, location_name: "IndexStatistics"))
415
+ DescribeIndexResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
416
+ DescribeIndexResponse.struct_class = Types::DescribeIndexResponse
417
+
418
+ Document.add_member(:id, Shapes::ShapeRef.new(shape: DocumentId, required: true, location_name: "Id"))
419
+ Document.add_member(:title, Shapes::ShapeRef.new(shape: Title, location_name: "Title"))
420
+ Document.add_member(:blob, Shapes::ShapeRef.new(shape: Blob, location_name: "Blob"))
421
+ Document.add_member(:s3_path, Shapes::ShapeRef.new(shape: S3Path, location_name: "S3Path"))
422
+ Document.add_member(:attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "Attributes"))
423
+ Document.add_member(:access_control_list, Shapes::ShapeRef.new(shape: PrincipalList, location_name: "AccessControlList"))
424
+ Document.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location_name: "ContentType"))
425
+ Document.struct_class = Types::Document
426
+
427
+ DocumentAttribute.add_member(:key, Shapes::ShapeRef.new(shape: DocumentAttributeKey, required: true, location_name: "Key"))
428
+ DocumentAttribute.add_member(:value, Shapes::ShapeRef.new(shape: DocumentAttributeValue, required: true, location_name: "Value"))
429
+ DocumentAttribute.struct_class = Types::DocumentAttribute
430
+
431
+ DocumentAttributeKeyList.member = Shapes::ShapeRef.new(shape: DocumentAttributeKey)
432
+
433
+ DocumentAttributeList.member = Shapes::ShapeRef.new(shape: DocumentAttribute)
434
+
435
+ DocumentAttributeStringListValue.member = Shapes::ShapeRef.new(shape: String)
436
+
437
+ DocumentAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: DocumentAttributeStringValue, location_name: "StringValue"))
438
+ DocumentAttributeValue.add_member(:string_list_value, Shapes::ShapeRef.new(shape: DocumentAttributeStringListValue, location_name: "StringListValue"))
439
+ DocumentAttributeValue.add_member(:long_value, Shapes::ShapeRef.new(shape: Long, location_name: "LongValue"))
440
+ DocumentAttributeValue.add_member(:date_value, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateValue"))
441
+ DocumentAttributeValue.struct_class = Types::DocumentAttributeValue
442
+
443
+ DocumentAttributeValueCountPair.add_member(:document_attribute_value, Shapes::ShapeRef.new(shape: DocumentAttributeValue, location_name: "DocumentAttributeValue"))
444
+ DocumentAttributeValueCountPair.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "Count"))
445
+ DocumentAttributeValueCountPair.struct_class = Types::DocumentAttributeValueCountPair
446
+
447
+ DocumentAttributeValueCountPairList.member = Shapes::ShapeRef.new(shape: DocumentAttributeValueCountPair)
448
+
449
+ DocumentIdList.member = Shapes::ShapeRef.new(shape: DocumentId)
450
+
451
+ DocumentList.member = Shapes::ShapeRef.new(shape: Document)
452
+
453
+ DocumentMetadataConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: DocumentMetadataConfigurationName, required: true, location_name: "Name"))
454
+ DocumentMetadataConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: DocumentAttributeValueType, required: true, location_name: "Type"))
455
+ DocumentMetadataConfiguration.add_member(:relevance, Shapes::ShapeRef.new(shape: Relevance, location_name: "Relevance"))
456
+ DocumentMetadataConfiguration.add_member(:search, Shapes::ShapeRef.new(shape: Search, location_name: "Search"))
457
+ DocumentMetadataConfiguration.struct_class = Types::DocumentMetadataConfiguration
458
+
459
+ DocumentMetadataConfigurationList.member = Shapes::ShapeRef.new(shape: DocumentMetadataConfiguration)
460
+
461
+ DocumentsMetadataConfiguration.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "S3Prefix"))
462
+ DocumentsMetadataConfiguration.struct_class = Types::DocumentsMetadataConfiguration
463
+
464
+ Facet.add_member(:document_attribute_key, Shapes::ShapeRef.new(shape: DocumentAttributeKey, location_name: "DocumentAttributeKey"))
465
+ Facet.struct_class = Types::Facet
466
+
467
+ FacetList.member = Shapes::ShapeRef.new(shape: Facet)
468
+
469
+ FacetResult.add_member(:document_attribute_key, Shapes::ShapeRef.new(shape: DocumentAttributeKey, location_name: "DocumentAttributeKey"))
470
+ FacetResult.add_member(:document_attribute_value_count_pairs, Shapes::ShapeRef.new(shape: DocumentAttributeValueCountPairList, location_name: "DocumentAttributeValueCountPairs"))
471
+ FacetResult.struct_class = Types::FacetResult
472
+
473
+ FacetResultList.member = Shapes::ShapeRef.new(shape: FacetResult)
474
+
475
+ FaqStatistics.add_member(:indexed_question_answers_count, Shapes::ShapeRef.new(shape: IndexedQuestionAnswersCount, required: true, location_name: "IndexedQuestionAnswersCount"))
476
+ FaqStatistics.struct_class = Types::FaqStatistics
477
+
478
+ FaqSummary.add_member(:id, Shapes::ShapeRef.new(shape: FaqId, location_name: "Id"))
479
+ FaqSummary.add_member(:name, Shapes::ShapeRef.new(shape: FaqName, location_name: "Name"))
480
+ FaqSummary.add_member(:status, Shapes::ShapeRef.new(shape: FaqStatus, location_name: "Status"))
481
+ FaqSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
482
+ FaqSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
483
+ FaqSummary.struct_class = Types::FaqSummary
484
+
485
+ FaqSummaryItems.member = Shapes::ShapeRef.new(shape: FaqSummary)
486
+
487
+ Highlight.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "BeginOffset"))
488
+ Highlight.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "EndOffset"))
489
+ Highlight.add_member(:top_answer, Shapes::ShapeRef.new(shape: Boolean, location_name: "TopAnswer"))
490
+ Highlight.struct_class = Types::Highlight
491
+
492
+ HighlightList.member = Shapes::ShapeRef.new(shape: Highlight)
493
+
494
+ IndexConfigurationSummary.add_member(:name, Shapes::ShapeRef.new(shape: IndexName, location_name: "Name"))
495
+ IndexConfigurationSummary.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, location_name: "Id"))
496
+ IndexConfigurationSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
497
+ IndexConfigurationSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
498
+ IndexConfigurationSummary.add_member(:status, Shapes::ShapeRef.new(shape: IndexStatus, required: true, location_name: "Status"))
499
+ IndexConfigurationSummary.struct_class = Types::IndexConfigurationSummary
500
+
501
+ IndexConfigurationSummaryList.member = Shapes::ShapeRef.new(shape: IndexConfigurationSummary)
502
+
503
+ IndexStatistics.add_member(:faq_statistics, Shapes::ShapeRef.new(shape: FaqStatistics, required: true, location_name: "FaqStatistics"))
504
+ IndexStatistics.add_member(:text_document_statistics, Shapes::ShapeRef.new(shape: TextDocumentStatistics, required: true, location_name: "TextDocumentStatistics"))
505
+ IndexStatistics.struct_class = Types::IndexStatistics
506
+
507
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
508
+ InternalServerException.struct_class = Types::InternalServerException
509
+
510
+ ListDataSourceSyncJobsRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
511
+ ListDataSourceSyncJobsRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
512
+ ListDataSourceSyncJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
513
+ ListDataSourceSyncJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsIntegerForListDataSourceSyncJobsRequest, location_name: "MaxResults"))
514
+ ListDataSourceSyncJobsRequest.add_member(:start_time_filter, Shapes::ShapeRef.new(shape: TimeRange, location_name: "StartTimeFilter"))
515
+ ListDataSourceSyncJobsRequest.add_member(:status_filter, Shapes::ShapeRef.new(shape: DataSourceSyncJobStatus, location_name: "StatusFilter"))
516
+ ListDataSourceSyncJobsRequest.struct_class = Types::ListDataSourceSyncJobsRequest
517
+
518
+ ListDataSourceSyncJobsResponse.add_member(:history, Shapes::ShapeRef.new(shape: DataSourceSyncJobHistoryList, location_name: "History"))
519
+ ListDataSourceSyncJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
520
+ ListDataSourceSyncJobsResponse.struct_class = Types::ListDataSourceSyncJobsResponse
521
+
522
+ ListDataSourcesRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
523
+ ListDataSourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
524
+ ListDataSourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsIntegerForListDataSourcesRequest, location_name: "MaxResults"))
525
+ ListDataSourcesRequest.struct_class = Types::ListDataSourcesRequest
526
+
527
+ ListDataSourcesResponse.add_member(:summary_items, Shapes::ShapeRef.new(shape: DataSourceSummaryList, location_name: "SummaryItems"))
528
+ ListDataSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
529
+ ListDataSourcesResponse.struct_class = Types::ListDataSourcesResponse
530
+
531
+ ListFaqsRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
532
+ ListFaqsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
533
+ ListFaqsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsIntegerForListFaqsRequest, location_name: "MaxResults"))
534
+ ListFaqsRequest.struct_class = Types::ListFaqsRequest
535
+
536
+ ListFaqsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
537
+ ListFaqsResponse.add_member(:faq_summary_items, Shapes::ShapeRef.new(shape: FaqSummaryItems, location_name: "FaqSummaryItems"))
538
+ ListFaqsResponse.struct_class = Types::ListFaqsResponse
539
+
540
+ ListIndicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
541
+ ListIndicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsIntegerForListIndicesRequest, location_name: "MaxResults"))
542
+ ListIndicesRequest.struct_class = Types::ListIndicesRequest
543
+
544
+ ListIndicesResponse.add_member(:index_configuration_summary_items, Shapes::ShapeRef.new(shape: IndexConfigurationSummaryList, location_name: "IndexConfigurationSummaryItems"))
545
+ ListIndicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
546
+ ListIndicesResponse.struct_class = Types::ListIndicesResponse
547
+
548
+ Principal.add_member(:name, Shapes::ShapeRef.new(shape: PrincipalName, required: true, location_name: "Name"))
549
+ Principal.add_member(:type, Shapes::ShapeRef.new(shape: PrincipalType, required: true, location_name: "Type"))
550
+ Principal.add_member(:access, Shapes::ShapeRef.new(shape: ReadAccessType, required: true, location_name: "Access"))
551
+ Principal.struct_class = Types::Principal
552
+
553
+ PrincipalList.member = Shapes::ShapeRef.new(shape: Principal)
554
+
555
+ QueryRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
556
+ QueryRequest.add_member(:query_text, Shapes::ShapeRef.new(shape: QueryText, required: true, location_name: "QueryText"))
557
+ QueryRequest.add_member(:attribute_filter, Shapes::ShapeRef.new(shape: AttributeFilter, location_name: "AttributeFilter"))
558
+ QueryRequest.add_member(:facets, Shapes::ShapeRef.new(shape: FacetList, location_name: "Facets"))
559
+ QueryRequest.add_member(:requested_document_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeKeyList, location_name: "RequestedDocumentAttributes"))
560
+ QueryRequest.add_member(:query_result_type_filter, Shapes::ShapeRef.new(shape: QueryResultType, location_name: "QueryResultTypeFilter"))
561
+ QueryRequest.add_member(:page_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PageNumber"))
562
+ QueryRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: Integer, location_name: "PageSize"))
563
+ QueryRequest.struct_class = Types::QueryRequest
564
+
565
+ QueryResult.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "QueryId"))
566
+ QueryResult.add_member(:result_items, Shapes::ShapeRef.new(shape: QueryResultItemList, location_name: "ResultItems"))
567
+ QueryResult.add_member(:facet_results, Shapes::ShapeRef.new(shape: FacetResultList, location_name: "FacetResults"))
568
+ QueryResult.add_member(:total_number_of_results, Shapes::ShapeRef.new(shape: Integer, location_name: "TotalNumberOfResults"))
569
+ QueryResult.struct_class = Types::QueryResult
570
+
571
+ QueryResultItem.add_member(:id, Shapes::ShapeRef.new(shape: ResultId, location_name: "Id"))
572
+ QueryResultItem.add_member(:type, Shapes::ShapeRef.new(shape: QueryResultType, location_name: "Type"))
573
+ QueryResultItem.add_member(:additional_attributes, Shapes::ShapeRef.new(shape: AdditionalResultAttributeList, location_name: "AdditionalAttributes"))
574
+ QueryResultItem.add_member(:document_id, Shapes::ShapeRef.new(shape: DocumentId, location_name: "DocumentId"))
575
+ QueryResultItem.add_member(:document_title, Shapes::ShapeRef.new(shape: TextWithHighlights, location_name: "DocumentTitle"))
576
+ QueryResultItem.add_member(:document_excerpt, Shapes::ShapeRef.new(shape: TextWithHighlights, location_name: "DocumentExcerpt"))
577
+ QueryResultItem.add_member(:document_uri, Shapes::ShapeRef.new(shape: Url, location_name: "DocumentURI"))
578
+ QueryResultItem.add_member(:document_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "DocumentAttributes"))
579
+ QueryResultItem.struct_class = Types::QueryResultItem
580
+
581
+ QueryResultItemList.member = Shapes::ShapeRef.new(shape: QueryResultItem)
582
+
583
+ Relevance.add_member(:freshness, Shapes::ShapeRef.new(shape: DocumentMetadataBoolean, location_name: "Freshness"))
584
+ Relevance.add_member(:importance, Shapes::ShapeRef.new(shape: Importance, location_name: "Importance"))
585
+ Relevance.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration"))
586
+ Relevance.add_member(:rank_order, Shapes::ShapeRef.new(shape: Order, location_name: "RankOrder"))
587
+ Relevance.add_member(:value_importance_map, Shapes::ShapeRef.new(shape: ValueImportanceMap, location_name: "ValueImportanceMap"))
588
+ Relevance.struct_class = Types::Relevance
589
+
590
+ RelevanceFeedback.add_member(:result_id, Shapes::ShapeRef.new(shape: ResultId, required: true, location_name: "ResultId"))
591
+ RelevanceFeedback.add_member(:relevance_value, Shapes::ShapeRef.new(shape: RelevanceType, required: true, location_name: "RelevanceValue"))
592
+ RelevanceFeedback.struct_class = Types::RelevanceFeedback
593
+
594
+ RelevanceFeedbackList.member = Shapes::ShapeRef.new(shape: RelevanceFeedback)
595
+
596
+ ResourceAlreadyExistException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
597
+ ResourceAlreadyExistException.struct_class = Types::ResourceAlreadyExistException
598
+
599
+ ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
600
+ ResourceInUseException.struct_class = Types::ResourceInUseException
601
+
602
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
603
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
604
+
605
+ ResourceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
606
+ ResourceUnavailableException.struct_class = Types::ResourceUnavailableException
607
+
608
+ S3DataSourceConfiguration.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "BucketName"))
609
+ S3DataSourceConfiguration.add_member(:inclusion_prefixes, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "InclusionPrefixes"))
610
+ S3DataSourceConfiguration.add_member(:exclusion_patterns, Shapes::ShapeRef.new(shape: DataSourceInclusionsExclusionsStrings, location_name: "ExclusionPatterns"))
611
+ S3DataSourceConfiguration.add_member(:documents_metadata_configuration, Shapes::ShapeRef.new(shape: DocumentsMetadataConfiguration, location_name: "DocumentsMetadataConfiguration"))
612
+ S3DataSourceConfiguration.add_member(:access_control_list_configuration, Shapes::ShapeRef.new(shape: AccessControlListConfiguration, location_name: "AccessControlListConfiguration"))
613
+ S3DataSourceConfiguration.struct_class = Types::S3DataSourceConfiguration
614
+
615
+ S3Path.add_member(:bucket, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "Bucket"))
616
+ S3Path.add_member(:key, Shapes::ShapeRef.new(shape: S3ObjectKey, required: true, location_name: "Key"))
617
+ S3Path.struct_class = Types::S3Path
618
+
619
+ Search.add_member(:facetable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Facetable"))
620
+ Search.add_member(:searchable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Searchable"))
621
+ Search.add_member(:displayable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Displayable"))
622
+ Search.struct_class = Types::Search
623
+
624
+ SecurityGroupIdList.member = Shapes::ShapeRef.new(shape: VpcSecurityGroupId)
625
+
626
+ ServerSideEncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
627
+ ServerSideEncryptionConfiguration.struct_class = Types::ServerSideEncryptionConfiguration
628
+
629
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
630
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
631
+
632
+ SharePointConfiguration.add_member(:share_point_version, Shapes::ShapeRef.new(shape: SharePointVersion, required: true, location_name: "SharePointVersion"))
633
+ SharePointConfiguration.add_member(:urls, Shapes::ShapeRef.new(shape: SharePointUrlList, required: true, location_name: "Urls"))
634
+ SharePointConfiguration.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "SecretArn"))
635
+ SharePointConfiguration.add_member(:crawl_attachments, Shapes::ShapeRef.new(shape: Boolean, location_name: "CrawlAttachments"))
636
+ SharePointConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: DataSourceVpcConfiguration, location_name: "VpcConfiguration"))
637
+ SharePointConfiguration.add_member(:field_mappings, Shapes::ShapeRef.new(shape: DataSourceToIndexFieldMappingList, location_name: "FieldMappings"))
638
+ SharePointConfiguration.struct_class = Types::SharePointConfiguration
639
+
640
+ SharePointUrlList.member = Shapes::ShapeRef.new(shape: Url)
641
+
642
+ StartDataSourceSyncJobRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
643
+ StartDataSourceSyncJobRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
644
+ StartDataSourceSyncJobRequest.struct_class = Types::StartDataSourceSyncJobRequest
645
+
646
+ StartDataSourceSyncJobResponse.add_member(:execution_id, Shapes::ShapeRef.new(shape: String, location_name: "ExecutionId"))
647
+ StartDataSourceSyncJobResponse.struct_class = Types::StartDataSourceSyncJobResponse
648
+
649
+ StopDataSourceSyncJobRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
650
+ StopDataSourceSyncJobRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
651
+ StopDataSourceSyncJobRequest.struct_class = Types::StopDataSourceSyncJobRequest
652
+
653
+ SubmitFeedbackRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
654
+ SubmitFeedbackRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, required: true, location_name: "QueryId"))
655
+ SubmitFeedbackRequest.add_member(:click_feedback_items, Shapes::ShapeRef.new(shape: ClickFeedbackList, location_name: "ClickFeedbackItems"))
656
+ SubmitFeedbackRequest.add_member(:relevance_feedback_items, Shapes::ShapeRef.new(shape: RelevanceFeedbackList, location_name: "RelevanceFeedbackItems"))
657
+ SubmitFeedbackRequest.struct_class = Types::SubmitFeedbackRequest
658
+
659
+ SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId)
660
+
661
+ TextDocumentStatistics.add_member(:indexed_text_documents_count, Shapes::ShapeRef.new(shape: IndexedTextDocumentsCount, required: true, location_name: "IndexedTextDocumentsCount"))
662
+ TextDocumentStatistics.struct_class = Types::TextDocumentStatistics
663
+
664
+ TextWithHighlights.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
665
+ TextWithHighlights.add_member(:highlights, Shapes::ShapeRef.new(shape: HighlightList, location_name: "Highlights"))
666
+ TextWithHighlights.struct_class = Types::TextWithHighlights
667
+
668
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
669
+ ThrottlingException.struct_class = Types::ThrottlingException
670
+
671
+ TimeRange.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
672
+ TimeRange.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
673
+ TimeRange.struct_class = Types::TimeRange
674
+
675
+ UpdateDataSourceRequest.add_member(:id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location_name: "Id"))
676
+ UpdateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, location_name: "Name"))
677
+ UpdateDataSourceRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "IndexId"))
678
+ UpdateDataSourceRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, location_name: "Configuration"))
679
+ UpdateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
680
+ UpdateDataSourceRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: ScanSchedule, location_name: "Schedule"))
681
+ UpdateDataSourceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
682
+ UpdateDataSourceRequest.struct_class = Types::UpdateDataSourceRequest
683
+
684
+ UpdateIndexRequest.add_member(:id, Shapes::ShapeRef.new(shape: IndexId, required: true, location_name: "Id"))
685
+ UpdateIndexRequest.add_member(:name, Shapes::ShapeRef.new(shape: IndexName, location_name: "Name"))
686
+ UpdateIndexRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
687
+ UpdateIndexRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
688
+ UpdateIndexRequest.add_member(:document_metadata_configuration_updates, Shapes::ShapeRef.new(shape: DocumentMetadataConfigurationList, location_name: "DocumentMetadataConfigurationUpdates"))
689
+ UpdateIndexRequest.struct_class = Types::UpdateIndexRequest
690
+
691
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
692
+ ValidationException.struct_class = Types::ValidationException
693
+
694
+ ValueImportanceMap.key = Shapes::ShapeRef.new(shape: ValueImportanceMapKey)
695
+ ValueImportanceMap.value = Shapes::ShapeRef.new(shape: Importance)
696
+
697
+
698
+ # @api private
699
+ API = Seahorse::Model::Api.new.tap do |api|
700
+
701
+ api.version = "2019-02-03"
702
+
703
+ api.metadata = {
704
+ "apiVersion" => "2019-02-03",
705
+ "endpointPrefix" => "kendra",
706
+ "jsonVersion" => "1.1",
707
+ "protocol" => "json",
708
+ "serviceAbbreviation" => "kendra",
709
+ "serviceFullName" => "AWSKendraFrontendService",
710
+ "serviceId" => "kendra",
711
+ "signatureVersion" => "v4",
712
+ "signingName" => "kendra",
713
+ "targetPrefix" => "AWSKendraFrontendService",
714
+ "uid" => "kendra-2019-02-03",
715
+ }
716
+
717
+ api.add_operation(:batch_delete_document, Seahorse::Model::Operation.new.tap do |o|
718
+ o.name = "BatchDeleteDocument"
719
+ o.http_method = "POST"
720
+ o.http_request_uri = "/"
721
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteDocumentRequest)
722
+ o.output = Shapes::ShapeRef.new(shape: BatchDeleteDocumentResponse)
723
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
724
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
725
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
726
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
727
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
728
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
729
+ end)
730
+
731
+ api.add_operation(:batch_put_document, Seahorse::Model::Operation.new.tap do |o|
732
+ o.name = "BatchPutDocument"
733
+ o.http_method = "POST"
734
+ o.http_request_uri = "/"
735
+ o.input = Shapes::ShapeRef.new(shape: BatchPutDocumentRequest)
736
+ o.output = Shapes::ShapeRef.new(shape: BatchPutDocumentResponse)
737
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
738
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
739
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
740
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
741
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
742
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
743
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
744
+ end)
745
+
746
+ api.add_operation(:create_data_source, Seahorse::Model::Operation.new.tap do |o|
747
+ o.name = "CreateDataSource"
748
+ o.http_method = "POST"
749
+ o.http_request_uri = "/"
750
+ o.input = Shapes::ShapeRef.new(shape: CreateDataSourceRequest)
751
+ o.output = Shapes::ShapeRef.new(shape: CreateDataSourceResponse)
752
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
753
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
754
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
755
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistException)
756
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
757
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
758
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
759
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
760
+ end)
761
+
762
+ api.add_operation(:create_faq, Seahorse::Model::Operation.new.tap do |o|
763
+ o.name = "CreateFaq"
764
+ o.http_method = "POST"
765
+ o.http_request_uri = "/"
766
+ o.input = Shapes::ShapeRef.new(shape: CreateFaqRequest)
767
+ o.output = Shapes::ShapeRef.new(shape: CreateFaqResponse)
768
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
769
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
770
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
771
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
772
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
773
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
774
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
775
+ end)
776
+
777
+ api.add_operation(:create_index, Seahorse::Model::Operation.new.tap do |o|
778
+ o.name = "CreateIndex"
779
+ o.http_method = "POST"
780
+ o.http_request_uri = "/"
781
+ o.input = Shapes::ShapeRef.new(shape: CreateIndexRequest)
782
+ o.output = Shapes::ShapeRef.new(shape: CreateIndexResponse)
783
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
784
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistException)
785
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
786
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
787
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
788
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
789
+ end)
790
+
791
+ api.add_operation(:delete_faq, Seahorse::Model::Operation.new.tap do |o|
792
+ o.name = "DeleteFaq"
793
+ o.http_method = "POST"
794
+ o.http_request_uri = "/"
795
+ o.input = Shapes::ShapeRef.new(shape: DeleteFaqRequest)
796
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
797
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
798
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
799
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
800
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
801
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
802
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
803
+ end)
804
+
805
+ api.add_operation(:delete_index, Seahorse::Model::Operation.new.tap do |o|
806
+ o.name = "DeleteIndex"
807
+ o.http_method = "POST"
808
+ o.http_request_uri = "/"
809
+ o.input = Shapes::ShapeRef.new(shape: DeleteIndexRequest)
810
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
811
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
812
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
813
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
814
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
815
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
816
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
817
+ end)
818
+
819
+ api.add_operation(:describe_data_source, Seahorse::Model::Operation.new.tap do |o|
820
+ o.name = "DescribeDataSource"
821
+ o.http_method = "POST"
822
+ o.http_request_uri = "/"
823
+ o.input = Shapes::ShapeRef.new(shape: DescribeDataSourceRequest)
824
+ o.output = Shapes::ShapeRef.new(shape: DescribeDataSourceResponse)
825
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
826
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
827
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
828
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
829
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
830
+ end)
831
+
832
+ api.add_operation(:describe_faq, Seahorse::Model::Operation.new.tap do |o|
833
+ o.name = "DescribeFaq"
834
+ o.http_method = "POST"
835
+ o.http_request_uri = "/"
836
+ o.input = Shapes::ShapeRef.new(shape: DescribeFaqRequest)
837
+ o.output = Shapes::ShapeRef.new(shape: DescribeFaqResponse)
838
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
839
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
840
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
841
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
842
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
843
+ end)
844
+
845
+ api.add_operation(:describe_index, Seahorse::Model::Operation.new.tap do |o|
846
+ o.name = "DescribeIndex"
847
+ o.http_method = "POST"
848
+ o.http_request_uri = "/"
849
+ o.input = Shapes::ShapeRef.new(shape: DescribeIndexRequest)
850
+ o.output = Shapes::ShapeRef.new(shape: DescribeIndexResponse)
851
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
852
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
853
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
854
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
855
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
856
+ end)
857
+
858
+ api.add_operation(:list_data_source_sync_jobs, Seahorse::Model::Operation.new.tap do |o|
859
+ o.name = "ListDataSourceSyncJobs"
860
+ o.http_method = "POST"
861
+ o.http_request_uri = "/"
862
+ o.input = Shapes::ShapeRef.new(shape: ListDataSourceSyncJobsRequest)
863
+ o.output = Shapes::ShapeRef.new(shape: ListDataSourceSyncJobsResponse)
864
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
865
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
866
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
867
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
868
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
869
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
870
+ o[:pager] = Aws::Pager.new(
871
+ limit_key: "max_results",
872
+ tokens: {
873
+ "next_token" => "next_token"
874
+ }
875
+ )
876
+ end)
877
+
878
+ api.add_operation(:list_data_sources, Seahorse::Model::Operation.new.tap do |o|
879
+ o.name = "ListDataSources"
880
+ o.http_method = "POST"
881
+ o.http_request_uri = "/"
882
+ o.input = Shapes::ShapeRef.new(shape: ListDataSourcesRequest)
883
+ o.output = Shapes::ShapeRef.new(shape: ListDataSourcesResponse)
884
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
885
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
886
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
887
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
888
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
889
+ o[:pager] = Aws::Pager.new(
890
+ limit_key: "max_results",
891
+ tokens: {
892
+ "next_token" => "next_token"
893
+ }
894
+ )
895
+ end)
896
+
897
+ api.add_operation(:list_faqs, Seahorse::Model::Operation.new.tap do |o|
898
+ o.name = "ListFaqs"
899
+ o.http_method = "POST"
900
+ o.http_request_uri = "/"
901
+ o.input = Shapes::ShapeRef.new(shape: ListFaqsRequest)
902
+ o.output = Shapes::ShapeRef.new(shape: ListFaqsResponse)
903
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
904
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
905
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
906
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
907
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
908
+ end)
909
+
910
+ api.add_operation(:list_indices, Seahorse::Model::Operation.new.tap do |o|
911
+ o.name = "ListIndices"
912
+ o.http_method = "POST"
913
+ o.http_request_uri = "/"
914
+ o.input = Shapes::ShapeRef.new(shape: ListIndicesRequest)
915
+ o.output = Shapes::ShapeRef.new(shape: ListIndicesResponse)
916
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
917
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
918
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
919
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
920
+ o[:pager] = Aws::Pager.new(
921
+ limit_key: "max_results",
922
+ tokens: {
923
+ "next_token" => "next_token"
924
+ }
925
+ )
926
+ end)
927
+
928
+ api.add_operation(:query, Seahorse::Model::Operation.new.tap do |o|
929
+ o.name = "Query"
930
+ o.http_method = "POST"
931
+ o.http_request_uri = "/"
932
+ o.input = Shapes::ShapeRef.new(shape: QueryRequest)
933
+ o.output = Shapes::ShapeRef.new(shape: QueryResult)
934
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
935
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
936
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
937
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
938
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
939
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
940
+ end)
941
+
942
+ api.add_operation(:start_data_source_sync_job, Seahorse::Model::Operation.new.tap do |o|
943
+ o.name = "StartDataSourceSyncJob"
944
+ o.http_method = "POST"
945
+ o.http_request_uri = "/"
946
+ o.input = Shapes::ShapeRef.new(shape: StartDataSourceSyncJobRequest)
947
+ o.output = Shapes::ShapeRef.new(shape: StartDataSourceSyncJobResponse)
948
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
949
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
950
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
951
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
952
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
953
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
954
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
955
+ end)
956
+
957
+ api.add_operation(:stop_data_source_sync_job, Seahorse::Model::Operation.new.tap do |o|
958
+ o.name = "StopDataSourceSyncJob"
959
+ o.http_method = "POST"
960
+ o.http_request_uri = "/"
961
+ o.input = Shapes::ShapeRef.new(shape: StopDataSourceSyncJobRequest)
962
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
963
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
964
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
965
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
966
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
967
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
968
+ end)
969
+
970
+ api.add_operation(:submit_feedback, Seahorse::Model::Operation.new.tap do |o|
971
+ o.name = "SubmitFeedback"
972
+ o.http_method = "POST"
973
+ o.http_request_uri = "/"
974
+ o.input = Shapes::ShapeRef.new(shape: SubmitFeedbackRequest)
975
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
976
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
977
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
978
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
979
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
980
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
981
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
982
+ end)
983
+
984
+ api.add_operation(:update_data_source, Seahorse::Model::Operation.new.tap do |o|
985
+ o.name = "UpdateDataSource"
986
+ o.http_method = "POST"
987
+ o.http_request_uri = "/"
988
+ o.input = Shapes::ShapeRef.new(shape: UpdateDataSourceRequest)
989
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
990
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
991
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
992
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
993
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
994
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
995
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
996
+ end)
997
+
998
+ api.add_operation(:update_index, Seahorse::Model::Operation.new.tap do |o|
999
+ o.name = "UpdateIndex"
1000
+ o.http_method = "POST"
1001
+ o.http_request_uri = "/"
1002
+ o.input = Shapes::ShapeRef.new(shape: UpdateIndexRequest)
1003
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1004
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1005
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1006
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1007
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1008
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1009
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1010
+ end)
1011
+ end
1012
+
1013
+ end
1014
+ end