aws-sdk-connect 1.24.0 → 1.29.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: e8b861a5654c3b2098bccb6938ef872c845fc1c718af25999b060586b8ee3da7
4
- data.tar.gz: da95ec41b58a0ade7e458962eaa2c64e57cb2e406d89386484105c757e1e1e14
3
+ metadata.gz: 250c9a84ec4c1ba2cbc111533052e08647a6c173498ba3a9261cd35f988344a6
4
+ data.tar.gz: 6b971aca4d8d9d4bbd5f3d5dc590a011de94c9094eaffce1f6169191a47bcb48
5
5
  SHA512:
6
- metadata.gz: 15c05d822625f684cb9c8f157d76cd10c73fe9405afcf5c5ac572d5dd5772c8cf3298fba1bc04a148fed4f78e29bda8fdeda5db9138283c5646956ea1a0bfa5a
7
- data.tar.gz: bb3b4ced82b40c5710ce9947f93a252cc0d0100242e29b3672be1030b09286a3f1d93bff251d60cbf1358d06894f3fef21b02407ec65a4be527edca447c72a21
6
+ metadata.gz: e56b11785c7dec2a7f407b9daf35085f5ea23cf2e31fb46a9ad922383ec7198dd626e566b2a4ec96bc182d9709c283b2642a2345dbc7db4a8c1f2dc1970470b4
7
+ data.tar.gz: caddda581bfd50296a727908b4da43ab192d5531f3926359935877b9d95032aa2ab6cceef39592922def7fd9c78be55ae95d91277b10a68671e00b47eb681b37
@@ -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:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-connect/customizations'
45
47
  # @service
46
48
  module Aws::Connect
47
49
 
48
- GEM_VERSION = '1.24.0'
50
+ GEM_VERSION = '1.29.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
 
@@ -161,7 +165,7 @@ module Aws::Connect
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::Connect
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -634,7 +638,9 @@ module Aws::Connect
634
638
  #
635
639
  # @option params [required, Array<Types::CurrentMetric>] :current_metrics
636
640
  # The metrics to retrieve. Specify the name and unit for each metric.
637
- # The following metrics are available:
641
+ # The following metrics are available. For a description of each metric,
642
+ # see [Real-time Metrics Definitions][1] in the *Amazon Connect
643
+ # Administrator Guide*.
638
644
  #
639
645
  # AGENTS\_AFTER\_CONTACT\_WORK
640
646
  #
@@ -688,6 +694,10 @@ module Aws::Connect
688
694
  #
689
695
  # : Unit: COUNT
690
696
  #
697
+ #
698
+ #
699
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html
700
+ #
691
701
  # @option params [String] :next_token
692
702
  # The token for the next set of results. Use the value returned in the
693
703
  # previous response in the next request to retrieve the next set of
@@ -831,7 +841,9 @@ module Aws::Connect
831
841
  #
832
842
  # @option params [required, Array<Types::HistoricalMetric>] :historical_metrics
833
843
  # The metrics to retrieve. Specify the name, unit, and statistic for
834
- # each metric. The following historical metrics are available:
844
+ # each metric. The following historical metrics are available. For a
845
+ # description of each metric, see [Historical Metrics Definitions][1] in
846
+ # the *Amazon Connect Administrator Guide*.
835
847
  #
836
848
  # ABANDON\_TIME
837
849
  #
@@ -987,6 +999,10 @@ module Aws::Connect
987
999
  # following service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120,
988
1000
  # 180, 240, 300, 600
989
1001
  #
1002
+ #
1003
+ #
1004
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html
1005
+ #
990
1006
  # @option params [String] :next_token
991
1007
  # The token for the next set of results. Use the value returned in the
992
1008
  # previous response in the next request to retrieve the next set of
@@ -1469,6 +1485,40 @@ module Aws::Connect
1469
1485
  req.send_request(options)
1470
1486
  end
1471
1487
 
