aws-sdk-connect 1.180.0 → 1.182.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: 35565199a59553371b2dd1e9455ae782c3d50bb69f1829c37eae4b878964bfb7
4
- data.tar.gz: 4d875aea519d0a4a639c45acb194359a8dc5d1cf3c3e94705b67cabb6407fc99
3
+ metadata.gz: fb6141053141ca363f7f83b820bc2b22777efc75c29cbd0a90b2b6ac97c03200
4
+ data.tar.gz: bcdb219e1a50e9e965dd02ca24656678ad27280eefcadcf83e4e5d06bee4b65a
5
5
  SHA512:
6
- metadata.gz: 1b54c4fba0599a52bdef97ab3b31759b83b61e1ca852edd6469724a917ad155a4d06eac846a7bbf5d0afa020644d65b307bbb0937880de9cd8686ce8c9cea679
7
- data.tar.gz: 2dbb5b16ce0ac888eeca7fea3efb193d5c324879021b307efaf546006df8b4ff3695633889f50fdfe3bc8c9f224fd56ba979472a12ea84e6254ebc765a2c978c
6
+ metadata.gz: 603cf8150003484e38156522e8c63c34530479455d0ccf0eeaabf50122d56817fe43f0a66474fa1ed45ca70d19f9d27b5320c53ba396952ea00b876f47bc96a1
7
+ data.tar.gz: 54f58aa3caa47147f1883b21be1651642b23e876a69a77df7bc6dd64b00e2b8be125956991f866958bf720589a7495ad7b4cf8958f94dd1ec5e41d72ad5da75b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.182.0 (2024-10-23)
5
+ ------------------
6
+
7
+ * Feature - Amazon Connect Service Feature: Add support to start screen sharing for a web calling contact.
8
+
9
+ 1.181.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.180.0 (2024-10-03)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.180.0
1
+ 1.182.0
@@ -1050,13 +1050,13 @@ module Aws::Connect
1050
1050
  req.send_request(options)
1051
1051
  end
1052
1052
 
1053
- # Associates an agent with a traffic distribution group.
1053
+ # Associates an agent with a traffic distribution group. This API can be
1054
+ # called only in the Region where the traffic distribution group is
1055
+ # created.
1054
1056
  #
1055
1057
  # @option params [required, String] :traffic_distribution_group_id
1056
1058
  # The identifier of the traffic distribution group. This can be the ID
1057
- # or the ARN if the API is being called in the Region where the traffic
1058
- # distribution group was created. The ARN must be provided if the call
1059
- # is from the replicated Region.
1059
+ # or the ARN of the traffic distribution group.
1060
1060
  #
1061
1061
  # @option params [required, String] :user_id
1062
1062
  # The identifier of the user account. This can be the ID or the ARN of
@@ -4270,9 +4270,7 @@ module Aws::Connect
4270
4270
  #
4271
4271
  # @option params [required, String] :traffic_distribution_group_id
4272
4272
  # The identifier of the traffic distribution group. This can be the ID
4273
- # or the ARN if the API is being called in the Region where the traffic
4274
- # distribution group was created. The ARN must be provided if the call
4275
- # is from the replicated Region.
4273
+ # or the ARN of the traffic distribution group.
4276
4274
  #
4277
4275
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4278
4276
  #
@@ -4671,6 +4669,7 @@ module Aws::Connect
4671
4669
  # resp.contact.agent_info.device_info.platform_version #=> String
4672
4670
  # resp.contact.agent_info.device_info.operating_system #=> String
4673
4671
  # resp.contact.agent_info.capabilities.video #=> String, one of "SEND"
4672
+ # resp.contact.agent_info.capabilities.screen_share #=> String, one of "SEND"
4674
4673
  # resp.contact.initiation_timestamp #=> Time
4675
4674
  # resp.contact.disconnect_timestamp #=> Time
4676
4675
  # resp.contact.last_update_timestamp #=> Time
@@ -4706,6 +4705,7 @@ module Aws::Connect
4706
4705
  # resp.contact.customer.device_info.platform_version #=> String
4707
4706
  # resp.contact.customer.device_info.operating_system #=> String
4708
4707
  # resp.contact.customer.capabilities.video #=> String, one of "SEND"
4708
+ # resp.contact.customer.capabilities.screen_share #=> String, one of "SEND"
4709
4709
  # resp.contact.campaign.campaign_id #=> String
4710
4710
  # resp.contact.answering_machine_detection_status #=> String, one of "ANSWERED", "UNDETECTED", "ERROR", "HUMAN_ANSWERED", "SIT_TONE_DETECTED", "SIT_TONE_BUSY", "SIT_TONE_INVALID_NUMBER", "FAX_MACHINE_DETECTED", "VOICEMAIL_BEEP", "VOICEMAIL_NO_BEEP", "AMD_UNRESOLVED", "AMD_UNANSWERED", "AMD_ERROR", "AMD_NOT_APPLICABLE"
4711
4711
  # resp.contact.customer_voice_activity.greeting_start_timestamp #=> Time
@@ -6441,13 +6441,13 @@ module Aws::Connect
6441
6441
  req.send_request(options)
