aws-sdk-connect 1.53.0 → 1.54.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +118 -12
- data/lib/aws-sdk-connect/client_api.rb +70 -2
- data/lib/aws-sdk-connect/types.rb +198 -17
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9823f68d21e8c59ee25711bc3adcd869a39184a2d6b894cb22c59d54acc1884
|
4
|
+
data.tar.gz: f38e21a34fbbecc68f54f627edeabbf1c3855b50e49e9dfa0a6148c75a0430b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d187dae712fe3613f670d08dcc3f621a914a08103275c56bce768128addf0a9c4557afe26e41e564bedb8848c0d87e474362b47686b71e433cf2e68d85158038
|
7
|
+
data.tar.gz: 718771ab6dccbafb8c7b275fbf094a168002746c7fc0d138ed2be805f281c131b7ac90a58b95607db074845c3f88bb9e490f87220aa4add29275488369b8ed10
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.54.0
|
@@ -2588,13 +2588,14 @@ module Aws::Connect
|
|
2588
2588
|
# instance_id: "InstanceId", # required
|
2589
2589
|
# filters: { # required
|
2590
2590
|
# queues: ["QueueId"],
|
2591
|
+
# routing_profiles: ["RoutingProfileId"],
|
2591
2592
|
# channels: ["VOICE"], # accepts VOICE, CHAT, TASK
|
2592
2593
|
# },
|
2593
|
-
# groupings: ["QUEUE"], # accepts QUEUE, CHANNEL
|
2594
|
+
# groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, INSTANCE
|
2594
2595
|
# current_metrics: [ # required
|
2595
2596
|
# {
|
2596
2597
|
# name: "AGENTS_ONLINE", # accepts AGENTS_ONLINE, AGENTS_AVAILABLE, AGENTS_ON_CALL, AGENTS_NON_PRODUCTIVE, AGENTS_AFTER_CONTACT_WORK, AGENTS_ERROR, AGENTS_STAFFED, CONTACTS_IN_QUEUE, OLDEST_CONTACT_AGE, CONTACTS_SCHEDULED, AGENTS_ON_CONTACT, SLOTS_ACTIVE, SLOTS_AVAILABLE
|
2597
|
-
# unit: "SECONDS", # accepts SECONDS, COUNT, PERCENT
|
2598
|
+
# unit: "SECONDS", # accepts SECONDS, MILLISECONDS, COUNT, PERCENT
|
2598
2599
|
# },
|
2599
2600
|
# ],
|
2600
2601
|
# next_token: "NextToken",
|
@@ -2607,10 +2608,15 @@ module Aws::Connect
|
|
2607
2608
|
# resp.metric_results #=> Array
|
2608
2609
|
# resp.metric_results[0].dimensions.queue.id #=> String
|
2609
2610
|
# resp.metric_results[0].dimensions.queue.arn #=> String
|
2611
|
+
# resp.metric_results[0].dimensions.queue.queue_type #=> String, one of "STANDARD", "AGENT"
|
2610
2612
|
# resp.metric_results[0].dimensions.channel #=> String, one of "VOICE", "CHAT", "TASK"
|
2613
|
+
# resp.metric_results[0].dimensions.routing_profile.id #=> String
|
2614
|
+
# resp.metric_results[0].dimensions.routing_profile.arn #=> String
|
2615
|
+
# resp.metric_results[0].dimensions.instance_reference.id #=> String
|
2616
|
+
# resp.metric_results[0].dimensions.instance_reference.arn #=> String
|
2611
2617
|
# resp.metric_results[0].collections #=> Array
|
2612
2618
|
# resp.metric_results[0].collections[0].metric.name #=> String, one of "AGENTS_ONLINE", "AGENTS_AVAILABLE", "AGENTS_ON_CALL", "AGENTS_NON_PRODUCTIVE", "AGENTS_AFTER_CONTACT_WORK", "AGENTS_ERROR", "AGENTS_STAFFED", "CONTACTS_IN_QUEUE", "OLDEST_CONTACT_AGE", "CONTACTS_SCHEDULED", "AGENTS_ON_CONTACT", "SLOTS_ACTIVE", "SLOTS_AVAILABLE"
|
2613
|
-
# resp.metric_results[0].collections[0].metric.unit #=> String, one of "SECONDS", "COUNT", "PERCENT"
|
2619
|
+
# resp.metric_results[0].collections[0].metric.unit #=> String, one of "SECONDS", "MILLISECONDS", "COUNT", "PERCENT"
|
2614
2620
|
# resp.metric_results[0].collections[0].value #=> Float
|
2615
2621
|
# resp.data_snapshot_time #=> Time
|
2616
2622
|
#
|
@@ -2911,18 +2917,19 @@ module Aws::Connect
|
|
2911
2917
|
# end_time: Time.now, # required
|
2912
2918
|
# filters: { # required
|
2913
2919
|
# queues: ["QueueId"],
|
2920
|
+
# routing_profiles: ["RoutingProfileId"],
|
2914
2921
|
# channels: ["VOICE"], # accepts VOICE, CHAT, TASK
|
2915
2922
|
# },
|
2916
|
-
# groupings: ["QUEUE"], # accepts QUEUE, CHANNEL
|
2923
|
+
# groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, INSTANCE
|
2917
2924
|
# historical_metrics: [ # required
|
2918
2925
|
# {
|
2919
|
-
# name: "CONTACTS_QUEUED", # accepts CONTACTS_QUEUED, CONTACTS_HANDLED, CONTACTS_ABANDONED, CONTACTS_CONSULTED, CONTACTS_AGENT_HUNG_UP_FIRST, CONTACTS_HANDLED_INCOMING, CONTACTS_HANDLED_OUTBOUND, CONTACTS_HOLD_ABANDONS, CONTACTS_TRANSFERRED_IN, CONTACTS_TRANSFERRED_OUT, CONTACTS_TRANSFERRED_IN_FROM_QUEUE, CONTACTS_TRANSFERRED_OUT_FROM_QUEUE, CONTACTS_MISSED, CALLBACK_CONTACTS_HANDLED, API_CONTACTS_HANDLED, OCCUPANCY, HANDLE_TIME, AFTER_CONTACT_WORK_TIME, QUEUED_TIME, ABANDON_TIME, QUEUE_ANSWER_TIME, HOLD_TIME, INTERACTION_TIME, INTERACTION_AND_HOLD_TIME, SERVICE_LEVEL
|
2926
|
+
# name: "CONTACTS_QUEUED", # accepts CONTACTS_QUEUED, CONTACTS_HANDLED, CONTACTS_ABANDONED, CONTACTS_CONSULTED, CONTACTS_AGENT_HUNG_UP_FIRST, CONTACTS_HANDLED_INCOMING, CONTACTS_HANDLED_OUTBOUND, CONTACTS_HOLD_ABANDONS, CONTACTS_TRANSFERRED_IN, CONTACTS_TRANSFERRED_OUT, CONTACTS_TRANSFERRED_IN_FROM_QUEUE, CONTACTS_TRANSFERRED_OUT_FROM_QUEUE, CONTACTS_TRANSFERRED_IN_BY_AGENT, CONTACTS_TRANSFERRED_OUT_BY_AGENT, CONTACTS_MISSED, CALLBACK_CONTACTS_HANDLED, API_CONTACTS_HANDLED, OCCUPANCY, HANDLE_TIME, AFTER_CONTACT_WORK_TIME, QUEUED_TIME, ABANDON_TIME, QUEUE_ANSWER_TIME, HOLD_TIME, INTERACTION_TIME, INTERACTION_AND_HOLD_TIME, SERVICE_LEVEL
|
2920
2927
|
# threshold: {
|
2921
2928
|
# comparison: "LT", # accepts LT
|
2922
2929
|
# threshold_value: 1.0,
|
2923
2930
|
# },
|
2924
2931
|
# statistic: "SUM", # accepts SUM, MAX, AVG
|
2925
|
-
# unit: "SECONDS", # accepts SECONDS, COUNT, PERCENT
|
2932
|
+
# unit: "SECONDS", # accepts SECONDS, MILLISECONDS, COUNT, PERCENT
|
2926
2933
|
# },
|
2927
2934
|
# ],
|
2928
2935
|
# next_token: "NextToken",
|
@@ -2935,13 +2942,18 @@ module Aws::Connect
|
|
2935
2942
|
# resp.metric_results #=> Array
|
2936
2943
|
# resp.metric_results[0].dimensions.queue.id #=> String
|
2937
2944
|
# resp.metric_results[0].dimensions.queue.arn #=> String
|
2945
|
+
# resp.metric_results[0].dimensions.queue.queue_type #=> String, one of "STANDARD", "AGENT"
|
2938
2946
|
# resp.metric_results[0].dimensions.channel #=> String, one of "VOICE", "CHAT", "TASK"
|
2947
|
+
# resp.metric_results[0].dimensions.routing_profile.id #=> String
|
2948
|
+
# resp.metric_results[0].dimensions.routing_profile.arn #=> String
|
2949
|
+
# resp.metric_results[0].dimensions.instance_reference.id #=> String
|
2950
|
+
# resp.metric_results[0].dimensions.instance_reference.arn #=> String
|
2939
2951
|
# resp.metric_results[0].collections #=> Array
|
2940
|
-
# resp.metric_results[0].collections[0].metric.name #=> String, one of "CONTACTS_QUEUED", "CONTACTS_HANDLED", "CONTACTS_ABANDONED", "CONTACTS_CONSULTED", "CONTACTS_AGENT_HUNG_UP_FIRST", "CONTACTS_HANDLED_INCOMING", "CONTACTS_HANDLED_OUTBOUND", "CONTACTS_HOLD_ABANDONS", "CONTACTS_TRANSFERRED_IN", "CONTACTS_TRANSFERRED_OUT", "CONTACTS_TRANSFERRED_IN_FROM_QUEUE", "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE", "CONTACTS_MISSED", "CALLBACK_CONTACTS_HANDLED", "API_CONTACTS_HANDLED", "OCCUPANCY", "HANDLE_TIME", "AFTER_CONTACT_WORK_TIME", "QUEUED_TIME", "ABANDON_TIME", "QUEUE_ANSWER_TIME", "HOLD_TIME", "INTERACTION_TIME", "INTERACTION_AND_HOLD_TIME", "SERVICE_LEVEL"
|
2952
|
+
# resp.metric_results[0].collections[0].metric.name #=> String, one of "CONTACTS_QUEUED", "CONTACTS_HANDLED", "CONTACTS_ABANDONED", "CONTACTS_CONSULTED", "CONTACTS_AGENT_HUNG_UP_FIRST", "CONTACTS_HANDLED_INCOMING", "CONTACTS_HANDLED_OUTBOUND", "CONTACTS_HOLD_ABANDONS", "CONTACTS_TRANSFERRED_IN", "CONTACTS_TRANSFERRED_OUT", "CONTACTS_TRANSFERRED_IN_FROM_QUEUE", "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE", "CONTACTS_TRANSFERRED_IN_BY_AGENT", "CONTACTS_TRANSFERRED_OUT_BY_AGENT", "CONTACTS_MISSED", "CALLBACK_CONTACTS_HANDLED", "API_CONTACTS_HANDLED", "OCCUPANCY", "HANDLE_TIME", "AFTER_CONTACT_WORK_TIME", "QUEUED_TIME", "ABANDON_TIME", "QUEUE_ANSWER_TIME", "HOLD_TIME", "INTERACTION_TIME", "INTERACTION_AND_HOLD_TIME", "SERVICE_LEVEL"
|
2941
2953
|
# resp.metric_results[0].collections[0].metric.threshold.comparison #=> String, one of "LT"
|
2942
2954
|
# resp.metric_results[0].collections[0].metric.threshold.threshold_value #=> Float
|
2943
2955
|
# resp.metric_results[0].collections[0].metric.statistic #=> String, one of "SUM", "MAX", "AVG"
|
2944
|
-
# resp.metric_results[0].collections[0].metric.unit #=> String, one of "SECONDS", "COUNT", "PERCENT"
|
2956
|
+
# resp.metric_results[0].collections[0].metric.unit #=> String, one of "SECONDS", "MILLISECONDS", "COUNT", "PERCENT"
|
2945
2957
|
# resp.metric_results[0].collections[0].value #=> Float
|
2946
2958
|
#
|
2947
2959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetMetricData AWS API Documentation
|
@@ -4345,8 +4357,8 @@ module Aws::Connect
|
|
4345
4357
|
# display_name: "DisplayName", # required
|
4346
4358
|
# },
|
4347
4359
|
# initial_message: {
|
4348
|
-
# content_type: "ChatContentType",
|
4349
|
-
# content: "ChatContent",
|
4360
|
+
# content_type: "ChatContentType",
|
4361
|
+
# content: "ChatContent",
|
4350
4362
|
# },
|
4351
4363
|
# client_token: "ClientToken",
|
4352
4364
|
# })
|
@@ -4419,6 +4431,63 @@ module Aws::Connect
|
|
4419
4431
|
req.send_request(options)
|
4420
4432
|
end
|
4421
4433
|
|
4434
|
+
# Initiates real-time message streaming for a new chat contact.
|
4435
|
+
#
|
4436
|
+
# For more information about message streaming, see [Enable real-time
|
4437
|
+
# chat message streaming][1] in the *Amazon Connect Administrator
|
4438
|
+
# Guide*.
|
4439
|
+
#
|
4440
|
+
#
|
4441
|
+
#
|
4442
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-message-streaming.html
|
4443
|
+
#
|
4444
|
+
# @option params [required, String] :instance_id
|
4445
|
+
# The identifier of the Amazon Connect instance. You can find the
|
4446
|
+
# instanceId in the ARN of the instance.
|
4447
|
+
#
|
4448
|
+
# @option params [required, String] :contact_id
|
4449
|
+
# The identifier of the contact. This is the identifier of the contact
|
4450
|
+
# associated with the first interaction with the contact center.
|
4451
|
+
#
|
4452
|
+
# @option params [required, Types::ChatStreamingConfiguration] :chat_streaming_configuration
|
4453
|
+
# The streaming configuration, such as the Amazon SNS streaming
|
4454
|
+
# endpoint.
|
4455
|
+
#
|
4456
|
+
# @option params [required, String] :client_token
|
4457
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
4458
|
+
# idempotency of the request.
|
4459
|
+
#
|
4460
|
+
# **A suitable default value is auto-generated.** You should normally
|
4461
|
+
# not need to pass this option.**
|
4462
|
+
#
|
4463
|
+
# @return [Types::StartContactStreamingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4464
|
+
#
|
4465
|
+
# * {Types::StartContactStreamingResponse#streaming_id #streaming_id} => String
|
4466
|
+
#
|
4467
|
+
# @example Request syntax with placeholder values
|
4468
|
+
#
|
4469
|
+
# resp = client.start_contact_streaming({
|
4470
|
+
# instance_id: "InstanceId", # required
|
4471
|
+
# contact_id: "ContactId", # required
|
4472
|
+
# chat_streaming_configuration: { # required
|
4473
|
+
# streaming_endpoint_arn: "ChatStreamingEndpointARN", # required
|
4474
|
+
# },
|
4475
|
+
# client_token: "ClientToken", # required
|
4476
|
+
# })
|
4477
|
+
#
|
4478
|
+
# @example Response structure
|
4479
|
+
#
|
4480
|
+
# resp.streaming_id #=> String
|
4481
|
+
#
|
4482
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactStreaming AWS API Documentation
|
4483
|
+
#
|
4484
|
+
# @overload start_contact_streaming(params = {})
|
4485
|
+
# @param [Hash] params ({})
|
4486
|
+
def start_contact_streaming(params = {}, options = {})
|
4487
|
+
req = build_request(:start_contact_streaming, params)
|
4488
|
+
req.send_request(options)
|
4489
|
+
end
|
4490
|
+
|
4422
4491
|
# Places an outbound call to a contact, and then initiates the contact
|
4423
4492
|
# flow. It performs the actions in the contact flow that's specified
|
4424
4493
|
# (in `ContactFlowId`).
|
@@ -4608,7 +4677,7 @@ module Aws::Connect
|
|
4608
4677
|
# references: {
|
4609
4678
|
# "ReferenceKey" => {
|
4610
4679
|
# value: "ReferenceValue", # required
|
4611
|
-
# type: "URL", # required, accepts URL
|
4680
|
+
# type: "URL", # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
|
4612
4681
|
# },
|
4613
4682
|
# },
|
4614
4683
|
# description: "Description",
|
@@ -4695,6 +4764,43 @@ module Aws::Connect
|
|
4695
4764
|
req.send_request(options)
|
4696
4765
|
end
|
4697
4766
|
|
4767
|
+
# Ends message streaming on a specified contact. To restart message
|
4768
|
+
# streaming on that contact, call the [StartContactStreaming][1] API.
|
4769
|
+
#
|
4770
|
+
#
|
4771
|
+
#
|
4772
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_StartContactStreaming.html
|
4773
|
+
#
|
4774
|
+
# @option params [required, String] :instance_id
|
4775
|
+
# The identifier of the Amazon Connect instance. You can find the
|
4776
|
+
# instanceId in the ARN of the instance.
|
4777
|
+
#
|
4778
|
+
# @option params [required, String] :contact_id
|
4779
|
+
# The identifier of the contact. This is the identifier of the contact
|
4780
|
+
# that is associated with the first interaction with the contact center.
|
4781
|
+
#
|
4782
|
+
# @option params [required, String] :streaming_id
|
4783
|
+
# The identifier of the streaming configuration enabled.
|
4784
|
+
#
|
4785
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4786
|
+
#
|
4787
|
+
# @example Request syntax with placeholder values
|
4788
|
+
#
|
4789
|
+
# resp = client.stop_contact_streaming({
|
4790
|
+
# instance_id: "InstanceId", # required
|
4791
|
+
# contact_id: "ContactId", # required
|
4792
|
+
# streaming_id: "StreamingId", # required
|
4793
|
+
# })
|
4794
|
+
#
|
4795
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactStreaming AWS API Documentation
|
4796
|
+
#
|
4797
|
+
# @overload stop_contact_streaming(params = {})
|
4798
|
+
# @param [Hash] params ({})
|
4799
|
+
def stop_contact_streaming(params = {}, options = {})
|
4800
|
+
req = build_request(:stop_contact_streaming, params)
|
4801
|
+
req.send_request(options)
|
4802
|
+
end
|
4803
|
+
|
4698
4804
|
# When a contact is being recorded, this API suspends recording the
|
4699
4805
|
# call. For example, you might suspend the call recording while
|
4700
4806
|
# collecting sensitive information, such as a credit card number. Then
|
@@ -5838,7 +5944,7 @@ module Aws::Connect
|
|
5838
5944
|
params: params,
|
5839
5945
|
config: config)
|
5840
5946
|
context[:gem_name] = 'aws-sdk-connect'
|
5841
|
-
context[:gem_version] = '1.
|
5947
|
+
context[:gem_version] = '1.54.0'
|
5842
5948
|
Seahorse::Client::Request.new(handlers, context)
|
5843
5949
|
end
|
5844
5950
|
|
@@ -56,6 +56,8 @@ module Aws::Connect
|
|
56
56
|
ChatContent = Shapes::StringShape.new(name: 'ChatContent')
|
57
57
|
ChatContentType = Shapes::StringShape.new(name: 'ChatContentType')
|
58
58
|
ChatMessage = Shapes::StructureShape.new(name: 'ChatMessage')
|
59
|
+
ChatStreamingConfiguration = Shapes::StructureShape.new(name: 'ChatStreamingConfiguration')
|
60
|
+
ChatStreamingEndpointARN = Shapes::StringShape.new(name: 'ChatStreamingEndpointARN')
|
59
61
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
60
62
|
CommonNameLength127 = Shapes::StringShape.new(name: 'CommonNameLength127')
|
61
63
|
Comparison = Shapes::StringShape.new(name: 'Comparison')
|
@@ -204,6 +206,7 @@ module Aws::Connect
|
|
204
206
|
InstanceAttributeType = Shapes::StringShape.new(name: 'InstanceAttributeType')
|
205
207
|
InstanceAttributeValue = Shapes::StringShape.new(name: 'InstanceAttributeValue')
|
206
208
|
InstanceId = Shapes::StringShape.new(name: 'InstanceId')
|
209
|
+
InstanceReference = Shapes::StructureShape.new(name: 'InstanceReference')
|
207
210
|
InstanceStatus = Shapes::StringShape.new(name: 'InstanceStatus')
|
208
211
|
InstanceStatusReason = Shapes::StructureShape.new(name: 'InstanceStatusReason')
|
209
212
|
InstanceStorageConfig = Shapes::StructureShape.new(name: 'InstanceStorageConfig')
|
@@ -364,8 +367,10 @@ module Aws::Connect
|
|
364
367
|
RoutingProfileQueueConfigSummaryList = Shapes::ListShape.new(name: 'RoutingProfileQueueConfigSummaryList')
|
365
368
|
RoutingProfileQueueReference = Shapes::StructureShape.new(name: 'RoutingProfileQueueReference')
|
366
369
|
RoutingProfileQueueReferenceList = Shapes::ListShape.new(name: 'RoutingProfileQueueReferenceList')
|
370
|
+
RoutingProfileReference = Shapes::StructureShape.new(name: 'RoutingProfileReference')
|
367
371
|
RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
|
368
372
|
RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
|
373
|
+
RoutingProfiles = Shapes::ListShape.new(name: 'RoutingProfiles')
|
369
374
|
S3Config = Shapes::StructureShape.new(name: 'S3Config')
|
370
375
|
SecurityKey = Shapes::StructureShape.new(name: 'SecurityKey')
|
371
376
|
SecurityKeysList = Shapes::ListShape.new(name: 'SecurityKeysList')
|
@@ -382,6 +387,8 @@ module Aws::Connect
|
|
382
387
|
StartChatContactResponse = Shapes::StructureShape.new(name: 'StartChatContactResponse')
|
383
388
|
StartContactRecordingRequest = Shapes::StructureShape.new(name: 'StartContactRecordingRequest')
|
384
389
|
StartContactRecordingResponse = Shapes::StructureShape.new(name: 'StartContactRecordingResponse')
|
390
|
+
StartContactStreamingRequest = Shapes::StructureShape.new(name: 'StartContactStreamingRequest')
|
391
|
+
StartContactStreamingResponse = Shapes::StructureShape.new(name: 'StartContactStreamingResponse')
|
385
392
|
StartOutboundVoiceContactRequest = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactRequest')
|
386
393
|
StartOutboundVoiceContactResponse = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactResponse')
|
387
394
|
StartTaskContactRequest = Shapes::StructureShape.new(name: 'StartTaskContactRequest')
|
@@ -391,7 +398,10 @@ module Aws::Connect
|
|
391
398
|
StopContactRecordingResponse = Shapes::StructureShape.new(name: 'StopContactRecordingResponse')
|
392
399
|
StopContactRequest = Shapes::StructureShape.new(name: 'StopContactRequest')
|
393
400
|
StopContactResponse = Shapes::StructureShape.new(name: 'StopContactResponse')
|
401
|
+
StopContactStreamingRequest = Shapes::StructureShape.new(name: 'StopContactStreamingRequest')
|
402
|
+
StopContactStreamingResponse = Shapes::StructureShape.new(name: 'StopContactStreamingResponse')
|
394
403
|
StorageType = Shapes::StringShape.new(name: 'StorageType')
|
404
|
+
StreamingId = Shapes::StringShape.new(name: 'StreamingId')
|
395
405
|
String = Shapes::StringShape.new(name: 'String')
|
396
406
|
SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
|
397
407
|
SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
|
@@ -532,10 +542,13 @@ module Aws::Connect
|
|
532
542
|
|
533
543
|
Channels.member = Shapes::ShapeRef.new(shape: Channel)
|
534
544
|
|
535
|
-
ChatMessage.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType,
|
536
|
-
ChatMessage.add_member(:content, Shapes::ShapeRef.new(shape: ChatContent,
|
545
|
+
ChatMessage.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType, location_name: "ContentType"))
|
546
|
+
ChatMessage.add_member(:content, Shapes::ShapeRef.new(shape: ChatContent, location_name: "Content"))
|
537
547
|
ChatMessage.struct_class = Types::ChatMessage
|
538
548
|
|
549
|
+
ChatStreamingConfiguration.add_member(:streaming_endpoint_arn, Shapes::ShapeRef.new(shape: ChatStreamingEndpointARN, required: true, location_name: "StreamingEndpointArn"))
|
550
|
+
ChatStreamingConfiguration.struct_class = Types::ChatStreamingConfiguration
|
551
|
+
|
539
552
|
ContactFlow.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
540
553
|
ContactFlow.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "Id"))
|
541
554
|
ContactFlow.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
|
@@ -838,6 +851,8 @@ module Aws::Connect
|
|
838
851
|
|
839
852
|
Dimensions.add_member(:queue, Shapes::ShapeRef.new(shape: QueueReference, location_name: "Queue"))
|
840
853
|
Dimensions.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
|
854
|
+
Dimensions.add_member(:routing_profile, Shapes::ShapeRef.new(shape: RoutingProfileReference, location_name: "RoutingProfile"))
|
855
|
+
Dimensions.add_member(:instance_reference, Shapes::ShapeRef.new(shape: InstanceReference, location_name: "InstanceReference"))
|
841
856
|
Dimensions.struct_class = Types::Dimensions
|
842
857
|
|
843
858
|
DisassociateApprovedOriginRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
@@ -885,6 +900,7 @@ module Aws::Connect
|
|
885
900
|
EncryptionConfig.struct_class = Types::EncryptionConfig
|
886
901
|
|
887
902
|
Filters.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
|
903
|
+
Filters.add_member(:routing_profiles, Shapes::ShapeRef.new(shape: RoutingProfiles, location_name: "RoutingProfiles"))
|
888
904
|
Filters.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "Channels"))
|
889
905
|
Filters.struct_class = Types::Filters
|
890
906
|
|
@@ -1034,6 +1050,10 @@ module Aws::Connect
|
|
1034
1050
|
Instance.add_member(:outbound_calls_enabled, Shapes::ShapeRef.new(shape: OutboundCallsEnabled, location_name: "OutboundCallsEnabled"))
|
1035
1051
|
Instance.struct_class = Types::Instance
|
1036
1052
|
|
1053
|
+
InstanceReference.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
|
1054
|
+
InstanceReference.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
1055
|
+
InstanceReference.struct_class = Types::InstanceReference
|
1056
|
+
|
1037
1057
|
InstanceStatusReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1038
1058
|
InstanceStatusReason.struct_class = Types::InstanceStatusReason
|
1039
1059
|
|
@@ -1401,6 +1421,7 @@ module Aws::Connect
|
|
1401
1421
|
|
1402
1422
|
QueueReference.add_member(:id, Shapes::ShapeRef.new(shape: QueueId, location_name: "Id"))
|
1403
1423
|
QueueReference.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
1424
|
+
QueueReference.add_member(:queue_type, Shapes::ShapeRef.new(shape: QueueType, location_name: "QueueType"))
|
1404
1425
|
QueueReference.struct_class = Types::QueueReference
|
1405
1426
|
|
1406
1427
|
QueueSummary.add_member(:id, Shapes::ShapeRef.new(shape: QueueId, location_name: "Id"))
|
@@ -1496,6 +1517,10 @@ module Aws::Connect
|
|
1496
1517
|
|
1497
1518
|
RoutingProfileQueueReferenceList.member = Shapes::ShapeRef.new(shape: RoutingProfileQueueReference)
|
1498
1519
|
|
1520
|
+
RoutingProfileReference.add_member(:id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "Id"))
|
1521
|
+
RoutingProfileReference.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
1522
|
+
RoutingProfileReference.struct_class = Types::RoutingProfileReference
|
1523
|
+
|
1499
1524
|
RoutingProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "Id"))
|
1500
1525
|
RoutingProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
1501
1526
|
RoutingProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
|
@@ -1503,6 +1528,8 @@ module Aws::Connect
|
|
1503
1528
|
|
1504
1529
|
RoutingProfileSummaryList.member = Shapes::ShapeRef.new(shape: RoutingProfileSummary)
|
1505
1530
|
|
1531
|
+
RoutingProfiles.member = Shapes::ShapeRef.new(shape: RoutingProfileId)
|
1532
|
+
|
1506
1533
|
S3Config.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "BucketName"))
|
1507
1534
|
S3Config.add_member(:bucket_prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "BucketPrefix"))
|
1508
1535
|
S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
|
@@ -1548,6 +1575,15 @@ module Aws::Connect
|
|
1548
1575
|
|
1549
1576
|
StartContactRecordingResponse.struct_class = Types::StartContactRecordingResponse
|
1550
1577
|
|
1578
|
+
StartContactStreamingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
1579
|
+
StartContactStreamingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
|
1580
|
+
StartContactStreamingRequest.add_member(:chat_streaming_configuration, Shapes::ShapeRef.new(shape: ChatStreamingConfiguration, required: true, location_name: "ChatStreamingConfiguration"))
|
1581
|
+
StartContactStreamingRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
1582
|
+
StartContactStreamingRequest.struct_class = Types::StartContactStreamingRequest
|
1583
|
+
|
1584
|
+
StartContactStreamingResponse.add_member(:streaming_id, Shapes::ShapeRef.new(shape: StreamingId, required: true, location_name: "StreamingId"))
|
1585
|
+
StartContactStreamingResponse.struct_class = Types::StartContactStreamingResponse
|
1586
|
+
|
1551
1587
|
StartOutboundVoiceContactRequest.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "DestinationPhoneNumber"))
|
1552
1588
|
StartOutboundVoiceContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
|
1553
1589
|
StartOutboundVoiceContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
@@ -1589,6 +1625,13 @@ module Aws::Connect
|
|
1589
1625
|
|
1590
1626
|
StopContactResponse.struct_class = Types::StopContactResponse
|
1591
1627
|
|
1628
|
+
StopContactStreamingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
1629
|
+
StopContactStreamingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
|
1630
|
+
StopContactStreamingRequest.add_member(:streaming_id, Shapes::ShapeRef.new(shape: StreamingId, required: true, location_name: "StreamingId"))
|
1631
|
+
StopContactStreamingRequest.struct_class = Types::StopContactStreamingRequest
|
1632
|
+
|
1633
|
+
StopContactStreamingResponse.struct_class = Types::StopContactStreamingResponse
|
1634
|
+
|
1592
1635
|
SuspendContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
1593
1636
|
SuspendContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
|
1594
1637
|
SuspendContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
|
@@ -2985,6 +3028,19 @@ module Aws::Connect
|
|
2985
3028
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2986
3029
|
end)
|
2987
3030
|
|
3031
|
+
api.add_operation(:start_contact_streaming, Seahorse::Model::Operation.new.tap do |o|
|
3032
|
+
o.name = "StartContactStreaming"
|
3033
|
+
o.http_method = "POST"
|
3034
|
+
o.http_request_uri = "/contact/start-streaming"
|
3035
|
+
o.input = Shapes::ShapeRef.new(shape: StartContactStreamingRequest)
|
3036
|
+
o.output = Shapes::ShapeRef.new(shape: StartContactStreamingResponse)
|
3037
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3038
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3039
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3040
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3041
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3042
|
+
end)
|
3043
|
+
|
2988
3044
|
api.add_operation(:start_outbound_voice_contact, Seahorse::Model::Operation.new.tap do |o|
|
2989
3045
|
o.name = "StartOutboundVoiceContact"
|
2990
3046
|
o.http_method = "PUT"
|
@@ -3038,6 +3094,18 @@ module Aws::Connect
|
|
3038
3094
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3039
3095
|
end)
|
3040
3096
|
|
3097
|
+
api.add_operation(:stop_contact_streaming, Seahorse::Model::Operation.new.tap do |o|
|
3098
|
+
o.name = "StopContactStreaming"
|
3099
|
+
o.http_method = "POST"
|
3100
|
+
o.http_request_uri = "/contact/stop-streaming"
|
3101
|
+
o.input = Shapes::ShapeRef.new(shape: StopContactStreamingRequest)
|
3102
|
+
o.output = Shapes::ShapeRef.new(shape: StopContactStreamingResponse)
|
3103
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3104
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3105
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3106
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3107
|
+
end)
|
3108
|
+
|
3041
3109
|
api.add_operation(:suspend_contact_recording, Seahorse::Model::Operation.new.tap do |o|
|
3042
3110
|
o.name = "SuspendContactRecording"
|
3043
3111
|
o.http_method = "POST"
|
@@ -443,8 +443,8 @@ module Aws::Connect
|
|
443
443
|
# data as a hash:
|
444
444
|
#
|
445
445
|
# {
|
446
|
-
# content_type: "ChatContentType",
|
447
|
-
# content: "ChatContent",
|
446
|
+
# content_type: "ChatContentType",
|
447
|
+
# content: "ChatContent",
|
448
448
|
# }
|
449
449
|
#
|
450
450
|
# @!attribute [rw] content_type
|
@@ -464,6 +464,30 @@ module Aws::Connect
|
|
464
464
|
include Aws::Structure
|
465
465
|
end
|
466
466
|
|
467
|
+
# The streaming configuration, such as the Amazon SNS streaming
|
468
|
+
# endpoint.
|
469
|
+
#
|
470
|
+
# @note When making an API call, you may pass ChatStreamingConfiguration
|
471
|
+
# data as a hash:
|
472
|
+
#
|
473
|
+
# {
|
474
|
+
# streaming_endpoint_arn: "ChatStreamingEndpointARN", # required
|
475
|
+
# }
|
476
|
+
#
|
477
|
+
# @!attribute [rw] streaming_endpoint_arn
|
478
|
+
# The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The
|
479
|
+
# Amazon Resource Name (ARN) of the streaming endpoint that is used to
|
480
|
+
# publish real-time message streaming for chat conversations.
|
481
|
+
# @return [String]
|
482
|
+
#
|
483
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ChatStreamingConfiguration AWS API Documentation
|
484
|
+
#
|
485
|
+
class ChatStreamingConfiguration < Struct.new(
|
486
|
+
:streaming_endpoint_arn)
|
487
|
+
SENSITIVE = []
|
488
|
+
include Aws::Structure
|
489
|
+
end
|
490
|
+
|
467
491
|
# Contains information about a contact flow.
|
468
492
|
#
|
469
493
|
# @!attribute [rw] arn
|
@@ -1408,7 +1432,7 @@ module Aws::Connect
|
|
1408
1432
|
:hierarchy_group_id,
|
1409
1433
|
:instance_id,
|
1410
1434
|
:tags)
|
1411
|
-
SENSITIVE = []
|
1435
|
+
SENSITIVE = [:password]
|
1412
1436
|
include Aws::Structure
|
1413
1437
|
end
|
1414
1438
|
|
@@ -1474,7 +1498,7 @@ module Aws::Connect
|
|
1474
1498
|
#
|
1475
1499
|
# {
|
1476
1500
|
# name: "AGENTS_ONLINE", # accepts AGENTS_ONLINE, AGENTS_AVAILABLE, AGENTS_ON_CALL, AGENTS_NON_PRODUCTIVE, AGENTS_AFTER_CONTACT_WORK, AGENTS_ERROR, AGENTS_STAFFED, CONTACTS_IN_QUEUE, OLDEST_CONTACT_AGE, CONTACTS_SCHEDULED, AGENTS_ON_CONTACT, SLOTS_ACTIVE, SLOTS_AVAILABLE
|
1477
|
-
# unit: "SECONDS", # accepts SECONDS, COUNT, PERCENT
|
1501
|
+
# unit: "SECONDS", # accepts SECONDS, MILLISECONDS, COUNT, PERCENT
|
1478
1502
|
# }
|
1479
1503
|
#
|
1480
1504
|
# @!attribute [rw] name
|
@@ -2188,11 +2212,21 @@ module Aws::Connect
|
|
2188
2212
|
# The channel used for grouping and filters.
|
2189
2213
|
# @return [String]
|
2190
2214
|
#
|
2215
|
+
# @!attribute [rw] routing_profile
|
2216
|
+
# The routing profile.
|
2217
|
+
# @return [Types::RoutingProfileReference]
|
2218
|
+
#
|
2219
|
+
# @!attribute [rw] instance_reference
|
2220
|
+
# The instance reference.
|
2221
|
+
# @return [Types::InstanceReference]
|
2222
|
+
#
|
2191
2223
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Dimensions AWS API Documentation
|
2192
2224
|
#
|
2193
2225
|
class Dimensions < Struct.new(
|
2194
2226
|
:queue,
|
2195
|
-
:channel
|
2227
|
+
:channel,
|
2228
|
+
:routing_profile,
|
2229
|
+
:instance_reference)
|
2196
2230
|
SENSITIVE = []
|
2197
2231
|
include Aws::Structure
|
2198
2232
|
end
|
@@ -2500,6 +2534,7 @@ module Aws::Connect
|
|
2500
2534
|
#
|
2501
2535
|
# {
|
2502
2536
|
# queues: ["QueueId"],
|
2537
|
+
# routing_profiles: ["RoutingProfileId"],
|
2503
2538
|
# channels: ["VOICE"], # accepts VOICE, CHAT, TASK
|
2504
2539
|
# }
|
2505
2540
|
#
|
@@ -2508,6 +2543,10 @@ module Aws::Connect
|
|
2508
2543
|
# queues per request.
|
2509
2544
|
# @return [Array<String>]
|
2510
2545
|
#
|
2546
|
+
# @!attribute [rw] routing_profiles
|
2547
|
+
# The filters used to sort routing profiles.
|
2548
|
+
# @return [Array<String>]
|
2549
|
+
#
|
2511
2550
|
# @!attribute [rw] channels
|
2512
2551
|
# The channel to use to filter the metrics.
|
2513
2552
|
# @return [Array<String>]
|
@@ -2516,6 +2555,7 @@ module Aws::Connect
|
|
2516
2555
|
#
|
2517
2556
|
class Filters < Struct.new(
|
2518
2557
|
:queues,
|
2558
|
+
:routing_profiles,
|
2519
2559
|
:channels)
|
2520
2560
|
SENSITIVE = []
|
2521
2561
|
include Aws::Structure
|
@@ -2565,13 +2605,14 @@ module Aws::Connect
|
|
2565
2605
|
# instance_id: "InstanceId", # required
|
2566
2606
|
# filters: { # required
|
2567
2607
|
# queues: ["QueueId"],
|
2608
|
+
# routing_profiles: ["RoutingProfileId"],
|
2568
2609
|
# channels: ["VOICE"], # accepts VOICE, CHAT, TASK
|
2569
2610
|
# },
|
2570
|
-
# groupings: ["QUEUE"], # accepts QUEUE, CHANNEL
|
2611
|
+
# groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, INSTANCE
|
2571
2612
|
# current_metrics: [ # required
|
2572
2613
|
# {
|
2573
2614
|
# name: "AGENTS_ONLINE", # accepts AGENTS_ONLINE, AGENTS_AVAILABLE, AGENTS_ON_CALL, AGENTS_NON_PRODUCTIVE, AGENTS_AFTER_CONTACT_WORK, AGENTS_ERROR, AGENTS_STAFFED, CONTACTS_IN_QUEUE, OLDEST_CONTACT_AGE, CONTACTS_SCHEDULED, AGENTS_ON_CONTACT, SLOTS_ACTIVE, SLOTS_AVAILABLE
|
2574
|
-
# unit: "SECONDS", # accepts SECONDS, COUNT, PERCENT
|
2615
|
+
# unit: "SECONDS", # accepts SECONDS, MILLISECONDS, COUNT, PERCENT
|
2575
2616
|
# },
|
2576
2617
|
# ],
|
2577
2618
|
# next_token: "NextToken",
|
@@ -2811,18 +2852,19 @@ module Aws::Connect
|
|
2811
2852
|
# end_time: Time.now, # required
|
2812
2853
|
# filters: { # required
|
2813
2854
|
# queues: ["QueueId"],
|
2855
|
+
# routing_profiles: ["RoutingProfileId"],
|
2814
2856
|
# channels: ["VOICE"], # accepts VOICE, CHAT, TASK
|
2815
2857
|
# },
|
2816
|
-
# groupings: ["QUEUE"], # accepts QUEUE, CHANNEL
|
2858
|
+
# groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, INSTANCE
|
2817
2859
|
# historical_metrics: [ # required
|
2818
2860
|
# {
|
2819
|
-
# name: "CONTACTS_QUEUED", # accepts CONTACTS_QUEUED, CONTACTS_HANDLED, CONTACTS_ABANDONED, CONTACTS_CONSULTED, CONTACTS_AGENT_HUNG_UP_FIRST, CONTACTS_HANDLED_INCOMING, CONTACTS_HANDLED_OUTBOUND, CONTACTS_HOLD_ABANDONS, CONTACTS_TRANSFERRED_IN, CONTACTS_TRANSFERRED_OUT, CONTACTS_TRANSFERRED_IN_FROM_QUEUE, CONTACTS_TRANSFERRED_OUT_FROM_QUEUE, CONTACTS_MISSED, CALLBACK_CONTACTS_HANDLED, API_CONTACTS_HANDLED, OCCUPANCY, HANDLE_TIME, AFTER_CONTACT_WORK_TIME, QUEUED_TIME, ABANDON_TIME, QUEUE_ANSWER_TIME, HOLD_TIME, INTERACTION_TIME, INTERACTION_AND_HOLD_TIME, SERVICE_LEVEL
|
2861
|
+
# name: "CONTACTS_QUEUED", # accepts CONTACTS_QUEUED, CONTACTS_HANDLED, CONTACTS_ABANDONED, CONTACTS_CONSULTED, CONTACTS_AGENT_HUNG_UP_FIRST, CONTACTS_HANDLED_INCOMING, CONTACTS_HANDLED_OUTBOUND, CONTACTS_HOLD_ABANDONS, CONTACTS_TRANSFERRED_IN, CONTACTS_TRANSFERRED_OUT, CONTACTS_TRANSFERRED_IN_FROM_QUEUE, CONTACTS_TRANSFERRED_OUT_FROM_QUEUE, CONTACTS_TRANSFERRED_IN_BY_AGENT, CONTACTS_TRANSFERRED_OUT_BY_AGENT, CONTACTS_MISSED, CALLBACK_CONTACTS_HANDLED, API_CONTACTS_HANDLED, OCCUPANCY, HANDLE_TIME, AFTER_CONTACT_WORK_TIME, QUEUED_TIME, ABANDON_TIME, QUEUE_ANSWER_TIME, HOLD_TIME, INTERACTION_TIME, INTERACTION_AND_HOLD_TIME, SERVICE_LEVEL
|
2820
2862
|
# threshold: {
|
2821
2863
|
# comparison: "LT", # accepts LT
|
2822
2864
|
# threshold_value: 1.0,
|
2823
2865
|
# },
|
2824
2866
|
# statistic: "SUM", # accepts SUM, MAX, AVG
|
2825
|
-
# unit: "SECONDS", # accepts SECONDS, COUNT, PERCENT
|
2867
|
+
# unit: "SECONDS", # accepts SECONDS, MILLISECONDS, COUNT, PERCENT
|
2826
2868
|
# },
|
2827
2869
|
# ],
|
2828
2870
|
# next_token: "NextToken",
|
@@ -3338,13 +3380,13 @@ module Aws::Connect
|
|
3338
3380
|
# data as a hash:
|
3339
3381
|
#
|
3340
3382
|
# {
|
3341
|
-
# name: "CONTACTS_QUEUED", # accepts CONTACTS_QUEUED, CONTACTS_HANDLED, CONTACTS_ABANDONED, CONTACTS_CONSULTED, CONTACTS_AGENT_HUNG_UP_FIRST, CONTACTS_HANDLED_INCOMING, CONTACTS_HANDLED_OUTBOUND, CONTACTS_HOLD_ABANDONS, CONTACTS_TRANSFERRED_IN, CONTACTS_TRANSFERRED_OUT, CONTACTS_TRANSFERRED_IN_FROM_QUEUE, CONTACTS_TRANSFERRED_OUT_FROM_QUEUE, CONTACTS_MISSED, CALLBACK_CONTACTS_HANDLED, API_CONTACTS_HANDLED, OCCUPANCY, HANDLE_TIME, AFTER_CONTACT_WORK_TIME, QUEUED_TIME, ABANDON_TIME, QUEUE_ANSWER_TIME, HOLD_TIME, INTERACTION_TIME, INTERACTION_AND_HOLD_TIME, SERVICE_LEVEL
|
3383
|
+
# name: "CONTACTS_QUEUED", # accepts CONTACTS_QUEUED, CONTACTS_HANDLED, CONTACTS_ABANDONED, CONTACTS_CONSULTED, CONTACTS_AGENT_HUNG_UP_FIRST, CONTACTS_HANDLED_INCOMING, CONTACTS_HANDLED_OUTBOUND, CONTACTS_HOLD_ABANDONS, CONTACTS_TRANSFERRED_IN, CONTACTS_TRANSFERRED_OUT, CONTACTS_TRANSFERRED_IN_FROM_QUEUE, CONTACTS_TRANSFERRED_OUT_FROM_QUEUE, CONTACTS_TRANSFERRED_IN_BY_AGENT, CONTACTS_TRANSFERRED_OUT_BY_AGENT, CONTACTS_MISSED, CALLBACK_CONTACTS_HANDLED, API_CONTACTS_HANDLED, OCCUPANCY, HANDLE_TIME, AFTER_CONTACT_WORK_TIME, QUEUED_TIME, ABANDON_TIME, QUEUE_ANSWER_TIME, HOLD_TIME, INTERACTION_TIME, INTERACTION_AND_HOLD_TIME, SERVICE_LEVEL
|
3342
3384
|
# threshold: {
|
3343
3385
|
# comparison: "LT", # accepts LT
|
3344
3386
|
# threshold_value: 1.0,
|
3345
3387
|
# },
|
3346
3388
|
# statistic: "SUM", # accepts SUM, MAX, AVG
|
3347
|
-
# unit: "SECONDS", # accepts SECONDS, COUNT, PERCENT
|
3389
|
+
# unit: "SECONDS", # accepts SECONDS, MILLISECONDS, COUNT, PERCENT
|
3348
3390
|
# }
|
3349
3391
|
#
|
3350
3392
|
# @!attribute [rw] name
|
@@ -3607,6 +3649,25 @@ module Aws::Connect
|
|
3607
3649
|
include Aws::Structure
|
3608
3650
|
end
|
3609
3651
|
|
3652
|
+
# The instance reference.
|
3653
|
+
#
|
3654
|
+
# @!attribute [rw] id
|
3655
|
+
# The identifier of the instance reference.
|
3656
|
+
# @return [String]
|
3657
|
+
#
|
3658
|
+
# @!attribute [rw] arn
|
3659
|
+
# The Amazon Resource Name (ARN) of the instance reference.
|
3660
|
+
# @return [String]
|
3661
|
+
#
|
3662
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InstanceReference AWS API Documentation
|
3663
|
+
#
|
3664
|
+
class InstanceReference < Struct.new(
|
3665
|
+
:id,
|
3666
|
+
:arn)
|
3667
|
+
SENSITIVE = []
|
3668
|
+
include Aws::Structure
|
3669
|
+
end
|
3670
|
+
|
3610
3671
|
# Relevant details why the instance was not successfully created.
|
3611
3672
|
#
|
3612
3673
|
# @!attribute [rw] message
|
@@ -5607,11 +5668,16 @@ module Aws::Connect
|
|
5607
5668
|
# The Amazon Resource Name (ARN) of the queue.
|
5608
5669
|
# @return [String]
|
5609
5670
|
#
|
5671
|
+
# @!attribute [rw] queue_type
|
5672
|
+
# The type of queue.
|
5673
|
+
# @return [String]
|
5674
|
+
#
|
5610
5675
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/QueueReference AWS API Documentation
|
5611
5676
|
#
|
5612
5677
|
class QueueReference < Struct.new(
|
5613
5678
|
:id,
|
5614
|
-
:arn
|
5679
|
+
:arn,
|
5680
|
+
:queue_type)
|
5615
5681
|
SENSITIVE = []
|
5616
5682
|
include Aws::Structure
|
5617
5683
|
end
|
@@ -5777,7 +5843,7 @@ module Aws::Connect
|
|
5777
5843
|
#
|
5778
5844
|
# {
|
5779
5845
|
# value: "ReferenceValue", # required
|
5780
|
-
# type: "URL", # required, accepts URL
|
5846
|
+
# type: "URL", # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
|
5781
5847
|
# }
|
5782
5848
|
#
|
5783
5849
|
# @!attribute [rw] value
|
@@ -6064,6 +6130,25 @@ module Aws::Connect
|
|
6064
6130
|
include Aws::Structure
|
6065
6131
|
end
|
6066
6132
|
|
6133
|
+
# The routing profile reference.
|
6134
|
+
#
|
6135
|
+
# @!attribute [rw] id
|
6136
|
+
# The identifier of the routing profile reference.
|
6137
|
+
# @return [String]
|
6138
|
+
#
|
6139
|
+
# @!attribute [rw] arn
|
6140
|
+
# The Amazon Resource Name (ARN) of the routing profile reference.
|
6141
|
+
# @return [String]
|
6142
|
+
#
|
6143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/RoutingProfileReference AWS API Documentation
|
6144
|
+
#
|
6145
|
+
class RoutingProfileReference < Struct.new(
|
6146
|
+
:id,
|
6147
|
+
:arn)
|
6148
|
+
SENSITIVE = []
|
6149
|
+
include Aws::Structure
|
6150
|
+
end
|
6151
|
+
|
6067
6152
|
# Contains summary information about a routing profile.
|
6068
6153
|
#
|
6069
6154
|
# @!attribute [rw] id
|
@@ -6200,8 +6285,8 @@ module Aws::Connect
|
|
6200
6285
|
# display_name: "DisplayName", # required
|
6201
6286
|
# },
|
6202
6287
|
# initial_message: {
|
6203
|
-
# content_type: "ChatContentType",
|
6204
|
-
# content: "ChatContent",
|
6288
|
+
# content_type: "ChatContentType",
|
6289
|
+
# content: "ChatContent",
|
6205
6290
|
# },
|
6206
6291
|
# client_token: "ClientToken",
|
6207
6292
|
# }
|
@@ -6335,6 +6420,64 @@ module Aws::Connect
|
|
6335
6420
|
#
|
6336
6421
|
class StartContactRecordingResponse < Aws::EmptyStructure; end
|
6337
6422
|
|
6423
|
+
# @note When making an API call, you may pass StartContactStreamingRequest
|
6424
|
+
# data as a hash:
|
6425
|
+
#
|
6426
|
+
# {
|
6427
|
+
# instance_id: "InstanceId", # required
|
6428
|
+
# contact_id: "ContactId", # required
|
6429
|
+
# chat_streaming_configuration: { # required
|
6430
|
+
# streaming_endpoint_arn: "ChatStreamingEndpointARN", # required
|
6431
|
+
# },
|
6432
|
+
# client_token: "ClientToken", # required
|
6433
|
+
# }
|
6434
|
+
#
|
6435
|
+
# @!attribute [rw] instance_id
|
6436
|
+
# The identifier of the Amazon Connect instance. You can find the
|
6437
|
+
# instanceId in the ARN of the instance.
|
6438
|
+
# @return [String]
|
6439
|
+
#
|
6440
|
+
# @!attribute [rw] contact_id
|
6441
|
+
# The identifier of the contact. This is the identifier of the contact
|
6442
|
+
# associated with the first interaction with the contact center.
|
6443
|
+
# @return [String]
|
6444
|
+
#
|
6445
|
+
# @!attribute [rw] chat_streaming_configuration
|
6446
|
+
# The streaming configuration, such as the Amazon SNS streaming
|
6447
|
+
# endpoint.
|
6448
|
+
# @return [Types::ChatStreamingConfiguration]
|
6449
|
+
#
|
6450
|
+
# @!attribute [rw] client_token
|
6451
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
6452
|
+
# idempotency of the request.
|
6453
|
+
#
|
6454
|
+
# **A suitable default value is auto-generated.** You should normally
|
6455
|
+
# not need to pass this option.
|
6456
|
+
# @return [String]
|
6457
|
+
#
|
6458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactStreamingRequest AWS API Documentation
|
6459
|
+
#
|
6460
|
+
class StartContactStreamingRequest < Struct.new(
|
6461
|
+
:instance_id,
|
6462
|
+
:contact_id,
|
6463
|
+
:chat_streaming_configuration,
|
6464
|
+
:client_token)
|
6465
|
+
SENSITIVE = []
|
6466
|
+
include Aws::Structure
|
6467
|
+
end
|
6468
|
+
|
6469
|
+
# @!attribute [rw] streaming_id
|
6470
|
+
# The identifier of the streaming configuration enabled.
|
6471
|
+
# @return [String]
|
6472
|
+
#
|
6473
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactStreamingResponse AWS API Documentation
|
6474
|
+
#
|
6475
|
+
class StartContactStreamingResponse < Struct.new(
|
6476
|
+
:streaming_id)
|
6477
|
+
SENSITIVE = []
|
6478
|
+
include Aws::Structure
|
6479
|
+
end
|
6480
|
+
|
6338
6481
|
# @note When making an API call, you may pass StartOutboundVoiceContactRequest
|
6339
6482
|
# data as a hash:
|
6340
6483
|
#
|
@@ -6469,7 +6612,7 @@ module Aws::Connect
|
|
6469
6612
|
# references: {
|
6470
6613
|
# "ReferenceKey" => {
|
6471
6614
|
# value: "ReferenceValue", # required
|
6472
|
-
# type: "URL", # required, accepts URL
|
6615
|
+
# type: "URL", # required, accepts URL, ATTACHMENT, NUMBER, STRING, DATE, EMAIL
|
6473
6616
|
# },
|
6474
6617
|
# },
|
6475
6618
|
# description: "Description",
|
@@ -6623,6 +6766,44 @@ module Aws::Connect
|
|
6623
6766
|
#
|
6624
6767
|
class StopContactResponse < Aws::EmptyStructure; end
|
6625
6768
|
|
6769
|
+
# @note When making an API call, you may pass StopContactStreamingRequest
|
6770
|
+
# data as a hash:
|
6771
|
+
#
|
6772
|
+
# {
|
6773
|
+
# instance_id: "InstanceId", # required
|
6774
|
+
# contact_id: "ContactId", # required
|
6775
|
+
# streaming_id: "StreamingId", # required
|
6776
|
+
# }
|
6777
|
+
#
|
6778
|
+
# @!attribute [rw] instance_id
|
6779
|
+
# The identifier of the Amazon Connect instance. You can find the
|
6780
|
+
# instanceId in the ARN of the instance.
|
6781
|
+
# @return [String]
|
6782
|
+
#
|
6783
|
+
# @!attribute [rw] contact_id
|
6784
|
+
# The identifier of the contact. This is the identifier of the contact
|
6785
|
+
# that is associated with the first interaction with the contact
|
6786
|
+
# center.
|
6787
|
+
# @return [String]
|
6788
|
+
#
|
6789
|
+
# @!attribute [rw] streaming_id
|
6790
|
+
# The identifier of the streaming configuration enabled.
|
6791
|
+
# @return [String]
|
6792
|
+
#
|
6793
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactStreamingRequest AWS API Documentation
|
6794
|
+
#
|
6795
|
+
class StopContactStreamingRequest < Struct.new(
|
6796
|
+
:instance_id,
|
6797
|
+
:contact_id,
|
6798
|
+
:streaming_id)
|
6799
|
+
SENSITIVE = []
|
6800
|
+
include Aws::Structure
|
6801
|
+
end
|
6802
|
+
|
6803
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactStreamingResponse AWS API Documentation
|
6804
|
+
#
|
6805
|
+
class StopContactStreamingResponse < Aws::EmptyStructure; end
|
6806
|
+
|
6626
6807
|
# @note When making an API call, you may pass SuspendContactRecordingRequest
|
6627
6808
|
# data as a hash:
|
6628
6809
|
#
|
data/lib/aws-sdk-connect.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.54.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|