aws-sdk-connect 1.87.0 → 1.89.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: 010f96c9d7298f5deb15f13d0444cee084444c6872dc0ae76516b67592682c0f
4
- data.tar.gz: 3554400d2e5960cae425809b72d703f6a804464d469838aef13b4b73f760241e
3
+ metadata.gz: 2a2c26a03852ff0affd784f13af236cb0259547c2a5b4282d03f7bd5a6687ef6
4
+ data.tar.gz: 9dce36d8de94d80b25daa7f0a1f68e93b0c32f15c9b6e8fee810e7034cc01653
5
5
  SHA512:
6
- metadata.gz: ab0fc8469ae0331966463e6c8e201b667b0aeb51cd2bfa8a4c011aa1f07aa14357638efa002174585990c9bb8c5620564f223f108d4336d86988eefac541c705
7
- data.tar.gz: 3e8d92d006d037abb079295152c27b2c0101298a6dbb95068caa00c241f204e4560925079422ae84f0f3c3200ad19fae9f5bbd9526f1f88dc915bc651643a287
6
+ metadata.gz: f7d471de5df4dfef61dd19806fe25822929a421ef895ca1fc1e035fcd4b627b2d489bcdf9160a4e60f2bcc5d0078bd6d464e61dd282f2370aae4d172b36dc18d
7
+ data.tar.gz: '009a31530502a9e2a82d5e910924bd276c2277f6b8a6abcc266bf7494e6fb16d9903a0a9c2af15aea22c9e7e00ae83e98342243a9c282e35eb4baecfe53d2ac1'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.89.0 (2022-12-22)
5
+ ------------------
6
+
7
+ * Feature - Amazon Connect Chat introduces the Idle Participant/Autodisconnect feature, which allows users to set timeouts relating to the activity of chat participants, using the new UpdateParticipantRoleConfig API.
8
+
9
+ 1.88.0 (2022-12-21)
10
+ ------------------
11
+
12
+ * Feature - Amazon Connect Chat now allows for JSON (application/json) message types to be sent as part of the initial message in the StartChatContact API.
13
+
4
14
  1.87.0 (2022-12-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.87.0
1
+ 1.89.0
@@ -6356,7 +6356,7 @@ module Aws::Connect
6356
6356
 
6357
6357
  # Initiates silent monitoring of a contact. The Contact Control Panel
6358
6358
  # (CCP) of the user specified by *userId* will be set to silent
6359
- # monitoring mode on the contact.
6359
+ # monitoring mode on the contact. Supports voice and chat contacts.
6360
6360
  #
6361
6361
  # @option params [required, String] :instance_id
6362
6362
  # The identifier of the Amazon Connect instance. You can find the
@@ -7276,8 +7276,12 @@ module Aws::Connect
7276
7276
  # 10,080 minutes (7 days).
7277
7277
  #
7278
7278
  # @option params [Array<String>] :supported_messaging_content_types
7279
- # The supported chat message content types. Content types can be
7280
- # text/plain or both text/plain and text/markdown.
7279
+ # The supported chat message content types. Content types must always
7280
+ # contain `text/plain`. You can then put any other supported type in the
7281
+ # list. For example, all the following lists are valid because they
7282
+ # contain `text/plain`\: `[text/plain, text/markdown,
7283
+ # application/json]`, `[text/markdown, text/plain]`, `[text/plain,
7284
+ # application/json]`.
7281
7285
  #
7282
7286
  # @return [Types::StartChatContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7283
7287
  #
@@ -8532,6 +8536,67 @@ module Aws::Connect
8532
8536
  req.send_request(options)
8533
8537
  end
8534
8538
 
8539
+ # Updates timeouts for when human chat participants are to be considered
8540
+ # idle, and when agents are automatically disconnected from a chat due
8541
+ # to idleness. You can set four timers:
8542
+ #
8543
+ # * Customer idle timeout
8544
+ #
8545
+ # * Customer auto-disconnect timeout
8546
+ #
8547
+ # * Agent idle timeout
8548
+ #
8549
+ # * Agent auto-disconnect timeout
8550
+ #
8551
+ # For more information about how chat timeouts work, see [Set up chat
8552
+ # timeouts for human participants][1].
8553
+ #
8554
+ #
8555
+ #
8556
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-chat-timeouts.html
8557
+ #
8558
+ # @option params [required, String] :instance_id
8559
+ # The identifier of the Amazon Connect instance. You can find the
8560
+ # instanceId in the ARN of the instance.
8561
+ #
8562
+ # @option params [required, String] :contact_id
8563
+ # The identifier of the contact in this instance of Amazon Connect.
8564
+ #
8565
+ # @option params [required, Types::UpdateParticipantRoleConfigChannelInfo] :channel_configuration
8566
+ # The Amazon Connect channel you want to configure.
8567
+ #
8568
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
8569
+ #
8570
+ # @example Request syntax with placeholder values
8571
+ #
8572
+ # resp = client.update_participant_role_config({
8573
+ # instance_id: "InstanceId", # required
8574
+ # contact_id: "ContactId", # required
8575
+ # channel_configuration: { # required
8576
+ # chat: {
8577
+ # participant_timer_config_list: [ # required
8578
+ # {
8579
+ # participant_role: "CUSTOMER", # required, accepts CUSTOMER, AGENT
8580
+ # timer_type: "IDLE", # required, accepts IDLE, DISCONNECT_NONCUSTOMER
8581
+ # timer_value: { # required
8582
+ # participant_timer_action: "Unset", # accepts Unset
8583
+ # participant_timer_duration_in_minutes: 1,
8584
+ # },
8585
+ # },
8586
+ # ],
8587
+ # },
8588
+ # },
8589
+ # })
8590
+ #
8591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateParticipantRoleConfig AWS API Documentation
8592
+ #
8593
+ # @overload update_participant_role_config(params = {})
8594
+ # @param [Hash] params ({})
8595
+ def update_participant_role_config(params = {}, options = {})
8596
+ req = build_request(:update_participant_role_config, params)
8597
+ req.send_request(options)
8598
+ end
8599
+
8535
8600
  # Updates your claimed phone number from its current Amazon Connect
8536
8601
  # instance or traffic distribution group to another Amazon Connect
8537
8602
  # instance or traffic distribution group in the same Amazon Web Services
@@ -9613,7 +9678,7 @@ module Aws::Connect
9613
9678
  params: params,
9614
9679
  config: config)
