aws-sdk-connect 1.140.0 → 1.141.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,6 +26,20 @@ module Aws::Connect
26
26
  end
27
27
  end
28
28
 
29
+ class AssociateAnalyticsDataSet
30
+ def self.build(context)
31
+ unless context.config.regional_endpoint
32
+ endpoint = context.config.endpoint.to_s
33
+ end
34
+ Aws::Connect::EndpointParameters.new(
35
+ region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ endpoint: endpoint,
39
+ )
40
+ end
41
+ end
42
+
29
43
  class AssociateApprovedOrigin
30
44
  def self.build(context)
31
45
  unless context.config.regional_endpoint
@@ -68,6 +82,20 @@ module Aws::Connect
68
82
  end
69
83
  end
70
84
 
85
+ class AssociateFlow
86
+ def self.build(context)
87
+ unless context.config.regional_endpoint
88
+ endpoint = context.config.endpoint.to_s
89
+ end
90
+ Aws::Connect::EndpointParameters.new(
91
+ region: context.config.region,
92
+ use_dual_stack: context.config.use_dualstack_endpoint,
93
+ use_fips: context.config.use_fips_endpoint,
94
+ endpoint: endpoint,
95
+ )
96
+ end
97
+ end
98
+
71
99
  class AssociateInstanceStorageConfig
72
100
  def self.build(context)
73
101
  unless context.config.regional_endpoint
@@ -180,6 +208,34 @@ module Aws::Connect
180
208
  end
181
209
  end
182
210
 
211
+ class BatchAssociateAnalyticsDataSet
212
+ def self.build(context)
213
+ unless context.config.regional_endpoint
214
+ endpoint = context.config.endpoint.to_s
215
+ end
216
+ Aws::Connect::EndpointParameters.new(
217
+ region: context.config.region,
218
+ use_dual_stack: context.config.use_dualstack_endpoint,
219
+ use_fips: context.config.use_fips_endpoint,
220
+ endpoint: endpoint,
221
+ )
222
+ end
223
+ end
224
+
225
+ class BatchDisassociateAnalyticsDataSet
226
+ def self.build(context)
227
+ unless context.config.regional_endpoint
228
+ endpoint = context.config.endpoint.to_s
229
+ end
230
+ Aws::Connect::EndpointParameters.new(
231
+ region: context.config.region,
232
+ use_dual_stack: context.config.use_dualstack_endpoint,
233
+ use_fips: context.config.use_fips_endpoint,
234
+ endpoint: endpoint,
235
+ )
236
+ end
237
+ end
238
+
183
239
  class BatchGetFlowAssociation
184
240
  def self.build(context)
185
241
  unless context.config.regional_endpoint
@@ -1174,6 +1230,20 @@ module Aws::Connect
1174
1230
  end
1175
1231
  end
1176
1232
 
1233
+ class DisassociateAnalyticsDataSet
1234
+ def self.build(context)
1235
+ unless context.config.regional_endpoint
1236
+ endpoint = context.config.endpoint.to_s
1237
+ end
1238
+ Aws::Connect::EndpointParameters.new(
1239
+ region: context.config.region,
1240
+ use_dual_stack: context.config.use_dualstack_endpoint,
1241
+ use_fips: context.config.use_fips_endpoint,
1242
+ endpoint: endpoint,
1243
+ )
1244
+ end
1245
+ end
1246
+
1177
1247
  class DisassociateApprovedOrigin
1178
1248
  def self.build(context)
1179
1249
  unless context.config.regional_endpoint
@@ -1202,6 +1272,20 @@ module Aws::Connect
1202
1272
  end
1203
1273
  end
1204
1274
 
1275
+ class DisassociateFlow
1276
+ def self.build(context)
1277
+ unless context.config.regional_endpoint
1278
+ endpoint = context.config.endpoint.to_s
1279
+ end
1280
+ Aws::Connect::EndpointParameters.new(
1281
+ region: context.config.region,
1282
+ use_dual_stack: context.config.use_dualstack_endpoint,
1283
+ use_fips: context.config.use_fips_endpoint,
1284
+ endpoint: endpoint,
1285
+ )
1286
+ end
1287
+ end
1288
+
1205
1289
  class DisassociateInstanceStorageConfig
1206
1290
  def self.build(context)
1207
1291
  unless context.config.regional_endpoint
@@ -1384,6 +1468,20 @@ module Aws::Connect
1384
1468
  end
1385
1469
  end
1386
1470
 
