aws-sdk-connectwisdomservice 1.26.0 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/client.rbs ADDED
@@ -0,0 +1,667 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ConnectWisdomService
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CreateAssistantResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAssistantResponse]
77
+ def assistant: () -> Types::AssistantData
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#create_assistant-instance_method
80
+ def create_assistant: (
81
+ ?client_token: ::String,
82
+ ?description: ::String,
83
+ name: ::String,
84
+ ?server_side_encryption_configuration: {
85
+ kms_key_id: ::String?
86
+ },
87
+ ?tags: Hash[::String, ::String],
88
+ type: ("AGENT")
89
+ ) -> _CreateAssistantResponseSuccess
90
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssistantResponseSuccess
91
+
92
+ interface _CreateAssistantAssociationResponseSuccess
93
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAssistantAssociationResponse]
94
+ def assistant_association: () -> Types::AssistantAssociationData
95
+ end
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#create_assistant_association-instance_method
97
+ def create_assistant_association: (
98
+ assistant_id: ::String,
99
+ association: {
100
+ knowledge_base_id: ::String?
101
+ },
102
+ association_type: ("KNOWLEDGE_BASE"),
103
+ ?client_token: ::String,
104
+ ?tags: Hash[::String, ::String]
105
+ ) -> _CreateAssistantAssociationResponseSuccess
106
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssistantAssociationResponseSuccess
107
+
108
+ interface _CreateContentResponseSuccess
109
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateContentResponse]
110
+ def content: () -> Types::ContentData
111
+ end
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#create_content-instance_method
113
+ def create_content: (
114
+ ?client_token: ::String,
115
+ knowledge_base_id: ::String,
116
+ ?metadata: Hash[::String, ::String],
117
+ name: ::String,
118
+ ?override_link_out_uri: ::String,
119
+ ?tags: Hash[::String, ::String],
120
+ ?title: ::String,
121
+ upload_id: ::String
122
+ ) -> _CreateContentResponseSuccess
123
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateContentResponseSuccess
124
+
125
+ interface _CreateKnowledgeBaseResponseSuccess
126
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateKnowledgeBaseResponse]
127
+ def knowledge_base: () -> Types::KnowledgeBaseData
128
+ end
129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#create_knowledge_base-instance_method
130
+ def create_knowledge_base: (
131
+ ?client_token: ::String,
132
+ ?description: ::String,
133
+ knowledge_base_type: ("EXTERNAL" | "CUSTOM" | "QUICK_RESPONSES"),
134
+ name: ::String,
135
+ ?rendering_configuration: {
136
+ template_uri: ::String?
137
+ },
138
+ ?server_side_encryption_configuration: {
139
+ kms_key_id: ::String?
140
+ },
141
+ ?source_configuration: {
142
+ app_integrations: {
143
+ app_integration_arn: ::String,
144
+ object_fields: Array[::String]?
145
+ }?
146
+ },
147
+ ?tags: Hash[::String, ::String]
148
+ ) -> _CreateKnowledgeBaseResponseSuccess
149
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKnowledgeBaseResponseSuccess
150
+
151
+ interface _CreateQuickResponseResponseSuccess
152
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateQuickResponseResponse]
153
+ def quick_response: () -> Types::QuickResponseData
154
+ end
155
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#create_quick_response-instance_method
156
+ def create_quick_response: (
157
+ ?channels: Array[::String],
158
+ ?client_token: ::String,
159
+ content: {
160
+ content: ::String?
161
+ },
162
+ ?content_type: ::String,
163
+ ?description: ::String,
164
+ ?grouping_configuration: {
165
+ criteria: ::String?,
166
+ values: Array[::String]?
167
+ },
168
+ ?is_active: bool,
169
+ knowledge_base_id: ::String,
170
+ ?language: ::String,
171
+ name: ::String,
172
+ ?shortcut_key: ::String,
173
+ ?tags: Hash[::String, ::String]
174
+ ) -> _CreateQuickResponseResponseSuccess
175
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQuickResponseResponseSuccess
176
+
177
+ interface _CreateSessionResponseSuccess
178
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionResponse]
179
+ def session: () -> Types::SessionData
180
+ end
181
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#create_session-instance_method
182
+ def create_session: (
183
+ assistant_id: ::String,
184
+ ?client_token: ::String,
185
+ ?description: ::String,
186
+ name: ::String,
187
+ ?tags: Hash[::String, ::String]
188
+ ) -> _CreateSessionResponseSuccess
189
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSessionResponseSuccess
190
+
191
+ interface _DeleteAssistantResponseSuccess
192
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAssistantResponse]
193
+ end
194
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#delete_assistant-instance_method
195
+ def delete_assistant: (
196
+ assistant_id: ::String
197
+ ) -> _DeleteAssistantResponseSuccess
198
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssistantResponseSuccess
199
+
200
+ interface _DeleteAssistantAssociationResponseSuccess
201
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAssistantAssociationResponse]
202
+ end
203
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#delete_assistant_association-instance_method
204
+ def delete_assistant_association: (
205
+ assistant_association_id: ::String,
206
+ assistant_id: ::String
207
+ ) -> _DeleteAssistantAssociationResponseSuccess
208
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssistantAssociationResponseSuccess
209
+
210
+ interface _DeleteContentResponseSuccess
211
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteContentResponse]
212
+ end
213
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#delete_content-instance_method
214
+ def delete_content: (
215
+ content_id: ::String,
216
+ knowledge_base_id: ::String
217
+ ) -> _DeleteContentResponseSuccess
218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteContentResponseSuccess
219
+
220
+ interface _DeleteImportJobResponseSuccess
221
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteImportJobResponse]
222
+ end
223
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#delete_import_job-instance_method
224
+ def delete_import_job: (
225
+ import_job_id: ::String,
226
+ knowledge_base_id: ::String
227
+ ) -> _DeleteImportJobResponseSuccess
228
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteImportJobResponseSuccess
229
+
230
+ interface _DeleteKnowledgeBaseResponseSuccess
231
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteKnowledgeBaseResponse]
232
+ end
233
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#delete_knowledge_base-instance_method
234
+ def delete_knowledge_base: (
235
+ knowledge_base_id: ::String
236
+ ) -> _DeleteKnowledgeBaseResponseSuccess
237
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteKnowledgeBaseResponseSuccess
238
+
239
+ interface _DeleteQuickResponseResponseSuccess
240
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteQuickResponseResponse]
241
+ end
242
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#delete_quick_response-instance_method
243
+ def delete_quick_response: (
244
+ knowledge_base_id: ::String,
245
+ quick_response_id: ::String
246
+ ) -> _DeleteQuickResponseResponseSuccess
247
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteQuickResponseResponseSuccess
248
+
249
+ interface _GetAssistantResponseSuccess
250
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAssistantResponse]
251
+ def assistant: () -> Types::AssistantData
252
+ end
253
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#get_assistant-instance_method
254
+ def get_assistant: (
255
+ assistant_id: ::String
256
+ ) -> _GetAssistantResponseSuccess
257
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAssistantResponseSuccess
258
+
259
+ interface _GetAssistantAssociationResponseSuccess
260
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAssistantAssociationResponse]
261
+ def assistant_association: () -> Types::AssistantAssociationData
262
+ end
263
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#get_assistant_association-instance_method
264
+ def get_assistant_association: (
265
+ assistant_association_id: ::String,
266
+ assistant_id: ::String
267
+ ) -> _GetAssistantAssociationResponseSuccess
268
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAssistantAssociationResponseSuccess
269
+
270
+ interface _GetContentResponseSuccess
271
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetContentResponse]
272
+ def content: () -> Types::ContentData
273
+ end
274
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#get_content-instance_method
275
+ def get_content: (
276
+ content_id: ::String,
277
+ knowledge_base_id: ::String
278
+ ) -> _GetContentResponseSuccess
279
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContentResponseSuccess
280
+
281
+ interface _GetContentSummaryResponseSuccess
282
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetContentSummaryResponse]
283
+ def content_summary: () -> Types::ContentSummary
284
+ end
285
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#get_content_summary-instance_method
286
+ def get_content_summary: (
287
+ content_id: ::String,
288
+ knowledge_base_id: ::String
289
+ ) -> _GetContentSummaryResponseSuccess
290
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContentSummaryResponseSuccess
291
+
292
+ interface _GetImportJobResponseSuccess
293
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetImportJobResponse]
294
+ def import_job: () -> Types::ImportJobData
295
+ end
296
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#get_import_job-instance_method
297
+ def get_import_job: (
298
+ import_job_id: ::String,
299
+ knowledge_base_id: ::String
300
+ ) -> _GetImportJobResponseSuccess
301
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetImportJobResponseSuccess
302
+
303
+ interface _GetKnowledgeBaseResponseSuccess
304
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetKnowledgeBaseResponse]
305
+ def knowledge_base: () -> Types::KnowledgeBaseData
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#get_knowledge_base-instance_method
308
+ def get_knowledge_base: (
309
+ knowledge_base_id: ::String
310
+ ) -> _GetKnowledgeBaseResponseSuccess
311
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetKnowledgeBaseResponseSuccess
312
+
313
+ interface _GetQuickResponseResponseSuccess
314
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetQuickResponseResponse]
315
+ def quick_response: () -> Types::QuickResponseData
316
+ end
317
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#get_quick_response-instance_method
318
+ def get_quick_response: (
319
+ knowledge_base_id: ::String,
320
+ quick_response_id: ::String
321
+ ) -> _GetQuickResponseResponseSuccess
322
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQuickResponseResponseSuccess
323
+
324
+ interface _GetRecommendationsResponseSuccess
325
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRecommendationsResponse]
326
+ def recommendations: () -> ::Array[Types::RecommendationData]
327
+ def triggers: () -> ::Array[Types::RecommendationTrigger]
328
+ end
329
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#get_recommendations-instance_method
330
+ def get_recommendations: (
331
+ assistant_id: ::String,
332
+ ?max_results: ::Integer,
333
+ session_id: ::String,
334
+ ?wait_time_seconds: ::Integer
335
+ ) -> _GetRecommendationsResponseSuccess
336
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecommendationsResponseSuccess
337
+
338
+ interface _GetSessionResponseSuccess
339
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionResponse]
340
+ def session: () -> Types::SessionData
341
+ end
342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#get_session-instance_method
343
+ def get_session: (
344
+ assistant_id: ::String,
345
+ session_id: ::String
346
+ ) -> _GetSessionResponseSuccess
347
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionResponseSuccess
348
+
349
+ interface _ListAssistantAssociationsResponseSuccess
350
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssistantAssociationsResponse]
351
+ def assistant_association_summaries: () -> ::Array[Types::AssistantAssociationSummary]
352
+ def next_token: () -> ::String
353
+ end
354
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#list_assistant_associations-instance_method
355
+ def list_assistant_associations: (
356
+ assistant_id: ::String,
357
+ ?max_results: ::Integer,
358
+ ?next_token: ::String
359
+ ) -> _ListAssistantAssociationsResponseSuccess
360
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssistantAssociationsResponseSuccess
361
+
362
+ interface _ListAssistantsResponseSuccess
363
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssistantsResponse]
364
+ def assistant_summaries: () -> ::Array[Types::AssistantSummary]
365
+ def next_token: () -> ::String
366
+ end
367
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#list_assistants-instance_method
368
+ def list_assistants: (
369
+ ?max_results: ::Integer,
370
+ ?next_token: ::String
371
+ ) -> _ListAssistantsResponseSuccess
372
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssistantsResponseSuccess
373
+
374
+ interface _ListContentsResponseSuccess
375
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListContentsResponse]
376
+ def content_summaries: () -> ::Array[Types::ContentSummary]
377
+ def next_token: () -> ::String
378
+ end
379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#list_contents-instance_method
380
+ def list_contents: (
381
+ knowledge_base_id: ::String,
382
+ ?max_results: ::Integer,
383
+ ?next_token: ::String
384
+ ) -> _ListContentsResponseSuccess
385
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContentsResponseSuccess
386
+
387
+ interface _ListImportJobsResponseSuccess
388
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListImportJobsResponse]
389
+ def import_job_summaries: () -> ::Array[Types::ImportJobSummary]
390
+ def next_token: () -> ::String
391
+ end
392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#list_import_jobs-instance_method
393
+ def list_import_jobs: (
394
+ knowledge_base_id: ::String,
395
+ ?max_results: ::Integer,
396
+ ?next_token: ::String
397
+ ) -> _ListImportJobsResponseSuccess
398
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImportJobsResponseSuccess
399
+
400
+ interface _ListKnowledgeBasesResponseSuccess
401
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListKnowledgeBasesResponse]
402
+ def knowledge_base_summaries: () -> ::Array[Types::KnowledgeBaseSummary]
403
+ def next_token: () -> ::String
404
+ end
405
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#list_knowledge_bases-instance_method
406
+ def list_knowledge_bases: (
407
+ ?max_results: ::Integer,
408
+ ?next_token: ::String
409
+ ) -> _ListKnowledgeBasesResponseSuccess
410
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKnowledgeBasesResponseSuccess
411
+
412
+ interface _ListQuickResponsesResponseSuccess
413
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListQuickResponsesResponse]
414
+ def next_token: () -> ::String
415
+ def quick_response_summaries: () -> ::Array[Types::QuickResponseSummary]
416
+ end
417
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#list_quick_responses-instance_method
418
+ def list_quick_responses: (
419
+ knowledge_base_id: ::String,
420
+ ?max_results: ::Integer,
421
+ ?next_token: ::String
422
+ ) -> _ListQuickResponsesResponseSuccess
423
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListQuickResponsesResponseSuccess
424
+
425
+ interface _ListTagsForResourceResponseSuccess
426
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
427
+ def tags: () -> ::Hash[::String, ::String]
428
+ end
429
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#list_tags_for_resource-instance_method
430
+ def list_tags_for_resource: (
431
+ resource_arn: ::String
432
+ ) -> _ListTagsForResourceResponseSuccess
433
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
434
+
435
+ interface _NotifyRecommendationsReceivedResponseSuccess
436
+ include ::Seahorse::Client::_ResponseSuccess[Types::NotifyRecommendationsReceivedResponse]
437
+ def errors: () -> ::Array[Types::NotifyRecommendationsReceivedError]
438
+ def recommendation_ids: () -> ::Array[::String]
439
+ end
440
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#notify_recommendations_received-instance_method
441
+ def notify_recommendations_received: (
442
+ assistant_id: ::String,
443
+ recommendation_ids: Array[::String],
444
+ session_id: ::String
445
+ ) -> _NotifyRecommendationsReceivedResponseSuccess
446
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _NotifyRecommendationsReceivedResponseSuccess
447
+
448
+ interface _QueryAssistantResponseSuccess
449
+ include ::Seahorse::Client::_ResponseSuccess[Types::QueryAssistantResponse]
450
+ def next_token: () -> ::String
451
+ def results: () -> ::Array[Types::ResultData]
452
+ end
453
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#query_assistant-instance_method
454
+ def query_assistant: (
455
+ assistant_id: ::String,
456
+ ?max_results: ::Integer,
457
+ ?next_token: ::String,
458
+ query_text: ::String
459
+ ) -> _QueryAssistantResponseSuccess
460
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _QueryAssistantResponseSuccess
461
+
462
+ interface _RemoveKnowledgeBaseTemplateUriResponseSuccess
463
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveKnowledgeBaseTemplateUriResponse]
464
+ end
465
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#remove_knowledge_base_template_uri-instance_method
466
+ def remove_knowledge_base_template_uri: (
467
+ knowledge_base_id: ::String
468
+ ) -> _RemoveKnowledgeBaseTemplateUriResponseSuccess
469
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveKnowledgeBaseTemplateUriResponseSuccess
470
+
471
+ interface _SearchContentResponseSuccess
472
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchContentResponse]
473
+ def content_summaries: () -> ::Array[Types::ContentSummary]
474
+ def next_token: () -> ::String
475
+ end
476
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#search_content-instance_method
477
+ def search_content: (
478
+ knowledge_base_id: ::String,
479
+ ?max_results: ::Integer,
480
+ ?next_token: ::String,
481
+ search_expression: {
482
+ filters: Array[
483
+ {
484
+ field: ("NAME"),
485
+ operator: ("EQUALS"),
486
+ value: ::String
487
+ },
488
+ ]
489
+ }
490
+ ) -> _SearchContentResponseSuccess
491
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchContentResponseSuccess
492
+
493
+ interface _SearchQuickResponsesResponseSuccess
494
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchQuickResponsesResponse]
495
+ def next_token: () -> ::String
496
+ def results: () -> ::Array[Types::QuickResponseSearchResultData]
497
+ end
498
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#search_quick_responses-instance_method
499
+ def search_quick_responses: (
500
+ ?attributes: Hash[::String, ::String],
501
+ knowledge_base_id: ::String,
502
+ ?max_results: ::Integer,
503
+ ?next_token: ::String,
504
+ search_expression: {
505
+ filters: Array[
506
+ {
507
+ include_no_existence: bool?,
508
+ name: ::String,
509
+ operator: ("EQUALS" | "PREFIX"),
510
+ values: Array[::String]?
511
+ },
512
+ ]?,
513
+ order_on_field: {
514
+ name: ::String,
515
+ order: ("ASC" | "DESC")?
516
+ }?,
517
+ queries: Array[
518
+ {
519
+ allow_fuzziness: bool?,
520
+ name: ::String,
521
+ operator: ("CONTAINS" | "CONTAINS_AND_PREFIX"),
522
+ priority: ("HIGH" | "MEDIUM" | "LOW")?,
523
+ values: Array[::String]
524
+ },
525
+ ]?
526
+ }
527
+ ) -> _SearchQuickResponsesResponseSuccess
528
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchQuickResponsesResponseSuccess
529
+
530
+ interface _SearchSessionsResponseSuccess
531
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchSessionsResponse]
532
+ def next_token: () -> ::String
533
+ def session_summaries: () -> ::Array[Types::SessionSummary]
534
+ end
535
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#search_sessions-instance_method
536
+ def search_sessions: (
537
+ assistant_id: ::String,
538
+ ?max_results: ::Integer,
539
+ ?next_token: ::String,
540
+ search_expression: {
541
+ filters: Array[
542
+ {
543
+ field: ("NAME"),
544
+ operator: ("EQUALS"),
545
+ value: ::String
546
+ },
547
+ ]
548
+ }
549
+ ) -> _SearchSessionsResponseSuccess
550
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchSessionsResponseSuccess
551
+
552
+ interface _StartContentUploadResponseSuccess
553
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartContentUploadResponse]
554
+ def headers_to_include: () -> ::Hash[::String, ::String]
555
+ def upload_id: () -> ::String
556
+ def url: () -> ::String
557
+ def url_expiry: () -> ::Time
558
+ end
559
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#start_content_upload-instance_method
560
+ def start_content_upload: (
561
+ content_type: ::String,
562
+ knowledge_base_id: ::String,
563
+ ?presigned_url_time_to_live: ::Integer
564
+ ) -> _StartContentUploadResponseSuccess
565
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartContentUploadResponseSuccess
566
+
567
+ interface _StartImportJobResponseSuccess
568
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartImportJobResponse]
569
+ def import_job: () -> Types::ImportJobData
570
+ end
571
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#start_import_job-instance_method
572
+ def start_import_job: (
573
+ ?client_token: ::String,
574
+ ?external_source_configuration: {
575
+ configuration: {
576
+ connect_configuration: {
577
+ instance_id: ::String?
578
+ }?
579
+ },
580
+ source: ("AMAZON_CONNECT")
581
+ },
582
+ import_job_type: ("QUICK_RESPONSES"),
583
+ knowledge_base_id: ::String,
584
+ ?metadata: Hash[::String, ::String],
585
+ upload_id: ::String
586
+ ) -> _StartImportJobResponseSuccess
587
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartImportJobResponseSuccess
588
+
589
+ interface _TagResourceResponseSuccess
590
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
591
+ end
592
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#tag_resource-instance_method
593
+ def tag_resource: (
594
+ resource_arn: ::String,
595
+ tags: Hash[::String, ::String]
596
+ ) -> _TagResourceResponseSuccess
597
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
598
+
599
+ interface _UntagResourceResponseSuccess
600
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
601
+ end
602
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#untag_resource-instance_method
603
+ def untag_resource: (
604
+ resource_arn: ::String,
605
+ tag_keys: Array[::String]
606
+ ) -> _UntagResourceResponseSuccess
607
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
608
+
609
+ interface _UpdateContentResponseSuccess
610
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateContentResponse]
611
+ def content: () -> Types::ContentData
612
+ end
613
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#update_content-instance_method
614
+ def update_content: (
615
+ content_id: ::String,
616
+ knowledge_base_id: ::String,
617
+ ?metadata: Hash[::String, ::String],
618
+ ?override_link_out_uri: ::String,
619
+ ?remove_override_link_out_uri: bool,
620
+ ?revision_id: ::String,
621
+ ?title: ::String,
622
+ ?upload_id: ::String
623
+ ) -> _UpdateContentResponseSuccess
624
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContentResponseSuccess
625
+
626
+ interface _UpdateKnowledgeBaseTemplateUriResponseSuccess
627
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateKnowledgeBaseTemplateUriResponse]
628
+ def knowledge_base: () -> Types::KnowledgeBaseData
629
+ end
630
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#update_knowledge_base_template_uri-instance_method
631
+ def update_knowledge_base_template_uri: (
632
+ knowledge_base_id: ::String,
633
+ template_uri: ::String
634
+ ) -> _UpdateKnowledgeBaseTemplateUriResponseSuccess
635
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKnowledgeBaseTemplateUriResponseSuccess
636
+
637
+ interface _UpdateQuickResponseResponseSuccess
638
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateQuickResponseResponse]
639
+ def quick_response: () -> Types::QuickResponseData
640
+ end
641
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectWisdomService/Client.html#update_quick_response-instance_method
642
+ def update_quick_response: (
643
+ ?channels: Array[::String],
644
+ ?content: {
645
+ content: ::String?
646
+ },
647
+ ?content_type: ::String,
648
+ ?description: ::String,
649
+ ?grouping_configuration: {
650
+ criteria: ::String?,
651
+ values: Array[::String]?
652
+ },
653
+ ?is_active: bool,
654
+ knowledge_base_id: ::String,
655
+ ?language: ::String,
656
+ ?name: ::String,
657
+ quick_response_id: ::String,
658
+ ?remove_description: bool,
659
+ ?remove_grouping_configuration: bool,
660
+ ?remove_shortcut_key: bool,
661
+ ?shortcut_key: ::String
662
+ ) -> _UpdateQuickResponseResponseSuccess
663
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateQuickResponseResponseSuccess
664
+ end
665
+ end
666
+ end
667
+