aws-sdk-connect 1.26.1 → 1.31.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ca8195957bce7232500efe223fc12c0848743ac505937e22c94cca10cc47adb
4
- data.tar.gz: 2b899cb0c09626ca526752275aada929f45f116ff0e3a4a4417c02045e3aee39
3
+ metadata.gz: 888defad792ba3ff76415cf178b1bc24210fccd5aca85ac637be9bc8c92cc60c
4
+ data.tar.gz: dc69185aa3cab9c483a21cfec765e00d9c9ef8a72006a46b7220221171b936a7
5
5
  SHA512:
6
- metadata.gz: 6f4a1b55100a7e5b14d690bf1b4ce9e4aa54b3d60a47982e5db324840dc9f33d678c57ac86ef812a1f545e206bd0837c85f1e498c2ae645a3b35d426353ef316
7
- data.tar.gz: 6bdaee8452a36ef29ec9a03ed6c30151e3c751c76ea0e12212ef0474d346c363edf1f59ed1c8644078d6440d1a740b48a0eb3712ad755bfadd9e4e51e8135216
6
+ metadata.gz: 4effa671db770ad9de53fef5a771751c5f15b8c388d11f60292ae905914fb6938c435ce83a946589729dccabbaa46d0d566e2328afb0dd30985a106b50b4d7a8
7
+ data.tar.gz: 55f0bf1c091b8a54d9e2040f1a95042c3d4c364ab143d3d85898177475e40ec582f19a4065240d2186099847a7daf78eae36085d7aed6a1d01992e2f54ffa0b1
@@ -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:
@@ -5,6 +7,7 @@
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
10
+
8
11
  require 'aws-sdk-core'
9
12
  require 'aws-sigv4'
10
13
 
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-connect/customizations'
42
45
  #
43
46
  # See {Errors} for more information.
44
47
  #
45
- # @service
48
+ # @!group service
46
49
  module Aws::Connect
47
50
 
48
- GEM_VERSION = '1.26.1'
51
+ GEM_VERSION = '1.31.0'
49
52
 
50
53
  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:
@@ -83,13 +85,28 @@ module Aws::Connect
83
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
84
86
  # credentials.
85
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
+ #
86
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
87
103
  # from an EC2 IMDS on an EC2 instance.
88
104
  #
89
- # * `Aws::SharedCredentials` - Used for loading credentials from a
90
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
91
107
  #
92
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
93
110
  #
94
111
  # When `:credentials` are not configured directly, the following
95
112
  # locations will be searched for credentials:
@@ -99,10 +116,10 @@ module Aws::Connect
99
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
100
117
  # * `~/.aws/credentials`
101
118
  # * `~/.aws/config`
102
- # * EC2 IMDS instance profile - When used by default, the timeouts are
103
- # very aggressive. Construct and pass an instance of
104
- # `Aws::InstanceProfileCredentails` to enable retries and extended
105
- # 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.
106
123
  #
107
124
  # @option options [required, String] :region
108
125
  # The AWS region to connect to. The configured `:region` is
@@ -636,7 +653,9 @@ module Aws::Connect
636
653
  #
637
654
  # @option params [required, Array<Types::CurrentMetric>] :current_metrics
638
655
  # The metrics to retrieve. Specify the name and unit for each metric.
639
- # 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*.
640
659
  #
641
660
  # AGENTS\_AFTER\_CONTACT\_WORK
642
661
  #
@@ -690,6 +709,10 @@ module Aws::Connect
690
709
  #
691
710
  # : Unit: COUNT
692
711
  #
712
+ #
713
+ #
714
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html
715
+ #
693
716
  # @option params [String] :next_token
694
717
  # The token for the next set of results. Use the value returned in the
695
718
  # previous response in the next request to retrieve the next set of
@@ -833,7 +856,9 @@ module Aws::Connect
833
856
  #
834
857
  # @option params [required, Array<Types::HistoricalMetric>] :historical_metrics
835
858
  # The metrics to retrieve. Specify the name, unit, and statistic for
836
- # 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*.
837
862
  #
838
863
  # ABANDON\_TIME
839
864
  #
@@ -989,6 +1014,10 @@ module Aws::Connect
989
1014
  # following service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120,
990
1015
  # 180, 240, 300, 600
991
1016
  #
1017
+ #
1018
+ #
1019
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html
1020
+ #
992
1021
  # @option params [String] :next_token
993
1022
  # The token for the next set of results. Use the value returned in the
994
1023
  # previous response in the next request to retrieve the next set of
@@ -1471,6 +1500,40 @@ module Aws::Connect
1471
1500
  req.send_request(options)
1472
1501
  end
1473
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
+
1474
1537
  # Initiates a contact flow to start a new chat for the customer.
1475
1538
  # Response of this API provides a token required to obtain credentials
1476
1539
  # from the [CreateParticipantConnection][1] API in the Amazon Connect
@@ -1553,7 +1616,66 @@ module Aws::Connect
1553
1616
  req.send_request(options)
1554
1617
  end
1555
1618
 
1556
- # Initiates a contact flow to place an outbound call to a customer.
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.
1557
1679
  #
1558
1680
  # There is a 60 second dialing timeout for this operation. If the call
1559
1681
  # is not connected after 60 seconds, it fails.
@@ -1653,6 +1775,84 @@ module Aws::Connect
1653
1775
  req.send_request(options)
1654
1776
  end
1655
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
+
1656
1856
  # Adds the specified tags to the specified resource.
1657
1857
  #
1658
1858
  # The supported resource type is users.
@@ -1942,7 +2142,7 @@ module Aws::Connect
1942
2142
  params: params,
1943
2143
  config: config)
1944
2144
  context[:gem_name] = 'aws-sdk-connect'
1945
- context[:gem_version] = '1.26.1'
2145
+ context[:gem_version] = '1.31.0'
1946
2146
  Seahorse::Client::Request.new(handlers, context)
1947
2147
  end
1948
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"