1471
+ class GetFlowAssociation
1472
+ def self.build(context)
1473
+ unless context.config.regional_endpoint
1474
+ endpoint = context.config.endpoint.to_s
1475
+ end
1476
+ Aws::Connect::EndpointParameters.new(
1477
+ region: context.config.region,
1478
+ use_dual_stack: context.config.use_dualstack_endpoint,
1479
+ use_fips: context.config.use_fips_endpoint,
1480
+ endpoint: endpoint,
1481
+ )
1482
+ end
1483
+ end
1484
+
1387
1485
  class GetMetricData
1388
1486
  def self.build(context)
1389
1487
  unless context.config.regional_endpoint
@@ -1454,6 +1552,20 @@ module Aws::Connect
1454
1552
  end
1455
1553
  end
1456
1554
 
1555
+ class ImportPhoneNumber
1556
+ def self.build(context)
1557
+ unless context.config.regional_endpoint
1558
+ endpoint = context.config.endpoint.to_s
1559
+ end
1560
+ Aws::Connect::EndpointParameters.new(
1561
+ region: context.config.region,
1562
+ use_dual_stack: context.config.use_dualstack_endpoint,
1563
+ use_fips: context.config.use_fips_endpoint,
1564
+ endpoint: endpoint,
1565
+ )
1566
+ end
1567
+ end
1568
+
1457
1569
  class ListAgentStatuses
1458
1570
  def self.build(context)
1459
1571
  unless context.config.regional_endpoint
@@ -1468,6 +1580,20 @@ module Aws::Connect
1468
1580
  end
1469
1581
  end
1470
1582
 
1583
+ class ListAnalyticsDataAssociations
1584
+ def self.build(context)
1585
+ unless context.config.regional_endpoint
1586
+ endpoint = context.config.endpoint.to_s
1587
+ end
1588
+ Aws::Connect::EndpointParameters.new(
1589
+ region: context.config.region,
1590
+ use_dual_stack: context.config.use_dualstack_endpoint,
1591
+ use_fips: context.config.use_fips_endpoint,
1592
+ endpoint: endpoint,
1593
+ )
1594
+ end
1595
+ end
1596
+
1471
1597
  class ListApprovedOrigins
1472
1598
  def self.build(context)
1473
1599
  unless context.config.regional_endpoint
@@ -1594,6 +1720,20 @@ module Aws::Connect
1594
1720
  end
1595
1721
  end
1596
1722
 
1723
+ class ListFlowAssociations
1724
+ def self.build(context)
1725
+ unless context.config.regional_endpoint
1726
+ endpoint = context.config.endpoint.to_s
1727
+ end
1728
+ Aws::Connect::EndpointParameters.new(
1729
+ region: context.config.region,
1730
+ use_dual_stack: context.config.use_dualstack_endpoint,
1731
+ use_fips: context.config.use_fips_endpoint,
1732
+ endpoint: endpoint,
1733
+ )
1734
+ end
1735
+ end
1736
+
1597
1737
  class ListHoursOfOperations
1598
1738
  def self.build(context)
1599
1739
  unless context.config.regional_endpoint
@@ -1776,6 +1916,20 @@ module Aws::Connect
1776
1916
  end
1777
1917
  end
1778
1918
 
1919
+ class ListRealtimeContactAnalysisSegmentsV2
1920
+ def self.build(context)
1921
+ unless context.config.regional_endpoint
1922
+ endpoint = context.config.endpoint.to_s
1923
+ end
1924
+ Aws::Connect::EndpointParameters.new(
1925
+ region: context.config.region,
1926
+ use_dual_stack: context.config.use_dualstack_endpoint,
1927
+ use_fips: context.config.use_fips_endpoint,
1928
+ endpoint: endpoint,
1929
+ )
1930
+ end
1931
+ end
1932
+
1779
1933
  class ListRoutingProfileQueues
1780
1934
  def self.build(context)
1781
1935
  unless context.config.regional_endpoint
@@ -2210,6 +2364,20 @@ module Aws::Connect
2210
2364
  end
2211
2365
  end
2212
2366
 
2367
+ class SendChatIntegrationEvent
2368
+ def self.build(context)
2369
+ unless context.config.regional_endpoint
2370
+ endpoint = context.config.endpoint.to_s
2371
+ end
2372
+ Aws::Connect::EndpointParameters.new(
2373
+ region: context.config.region,
2374
+ use_dual_stack: context.config.use_dualstack_endpoint,
2375
+ use_fips: context.config.use_fips_endpoint,
2376
+ endpoint: endpoint,
2377
+ )
2378
+ end
2379
+ end
2380
+
2213
2381
  class StartChatContact
2214
2382
  def self.build(context)
