aws-sdk-connectwisdomservice 1.22.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectwisdomservice/client.rb +798 -33
- data/lib/aws-sdk-connectwisdomservice/client_api.rb +475 -0
- data/lib/aws-sdk-connectwisdomservice/endpoints.rb +140 -0
- data/lib/aws-sdk-connectwisdomservice/errors.rb +20 -0
- data/lib/aws-sdk-connectwisdomservice/plugins/endpoints.rb +20 -0
- data/lib/aws-sdk-connectwisdomservice/types.rb +1597 -179
- data/lib/aws-sdk-connectwisdomservice.rb +1 -1
- metadata +2 -2
@@ -29,8 +29,16 @@ module Aws::ConnectWisdomService
|
|
29
29
|
AssistantType = Shapes::StringShape.new(name: 'AssistantType')
|
30
30
|
AssociationType = Shapes::StringShape.new(name: 'AssociationType')
|
31
31
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
32
|
+
Channel = Shapes::StringShape.new(name: 'Channel')
|
33
|
+
Channels = Shapes::ListShape.new(name: 'Channels')
|
32
34
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
35
|
+
Configuration = Shapes::UnionShape.new(name: 'Configuration')
|
33
36
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
37
|
+
ConnectConfiguration = Shapes::StructureShape.new(name: 'ConnectConfiguration')
|
38
|
+
ContactAttributeKey = Shapes::StringShape.new(name: 'ContactAttributeKey')
|
39
|
+
ContactAttributeKeys = Shapes::ListShape.new(name: 'ContactAttributeKeys')
|
40
|
+
ContactAttributeValue = Shapes::StringShape.new(name: 'ContactAttributeValue')
|
41
|
+
ContactAttributes = Shapes::MapShape.new(name: 'ContactAttributes')
|
34
42
|
ContentData = Shapes::StructureShape.new(name: 'ContentData')
|
35
43
|
ContentMetadata = Shapes::MapShape.new(name: 'ContentMetadata')
|
36
44
|
ContentReference = Shapes::StructureShape.new(name: 'ContentReference')
|
@@ -47,6 +55,8 @@ module Aws::ConnectWisdomService
|
|
47
55
|
CreateContentResponse = Shapes::StructureShape.new(name: 'CreateContentResponse')
|
48
56
|
CreateKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'CreateKnowledgeBaseRequest')
|
49
57
|
CreateKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'CreateKnowledgeBaseResponse')
|
58
|
+
CreateQuickResponseRequest = Shapes::StructureShape.new(name: 'CreateQuickResponseRequest')
|
59
|
+
CreateQuickResponseResponse = Shapes::StructureShape.new(name: 'CreateQuickResponseResponse')
|
50
60
|
CreateSessionRequest = Shapes::StructureShape.new(name: 'CreateSessionRequest')
|
51
61
|
CreateSessionResponse = Shapes::StructureShape.new(name: 'CreateSessionResponse')
|
52
62
|
DeleteAssistantAssociationRequest = Shapes::StructureShape.new(name: 'DeleteAssistantAssociationRequest')
|
@@ -55,11 +65,17 @@ module Aws::ConnectWisdomService
|
|
55
65
|
DeleteAssistantResponse = Shapes::StructureShape.new(name: 'DeleteAssistantResponse')
|
56
66
|
DeleteContentRequest = Shapes::StructureShape.new(name: 'DeleteContentRequest')
|
57
67
|
DeleteContentResponse = Shapes::StructureShape.new(name: 'DeleteContentResponse')
|
68
|
+
DeleteImportJobRequest = Shapes::StructureShape.new(name: 'DeleteImportJobRequest')
|
69
|
+
DeleteImportJobResponse = Shapes::StructureShape.new(name: 'DeleteImportJobResponse')
|
58
70
|
DeleteKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'DeleteKnowledgeBaseRequest')
|
59
71
|
DeleteKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'DeleteKnowledgeBaseResponse')
|
72
|
+
DeleteQuickResponseRequest = Shapes::StructureShape.new(name: 'DeleteQuickResponseRequest')
|
73
|
+
DeleteQuickResponseResponse = Shapes::StructureShape.new(name: 'DeleteQuickResponseResponse')
|
60
74
|
Description = Shapes::StringShape.new(name: 'Description')
|
61
75
|
Document = Shapes::StructureShape.new(name: 'Document')
|
62
76
|
DocumentText = Shapes::StructureShape.new(name: 'DocumentText')
|
77
|
+
ExternalSource = Shapes::StringShape.new(name: 'ExternalSource')
|
78
|
+
ExternalSourceConfiguration = Shapes::StructureShape.new(name: 'ExternalSourceConfiguration')
|
63
79
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
64
80
|
FilterField = Shapes::StringShape.new(name: 'FilterField')
|
65
81
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
@@ -73,30 +89,48 @@ module Aws::ConnectWisdomService
|
|
73
89
|
GetContentResponse = Shapes::StructureShape.new(name: 'GetContentResponse')
|
74
90
|
GetContentSummaryRequest = Shapes::StructureShape.new(name: 'GetContentSummaryRequest')
|
75
91
|
GetContentSummaryResponse = Shapes::StructureShape.new(name: 'GetContentSummaryResponse')
|
92
|
+
GetImportJobRequest = Shapes::StructureShape.new(name: 'GetImportJobRequest')
|
93
|
+
GetImportJobResponse = Shapes::StructureShape.new(name: 'GetImportJobResponse')
|
76
94
|
GetKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'GetKnowledgeBaseRequest')
|
77
95
|
GetKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'GetKnowledgeBaseResponse')
|
96
|
+
GetQuickResponseRequest = Shapes::StructureShape.new(name: 'GetQuickResponseRequest')
|
97
|
+
GetQuickResponseResponse = Shapes::StructureShape.new(name: 'GetQuickResponseResponse')
|
78
98
|
GetRecommendationsRequest = Shapes::StructureShape.new(name: 'GetRecommendationsRequest')
|
79
99
|
GetRecommendationsResponse = Shapes::StructureShape.new(name: 'GetRecommendationsResponse')
|
80
100
|
GetSessionRequest = Shapes::StructureShape.new(name: 'GetSessionRequest')
|
81
101
|
GetSessionResponse = Shapes::StructureShape.new(name: 'GetSessionResponse')
|
102
|
+
GroupingConfiguration = Shapes::StructureShape.new(name: 'GroupingConfiguration')
|
103
|
+
GroupingCriteria = Shapes::StringShape.new(name: 'GroupingCriteria')
|
104
|
+
GroupingValue = Shapes::StringShape.new(name: 'GroupingValue')
|
105
|
+
GroupingValues = Shapes::ListShape.new(name: 'GroupingValues')
|
82
106
|
Headers = Shapes::MapShape.new(name: 'Headers')
|
83
107
|
Highlight = Shapes::StructureShape.new(name: 'Highlight')
|
84
108
|
HighlightOffset = Shapes::IntegerShape.new(name: 'HighlightOffset')
|
85
109
|
Highlights = Shapes::ListShape.new(name: 'Highlights')
|
110
|
+
ImportJobData = Shapes::StructureShape.new(name: 'ImportJobData')
|
111
|
+
ImportJobList = Shapes::ListShape.new(name: 'ImportJobList')
|
112
|
+
ImportJobStatus = Shapes::StringShape.new(name: 'ImportJobStatus')
|
113
|
+
ImportJobSummary = Shapes::StructureShape.new(name: 'ImportJobSummary')
|
114
|
+
ImportJobType = Shapes::StringShape.new(name: 'ImportJobType')
|
86
115
|
KnowledgeBaseAssociationData = Shapes::StructureShape.new(name: 'KnowledgeBaseAssociationData')
|
87
116
|
KnowledgeBaseData = Shapes::StructureShape.new(name: 'KnowledgeBaseData')
|
88
117
|
KnowledgeBaseList = Shapes::ListShape.new(name: 'KnowledgeBaseList')
|
89
118
|
KnowledgeBaseStatus = Shapes::StringShape.new(name: 'KnowledgeBaseStatus')
|
90
119
|
KnowledgeBaseSummary = Shapes::StructureShape.new(name: 'KnowledgeBaseSummary')
|
91
120
|
KnowledgeBaseType = Shapes::StringShape.new(name: 'KnowledgeBaseType')
|
121
|
+
LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
|
92
122
|
ListAssistantAssociationsRequest = Shapes::StructureShape.new(name: 'ListAssistantAssociationsRequest')
|
93
123
|
ListAssistantAssociationsResponse = Shapes::StructureShape.new(name: 'ListAssistantAssociationsResponse')
|
94
124
|
ListAssistantsRequest = Shapes::StructureShape.new(name: 'ListAssistantsRequest')
|
95
125
|
ListAssistantsResponse = Shapes::StructureShape.new(name: 'ListAssistantsResponse')
|
96
126
|
ListContentsRequest = Shapes::StructureShape.new(name: 'ListContentsRequest')
|
97
127
|
ListContentsResponse = Shapes::StructureShape.new(name: 'ListContentsResponse')
|
128
|
+
ListImportJobsRequest = Shapes::StructureShape.new(name: 'ListImportJobsRequest')
|
129
|
+
ListImportJobsResponse = Shapes::StructureShape.new(name: 'ListImportJobsResponse')
|
98
130
|
ListKnowledgeBasesRequest = Shapes::StructureShape.new(name: 'ListKnowledgeBasesRequest')
|
99
131
|
ListKnowledgeBasesResponse = Shapes::StructureShape.new(name: 'ListKnowledgeBasesResponse')
|
132
|
+
ListQuickResponsesRequest = Shapes::StructureShape.new(name: 'ListQuickResponsesRequest')
|
133
|
+
ListQuickResponsesResponse = Shapes::StructureShape.new(name: 'ListQuickResponsesResponse')
|
100
134
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
101
135
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
102
136
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
@@ -109,12 +143,39 @@ module Aws::ConnectWisdomService
|
|
109
143
|
NotifyRecommendationsReceivedRequest = Shapes::StructureShape.new(name: 'NotifyRecommendationsReceivedRequest')
|
110
144
|
NotifyRecommendationsReceivedResponse = Shapes::StructureShape.new(name: 'NotifyRecommendationsReceivedResponse')
|
111
145
|
ObjectFieldsList = Shapes::ListShape.new(name: 'ObjectFieldsList')
|
146
|
+
Order = Shapes::StringShape.new(name: 'Order')
|
112
147
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
148
|
+
Priority = Shapes::StringShape.new(name: 'Priority')
|
113
149
|
QueryAssistantRequest = Shapes::StructureShape.new(name: 'QueryAssistantRequest')
|
114
150
|
QueryAssistantResponse = Shapes::StructureShape.new(name: 'QueryAssistantResponse')
|
115
151
|
QueryRecommendationTriggerData = Shapes::StructureShape.new(name: 'QueryRecommendationTriggerData')
|
116
152
|
QueryResultsList = Shapes::ListShape.new(name: 'QueryResultsList')
|
117
153
|
QueryText = Shapes::StringShape.new(name: 'QueryText')
|
154
|
+
QuickResponseContent = Shapes::StringShape.new(name: 'QuickResponseContent')
|
155
|
+
QuickResponseContentProvider = Shapes::UnionShape.new(name: 'QuickResponseContentProvider')
|
156
|
+
QuickResponseContents = Shapes::StructureShape.new(name: 'QuickResponseContents')
|
157
|
+
QuickResponseData = Shapes::StructureShape.new(name: 'QuickResponseData')
|
158
|
+
QuickResponseDataProvider = Shapes::UnionShape.new(name: 'QuickResponseDataProvider')
|
159
|
+
QuickResponseDescription = Shapes::StringShape.new(name: 'QuickResponseDescription')
|
160
|
+
QuickResponseFilterField = Shapes::StructureShape.new(name: 'QuickResponseFilterField')
|
161
|
+
QuickResponseFilterFieldList = Shapes::ListShape.new(name: 'QuickResponseFilterFieldList')
|
162
|
+
QuickResponseFilterOperator = Shapes::StringShape.new(name: 'QuickResponseFilterOperator')
|
163
|
+
QuickResponseFilterValue = Shapes::StringShape.new(name: 'QuickResponseFilterValue')
|
164
|
+
QuickResponseFilterValueList = Shapes::ListShape.new(name: 'QuickResponseFilterValueList')
|
165
|
+
QuickResponseName = Shapes::StringShape.new(name: 'QuickResponseName')
|
166
|
+
QuickResponseOrderField = Shapes::StructureShape.new(name: 'QuickResponseOrderField')
|
167
|
+
QuickResponseQueryField = Shapes::StructureShape.new(name: 'QuickResponseQueryField')
|
168
|
+
QuickResponseQueryFieldList = Shapes::ListShape.new(name: 'QuickResponseQueryFieldList')
|
169
|
+
QuickResponseQueryOperator = Shapes::StringShape.new(name: 'QuickResponseQueryOperator')
|
170
|
+
QuickResponseQueryValue = Shapes::StringShape.new(name: 'QuickResponseQueryValue')
|
171
|
+
QuickResponseQueryValueList = Shapes::ListShape.new(name: 'QuickResponseQueryValueList')
|
172
|
+
QuickResponseSearchExpression = Shapes::StructureShape.new(name: 'QuickResponseSearchExpression')
|
173
|
+
QuickResponseSearchResultData = Shapes::StructureShape.new(name: 'QuickResponseSearchResultData')
|
174
|
+
QuickResponseSearchResultsList = Shapes::ListShape.new(name: 'QuickResponseSearchResultsList')
|
175
|
+
QuickResponseStatus = Shapes::StringShape.new(name: 'QuickResponseStatus')
|
176
|
+
QuickResponseSummary = Shapes::StructureShape.new(name: 'QuickResponseSummary')
|
177
|
+
QuickResponseSummaryList = Shapes::ListShape.new(name: 'QuickResponseSummaryList')
|
178
|
+
QuickResponseType = Shapes::StringShape.new(name: 'QuickResponseType')
|
118
179
|
RecommendationData = Shapes::StructureShape.new(name: 'RecommendationData')
|
119
180
|
RecommendationIdList = Shapes::ListShape.new(name: 'RecommendationIdList')
|
120
181
|
RecommendationList = Shapes::ListShape.new(name: 'RecommendationList')
|
@@ -129,11 +190,14 @@ module Aws::ConnectWisdomService
|
|
129
190
|
RemoveKnowledgeBaseTemplateUriRequest = Shapes::StructureShape.new(name: 'RemoveKnowledgeBaseTemplateUriRequest')
|
130
191
|
RemoveKnowledgeBaseTemplateUriResponse = Shapes::StructureShape.new(name: 'RemoveKnowledgeBaseTemplateUriResponse')
|
131
192
|
RenderingConfiguration = Shapes::StructureShape.new(name: 'RenderingConfiguration')
|
193
|
+
RequestTimeoutException = Shapes::StructureShape.new(name: 'RequestTimeoutException')
|
132
194
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
133
195
|
ResultData = Shapes::StructureShape.new(name: 'ResultData')
|
134
196
|
SearchContentRequest = Shapes::StructureShape.new(name: 'SearchContentRequest')
|
135
197
|
SearchContentResponse = Shapes::StructureShape.new(name: 'SearchContentResponse')
|
136
198
|
SearchExpression = Shapes::StructureShape.new(name: 'SearchExpression')
|
199
|
+
SearchQuickResponsesRequest = Shapes::StructureShape.new(name: 'SearchQuickResponsesRequest')
|
200
|
+
SearchQuickResponsesResponse = Shapes::StructureShape.new(name: 'SearchQuickResponsesResponse')
|
137
201
|
SearchSessionsRequest = Shapes::StructureShape.new(name: 'SearchSessionsRequest')
|
138
202
|
SearchSessionsResponse = Shapes::StructureShape.new(name: 'SearchSessionsResponse')
|
139
203
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
@@ -143,9 +207,12 @@ module Aws::ConnectWisdomService
|
|
143
207
|
SessionIntegrationConfiguration = Shapes::StructureShape.new(name: 'SessionIntegrationConfiguration')
|
144
208
|
SessionSummaries = Shapes::ListShape.new(name: 'SessionSummaries')
|
145
209
|
SessionSummary = Shapes::StructureShape.new(name: 'SessionSummary')
|
210
|
+
ShortCutKey = Shapes::StringShape.new(name: 'ShortCutKey')
|
146
211
|
SourceConfiguration = Shapes::UnionShape.new(name: 'SourceConfiguration')
|
147
212
|
StartContentUploadRequest = Shapes::StructureShape.new(name: 'StartContentUploadRequest')
|
148
213
|
StartContentUploadResponse = Shapes::StructureShape.new(name: 'StartContentUploadResponse')
|
214
|
+
StartImportJobRequest = Shapes::StructureShape.new(name: 'StartImportJobRequest')
|
215
|
+
StartImportJobResponse = Shapes::StructureShape.new(name: 'StartImportJobResponse')
|
149
216
|
String = Shapes::StringShape.new(name: 'String')
|
150
217
|
SyntheticTimestamp_epoch_seconds = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_epoch_seconds', timestampFormat: "unixTimestamp")
|
151
218
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -154,6 +221,7 @@ module Aws::ConnectWisdomService
|
|
154
221
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
155
222
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
156
223
|
Tags = Shapes::MapShape.new(name: 'Tags')
|
224
|
+
TimeToLive = Shapes::IntegerShape.new(name: 'TimeToLive')
|
157
225
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
158
226
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
159
227
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
@@ -161,6 +229,8 @@ module Aws::ConnectWisdomService
|
|
161
229
|
UpdateContentResponse = Shapes::StructureShape.new(name: 'UpdateContentResponse')
|
162
230
|
UpdateKnowledgeBaseTemplateUriRequest = Shapes::StructureShape.new(name: 'UpdateKnowledgeBaseTemplateUriRequest')
|
163
231
|
UpdateKnowledgeBaseTemplateUriResponse = Shapes::StructureShape.new(name: 'UpdateKnowledgeBaseTemplateUriResponse')
|
232
|
+
UpdateQuickResponseRequest = Shapes::StructureShape.new(name: 'UpdateQuickResponseRequest')
|
233
|
+
UpdateQuickResponseResponse = Shapes::StructureShape.new(name: 'UpdateQuickResponseResponse')
|
164
234
|
UploadId = Shapes::StringShape.new(name: 'UploadId')
|
165
235
|
Uri = Shapes::StringShape.new(name: 'Uri')
|
166
236
|
Url = Shapes::StringShape.new(name: 'Url')
|
@@ -235,9 +305,25 @@ module Aws::ConnectWisdomService
|
|
235
305
|
AssistantSummary.add_member(:type, Shapes::ShapeRef.new(shape: AssistantType, required: true, location_name: "type"))
|
236
306
|
AssistantSummary.struct_class = Types::AssistantSummary
|
237
307
|
|
308
|
+
Channels.member = Shapes::ShapeRef.new(shape: Channel)
|
309
|
+
|
310
|
+
Configuration.add_member(:connect_configuration, Shapes::ShapeRef.new(shape: ConnectConfiguration, location_name: "connectConfiguration"))
|
311
|
+
Configuration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
312
|
+
Configuration.add_member_subclass(:connect_configuration, Types::Configuration::ConnectConfiguration)
|
313
|
+
Configuration.add_member_subclass(:unknown, Types::Configuration::Unknown)
|
314
|
+
Configuration.struct_class = Types::Configuration
|
315
|
+
|
238
316
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
239
317
|
ConflictException.struct_class = Types::ConflictException
|
240
318
|
|
319
|
+
ConnectConfiguration.add_member(:instance_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "instanceId"))
|
320
|
+
ConnectConfiguration.struct_class = Types::ConnectConfiguration
|
321
|
+
|
322
|
+
ContactAttributeKeys.member = Shapes::ShapeRef.new(shape: ContactAttributeKey)
|
323
|
+
|
324
|
+
ContactAttributes.key = Shapes::ShapeRef.new(shape: ContactAttributeKey)
|
325
|
+
ContactAttributes.value = Shapes::ShapeRef.new(shape: ContactAttributeValue)
|
326
|
+
|
241
327
|
ContentData.add_member(:content_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "contentArn"))
|
242
328
|
ContentData.add_member(:content_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "contentId"))
|
243
329
|
ContentData.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
|
@@ -325,6 +411,23 @@ module Aws::ConnectWisdomService
|
|
325
411
|
CreateKnowledgeBaseResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBaseData, location_name: "knowledgeBase"))
|
326
412
|
CreateKnowledgeBaseResponse.struct_class = Types::CreateKnowledgeBaseResponse
|
327
413
|
|
414
|
+
CreateQuickResponseRequest.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
|
415
|
+
CreateQuickResponseRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
416
|
+
CreateQuickResponseRequest.add_member(:content, Shapes::ShapeRef.new(shape: QuickResponseDataProvider, required: true, location_name: "content"))
|
417
|
+
CreateQuickResponseRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: QuickResponseType, location_name: "contentType"))
|
418
|
+
CreateQuickResponseRequest.add_member(:description, Shapes::ShapeRef.new(shape: QuickResponseDescription, location_name: "description"))
|
419
|
+
CreateQuickResponseRequest.add_member(:grouping_configuration, Shapes::ShapeRef.new(shape: GroupingConfiguration, location_name: "groupingConfiguration"))
|
420
|
+
CreateQuickResponseRequest.add_member(:is_active, Shapes::ShapeRef.new(shape: Boolean, location_name: "isActive"))
|
421
|
+
CreateQuickResponseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
422
|
+
CreateQuickResponseRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "language"))
|
423
|
+
CreateQuickResponseRequest.add_member(:name, Shapes::ShapeRef.new(shape: QuickResponseName, required: true, location_name: "name"))
|
424
|
+
CreateQuickResponseRequest.add_member(:shortcut_key, Shapes::ShapeRef.new(shape: ShortCutKey, location_name: "shortcutKey"))
|
425
|
+
CreateQuickResponseRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
426
|
+
CreateQuickResponseRequest.struct_class = Types::CreateQuickResponseRequest
|
427
|
+
|
428
|
+
CreateQuickResponseResponse.add_member(:quick_response, Shapes::ShapeRef.new(shape: QuickResponseData, location_name: "quickResponse"))
|
429
|
+
CreateQuickResponseResponse.struct_class = Types::CreateQuickResponseResponse
|
430
|
+
|
328
431
|
CreateSessionRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
329
432
|
CreateSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
330
433
|
CreateSessionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
@@ -352,11 +455,23 @@ module Aws::ConnectWisdomService
|
|
352
455
|
|
353
456
|
DeleteContentResponse.struct_class = Types::DeleteContentResponse
|
354
457
|
|
458
|
+
DeleteImportJobRequest.add_member(:import_job_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "importJobId"))
|
459
|
+
DeleteImportJobRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
460
|
+
DeleteImportJobRequest.struct_class = Types::DeleteImportJobRequest
|
461
|
+
|
462
|
+
DeleteImportJobResponse.struct_class = Types::DeleteImportJobResponse
|
463
|
+
|
355
464
|
DeleteKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
356
465
|
DeleteKnowledgeBaseRequest.struct_class = Types::DeleteKnowledgeBaseRequest
|
357
466
|
|
358
467
|
DeleteKnowledgeBaseResponse.struct_class = Types::DeleteKnowledgeBaseResponse
|
359
468
|
|
469
|
+
DeleteQuickResponseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
470
|
+
DeleteQuickResponseRequest.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "quickResponseId"))
|
471
|
+
DeleteQuickResponseRequest.struct_class = Types::DeleteQuickResponseRequest
|
472
|
+
|
473
|
+
DeleteQuickResponseResponse.struct_class = Types::DeleteQuickResponseResponse
|
474
|
+
|
360
475
|
Document.add_member(:content_reference, Shapes::ShapeRef.new(shape: ContentReference, required: true, location_name: "contentReference"))
|
361
476
|
Document.add_member(:excerpt, Shapes::ShapeRef.new(shape: DocumentText, location_name: "excerpt"))
|
362
477
|
Document.add_member(:title, Shapes::ShapeRef.new(shape: DocumentText, location_name: "title"))
|
@@ -366,6 +481,10 @@ module Aws::ConnectWisdomService
|
|
366
481
|
DocumentText.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "text"))
|
367
482
|
DocumentText.struct_class = Types::DocumentText
|
368
483
|
|
484
|
+
ExternalSourceConfiguration.add_member(:configuration, Shapes::ShapeRef.new(shape: Configuration, required: true, location_name: "configuration"))
|
485
|
+
ExternalSourceConfiguration.add_member(:source, Shapes::ShapeRef.new(shape: ExternalSource, required: true, location_name: "source"))
|
486
|
+
ExternalSourceConfiguration.struct_class = Types::ExternalSourceConfiguration
|
487
|
+
|
369
488
|
Filter.add_member(:field, Shapes::ShapeRef.new(shape: FilterField, required: true, location_name: "field"))
|
370
489
|
Filter.add_member(:operator, Shapes::ShapeRef.new(shape: FilterOperator, required: true, location_name: "operator"))
|
371
490
|
Filter.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "value"))
|
@@ -400,12 +519,26 @@ module Aws::ConnectWisdomService
|
|
400
519
|
GetContentSummaryResponse.add_member(:content_summary, Shapes::ShapeRef.new(shape: ContentSummary, location_name: "contentSummary"))
|
401
520
|
GetContentSummaryResponse.struct_class = Types::GetContentSummaryResponse
|
402
521
|
|
522
|
+
GetImportJobRequest.add_member(:import_job_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "importJobId"))
|
523
|
+
GetImportJobRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
524
|
+
GetImportJobRequest.struct_class = Types::GetImportJobRequest
|
525
|
+
|
526
|
+
GetImportJobResponse.add_member(:import_job, Shapes::ShapeRef.new(shape: ImportJobData, location_name: "importJob"))
|
527
|
+
GetImportJobResponse.struct_class = Types::GetImportJobResponse
|
528
|
+
|
403
529
|
GetKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
404
530
|
GetKnowledgeBaseRequest.struct_class = Types::GetKnowledgeBaseRequest
|
405
531
|
|
406
532
|
GetKnowledgeBaseResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBaseData, location_name: "knowledgeBase"))
|
407
533
|
GetKnowledgeBaseResponse.struct_class = Types::GetKnowledgeBaseResponse
|
408
534
|
|
535
|
+
GetQuickResponseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
536
|
+
GetQuickResponseRequest.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "quickResponseId"))
|
537
|
+
GetQuickResponseRequest.struct_class = Types::GetQuickResponseRequest
|
538
|
+
|
539
|
+
GetQuickResponseResponse.add_member(:quick_response, Shapes::ShapeRef.new(shape: QuickResponseData, location_name: "quickResponse"))
|
540
|
+
GetQuickResponseResponse.struct_class = Types::GetQuickResponseResponse
|
541
|
+
|
409
542
|
GetRecommendationsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
410
543
|
GetRecommendationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
411
544
|
GetRecommendationsRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
|
@@ -423,6 +556,12 @@ module Aws::ConnectWisdomService
|
|
423
556
|
GetSessionResponse.add_member(:session, Shapes::ShapeRef.new(shape: SessionData, location_name: "session"))
|
424
557
|
GetSessionResponse.struct_class = Types::GetSessionResponse
|
425
558
|
|
559
|
+
GroupingConfiguration.add_member(:criteria, Shapes::ShapeRef.new(shape: GroupingCriteria, location_name: "criteria"))
|
560
|
+
GroupingConfiguration.add_member(:values, Shapes::ShapeRef.new(shape: GroupingValues, location_name: "values"))
|
561
|
+
GroupingConfiguration.struct_class = Types::GroupingConfiguration
|
562
|
+
|
563
|
+
GroupingValues.member = Shapes::ShapeRef.new(shape: GroupingValue)
|
564
|
+
|
426
565
|
Headers.key = Shapes::ShapeRef.new(shape: NonEmptyString)
|
427
566
|
Headers.value = Shapes::ShapeRef.new(shape: NonEmptyString)
|
428
567
|
|
@@ -432,6 +571,35 @@ module Aws::ConnectWisdomService
|
|
432
571
|
|
433
572
|
Highlights.member = Shapes::ShapeRef.new(shape: Highlight)
|
434
573
|
|
574
|
+
ImportJobData.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "createdTime"))
|
575
|
+
ImportJobData.add_member(:external_source_configuration, Shapes::ShapeRef.new(shape: ExternalSourceConfiguration, location_name: "externalSourceConfiguration"))
|
576
|
+
ImportJobData.add_member(:failed_record_report, Shapes::ShapeRef.new(shape: Url, location_name: "failedRecordReport"))
|
577
|
+
ImportJobData.add_member(:import_job_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "importJobId"))
|
578
|
+
ImportJobData.add_member(:import_job_type, Shapes::ShapeRef.new(shape: ImportJobType, required: true, location_name: "importJobType"))
|
579
|
+
ImportJobData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
|
580
|
+
ImportJobData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
|
581
|
+
ImportJobData.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "lastModifiedTime"))
|
582
|
+
ImportJobData.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, location_name: "metadata"))
|
583
|
+
ImportJobData.add_member(:status, Shapes::ShapeRef.new(shape: ImportJobStatus, required: true, location_name: "status"))
|
584
|
+
ImportJobData.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, required: true, location_name: "uploadId"))
|
585
|
+
ImportJobData.add_member(:url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "url"))
|
586
|
+
ImportJobData.add_member(:url_expiry, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "urlExpiry"))
|
587
|
+
ImportJobData.struct_class = Types::ImportJobData
|
588
|
+
|
589
|
+
ImportJobList.member = Shapes::ShapeRef.new(shape: ImportJobSummary)
|
590
|
+
|
591
|
+
ImportJobSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "createdTime"))
|
592
|
+
ImportJobSummary.add_member(:external_source_configuration, Shapes::ShapeRef.new(shape: ExternalSourceConfiguration, location_name: "externalSourceConfiguration"))
|
593
|
+
ImportJobSummary.add_member(:import_job_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "importJobId"))
|
594
|
+
ImportJobSummary.add_member(:import_job_type, Shapes::ShapeRef.new(shape: ImportJobType, required: true, location_name: "importJobType"))
|
595
|
+
ImportJobSummary.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
|
596
|
+
ImportJobSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
|
597
|
+
ImportJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "lastModifiedTime"))
|
598
|
+
ImportJobSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, location_name: "metadata"))
|
599
|
+
ImportJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ImportJobStatus, required: true, location_name: "status"))
|
600
|
+
ImportJobSummary.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, required: true, location_name: "uploadId"))
|
601
|
+
ImportJobSummary.struct_class = Types::ImportJobSummary
|
602
|
+
|
435
603
|
KnowledgeBaseAssociationData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "knowledgeBaseArn"))
|
436
604
|
KnowledgeBaseAssociationData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "knowledgeBaseId"))
|
437
605
|
KnowledgeBaseAssociationData.struct_class = Types::KnowledgeBaseAssociationData
|
@@ -489,6 +657,15 @@ module Aws::ConnectWisdomService
|
|
489
657
|
ListContentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
490
658
|
ListContentsResponse.struct_class = Types::ListContentsResponse
|
491
659
|
|
660
|
+
ListImportJobsRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
661
|
+
ListImportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
662
|
+
ListImportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "nextToken"))
|
663
|
+
ListImportJobsRequest.struct_class = Types::ListImportJobsRequest
|
664
|
+
|
665
|
+
ListImportJobsResponse.add_member(:import_job_summaries, Shapes::ShapeRef.new(shape: ImportJobList, required: true, location_name: "importJobSummaries"))
|
666
|
+
ListImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "nextToken"))
|
667
|
+
ListImportJobsResponse.struct_class = Types::ListImportJobsResponse
|
668
|
+
|
492
669
|
ListKnowledgeBasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
493
670
|
ListKnowledgeBasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "nextToken"))
|
494
671
|
ListKnowledgeBasesRequest.struct_class = Types::ListKnowledgeBasesRequest
|
@@ -497,6 +674,15 @@ module Aws::ConnectWisdomService
|
|
497
674
|
ListKnowledgeBasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "nextToken"))
|
498
675
|
ListKnowledgeBasesResponse.struct_class = Types::ListKnowledgeBasesResponse
|
499
676
|
|
677
|
+
ListQuickResponsesRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
678
|
+
ListQuickResponsesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
679
|
+
ListQuickResponsesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "nextToken"))
|
680
|
+
ListQuickResponsesRequest.struct_class = Types::ListQuickResponsesRequest
|
681
|
+
|
682
|
+
ListQuickResponsesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "nextToken"))
|
683
|
+
ListQuickResponsesResponse.add_member(:quick_response_summaries, Shapes::ShapeRef.new(shape: QuickResponseSummaryList, required: true, location_name: "quickResponseSummaries"))
|
684
|
+
ListQuickResponsesResponse.struct_class = Types::ListQuickResponsesResponse
|
685
|
+
|
500
686
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
501
687
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
502
688
|
|
@@ -538,6 +724,114 @@ module Aws::ConnectWisdomService
|
|
538
724
|
|
539
725
|
QueryResultsList.member = Shapes::ShapeRef.new(shape: ResultData)
|
540
726
|
|
727
|
+
QuickResponseContentProvider.add_member(:content, Shapes::ShapeRef.new(shape: QuickResponseContent, location_name: "content"))
|
728
|
+
QuickResponseContentProvider.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
729
|
+
QuickResponseContentProvider.add_member_subclass(:content, Types::QuickResponseContentProvider::Content)
|
730
|
+
QuickResponseContentProvider.add_member_subclass(:unknown, Types::QuickResponseContentProvider::Unknown)
|
731
|
+
QuickResponseContentProvider.struct_class = Types::QuickResponseContentProvider
|
732
|
+
|
733
|
+
QuickResponseContents.add_member(:markdown, Shapes::ShapeRef.new(shape: QuickResponseContentProvider, location_name: "markdown"))
|
734
|
+
QuickResponseContents.add_member(:plain_text, Shapes::ShapeRef.new(shape: QuickResponseContentProvider, location_name: "plainText"))
|
735
|
+
QuickResponseContents.struct_class = Types::QuickResponseContents
|
736
|
+
|
737
|
+
QuickResponseData.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
|
738
|
+
QuickResponseData.add_member(:content_type, Shapes::ShapeRef.new(shape: QuickResponseType, required: true, location_name: "contentType"))
|
739
|
+
QuickResponseData.add_member(:contents, Shapes::ShapeRef.new(shape: QuickResponseContents, location_name: "contents"))
|
740
|
+
QuickResponseData.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "createdTime"))
|
741
|
+
QuickResponseData.add_member(:description, Shapes::ShapeRef.new(shape: QuickResponseDescription, location_name: "description"))
|
742
|
+
QuickResponseData.add_member(:grouping_configuration, Shapes::ShapeRef.new(shape: GroupingConfiguration, location_name: "groupingConfiguration"))
|
743
|
+
QuickResponseData.add_member(:is_active, Shapes::ShapeRef.new(shape: Boolean, location_name: "isActive"))
|
744
|
+
QuickResponseData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
|
745
|
+
QuickResponseData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
|
746
|
+
QuickResponseData.add_member(:language, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "language"))
|
747
|
+
QuickResponseData.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: GenericArn, location_name: "lastModifiedBy"))
|
748
|
+
QuickResponseData.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "lastModifiedTime"))
|
749
|
+
QuickResponseData.add_member(:name, Shapes::ShapeRef.new(shape: QuickResponseName, required: true, location_name: "name"))
|
750
|
+
QuickResponseData.add_member(:quick_response_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "quickResponseArn"))
|
751
|
+
QuickResponseData.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "quickResponseId"))
|
752
|
+
QuickResponseData.add_member(:shortcut_key, Shapes::ShapeRef.new(shape: ShortCutKey, location_name: "shortcutKey"))
|
753
|
+
QuickResponseData.add_member(:status, Shapes::ShapeRef.new(shape: QuickResponseStatus, required: true, location_name: "status"))
|
754
|
+
QuickResponseData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
755
|
+
QuickResponseData.struct_class = Types::QuickResponseData
|
756
|
+
|
757
|
+
QuickResponseDataProvider.add_member(:content, Shapes::ShapeRef.new(shape: QuickResponseContent, location_name: "content"))
|
758
|
+
QuickResponseDataProvider.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
759
|
+
QuickResponseDataProvider.add_member_subclass(:content, Types::QuickResponseDataProvider::Content)
|
760
|
+
QuickResponseDataProvider.add_member_subclass(:unknown, Types::QuickResponseDataProvider::Unknown)
|
761
|
+
QuickResponseDataProvider.struct_class = Types::QuickResponseDataProvider
|
762
|
+
|
763
|
+
QuickResponseFilterField.add_member(:include_no_existence, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeNoExistence"))
|
764
|
+
QuickResponseFilterField.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
|
765
|
+
QuickResponseFilterField.add_member(:operator, Shapes::ShapeRef.new(shape: QuickResponseFilterOperator, required: true, location_name: "operator"))
|
766
|
+
QuickResponseFilterField.add_member(:values, Shapes::ShapeRef.new(shape: QuickResponseFilterValueList, location_name: "values"))
|
767
|
+
QuickResponseFilterField.struct_class = Types::QuickResponseFilterField
|
768
|
+
|
769
|
+
QuickResponseFilterFieldList.member = Shapes::ShapeRef.new(shape: QuickResponseFilterField)
|
770
|
+
|
771
|
+
QuickResponseFilterValueList.member = Shapes::ShapeRef.new(shape: QuickResponseFilterValue)
|
772
|
+
|
773
|
+
QuickResponseOrderField.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
|
774
|
+
QuickResponseOrderField.add_member(:order, Shapes::ShapeRef.new(shape: Order, location_name: "order"))
|
775
|
+
QuickResponseOrderField.struct_class = Types::QuickResponseOrderField
|
776
|
+
|
777
|
+
QuickResponseQueryField.add_member(:allow_fuzziness, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowFuzziness"))
|
778
|
+
QuickResponseQueryField.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
|
779
|
+
QuickResponseQueryField.add_member(:operator, Shapes::ShapeRef.new(shape: QuickResponseQueryOperator, required: true, location_name: "operator"))
|
780
|
+
QuickResponseQueryField.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, location_name: "priority"))
|
781
|
+
QuickResponseQueryField.add_member(:values, Shapes::ShapeRef.new(shape: QuickResponseQueryValueList, required: true, location_name: "values"))
|
782
|
+
QuickResponseQueryField.struct_class = Types::QuickResponseQueryField
|
783
|
+
|
784
|
+
QuickResponseQueryFieldList.member = Shapes::ShapeRef.new(shape: QuickResponseQueryField)
|
785
|
+
|
786
|
+
QuickResponseQueryValueList.member = Shapes::ShapeRef.new(shape: QuickResponseQueryValue)
|
787
|
+
|
788
|
+
QuickResponseSearchExpression.add_member(:filters, Shapes::ShapeRef.new(shape: QuickResponseFilterFieldList, location_name: "filters"))
|
789
|
+
QuickResponseSearchExpression.add_member(:order_on_field, Shapes::ShapeRef.new(shape: QuickResponseOrderField, location_name: "orderOnField"))
|
790
|
+
QuickResponseSearchExpression.add_member(:queries, Shapes::ShapeRef.new(shape: QuickResponseQueryFieldList, location_name: "queries"))
|
791
|
+
QuickResponseSearchExpression.struct_class = Types::QuickResponseSearchExpression
|
792
|
+
|
793
|
+
QuickResponseSearchResultData.add_member(:attributes_interpolated, Shapes::ShapeRef.new(shape: ContactAttributeKeys, location_name: "attributesInterpolated"))
|
794
|
+
QuickResponseSearchResultData.add_member(:attributes_not_interpolated, Shapes::ShapeRef.new(shape: ContactAttributeKeys, location_name: "attributesNotInterpolated"))
|
795
|
+
QuickResponseSearchResultData.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
|
796
|
+
QuickResponseSearchResultData.add_member(:content_type, Shapes::ShapeRef.new(shape: QuickResponseType, required: true, location_name: "contentType"))
|
797
|
+
QuickResponseSearchResultData.add_member(:contents, Shapes::ShapeRef.new(shape: QuickResponseContents, required: true, location_name: "contents"))
|
798
|
+
QuickResponseSearchResultData.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "createdTime"))
|
799
|
+
QuickResponseSearchResultData.add_member(:description, Shapes::ShapeRef.new(shape: QuickResponseDescription, location_name: "description"))
|
800
|
+
QuickResponseSearchResultData.add_member(:grouping_configuration, Shapes::ShapeRef.new(shape: GroupingConfiguration, location_name: "groupingConfiguration"))
|
801
|
+
QuickResponseSearchResultData.add_member(:is_active, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "isActive"))
|
802
|
+
QuickResponseSearchResultData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
|
803
|
+
QuickResponseSearchResultData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
|
804
|
+
QuickResponseSearchResultData.add_member(:language, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "language"))
|
805
|
+
QuickResponseSearchResultData.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: GenericArn, location_name: "lastModifiedBy"))
|
806
|
+
QuickResponseSearchResultData.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "lastModifiedTime"))
|
807
|
+
QuickResponseSearchResultData.add_member(:name, Shapes::ShapeRef.new(shape: QuickResponseName, required: true, location_name: "name"))
|
808
|
+
QuickResponseSearchResultData.add_member(:quick_response_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "quickResponseArn"))
|
809
|
+
QuickResponseSearchResultData.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "quickResponseId"))
|
810
|
+
QuickResponseSearchResultData.add_member(:shortcut_key, Shapes::ShapeRef.new(shape: ShortCutKey, location_name: "shortcutKey"))
|
811
|
+
QuickResponseSearchResultData.add_member(:status, Shapes::ShapeRef.new(shape: QuickResponseStatus, required: true, location_name: "status"))
|
812
|
+
QuickResponseSearchResultData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
813
|
+
QuickResponseSearchResultData.struct_class = Types::QuickResponseSearchResultData
|
814
|
+
|
815
|
+
QuickResponseSearchResultsList.member = Shapes::ShapeRef.new(shape: QuickResponseSearchResultData)
|
816
|
+
|
817
|
+
QuickResponseSummary.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
|
818
|
+
QuickResponseSummary.add_member(:content_type, Shapes::ShapeRef.new(shape: QuickResponseType, required: true, location_name: "contentType"))
|
819
|
+
QuickResponseSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "createdTime"))
|
820
|
+
QuickResponseSummary.add_member(:description, Shapes::ShapeRef.new(shape: QuickResponseDescription, location_name: "description"))
|
821
|
+
QuickResponseSummary.add_member(:is_active, Shapes::ShapeRef.new(shape: Boolean, location_name: "isActive"))
|
822
|
+
QuickResponseSummary.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
|
823
|
+
QuickResponseSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
|
824
|
+
QuickResponseSummary.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: GenericArn, location_name: "lastModifiedBy"))
|
825
|
+
QuickResponseSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "lastModifiedTime"))
|
826
|
+
QuickResponseSummary.add_member(:name, Shapes::ShapeRef.new(shape: QuickResponseName, required: true, location_name: "name"))
|
827
|
+
QuickResponseSummary.add_member(:quick_response_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "quickResponseArn"))
|
828
|
+
QuickResponseSummary.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "quickResponseId"))
|
829
|
+
QuickResponseSummary.add_member(:status, Shapes::ShapeRef.new(shape: QuickResponseStatus, required: true, location_name: "status"))
|
830
|
+
QuickResponseSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
831
|
+
QuickResponseSummary.struct_class = Types::QuickResponseSummary
|
832
|
+
|
833
|
+
QuickResponseSummaryList.member = Shapes::ShapeRef.new(shape: QuickResponseSummary)
|
834
|
+
|
541
835
|
RecommendationData.add_member(:document, Shapes::ShapeRef.new(shape: Document, required: true, location_name: "document"))
|
542
836
|
RecommendationData.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "recommendationId"))
|
543
837
|
RecommendationData.add_member(:relevance_level, Shapes::ShapeRef.new(shape: RelevanceLevel, location_name: "relevanceLevel"))
|
@@ -572,6 +866,9 @@ module Aws::ConnectWisdomService
|
|
572
866
|
RenderingConfiguration.add_member(:template_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "templateUri"))
|
573
867
|
RenderingConfiguration.struct_class = Types::RenderingConfiguration
|
574
868
|
|
869
|
+
RequestTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
870
|
+
RequestTimeoutException.struct_class = Types::RequestTimeoutException
|
871
|
+
|
575
872
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
576
873
|
ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "resourceName"))
|
577
874
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
@@ -594,6 +891,17 @@ module Aws::ConnectWisdomService
|
|
594
891
|
SearchExpression.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, required: true, location_name: "filters"))
|
595
892
|
SearchExpression.struct_class = Types::SearchExpression
|
596
893
|
|
894
|
+
SearchQuickResponsesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ContactAttributes, location_name: "attributes"))
|
895
|
+
SearchQuickResponsesRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
896
|
+
SearchQuickResponsesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
897
|
+
SearchQuickResponsesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "nextToken"))
|
898
|
+
SearchQuickResponsesRequest.add_member(:search_expression, Shapes::ShapeRef.new(shape: QuickResponseSearchExpression, required: true, location_name: "searchExpression"))
|
899
|
+
SearchQuickResponsesRequest.struct_class = Types::SearchQuickResponsesRequest
|
900
|
+
|
901
|
+
SearchQuickResponsesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "nextToken"))
|
902
|
+
SearchQuickResponsesResponse.add_member(:results, Shapes::ShapeRef.new(shape: QuickResponseSearchResultsList, required: true, location_name: "results"))
|
903
|
+
SearchQuickResponsesResponse.struct_class = Types::SearchQuickResponsesResponse
|
904
|
+
|
597
905
|
SearchSessionsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
598
906
|
SearchSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
599
907
|
SearchSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -637,6 +945,7 @@ module Aws::ConnectWisdomService
|
|
637
945
|
|
638
946
|
StartContentUploadRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
|
639
947
|
StartContentUploadRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
948
|
+
StartContentUploadRequest.add_member(:presigned_url_time_to_live, Shapes::ShapeRef.new(shape: TimeToLive, location_name: "presignedUrlTimeToLive"))
|
640
949
|
StartContentUploadRequest.struct_class = Types::StartContentUploadRequest
|
641
950
|
|
642
951
|
StartContentUploadResponse.add_member(:headers_to_include, Shapes::ShapeRef.new(shape: Headers, required: true, location_name: "headersToInclude"))
|
@@ -645,6 +954,17 @@ module Aws::ConnectWisdomService
|
|
645
954
|
StartContentUploadResponse.add_member(:url_expiry, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "urlExpiry"))
|
646
955
|
StartContentUploadResponse.struct_class = Types::StartContentUploadResponse
|
647
956
|
|
957
|
+
StartImportJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
958
|
+
StartImportJobRequest.add_member(:external_source_configuration, Shapes::ShapeRef.new(shape: ExternalSourceConfiguration, location_name: "externalSourceConfiguration"))
|
959
|
+
StartImportJobRequest.add_member(:import_job_type, Shapes::ShapeRef.new(shape: ImportJobType, required: true, location_name: "importJobType"))
|
960
|
+
StartImportJobRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
961
|
+
StartImportJobRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, location_name: "metadata"))
|
962
|
+
StartImportJobRequest.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, required: true, location_name: "uploadId"))
|
963
|
+
StartImportJobRequest.struct_class = Types::StartImportJobRequest
|
964
|
+
|
965
|
+
StartImportJobResponse.add_member(:import_job, Shapes::ShapeRef.new(shape: ImportJobData, location_name: "importJob"))
|
966
|
+
StartImportJobResponse.struct_class = Types::StartImportJobResponse
|
967
|
+
|
648
968
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
649
969
|
|
650
970
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
@@ -686,6 +1006,25 @@ module Aws::ConnectWisdomService
|
|
686
1006
|
UpdateKnowledgeBaseTemplateUriResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBaseData, location_name: "knowledgeBase"))
|
687
1007
|
UpdateKnowledgeBaseTemplateUriResponse.struct_class = Types::UpdateKnowledgeBaseTemplateUriResponse
|
688
1008
|
|
1009
|
+
UpdateQuickResponseRequest.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "channels"))
|
1010
|
+
UpdateQuickResponseRequest.add_member(:content, Shapes::ShapeRef.new(shape: QuickResponseDataProvider, location_name: "content"))
|
1011
|
+
UpdateQuickResponseRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: QuickResponseType, location_name: "contentType"))
|
1012
|
+
UpdateQuickResponseRequest.add_member(:description, Shapes::ShapeRef.new(shape: QuickResponseDescription, location_name: "description"))
|
1013
|
+
UpdateQuickResponseRequest.add_member(:grouping_configuration, Shapes::ShapeRef.new(shape: GroupingConfiguration, location_name: "groupingConfiguration"))
|
1014
|
+
UpdateQuickResponseRequest.add_member(:is_active, Shapes::ShapeRef.new(shape: Boolean, location_name: "isActive"))
|
1015
|
+
UpdateQuickResponseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
1016
|
+
UpdateQuickResponseRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "language"))
|
1017
|
+
UpdateQuickResponseRequest.add_member(:name, Shapes::ShapeRef.new(shape: QuickResponseName, location_name: "name"))
|
1018
|
+
UpdateQuickResponseRequest.add_member(:quick_response_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "quickResponseId"))
|
1019
|
+
UpdateQuickResponseRequest.add_member(:remove_description, Shapes::ShapeRef.new(shape: Boolean, location_name: "removeDescription"))
|
1020
|
+
UpdateQuickResponseRequest.add_member(:remove_grouping_configuration, Shapes::ShapeRef.new(shape: Boolean, location_name: "removeGroupingConfiguration"))
|
1021
|
+
UpdateQuickResponseRequest.add_member(:remove_shortcut_key, Shapes::ShapeRef.new(shape: Boolean, location_name: "removeShortcutKey"))
|
1022
|
+
UpdateQuickResponseRequest.add_member(:shortcut_key, Shapes::ShapeRef.new(shape: ShortCutKey, location_name: "shortcutKey"))
|
1023
|
+
UpdateQuickResponseRequest.struct_class = Types::UpdateQuickResponseRequest
|
1024
|
+
|
1025
|
+
UpdateQuickResponseResponse.add_member(:quick_response, Shapes::ShapeRef.new(shape: QuickResponseData, location_name: "quickResponse"))
|
1026
|
+
UpdateQuickResponseResponse.struct_class = Types::UpdateQuickResponseResponse
|
1027
|
+
|
689
1028
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
690
1029
|
ValidationException.struct_class = Types::ValidationException
|
691
1030
|
|
@@ -757,6 +1096,19 @@ module Aws::ConnectWisdomService
|
|
757
1096
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
758
1097
|
end)
|
759
1098
|
|
1099
|
+
api.add_operation(:create_quick_response, Seahorse::Model::Operation.new.tap do |o|
|
1100
|
+
o.name = "CreateQuickResponse"
|
1101
|
+
o.http_method = "POST"
|
1102
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/quickResponses"
|
1103
|
+
o.input = Shapes::ShapeRef.new(shape: CreateQuickResponseRequest)
|
1104
|
+
o.output = Shapes::ShapeRef.new(shape: CreateQuickResponseResponse)
|
1105
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1106
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1107
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1108
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1109
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1110
|
+
end)
|
1111
|
+
|
760
1112
|
api.add_operation(:create_session, Seahorse::Model::Operation.new.tap do |o|
|
761
1113
|
o.name = "CreateSession"
|
762
1114
|
o.http_method = "POST"
|
@@ -801,6 +1153,18 @@ module Aws::ConnectWisdomService
|
|
801
1153
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
802
1154
|
end)
|
803
1155
|
|
1156
|
+
api.add_operation(:delete_import_job, Seahorse::Model::Operation.new.tap do |o|
|
1157
|
+
o.name = "DeleteImportJob"
|
1158
|
+
o.http_method = "DELETE"
|
1159
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}"
|
1160
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteImportJobRequest)
|
1161
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteImportJobResponse)
|
1162
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1163
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1164
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1165
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1166
|
+
end)
|
1167
|
+
|
804
1168
|
api.add_operation(:delete_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
|
805
1169
|
o.name = "DeleteKnowledgeBase"
|
806
1170
|
o.http_method = "DELETE"
|
@@ -813,6 +1177,17 @@ module Aws::ConnectWisdomService
|
|
813
1177
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
814
1178
|
end)
|
815
1179
|
|
1180
|
+
api.add_operation(:delete_quick_response, Seahorse::Model::Operation.new.tap do |o|
|
1181
|
+
o.name = "DeleteQuickResponse"
|
1182
|
+
o.http_method = "DELETE"
|
1183
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}"
|
1184
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteQuickResponseRequest)
|
1185
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteQuickResponseResponse)
|
1186
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1187
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1188
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1189
|
+
end)
|
1190
|
+
|
816
1191
|
api.add_operation(:get_assistant, Seahorse::Model::Operation.new.tap do |o|
|
817
1192
|
o.name = "GetAssistant"
|
818
1193
|
o.http_method = "GET"
|
@@ -857,6 +1232,17 @@ module Aws::ConnectWisdomService
|
|
857
1232
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
858
1233
|
end)
|
859
1234
|
|
1235
|
+
api.add_operation(:get_import_job, Seahorse::Model::Operation.new.tap do |o|
|
1236
|
+
o.name = "GetImportJob"
|
1237
|
+
o.http_method = "GET"
|
1238
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}"
|
1239
|
+
o.input = Shapes::ShapeRef.new(shape: GetImportJobRequest)
|
1240
|
+
o.output = Shapes::ShapeRef.new(shape: GetImportJobResponse)
|
1241
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1242
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1243
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1244
|
+
end)
|
1245
|
+
|
860
1246
|
api.add_operation(:get_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
|
861
1247
|
o.name = "GetKnowledgeBase"
|
862
1248
|
o.http_method = "GET"
|
@@ -868,6 +1254,17 @@ module Aws::ConnectWisdomService
|
|
868
1254
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
869
1255
|
end)
|
870
1256
|
|
1257
|
+
api.add_operation(:get_quick_response, Seahorse::Model::Operation.new.tap do |o|
|
1258
|
+
o.name = "GetQuickResponse"
|
1259
|
+
o.http_method = "GET"
|
1260
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}"
|
1261
|
+
o.input = Shapes::ShapeRef.new(shape: GetQuickResponseRequest)
|
1262
|
+
o.output = Shapes::ShapeRef.new(shape: GetQuickResponseResponse)
|
1263
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1264
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1265
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1266
|
+
end)
|
1267
|
+
|
871
1268
|
api.add_operation(:get_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
872
1269
|
o.name = "GetRecommendations"
|
873
1270
|
o.http_method = "GET"
|
@@ -940,6 +1337,22 @@ module Aws::ConnectWisdomService
|
|
940
1337
|
)
|
941
1338
|
end)
|
942
1339
|
|
1340
|
+
api.add_operation(:list_import_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1341
|
+
o.name = "ListImportJobs"
|
1342
|
+
o.http_method = "GET"
|
1343
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/importJobs"
|
1344
|
+
o.input = Shapes::ShapeRef.new(shape: ListImportJobsRequest)
|
1345
|
+
o.output = Shapes::ShapeRef.new(shape: ListImportJobsResponse)
|
1346
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1347
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1348
|
+
o[:pager] = Aws::Pager.new(
|
1349
|
+
limit_key: "max_results",
|
1350
|
+
tokens: {
|
1351
|
+
"next_token" => "next_token"
|
1352
|
+
}
|
1353
|
+
)
|
1354
|
+
end)
|
1355
|
+
|
943
1356
|
api.add_operation(:list_knowledge_bases, Seahorse::Model::Operation.new.tap do |o|
|
944
1357
|
o.name = "ListKnowledgeBases"
|
945
1358
|
o.http_method = "GET"
|
@@ -956,6 +1369,23 @@ module Aws::ConnectWisdomService
|
|
956
1369
|
)
|
957
1370
|
end)
|
958
1371
|
|
1372
|
+
api.add_operation(:list_quick_responses, Seahorse::Model::Operation.new.tap do |o|
|
1373
|
+
o.name = "ListQuickResponses"
|
1374
|
+
o.http_method = "GET"
|
1375
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/quickResponses"
|
1376
|
+
o.input = Shapes::ShapeRef.new(shape: ListQuickResponsesRequest)
|
1377
|
+
o.output = Shapes::ShapeRef.new(shape: ListQuickResponsesResponse)
|
1378
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1379
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1380
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1381
|
+
o[:pager] = Aws::Pager.new(
|
1382
|
+
limit_key: "max_results",
|
1383
|
+
tokens: {
|
1384
|
+
"next_token" => "next_token"
|
1385
|
+
}
|
1386
|
+
)
|
1387
|
+
end)
|
1388
|
+
|
959
1389
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
960
1390
|
o.name = "ListTagsForResource"
|
961
1391
|
o.http_method = "GET"
|
@@ -982,6 +1412,7 @@ module Aws::ConnectWisdomService
|
|
982
1412
|
o.http_request_uri = "/assistants/{assistantId}/query"
|
983
1413
|
o.input = Shapes::ShapeRef.new(shape: QueryAssistantRequest)
|
984
1414
|
o.output = Shapes::ShapeRef.new(shape: QueryAssistantResponse)
|
1415
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
985
1416
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
986
1417
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
987
1418
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -1021,6 +1452,24 @@ module Aws::ConnectWisdomService
|
|
1021
1452
|
)
|
1022
1453
|
end)
|
1023
1454
|
|
1455
|
+
api.add_operation(:search_quick_responses, Seahorse::Model::Operation.new.tap do |o|
|
1456
|
+
o.name = "SearchQuickResponses"
|
1457
|
+
o.http_method = "POST"
|
1458
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/search/quickResponses"
|
1459
|
+
o.input = Shapes::ShapeRef.new(shape: SearchQuickResponsesRequest)
|
1460
|
+
o.output = Shapes::ShapeRef.new(shape: SearchQuickResponsesResponse)
|
1461
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
1462
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1463
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1464
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1465
|
+
o[:pager] = Aws::Pager.new(
|
1466
|
+
limit_key: "max_results",
|
1467
|
+
tokens: {
|
1468
|
+
"next_token" => "next_token"
|
1469
|
+
}
|
1470
|
+
)
|
1471
|
+
end)
|
1472
|
+
|
1024
1473
|
api.add_operation(:search_sessions, Seahorse::Model::Operation.new.tap do |o|
|
1025
1474
|
o.name = "SearchSessions"
|
1026
1475
|
o.http_method = "POST"
|
@@ -1049,6 +1498,19 @@ module Aws::ConnectWisdomService
|
|
1049
1498
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1050
1499
|
end)
|
1051
1500
|
|
1501
|
+
api.add_operation(:start_import_job, Seahorse::Model::Operation.new.tap do |o|
|
1502
|
+
o.name = "StartImportJob"
|
1503
|
+
o.http_method = "POST"
|
1504
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/importJobs"
|
1505
|
+
o.input = Shapes::ShapeRef.new(shape: StartImportJobRequest)
|
1506
|
+
o.output = Shapes::ShapeRef.new(shape: StartImportJobResponse)
|
1507
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1508
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1509
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1510
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1511
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1512
|
+
end)
|
1513
|
+
|
1052
1514
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1053
1515
|
o.name = "TagResource"
|
1054
1516
|
o.http_method = "POST"
|
@@ -1090,6 +1552,19 @@ module Aws::ConnectWisdomService
|
|
1090
1552
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1091
1553
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1092
1554
|
end)
|
1555
|
+
|
1556
|
+
api.add_operation(:update_quick_response, Seahorse::Model::Operation.new.tap do |o|
|
1557
|
+
o.name = "UpdateQuickResponse"
|
1558
|
+
o.http_method = "POST"
|
1559
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}"
|
1560
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateQuickResponseRequest)
|
1561
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateQuickResponseResponse)
|
1562
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1563
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1564
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1565
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1566
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1567
|
+
end)
|
1093
1568
|
end
|
1094
1569
|
|
1095
1570
|
end
|