1488
+ # When a contact is being recorded, and the recording has been suspended
1489
+ # using SuspendContactRecording, this API resumes recording the call.
1490
+ #
1491
+ # Only voice recordings are supported at this time.
1492
+ #
1493
+ # @option params [required, String] :instance_id
1494
+ # The identifier of the Amazon Connect instance.
1495
+ #
1496
+ # @option params [required, String] :contact_id
1497
+ # The identifier of the contact.
1498
+ #
1499
+ # @option params [required, String] :initial_contact_id
1500
+ # The identifier of the contact. This is the identifier of the contact
1501
+ # associated with the first interaction with the contact center.
1502
+ #
1503
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1504
+ #
1505
+ # @example Request syntax with placeholder values
1506
+ #
1507
+ # resp = client.resume_contact_recording({
1508
+ # instance_id: "InstanceId", # required
1509
+ # contact_id: "ContactId", # required
1510
+ # initial_contact_id: "ContactId", # required
1511
+ # })
1512
+ #
1513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResumeContactRecording AWS API Documentation
1514
+ #
1515
+ # @overload resume_contact_recording(params = {})
1516
+ # @param [Hash] params ({})
1517
+ def resume_contact_recording(params = {}, options = {})
1518
+ req = build_request(:resume_contact_recording, params)
1519
+ req.send_request(options)
1520
+ end
1521
+
1472
1522
  # Initiates a contact flow to start a new chat for the customer.
1473
1523
  # Response of this API provides a token required to obtain credentials
1474
1524
  # from the [CreateParticipantConnection][1] API in the Amazon Connect
@@ -1551,7 +1601,66 @@ module Aws::Connect
1551
1601
  req.send_request(options)
1552
1602
  end
1553
1603
 
1554
- # Initiates a contact flow to place an outbound call to a customer.
1604
+ # This API starts recording the contact when the agent joins the call.
1605
+ # StartContactRecording is a one-time action. For example, if you use
1606
+ # StopContactRecording to stop recording an ongoing call, you can't use
1607
+ # StartContactRecording to restart it. For scenarios where the recording
1608
+ # has started and you want to suspend and resume it, such as when
1609
+ # collecting sensitive information (for example, a credit card number),
1610
+ # use SuspendContactRecording and ResumeContactRecording.
1611
+ #
1612
+ # You can use this API to override the recording behavior configured in
1613
+ # the [Set recording behavior][1] block.
1614
+ #
1615
+ # Only voice recordings are supported at this time.
1616
+ #
1617
+ #
1618
+ #
1619
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/set-recording-behavior.html
1620
+ #
1621
+ # @option params [required, String] :instance_id
1622
+ # The identifier of the Amazon Connect instance.
1623
+ #
1624
+ # @option params [required, String] :contact_id
1625
+ # The identifier of the contact.
1626
+ #
1627
+ # @option params [required, String] :initial_contact_id
1628
+ # The identifier of the contact. This is the identifier of the contact
1629
+ # associated with the first interaction with the contact center.
1630
+ #
1631
+ # @option params [required, Types::VoiceRecordingConfiguration] :voice_recording_configuration
1632
+ # Who is being recorded.
1633
+ #
1634
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1635
+ #
1636
+ # @example Request syntax with placeholder values
1637
+ #
1638
+ # resp = client.start_contact_recording({
1639
+ # instance_id: "InstanceId", # required
1640
+ # contact_id: "ContactId", # required
1641
+ # initial_contact_id: "ContactId", # required
1642
+ # voice_recording_configuration: { # required
1643
+ # voice_recording_track: "FROM_AGENT", # accepts FROM_AGENT, TO_AGENT, ALL
1644
+ # },
1645
+ # })
1646
+ #
1647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactRecording AWS API Documentation
1648
+ #
1649
+ # @overload start_contact_recording(params = {})
1650
+ # @param [Hash] params ({})
1651
+ def start_contact_recording(params = {}, options = {})
1652
+ req = build_request(:start_contact_recording, params)
1653
+ req.send_request(options)
1654
+ end
1655
+
1656
+ # This API places an outbound call to a contact, and then initiates the
1657
+ # contact flow. It performs the actions in the contact flow that's
1658
+ # specified (in `ContactFlowId`).
1659
+ #
1660
+ # Agents are not involved in initiating the outbound API (that is,
1661
+ # dialing the contact). If the contact flow places an outbound call to a
1662
+ # contact, and then puts the contact in queue, that's when the call is
1663
+ # routed to the agent, like any other inbound case.
1555
1664
  #