9615
9680
  context[:gem_name] = 'aws-sdk-connect'
9616
- context[:gem_version] = '1.87.0'
9681
+ context[:gem_version] = '1.89.0'
9617
9682
  Seahorse::Client::Request.new(handlers, context)
9618
9683
  end
9619
9684
 
@@ -78,6 +78,7 @@ module Aws::Connect
78
78
  ChatContentType = Shapes::StringShape.new(name: 'ChatContentType')
79
79
  ChatDurationInMinutes = Shapes::IntegerShape.new(name: 'ChatDurationInMinutes')
80
80
  ChatMessage = Shapes::StructureShape.new(name: 'ChatMessage')
81
+ ChatParticipantRoleConfig = Shapes::StructureShape.new(name: 'ChatParticipantRoleConfig')
81
82
  ChatStreamingConfiguration = Shapes::StructureShape.new(name: 'ChatStreamingConfiguration')
82
83
  ChatStreamingEndpointARN = Shapes::StringShape.new(name: 'ChatStreamingEndpointARN')
83
84
  ClaimPhoneNumberRequest = Shapes::StructureShape.new(name: 'ClaimPhoneNumberRequest')
@@ -442,6 +443,12 @@ module Aws::Connect
442
443
  PEM = Shapes::StringShape.new(name: 'PEM')