6442
6442
  end
6443
6443
 
6444
- # Disassociates an agent from a traffic distribution group.
6444
+ # Disassociates an agent from a traffic distribution group. This API can
6445
+ # be called only in the Region where the traffic distribution group is
6446
+ # created.
6445
6447
  #
6446
6448
  # @option params [required, String] :traffic_distribution_group_id
6447
6449
  # The identifier of the traffic distribution group. This can be the ID
6448
- # or the ARN if the API is being called in the Region where the traffic
6449
- # distribution group was created. The ARN must be provided if the call
6450
- # is from the replicated Region.
6450
+ # or the ARN of the traffic distribution group.
6451
6451
  #
6452
6452
  # @option params [required, String] :user_id
6453
6453
  # The identifier for the user. This can be the ID or the ARN of the
@@ -7470,7 +7470,7 @@ module Aws::Connect
7470
7470
  # a metric level, and offers the ability to filter and group data by
7471
7471
  # channels, queues, routing profiles, agents, and agent hierarchy
7472
7472
  # levels. It can retrieve historical data for the last 3 months, at
7473
- # varying intervals.
7473
+ # varying intervals. It does not support agent queues.
7474
7474
  #
7475
7475
  # For a description of the historical metrics that are supported by
7476
7476
  # `GetMetricDataV2` and `GetMetricData`, see [Historical metrics
@@ -7784,7 +7784,7 @@ module Aws::Connect
7784
7784
  #
7785
7785
  # UI name: [Average agent API connecting time][15]
7786
7786
  #
7787
- # <note markdown="1"> The `Negate` key in Metric Level Filters is not applicable for this
7787
+ # <note markdown="1"> The `Negate` key in metric-level filters is not applicable for this
7788
7788
  # metric.
7789
7789
  #
7790
7790
  # </note>
@@ -8242,7 +8242,7 @@ module Aws::Connect
8242
8242
  # Valid groupings and filters: Queue, Channel, Routing Profile,
8243
8243
  # contact/segmentAttributes/connect:Subtype, Q in Connect
8244
8244
  #
8245
- # Threshold: For `ThresholdValue` enter any whole number from 1 to
8245
+ # Threshold: For `ThresholdValue`, enter any whole number from 1 to
8246
8246
  # 604800 (inclusive), in seconds. For `Comparison`, you can use `LT`
8247
8247
  # (for "Less than") or `LTE` (for "Less than equal").
8248
8248
  #
@@ -8561,7 +8561,7 @@ module Aws::Connect
8561
8561
  #
8562
8562
  # UI name: [Agent API connecting time][74]
8563
8563
  #
8564
- # <note markdown="1"> The `Negate` key in Metric Level Filters is not applicable for this
8564
+ # <note markdown="1"> The `Negate` key in metric-level filters is not applicable for this
8565
8565
  # metric.
8566
8566
  #
8567
8567
  # </note>
@@ -14951,6 +14951,57 @@ module Aws::Connect
14951
14951
  req.send_request(options)
14952
14952
  end
14953
14953
 
14954
+ # Starts screen sharing for a contact. For more information about screen
14955
+ # sharing, see [Set up in-app, web, video calling, and screen sharing
14956
+ # capabilities][1] in the *Amazon Connect Administrator Guide*.
14957
+ #
14958
+ #
14959
+ #
14960
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/inapp-calling.html
14961
+ #
14962
+ # @option params [String] :client_token
14963
+ # A unique, case-sensitive identifier that you provide to ensure the
14964
+ # idempotency of the request. If not provided, the Amazon Web Services
14965
+ # SDK populates this field. For more information about idempotency, see
14966
+ # [Making retries safe with idempotent APIs][1].
14967
+ #
14968
+ # **A suitable default value is auto-generated.** You should normally
14969
+ # not need to pass this option.**
14970
+ #
14971
+ #
14972
+ #
14973
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
14974
+ #
14975
+ # @option params [required, String] :instance_id
14976
+ # The identifier of the Amazon Connect instance. You can [find the
14977
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
14978
+ #
14979
+ #
14980
+ #
14981
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
14982
+ #
14983
+ # @option params [required, String] :contact_id
14984
+ # The identifier of the contact in this instance of Amazon Connect.
14985
+ #
14986
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
14987
+ #
14988
+ # @example Request syntax with placeholder values
14989
+ #
14990
+ # resp = client.start_screen_sharing({
14991
+ # client_token: "ClientToken",
14992
+ # instance_id: "InstanceId", # required
14993
+ # contact_id: "ContactId", # required
14994
+ # })
14995
+ #
14996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartScreenSharing AWS API Documentation
14997
+ #
14998
+ # @overload start_screen_sharing(params = {})
14999
+ # @param [Hash] params ({})
15000
+ def start_screen_sharing(params = {}, options = {})
15001
+ req = build_request(:start_screen_sharing, params)
15002
+ req.send_request(options)
15003
+ end
15004
+
14954
15005
  # Initiates a flow to start a new task contact. For more information
14955
15006
  # about task contacts, see [Concepts: Tasks in Amazon Connect][1] in the
14956
15007
  # *Amazon Connect Administrator Guide*.