2215
2383
  unless context.config.regional_endpoint
@@ -2294,6 +2462,20 @@ module Aws::Connect
2294
2462
  end
2295
2463
  end
2296
2464
 
2465
+ class StartWebRTCContact
2466
+ def self.build(context)
2467
+ unless context.config.regional_endpoint
2468
+ endpoint = context.config.endpoint.to_s
2469
+ end
2470
+ Aws::Connect::EndpointParameters.new(
2471
+ region: context.config.region,
2472
+ use_dual_stack: context.config.use_dualstack_endpoint,
2473
+ use_fips: context.config.use_fips_endpoint,
2474
+ endpoint: endpoint,
2475
+ )
2476
+ end
2477
+ end
2478
+
2297
2479
  class StopContact
2298
2480
  def self.build(context)
2299
2481
  unless context.config.regional_endpoint
@@ -41,6 +41,7 @@ module Aws::Connect
41
41
  # * {LimitExceededException}
42
42
  # * {MaximumResultReturnedException}
43
43
  # * {OutboundContactNotPermittedException}
44
+ # * {OutputTypeNotFoundException}
44
45
  # * {PropertyValidationException}
45
46
  # * {ResourceConflictException}
46
47
  # * {ResourceInUseException}
@@ -267,6 +268,21 @@ module Aws::Connect
267
268
  end
268
269
  end
269
270
 
271
+ class OutputTypeNotFoundException < ServiceError
272
+
273
+ # @param [Seahorse::Client::RequestContext] context
274
+ # @param [String] message
275
+ # @param [Aws::Connect::Types::OutputTypeNotFoundException] data
276
+ def initialize(context, message, data = Aws::EmptyStructure.new)
277
+ super(context, message, data)
278
+ end
279
+
280
+ # @return [String]
281
+ def message
282
+ @message || @data[:message]
283
+ end
284
+ end
285
+
270
286
  class PropertyValidationException < ServiceError
271
287
 
272
288
  # @param [Seahorse::Client::RequestContext] context
@@ -25,16 +25,17 @@ module Aws::Connect
25
25
  # @api private
26
26
  class Handler < Seahorse::Client::Handler
27
27
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
28
  unless context[:discovered_endpoint]
30
29
  params = parameters_for_operation(context)
31
30
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
31
 
33
32
  context.http_request.endpoint = endpoint.url
34
33
  apply_endpoint_headers(context, endpoint.headers)
34
+
35
+ context[:endpoint_params] = params
36
+ context[:endpoint_properties] = endpoint.properties
35
37
  end
36
38
 
37
- context[:endpoint_params] = params
38
39
  context[:auth_scheme] =
39
40
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
41
 
@@ -58,12 +59,16 @@ module Aws::Connect
58
59
  case context.operation_name
59
60
  when :activate_evaluation_form
60
61
  Aws::Connect::Endpoints::ActivateEvaluationForm.build(context)
62
+ when :associate_analytics_data_set
63
+ Aws::Connect::Endpoints::AssociateAnalyticsDataSet.build(context)
61
64
  when :associate_approved_origin
62
65
  Aws::Connect::Endpoints::AssociateApprovedOrigin.build(context)
63
66
  when :associate_bot
64
67
  Aws::Connect::Endpoints::AssociateBot.build(context)
65
68
  when :associate_default_vocabulary
66
69
  Aws::Connect::Endpoints::AssociateDefaultVocabulary.build(context)
70
+ when :associate_flow
71
+ Aws::Connect::Endpoints::AssociateFlow.build(context)
67
72
  when :associate_instance_storage_config
68
73
  Aws::Connect::Endpoints::AssociateInstanceStorageConfig.build(context)
69
74
  when :associate_lambda_function
@@ -80,6 +85,10 @@ module Aws::Connect
80
85
  Aws::Connect::Endpoints::AssociateSecurityKey.build(context)
81
86
  when :associate_traffic_distribution_group_user
82
87
  Aws::Connect::Endpoints::AssociateTrafficDistributionGroupUser.build(context)
88
+ when :batch_associate_analytics_data_set
89
+ Aws::Connect::Endpoints::BatchAssociateAnalyticsDataSet.build(context)
90
+ when :batch_disassociate_analytics_data_set
91
+ Aws::Connect::Endpoints::BatchDisassociateAnalyticsDataSet.build(context)
83
92
  when :batch_get_flow_association
84
93
  Aws::Connect::Endpoints::BatchGetFlowAssociation.build(context)
85
94
  when :batch_put_contact
