aws-sdk-qconnect 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1666 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::QConnect
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AppIntegrationsConfiguration = Shapes::StructureShape.new(name: 'AppIntegrationsConfiguration')
18
+ Arn = Shapes::StringShape.new(name: 'Arn')
19
+ AssistantAssociationData = Shapes::StructureShape.new(name: 'AssistantAssociationData')
20
+ AssistantAssociationInputData = Shapes::UnionShape.new(name: 'AssistantAssociationInputData')
21
+ AssistantAssociationOutputData = Shapes::UnionShape.new(name: 'AssistantAssociationOutputData')
22
+ AssistantAssociationSummary = Shapes::StructureShape.new(name: 'AssistantAssociationSummary')
23
+ AssistantAssociationSummaryList = Shapes::ListShape.new(name: 'AssistantAssociationSummaryList')
24
+ AssistantCapabilityConfiguration = Shapes::StructureShape.new(name: 'AssistantCapabilityConfiguration')
25
+ AssistantCapabilityType = Shapes::StringShape.new(name: 'AssistantCapabilityType')
26
+ AssistantData = Shapes::StructureShape.new(name: 'AssistantData')
27
+ AssistantIntegrationConfiguration = Shapes::StructureShape.new(name: 'AssistantIntegrationConfiguration')
28
+ AssistantList = Shapes::ListShape.new(name: 'AssistantList')
29
+ AssistantStatus = Shapes::StringShape.new(name: 'AssistantStatus')
30
+ AssistantSummary = Shapes::StructureShape.new(name: 'AssistantSummary')
31
+ AssistantType = Shapes::StringShape.new(name: 'AssistantType')
32
+ AssociationType = Shapes::StringShape.new(name: 'AssociationType')
33
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
34
+ Channel = Shapes::StringShape.new(name: 'Channel')
35
+ Channels = Shapes::ListShape.new(name: 'Channels')
36
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
37
+ Configuration = Shapes::UnionShape.new(name: 'Configuration')
38
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
39
+ ConnectConfiguration = Shapes::StructureShape.new(name: 'ConnectConfiguration')
40
+ ContactAttributeKey = Shapes::StringShape.new(name: 'ContactAttributeKey')
41
+ ContactAttributeKeys = Shapes::ListShape.new(name: 'ContactAttributeKeys')
42
+ ContactAttributeValue = Shapes::StringShape.new(name: 'ContactAttributeValue')
43
+ ContactAttributes = Shapes::MapShape.new(name: 'ContactAttributes')
44
+ ContentData = Shapes::StructureShape.new(name: 'ContentData')
45
+ ContentDataDetails = Shapes::StructureShape.new(name: 'ContentDataDetails')
46
+ ContentMetadata = Shapes::MapShape.new(name: 'ContentMetadata')
47
+ ContentReference = Shapes::StructureShape.new(name: 'ContentReference')
48
+ ContentStatus = Shapes::StringShape.new(name: 'ContentStatus')
49
+ ContentSummary = Shapes::StructureShape.new(name: 'ContentSummary')
50
+ ContentSummaryList = Shapes::ListShape.new(name: 'ContentSummaryList')
51
+ ContentTitle = Shapes::StringShape.new(name: 'ContentTitle')
52
+ ContentType = Shapes::StringShape.new(name: 'ContentType')
53
+ CreateAssistantAssociationRequest = Shapes::StructureShape.new(name: 'CreateAssistantAssociationRequest')
54
+ CreateAssistantAssociationResponse = Shapes::StructureShape.new(name: 'CreateAssistantAssociationResponse')
55
+ CreateAssistantRequest = Shapes::StructureShape.new(name: 'CreateAssistantRequest')
56
+ CreateAssistantResponse = Shapes::StructureShape.new(name: 'CreateAssistantResponse')
57
+ CreateContentRequest = Shapes::StructureShape.new(name: 'CreateContentRequest')
58
+ CreateContentResponse = Shapes::StructureShape.new(name: 'CreateContentResponse')
59
+ CreateKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'CreateKnowledgeBaseRequest')
60
+ CreateKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'CreateKnowledgeBaseResponse')
61
+ CreateQuickResponseRequest = Shapes::StructureShape.new(name: 'CreateQuickResponseRequest')
62
+ CreateQuickResponseResponse = Shapes::StructureShape.new(name: 'CreateQuickResponseResponse')
63
+ CreateSessionRequest = Shapes::StructureShape.new(name: 'CreateSessionRequest')
64
+ CreateSessionResponse = Shapes::StructureShape.new(name: 'CreateSessionResponse')
65
+ DataDetails = Shapes::UnionShape.new(name: 'DataDetails')
66
+ DataReference = Shapes::UnionShape.new(name: 'DataReference')
67
+ DataSummary = Shapes::StructureShape.new(name: 'DataSummary')
68
+ DataSummaryList = Shapes::ListShape.new(name: 'DataSummaryList')
69
+ DeleteAssistantAssociationRequest = Shapes::StructureShape.new(name: 'DeleteAssistantAssociationRequest')
70
+ DeleteAssistantAssociationResponse = Shapes::StructureShape.new(name: 'DeleteAssistantAssociationResponse')
71
+ DeleteAssistantRequest = Shapes::StructureShape.new(name: 'DeleteAssistantRequest')
72
+ DeleteAssistantResponse = Shapes::StructureShape.new(name: 'DeleteAssistantResponse')
73
+ DeleteContentRequest = Shapes::StructureShape.new(name: 'DeleteContentRequest')
74
+ DeleteContentResponse = Shapes::StructureShape.new(name: 'DeleteContentResponse')
75
+ DeleteImportJobRequest = Shapes::StructureShape.new(name: 'DeleteImportJobRequest')
76
+ DeleteImportJobResponse = Shapes::StructureShape.new(name: 'DeleteImportJobResponse')
77
+ DeleteKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'DeleteKnowledgeBaseRequest')
78
+ DeleteKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'DeleteKnowledgeBaseResponse')
79
+ DeleteQuickResponseRequest = Shapes::StructureShape.new(name: 'DeleteQuickResponseRequest')
80
+ DeleteQuickResponseResponse = Shapes::StructureShape.new(name: 'DeleteQuickResponseResponse')
81
+ Description = Shapes::StringShape.new(name: 'Description')
82
+ Document = Shapes::StructureShape.new(name: 'Document')
83
+ DocumentText = Shapes::StructureShape.new(name: 'DocumentText')
84
+ ExternalSource = Shapes::StringShape.new(name: 'ExternalSource')
85
+ ExternalSourceConfiguration = Shapes::StructureShape.new(name: 'ExternalSourceConfiguration')
86
+ Filter = Shapes::StructureShape.new(name: 'Filter')
87
+ FilterField = Shapes::StringShape.new(name: 'FilterField')
88
+ FilterList = Shapes::ListShape.new(name: 'FilterList')
89
+ FilterOperator = Shapes::StringShape.new(name: 'FilterOperator')
90
+ GenerativeDataDetails = Shapes::StructureShape.new(name: 'GenerativeDataDetails')
91
+ GenerativeReference = Shapes::StructureShape.new(name: 'GenerativeReference')
92
+ GenericArn = Shapes::StringShape.new(name: 'GenericArn')
93
+ GetAssistantAssociationRequest = Shapes::StructureShape.new(name: 'GetAssistantAssociationRequest')
94
+ GetAssistantAssociationResponse = Shapes::StructureShape.new(name: 'GetAssistantAssociationResponse')
95
+ GetAssistantRequest = Shapes::StructureShape.new(name: 'GetAssistantRequest')
96
+ GetAssistantResponse = Shapes::StructureShape.new(name: 'GetAssistantResponse')
97
+ GetContentRequest = Shapes::StructureShape.new(name: 'GetContentRequest')
98
+ GetContentResponse = Shapes::StructureShape.new(name: 'GetContentResponse')
99
+ GetContentSummaryRequest = Shapes::StructureShape.new(name: 'GetContentSummaryRequest')
100
+ GetContentSummaryResponse = Shapes::StructureShape.new(name: 'GetContentSummaryResponse')
101
+ GetImportJobRequest = Shapes::StructureShape.new(name: 'GetImportJobRequest')
102
+ GetImportJobResponse = Shapes::StructureShape.new(name: 'GetImportJobResponse')
103
+ GetKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'GetKnowledgeBaseRequest')
104
+ GetKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'GetKnowledgeBaseResponse')
105
+ GetQuickResponseRequest = Shapes::StructureShape.new(name: 'GetQuickResponseRequest')
106
+ GetQuickResponseResponse = Shapes::StructureShape.new(name: 'GetQuickResponseResponse')
107
+ GetRecommendationsRequest = Shapes::StructureShape.new(name: 'GetRecommendationsRequest')
108
+ GetRecommendationsResponse = Shapes::StructureShape.new(name: 'GetRecommendationsResponse')
109
+ GetSessionRequest = Shapes::StructureShape.new(name: 'GetSessionRequest')
110
+ GetSessionResponse = Shapes::StructureShape.new(name: 'GetSessionResponse')
111
+ GroupingConfiguration = Shapes::StructureShape.new(name: 'GroupingConfiguration')
112
+ GroupingCriteria = Shapes::StringShape.new(name: 'GroupingCriteria')
113
+ GroupingValue = Shapes::StringShape.new(name: 'GroupingValue')
114
+ GroupingValues = Shapes::ListShape.new(name: 'GroupingValues')
115
+ Headers = Shapes::MapShape.new(name: 'Headers')
116
+ Highlight = Shapes::StructureShape.new(name: 'Highlight')
117
+ HighlightOffset = Shapes::IntegerShape.new(name: 'HighlightOffset')
118
+ Highlights = Shapes::ListShape.new(name: 'Highlights')
119
+ ImportJobData = Shapes::StructureShape.new(name: 'ImportJobData')
120
+ ImportJobList = Shapes::ListShape.new(name: 'ImportJobList')
121
+ ImportJobStatus = Shapes::StringShape.new(name: 'ImportJobStatus')
122
+ ImportJobSummary = Shapes::StructureShape.new(name: 'ImportJobSummary')
123
+ ImportJobType = Shapes::StringShape.new(name: 'ImportJobType')
124
+ KnowledgeBaseAssociationData = Shapes::StructureShape.new(name: 'KnowledgeBaseAssociationData')
125
+ KnowledgeBaseData = Shapes::StructureShape.new(name: 'KnowledgeBaseData')
126
+ KnowledgeBaseList = Shapes::ListShape.new(name: 'KnowledgeBaseList')
127
+ KnowledgeBaseStatus = Shapes::StringShape.new(name: 'KnowledgeBaseStatus')
128
+ KnowledgeBaseSummary = Shapes::StructureShape.new(name: 'KnowledgeBaseSummary')
129
+ KnowledgeBaseType = Shapes::StringShape.new(name: 'KnowledgeBaseType')
130
+ LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
131
+ ListAssistantAssociationsRequest = Shapes::StructureShape.new(name: 'ListAssistantAssociationsRequest')
132
+ ListAssistantAssociationsResponse = Shapes::StructureShape.new(name: 'ListAssistantAssociationsResponse')
133
+ ListAssistantsRequest = Shapes::StructureShape.new(name: 'ListAssistantsRequest')
134
+ ListAssistantsResponse = Shapes::StructureShape.new(name: 'ListAssistantsResponse')
135
+ ListContentsRequest = Shapes::StructureShape.new(name: 'ListContentsRequest')
136
+ ListContentsResponse = Shapes::StructureShape.new(name: 'ListContentsResponse')
137
+ ListImportJobsRequest = Shapes::StructureShape.new(name: 'ListImportJobsRequest')
138
+ ListImportJobsResponse = Shapes::StructureShape.new(name: 'ListImportJobsResponse')
139
+ ListKnowledgeBasesRequest = Shapes::StructureShape.new(name: 'ListKnowledgeBasesRequest')
140
+ ListKnowledgeBasesResponse = Shapes::StructureShape.new(name: 'ListKnowledgeBasesResponse')
141
+ ListQuickResponsesRequest = Shapes::StructureShape.new(name: 'ListQuickResponsesRequest')
142
+ ListQuickResponsesResponse = Shapes::StructureShape.new(name: 'ListQuickResponsesResponse')
143
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
144
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
145
+ LlmModelId = Shapes::StringShape.new(name: 'LlmModelId')
146
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
147
+ Name = Shapes::StringShape.new(name: 'Name')
148
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
149
+ NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
150
+ NotifyRecommendationsReceivedError = Shapes::StructureShape.new(name: 'NotifyRecommendationsReceivedError')
151
+ NotifyRecommendationsReceivedErrorList = Shapes::ListShape.new(name: 'NotifyRecommendationsReceivedErrorList')
152
+ NotifyRecommendationsReceivedErrorMessage = Shapes::StringShape.new(name: 'NotifyRecommendationsReceivedErrorMessage')
153
+ NotifyRecommendationsReceivedRequest = Shapes::StructureShape.new(name: 'NotifyRecommendationsReceivedRequest')
154
+ NotifyRecommendationsReceivedResponse = Shapes::StructureShape.new(name: 'NotifyRecommendationsReceivedResponse')
155
+ ObjectFieldsList = Shapes::ListShape.new(name: 'ObjectFieldsList')
156
+ Order = Shapes::StringShape.new(name: 'Order')
157
+ PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
158
+ Priority = Shapes::StringShape.new(name: 'Priority')
159
+ QueryAssistantRequest = Shapes::StructureShape.new(name: 'QueryAssistantRequest')
160
+ QueryAssistantResponse = Shapes::StructureShape.new(name: 'QueryAssistantResponse')
161
+ QueryCondition = Shapes::UnionShape.new(name: 'QueryCondition')
162
+ QueryConditionComparisonOperator = Shapes::StringShape.new(name: 'QueryConditionComparisonOperator')
163
+ QueryConditionExpression = Shapes::ListShape.new(name: 'QueryConditionExpression')
164
+ QueryConditionFieldName = Shapes::StringShape.new(name: 'QueryConditionFieldName')
165
+ QueryConditionItem = Shapes::StructureShape.new(name: 'QueryConditionItem')
166
+ QueryRecommendationTriggerData = Shapes::StructureShape.new(name: 'QueryRecommendationTriggerData')
167
+ QueryResultType = Shapes::StringShape.new(name: 'QueryResultType')
168
+ QueryResultsList = Shapes::ListShape.new(name: 'QueryResultsList')
169
+ QueryText = Shapes::StringShape.new(name: 'QueryText')
170
+ QuickResponseContent = Shapes::StringShape.new(name: 'QuickResponseContent')
171
+ QuickResponseContentProvider = Shapes::UnionShape.new(name: 'QuickResponseContentProvider')
172
+ QuickResponseContents = Shapes::StructureShape.new(name: 'QuickResponseContents')
173
+ QuickResponseData = Shapes::StructureShape.new(name: 'QuickResponseData')
174
+ QuickResponseDataProvider = Shapes::UnionShape.new(name: 'QuickResponseDataProvider')
175
+ QuickResponseDescription = Shapes::StringShape.new(name: 'QuickResponseDescription')
176
+ QuickResponseFilterField = Shapes::StructureShape.new(name: 'QuickResponseFilterField')
177
+ QuickResponseFilterFieldList = Shapes::ListShape.new(name: 'QuickResponseFilterFieldList')
178
+ QuickResponseFilterOperator = Shapes::StringShape.new(name: 'QuickResponseFilterOperator')
179
+ QuickResponseFilterValue = Shapes::StringShape.new(name: 'QuickResponseFilterValue')
180
+ QuickResponseFilterValueList = Shapes::ListShape.new(name: 'QuickResponseFilterValueList')
181
+ QuickResponseName = Shapes::StringShape.new(name: 'QuickResponseName')
182
+ QuickResponseOrderField = Shapes::StructureShape.new(name: 'QuickResponseOrderField')
183
+ QuickResponseQueryField = Shapes::StructureShape.new(name: 'QuickResponseQueryField')
184
+ QuickResponseQueryFieldList = Shapes::ListShape.new(name: 'QuickResponseQueryFieldList')
185
+ QuickResponseQueryOperator = Shapes::StringShape.new(name: 'QuickResponseQueryOperator')
186
+ QuickResponseQueryValue = Shapes::StringShape.new(name: 'QuickResponseQueryValue')
187
+ QuickResponseQueryValueList = Shapes::ListShape.new(name: 'QuickResponseQueryValueList')
188
+ QuickResponseSearchExpression = Shapes::StructureShape.new(name: 'QuickResponseSearchExpression')
189
+ QuickResponseSearchResultData = Shapes::StructureShape.new(name: 'QuickResponseSearchResultData')
190
+ QuickResponseSearchResultsList = Shapes::ListShape.new(name: 'QuickResponseSearchResultsList')
191
+ QuickResponseStatus = Shapes::StringShape.new(name: 'QuickResponseStatus')
192
+ QuickResponseSummary = Shapes::StructureShape.new(name: 'QuickResponseSummary')
193
+ QuickResponseSummaryList = Shapes::ListShape.new(name: 'QuickResponseSummaryList')
194
+ QuickResponseType = Shapes::StringShape.new(name: 'QuickResponseType')
195
+ RankingData = Shapes::StructureShape.new(name: 'RankingData')
196
+ RecommendationData = Shapes::StructureShape.new(name: 'RecommendationData')
197
+ RecommendationId = Shapes::StringShape.new(name: 'RecommendationId')
198
+ RecommendationIdList = Shapes::ListShape.new(name: 'RecommendationIdList')
199
+ RecommendationList = Shapes::ListShape.new(name: 'RecommendationList')
200
+ RecommendationSourceType = Shapes::StringShape.new(name: 'RecommendationSourceType')
201
+ RecommendationTrigger = Shapes::StructureShape.new(name: 'RecommendationTrigger')
202
+ RecommendationTriggerData = Shapes::UnionShape.new(name: 'RecommendationTriggerData')
203
+ RecommendationTriggerList = Shapes::ListShape.new(name: 'RecommendationTriggerList')
204
+ RecommendationTriggerType = Shapes::StringShape.new(name: 'RecommendationTriggerType')
205
+ RecommendationType = Shapes::StringShape.new(name: 'RecommendationType')
206
+ RelevanceLevel = Shapes::StringShape.new(name: 'RelevanceLevel')
207
+ RelevanceScore = Shapes::FloatShape.new(name: 'RelevanceScore')
208
+ RemoveKnowledgeBaseTemplateUriRequest = Shapes::StructureShape.new(name: 'RemoveKnowledgeBaseTemplateUriRequest')
209
+ RemoveKnowledgeBaseTemplateUriResponse = Shapes::StructureShape.new(name: 'RemoveKnowledgeBaseTemplateUriResponse')
210
+ RenderingConfiguration = Shapes::StructureShape.new(name: 'RenderingConfiguration')
211
+ RequestTimeoutException = Shapes::StructureShape.new(name: 'RequestTimeoutException')
212
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
213
+ ResultData = Shapes::StructureShape.new(name: 'ResultData')
214
+ SearchContentRequest = Shapes::StructureShape.new(name: 'SearchContentRequest')
215
+ SearchContentResponse = Shapes::StructureShape.new(name: 'SearchContentResponse')
216
+ SearchExpression = Shapes::StructureShape.new(name: 'SearchExpression')
217
+ SearchQuickResponsesRequest = Shapes::StructureShape.new(name: 'SearchQuickResponsesRequest')
218
+ SearchQuickResponsesResponse = Shapes::StructureShape.new(name: 'SearchQuickResponsesResponse')
219
+ SearchSessionsRequest = Shapes::StructureShape.new(name: 'SearchSessionsRequest')
220
+ SearchSessionsResponse = Shapes::StructureShape.new(name: 'SearchSessionsResponse')
221
+ SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
222
+ ServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'ServerSideEncryptionConfiguration')
223
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
224
+ SessionData = Shapes::StructureShape.new(name: 'SessionData')
225
+ SessionIntegrationConfiguration = Shapes::StructureShape.new(name: 'SessionIntegrationConfiguration')
226
+ SessionSummaries = Shapes::ListShape.new(name: 'SessionSummaries')
227
+ SessionSummary = Shapes::StructureShape.new(name: 'SessionSummary')
228
+ ShortCutKey = Shapes::StringShape.new(name: 'ShortCutKey')
229
+ SourceConfiguration = Shapes::UnionShape.new(name: 'SourceConfiguration')
230
+ SourceContentDataDetails = Shapes::StructureShape.new(name: 'SourceContentDataDetails')
231
+ SourceContentType = Shapes::StringShape.new(name: 'SourceContentType')
232
+ StartContentUploadRequest = Shapes::StructureShape.new(name: 'StartContentUploadRequest')
233
+ StartContentUploadResponse = Shapes::StructureShape.new(name: 'StartContentUploadResponse')
234
+ StartImportJobRequest = Shapes::StructureShape.new(name: 'StartImportJobRequest')
235
+ StartImportJobResponse = Shapes::StructureShape.new(name: 'StartImportJobResponse')
236
+ String = Shapes::StringShape.new(name: 'String')
237
+ SyntheticTimestamp_epoch_seconds = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_epoch_seconds', timestampFormat: "unixTimestamp")
238
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
239
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
240
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
241
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
242
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
243
+ Tags = Shapes::MapShape.new(name: 'Tags')
244
+ TextData = Shapes::StructureShape.new(name: 'TextData')
245
+ TimeToLive = Shapes::IntegerShape.new(name: 'TimeToLive')
246
+ TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
247
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
248
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
249
+ UpdateContentRequest = Shapes::StructureShape.new(name: 'UpdateContentRequest')
250
+ UpdateContentResponse = Shapes::StructureShape.new(name: 'UpdateContentResponse')
251
+ UpdateKnowledgeBaseTemplateUriRequest = Shapes::StructureShape.new(name: 'UpdateKnowledgeBaseTemplateUriRequest')
252
+ UpdateKnowledgeBaseTemplateUriResponse = Shapes::StructureShape.new(name: 'UpdateKnowledgeBaseTemplateUriResponse')
253
+ UpdateQuickResponseRequest = Shapes::StructureShape.new(name: 'UpdateQuickResponseRequest')
254
+ UpdateQuickResponseResponse = Shapes::StructureShape.new(name: 'UpdateQuickResponseResponse')
255
+ UploadId = Shapes::StringShape.new(name: 'UploadId')
256
+ Uri = Shapes::StringShape.new(name: 'Uri')
257
+ Url = Shapes::StringShape.new(name: 'Url')
258
+ Uuid = Shapes::StringShape.new(name: 'Uuid')
259
+ UuidOrArn = Shapes::StringShape.new(name: 'UuidOrArn')
260
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
261
+ WaitTimeSeconds = Shapes::IntegerShape.new(name: 'WaitTimeSeconds')
262
+
263
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
264
+ AccessDeniedException.struct_class = Types::AccessDeniedException
265
+
266
+ AppIntegrationsConfiguration.add_member(:app_integration_arn, Shapes::ShapeRef.new(shape: GenericArn, required: true, location_name: "appIntegrationArn"))
267
+ AppIntegrationsConfiguration.add_member(:object_fields, Shapes::ShapeRef.new(shape: ObjectFieldsList, location_name: "objectFields"))
268
+ AppIntegrationsConfiguration.struct_class = Types::AppIntegrationsConfiguration
269
+
270
+ AssistantAssociationData.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
271
+ AssistantAssociationData.add_member(:assistant_association_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantAssociationArn"))
272
+ AssistantAssociationData.add_member(:assistant_association_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantAssociationId"))
273
+ AssistantAssociationData.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
274
+ AssistantAssociationData.add_member(:association_data, Shapes::ShapeRef.new(shape: AssistantAssociationOutputData, required: true, location_name: "associationData"))
275
+ AssistantAssociationData.add_member(:association_type, Shapes::ShapeRef.new(shape: AssociationType, required: true, location_name: "associationType"))
276
+ AssistantAssociationData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
277
+ AssistantAssociationData.struct_class = Types::AssistantAssociationData
278
+
279
+ AssistantAssociationInputData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "knowledgeBaseId"))
280
+ AssistantAssociationInputData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
281
+ AssistantAssociationInputData.add_member_subclass(:knowledge_base_id, Types::AssistantAssociationInputData::KnowledgeBaseId)
282
+ AssistantAssociationInputData.add_member_subclass(:unknown, Types::AssistantAssociationInputData::Unknown)
283
+ AssistantAssociationInputData.struct_class = Types::AssistantAssociationInputData
284
+
285
+ AssistantAssociationOutputData.add_member(:knowledge_base_association, Shapes::ShapeRef.new(shape: KnowledgeBaseAssociationData, location_name: "knowledgeBaseAssociation"))
286
+ AssistantAssociationOutputData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
287
+ AssistantAssociationOutputData.add_member_subclass(:knowledge_base_association, Types::AssistantAssociationOutputData::KnowledgeBaseAssociation)
288
+ AssistantAssociationOutputData.add_member_subclass(:unknown, Types::AssistantAssociationOutputData::Unknown)
289
+ AssistantAssociationOutputData.struct_class = Types::AssistantAssociationOutputData
290
+
291
+ AssistantAssociationSummary.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
292
+ AssistantAssociationSummary.add_member(:assistant_association_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantAssociationArn"))
293
+ AssistantAssociationSummary.add_member(:assistant_association_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantAssociationId"))
294
+ AssistantAssociationSummary.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
295
+ AssistantAssociationSummary.add_member(:association_data, Shapes::ShapeRef.new(shape: AssistantAssociationOutputData, required: true, location_name: "associationData"))
296
+ AssistantAssociationSummary.add_member(:association_type, Shapes::ShapeRef.new(shape: AssociationType, required: true, location_name: "associationType"))
297
+ AssistantAssociationSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
298
+ AssistantAssociationSummary.struct_class = Types::AssistantAssociationSummary
299
+
300
+ AssistantAssociationSummaryList.member = Shapes::ShapeRef.new(shape: AssistantAssociationSummary)
301
+
302
+ AssistantCapabilityConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: AssistantCapabilityType, location_name: "type"))
303
+ AssistantCapabilityConfiguration.struct_class = Types::AssistantCapabilityConfiguration
304
+
305
+ AssistantData.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
306
+ AssistantData.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
307
+ AssistantData.add_member(:capability_configuration, Shapes::ShapeRef.new(shape: AssistantCapabilityConfiguration, location_name: "capabilityConfiguration"))
308
+ AssistantData.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
309
+ AssistantData.add_member(:integration_configuration, Shapes::ShapeRef.new(shape: AssistantIntegrationConfiguration, location_name: "integrationConfiguration"))
310
+ AssistantData.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
311
+ AssistantData.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
312
+ AssistantData.add_member(:status, Shapes::ShapeRef.new(shape: AssistantStatus, required: true, location_name: "status"))
313
+ AssistantData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
314
+ AssistantData.add_member(:type, Shapes::ShapeRef.new(shape: AssistantType, required: true, location_name: "type"))
315
+ AssistantData.struct_class = Types::AssistantData
316
+
317
+ AssistantIntegrationConfiguration.add_member(:topic_integration_arn, Shapes::ShapeRef.new(shape: GenericArn, location_name: "topicIntegrationArn"))
318
+ AssistantIntegrationConfiguration.struct_class = Types::AssistantIntegrationConfiguration
319
+
320
+ AssistantList.member = Shapes::ShapeRef.new(shape: AssistantSummary)
321
+
322
+ AssistantSummary.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
323
+ AssistantSummary.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
324
+ AssistantSummary.add_member(:capability_configuration, Shapes::ShapeRef.new(shape: AssistantCapabilityConfiguration, location_name: "capabilityConfiguration"))
325
+ AssistantSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
326
+ AssistantSummary.add_member(:integration_configuration, Shapes::ShapeRef.new(shape: AssistantIntegrationConfiguration, location_name: "integrationConfiguration"))
327
+ AssistantSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
328
+ AssistantSummary.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
329
+ AssistantSummary.add_member(:status, Shapes::ShapeRef.new(shape: AssistantStatus, required: true, location_name: "status"))
330
+ AssistantSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
331
+ AssistantSummary.add_member(:type, Shapes::ShapeRef.new(shape: AssistantType, required: true, location_name: "type"))
332
+ AssistantSummary.struct_class = Types::AssistantSummary
333
+
334
+ Channels.member = Shapes::ShapeRef.new(shape: Channel)
335
+
336
+ Configuration.add_member(:connect_configuration, Shapes::ShapeRef.new(shape: ConnectConfiguration, location_name: "connectConfiguration"))
337
+ Configuration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
338
+ Configuration.add_member_subclass(:connect_configuration, Types::Configuration::ConnectConfiguration)
339
+ Configuration.add_member_subclass(:unknown, Types::Configuration::Unknown)
340
+ Configuration.struct_class = Types::Configuration
341
+
342
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
343
+ ConflictException.struct_class = Types::ConflictException
344
+
345
+ ConnectConfiguration.add_member(:instance_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "instanceId"))
346
+ ConnectConfiguration.struct_class = Types::ConnectConfiguration
347
+
348
+ ContactAttributeKeys.member = Shapes::ShapeRef.new(shape: ContactAttributeKey)
349
+
350
+ ContactAttributes.key = Shapes::ShapeRef.new(shape: ContactAttributeKey)
351
+ ContactAttributes.value = Shapes::ShapeRef.new(shape: ContactAttributeValue)
352
+
353
+ ContentData.add_member(:content_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "contentArn"))
354
+ ContentData.add_member(:content_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "contentId"))
355
+ ContentData.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
356
+ ContentData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
357
+ ContentData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
358
+ ContentData.add_member(:link_out_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "linkOutUri"))
359
+ ContentData.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, required: true, location_name: "metadata"))
360
+ ContentData.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
361
+ ContentData.add_member(:revision_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "revisionId"))
362
+ ContentData.add_member(:status, Shapes::ShapeRef.new(shape: ContentStatus, required: true, location_name: "status"))
363
+ ContentData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
364
+ ContentData.add_member(:title, Shapes::ShapeRef.new(shape: ContentTitle, required: true, location_name: "title"))
365
+ ContentData.add_member(:url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "url"))
366
+ ContentData.add_member(:url_expiry, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "urlExpiry"))
367
+ ContentData.struct_class = Types::ContentData
368
+
369
+ ContentDataDetails.add_member(:ranking_data, Shapes::ShapeRef.new(shape: RankingData, required: true, location_name: "rankingData"))
370
+ ContentDataDetails.add_member(:text_data, Shapes::ShapeRef.new(shape: TextData, required: true, location_name: "textData"))
371
+ ContentDataDetails.struct_class = Types::ContentDataDetails
372
+
373
+ ContentMetadata.key = Shapes::ShapeRef.new(shape: NonEmptyString)
374
+ ContentMetadata.value = Shapes::ShapeRef.new(shape: NonEmptyString)
375
+
376
+ ContentReference.add_member(:content_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "contentArn"))
377
+ ContentReference.add_member(:content_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "contentId"))
378
+ ContentReference.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "knowledgeBaseArn"))
379
+ ContentReference.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "knowledgeBaseId"))
380
+ ContentReference.struct_class = Types::ContentReference
381
+
382
+ ContentSummary.add_member(:content_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "contentArn"))
383
+ ContentSummary.add_member(:content_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "contentId"))
384
+ ContentSummary.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
385
+ ContentSummary.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
386
+ ContentSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
387
+ ContentSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, required: true, location_name: "metadata"))
388
+ ContentSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
389
+ ContentSummary.add_member(:revision_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "revisionId"))
390
+ ContentSummary.add_member(:status, Shapes::ShapeRef.new(shape: ContentStatus, required: true, location_name: "status"))
391
+ ContentSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
392
+ ContentSummary.add_member(:title, Shapes::ShapeRef.new(shape: ContentTitle, required: true, location_name: "title"))
393
+ ContentSummary.struct_class = Types::ContentSummary
394
+
395
+ ContentSummaryList.member = Shapes::ShapeRef.new(shape: ContentSummary)
396
+
397
+ CreateAssistantAssociationRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
398
+ CreateAssistantAssociationRequest.add_member(:association, Shapes::ShapeRef.new(shape: AssistantAssociationInputData, required: true, location_name: "association"))
399
+ CreateAssistantAssociationRequest.add_member(:association_type, Shapes::ShapeRef.new(shape: AssociationType, required: true, location_name: "associationType"))
400
+ CreateAssistantAssociationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
401
+ CreateAssistantAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
402
+ CreateAssistantAssociationRequest.struct_class = Types::CreateAssistantAssociationRequest
403
+
404
+ CreateAssistantAssociationResponse.add_member(:assistant_association, Shapes::ShapeRef.new(shape: AssistantAssociationData, location_name: "assistantAssociation"))
405
+ CreateAssistantAssociationResponse.struct_class = Types::CreateAssistantAssociationResponse
406
+
407
+ CreateAssistantRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
408
+ CreateAssistantRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
409
+ CreateAssistantRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
410
+ CreateAssistantRequest.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
411
+ CreateAssistantRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
412
+ CreateAssistantRequest.add_member(:type, Shapes::ShapeRef.new(shape: AssistantType, required: true, location_name: "type"))
413
+ CreateAssistantRequest.struct_class = Types::CreateAssistantRequest
414
+
415
+ CreateAssistantResponse.add_member(:assistant, Shapes::ShapeRef.new(shape: AssistantData, location_name: "assistant"))
416
+ CreateAssistantResponse.struct_class = Types::CreateAssistantResponse
417
+
418
+ CreateContentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
419
+ CreateContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
420
+ CreateContentRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, location_name: "metadata"))
421
+ CreateContentRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
422
+ CreateContentRequest.add_member(:override_link_out_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "overrideLinkOutUri"))
423
+ CreateContentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
424
+ CreateContentRequest.add_member(:title, Shapes::ShapeRef.new(shape: ContentTitle, location_name: "title"))
425
+ CreateContentRequest.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, required: true, location_name: "uploadId"))
426
+ CreateContentRequest.struct_class = Types::CreateContentRequest
427
+
428
+ CreateContentResponse.add_member(:content, Shapes::ShapeRef.new(shape: ContentData, location_name: "content"))
429
+ CreateContentResponse.struct_class = Types::CreateContentResponse
430
+
431
+ CreateKnowledgeBaseRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
432
+ CreateKnowledgeBaseRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
433
+ CreateKnowledgeBaseRequest.add_member(:knowledge_base_type, Shapes::ShapeRef.new(shape: KnowledgeBaseType, required: true, location_name: "knowledgeBaseType"))
434
+ CreateKnowledgeBaseRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
435
+ CreateKnowledgeBaseRequest.add_member(:rendering_configuration, Shapes::ShapeRef.new(shape: RenderingConfiguration, location_name: "renderingConfiguration"))
436
+ CreateKnowledgeBaseRequest.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
437
+ CreateKnowledgeBaseRequest.add_member(:source_configuration, Shapes::ShapeRef.new(shape: SourceConfiguration, location_name: "sourceConfiguration"))
438
+ CreateKnowledgeBaseRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
439
+ CreateKnowledgeBaseRequest.struct_class = Types::CreateKnowledgeBaseRequest
440
+
441
+ CreateKnowledgeBaseResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBaseData, location_name: "knowledgeBase"))
442
+ CreateKnowledgeBaseResponse.struct_class = Types::CreateKnowledgeBaseResponse
443
+
444
+ CreateQuickResponseRequest.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
445
+ CreateQuickResponseRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
446
+ CreateQuickResponseRequest.add_member(:content, Shapes::ShapeRef.new(shape: QuickResponseDataProvider, required: true, location_name: "content"))
447
+ CreateQuickResponseRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: QuickResponseType, location_name: "contentType"))
448
+ CreateQuickResponseRequest.add_member(:description, Shapes::ShapeRef.new(shape: QuickResponseDescription, location_name: "description"))
449
+ CreateQuickResponseRequest.add_member(:grouping_configuration, Shapes::ShapeRef.new(shape: GroupingConfiguration, location_name: "groupingConfiguration"))
450
+ CreateQuickResponseRequest.add_member(:is_active, Shapes::ShapeRef.new(shape: Boolean, location_name: "isActive"))
451
+ CreateQuickResponseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
452
+ CreateQuickResponseRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "language"))
453
+ CreateQuickResponseRequest.add_member(:name, Shapes::ShapeRef.new(shape: QuickResponseName, required: true, location_name: "name"))
454
+ CreateQuickResponseRequest.add_member(:shortcut_key, Shapes::ShapeRef.new(shape: ShortCutKey, location_name: "shortcutKey"))
455
+ CreateQuickResponseRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
456
+ CreateQuickResponseRequest.struct_class = Types::CreateQuickResponseRequest
457
+
458
+ CreateQuickResponseResponse.add_member(:quick_response, Shapes::ShapeRef.new(shape: QuickResponseData, location_name: "quickResponse"))
459
+ CreateQuickResponseResponse.struct_class = Types::CreateQuickResponseResponse
460
+
461
+ CreateSessionRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
462
+ CreateSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
463
+ CreateSessionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
464
+ CreateSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
465
+ CreateSessionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
466
+ CreateSessionRequest.struct_class = Types::CreateSessionRequest
467
+
468
+ CreateSessionResponse.add_member(:session, Shapes::ShapeRef.new(shape: SessionData, location_name: "session"))
469
+ CreateSessionResponse.struct_class = Types::CreateSessionResponse
470
+
471
+ DataDetails.add_member(:content_data, Shapes::ShapeRef.new(shape: ContentDataDetails, location_name: "contentData"))
472
+ DataDetails.add_member(:generative_data, Shapes::ShapeRef.new(shape: GenerativeDataDetails, location_name: "generativeData"))
473
+ DataDetails.add_member(:source_content_data, Shapes::ShapeRef.new(shape: SourceContentDataDetails, location_name: "sourceContentData"))
474
+ DataDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
475
+ DataDetails.add_member_subclass(:content_data, Types::DataDetails::ContentData)
476
+ DataDetails.add_member_subclass(:generative_data, Types::DataDetails::GenerativeData)
477
+ DataDetails.add_member_subclass(:source_content_data, Types::DataDetails::SourceContentData)
478
+ DataDetails.add_member_subclass(:unknown, Types::DataDetails::Unknown)
479
+ DataDetails.struct_class = Types::DataDetails
480
+
481
+ DataReference.add_member(:content_reference, Shapes::ShapeRef.new(shape: ContentReference, location_name: "contentReference"))
482
+ DataReference.add_member(:generative_reference, Shapes::ShapeRef.new(shape: GenerativeReference, location_name: "generativeReference"))
483
+ DataReference.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
484
+ DataReference.add_member_subclass(:content_reference, Types::DataReference::ContentReference)
485
+ DataReference.add_member_subclass(:generative_reference, Types::DataReference::GenerativeReference)
486
+ DataReference.add_member_subclass(:unknown, Types::DataReference::Unknown)
487
+ DataReference.struct_class = Types::DataReference
488
+
489
+ DataSummary.add_member(:details, Shapes::ShapeRef.new(shape: DataDetails, required: true, location_name: "details"))
490
+ DataSummary.add_member(:reference, Shapes::ShapeRef.new(shape: DataReference, required: true, location_name: "reference"))
491
+ DataSummary.struct_class = Types::DataSummary
492
+
493
+ DataSummaryList.member = Shapes::ShapeRef.new(shape: DataSummary)
494
+
495
+ DeleteAssistantAssociationRequest.add_member(:assistant_association_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantAssociationId"))
496
+ DeleteAssistantAssociationRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
497
+ DeleteAssistantAssociationRequest.struct_class = Types::DeleteAssistantAssociationRequest
498
+
499
+ DeleteAssistantAssociationResponse.struct_class = Types::DeleteAssistantAssociationResponse
500
+
501
+ DeleteAssistantRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
502
+ DeleteAssistantRequest.struct_class = Types::DeleteAssistantRequest
503
+
504
+ DeleteAssistantResponse.struct_class = Types::DeleteAssistantResponse
505
+
506
+ DeleteContentRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
507
+ DeleteContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
508
+ DeleteContentRequest.struct_class = Types::DeleteContentRequest
509
+
510
+ DeleteContentResponse.struct_class = Types::DeleteContentResponse
511
+
512
+ DeleteImportJobRequest.add_member(:import_job_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "importJobId"))
513
+ DeleteImportJobRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
514
+ DeleteImportJobRequest.struct_class = Types::DeleteImportJobRequest
515
+
516
+ DeleteImportJobResponse.struct_class = Types::DeleteImportJobResponse
517
+
518
+ DeleteKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
519
+ DeleteKnowledgeBaseRequest.struct_class = Types::DeleteKnowledgeBaseRequest
520
+
521
+ DeleteKnowledgeBaseResponse.struct_class = Types::DeleteKnowledgeBaseResponse
522
+
523
+ DeleteQuickResponseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
524
+ DeleteQuickResponseRequest.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "quickResponseId"))
525
+ DeleteQuickResponseRequest.struct_class = Types::DeleteQuickResponseRequest
526
+
527
+ DeleteQuickResponseResponse.struct_class = Types::DeleteQuickResponseResponse
528
+
529
+ Document.add_member(:content_reference, Shapes::ShapeRef.new(shape: ContentReference, required: true, location_name: "contentReference"))
530
+ Document.add_member(:excerpt, Shapes::ShapeRef.new(shape: DocumentText, location_name: "excerpt"))
531
+ Document.add_member(:title, Shapes::ShapeRef.new(shape: DocumentText, location_name: "title"))
532
+ Document.struct_class = Types::Document
533
+
534
+ DocumentText.add_member(:highlights, Shapes::ShapeRef.new(shape: Highlights, location_name: "highlights"))
535
+ DocumentText.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "text"))
536
+ DocumentText.struct_class = Types::DocumentText
537
+
538
+ ExternalSourceConfiguration.add_member(:configuration, Shapes::ShapeRef.new(shape: Configuration, required: true, location_name: "configuration"))
539
+ ExternalSourceConfiguration.add_member(:source, Shapes::ShapeRef.new(shape: ExternalSource, required: true, location_name: "source"))
540
+ ExternalSourceConfiguration.struct_class = Types::ExternalSourceConfiguration
541
+
542
+ Filter.add_member(:field, Shapes::ShapeRef.new(shape: FilterField, required: true, location_name: "field"))
543
+ Filter.add_member(:operator, Shapes::ShapeRef.new(shape: FilterOperator, required: true, location_name: "operator"))
544
+ Filter.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "value"))
545
+ Filter.struct_class = Types::Filter
546
+
547
+ FilterList.member = Shapes::ShapeRef.new(shape: Filter)
548
+
549
+ GenerativeDataDetails.add_member(:completion, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "completion"))
550
+ GenerativeDataDetails.add_member(:ranking_data, Shapes::ShapeRef.new(shape: RankingData, required: true, location_name: "rankingData"))
551
+ GenerativeDataDetails.add_member(:references, Shapes::ShapeRef.new(shape: DataSummaryList, required: true, location_name: "references"))
552
+ GenerativeDataDetails.struct_class = Types::GenerativeDataDetails
553
+
554
+ GenerativeReference.add_member(:generation_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "generationId"))
555
+ GenerativeReference.add_member(:model_id, Shapes::ShapeRef.new(shape: LlmModelId, location_name: "modelId"))
556
+ GenerativeReference.struct_class = Types::GenerativeReference
557
+
558
+ GetAssistantAssociationRequest.add_member(:assistant_association_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantAssociationId"))
559
+ GetAssistantAssociationRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
560
+ GetAssistantAssociationRequest.struct_class = Types::GetAssistantAssociationRequest
561
+
562
+ GetAssistantAssociationResponse.add_member(:assistant_association, Shapes::ShapeRef.new(shape: AssistantAssociationData, location_name: "assistantAssociation"))
563
+ GetAssistantAssociationResponse.struct_class = Types::GetAssistantAssociationResponse
564
+
565
+ GetAssistantRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
566
+ GetAssistantRequest.struct_class = Types::GetAssistantRequest
567
+
568
+ GetAssistantResponse.add_member(:assistant, Shapes::ShapeRef.new(shape: AssistantData, location_name: "assistant"))
569
+ GetAssistantResponse.struct_class = Types::GetAssistantResponse
570
+
571
+ GetContentRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
572
+ GetContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
573
+ GetContentRequest.struct_class = Types::GetContentRequest
574
+
575
+ GetContentResponse.add_member(:content, Shapes::ShapeRef.new(shape: ContentData, location_name: "content"))
576
+ GetContentResponse.struct_class = Types::GetContentResponse
577
+
578
+ GetContentSummaryRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
579
+ GetContentSummaryRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
580
+ GetContentSummaryRequest.struct_class = Types::GetContentSummaryRequest
581
+
582
+ GetContentSummaryResponse.add_member(:content_summary, Shapes::ShapeRef.new(shape: ContentSummary, location_name: "contentSummary"))
583
+ GetContentSummaryResponse.struct_class = Types::GetContentSummaryResponse
584
+
585
+ GetImportJobRequest.add_member(:import_job_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "importJobId"))
586
+ GetImportJobRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
587
+ GetImportJobRequest.struct_class = Types::GetImportJobRequest
588
+
589
+ GetImportJobResponse.add_member(:import_job, Shapes::ShapeRef.new(shape: ImportJobData, location_name: "importJob"))
590
+ GetImportJobResponse.struct_class = Types::GetImportJobResponse
591
+
592
+ GetKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
593
+ GetKnowledgeBaseRequest.struct_class = Types::GetKnowledgeBaseRequest
594
+
595
+ GetKnowledgeBaseResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBaseData, location_name: "knowledgeBase"))
596
+ GetKnowledgeBaseResponse.struct_class = Types::GetKnowledgeBaseResponse
597
+
598
+ GetQuickResponseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
599
+ GetQuickResponseRequest.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "quickResponseId"))
600
+ GetQuickResponseRequest.struct_class = Types::GetQuickResponseRequest
601
+
602
+ GetQuickResponseResponse.add_member(:quick_response, Shapes::ShapeRef.new(shape: QuickResponseData, location_name: "quickResponse"))
603
+ GetQuickResponseResponse.struct_class = Types::GetQuickResponseResponse
604
+
605
+ GetRecommendationsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
606
+ GetRecommendationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
607
+ GetRecommendationsRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
608
+ GetRecommendationsRequest.add_member(:wait_time_seconds, Shapes::ShapeRef.new(shape: WaitTimeSeconds, location: "querystring", location_name: "waitTimeSeconds"))
609
+ GetRecommendationsRequest.struct_class = Types::GetRecommendationsRequest
610
+
611
+ GetRecommendationsResponse.add_member(:recommendations, Shapes::ShapeRef.new(shape: RecommendationList, required: true, location_name: "recommendations"))
612
+ GetRecommendationsResponse.add_member(:triggers, Shapes::ShapeRef.new(shape: RecommendationTriggerList, location_name: "triggers"))
613
+ GetRecommendationsResponse.struct_class = Types::GetRecommendationsResponse
614
+
615
+ GetSessionRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
616
+ GetSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
617
+ GetSessionRequest.struct_class = Types::GetSessionRequest
618
+
619
+ GetSessionResponse.add_member(:session, Shapes::ShapeRef.new(shape: SessionData, location_name: "session"))
620
+ GetSessionResponse.struct_class = Types::GetSessionResponse
621
+
622
+ GroupingConfiguration.add_member(:criteria, Shapes::ShapeRef.new(shape: GroupingCriteria, location_name: "criteria"))
623
+ GroupingConfiguration.add_member(:values, Shapes::ShapeRef.new(shape: GroupingValues, location_name: "values"))
624
+ GroupingConfiguration.struct_class = Types::GroupingConfiguration
625
+
626
+ GroupingValues.member = Shapes::ShapeRef.new(shape: GroupingValue)
627
+
628
+ Headers.key = Shapes::ShapeRef.new(shape: NonEmptyString)
629
+ Headers.value = Shapes::ShapeRef.new(shape: NonEmptyString)
630
+
631
+ Highlight.add_member(:begin_offset_inclusive, Shapes::ShapeRef.new(shape: HighlightOffset, location_name: "beginOffsetInclusive"))
632
+ Highlight.add_member(:end_offset_exclusive, Shapes::ShapeRef.new(shape: HighlightOffset, location_name: "endOffsetExclusive"))
633
+ Highlight.struct_class = Types::Highlight
634
+
635
+ Highlights.member = Shapes::ShapeRef.new(shape: Highlight)
636
+
637
+ ImportJobData.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "createdTime"))
638
+ ImportJobData.add_member(:external_source_configuration, Shapes::ShapeRef.new(shape: ExternalSourceConfiguration, location_name: "externalSourceConfiguration"))
639
+ ImportJobData.add_member(:failed_record_report, Shapes::ShapeRef.new(shape: Url, location_name: "failedRecordReport"))
640
+ ImportJobData.add_member(:import_job_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "importJobId"))
641
+ ImportJobData.add_member(:import_job_type, Shapes::ShapeRef.new(shape: ImportJobType, required: true, location_name: "importJobType"))
642
+ ImportJobData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
643
+ ImportJobData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
644
+ ImportJobData.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "lastModifiedTime"))
645
+ ImportJobData.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, location_name: "metadata"))
646
+ ImportJobData.add_member(:status, Shapes::ShapeRef.new(shape: ImportJobStatus, required: true, location_name: "status"))
647
+ ImportJobData.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, required: true, location_name: "uploadId"))
648
+ ImportJobData.add_member(:url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "url"))
649
+ ImportJobData.add_member(:url_expiry, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "urlExpiry"))
650
+ ImportJobData.struct_class = Types::ImportJobData
651
+
652
+ ImportJobList.member = Shapes::ShapeRef.new(shape: ImportJobSummary)
653
+
654
+ ImportJobSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "createdTime"))
655
+ ImportJobSummary.add_member(:external_source_configuration, Shapes::ShapeRef.new(shape: ExternalSourceConfiguration, location_name: "externalSourceConfiguration"))
656
+ ImportJobSummary.add_member(:import_job_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "importJobId"))
657
+ ImportJobSummary.add_member(:import_job_type, Shapes::ShapeRef.new(shape: ImportJobType, required: true, location_name: "importJobType"))
658
+ ImportJobSummary.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
659
+ ImportJobSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
660
+ ImportJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "lastModifiedTime"))
661
+ ImportJobSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, location_name: "metadata"))
662
+ ImportJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ImportJobStatus, required: true, location_name: "status"))
663
+ ImportJobSummary.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, required: true, location_name: "uploadId"))
664
+ ImportJobSummary.struct_class = Types::ImportJobSummary
665
+
666
+ KnowledgeBaseAssociationData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "knowledgeBaseArn"))
667
+ KnowledgeBaseAssociationData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "knowledgeBaseId"))
668
+ KnowledgeBaseAssociationData.struct_class = Types::KnowledgeBaseAssociationData
669
+
670
+ KnowledgeBaseData.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
671
+ KnowledgeBaseData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
672
+ KnowledgeBaseData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
673
+ KnowledgeBaseData.add_member(:knowledge_base_type, Shapes::ShapeRef.new(shape: KnowledgeBaseType, required: true, location_name: "knowledgeBaseType"))
674
+ KnowledgeBaseData.add_member(:last_content_modification_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, location_name: "lastContentModificationTime"))
675
+ KnowledgeBaseData.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
676
+ KnowledgeBaseData.add_member(:rendering_configuration, Shapes::ShapeRef.new(shape: RenderingConfiguration, location_name: "renderingConfiguration"))
677
+ KnowledgeBaseData.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
678
+ KnowledgeBaseData.add_member(:source_configuration, Shapes::ShapeRef.new(shape: SourceConfiguration, location_name: "sourceConfiguration"))
679
+ KnowledgeBaseData.add_member(:status, Shapes::ShapeRef.new(shape: KnowledgeBaseStatus, required: true, location_name: "status"))
680
+ KnowledgeBaseData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
681
+ KnowledgeBaseData.struct_class = Types::KnowledgeBaseData
682
+
683
+ KnowledgeBaseList.member = Shapes::ShapeRef.new(shape: KnowledgeBaseSummary)
684
+
685
+ KnowledgeBaseSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
686
+ KnowledgeBaseSummary.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
687
+ KnowledgeBaseSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
688
+ KnowledgeBaseSummary.add_member(:knowledge_base_type, Shapes::ShapeRef.new(shape: KnowledgeBaseType, required: true, location_name: "knowledgeBaseType"))
689
+ KnowledgeBaseSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
690
+ KnowledgeBaseSummary.add_member(:rendering_configuration, Shapes::ShapeRef.new(shape: RenderingConfiguration, location_name: "renderingConfiguration"))
691
+ KnowledgeBaseSummary.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
692
+ KnowledgeBaseSummary.add_member(:source_configuration, Shapes::ShapeRef.new(shape: SourceConfiguration, location_name: "sourceConfiguration"))
693
+ KnowledgeBaseSummary.add_member(:status, Shapes::ShapeRef.new(shape: KnowledgeBaseStatus, required: true, location_name: "status"))
694
+ KnowledgeBaseSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
695
+ KnowledgeBaseSummary.struct_class = Types::KnowledgeBaseSummary
696
+
697
+ ListAssistantAssociationsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
698
+ ListAssistantAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
699
+ ListAssistantAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
700
+ ListAssistantAssociationsRequest.struct_class = Types::ListAssistantAssociationsRequest
701
+
702
+ ListAssistantAssociationsResponse.add_member(:assistant_association_summaries, Shapes::ShapeRef.new(shape: AssistantAssociationSummaryList, required: true, location_name: "assistantAssociationSummaries"))
703
+ ListAssistantAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
704
+ ListAssistantAssociationsResponse.struct_class = Types::ListAssistantAssociationsResponse
705
+
706
+ ListAssistantsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
707
+ ListAssistantsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
708
+ ListAssistantsRequest.struct_class = Types::ListAssistantsRequest
709
+
710
+ ListAssistantsResponse.add_member(:assistant_summaries, Shapes::ShapeRef.new(shape: AssistantList, required: true, location_name: "assistantSummaries"))
711
+ ListAssistantsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
712
+ ListAssistantsResponse.struct_class = Types::ListAssistantsResponse
713
+
714
+ ListContentsRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
715
+ ListContentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
716
+ ListContentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
717
+ ListContentsRequest.struct_class = Types::ListContentsRequest
718
+
719
+ ListContentsResponse.add_member(:content_summaries, Shapes::ShapeRef.new(shape: ContentSummaryList, required: true, location_name: "contentSummaries"))
720
+ ListContentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
721
+ ListContentsResponse.struct_class = Types::ListContentsResponse
722
+
723
+ ListImportJobsRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
724
+ ListImportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
725
+ ListImportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "nextToken"))
726
+ ListImportJobsRequest.struct_class = Types::ListImportJobsRequest
727
+
728
+ ListImportJobsResponse.add_member(:import_job_summaries, Shapes::ShapeRef.new(shape: ImportJobList, required: true, location_name: "importJobSummaries"))
729
+ ListImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "nextToken"))
730
+ ListImportJobsResponse.struct_class = Types::ListImportJobsResponse
731
+
732
+ ListKnowledgeBasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
733
+ ListKnowledgeBasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "nextToken"))
734
+ ListKnowledgeBasesRequest.struct_class = Types::ListKnowledgeBasesRequest
735
+
736
+ ListKnowledgeBasesResponse.add_member(:knowledge_base_summaries, Shapes::ShapeRef.new(shape: KnowledgeBaseList, required: true, location_name: "knowledgeBaseSummaries"))
737
+ ListKnowledgeBasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "nextToken"))
738
+ ListKnowledgeBasesResponse.struct_class = Types::ListKnowledgeBasesResponse
739
+
740
+ ListQuickResponsesRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
741
+ ListQuickResponsesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
742
+ ListQuickResponsesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "nextToken"))
743
+ ListQuickResponsesRequest.struct_class = Types::ListQuickResponsesRequest
744
+
745
+ ListQuickResponsesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "nextToken"))
746
+ ListQuickResponsesResponse.add_member(:quick_response_summaries, Shapes::ShapeRef.new(shape: QuickResponseSummaryList, required: true, location_name: "quickResponseSummaries"))
747
+ ListQuickResponsesResponse.struct_class = Types::ListQuickResponsesResponse
748
+
749
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
750
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
751
+
752
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
753
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
754
+
755
+ NotifyRecommendationsReceivedError.add_member(:message, Shapes::ShapeRef.new(shape: NotifyRecommendationsReceivedErrorMessage, location_name: "message"))
756
+ NotifyRecommendationsReceivedError.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: RecommendationId, location_name: "recommendationId"))
757
+ NotifyRecommendationsReceivedError.struct_class = Types::NotifyRecommendationsReceivedError
758
+
759
+ NotifyRecommendationsReceivedErrorList.member = Shapes::ShapeRef.new(shape: NotifyRecommendationsReceivedError)
760
+
761
+ NotifyRecommendationsReceivedRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
762
+ NotifyRecommendationsReceivedRequest.add_member(:recommendation_ids, Shapes::ShapeRef.new(shape: RecommendationIdList, required: true, location_name: "recommendationIds"))
763
+ NotifyRecommendationsReceivedRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
764
+ NotifyRecommendationsReceivedRequest.struct_class = Types::NotifyRecommendationsReceivedRequest
765
+
766
+ NotifyRecommendationsReceivedResponse.add_member(:errors, Shapes::ShapeRef.new(shape: NotifyRecommendationsReceivedErrorList, location_name: "errors"))
767
+ NotifyRecommendationsReceivedResponse.add_member(:recommendation_ids, Shapes::ShapeRef.new(shape: RecommendationIdList, location_name: "recommendationIds"))
768
+ NotifyRecommendationsReceivedResponse.struct_class = Types::NotifyRecommendationsReceivedResponse
769
+
770
+ ObjectFieldsList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
771
+
772
+ PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
773
+ PreconditionFailedException.struct_class = Types::PreconditionFailedException
774
+
775
+ QueryAssistantRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
776
+ QueryAssistantRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
777
+ QueryAssistantRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
778
+ QueryAssistantRequest.add_member(:query_condition, Shapes::ShapeRef.new(shape: QueryConditionExpression, location_name: "queryCondition"))
779
+ QueryAssistantRequest.add_member(:query_text, Shapes::ShapeRef.new(shape: QueryText, required: true, location_name: "queryText"))
780
+ QueryAssistantRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, location_name: "sessionId"))
781
+ QueryAssistantRequest.struct_class = Types::QueryAssistantRequest
782
+
783
+ QueryAssistantResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
784
+ QueryAssistantResponse.add_member(:results, Shapes::ShapeRef.new(shape: QueryResultsList, required: true, location_name: "results"))
785
+ QueryAssistantResponse.struct_class = Types::QueryAssistantResponse
786
+
787
+ QueryCondition.add_member(:single, Shapes::ShapeRef.new(shape: QueryConditionItem, location_name: "single"))
788
+ QueryCondition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
789
+ QueryCondition.add_member_subclass(:single, Types::QueryCondition::Single)
790
+ QueryCondition.add_member_subclass(:unknown, Types::QueryCondition::Unknown)
791
+ QueryCondition.struct_class = Types::QueryCondition
792
+
793
+ QueryConditionExpression.member = Shapes::ShapeRef.new(shape: QueryCondition)
794
+
795
+ QueryConditionItem.add_member(:comparator, Shapes::ShapeRef.new(shape: QueryConditionComparisonOperator, required: true, location_name: "comparator"))
796
+ QueryConditionItem.add_member(:field, Shapes::ShapeRef.new(shape: QueryConditionFieldName, required: true, location_name: "field"))
797
+ QueryConditionItem.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "value"))
798
+ QueryConditionItem.struct_class = Types::QueryConditionItem
799
+
800
+ QueryRecommendationTriggerData.add_member(:text, Shapes::ShapeRef.new(shape: QueryText, location_name: "text"))
801
+ QueryRecommendationTriggerData.struct_class = Types::QueryRecommendationTriggerData
802
+
803
+ QueryResultsList.member = Shapes::ShapeRef.new(shape: ResultData)
804
+
805
+ QuickResponseContentProvider.add_member(:content, Shapes::ShapeRef.new(shape: QuickResponseContent, location_name: "content"))
806
+ QuickResponseContentProvider.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
807
+ QuickResponseContentProvider.add_member_subclass(:content, Types::QuickResponseContentProvider::Content)
808
+ QuickResponseContentProvider.add_member_subclass(:unknown, Types::QuickResponseContentProvider::Unknown)
809
+ QuickResponseContentProvider.struct_class = Types::QuickResponseContentProvider
810
+
811
+ QuickResponseContents.add_member(:markdown, Shapes::ShapeRef.new(shape: QuickResponseContentProvider, location_name: "markdown"))
812
+ QuickResponseContents.add_member(:plain_text, Shapes::ShapeRef.new(shape: QuickResponseContentProvider, location_name: "plainText"))
813
+ QuickResponseContents.struct_class = Types::QuickResponseContents
814
+
815
+ QuickResponseData.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
816
+ QuickResponseData.add_member(:content_type, Shapes::ShapeRef.new(shape: QuickResponseType, required: true, location_name: "contentType"))
817
+ QuickResponseData.add_member(:contents, Shapes::ShapeRef.new(shape: QuickResponseContents, location_name: "contents"))
818
+ QuickResponseData.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "createdTime"))
819
+ QuickResponseData.add_member(:description, Shapes::ShapeRef.new(shape: QuickResponseDescription, location_name: "description"))
820
+ QuickResponseData.add_member(:grouping_configuration, Shapes::ShapeRef.new(shape: GroupingConfiguration, location_name: "groupingConfiguration"))
821
+ QuickResponseData.add_member(:is_active, Shapes::ShapeRef.new(shape: Boolean, location_name: "isActive"))
822
+ QuickResponseData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
823
+ QuickResponseData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
824
+ QuickResponseData.add_member(:language, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "language"))
825
+ QuickResponseData.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: GenericArn, location_name: "lastModifiedBy"))
826
+ QuickResponseData.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "lastModifiedTime"))
827
+ QuickResponseData.add_member(:name, Shapes::ShapeRef.new(shape: QuickResponseName, required: true, location_name: "name"))
828
+ QuickResponseData.add_member(:quick_response_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "quickResponseArn"))
829
+ QuickResponseData.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "quickResponseId"))
830
+ QuickResponseData.add_member(:shortcut_key, Shapes::ShapeRef.new(shape: ShortCutKey, location_name: "shortcutKey"))
831
+ QuickResponseData.add_member(:status, Shapes::ShapeRef.new(shape: QuickResponseStatus, required: true, location_name: "status"))
832
+ QuickResponseData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
833
+ QuickResponseData.struct_class = Types::QuickResponseData
834
+
835
+ QuickResponseDataProvider.add_member(:content, Shapes::ShapeRef.new(shape: QuickResponseContent, location_name: "content"))
836
+ QuickResponseDataProvider.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
837
+ QuickResponseDataProvider.add_member_subclass(:content, Types::QuickResponseDataProvider::Content)
838
+ QuickResponseDataProvider.add_member_subclass(:unknown, Types::QuickResponseDataProvider::Unknown)
839
+ QuickResponseDataProvider.struct_class = Types::QuickResponseDataProvider
840
+
841
+ QuickResponseFilterField.add_member(:include_no_existence, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeNoExistence"))
842
+ QuickResponseFilterField.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
843
+ QuickResponseFilterField.add_member(:operator, Shapes::ShapeRef.new(shape: QuickResponseFilterOperator, required: true, location_name: "operator"))
844
+ QuickResponseFilterField.add_member(:values, Shapes::ShapeRef.new(shape: QuickResponseFilterValueList, location_name: "values"))
845
+ QuickResponseFilterField.struct_class = Types::QuickResponseFilterField
846
+
847
+ QuickResponseFilterFieldList.member = Shapes::ShapeRef.new(shape: QuickResponseFilterField)
848
+
849
+ QuickResponseFilterValueList.member = Shapes::ShapeRef.new(shape: QuickResponseFilterValue)
850
+
851
+ QuickResponseOrderField.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
852
+ QuickResponseOrderField.add_member(:order, Shapes::ShapeRef.new(shape: Order, location_name: "order"))
853
+ QuickResponseOrderField.struct_class = Types::QuickResponseOrderField
854
+
855
+ QuickResponseQueryField.add_member(:allow_fuzziness, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowFuzziness"))
856
+ QuickResponseQueryField.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
857
+ QuickResponseQueryField.add_member(:operator, Shapes::ShapeRef.new(shape: QuickResponseQueryOperator, required: true, location_name: "operator"))
858
+ QuickResponseQueryField.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, location_name: "priority"))
859
+ QuickResponseQueryField.add_member(:values, Shapes::ShapeRef.new(shape: QuickResponseQueryValueList, required: true, location_name: "values"))
860
+ QuickResponseQueryField.struct_class = Types::QuickResponseQueryField
861
+
862
+ QuickResponseQueryFieldList.member = Shapes::ShapeRef.new(shape: QuickResponseQueryField)
863
+
864
+ QuickResponseQueryValueList.member = Shapes::ShapeRef.new(shape: QuickResponseQueryValue)
865
+
866
+ QuickResponseSearchExpression.add_member(:filters, Shapes::ShapeRef.new(shape: QuickResponseFilterFieldList, location_name: "filters"))
867
+ QuickResponseSearchExpression.add_member(:order_on_field, Shapes::ShapeRef.new(shape: QuickResponseOrderField, location_name: "orderOnField"))
868
+ QuickResponseSearchExpression.add_member(:queries, Shapes::ShapeRef.new(shape: QuickResponseQueryFieldList, location_name: "queries"))
869
+ QuickResponseSearchExpression.struct_class = Types::QuickResponseSearchExpression
870
+
871
+ QuickResponseSearchResultData.add_member(:attributes_interpolated, Shapes::ShapeRef.new(shape: ContactAttributeKeys, location_name: "attributesInterpolated"))
872
+ QuickResponseSearchResultData.add_member(:attributes_not_interpolated, Shapes::ShapeRef.new(shape: ContactAttributeKeys, location_name: "attributesNotInterpolated"))
873
+ QuickResponseSearchResultData.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
874
+ QuickResponseSearchResultData.add_member(:content_type, Shapes::ShapeRef.new(shape: QuickResponseType, required: true, location_name: "contentType"))
875
+ QuickResponseSearchResultData.add_member(:contents, Shapes::ShapeRef.new(shape: QuickResponseContents, required: true, location_name: "contents"))
876
+ QuickResponseSearchResultData.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "createdTime"))
877
+ QuickResponseSearchResultData.add_member(:description, Shapes::ShapeRef.new(shape: QuickResponseDescription, location_name: "description"))
878
+ QuickResponseSearchResultData.add_member(:grouping_configuration, Shapes::ShapeRef.new(shape: GroupingConfiguration, location_name: "groupingConfiguration"))
879
+ QuickResponseSearchResultData.add_member(:is_active, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "isActive"))
880
+ QuickResponseSearchResultData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
881
+ QuickResponseSearchResultData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
882
+ QuickResponseSearchResultData.add_member(:language, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "language"))
883
+ QuickResponseSearchResultData.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: GenericArn, location_name: "lastModifiedBy"))
884
+ QuickResponseSearchResultData.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "lastModifiedTime"))
885
+ QuickResponseSearchResultData.add_member(:name, Shapes::ShapeRef.new(shape: QuickResponseName, required: true, location_name: "name"))
886
+ QuickResponseSearchResultData.add_member(:quick_response_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "quickResponseArn"))
887
+ QuickResponseSearchResultData.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "quickResponseId"))
888
+ QuickResponseSearchResultData.add_member(:shortcut_key, Shapes::ShapeRef.new(shape: ShortCutKey, location_name: "shortcutKey"))
889
+ QuickResponseSearchResultData.add_member(:status, Shapes::ShapeRef.new(shape: QuickResponseStatus, required: true, location_name: "status"))
890
+ QuickResponseSearchResultData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
891
+ QuickResponseSearchResultData.struct_class = Types::QuickResponseSearchResultData
892
+
893
+ QuickResponseSearchResultsList.member = Shapes::ShapeRef.new(shape: QuickResponseSearchResultData)
894
+
895
+ QuickResponseSummary.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
896
+ QuickResponseSummary.add_member(:content_type, Shapes::ShapeRef.new(shape: QuickResponseType, required: true, location_name: "contentType"))
897
+ QuickResponseSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "createdTime"))
898
+ QuickResponseSummary.add_member(:description, Shapes::ShapeRef.new(shape: QuickResponseDescription, location_name: "description"))
899
+ QuickResponseSummary.add_member(:is_active, Shapes::ShapeRef.new(shape: Boolean, location_name: "isActive"))
900
+ QuickResponseSummary.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
901
+ QuickResponseSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
902
+ QuickResponseSummary.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: GenericArn, location_name: "lastModifiedBy"))
903
+ QuickResponseSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "lastModifiedTime"))
904
+ QuickResponseSummary.add_member(:name, Shapes::ShapeRef.new(shape: QuickResponseName, required: true, location_name: "name"))
905
+ QuickResponseSummary.add_member(:quick_response_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "quickResponseArn"))
906
+ QuickResponseSummary.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "quickResponseId"))
907
+ QuickResponseSummary.add_member(:status, Shapes::ShapeRef.new(shape: QuickResponseStatus, required: true, location_name: "status"))
908
+ QuickResponseSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
909
+ QuickResponseSummary.struct_class = Types::QuickResponseSummary
910
+
911
+ QuickResponseSummaryList.member = Shapes::ShapeRef.new(shape: QuickResponseSummary)
912
+
913
+ RankingData.add_member(:relevance_level, Shapes::ShapeRef.new(shape: RelevanceLevel, location_name: "relevanceLevel"))
914
+ RankingData.add_member(:relevance_score, Shapes::ShapeRef.new(shape: RelevanceScore, location_name: "relevanceScore"))
915
+ RankingData.struct_class = Types::RankingData
916
+
917
+ RecommendationData.add_member(:data, Shapes::ShapeRef.new(shape: DataSummary, location_name: "data"))
918
+ RecommendationData.add_member(:document, Shapes::ShapeRef.new(shape: Document, location_name: "document"))
919
+ RecommendationData.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: RecommendationId, required: true, location_name: "recommendationId"))
920
+ RecommendationData.add_member(:relevance_level, Shapes::ShapeRef.new(shape: RelevanceLevel, location_name: "relevanceLevel"))
921
+ RecommendationData.add_member(:relevance_score, Shapes::ShapeRef.new(shape: RelevanceScore, location_name: "relevanceScore"))
922
+ RecommendationData.add_member(:type, Shapes::ShapeRef.new(shape: RecommendationType, location_name: "type"))
923
+ RecommendationData.struct_class = Types::RecommendationData
924
+
925
+ RecommendationIdList.member = Shapes::ShapeRef.new(shape: RecommendationId)
926
+
927
+ RecommendationList.member = Shapes::ShapeRef.new(shape: RecommendationData)
928
+
929
+ RecommendationTrigger.add_member(:data, Shapes::ShapeRef.new(shape: RecommendationTriggerData, required: true, location_name: "data"))
930
+ RecommendationTrigger.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
931
+ RecommendationTrigger.add_member(:recommendation_ids, Shapes::ShapeRef.new(shape: RecommendationIdList, required: true, location_name: "recommendationIds"))
932
+ RecommendationTrigger.add_member(:source, Shapes::ShapeRef.new(shape: RecommendationSourceType, required: true, location_name: "source"))
933
+ RecommendationTrigger.add_member(:type, Shapes::ShapeRef.new(shape: RecommendationTriggerType, required: true, location_name: "type"))
934
+ RecommendationTrigger.struct_class = Types::RecommendationTrigger
935
+
936
+ RecommendationTriggerData.add_member(:query, Shapes::ShapeRef.new(shape: QueryRecommendationTriggerData, location_name: "query"))
937
+ RecommendationTriggerData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
938
+ RecommendationTriggerData.add_member_subclass(:query, Types::RecommendationTriggerData::Query)
939
+ RecommendationTriggerData.add_member_subclass(:unknown, Types::RecommendationTriggerData::Unknown)
940
+ RecommendationTriggerData.struct_class = Types::RecommendationTriggerData
941
+
942
+ RecommendationTriggerList.member = Shapes::ShapeRef.new(shape: RecommendationTrigger)
943
+
944
+ RemoveKnowledgeBaseTemplateUriRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
945
+ RemoveKnowledgeBaseTemplateUriRequest.struct_class = Types::RemoveKnowledgeBaseTemplateUriRequest
946
+
947
+ RemoveKnowledgeBaseTemplateUriResponse.struct_class = Types::RemoveKnowledgeBaseTemplateUriResponse
948
+
949
+ RenderingConfiguration.add_member(:template_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "templateUri"))
950
+ RenderingConfiguration.struct_class = Types::RenderingConfiguration
951
+
952
+ RequestTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
953
+ RequestTimeoutException.struct_class = Types::RequestTimeoutException
954
+
955
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
956
+ ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "resourceName"))
957
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
958
+
959
+ ResultData.add_member(:data, Shapes::ShapeRef.new(shape: DataSummary, location_name: "data"))
960
+ ResultData.add_member(:document, Shapes::ShapeRef.new(shape: Document, location_name: "document"))
961
+ ResultData.add_member(:relevance_score, Shapes::ShapeRef.new(shape: RelevanceScore, location_name: "relevanceScore"))
962
+ ResultData.add_member(:result_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "resultId"))
963
+ ResultData.add_member(:type, Shapes::ShapeRef.new(shape: QueryResultType, location_name: "type"))
964
+ ResultData.struct_class = Types::ResultData
965
+
966
+ SearchContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
967
+ SearchContentRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
968
+ SearchContentRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
969
+ SearchContentRequest.add_member(:search_expression, Shapes::ShapeRef.new(shape: SearchExpression, required: true, location_name: "searchExpression"))
970
+ SearchContentRequest.struct_class = Types::SearchContentRequest
971
+
972
+ SearchContentResponse.add_member(:content_summaries, Shapes::ShapeRef.new(shape: ContentSummaryList, required: true, location_name: "contentSummaries"))
973
+ SearchContentResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
974
+ SearchContentResponse.struct_class = Types::SearchContentResponse
975
+
976
+ SearchExpression.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, required: true, location_name: "filters"))
977
+ SearchExpression.struct_class = Types::SearchExpression
978
+
979
+ SearchQuickResponsesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ContactAttributes, location_name: "attributes"))
980
+ SearchQuickResponsesRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
981
+ SearchQuickResponsesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
982
+ SearchQuickResponsesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "nextToken"))
983
+ SearchQuickResponsesRequest.add_member(:search_expression, Shapes::ShapeRef.new(shape: QuickResponseSearchExpression, required: true, location_name: "searchExpression"))
984
+ SearchQuickResponsesRequest.struct_class = Types::SearchQuickResponsesRequest
985
+
986
+ SearchQuickResponsesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "nextToken"))
987
+ SearchQuickResponsesResponse.add_member(:results, Shapes::ShapeRef.new(shape: QuickResponseSearchResultsList, required: true, location_name: "results"))
988
+ SearchQuickResponsesResponse.struct_class = Types::SearchQuickResponsesResponse
989
+
990
+ SearchSessionsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
991
+ SearchSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
992
+ SearchSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
993
+ SearchSessionsRequest.add_member(:search_expression, Shapes::ShapeRef.new(shape: SearchExpression, required: true, location_name: "searchExpression"))
994
+ SearchSessionsRequest.struct_class = Types::SearchSessionsRequest
995
+
996
+ SearchSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
997
+ SearchSessionsResponse.add_member(:session_summaries, Shapes::ShapeRef.new(shape: SessionSummaries, required: true, location_name: "sessionSummaries"))
998
+ SearchSessionsResponse.struct_class = Types::SearchSessionsResponse
999
+
1000
+ ServerSideEncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
1001
+ ServerSideEncryptionConfiguration.struct_class = Types::ServerSideEncryptionConfiguration
1002
+
1003
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1004
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1005
+
1006
+ SessionData.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1007
+ SessionData.add_member(:integration_configuration, Shapes::ShapeRef.new(shape: SessionIntegrationConfiguration, location_name: "integrationConfiguration"))
1008
+ SessionData.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
1009
+ SessionData.add_member(:session_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "sessionArn"))
1010
+ SessionData.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
1011
+ SessionData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1012
+ SessionData.struct_class = Types::SessionData
1013
+
1014
+ SessionIntegrationConfiguration.add_member(:topic_integration_arn, Shapes::ShapeRef.new(shape: GenericArn, location_name: "topicIntegrationArn"))
1015
+ SessionIntegrationConfiguration.struct_class = Types::SessionIntegrationConfiguration
1016
+
1017
+ SessionSummaries.member = Shapes::ShapeRef.new(shape: SessionSummary)
1018
+
1019
+ SessionSummary.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
1020
+ SessionSummary.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
1021
+ SessionSummary.add_member(:session_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "sessionArn"))
1022
+ SessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
1023
+ SessionSummary.struct_class = Types::SessionSummary
1024
+
1025
+ SourceConfiguration.add_member(:app_integrations, Shapes::ShapeRef.new(shape: AppIntegrationsConfiguration, location_name: "appIntegrations"))
1026
+ SourceConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1027
+ SourceConfiguration.add_member_subclass(:app_integrations, Types::SourceConfiguration::AppIntegrations)
1028
+ SourceConfiguration.add_member_subclass(:unknown, Types::SourceConfiguration::Unknown)
1029
+ SourceConfiguration.struct_class = Types::SourceConfiguration
1030
+
1031
+ SourceContentDataDetails.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
1032
+ SourceContentDataDetails.add_member(:ranking_data, Shapes::ShapeRef.new(shape: RankingData, required: true, location_name: "rankingData"))
1033
+ SourceContentDataDetails.add_member(:text_data, Shapes::ShapeRef.new(shape: TextData, required: true, location_name: "textData"))
1034
+ SourceContentDataDetails.add_member(:type, Shapes::ShapeRef.new(shape: SourceContentType, required: true, location_name: "type"))
1035
+ SourceContentDataDetails.struct_class = Types::SourceContentDataDetails
1036
+
1037
+ StartContentUploadRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
1038
+ StartContentUploadRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
1039
+ StartContentUploadRequest.add_member(:presigned_url_time_to_live, Shapes::ShapeRef.new(shape: TimeToLive, location_name: "presignedUrlTimeToLive"))
1040
+ StartContentUploadRequest.struct_class = Types::StartContentUploadRequest
1041
+
1042
+ StartContentUploadResponse.add_member(:headers_to_include, Shapes::ShapeRef.new(shape: Headers, required: true, location_name: "headersToInclude"))
1043
+ StartContentUploadResponse.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, required: true, location_name: "uploadId"))
1044
+ StartContentUploadResponse.add_member(:url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "url"))
1045
+ StartContentUploadResponse.add_member(:url_expiry, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "urlExpiry"))
1046
+ StartContentUploadResponse.struct_class = Types::StartContentUploadResponse
1047
+
1048
+ StartImportJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1049
+ StartImportJobRequest.add_member(:external_source_configuration, Shapes::ShapeRef.new(shape: ExternalSourceConfiguration, location_name: "externalSourceConfiguration"))
1050
+ StartImportJobRequest.add_member(:import_job_type, Shapes::ShapeRef.new(shape: ImportJobType, required: true, location_name: "importJobType"))
1051
+ StartImportJobRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
1052
+ StartImportJobRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, location_name: "metadata"))
1053
+ StartImportJobRequest.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, required: true, location_name: "uploadId"))
1054
+ StartImportJobRequest.struct_class = Types::StartImportJobRequest
1055
+
1056
+ StartImportJobResponse.add_member(:import_job, Shapes::ShapeRef.new(shape: ImportJobData, location_name: "importJob"))
1057
+ StartImportJobResponse.struct_class = Types::StartImportJobResponse
1058
+
1059
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
1060
+
1061
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
1062
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
1063
+ TagResourceRequest.struct_class = Types::TagResourceRequest
1064
+
1065
+ TagResourceResponse.struct_class = Types::TagResourceResponse
1066
+
1067
+ Tags.key = Shapes::ShapeRef.new(shape: TagKey)
1068
+ Tags.value = Shapes::ShapeRef.new(shape: TagValue)
1069
+
1070
+ TextData.add_member(:excerpt, Shapes::ShapeRef.new(shape: DocumentText, location_name: "excerpt"))
1071
+ TextData.add_member(:title, Shapes::ShapeRef.new(shape: DocumentText, location_name: "title"))
1072
+ TextData.struct_class = Types::TextData
1073
+
1074
+ TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1075
+ TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "resourceName"))
1076
+ TooManyTagsException.struct_class = Types::TooManyTagsException
1077
+
1078
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
1079
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1080
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
1081
+
1082
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
1083
+
1084
+ UpdateContentRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
1085
+ UpdateContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
1086
+ UpdateContentRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, location_name: "metadata"))
1087
+ UpdateContentRequest.add_member(:override_link_out_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "overrideLinkOutUri"))
1088
+ UpdateContentRequest.add_member(:remove_override_link_out_uri, Shapes::ShapeRef.new(shape: Boolean, location_name: "removeOverrideLinkOutUri"))
1089
+ UpdateContentRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "revisionId"))
1090
+ UpdateContentRequest.add_member(:title, Shapes::ShapeRef.new(shape: ContentTitle, location_name: "title"))
1091
+ UpdateContentRequest.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, location_name: "uploadId"))
1092
+ UpdateContentRequest.struct_class = Types::UpdateContentRequest
1093
+
1094
+ UpdateContentResponse.add_member(:content, Shapes::ShapeRef.new(shape: ContentData, location_name: "content"))
1095
+ UpdateContentResponse.struct_class = Types::UpdateContentResponse
1096
+
1097
+ UpdateKnowledgeBaseTemplateUriRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
1098
+ UpdateKnowledgeBaseTemplateUriRequest.add_member(:template_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "templateUri"))
1099
+ UpdateKnowledgeBaseTemplateUriRequest.struct_class = Types::UpdateKnowledgeBaseTemplateUriRequest
1100
+
1101
+ UpdateKnowledgeBaseTemplateUriResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBaseData, location_name: "knowledgeBase"))
1102
+ UpdateKnowledgeBaseTemplateUriResponse.struct_class = Types::UpdateKnowledgeBaseTemplateUriResponse
1103
+
1104
+ UpdateQuickResponseRequest.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
1105
+ UpdateQuickResponseRequest.add_member(:content, Shapes::ShapeRef.new(shape: QuickResponseDataProvider, location_name: "content"))
1106
+ UpdateQuickResponseRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: QuickResponseType, location_name: "contentType"))
1107
+ UpdateQuickResponseRequest.add_member(:description, Shapes::ShapeRef.new(shape: QuickResponseDescription, location_name: "description"))
1108
+ UpdateQuickResponseRequest.add_member(:grouping_configuration, Shapes::ShapeRef.new(shape: GroupingConfiguration, location_name: "groupingConfiguration"))
1109
+ UpdateQuickResponseRequest.add_member(:is_active, Shapes::ShapeRef.new(shape: Boolean, location_name: "isActive"))
1110
+ UpdateQuickResponseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
1111
+ UpdateQuickResponseRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "language"))
1112
+ UpdateQuickResponseRequest.add_member(:name, Shapes::ShapeRef.new(shape: QuickResponseName, location_name: "name"))
1113
+ UpdateQuickResponseRequest.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "quickResponseId"))
1114
+ UpdateQuickResponseRequest.add_member(:remove_description, Shapes::ShapeRef.new(shape: Boolean, location_name: "removeDescription"))
1115
+ UpdateQuickResponseRequest.add_member(:remove_grouping_configuration, Shapes::ShapeRef.new(shape: Boolean, location_name: "removeGroupingConfiguration"))
1116
+ UpdateQuickResponseRequest.add_member(:remove_shortcut_key, Shapes::ShapeRef.new(shape: Boolean, location_name: "removeShortcutKey"))
1117
+ UpdateQuickResponseRequest.add_member(:shortcut_key, Shapes::ShapeRef.new(shape: ShortCutKey, location_name: "shortcutKey"))
1118
+ UpdateQuickResponseRequest.struct_class = Types::UpdateQuickResponseRequest
1119
+
1120
+ UpdateQuickResponseResponse.add_member(:quick_response, Shapes::ShapeRef.new(shape: QuickResponseData, location_name: "quickResponse"))
1121
+ UpdateQuickResponseResponse.struct_class = Types::UpdateQuickResponseResponse
1122
+
1123
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1124
+ ValidationException.struct_class = Types::ValidationException
1125
+
1126
+
1127
+ # @api private
1128
+ API = Seahorse::Model::Api.new.tap do |api|
1129
+
1130
+ api.version = "2020-10-19"
1131
+
1132
+ api.metadata = {
1133
+ "apiVersion" => "2020-10-19",
1134
+ "endpointPrefix" => "wisdom",
1135
+ "jsonVersion" => "1.1",
1136
+ "protocol" => "rest-json",
1137
+ "serviceFullName" => "Amazon Q Connect",
1138
+ "serviceId" => "QConnect",
1139
+ "signatureVersion" => "v4",
1140
+ "signingName" => "wisdom",
1141
+ "uid" => "qconnect-2020-10-19",
1142
+ }
1143
+
1144
+ api.add_operation(:create_assistant, Seahorse::Model::Operation.new.tap do |o|
1145
+ o.name = "CreateAssistant"
1146
+ o.http_method = "POST"
1147
+ o.http_request_uri = "/assistants"
1148
+ o.input = Shapes::ShapeRef.new(shape: CreateAssistantRequest)
1149
+ o.output = Shapes::ShapeRef.new(shape: CreateAssistantResponse)
1150
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1151
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1152
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1153
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1154
+ end)
1155
+
1156
+ api.add_operation(:create_assistant_association, Seahorse::Model::Operation.new.tap do |o|
1157
+ o.name = "CreateAssistantAssociation"
1158
+ o.http_method = "POST"
1159
+ o.http_request_uri = "/assistants/{assistantId}/associations"
1160
+ o.input = Shapes::ShapeRef.new(shape: CreateAssistantAssociationRequest)
1161
+ o.output = Shapes::ShapeRef.new(shape: CreateAssistantAssociationResponse)
1162
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1163
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1164
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1165
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1166
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1167
+ end)
1168
+
1169
+ api.add_operation(:create_content, Seahorse::Model::Operation.new.tap do |o|
1170
+ o.name = "CreateContent"
1171
+ o.http_method = "POST"
1172
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents"
1173
+ o.input = Shapes::ShapeRef.new(shape: CreateContentRequest)
1174
+ o.output = Shapes::ShapeRef.new(shape: CreateContentResponse)
1175
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1176
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1177
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1178
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1179
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1180
+ end)
1181
+
1182
+ api.add_operation(:create_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
1183
+ o.name = "CreateKnowledgeBase"
1184
+ o.http_method = "POST"
1185
+ o.http_request_uri = "/knowledgeBases"
1186
+ o.input = Shapes::ShapeRef.new(shape: CreateKnowledgeBaseRequest)
1187
+ o.output = Shapes::ShapeRef.new(shape: CreateKnowledgeBaseResponse)
1188
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1189
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1190
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1191
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1192
+ end)
1193
+
1194
+ api.add_operation(:create_quick_response, Seahorse::Model::Operation.new.tap do |o|
1195
+ o.name = "CreateQuickResponse"
1196
+ o.http_method = "POST"
1197
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/quickResponses"
1198
+ o.input = Shapes::ShapeRef.new(shape: CreateQuickResponseRequest)
1199
+ o.output = Shapes::ShapeRef.new(shape: CreateQuickResponseResponse)
1200
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1201
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1202
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1203
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1204
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1205
+ end)
1206
+
1207
+ api.add_operation(:create_session, Seahorse::Model::Operation.new.tap do |o|
1208
+ o.name = "CreateSession"
1209
+ o.http_method = "POST"
1210
+ o.http_request_uri = "/assistants/{assistantId}/sessions"
1211
+ o.input = Shapes::ShapeRef.new(shape: CreateSessionRequest)
1212
+ o.output = Shapes::ShapeRef.new(shape: CreateSessionResponse)
1213
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1214
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1215
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1216
+ end)
1217
+
1218
+ api.add_operation(:delete_assistant, Seahorse::Model::Operation.new.tap do |o|
1219
+ o.name = "DeleteAssistant"
1220
+ o.http_method = "DELETE"
1221
+ o.http_request_uri = "/assistants/{assistantId}"
1222
+ o.input = Shapes::ShapeRef.new(shape: DeleteAssistantRequest)
1223
+ o.output = Shapes::ShapeRef.new(shape: DeleteAssistantResponse)
1224
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1225
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1226
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1227
+ end)
1228
+
1229
+ api.add_operation(:delete_assistant_association, Seahorse::Model::Operation.new.tap do |o|
1230
+ o.name = "DeleteAssistantAssociation"
1231
+ o.http_method = "DELETE"
1232
+ o.http_request_uri = "/assistants/{assistantId}/associations/{assistantAssociationId}"
1233
+ o.input = Shapes::ShapeRef.new(shape: DeleteAssistantAssociationRequest)
1234
+ o.output = Shapes::ShapeRef.new(shape: DeleteAssistantAssociationResponse)
1235
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1236
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1237
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1238
+ end)
1239
+
1240
+ api.add_operation(:delete_content, Seahorse::Model::Operation.new.tap do |o|
1241
+ o.name = "DeleteContent"
1242
+ o.http_method = "DELETE"
1243
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}"
1244
+ o.input = Shapes::ShapeRef.new(shape: DeleteContentRequest)
1245
+ o.output = Shapes::ShapeRef.new(shape: DeleteContentResponse)
1246
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1247
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1248
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1249
+ end)
1250
+
1251
+ api.add_operation(:delete_import_job, Seahorse::Model::Operation.new.tap do |o|
1252
+ o.name = "DeleteImportJob"
1253
+ o.http_method = "DELETE"
1254
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}"
1255
+ o.input = Shapes::ShapeRef.new(shape: DeleteImportJobRequest)
1256
+ o.output = Shapes::ShapeRef.new(shape: DeleteImportJobResponse)
1257
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1258
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1259
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1260
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1261
+ end)
1262
+
1263
+ api.add_operation(:delete_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
1264
+ o.name = "DeleteKnowledgeBase"
1265
+ o.http_method = "DELETE"
1266
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}"
1267
+ o.input = Shapes::ShapeRef.new(shape: DeleteKnowledgeBaseRequest)
1268
+ o.output = Shapes::ShapeRef.new(shape: DeleteKnowledgeBaseResponse)
1269
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1270
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1271
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1272
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1273
+ end)
1274
+
1275
+ api.add_operation(:delete_quick_response, Seahorse::Model::Operation.new.tap do |o|
1276
+ o.name = "DeleteQuickResponse"
1277
+ o.http_method = "DELETE"
1278
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}"
1279
+ o.input = Shapes::ShapeRef.new(shape: DeleteQuickResponseRequest)
1280
+ o.output = Shapes::ShapeRef.new(shape: DeleteQuickResponseResponse)
1281
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1282
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1283
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1284
+ end)
1285
+
1286
+ api.add_operation(:get_assistant, Seahorse::Model::Operation.new.tap do |o|
1287
+ o.name = "GetAssistant"
1288
+ o.http_method = "GET"
1289
+ o.http_request_uri = "/assistants/{assistantId}"
1290
+ o.input = Shapes::ShapeRef.new(shape: GetAssistantRequest)
1291
+ o.output = Shapes::ShapeRef.new(shape: GetAssistantResponse)
1292
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1293
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1294
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1295
+ end)
1296
+
1297
+ api.add_operation(:get_assistant_association, Seahorse::Model::Operation.new.tap do |o|
1298
+ o.name = "GetAssistantAssociation"
1299
+ o.http_method = "GET"
1300
+ o.http_request_uri = "/assistants/{assistantId}/associations/{assistantAssociationId}"
1301
+ o.input = Shapes::ShapeRef.new(shape: GetAssistantAssociationRequest)
1302
+ o.output = Shapes::ShapeRef.new(shape: GetAssistantAssociationResponse)
1303
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1304
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1305
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1306
+ end)
1307
+
1308
+ api.add_operation(:get_content, Seahorse::Model::Operation.new.tap do |o|
1309
+ o.name = "GetContent"
1310
+ o.http_method = "GET"
1311
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}"
1312
+ o.input = Shapes::ShapeRef.new(shape: GetContentRequest)
1313
+ o.output = Shapes::ShapeRef.new(shape: GetContentResponse)
1314
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1315
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1316
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1317
+ end)
1318
+
1319
+ api.add_operation(:get_content_summary, Seahorse::Model::Operation.new.tap do |o|
1320
+ o.name = "GetContentSummary"
1321
+ o.http_method = "GET"
1322
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary"
1323
+ o.input = Shapes::ShapeRef.new(shape: GetContentSummaryRequest)
1324
+ o.output = Shapes::ShapeRef.new(shape: GetContentSummaryResponse)
1325
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1326
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1327
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1328
+ end)
1329
+
1330
+ api.add_operation(:get_import_job, Seahorse::Model::Operation.new.tap do |o|
1331
+ o.name = "GetImportJob"
1332
+ o.http_method = "GET"
1333
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}"
1334
+ o.input = Shapes::ShapeRef.new(shape: GetImportJobRequest)
1335
+ o.output = Shapes::ShapeRef.new(shape: GetImportJobResponse)
1336
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1337
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1338
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1339
+ end)
1340
+
1341
+ api.add_operation(:get_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
1342
+ o.name = "GetKnowledgeBase"
1343
+ o.http_method = "GET"
1344
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}"
1345
+ o.input = Shapes::ShapeRef.new(shape: GetKnowledgeBaseRequest)
1346
+ o.output = Shapes::ShapeRef.new(shape: GetKnowledgeBaseResponse)
1347
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1348
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1350
+ end)
1351
+
1352
+ api.add_operation(:get_quick_response, Seahorse::Model::Operation.new.tap do |o|
1353
+ o.name = "GetQuickResponse"
1354
+ o.http_method = "GET"
1355
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}"
1356
+ o.input = Shapes::ShapeRef.new(shape: GetQuickResponseRequest)
1357
+ o.output = Shapes::ShapeRef.new(shape: GetQuickResponseResponse)
1358
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1359
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1360
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1361
+ end)
1362
+
1363
+ api.add_operation(:get_recommendations, Seahorse::Model::Operation.new.tap do |o|
1364
+ o.name = "GetRecommendations"
1365
+ o.http_method = "GET"
1366
+ o.http_request_uri = "/assistants/{assistantId}/sessions/{sessionId}/recommendations"
1367
+ o.input = Shapes::ShapeRef.new(shape: GetRecommendationsRequest)
1368
+ o.output = Shapes::ShapeRef.new(shape: GetRecommendationsResponse)
1369
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1370
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1371
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1372
+ end)
1373
+
1374
+ api.add_operation(:get_session, Seahorse::Model::Operation.new.tap do |o|
1375
+ o.name = "GetSession"
1376
+ o.http_method = "GET"
1377
+ o.http_request_uri = "/assistants/{assistantId}/sessions/{sessionId}"
1378
+ o.input = Shapes::ShapeRef.new(shape: GetSessionRequest)
1379
+ o.output = Shapes::ShapeRef.new(shape: GetSessionResponse)
1380
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1381
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1382
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1383
+ end)
1384
+
1385
+ api.add_operation(:list_assistant_associations, Seahorse::Model::Operation.new.tap do |o|
1386
+ o.name = "ListAssistantAssociations"
1387
+ o.http_method = "GET"
1388
+ o.http_request_uri = "/assistants/{assistantId}/associations"
1389
+ o.input = Shapes::ShapeRef.new(shape: ListAssistantAssociationsRequest)
1390
+ o.output = Shapes::ShapeRef.new(shape: ListAssistantAssociationsResponse)
1391
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1392
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1393
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1394
+ o[:pager] = Aws::Pager.new(
1395
+ limit_key: "max_results",
1396
+ tokens: {
1397
+ "next_token" => "next_token"
1398
+ }
1399
+ )
1400
+ end)
1401
+
1402
+ api.add_operation(:list_assistants, Seahorse::Model::Operation.new.tap do |o|
1403
+ o.name = "ListAssistants"
1404
+ o.http_method = "GET"
1405
+ o.http_request_uri = "/assistants"
1406
+ o.input = Shapes::ShapeRef.new(shape: ListAssistantsRequest)
1407
+ o.output = Shapes::ShapeRef.new(shape: ListAssistantsResponse)
1408
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1409
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1410
+ o[:pager] = Aws::Pager.new(
1411
+ limit_key: "max_results",
1412
+ tokens: {
1413
+ "next_token" => "next_token"
1414
+ }
1415
+ )
1416
+ end)
1417
+
1418
+ api.add_operation(:list_contents, Seahorse::Model::Operation.new.tap do |o|
1419
+ o.name = "ListContents"
1420
+ o.http_method = "GET"
1421
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents"
1422
+ o.input = Shapes::ShapeRef.new(shape: ListContentsRequest)
1423
+ o.output = Shapes::ShapeRef.new(shape: ListContentsResponse)
1424
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1425
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1426
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1427
+ o[:pager] = Aws::Pager.new(
1428
+ limit_key: "max_results",
1429
+ tokens: {
1430
+ "next_token" => "next_token"
1431
+ }
1432
+ )
1433
+ end)
1434
+
1435
+ api.add_operation(:list_import_jobs, Seahorse::Model::Operation.new.tap do |o|
1436
+ o.name = "ListImportJobs"
1437
+ o.http_method = "GET"
1438
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/importJobs"
1439
+ o.input = Shapes::ShapeRef.new(shape: ListImportJobsRequest)
1440
+ o.output = Shapes::ShapeRef.new(shape: ListImportJobsResponse)
1441
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1442
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1443
+ o[:pager] = Aws::Pager.new(
1444
+ limit_key: "max_results",
1445
+ tokens: {
1446
+ "next_token" => "next_token"
1447
+ }
1448
+ )
1449
+ end)
1450
+
1451
+ api.add_operation(:list_knowledge_bases, Seahorse::Model::Operation.new.tap do |o|
1452
+ o.name = "ListKnowledgeBases"
1453
+ o.http_method = "GET"
1454
+ o.http_request_uri = "/knowledgeBases"
1455
+ o.input = Shapes::ShapeRef.new(shape: ListKnowledgeBasesRequest)
1456
+ o.output = Shapes::ShapeRef.new(shape: ListKnowledgeBasesResponse)
1457
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1458
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1459
+ o[:pager] = Aws::Pager.new(
1460
+ limit_key: "max_results",
1461
+ tokens: {
1462
+ "next_token" => "next_token"
1463
+ }
1464
+ )
1465
+ end)
1466
+
1467
+ api.add_operation(:list_quick_responses, Seahorse::Model::Operation.new.tap do |o|
1468
+ o.name = "ListQuickResponses"
1469
+ o.http_method = "GET"
1470
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/quickResponses"
1471
+ o.input = Shapes::ShapeRef.new(shape: ListQuickResponsesRequest)
1472
+ o.output = Shapes::ShapeRef.new(shape: ListQuickResponsesResponse)
1473
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1474
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1475
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1476
+ o[:pager] = Aws::Pager.new(
1477
+ limit_key: "max_results",
1478
+ tokens: {
1479
+ "next_token" => "next_token"
1480
+ }
1481
+ )
1482
+ end)
1483
+
1484
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1485
+ o.name = "ListTagsForResource"
1486
+ o.http_method = "GET"
1487
+ o.http_request_uri = "/tags/{resourceArn}"
1488
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1489
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1490
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1491
+ end)
1492
+
1493
+ api.add_operation(:notify_recommendations_received, Seahorse::Model::Operation.new.tap do |o|
1494
+ o.name = "NotifyRecommendationsReceived"
1495
+ o.http_method = "POST"
1496
+ o.http_request_uri = "/assistants/{assistantId}/sessions/{sessionId}/recommendations/notify"
1497
+ o.input = Shapes::ShapeRef.new(shape: NotifyRecommendationsReceivedRequest)
1498
+ o.output = Shapes::ShapeRef.new(shape: NotifyRecommendationsReceivedResponse)
1499
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1500
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1501
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1502
+ end)
1503
+
1504
+ api.add_operation(:query_assistant, Seahorse::Model::Operation.new.tap do |o|
1505
+ o.name = "QueryAssistant"
1506
+ o.http_method = "POST"
1507
+ o.http_request_uri = "/assistants/{assistantId}/query"
1508
+ o.input = Shapes::ShapeRef.new(shape: QueryAssistantRequest)
1509
+ o.output = Shapes::ShapeRef.new(shape: QueryAssistantResponse)
1510
+ o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
1511
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1512
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1513
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1514
+ o[:pager] = Aws::Pager.new(
1515
+ limit_key: "max_results",
1516
+ tokens: {
1517
+ "next_token" => "next_token"
1518
+ }
1519
+ )
1520
+ end)
1521
+
1522
+ api.add_operation(:remove_knowledge_base_template_uri, Seahorse::Model::Operation.new.tap do |o|
1523
+ o.name = "RemoveKnowledgeBaseTemplateUri"
1524
+ o.http_method = "DELETE"
1525
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/templateUri"
1526
+ o.input = Shapes::ShapeRef.new(shape: RemoveKnowledgeBaseTemplateUriRequest)
1527
+ o.output = Shapes::ShapeRef.new(shape: RemoveKnowledgeBaseTemplateUriResponse)
1528
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1529
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1530
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1531
+ end)
1532
+
1533
+ api.add_operation(:search_content, Seahorse::Model::Operation.new.tap do |o|
1534
+ o.name = "SearchContent"
1535
+ o.http_method = "POST"
1536
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/search"
1537
+ o.input = Shapes::ShapeRef.new(shape: SearchContentRequest)
1538
+ o.output = Shapes::ShapeRef.new(shape: SearchContentResponse)
1539
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1540
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1541
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1542
+ o[:pager] = Aws::Pager.new(
1543
+ limit_key: "max_results",
1544
+ tokens: {
1545
+ "next_token" => "next_token"
1546
+ }
1547
+ )
1548
+ end)
1549
+
1550
+ api.add_operation(:search_quick_responses, Seahorse::Model::Operation.new.tap do |o|
1551
+ o.name = "SearchQuickResponses"
1552
+ o.http_method = "POST"
1553
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/search/quickResponses"
1554
+ o.input = Shapes::ShapeRef.new(shape: SearchQuickResponsesRequest)
1555
+ o.output = Shapes::ShapeRef.new(shape: SearchQuickResponsesResponse)
1556
+ o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
1557
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1558
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1559
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1560
+ o[:pager] = Aws::Pager.new(
1561
+ limit_key: "max_results",
1562
+ tokens: {
1563
+ "next_token" => "next_token"
1564
+ }
1565
+ )
1566
+ end)
1567
+
1568
+ api.add_operation(:search_sessions, Seahorse::Model::Operation.new.tap do |o|
1569
+ o.name = "SearchSessions"
1570
+ o.http_method = "POST"
1571
+ o.http_request_uri = "/assistants/{assistantId}/searchSessions"
1572
+ o.input = Shapes::ShapeRef.new(shape: SearchSessionsRequest)
1573
+ o.output = Shapes::ShapeRef.new(shape: SearchSessionsResponse)
1574
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1575
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1576
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1577
+ o[:pager] = Aws::Pager.new(
1578
+ limit_key: "max_results",
1579
+ tokens: {
1580
+ "next_token" => "next_token"
1581
+ }
1582
+ )
1583
+ end)
1584
+
1585
+ api.add_operation(:start_content_upload, Seahorse::Model::Operation.new.tap do |o|
1586
+ o.name = "StartContentUpload"
1587
+ o.http_method = "POST"
1588
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/upload"
1589
+ o.input = Shapes::ShapeRef.new(shape: StartContentUploadRequest)
1590
+ o.output = Shapes::ShapeRef.new(shape: StartContentUploadResponse)
1591
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1592
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1593
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1594
+ end)
1595
+
1596
+ api.add_operation(:start_import_job, Seahorse::Model::Operation.new.tap do |o|
1597
+ o.name = "StartImportJob"
1598
+ o.http_method = "POST"
1599
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/importJobs"
1600
+ o.input = Shapes::ShapeRef.new(shape: StartImportJobRequest)
1601
+ o.output = Shapes::ShapeRef.new(shape: StartImportJobResponse)
1602
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1603
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1604
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1605
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1606
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1607
+ end)
1608
+
1609
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1610
+ o.name = "TagResource"
1611
+ o.http_method = "POST"
1612
+ o.http_request_uri = "/tags/{resourceArn}"
1613
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1614
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1615
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1616
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1617
+ end)
1618
+
1619
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1620
+ o.name = "UntagResource"
1621
+ o.http_method = "DELETE"
1622
+ o.http_request_uri = "/tags/{resourceArn}"
1623
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1624
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1625
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1626
+ end)
1627
+
1628
+ api.add_operation(:update_content, Seahorse::Model::Operation.new.tap do |o|
1629
+ o.name = "UpdateContent"
1630
+ o.http_method = "POST"
1631
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}"
1632
+ o.input = Shapes::ShapeRef.new(shape: UpdateContentRequest)
1633
+ o.output = Shapes::ShapeRef.new(shape: UpdateContentResponse)
1634
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1635
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1636
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1637
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1638
+ end)
1639
+
1640
+ api.add_operation(:update_knowledge_base_template_uri, Seahorse::Model::Operation.new.tap do |o|
1641
+ o.name = "UpdateKnowledgeBaseTemplateUri"
1642
+ o.http_method = "POST"
1643
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/templateUri"
1644
+ o.input = Shapes::ShapeRef.new(shape: UpdateKnowledgeBaseTemplateUriRequest)
1645
+ o.output = Shapes::ShapeRef.new(shape: UpdateKnowledgeBaseTemplateUriResponse)
1646
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1647
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1648
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1649
+ end)
1650
+
1651
+ api.add_operation(:update_quick_response, Seahorse::Model::Operation.new.tap do |o|
1652
+ o.name = "UpdateQuickResponse"
1653
+ o.http_method = "POST"
1654
+ o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}"
1655
+ o.input = Shapes::ShapeRef.new(shape: UpdateQuickResponseRequest)
1656
+ o.output = Shapes::ShapeRef.new(shape: UpdateQuickResponseResponse)
1657
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1658
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1659
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1660
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1661
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1662
+ end)
1663
+ end
1664
+
1665
+ end
1666
+ end