@@ -15223,9 +15274,11 @@ module Aws::Connect
15223
15274
  # allowed_capabilities: {
15224
15275
  # customer: {
15225
15276
  # video: "SEND", # accepts SEND
15277
+ # screen_share: "SEND", # accepts SEND
15226
15278
  # },
15227
15279
  # agent: {
15228
15280
  # video: "SEND", # accepts SEND
15281
+ # screen_share: "SEND", # accepts SEND
15229
15282
  # },
15230
15283
  # },
15231
15284
  # participant_details: { # required
@@ -18472,7 +18525,7 @@ module Aws::Connect
18472
18525
  tracer: tracer
18473
18526
  )
18474
18527
  context[:gem_name] = 'aws-sdk-connect'
18475
- context[:gem_version] = '1.180.0'
18528
+ context[:gem_version] = '1.182.0'
18476
18529
  Seahorse::Client::Request.new(handlers, context)
18477
18530
  end
18478
18531
 
@@ -1018,6 +1018,7 @@ module Aws::Connect
1018
1018
  RuleTriggerEventSource = Shapes::StructureShape.new(name: 'RuleTriggerEventSource')
1019
1019
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
1020
1020
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
1021
+ ScreenShareCapability = Shapes::StringShape.new(name: 'ScreenShareCapability')
1021
1022
  SearchAgentStatusesRequest = Shapes::StructureShape.new(name: 'SearchAgentStatusesRequest')
1022
1023
  SearchAgentStatusesResponse = Shapes::StructureShape.new(name: 'SearchAgentStatusesResponse')
1023
1024
  SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
@@ -1117,6 +1118,8 @@ module Aws::Connect
1117
1118
  StartOutboundChatContactResponse = Shapes::StructureShape.new(name: 'StartOutboundChatContactResponse')
1118
1119
  StartOutboundVoiceContactRequest = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactRequest')
1119
1120
  StartOutboundVoiceContactResponse = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactResponse')
1121
+ StartScreenSharingRequest = Shapes::StructureShape.new(name: 'StartScreenSharingRequest')
1122
+ StartScreenSharingResponse = Shapes::StructureShape.new(name: 'StartScreenSharingResponse')
1120
1123
  StartTaskContactRequest = Shapes::StructureShape.new(name: 'StartTaskContactRequest')
1121
1124
  StartTaskContactResponse = Shapes::StructureShape.new(name: 'StartTaskContactResponse')
1122
1125
  StartWebRTCContactRequest = Shapes::StructureShape.new(name: 'StartWebRTCContactRequest')
@@ -4011,6 +4014,7 @@ module Aws::Connect
4011
4014
  OutputTypeNotFoundException.struct_class = Types::OutputTypeNotFoundException
4012
4015
 
4013
4016
  ParticipantCapabilities.add_member(:video, Shapes::ShapeRef.new(shape: VideoCapability, location_name: "Video"))
4017
+ ParticipantCapabilities.add_member(:screen_share, Shapes::ShapeRef.new(shape: ScreenShareCapability, location_name: "ScreenShare"))
4014
4018
  ParticipantCapabilities.struct_class = Types::ParticipantCapabilities
4015
4019
 
4016
4020
  ParticipantDetails.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, required: true, location_name: "DisplayName"))
@@ -5013,6 +5017,13 @@ module Aws::Connect
5013
5017
  StartOutboundVoiceContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
5014
5018
  StartOutboundVoiceContactResponse.struct_class = Types::StartOutboundVoiceContactResponse
5015
5019
 
5020
+ StartScreenSharingRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
5021
+ StartScreenSharingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
5022
+ StartScreenSharingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
5023
+ StartScreenSharingRequest.struct_class = Types::StartScreenSharingRequest
5024
+
5025
+ StartScreenSharingResponse.struct_class = Types::StartScreenSharingResponse
5026
+
5016
5027
  StartTaskContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
5017
5028
  StartTaskContactRequest.add_member(:previous_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "PreviousContactId"))
5018
5029
  StartTaskContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "ContactFlowId"))
@@ -8888,6 +8899,20 @@ module Aws::Connect
8888
8899
  o.errors << Shapes::ShapeRef.new(shape: OutboundContactNotPermittedException)
8889
8900
  end)
8890
8901
 
8902
+ api.add_operation(:start_screen_sharing, Seahorse::Model::Operation.new.tap do |o|
8903
+ o.name = "StartScreenSharing"
8904
+ o.http_method = "PUT"
8905
+ o.http_request_uri = "/contact/screen-sharing"
8906
+ o.input = Shapes::ShapeRef.new(shape: StartScreenSharingRequest)
8907
+ o.output = Shapes::ShapeRef.new(shape: StartScreenSharingResponse)
8908
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
8909
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
8910
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
8911
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
8912
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8913
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
8914
+ end)
8915
+
8891
8916
  api.add_operation(:start_task_contact, Seahorse::Model::Operation.new.tap do |o|
8892
8917
  o.name = "StartTaskContact"
8893
8918
  o.http_method = "PUT"
@@ -52,15 +52,18 @@ module Aws::Connect
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end