443
444
  ParticipantDetails = Shapes::StructureShape.new(name: 'ParticipantDetails')
444
445
  ParticipantId = Shapes::StringShape.new(name: 'ParticipantId')
446
+ ParticipantTimerAction = Shapes::StringShape.new(name: 'ParticipantTimerAction')
447
+ ParticipantTimerConfigList = Shapes::ListShape.new(name: 'ParticipantTimerConfigList')
448
+ ParticipantTimerConfiguration = Shapes::StructureShape.new(name: 'ParticipantTimerConfiguration')
449
+ ParticipantTimerDurationInMinutes = Shapes::IntegerShape.new(name: 'ParticipantTimerDurationInMinutes')
450
+ ParticipantTimerType = Shapes::StringShape.new(name: 'ParticipantTimerType')
451
+ ParticipantTimerValue = Shapes::UnionShape.new(name: 'ParticipantTimerValue')
445
452
  ParticipantToken = Shapes::StringShape.new(name: 'ParticipantToken')
446
453
  Password = Shapes::StringShape.new(name: 'Password')
447
454
  Percentage = Shapes::IntegerShape.new(name: 'Percentage')
@@ -656,6 +663,7 @@ module Aws::Connect
656
663
  ThresholdValue = Shapes::FloatShape.new(name: 'ThresholdValue')
657
664
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
658
665
  TimeZone = Shapes::StringShape.new(name: 'TimeZone')
666
+ TimerEligibleParticipantRoles = Shapes::StringShape.new(name: 'TimerEligibleParticipantRoles')
659
667
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
660
668
  TrafficDistributionGroup = Shapes::StructureShape.new(name: 'TrafficDistributionGroup')
661
669
  TrafficDistributionGroupArn = Shapes::StringShape.new(name: 'TrafficDistributionGroupArn')
@@ -689,6 +697,9 @@ module Aws::Connect
689
697
  UpdateHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateHoursOfOperationRequest')
690
698
  UpdateInstanceAttributeRequest = Shapes::StructureShape.new(name: 'UpdateInstanceAttributeRequest')
691
699
  UpdateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'UpdateInstanceStorageConfigRequest')
700
+ UpdateParticipantRoleConfigChannelInfo = Shapes::UnionShape.new(name: 'UpdateParticipantRoleConfigChannelInfo')
701
+ UpdateParticipantRoleConfigRequest = Shapes::StructureShape.new(name: 'UpdateParticipantRoleConfigRequest')
702
+ UpdateParticipantRoleConfigResponse = Shapes::StructureShape.new(name: 'UpdateParticipantRoleConfigResponse')
692
703
  UpdatePhoneNumberRequest = Shapes::StructureShape.new(name: 'UpdatePhoneNumberRequest')
693
704
  UpdatePhoneNumberResponse = Shapes::StructureShape.new(name: 'UpdatePhoneNumberResponse')
694
705
  UpdateQueueHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateQueueHoursOfOperationRequest')
@@ -900,6 +911,9 @@ module Aws::Connect
900
911
  ChatMessage.add_member(:content, Shapes::ShapeRef.new(shape: ChatContent, required: true, location_name: "Content"))
901
912
  ChatMessage.struct_class = Types::ChatMessage
902
913
 
914
+ ChatParticipantRoleConfig.add_member(:participant_timer_config_list, Shapes::ShapeRef.new(shape: ParticipantTimerConfigList, required: true, location_name: "ParticipantTimerConfigList"))
915
+ ChatParticipantRoleConfig.struct_class = Types::ChatParticipantRoleConfig
916
+
903
917
  ChatStreamingConfiguration.add_member(:streaming_endpoint_arn, Shapes::ShapeRef.new(shape: ChatStreamingEndpointARN, required: true, location_name: "StreamingEndpointArn"))
904
918
  ChatStreamingConfiguration.struct_class = Types::ChatStreamingConfiguration
905
919
 