1556
1665
  # There is a 60 second dialing timeout for this operation. If the call
1557
1666
  # is not connected after 60 seconds, it fails.
@@ -1651,6 +1760,84 @@ module Aws::Connect
1651
1760
  req.send_request(options)
1652
1761
  end
1653
1762
 
1763
+ # When a contact is being recorded, this API stops recording the call.
1764
+ # StopContactRecording is a one-time action. If you use
1765
+ # StopContactRecording to stop recording an ongoing call, you can't use
1766
+ # StartContactRecording to restart it. For scenarios where the recording
1767
+ # has started and you want to suspend it for sensitive information (for
1768
+ # example, to collect a credit card number), and then restart it, use
1769
+ # SuspendContactRecording and ResumeContactRecording.
1770
+ #
1771
+ # Only voice recordings are supported at this time.
1772
+ #
1773
+ # @option params [required, String] :instance_id
1774
+ # The identifier of the Amazon Connect instance.
1775
+ #
1776
+ # @option params [required, String] :contact_id
1777
+ # The identifier of the contact.
1778
+ #
1779
+ # @option params [required, String] :initial_contact_id
1780
+ # The identifier of the contact. This is the identifier of the contact
1781
+ # associated with the first interaction with the contact center.
1782
+ #
1783
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1784
+ #
1785
+ # @example Request syntax with placeholder values
1786
+ #
1787
+ # resp = client.stop_contact_recording({
1788
+ # instance_id: "InstanceId", # required
1789
+ # contact_id: "ContactId", # required
1790
+ # initial_contact_id: "ContactId", # required
1791
+ # })
1792
+ #
1793
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactRecording AWS API Documentation
1794
+ #
1795
+ # @overload stop_contact_recording(params = {})
1796
+ # @param [Hash] params ({})
1797
+ def stop_contact_recording(params = {}, options = {})
1798
+ req = build_request(:stop_contact_recording, params)
1799
+ req.send_request(options)
1800
+ end
1801
+
1802
+ # When a contact is being recorded, this API suspends recording the
1803
+ # call. For example, you might suspend the call recording while
1804
+ # collecting sensitive information, such as a credit card number. Then
1805
+ # use ResumeContactRecording to restart recording.
1806
+ #
1807
+ # The period of time that the recording is suspended is filled with
1808
+ # silence in the final recording.
1809
+ #
1810
+ # Only voice recordings are supported at this time.
1811
+ #
1812
+ # @option params [required, String] :instance_id
1813
+ # The identifier of the Amazon Connect instance.
1814
+ #
1815
+ # @option params [required, String] :contact_id
1816
+ # The identifier of the contact.
1817
+ #
1818
+ # @option params [required, String] :initial_contact_id
1819
+ # The identifier of the contact. This is the identifier of the contact
1820
+ # associated with the first interaction with the contact center.
1821
+ #
1822
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1823
+ #
1824
+ # @example Request syntax with placeholder values
1825
+ #
1826
+ # resp = client.suspend_contact_recording({
1827
+ # instance_id: "InstanceId", # required
1828
+ # contact_id: "ContactId", # required
1829
+ # initial_contact_id: "ContactId", # required
1830
+ # })
1831
+ #
1832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SuspendContactRecording AWS API Documentation
1833
+ #
1834
+ # @overload suspend_contact_recording(params = {})
1835
+ # @param [Hash] params ({})
1836
+ def suspend_contact_recording(params = {}, options = {})
1837
+ req = build_request(:suspend_contact_recording, params)
1838
+ req.send_request(options)
1839
+ end
1840
+
1654
1841
  # Adds the specified tags to the specified resource.
1655
1842
  #
1656
1843
  # The supported resource type is users.
@@ -1940,7 +2127,7 @@ module Aws::Connect
1940
2127
  params: params,
1941
2128
  config: config)
1942
2129
  context[:gem_name] = 'aws-sdk-connect'
1943
- context[:gem_version] = '1.24.0'
2130
+ context[:gem_version] = '1.29.0'
1944
2131
  Seahorse::Client::Request.new(handlers, context)
1945
2132
  end
1946
2133
 
@@ -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"