aws-sdk-connect 1.25.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-connect.rb +4 -2
- data/lib/aws-sdk-connect/client.rb +214 -12
- data/lib/aws-sdk-connect/client_api.rb +89 -0
- data/lib/aws-sdk-connect/errors.rb +2 -0
- data/lib/aws-sdk-connect/resource.rb +2 -0
- data/lib/aws-sdk-connect/types.rb +290 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 990f0ce9370cc7577d61146106d59c8cfdb50c2d017f7b01a42b49f67b8166b4
|
4
|
+
data.tar.gz: edf9b2e18092e189bd856b84361e90b226a41a01765bcdeb8abb69e56dd45dc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d60d56ca4cc22f01eca2a0e61631e6da63aa465fdef6b943a9bf823f5cf3e0684ad0dbc9c31ef190d209ecfca09040f6f5e1bd8aa706e9893ffe289a21227082
|
7
|
+
data.tar.gz: f5bf965e2c33abccf36dee42da8f5ecbd3c9c93da5ea653c60793edb031b5f0b0927c186550d340cf3f1c7047ed96fdcfafd0c5b0e71566de9def142baa7e619
|
data/lib/aws-sdk-connect.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-connect/customizations'
|
|
42
44
|
#
|
43
45
|
# See {Errors} for more information.
|
44
46
|
#
|
45
|
-
#
|
47
|
+
# @!group service
|
46
48
|
module Aws::Connect
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.30.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::Connect
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -81,13 +85,28 @@ module Aws::Connect
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::Connect
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::Connect
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -634,7 +653,9 @@ module Aws::Connect
|
|
634
653
|
#
|
635
654
|
# @option params [required, Array<Types::CurrentMetric>] :current_metrics
|
636
655
|
# The metrics to retrieve. Specify the name and unit for each metric.
|
637
|
-
# The following metrics are available
|
656
|
+
# The following metrics are available. For a description of each metric,
|
657
|
+
# see [Real-time Metrics Definitions][1] in the *Amazon Connect
|
658
|
+
# Administrator Guide*.
|
638
659
|
#
|
639
660
|
# AGENTS\_AFTER\_CONTACT\_WORK
|
640
661
|
#
|
@@ -688,6 +709,10 @@ module Aws::Connect
|
|
688
709
|
#
|
689
710
|
# : Unit: COUNT
|
690
711
|
#
|
712
|
+
#
|
713
|
+
#
|
714
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html
|
715
|
+
#
|
691
716
|
# @option params [String] :next_token
|
692
717
|
# The token for the next set of results. Use the value returned in the
|
693
718
|
# previous response in the next request to retrieve the next set of
|
@@ -831,7 +856,9 @@ module Aws::Connect
|
|
831
856
|
#
|
832
857
|
# @option params [required, Array<Types::HistoricalMetric>] :historical_metrics
|
833
858
|
# The metrics to retrieve. Specify the name, unit, and statistic for
|
834
|
-
# each metric. The following historical metrics are available
|
859
|
+
# each metric. The following historical metrics are available. For a
|
860
|
+
# description of each metric, see [Historical Metrics Definitions][1] in
|
861
|
+
# the *Amazon Connect Administrator Guide*.
|
835
862
|
#
|
836
863
|
# ABANDON\_TIME
|
837
864
|
#
|
@@ -987,6 +1014,10 @@ module Aws::Connect
|
|
987
1014
|
# following service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120,
|
988
1015
|
# 180, 240, 300, 600
|
989
1016
|
#
|
1017
|
+
#
|
1018
|
+
#
|
1019
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html
|
1020
|
+
#
|
990
1021
|
# @option params [String] :next_token
|
991
1022
|
# The token for the next set of results. Use the value returned in the
|
992
1023
|
# previous response in the next request to retrieve the next set of
|
@@ -1469,6 +1500,40 @@ module Aws::Connect
|
|
1469
1500
|
req.send_request(options)
|
1470
1501
|
end
|
1471
1502
|
|
1503
|
+
# When a contact is being recorded, and the recording has been suspended
|
1504
|
+
# using SuspendContactRecording, this API resumes recording the call.
|
1505
|
+
#
|
1506
|
+
# Only voice recordings are supported at this time.
|
1507
|
+
#
|
1508
|
+
# @option params [required, String] :instance_id
|
1509
|
+
# The identifier of the Amazon Connect instance.
|
1510
|
+
#
|
1511
|
+
# @option params [required, String] :contact_id
|
1512
|
+
# The identifier of the contact.
|
1513
|
+
#
|
1514
|
+
# @option params [required, String] :initial_contact_id
|
1515
|
+
# The identifier of the contact. This is the identifier of the contact
|
1516
|
+
# associated with the first interaction with the contact center.
|
1517
|
+
#
|
1518
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1519
|
+
#
|
1520
|
+
# @example Request syntax with placeholder values
|
1521
|
+
#
|
1522
|
+
# resp = client.resume_contact_recording({
|
1523
|
+
# instance_id: "InstanceId", # required
|
1524
|
+
# contact_id: "ContactId", # required
|
1525
|
+
# initial_contact_id: "ContactId", # required
|
1526
|
+
# })
|
1527
|
+
#
|
1528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResumeContactRecording AWS API Documentation
|
1529
|
+
#
|
1530
|
+
# @overload resume_contact_recording(params = {})
|
1531
|
+
# @param [Hash] params ({})
|
1532
|
+
def resume_contact_recording(params = {}, options = {})
|
1533
|
+
req = build_request(:resume_contact_recording, params)
|
1534
|
+
req.send_request(options)
|
1535
|
+
end
|
1536
|
+
|
1472
1537
|
# Initiates a contact flow to start a new chat for the customer.
|
1473
1538
|
# Response of this API provides a token required to obtain credentials
|
1474
1539
|
# from the [CreateParticipantConnection][1] API in the Amazon Connect
|
@@ -1551,7 +1616,66 @@ module Aws::Connect
|
|
1551
1616
|
req.send_request(options)
|
1552
1617
|
end
|
1553
1618
|
|
1554
|
-
#
|
1619
|
+
# This API starts recording the contact when the agent joins the call.
|
1620
|
+
# StartContactRecording is a one-time action. For example, if you use
|
1621
|
+
# StopContactRecording to stop recording an ongoing call, you can't use
|
1622
|
+
# StartContactRecording to restart it. For scenarios where the recording
|
1623
|
+
# has started and you want to suspend and resume it, such as when
|
1624
|
+
# collecting sensitive information (for example, a credit card number),
|
1625
|
+
# use SuspendContactRecording and ResumeContactRecording.
|
1626
|
+
#
|
1627
|
+
# You can use this API to override the recording behavior configured in
|
1628
|
+
# the [Set recording behavior][1] block.
|
1629
|
+
#
|
1630
|
+
# Only voice recordings are supported at this time.
|
1631
|
+
#
|
1632
|
+
#
|
1633
|
+
#
|
1634
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/set-recording-behavior.html
|
1635
|
+
#
|
1636
|
+
# @option params [required, String] :instance_id
|
1637
|
+
# The identifier of the Amazon Connect instance.
|
1638
|
+
#
|
1639
|
+
# @option params [required, String] :contact_id
|
1640
|
+
# The identifier of the contact.
|
1641
|
+
#
|
1642
|
+
# @option params [required, String] :initial_contact_id
|
1643
|
+
# The identifier of the contact. This is the identifier of the contact
|
1644
|
+
# associated with the first interaction with the contact center.
|
1645
|
+
#
|
1646
|
+
# @option params [required, Types::VoiceRecordingConfiguration] :voice_recording_configuration
|
1647
|
+
# Who is being recorded.
|
1648
|
+
#
|
1649
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1650
|
+
#
|
1651
|
+
# @example Request syntax with placeholder values
|
1652
|
+
#
|
1653
|
+
# resp = client.start_contact_recording({
|
1654
|
+
# instance_id: "InstanceId", # required
|
1655
|
+
# contact_id: "ContactId", # required
|
1656
|
+
# initial_contact_id: "ContactId", # required
|
1657
|
+
# voice_recording_configuration: { # required
|
1658
|
+
# voice_recording_track: "FROM_AGENT", # accepts FROM_AGENT, TO_AGENT, ALL
|
1659
|
+
# },
|
1660
|
+
# })
|
1661
|
+
#
|
1662
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactRecording AWS API Documentation
|
1663
|
+
#
|
1664
|
+
# @overload start_contact_recording(params = {})
|
1665
|
+
# @param [Hash] params ({})
|
1666
|
+
def start_contact_recording(params = {}, options = {})
|
1667
|
+
req = build_request(:start_contact_recording, params)
|
1668
|
+
req.send_request(options)
|
1669
|
+
end
|
1670
|
+
|
1671
|
+
# This API places an outbound call to a contact, and then initiates the
|
1672
|
+
# contact flow. It performs the actions in the contact flow that's
|
1673
|
+
# specified (in `ContactFlowId`).
|
1674
|
+
#
|
1675
|
+
# Agents are not involved in initiating the outbound API (that is,
|
1676
|
+
# dialing the contact). If the contact flow places an outbound call to a
|
1677
|
+
# contact, and then puts the contact in queue, that's when the call is
|
1678
|
+
# routed to the agent, like any other inbound case.
|
1555
1679
|
#
|
1556
1680
|
# There is a 60 second dialing timeout for this operation. If the call
|
1557
1681
|
# is not connected after 60 seconds, it fails.
|
@@ -1651,6 +1775,84 @@ module Aws::Connect
|
|
1651
1775
|
req.send_request(options)
|
1652
1776
|
end
|
1653
1777
|
|
1778
|
+
# When a contact is being recorded, this API stops recording the call.
|
1779
|
+
# StopContactRecording is a one-time action. If you use
|
1780
|
+
# StopContactRecording to stop recording an ongoing call, you can't use
|
1781
|
+
# StartContactRecording to restart it. For scenarios where the recording
|
1782
|
+
# has started and you want to suspend it for sensitive information (for
|
1783
|
+
# example, to collect a credit card number), and then restart it, use
|
1784
|
+
# SuspendContactRecording and ResumeContactRecording.
|
1785
|
+
#
|
1786
|
+
# Only voice recordings are supported at this time.
|
1787
|
+
#
|
1788
|
+
# @option params [required, String] :instance_id
|
1789
|
+
# The identifier of the Amazon Connect instance.
|
1790
|
+
#
|
1791
|
+
# @option params [required, String] :contact_id
|
1792
|
+
# The identifier of the contact.
|
1793
|
+
#
|
1794
|
+
# @option params [required, String] :initial_contact_id
|
1795
|
+
# The identifier of the contact. This is the identifier of the contact
|
1796
|
+
# associated with the first interaction with the contact center.
|
1797
|
+
#
|
1798
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1799
|
+
#
|
1800
|
+
# @example Request syntax with placeholder values
|
1801
|
+
#
|
1802
|
+
# resp = client.stop_contact_recording({
|
1803
|
+
# instance_id: "InstanceId", # required
|
1804
|
+
# contact_id: "ContactId", # required
|
1805
|
+
# initial_contact_id: "ContactId", # required
|
1806
|
+
# })
|
1807
|
+
#
|
1808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactRecording AWS API Documentation
|
1809
|
+
#
|
1810
|
+
# @overload stop_contact_recording(params = {})
|
1811
|
+
# @param [Hash] params ({})
|
1812
|
+
def stop_contact_recording(params = {}, options = {})
|
1813
|
+
req = build_request(:stop_contact_recording, params)
|
1814
|
+
req.send_request(options)
|
1815
|
+
end
|
1816
|
+
|
1817
|
+
# When a contact is being recorded, this API suspends recording the
|
1818
|
+
# call. For example, you might suspend the call recording while
|
1819
|
+
# collecting sensitive information, such as a credit card number. Then
|
1820
|
+
# use ResumeContactRecording to restart recording.
|
1821
|
+
#
|
1822
|
+
# The period of time that the recording is suspended is filled with
|
1823
|
+
# silence in the final recording.
|
1824
|
+
#
|
1825
|
+
# Only voice recordings are supported at this time.
|
1826
|
+
#
|
1827
|
+
# @option params [required, String] :instance_id
|
1828
|
+
# The identifier of the Amazon Connect instance.
|
1829
|
+
#
|
1830
|
+
# @option params [required, String] :contact_id
|
1831
|
+
# The identifier of the contact.
|
1832
|
+
#
|
1833
|
+
# @option params [required, String] :initial_contact_id
|
1834
|
+
# The identifier of the contact. This is the identifier of the contact
|
1835
|
+
# associated with the first interaction with the contact center.
|
1836
|
+
#
|
1837
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1838
|
+
#
|
1839
|
+
# @example Request syntax with placeholder values
|
1840
|
+
#
|
1841
|
+
# resp = client.suspend_contact_recording({
|
1842
|
+
# instance_id: "InstanceId", # required
|
1843
|
+
# contact_id: "ContactId", # required
|
1844
|
+
# initial_contact_id: "ContactId", # required
|
1845
|
+
# })
|
1846
|
+
#
|
1847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SuspendContactRecording AWS API Documentation
|
1848
|
+
#
|
1849
|
+
# @overload suspend_contact_recording(params = {})
|
1850
|
+
# @param [Hash] params ({})
|
1851
|
+
def suspend_contact_recording(params = {}, options = {})
|
1852
|
+
req = build_request(:suspend_contact_recording, params)
|
1853
|
+
req.send_request(options)
|
1854
|
+
end
|
1855
|
+
|
1654
1856
|
# Adds the specified tags to the specified resource.
|
1655
1857
|
#
|
1656
1858
|
# The supported resource type is users.
|
@@ -1940,7 +2142,7 @@ module Aws::Connect
|
|
1940
2142
|
params: params,
|
1941
2143
|
config: config)
|
1942
2144
|
context[:gem_name] = 'aws-sdk-connect'
|
1943
|
-
context[:gem_version] = '1.
|
2145
|
+
context[:gem_version] = '1.30.0'
|
1944
2146
|
Seahorse::Client::Request.new(handlers, context)
|
1945
2147
|
end
|
1946
2148
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -140,6 +142,8 @@ module Aws::Connect
|
|
140
142
|
QueueTypes = Shapes::ListShape.new(name: 'QueueTypes')
|
141
143
|
Queues = Shapes::ListShape.new(name: 'Queues')
|
142
144
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
145
|
+
ResumeContactRecordingRequest = Shapes::StructureShape.new(name: 'ResumeContactRecordingRequest')
|
146
|
+
ResumeContactRecordingResponse = Shapes::StructureShape.new(name: 'ResumeContactRecordingResponse')
|
143
147
|
RoutingProfileId = Shapes::StringShape.new(name: 'RoutingProfileId')
|
144
148
|
RoutingProfileName = Shapes::StringShape.new(name: 'RoutingProfileName')
|
145
149
|
RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
|
@@ -152,11 +156,17 @@ module Aws::Connect
|
|
152
156
|
SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
|
153
157
|
StartChatContactRequest = Shapes::StructureShape.new(name: 'StartChatContactRequest')
|
154
158
|
StartChatContactResponse = Shapes::StructureShape.new(name: 'StartChatContactResponse')
|
159
|
+
StartContactRecordingRequest = Shapes::StructureShape.new(name: 'StartContactRecordingRequest')
|
160
|
+
StartContactRecordingResponse = Shapes::StructureShape.new(name: 'StartContactRecordingResponse')
|
155
161
|
StartOutboundVoiceContactRequest = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactRequest')
|
156
162
|
StartOutboundVoiceContactResponse = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactResponse')
|
157
163
|
Statistic = Shapes::StringShape.new(name: 'Statistic')
|
164
|
+
StopContactRecordingRequest = Shapes::StructureShape.new(name: 'StopContactRecordingRequest')
|
165
|
+
StopContactRecordingResponse = Shapes::StructureShape.new(name: 'StopContactRecordingResponse')
|
158
166
|
StopContactRequest = Shapes::StructureShape.new(name: 'StopContactRequest')
|
159
167
|
StopContactResponse = Shapes::StructureShape.new(name: 'StopContactResponse')
|
168
|
+
SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
|
169
|
+
SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
|
160
170
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
161
171
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
162
172
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
@@ -182,6 +192,8 @@ module Aws::Connect
|
|
182
192
|
UserSummary = Shapes::StructureShape.new(name: 'UserSummary')
|
183
193
|
UserSummaryList = Shapes::ListShape.new(name: 'UserSummaryList')
|
184
194
|
Value = Shapes::FloatShape.new(name: 'Value')
|
195
|
+
VoiceRecordingConfiguration = Shapes::StructureShape.new(name: 'VoiceRecordingConfiguration')
|
196
|
+
VoiceRecordingTrack = Shapes::StringShape.new(name: 'VoiceRecordingTrack')
|
185
197
|
timestamp = Shapes::TimestampShape.new(name: 'timestamp')
|
186
198
|
|
187
199
|
Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
|
@@ -518,6 +530,13 @@ module Aws::Connect
|
|
518
530
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
519
531
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
520
532
|
|
533
|
+
ResumeContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
534
|
+
ResumeContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
|
535
|
+
ResumeContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
|
536
|
+
ResumeContactRecordingRequest.struct_class = Types::ResumeContactRecordingRequest
|
537
|
+
|
538
|
+
ResumeContactRecordingResponse.struct_class = Types::ResumeContactRecordingResponse
|
539
|
+
|
521
540
|
RoutingProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "Id"))
|
522
541
|
RoutingProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
523
542
|
RoutingProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
|
@@ -547,6 +566,14 @@ module Aws::Connect
|
|
547
566
|
StartChatContactResponse.add_member(:participant_token, Shapes::ShapeRef.new(shape: ParticipantToken, location_name: "ParticipantToken"))
|
548
567
|
StartChatContactResponse.struct_class = Types::StartChatContactResponse
|
549
568
|
|
569
|
+
StartContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
570
|
+
StartContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
|
571
|
+
StartContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
|
572
|
+
StartContactRecordingRequest.add_member(:voice_recording_configuration, Shapes::ShapeRef.new(shape: VoiceRecordingConfiguration, required: true, location_name: "VoiceRecordingConfiguration"))
|
573
|
+
StartContactRecordingRequest.struct_class = Types::StartContactRecordingRequest
|
574
|
+
|
575
|
+
StartContactRecordingResponse.struct_class = Types::StartContactRecordingResponse
|
576
|
+
|
550
577
|
StartOutboundVoiceContactRequest.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "DestinationPhoneNumber"))
|
551
578
|
StartOutboundVoiceContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
|
552
579
|
StartOutboundVoiceContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
@@ -559,12 +586,26 @@ module Aws::Connect
|
|
559
586
|
StartOutboundVoiceContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
|
560
587
|
StartOutboundVoiceContactResponse.struct_class = Types::StartOutboundVoiceContactResponse
|
561
588
|
|
589
|
+
StopContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
590
|
+
StopContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
|
591
|
+
StopContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
|
592
|
+
StopContactRecordingRequest.struct_class = Types::StopContactRecordingRequest
|
593
|
+
|
594
|
+
StopContactRecordingResponse.struct_class = Types::StopContactRecordingResponse
|
595
|
+
|
562
596
|
StopContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
|
563
597
|
StopContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
564
598
|
StopContactRequest.struct_class = Types::StopContactRequest
|
565
599
|
|
566
600
|
StopContactResponse.struct_class = Types::StopContactResponse
|
567
601
|
|
602
|
+
SuspendContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
603
|
+
SuspendContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
|
604
|
+
SuspendContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
|
605
|
+
SuspendContactRecordingRequest.struct_class = Types::SuspendContactRecordingRequest
|
606
|
+
|
607
|
+
SuspendContactRecordingResponse.struct_class = Types::SuspendContactRecordingResponse
|
608
|
+
|
568
609
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
569
610
|
|
570
611
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -650,6 +691,9 @@ module Aws::Connect
|
|
650
691
|
|
651
692
|
UserSummaryList.member = Shapes::ShapeRef.new(shape: UserSummary)
|
652
693
|
|
694
|
+
VoiceRecordingConfiguration.add_member(:voice_recording_track, Shapes::ShapeRef.new(shape: VoiceRecordingTrack, location_name: "VoiceRecordingTrack"))
|
695
|
+
VoiceRecordingConfiguration.struct_class = Types::VoiceRecordingConfiguration
|
696
|
+
|
653
697
|
|
654
698
|
# @api private
|
655
699
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -964,6 +1008,17 @@ module Aws::Connect
|
|
964
1008
|
)
|
965
1009
|
end)
|
966
1010
|
|
1011
|
+
api.add_operation(:resume_contact_recording, Seahorse::Model::Operation.new.tap do |o|
|
1012
|
+
o.name = "ResumeContactRecording"
|
1013
|
+
o.http_method = "POST"
|
1014
|
+
o.http_request_uri = "/contact/resume-recording"
|
1015
|
+
o.input = Shapes::ShapeRef.new(shape: ResumeContactRecordingRequest)
|
1016
|
+
o.output = Shapes::ShapeRef.new(shape: ResumeContactRecordingResponse)
|
1017
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1018
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1019
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
1020
|
+
end)
|
1021
|
+
|
967
1022
|
api.add_operation(:start_chat_contact, Seahorse::Model::Operation.new.tap do |o|
|
968
1023
|
o.name = "StartChatContact"
|
969
1024
|
o.http_method = "PUT"
|
@@ -977,6 +1032,18 @@ module Aws::Connect
|
|
977
1032
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
978
1033
|
end)
|
979
1034
|
|
1035
|
+
api.add_operation(:start_contact_recording, Seahorse::Model::Operation.new.tap do |o|
|
1036
|
+
o.name = "StartContactRecording"
|
1037
|
+
o.http_method = "POST"
|
1038
|
+
o.http_request_uri = "/contact/start-recording"
|
1039
|
+
o.input = Shapes::ShapeRef.new(shape: StartContactRecordingRequest)
|
1040
|
+
o.output = Shapes::ShapeRef.new(shape: StartContactRecordingResponse)
|
1041
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1042
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1043
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1044
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
1045
|
+
end)
|
1046
|
+
|
980
1047
|
api.add_operation(:start_outbound_voice_contact, Seahorse::Model::Operation.new.tap do |o|
|
981
1048
|
o.name = "StartOutboundVoiceContact"
|
982
1049
|
o.http_method = "PUT"
|
@@ -1005,6 +1072,28 @@ module Aws::Connect
|
|
1005
1072
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
1006
1073
|
end)
|
1007
1074
|
|
1075
|
+
api.add_operation(:stop_contact_recording, Seahorse::Model::Operation.new.tap do |o|
|
1076
|
+
o.name = "StopContactRecording"
|
1077
|
+
o.http_method = "POST"
|
1078
|
+
o.http_request_uri = "/contact/stop-recording"
|
1079
|
+
o.input = Shapes::ShapeRef.new(shape: StopContactRecordingRequest)
|
1080
|
+
o.output = Shapes::ShapeRef.new(shape: StopContactRecordingResponse)
|
1081
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1082
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1083
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
1084
|
+
end)
|
1085
|
+
|
1086
|
+
api.add_operation(:suspend_contact_recording, Seahorse::Model::Operation.new.tap do |o|
|
1087
|
+
o.name = "SuspendContactRecording"
|
1088
|
+
o.http_method = "POST"
|
1089
|
+
o.http_request_uri = "/contact/suspend-recording"
|
1090
|
+
o.input = Shapes::ShapeRef.new(shape: SuspendContactRecordingRequest)
|
1091
|
+
o.output = Shapes::ShapeRef.new(shape: SuspendContactRecordingResponse)
|
1092
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1093
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1094
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
1095
|
+
end)
|
1096
|
+
|
1008
1097
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1009
1098
|
o.name = "TagResource"
|
1010
1099
|
o.http_method = "POST"
|