@@ -2170,6 +2184,21 @@ module Aws::Connect
2170
2184
  ParticipantDetails.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, required: true, location_name: "DisplayName"))
2171
2185
  ParticipantDetails.struct_class = Types::ParticipantDetails
2172
2186
 
2187
+ ParticipantTimerConfigList.member = Shapes::ShapeRef.new(shape: ParticipantTimerConfiguration)
2188
+
2189
+ ParticipantTimerConfiguration.add_member(:participant_role, Shapes::ShapeRef.new(shape: TimerEligibleParticipantRoles, required: true, location_name: "ParticipantRole"))
2190
+ ParticipantTimerConfiguration.add_member(:timer_type, Shapes::ShapeRef.new(shape: ParticipantTimerType, required: true, location_name: "TimerType"))
2191
+ ParticipantTimerConfiguration.add_member(:timer_value, Shapes::ShapeRef.new(shape: ParticipantTimerValue, required: true, location_name: "TimerValue"))
2192
+ ParticipantTimerConfiguration.struct_class = Types::ParticipantTimerConfiguration
2193
+
2194
+ ParticipantTimerValue.add_member(:participant_timer_action, Shapes::ShapeRef.new(shape: ParticipantTimerAction, location_name: "ParticipantTimerAction"))
2195
+ ParticipantTimerValue.add_member(:participant_timer_duration_in_minutes, Shapes::ShapeRef.new(shape: ParticipantTimerDurationInMinutes, location_name: "ParticipantTimerDurationInMinutes"))
2196
+ ParticipantTimerValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2197
+ ParticipantTimerValue.add_member_subclass(:participant_timer_action, Types::ParticipantTimerValue::ParticipantTimerAction)
2198
+ ParticipantTimerValue.add_member_subclass(:participant_timer_duration_in_minutes, Types::ParticipantTimerValue::ParticipantTimerDurationInMinutes)
2199
+ ParticipantTimerValue.add_member_subclass(:unknown, Types::ParticipantTimerValue::Unknown)
2200
+ ParticipantTimerValue.struct_class = Types::ParticipantTimerValue
2201
+
2173
2202
  PermissionsList.member = Shapes::ShapeRef.new(shape: SecurityProfilePermission)
2174
2203
 
2175
2204
  PhoneNumberCountryCodes.member = Shapes::ShapeRef.new(shape: PhoneNumberCountryCode)
@@ -2887,6 +2916,19 @@ module Aws::Connect
2887
2916
  UpdateInstanceStorageConfigRequest.add_member(:storage_config, Shapes::ShapeRef.new(shape: InstanceStorageConfig, required: true, location_name: "StorageConfig"))
2888
2917
  UpdateInstanceStorageConfigRequest.struct_class = Types::UpdateInstanceStorageConfigRequest
2889
2918
 
2919
+ UpdateParticipantRoleConfigChannelInfo.add_member(:chat, Shapes::ShapeRef.new(shape: ChatParticipantRoleConfig, location_name: "Chat"))
2920
+ UpdateParticipantRoleConfigChannelInfo.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2921
+ UpdateParticipantRoleConfigChannelInfo.add_member_subclass(:chat, Types::UpdateParticipantRoleConfigChannelInfo::Chat)
2922
+ UpdateParticipantRoleConfigChannelInfo.add_member_subclass(:unknown, Types::UpdateParticipantRoleConfigChannelInfo::Unknown)
2923
+ UpdateParticipantRoleConfigChannelInfo.struct_class = Types::UpdateParticipantRoleConfigChannelInfo
2924
+
2925
+ UpdateParticipantRoleConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2926
+ UpdateParticipantRoleConfigRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location: "uri", location_name: "ContactId"))
2927
+ UpdateParticipantRoleConfigRequest.add_member(:channel_configuration, Shapes::ShapeRef.new(shape: UpdateParticipantRoleConfigChannelInfo, required: true, location_name: "ChannelConfiguration"))
2928
+ UpdateParticipantRoleConfigRequest.struct_class = Types::UpdateParticipantRoleConfigRequest
2929
+
2930
+ UpdateParticipantRoleConfigResponse.struct_class = Types::UpdateParticipantRoleConfigResponse
2931
+
2890
2932
  UpdatePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: PhoneNumberId, required: true, location: "uri", location_name: "PhoneNumberId"))
