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
@@ -68,6 +68,20 @@ module Aws::ConnectWisdomService
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
class CreateQuickResponse
|
72
|
+
def self.build(context)
|
73
|
+
unless context.config.regional_endpoint
|
74
|
+
endpoint = context.config.endpoint.to_s
|
75
|
+
end
|
76
|
+
Aws::ConnectWisdomService::EndpointParameters.new(
|
77
|
+
region: context.config.region,
|
78
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
79
|
+
use_fips: context.config.use_fips_endpoint,
|
80
|
+
endpoint: endpoint,
|
81
|
+
)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
71
85
|
class CreateSession
|
72
86
|
def self.build(context)
|
73
87
|
unless context.config.regional_endpoint
|
@@ -124,6 +138,20 @@ module Aws::ConnectWisdomService
|
|
124
138
|
end
|
125
139
|
end
|
126
140
|
|
141
|
+
class DeleteImportJob
|
142
|
+
def self.build(context)
|
143
|
+
unless context.config.regional_endpoint
|
144
|
+
endpoint = context.config.endpoint.to_s
|
145
|
+
end
|
146
|
+
Aws::ConnectWisdomService::EndpointParameters.new(
|
147
|
+
region: context.config.region,
|
148
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
149
|
+
use_fips: context.config.use_fips_endpoint,
|
150
|
+
endpoint: endpoint,
|
151
|
+
)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
127
155
|
class DeleteKnowledgeBase
|
128
156
|
def self.build(context)
|
129
157
|
unless context.config.regional_endpoint
|
@@ -138,6 +166,20 @@ module Aws::ConnectWisdomService
|
|
138
166
|
end
|
139
167
|
end
|
140
168
|
|
169
|
+
class DeleteQuickResponse
|
170
|
+
def self.build(context)
|
171
|
+
unless context.config.regional_endpoint
|
172
|
+
endpoint = context.config.endpoint.to_s
|
173
|
+
end
|
174
|
+
Aws::ConnectWisdomService::EndpointParameters.new(
|
175
|
+
region: context.config.region,
|
176
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
177
|
+
use_fips: context.config.use_fips_endpoint,
|
178
|
+
endpoint: endpoint,
|
179
|
+
)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
141
183
|
class GetAssistant
|
142
184
|
def self.build(context)
|
143
185
|
unless context.config.regional_endpoint
|
@@ -194,6 +236,20 @@ module Aws::ConnectWisdomService
|
|
194
236
|
end
|
195
237
|
end
|
196
238
|
|
239
|
+
class GetImportJob
|
240
|
+
def self.build(context)
|
241
|
+
unless context.config.regional_endpoint
|
242
|
+
endpoint = context.config.endpoint.to_s
|
243
|
+
end
|
244
|
+
Aws::ConnectWisdomService::EndpointParameters.new(
|
245
|
+
region: context.config.region,
|
246
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
247
|
+
use_fips: context.config.use_fips_endpoint,
|
248
|
+
endpoint: endpoint,
|
249
|
+
)
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
197
253
|
class GetKnowledgeBase
|
198
254
|
def self.build(context)
|
199
255
|
unless context.config.regional_endpoint
|
@@ -208,6 +264,20 @@ module Aws::ConnectWisdomService
|
|
208
264
|
end
|
209
265
|
end
|
210
266
|
|
267
|
+
class GetQuickResponse
|
268
|
+
def self.build(context)
|
269
|
+
unless context.config.regional_endpoint
|
270
|
+
endpoint = context.config.endpoint.to_s
|
271
|
+
end
|
272
|
+
Aws::ConnectWisdomService::EndpointParameters.new(
|
273
|
+
region: context.config.region,
|
274
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
275
|
+
use_fips: context.config.use_fips_endpoint,
|
276
|
+
endpoint: endpoint,
|
277
|
+
)
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
211
281
|
class GetRecommendations
|
212
282
|
def self.build(context)
|
213
283
|
unless context.config.regional_endpoint
|
@@ -278,6 +348,20 @@ module Aws::ConnectWisdomService
|
|
278
348
|
end
|
279
349
|
end
|
280
350
|
|
351
|
+
class ListImportJobs
|
352
|
+
def self.build(context)
|
353
|
+
unless context.config.regional_endpoint
|
354
|
+
endpoint = context.config.endpoint.to_s
|
355
|
+
end
|
356
|
+
Aws::ConnectWisdomService::EndpointParameters.new(
|
357
|
+
region: context.config.region,
|
358
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
359
|
+
use_fips: context.config.use_fips_endpoint,
|
360
|
+
endpoint: endpoint,
|
361
|
+
)
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
281
365
|
class ListKnowledgeBases
|
282
366
|
def self.build(context)
|
283
367
|
unless context.config.regional_endpoint
|
@@ -292,6 +376,20 @@ module Aws::ConnectWisdomService
|
|
292
376
|
end
|
293
377
|
end
|
294
378
|
|
379
|
+
class ListQuickResponses
|
380
|
+
def self.build(context)
|
381
|
+
unless context.config.regional_endpoint
|
382
|
+
endpoint = context.config.endpoint.to_s
|
383
|
+
end
|
384
|
+
Aws::ConnectWisdomService::EndpointParameters.new(
|
385
|
+
region: context.config.region,
|
386
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
387
|
+
use_fips: context.config.use_fips_endpoint,
|
388
|
+
endpoint: endpoint,
|
389
|
+
)
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
295
393
|
class ListTagsForResource
|
296
394
|
def self.build(context)
|
297
395
|
unless context.config.regional_endpoint
|
@@ -362,6 +460,20 @@ module Aws::ConnectWisdomService
|
|
362
460
|
end
|
363
461
|
end
|
364
462
|
|
463
|
+
class SearchQuickResponses
|
464
|
+
def self.build(context)
|
465
|
+
unless context.config.regional_endpoint
|
466
|
+
endpoint = context.config.endpoint.to_s
|
467
|
+
end
|
468
|
+
Aws::ConnectWisdomService::EndpointParameters.new(
|
469
|
+
region: context.config.region,
|
470
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
471
|
+
use_fips: context.config.use_fips_endpoint,
|
472
|
+
endpoint: endpoint,
|
473
|
+
)
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
365
477
|
class SearchSessions
|
366
478
|
def self.build(context)
|
367
479
|
unless context.config.regional_endpoint
|
@@ -390,6 +502,20 @@ module Aws::ConnectWisdomService
|
|
390
502
|
end
|
391
503
|
end
|
392
504
|
|
505
|
+
class StartImportJob
|
506
|
+
def self.build(context)
|
507
|
+
unless context.config.regional_endpoint
|
508
|
+
endpoint = context.config.endpoint.to_s
|
509
|
+
end
|
510
|
+
Aws::ConnectWisdomService::EndpointParameters.new(
|
511
|
+
region: context.config.region,
|
512
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
513
|
+
use_fips: context.config.use_fips_endpoint,
|
514
|
+
endpoint: endpoint,
|
515
|
+
)
|
516
|
+
end
|
517
|
+
end
|
518
|
+
|
393
519
|
class TagResource
|
394
520
|
def self.build(context)
|
395
521
|
unless context.config.regional_endpoint
|
@@ -446,5 +572,19 @@ module Aws::ConnectWisdomService
|
|
446
572
|
end
|
447
573
|
end
|
448
574
|
|
575
|
+
class UpdateQuickResponse
|
576
|
+
def self.build(context)
|
577
|
+
unless context.config.regional_endpoint
|
578
|
+
endpoint = context.config.endpoint.to_s
|
579
|
+
end
|
580
|
+
Aws::ConnectWisdomService::EndpointParameters.new(
|
581
|
+
region: context.config.region,
|
582
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
583
|
+
use_fips: context.config.use_fips_endpoint,
|
584
|
+
endpoint: endpoint,
|
585
|
+
)
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
449
589
|
end
|
450
590
|
end
|
@@ -30,6 +30,7 @@ module Aws::ConnectWisdomService
|
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {ConflictException}
|
32
32
|
# * {PreconditionFailedException}
|
33
|
+
# * {RequestTimeoutException}
|
33
34
|
# * {ResourceNotFoundException}
|
34
35
|
# * {ServiceQuotaExceededException}
|
35
36
|
# * {TooManyTagsException}
|
@@ -86,6 +87,25 @@ module Aws::ConnectWisdomService
|
|
86
87
|
end
|
87
88
|
end
|
88
89
|
|
90
|
+
class RequestTimeoutException < ServiceError
|
91
|
+
|
92
|
+
# @param [Seahorse::Client::RequestContext] context
|
93
|
+
# @param [String] message
|
94
|
+
# @param [Aws::ConnectWisdomService::Types::RequestTimeoutException] data
|
95
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
96
|
+
super(context, message, data)
|
97
|
+
end
|
98
|
+
|
99
|
+
# @return [String]
|
100
|
+
def message
|
101
|
+
@message || @data[:message]
|
102
|
+
end
|
103
|
+
|
104
|
+
def retryable?
|
105
|
+
true
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
89
109
|
class ResourceNotFoundException < ServiceError
|
90
110
|
|
91
111
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -64,6 +64,8 @@ module Aws::ConnectWisdomService
|
|
64
64
|
Aws::ConnectWisdomService::Endpoints::CreateContent.build(context)
|
65
65
|
when :create_knowledge_base
|
66
66
|
Aws::ConnectWisdomService::Endpoints::CreateKnowledgeBase.build(context)
|
67
|
+
when :create_quick_response
|
68
|
+
Aws::ConnectWisdomService::Endpoints::CreateQuickResponse.build(context)
|
67
69
|
when :create_session
|
68
70
|
Aws::ConnectWisdomService::Endpoints::CreateSession.build(context)
|
69
71
|
when :delete_assistant
|
@@ -72,8 +74,12 @@ module Aws::ConnectWisdomService
|
|
72
74
|
Aws::ConnectWisdomService::Endpoints::DeleteAssistantAssociation.build(context)
|
73
75
|
when :delete_content
|
74
76
|
Aws::ConnectWisdomService::Endpoints::DeleteContent.build(context)
|
77
|
+
when :delete_import_job
|
78
|
+
Aws::ConnectWisdomService::Endpoints::DeleteImportJob.build(context)
|
75
79
|
when :delete_knowledge_base
|
76
80
|
Aws::ConnectWisdomService::Endpoints::DeleteKnowledgeBase.build(context)
|
81
|
+
when :delete_quick_response
|
82
|
+
Aws::ConnectWisdomService::Endpoints::DeleteQuickResponse.build(context)
|
77
83
|
when :get_assistant
|
78
84
|
Aws::ConnectWisdomService::Endpoints::GetAssistant.build(context)
|
79
85
|
when :get_assistant_association
|
@@ -82,8 +88,12 @@ module Aws::ConnectWisdomService
|
|
82
88
|
Aws::ConnectWisdomService::Endpoints::GetContent.build(context)
|
83
89
|
when :get_content_summary
|
84
90
|
Aws::ConnectWisdomService::Endpoints::GetContentSummary.build(context)
|
91
|
+
when :get_import_job
|
92
|
+
Aws::ConnectWisdomService::Endpoints::GetImportJob.build(context)
|
85
93
|
when :get_knowledge_base
|
86
94
|
Aws::ConnectWisdomService::Endpoints::GetKnowledgeBase.build(context)
|
95
|
+
when :get_quick_response
|
96
|
+
Aws::ConnectWisdomService::Endpoints::GetQuickResponse.build(context)
|
87
97
|
when :get_recommendations
|
88
98
|
Aws::ConnectWisdomService::Endpoints::GetRecommendations.build(context)
|
89
99
|
when :get_session
|
@@ -94,8 +104,12 @@ module Aws::ConnectWisdomService
|
|
94
104
|
Aws::ConnectWisdomService::Endpoints::ListAssistants.build(context)
|
95
105
|
when :list_contents
|
96
106
|
Aws::ConnectWisdomService::Endpoints::ListContents.build(context)
|
107
|
+
when :list_import_jobs
|
108
|
+
Aws::ConnectWisdomService::Endpoints::ListImportJobs.build(context)
|
97
109
|
when :list_knowledge_bases
|
98
110
|
Aws::ConnectWisdomService::Endpoints::ListKnowledgeBases.build(context)
|
111
|
+
when :list_quick_responses
|
112
|
+
Aws::ConnectWisdomService::Endpoints::ListQuickResponses.build(context)
|
99
113
|
when :list_tags_for_resource
|
100
114
|
Aws::ConnectWisdomService::Endpoints::ListTagsForResource.build(context)
|
101
115
|
when :notify_recommendations_received
|
@@ -106,10 +120,14 @@ module Aws::ConnectWisdomService
|
|
106
120
|
Aws::ConnectWisdomService::Endpoints::RemoveKnowledgeBaseTemplateUri.build(context)
|
107
121
|
when :search_content
|
108
122
|
Aws::ConnectWisdomService::Endpoints::SearchContent.build(context)
|
123
|
+
when :search_quick_responses
|
124
|
+
Aws::ConnectWisdomService::Endpoints::SearchQuickResponses.build(context)
|
109
125
|
when :search_sessions
|
110
126
|
Aws::ConnectWisdomService::Endpoints::SearchSessions.build(context)
|
111
127
|
when :start_content_upload
|
112
128
|
Aws::ConnectWisdomService::Endpoints::StartContentUpload.build(context)
|
129
|
+
when :start_import_job
|
130
|
+
Aws::ConnectWisdomService::Endpoints::StartImportJob.build(context)
|
113
131
|
when :tag_resource
|
114
132
|
Aws::ConnectWisdomService::Endpoints::TagResource.build(context)
|
115
133
|
when :untag_resource
|
@@ -118,6 +136,8 @@ module Aws::ConnectWisdomService
|
|
118
136
|
Aws::ConnectWisdomService::Endpoints::UpdateContent.build(context)
|
119
137
|
when :update_knowledge_base_template_uri
|
120
138
|
Aws::ConnectWisdomService::Endpoints::UpdateKnowledgeBaseTemplateUri.build(context)
|
139
|
+
when :update_quick_response
|
140
|
+
Aws::ConnectWisdomService::Endpoints::UpdateQuickResponse.build(context)
|
121
141
|
end
|
122
142
|
end
|
123
143
|
end
|