aws-sdk-connect 1.169.0 → 1.179.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 +50 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +383 -56
- data/lib/aws-sdk-connect/client_api.rb +71 -0
- data/lib/aws-sdk-connect/endpoints.rb +266 -1020
- data/lib/aws-sdk-connect/plugins/endpoints.rb +20 -6
- data/lib/aws-sdk-connect/types.rb +320 -22
- data/lib/aws-sdk-connect.rb +15 -11
- data/sig/client.rbs +72 -7
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +61 -8
- metadata +4 -4
@@ -15,11 +15,11 @@ module Aws::Connect
|
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::Connect::EndpointProvider',
|
17
17
|
rbs_type: 'untyped',
|
18
|
-
docstring:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
docstring: <<~DOCS) do |_cfg|
|
19
|
+
The endpoint provider used to resolve endpoints. Any object that responds to
|
20
|
+
`#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
21
|
+
`Aws::Connect::EndpointParameters`.
|
22
|
+
DOCS
|
23
23
|
Aws::Connect::EndpointProvider.new
|
24
24
|
end
|
25
25
|
|
@@ -40,11 +40,23 @@ module Aws::Connect
|
|
40
40
|
context[:auth_scheme] =
|
41
41
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
42
42
|
|
43
|
-
@handler.call(context)
|
43
|
+
with_metrics(context) { @handler.call(context) }
|
44
44
|
end
|
45
45
|
|
46
46
|
private
|
47
47
|
|
48
|
+
def with_metrics(context, &block)
|
49
|
+
metrics = []
|
50
|
+
metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
|
51
|
+
if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
|
52
|
+
metrics << 'SIGV4A_SIGNING'
|
53
|
+
end
|
54
|
+
if context.config.credentials&.credentials&.account_id
|
55
|
+
metrics << 'RESOLVED_ACCOUNT_ID'
|
56
|
+
end
|
57
|
+
Aws::Plugins::UserAgent.metric(*metrics, &block)
|
58
|
+
end
|
59
|
+
|
48
60
|
def apply_endpoint_headers(context, headers)
|
49
61
|
headers.each do |key, values|
|
50
62
|
value = values
|
@@ -448,6 +460,8 @@ module Aws::Connect
|
|
448
460
|
Aws::Connect::Endpoints::StartContactRecording.build(context)
|
449
461
|
when :start_contact_streaming
|
450
462
|
Aws::Connect::Endpoints::StartContactStreaming.build(context)
|
463
|
+
when :start_outbound_chat_contact
|
464
|
+
Aws::Connect::Endpoints::StartOutboundChatContact.build(context)
|
451
465
|
when :start_outbound_voice_contact
|
452
466
|
Aws::Connect::Endpoints::StartOutboundVoiceContact.build(context)
|
453
467
|
when :start_task_contact
|
@@ -456,11 +456,11 @@ module Aws::Connect
|
|
456
456
|
end
|
457
457
|
|
458
458
|
# Can be used to define a list of preferred agents to target the contact
|
459
|
-
# within the queue.
|
460
|
-
# routing profile in order to be offered the
|
459
|
+
# to within the queue.
Note that agents must have the queue in their
|
460
|
+
# routing profile in order to be offered the
contact.
|
461
461
|
#
|
462
462
|
# @!attribute [rw] agent_ids
|
463
|
-
# An object to specify a list of agents, by
|
463
|
+
# An object to specify a list of agents, by user ID.
|
464
464
|
# @return [Array<String>]
|
465
465
|
#
|
466
466
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AgentsCriteria AWS API Documentation
|
@@ -959,7 +959,7 @@ module Aws::Connect
|
|
959
959
|
# @return [String]
|
960
960
|
#
|
961
961
|
# @!attribute [rw] key
|
962
|
-
# A valid security key in PEM format.
|
962
|
+
# A valid security key in PEM format as a String.
|
963
963
|
# @return [String]
|
964
964
|
#
|
965
965
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateSecurityKeyRequest AWS API Documentation
|
@@ -5967,10 +5967,25 @@ module Aws::Connect
|
|
5967
5967
|
# The name of the instance.
|
5968
5968
|
# @return [Types::Instance]
|
5969
5969
|
#
|
5970
|
+
# @!attribute [rw] replication_configuration
|
5971
|
+
# Status information about the replication process. This field is
|
5972
|
+
# included only when you are using the [ReplicateInstance][1] API to
|
5973
|
+
# replicate an Amazon Connect instance across Amazon Web Services
|
5974
|
+
# Regions. For information about replicating Amazon Connect instances,
|
5975
|
+
# see [Create a replica of your existing Amazon Connect instance][2]
|
5976
|
+
# in the *Amazon Connect Administrator Guide*.
|
5977
|
+
#
|
5978
|
+
#
|
5979
|
+
#
|
5980
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_ReplicateInstance.html
|
5981
|
+
# [2]: https://docs.aws.amazon.com/connect/latest/adminguide/create-replica-connect-instance.html
|
5982
|
+
# @return [Types::ReplicationConfiguration]
|
5983
|
+
#
|
5970
5984
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceResponse AWS API Documentation
|
5971
5985
|
#
|
5972
5986
|
class DescribeInstanceResponse < Struct.new(
|
5973
|
-
:instance
|
5987
|
+
:instance,
|
5988
|
+
:replication_configuration)
|
5974
5989
|
SENSITIVE = []
|
5975
5990
|
include Aws::Structure
|
5976
5991
|
end
|
@@ -9781,8 +9796,8 @@ module Aws::Connect
|
|
9781
9796
|
# Connect
|
9782
9797
|
#
|
9783
9798
|
# Threshold: For `ThresholdValue`, enter any whole number from 1 to
|
9784
|
-
# 604800 (inclusive), in seconds. For `Comparison`, you
|
9785
|
-
# `
|
9799
|
+
# 604800 (inclusive), in seconds. For `Comparison`, you can use `LT`
|
9800
|
+
# (for "Less than") or `LTE` (for "Less than equal").
|
9786
9801
|
#
|
9787
9802
|
# UI name: [Contacts removed from queue in X seconds][51]
|
9788
9803
|
#
|
@@ -9794,8 +9809,8 @@ module Aws::Connect
|
|
9794
9809
|
# contact/segmentAttributes/connect:Subtype, Q in Connect
|
9795
9810
|
#
|
9796
9811
|
# Threshold: For `ThresholdValue` enter any whole number from 1 to
|
9797
|
-
# 604800 (inclusive), in seconds. For `Comparison`, you
|
9798
|
-
# `
|
9812
|
+
# 604800 (inclusive), in seconds. For `Comparison`, you can use `LT`
|
9813
|
+
# (for "Less than") or `LTE` (for "Less than equal").
|
9799
9814
|
#
|
9800
9815
|
# UI name: [Contacts resolved in X][52]
|
9801
9816
|
#
|
@@ -10076,8 +10091,8 @@ module Aws::Connect
|
|
10076
10091
|
# Connect
|
10077
10092
|
#
|
10078
10093
|
# Threshold: For `ThresholdValue`, enter any whole number from 1 to
|
10079
|
-
# 604800 (inclusive), in seconds. For `Comparison`, you
|
10080
|
-
# `
|
10094
|
+
# 604800 (inclusive), in seconds. For `Comparison`, you can use `LT`
|
10095
|
+
# (for "Less than") or `LTE` (for "Less than equal").
|
10081
10096
|
#
|
10082
10097
|
# UI name: [Service level X][72]
|
10083
10098
|
#
|
@@ -10117,7 +10132,7 @@ module Aws::Connect
|
|
10117
10132
|
#
|
10118
10133
|
# </note>
|
10119
10134
|
#
|
10120
|
-
#
|
10135
|
+
# CONTACTS\_ABANDONED
|
10121
10136
|
#
|
10122
10137
|
# : Unit: Count
|
10123
10138
|
#
|
@@ -10142,8 +10157,8 @@ module Aws::Connect
|
|
10142
10157
|
# contact/segmentAttributes/connect:Subtype, Q in Connect
|
10143
10158
|
#
|
10144
10159
|
# Threshold: For `ThresholdValue`, enter any whole number from 1 to
|
10145
|
-
# 604800 (inclusive), in seconds. For `Comparison`, you
|
10146
|
-
# `
|
10160
|
+
# 604800 (inclusive), in seconds. For `Comparison`, you can use `LT`
|
10161
|
+
# (for "Less than") or `LTE` (for "Less than equal").
|
10147
10162
|
#
|
10148
10163
|
# UI name: [Contacts abandoned in X seconds][76]
|
10149
10164
|
#
|
@@ -10155,8 +10170,8 @@ module Aws::Connect
|
|
10155
10170
|
# contact/segmentAttributes/connect:Subtype, Q in Connect
|
10156
10171
|
#
|
10157
10172
|
# Threshold: For `ThresholdValue`, enter any whole number from 1 to
|
10158
|
-
# 604800 (inclusive), in seconds. For `Comparison`, you
|
10159
|
-
# `
|
10173
|
+
# 604800 (inclusive), in seconds. For `Comparison`, you can use `LT`
|
10174
|
+
# (for "Less than") or `LTE` (for "Less than equal").
|
10160
10175
|
#
|
10161
10176
|
# UI name: [Contacts answered in X seconds][77]
|
10162
10177
|
#
|
@@ -14313,10 +14328,10 @@ module Aws::Connect
|
|
14313
14328
|
include Aws::Structure
|
14314
14329
|
end
|
14315
14330
|
|
14316
|
-
# An object to define
|
14331
|
+
# An object to define AgentsCriteria.
|
14317
14332
|
#
|
14318
14333
|
# @!attribute [rw] agents_criteria
|
14319
|
-
# An object to define
|
14334
|
+
# An object to define agentIds.
|
14320
14335
|
# @return [Types::AgentsCriteria]
|
14321
14336
|
#
|
14322
14337
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/MatchCriteria AWS API Documentation
|
@@ -14499,6 +14514,7 @@ module Aws::Connect
|
|
14499
14514
|
#
|
14500
14515
|
# Valid metric filter values for `INITIATION_METHOD`: `INBOUND` \|
|
14501
14516
|
# `OUTBOUND` \| `TRANSFER` \| `QUEUE_TRANSFER` \| `CALLBACK` \| `API`
|
14517
|
+
# \| `WEBRTC_API` \| `MONITOR` \| `DISCONNECT` \| `EXTERNAL_OUTBOUND`
|
14502
14518
|
#
|
14503
14519
|
# Valid metric filter values for `DISCONNECT_REASON`:
|
14504
14520
|
# `CUSTOMER_DISCONNECT` \| `AGENT_DISCONNECT` \|
|
@@ -14798,7 +14814,7 @@ module Aws::Connect
|
|
14798
14814
|
#
|
14799
14815
|
# * Duration labels, such as `NON_TALK_TIME`, `CONTACT_DURATION`,
|
14800
14816
|
# `AGENT_INTERACTION_DURATION`, `CUSTOMER_HOLD_TIME` have a minimum
|
14801
|
-
# value of 0 and maximum value of
|
14817
|
+
# value of 0 and maximum value of 63072000.
|
14802
14818
|
#
|
14803
14819
|
# * Percentages have a minimum value of 0 and maximum value of 100.
|
14804
14820
|
#
|
@@ -16594,6 +16610,92 @@ module Aws::Connect
|
|
16594
16610
|
include Aws::Structure
|
16595
16611
|
end
|
16596
16612
|
|
16613
|
+
# Details about the status of the replication of a source Amazon Connect
|
16614
|
+
# instance across Amazon Web Services Regions. Use these details to
|
16615
|
+
# understand the general status of a given replication. For information
|
16616
|
+
# about why a replication process may fail, see [Why a ReplicateInstance
|
16617
|
+
# call fails][1] in the *Create a replica of your existing Amazon
|
16618
|
+
# Connect instance* topic in the *Amazon Connect Administrator Guide*.
|
16619
|
+
#
|
16620
|
+
#
|
16621
|
+
#
|
16622
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/create-replica-connect-instance.html#why-replicateinstance-fails
|
16623
|
+
#
|
16624
|
+
# @!attribute [rw] replication_status_summary_list
|
16625
|
+
# A list of replication status summaries. The summaries contain
|
16626
|
+
# details about the replication of configuration information for
|
16627
|
+
# Amazon Connect resources, for each Amazon Web Services Region.
|
16628
|
+
# @return [Array<Types::ReplicationStatusSummary>]
|
16629
|
+
#
|
16630
|
+
# @!attribute [rw] source_region
|
16631
|
+
# The Amazon Web Services Region where the source Amazon Connect
|
16632
|
+
# instance was created. This is the Region where the
|
16633
|
+
# [ReplicateInstance][1] API was called to start the replication
|
16634
|
+
# process.
|
16635
|
+
#
|
16636
|
+
#
|
16637
|
+
#
|
16638
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_ReplicateInstance.html
|
16639
|
+
# @return [String]
|
16640
|
+
#
|
16641
|
+
# @!attribute [rw] global_sign_in_endpoint
|
16642
|
+
# The URL that is used to sign-in to your Amazon Connect instance
|
16643
|
+
# according to your traffic distribution group configuration. For more
|
16644
|
+
# information about sign-in and traffic distribution groups, see
|
16645
|
+
# [Important things to know][1] in the *Create traffic distribution
|
16646
|
+
# groups* topic in the *Amazon Connect Administrator Guide*.
|
16647
|
+
#
|
16648
|
+
#
|
16649
|
+
#
|
16650
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-traffic-distribution-groups.html
|
16651
|
+
# @return [String]
|
16652
|
+
#
|
16653
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ReplicationConfiguration AWS API Documentation
|
16654
|
+
#
|
16655
|
+
class ReplicationConfiguration < Struct.new(
|
16656
|
+
:replication_status_summary_list,
|
16657
|
+
:source_region,
|
16658
|
+
:global_sign_in_endpoint)
|
16659
|
+
SENSITIVE = []
|
16660
|
+
include Aws::Structure
|
16661
|
+
end
|
16662
|
+
|
16663
|
+
# Status information about the replication process, where you use the
|
16664
|
+
# [ReplicateInstance][1] API to create a replica of your Amazon Connect
|
16665
|
+
# instance in another Amazon Web Services Region. For more information,
|
16666
|
+
# see [Set up Amazon Connect Global Resiliency][2] in the *Amazon
|
16667
|
+
# Connect Administrator Guide*.
|
16668
|
+
#
|
16669
|
+
#
|
16670
|
+
#
|
16671
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_ReplicateInstance.html
|
16672
|
+
# [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-connect-global-resiliency.html
|
16673
|
+
#
|
16674
|
+
# @!attribute [rw] region
|
16675
|
+
# The Amazon Web Services Region. This can be either the source or the
|
16676
|
+
# replica Region, depending where it appears in the summary list.
|
16677
|
+
# @return [String]
|
16678
|
+
#
|
16679
|
+
# @!attribute [rw] replication_status
|
16680
|
+
# The state of the replication.
|
16681
|
+
# @return [String]
|
16682
|
+
#
|
16683
|
+
# @!attribute [rw] replication_status_reason
|
16684
|
+
# A description of the replication status. Use this information to
|
16685
|
+
# resolve any issues that are preventing the successful replication of
|
16686
|
+
# your Amazon Connect instance to another Region.
|
16687
|
+
# @return [String]
|
16688
|
+
#
|
16689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ReplicationStatusSummary AWS API Documentation
|
16690
|
+
#
|
16691
|
+
class ReplicationStatusSummary < Struct.new(
|
16692
|
+
:region,
|
16693
|
+
:replication_status,
|
16694
|
+
:replication_status_reason)
|
16695
|
+
SENSITIVE = []
|
16696
|
+
include Aws::Structure
|
16697
|
+
end
|
16698
|
+
|
16597
16699
|
# Information about a required field.
|
16598
16700
|
#
|
16599
16701
|
# @!attribute [rw] id
|
@@ -16777,6 +16879,61 @@ module Aws::Connect
|
|
16777
16879
|
include Aws::Structure
|
16778
16880
|
end
|
16779
16881
|
|
16882
|
+
# An object to define the RoutingCriteria.
|
16883
|
+
#
|
16884
|
+
# @!attribute [rw] steps
|
16885
|
+
# When Amazon Connect does not find an available agent meeting the
|
16886
|
+
# requirements in a step for
a given step duration, the routing
|
16887
|
+
# criteria will move on to the next step sequentially until a
join is
|
16888
|
+
# completed with an agent. When all steps are exhausted, the contact
|
16889
|
+
# will be offered to any agent in the queue.
|
16890
|
+
# @return [Array<Types::RoutingCriteriaInputStep>]
|
16891
|
+
#
|
16892
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/RoutingCriteriaInput AWS API Documentation
|
16893
|
+
#
|
16894
|
+
class RoutingCriteriaInput < Struct.new(
|
16895
|
+
:steps)
|
16896
|
+
SENSITIVE = []
|
16897
|
+
include Aws::Structure
|
16898
|
+
end
|
16899
|
+
|
16900
|
+
# Step defines the list of agents to be routed or route based on the
|
16901
|
+
# agent requirements such as ProficiencyLevel, Name, or Value.
|
16902
|
+
#
|
16903
|
+
# @!attribute [rw] expiry
|
16904
|
+
# An object to specify the expiration of a routing step.
|
16905
|
+
# @return [Types::RoutingCriteriaInputStepExpiry]
|
16906
|
+
#
|
16907
|
+
# @!attribute [rw] expression
|
16908
|
+
# A tagged union to specify expression for a routing step.
|
16909
|
+
# @return [Types::Expression]
|
16910
|
+
#
|
16911
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/RoutingCriteriaInputStep AWS API Documentation
|
16912
|
+
#
|
16913
|
+
class RoutingCriteriaInputStep < Struct.new(
|
16914
|
+
:expiry,
|
16915
|
+
:expression)
|
16916
|
+
SENSITIVE = []
|
16917
|
+
include Aws::Structure
|
16918
|
+
end
|
16919
|
+
|
16920
|
+
# Specify whether this routing criteria step should apply for only a
|
16921
|
+
# limited amount of time,
or if it should never expire.
|
16922
|
+
#
|
16923
|
+
# @!attribute [rw] duration_in_seconds
|
16924
|
+
# The number of seconds that the contact will be routed only to agents
|
16925
|
+
# matching this routing
step, if expiry was configured for this
|
16926
|
+
# routing step.
|
16927
|
+
# @return [Integer]
|
16928
|
+
#
|
16929
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/RoutingCriteriaInputStepExpiry AWS API Documentation
|
16930
|
+
#
|
16931
|
+
class RoutingCriteriaInputStepExpiry < Struct.new(
|
16932
|
+
:duration_in_seconds)
|
16933
|
+
SENSITIVE = []
|
16934
|
+
include Aws::Structure
|
16935
|
+
end
|
16936
|
+
|
16780
16937
|
# Contains information about a routing profile.
|
16781
16938
|
#
|
16782
16939
|
# @!attribute [rw] instance_id
|
@@ -19417,6 +19574,140 @@ module Aws::Connect
|
|
19417
19574
|
include Aws::Structure
|
19418
19575
|
end
|
19419
19576
|
|
19577
|
+
# @!attribute [rw] source_endpoint
|
19578
|
+
# Information about the endpoint.
|
19579
|
+
# @return [Types::Endpoint]
|
19580
|
+
#
|
19581
|
+
# @!attribute [rw] destination_endpoint
|
19582
|
+
# Information about the endpoint.
|
19583
|
+
# @return [Types::Endpoint]
|
19584
|
+
#
|
19585
|
+
# @!attribute [rw] instance_id
|
19586
|
+
# The identifier of the Amazon Connect instance. You can find the
|
19587
|
+
# instance ID in the Amazon Resource Name (ARN) of the instance.
|
19588
|
+
# @return [String]
|
19589
|
+
#
|
19590
|
+
# @!attribute [rw] segment_attributes
|
19591
|
+
# A set of system defined key-value pairs stored on individual contact
|
19592
|
+
# segments using an attribute map. The attributes are standard Amazon
|
19593
|
+
# Connect attributes. They can be accessed in flows.
|
19594
|
+
#
|
19595
|
+
# * Attribute keys can include only alphanumeric, `-`, and `_`.
|
19596
|
+
#
|
19597
|
+
# * This field can be used to show channel subtype, such as
|
19598
|
+
# `connect:Guide` and `connect:SMS`.
|
19599
|
+
# @return [Hash<String,Types::SegmentAttributeValue>]
|
19600
|
+
#
|
19601
|
+
# @!attribute [rw] attributes
|
19602
|
+
# A custom key-value pair using an attribute map. The attributes are
|
19603
|
+
# standard Amazon Connect attributes, and can be accessed in flows
|
19604
|
+
# just like any other contact attributes.
|
19605
|
+
# @return [Hash<String,String>]
|
19606
|
+
#
|
19607
|
+
# @!attribute [rw] contact_flow_id
|
19608
|
+
# The identifier of the flow for the call. To see the ContactFlowId in
|
19609
|
+
# the Amazon Connect console user interface, on the navigation menu go
|
19610
|
+
# to **Routing, Contact Flows**. Choose the flow. On the flow page,
|
19611
|
+
# under the name of the flow, choose **Show additional flow
|
19612
|
+
# information**. The ContactFlowId is the last part of the ARN, shown
|
19613
|
+
# here in bold:
|
19614
|
+
#
|
19615
|
+
# * arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/**123ec456-a007-89c0-1234-xxxxxxxxxxxx**
|
19616
|
+
#
|
19617
|
+
# ^
|
19618
|
+
# @return [String]
|
19619
|
+
#
|
19620
|
+
# @!attribute [rw] chat_duration_in_minutes
|
19621
|
+
# The total duration of the newly started chat session. If not
|
19622
|
+
# specified, the chat session duration defaults to 25 hour. The
|
19623
|
+
# minimum configurable time is 60 minutes. The maximum configurable
|
19624
|
+
# time is 10,080 minutes (7 days).
|
19625
|
+
# @return [Integer]
|
19626
|
+
#
|
19627
|
+
# @!attribute [rw] participant_details
|
19628
|
+
# The customer's details.
|
19629
|
+
# @return [Types::ParticipantDetails]
|
19630
|
+
#
|
19631
|
+
# @!attribute [rw] initial_system_message
|
19632
|
+
# A chat message.
|
19633
|
+
# @return [Types::ChatMessage]
|
19634
|
+
#
|
19635
|
+
# @!attribute [rw] related_contact_id
|
19636
|
+
# The unique identifier for an Amazon Connect contact. This identifier
|
19637
|
+
# is related to the contact starting.
|
19638
|
+
# @return [String]
|
19639
|
+
#
|
19640
|
+
# @!attribute [rw] supported_messaging_content_types
|
19641
|
+
# The supported chat message content types. Supported types are:
|
19642
|
+
#
|
19643
|
+
# * `text/plain`
|
19644
|
+
#
|
19645
|
+
# * `text/markdown`
|
19646
|
+
#
|
19647
|
+
# * `application/json,
|
19648
|
+
# application/vnd.amazonaws.connect.message.interactive`
|
19649
|
+
#
|
19650
|
+
# * `application/vnd.amazonaws.connect.message.interactive.response`
|
19651
|
+
#
|
19652
|
+
# Content types must always contain `text/plain`. You can then put any
|
19653
|
+
# other supported type in the list. For example, all the following
|
19654
|
+
# lists are valid because they contain `text/plain`:
|
19655
|
+
#
|
19656
|
+
# * `[text/plain, text/markdown, application/json]`
|
19657
|
+
#
|
19658
|
+
# * `[text/markdown, text/plain]`
|
19659
|
+
#
|
19660
|
+
# * `[text/plain, application/json,
|
19661
|
+
# application/vnd.amazonaws.connect.message.interactive.response]`
|
19662
|
+
# @return [Array<String>]
|
19663
|
+
#
|
19664
|
+
# @!attribute [rw] client_token
|
19665
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
19666
|
+
# idempotency of the request. If not provided, the AWS SDK populates
|
19667
|
+
# this field. For more information about idempotency, see [Making
|
19668
|
+
# retries safe with idempotent APIs][1]. The token is valid for 7 days
|
19669
|
+
# after creation. If a contact is already started, the contact ID is
|
19670
|
+
# returned.
|
19671
|
+
#
|
19672
|
+
# **A suitable default value is auto-generated.** You should normally
|
19673
|
+
# not need to pass this option.
|
19674
|
+
#
|
19675
|
+
#
|
19676
|
+
#
|
19677
|
+
# [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
|
19678
|
+
# @return [String]
|
19679
|
+
#
|
19680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartOutboundChatContactRequest AWS API Documentation
|
19681
|
+
#
|
19682
|
+
class StartOutboundChatContactRequest < Struct.new(
|
19683
|
+
:source_endpoint,
|
19684
|
+
:destination_endpoint,
|
19685
|
+
:instance_id,
|
19686
|
+
:segment_attributes,
|
19687
|
+
:attributes,
|
19688
|
+
:contact_flow_id,
|
19689
|
+
:chat_duration_in_minutes,
|
19690
|
+
:participant_details,
|
19691
|
+
:initial_system_message,
|
19692
|
+
:related_contact_id,
|
19693
|
+
:supported_messaging_content_types,
|
19694
|
+
:client_token)
|
19695
|
+
SENSITIVE = []
|
19696
|
+
include Aws::Structure
|
19697
|
+
end
|
19698
|
+
|
19699
|
+
# @!attribute [rw] contact_id
|
19700
|
+
# The identifier of this contact within the Amazon Connect instance.
|
19701
|
+
# @return [String]
|
19702
|
+
#
|
19703
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartOutboundChatContactResponse AWS API Documentation
|
19704
|
+
#
|
19705
|
+
class StartOutboundChatContactResponse < Struct.new(
|
19706
|
+
:contact_id)
|
19707
|
+
SENSITIVE = []
|
19708
|
+
include Aws::Structure
|
19709
|
+
end
|
19710
|
+
|
19420
19711
|
# @!attribute [rw] name
|
19421
19712
|
# The name of a voice contact that is shown to an agent in the Contact
|
19422
19713
|
# Control Panel (CCP).
|
@@ -20453,8 +20744,8 @@ module Aws::Connect
|
|
20453
20744
|
# Contains information about the threshold for service level metrics.
|
20454
20745
|
#
|
20455
20746
|
# @!attribute [rw] comparison
|
20456
|
-
# The type of comparison.
|
20457
|
-
# (GT) comparisons are supported.
|
20747
|
+
# The type of comparison. Currently, "less than" (LT), "less than
|
20748
|
+
# equal" (LTE), and "greater than" (GT) comparisons are supported.
|
20458
20749
|
# @return [String]
|
20459
20750
|
#
|
20460
20751
|
# @!attribute [rw] threshold_value
|
@@ -21337,13 +21628,19 @@ module Aws::Connect
|
|
21337
21628
|
# such as 1 or 2.
|
21338
21629
|
# @return [Integer]
|
21339
21630
|
#
|
21631
|
+
# @!attribute [rw] routing_criteria
|
21632
|
+
# Updates the routing criteria on the contact. These properties can be
|
21633
|
+
# used to change how a
contact is routed within the queue.
|
21634
|
+
# @return [Types::RoutingCriteriaInput]
|
21635
|
+
#
|
21340
21636
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactRoutingDataRequest AWS API Documentation
|
21341
21637
|
#
|
21342
21638
|
class UpdateContactRoutingDataRequest < Struct.new(
|
21343
21639
|
:instance_id,
|
21344
21640
|
:contact_id,
|
21345
21641
|
:queue_time_adjustment_seconds,
|
21346
|
-
:queue_priority
|
21642
|
+
:queue_priority,
|
21643
|
+
:routing_criteria)
|
21347
21644
|
SENSITIVE = []
|
21348
21645
|
include Aws::Structure
|
21349
21646
|
end
|
@@ -23795,3 +24092,4 @@ module Aws::Connect
|
|
23795
24092
|
|
23796
24093
|
end
|
23797
24094
|
end
|
24095
|
+
|
data/lib/aws-sdk-connect.rb
CHANGED
@@ -11,16 +11,7 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
-
|
15
|
-
require_relative 'aws-sdk-connect/client_api'
|
16
|
-
require_relative 'aws-sdk-connect/plugins/endpoints.rb'
|
17
|
-
require_relative 'aws-sdk-connect/client'
|
18
|
-
require_relative 'aws-sdk-connect/errors'
|
19
|
-
require_relative 'aws-sdk-connect/resource'
|
20
|
-
require_relative 'aws-sdk-connect/endpoint_parameters'
|
21
|
-
require_relative 'aws-sdk-connect/endpoint_provider'
|
22
|
-
require_relative 'aws-sdk-connect/endpoints'
|
23
|
-
require_relative 'aws-sdk-connect/customizations'
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:connect)
|
24
15
|
|
25
16
|
# This module provides support for Amazon Connect Service. This module is available in the
|
26
17
|
# `aws-sdk-connect` gem.
|
@@ -51,7 +42,20 @@ require_relative 'aws-sdk-connect/customizations'
|
|
51
42
|
#
|
52
43
|
# @!group service
|
53
44
|
module Aws::Connect
|
45
|
+
autoload :Types, 'aws-sdk-connect/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-connect/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-connect/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-connect/client'
|
51
|
+
autoload :Errors, 'aws-sdk-connect/errors'
|
52
|
+
autoload :Resource, 'aws-sdk-connect/resource'
|
53
|
+
autoload :EndpointParameters, 'aws-sdk-connect/endpoint_parameters'
|
54
|
+
autoload :EndpointProvider, 'aws-sdk-connect/endpoint_provider'
|
55
|
+
autoload :Endpoints, 'aws-sdk-connect/endpoints'
|
54
56
|
|
55
|
-
GEM_VERSION = '1.
|
57
|
+
GEM_VERSION = '1.179.0'
|
56
58
|
|
57
59
|
end
|
60
|
+
|
61
|
+
require_relative 'aws-sdk-connect/customizations'
|