@@ -222,10 +231,14 @@ module Aws::Connect
222
231
  Aws::Connect::Endpoints::DescribeView.build(context)
223
232
  when :describe_vocabulary
224
233
  Aws::Connect::Endpoints::DescribeVocabulary.build(context)
234
+ when :disassociate_analytics_data_set
235
+ Aws::Connect::Endpoints::DisassociateAnalyticsDataSet.build(context)
225
236
  when :disassociate_approved_origin
226
237
  Aws::Connect::Endpoints::DisassociateApprovedOrigin.build(context)
227
238
  when :disassociate_bot
228
239
  Aws::Connect::Endpoints::DisassociateBot.build(context)
240
+ when :disassociate_flow
241
+ Aws::Connect::Endpoints::DisassociateFlow.build(context)
229
242
  when :disassociate_instance_storage_config
230
243
  Aws::Connect::Endpoints::DisassociateInstanceStorageConfig.build(context)
231
244
  when :disassociate_lambda_function
@@ -252,6 +265,8 @@ module Aws::Connect
252
265
  Aws::Connect::Endpoints::GetCurrentUserData.build(context)
253
266
  when :get_federation_token
254
267
  Aws::Connect::Endpoints::GetFederationToken.build(context)
268
+ when :get_flow_association
269
+ Aws::Connect::Endpoints::GetFlowAssociation.build(context)
255
270
  when :get_metric_data
256
271
  Aws::Connect::Endpoints::GetMetricData.build(context)
257
272
  when :get_metric_data_v2
@@ -262,8 +277,12 @@ module Aws::Connect
262
277
  Aws::Connect::Endpoints::GetTaskTemplate.build(context)
263
278
  when :get_traffic_distribution
264
279
  Aws::Connect::Endpoints::GetTrafficDistribution.build(context)
280
+ when :import_phone_number
281
+ Aws::Connect::Endpoints::ImportPhoneNumber.build(context)
265
282
  when :list_agent_statuses
266
283
  Aws::Connect::Endpoints::ListAgentStatuses.build(context)
284
+ when :list_analytics_data_associations
285
+ Aws::Connect::Endpoints::ListAnalyticsDataAssociations.build(context)
267
286
  when :list_approved_origins
268
287
  Aws::Connect::Endpoints::ListApprovedOrigins.build(context)
269
288
  when :list_bots
@@ -282,6 +301,8 @@ module Aws::Connect
282
301
  Aws::Connect::Endpoints::ListEvaluationFormVersions.build(context)
283
302
  when :list_evaluation_forms
284
303
  Aws::Connect::Endpoints::ListEvaluationForms.build(context)
304
+ when :list_flow_associations
305
+ Aws::Connect::Endpoints::ListFlowAssociations.build(context)
285
306
  when :list_hours_of_operations
286
307
  Aws::Connect::Endpoints::ListHoursOfOperations.build(context)
287
308
  when :list_instance_attributes
@@ -308,6 +329,8 @@ module Aws::Connect
308
329
  Aws::Connect::Endpoints::ListQueues.build(context)
309
330
  when :list_quick_connects
310
331
  Aws::Connect::Endpoints::ListQuickConnects.build(context)
332
+ when :list_realtime_contact_analysis_segments_v2
333
+ Aws::Connect::Endpoints::ListRealtimeContactAnalysisSegmentsV2.build(context)
311
334
  when :list_routing_profile_queues
312
335
  Aws::Connect::Endpoints::ListRoutingProfileQueues.build(context)
313
336
  when :list_routing_profiles
@@ -370,6 +393,8 @@ module Aws::Connect
370
393
  Aws::Connect::Endpoints::SearchUsers.build(context)
371
394
  when :search_vocabularies
372
395
  Aws::Connect::Endpoints::SearchVocabularies.build(context)
396
+ when :send_chat_integration_event
397
+ Aws::Connect::Endpoints::SendChatIntegrationEvent.build(context)
373
398
  when :start_chat_contact
374
399
  Aws::Connect::Endpoints::StartChatContact.build(context)
375
400
  when :start_contact_evaluation
@@ -382,6 +407,8 @@ module Aws::Connect
382
407
  Aws::Connect::Endpoints::StartOutboundVoiceContact.build(context)
383
408
  when :start_task_contact
384
409
  Aws::Connect::Endpoints::StartTaskContact.build(context)
410
+ when :start_web_rtc_contact
411
+ Aws::Connect::Endpoints::StartWebRTCContact.build(context)
385
412
  when :stop_contact
386
413
  Aws::Connect::Endpoints::StopContact.build(context)
387
414
  when :stop_contact_recording