2891
2933
  UpdatePhoneNumberRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "TargetArn"))
2892
2934
  UpdatePhoneNumberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
@@ -5358,6 +5400,20 @@ module Aws::Connect
5358
5400
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5359
5401
  end)
5360
5402
 
5403
+ api.add_operation(:update_participant_role_config, Seahorse::Model::Operation.new.tap do |o|
5404
+ o.name = "UpdateParticipantRoleConfig"
5405
+ o.http_method = "PUT"
5406
+ o.http_request_uri = "/contact/participant-role-config/{InstanceId}/{ContactId}"
5407
+ o.input = Shapes::ShapeRef.new(shape: UpdateParticipantRoleConfigRequest)
5408
+ o.output = Shapes::ShapeRef.new(shape: UpdateParticipantRoleConfigResponse)
5409
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5410
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
5411
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5412
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5413
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5414
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5415
+ end)
5416
+
5361
5417
  api.add_operation(:update_phone_number, Seahorse::Model::Operation.new.tap do |o|
5362
5418
  o.name = "UpdatePhoneNumber"
5363
5419
  o.http_method = "PUT"
@@ -2041,6 +2041,20 @@ module Aws::Connect
2041
2041
  end
2042
2042
  end
2043
2043
 
2044
+ class UpdateParticipantRoleConfig
2045
+ def self.build(context)
2046
+ unless context.config.regional_endpoint
2047
+ endpoint = context.config.endpoint.to_s
2048
+ end
2049
+ Aws::Connect::EndpointParameters.new(
2050
+ region: context.config.region,
2051
+ use_dual_stack: context.config.use_dualstack_endpoint,
2052
+ use_fips: context.config.use_fips_endpoint,
2053
+ endpoint: endpoint,
2054
+ )
2055
+ end
2056
+ end
2057
+
2044
2058
  class UpdatePhoneNumber
2045
2059
  def self.build(context)
2046
2060
  unless context.config.regional_endpoint
@@ -346,6 +346,8 @@ module Aws::Connect
346
346
  Aws::Connect::Endpoints::UpdateInstanceAttribute.build(context)
347
347
  when :update_instance_storage_config
348
348
  Aws::Connect::Endpoints::UpdateInstanceStorageConfig.build(context)
349
+ when :update_participant_role_config
350
+ Aws::Connect::Endpoints::UpdateParticipantRoleConfig.build(context)
349
351
  when :update_phone_number
350
352
  Aws::Connect::Endpoints::UpdatePhoneNumber.build(context)
351
353
  when :update_queue_hours_of_operation
@@ -562,11 +562,18 @@ module Aws::Connect
562
562
  # A chat message.
563
563
  #
564
564
  # @!attribute [rw] content_type
565
- # The type of the content. Supported types are `text/plain`.
565
+ # The type of the content. Supported types are `text/plain`,
566
+ # `text/markdown`, and `application/json`.
566
567
  # @return [String]
567
568
  #
568
569
  # @!attribute [rw] content
569
570
  # The content of the chat message.
571
+ #
572
+ # * For `text/plain` and `text/markdown`, the Length Constraints are
573
+ # Minimum of 1, Maximum of 1024.
574
+ #
575
+ # * For `application/json`, the Length Constraints are Minimum of 1,
576
+ # Maximum of 12000.
570
577
  # @return [String]
571
578
  #
572
579
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ChatMessage AWS API Documentation
@@ -578,6 +585,22 @@ module Aws::Connect
578
585
  include Aws::Structure
579
586
  end
580
587
 
588
+ # Configuration information for the chat participant role.
589
+ #
590
+ # @!attribute [rw] participant_timer_config_list
591
+ # A list of participant timers. You can specify any unique combination
592
+ # of role and timer type. Duplicate entries error out the request with
593
+ # a 400.
594
+ # @return [Array<Types::ParticipantTimerConfiguration>]
595
+ #
596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ChatParticipantRoleConfig AWS API Documentation
597
+ #
598
+ class ChatParticipantRoleConfig < Struct.new(
599
+ :participant_timer_config_list)
600
+ SENSITIVE = []
601
+ include Aws::Structure
602
+ end
603
+
581
604
  # The streaming configuration, such as the Amazon SNS streaming
582
605
  # endpoint.
583
606
  #
@@ -6958,6 +6981,81 @@ module Aws::Connect
6958
6981
  include Aws::Structure
6959
6982
  end
6960
6983
 
6984
+ # Configuration information for the timer. After the timer configuration
6985
+ # is set, it persists for the duration of the chat. It persists across
6986
+ # new contacts in the chain, for example, transfer contacts.
6987
+ #
6988
+ # For more information about how chat timeouts work, see [Set up chat
6989
+ # timeouts for human participants][1].
6990
+ #
6991
+ #
6992
+ #
6993
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-chat-timeouts.html
6994
+ #
6995
+ # @!attribute [rw] participant_role
6996
+ # The role of the participant in the chat conversation.
6997
+ # @return [String]
6998
+ #
6999
+ # @!attribute [rw] timer_type
7000
+ # The type of timer. `IDLE` indicates the timer applies for
7001
+ # considering a human chat participant as idle.
7002
+ # `DISCONNECT_NONCUSTOMER` indicates the timer applies to
7003
+ # automatically disconnecting a chat participant due to idleness.
7004
+ # @return [String]
7005
+ #
7006
+ # @!attribute [rw] timer_value
7007
+ # The value of the timer. Either the timer action (Unset to delete the
7008
+ # timer), or the duration of the timer in minutes. Only one value can
7009
+ # be set.
7010
+ # @return [Types::ParticipantTimerValue]
7011
+ #
7012
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ParticipantTimerConfiguration AWS API Documentation
7013
+ #
7014
+ class ParticipantTimerConfiguration < Struct.new(
7015
+ :participant_role,
7016
+ :timer_type,
7017
+ :timer_value)
7018
+ SENSITIVE = []
7019
+ include Aws::Structure
7020
+ end
7021
+
7022
+ # The value of the timer. Either the timer action (`Unset` to delete the
7023
+ # timer), or the duration of the timer in minutes. Only one value can be
7024
+ # set.
7025
+ #
7026
+ # For more information about how chat timeouts work, see [Set up chat
7027
+ # timeouts for human participants][1].
7028
+ #
7029
+ #
7030
+ #
7031
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-chat-timeouts.html
7032
+ #
7033
+ # @note ParticipantTimerValue is a union - when making an API calls you must set exactly one of the members.
7034
+ #
7035
+ # @!attribute [rw] participant_timer_action
7036
+ # The timer action. Currently only one value is allowed: `Unset`. It
7037
+ # deletes a timer.
7038
+ # @return [String]
7039
+ #
7040
+ # @!attribute [rw] participant_timer_duration_in_minutes
7041
+ # The duration of a timer, in minutes.
7042
+ # @return [Integer]
7043
+ #
7044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ParticipantTimerValue AWS API Documentation
7045
+ #
7046
+ class ParticipantTimerValue < Struct.new(
7047
+ :participant_timer_action,
7048
+ :participant_timer_duration_in_minutes,
7049
+ :unknown)
7050
+ SENSITIVE = []
7051
+ include Aws::Structure
7052
+ include Aws::Structure::Union
7053
+
7054
+ class ParticipantTimerAction < ParticipantTimerValue; end
7055
+ class ParticipantTimerDurationInMinutes < ParticipantTimerValue; end
7056
+ class Unknown < ParticipantTimerValue; end
7057
+ end
7058
+
6961
7059
  # Contains information about a phone number for a quick connect.
6962
7060
  #
6963
7061
  # @!attribute [rw] phone_number
@@ -8942,8 +9040,12 @@ module Aws::Connect
8942
9040
  # @return [Integer]
8943
9041
  #
8944
9042
  # @!attribute [rw] supported_messaging_content_types
8945
- # The supported chat message content types. Content types can be
8946
- # text/plain or both text/plain and text/markdown.
9043
+ # The supported chat message content types. Content types must always
9044
+ # contain `text/plain`. You can then put any other supported type in
9045
+ # the list. For example, all the following lists are valid because
9046
+ # they contain `text/plain`\: `[text/plain, text/markdown,
9047
+ # application/json]`, `[text/markdown, text/plain]`, `[text/plain,
9048
+ # application/json]`.
8947
9049
  # @return [Array<String>]
8948
9050
  #
8949
9051
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartChatContactRequest AWS API Documentation
@@ -10326,6 +10428,54 @@ module Aws::Connect
10326
10428
  include Aws::Structure
10327
10429
  end
10328
10430
 
10431
+ # Configuration information for the chat participant role.
10432
+ #
10433
+ # @note UpdateParticipantRoleConfigChannelInfo is a union - when making an API calls you must set exactly one of the members.
10434
+ #
10435
+ # @!attribute [rw] chat
10436
+ # Configuration information for the chat participant role.
10437
+ # @return [Types::ChatParticipantRoleConfig]
10438
+ #
10439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateParticipantRoleConfigChannelInfo AWS API Documentation
10440
+ #
10441
+ class UpdateParticipantRoleConfigChannelInfo < Struct.new(
10442
+ :chat,
10443
+ :unknown)
10444
+ SENSITIVE = []
10445
+ include Aws::Structure
10446
+ include Aws::Structure::Union
10447
+
10448
+ class Chat < UpdateParticipantRoleConfigChannelInfo; end
10449
+ class Unknown < UpdateParticipantRoleConfigChannelInfo; end
10450
+ end
10451
+
10452
+ # @!attribute [rw] instance_id
10453
+ # The identifier of the Amazon Connect instance. You can find the
10454
+ # instanceId in the ARN of the instance.
10455
+ # @return [String]
10456
+ #
10457
+ # @!attribute [rw] contact_id
10458
+ # The identifier of the contact in this instance of Amazon Connect.
10459
+ # @return [String]
10460
+ #
10461
+ # @!attribute [rw] channel_configuration
10462
+ # The Amazon Connect channel you want to configure.
10463
+ # @return [Types::UpdateParticipantRoleConfigChannelInfo]
10464
+ #
10465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateParticipantRoleConfigRequest AWS API Documentation
10466
+ #
10467
+ class UpdateParticipantRoleConfigRequest < Struct.new(
10468
+ :instance_id,
10469
+ :contact_id,
10470
+ :channel_configuration)
10471
+ SENSITIVE = []
10472
+ include Aws::Structure
10473
+ end
10474
+
10475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateParticipantRoleConfigResponse AWS API Documentation
10476
+ #
10477
+ class UpdateParticipantRoleConfigResponse < Aws::EmptyStructure; end
10478
+
10329
10479
  # @!attribute [rw] phone_number_id
10330
10480
  # A unique identifier for the phone number.
10331
10481
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connect/customizations'
52
52
  # @!group service
53
53
  module Aws::Connect
54
54
 
55
- GEM_VERSION = '1.87.0'
55
+ GEM_VERSION = '1.89.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.87.0
4
+ version: 1.89.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-15 00:00:00.000000000 Z
11
+ date: 2022-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core