aws-sdk-connect 1.100.0 → 1.102.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6466cda0d66fccf0693bd20bed3d1385d63f4b18c9d7d0b5855a902bd5040c53
4
- data.tar.gz: 772ecb8d31e7ead9d5e513d839b4b71285cc2229b4f316123b13dfec73a324ed
3
+ metadata.gz: 5a29f940033588eb0006159a35001202bd865d1bf957208e53d29139617587d4
4
+ data.tar.gz: 1aa83b64406d74f85717ef13a96e0fbb43e58746b704543f0c16cf28b8954c8e
5
5
  SHA512:
6
- metadata.gz: 4d3e37c3dc53c114a4ab983cacedbf924187db440e81481389fe51ccd3b05e5cf9b1df3ac3a5887253a841f417c0a6077118e38afa7c6fc25fa5f9760949ec3a
7
- data.tar.gz: fa737a57a0407cc7cc783038b94014e7ed624202b4f90e11916c084c9ce0de2277fbe470ba3e7af9928c041a34350c7c4454be39b0603a26d9f2c23eb88d65ac
6
+ metadata.gz: 7e58534038b1a451ae6e2294945457144ff5ceb1986e8a7cf5291a7be4be405f319de988826e276638fc4c9238ec5c145b3eab8fa32a43cf7584926e471033b1
7
+ data.tar.gz: a04b0ccb61aa1038cbcacfd32813f3f46a2702996e197b854e08aac844455490def2637a3b8004ee96897cfe191f9ff55e6da3ba1d44d23e7eb25bddcb600b9d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.102.0 (2023-04-21)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new API CreateParticipant. For Amazon Connect Chat, you can use this new API to customize chat flow experiences.
8
+
9
+ 1.101.0 (2023-04-10)
10
+ ------------------
11
+
12
+ * Feature - This release adds the ability to configure an agent's routing profile to receive contacts from multiple channels at the same time via extending the UpdateRoutingProfileConcurrency, CreateRoutingProfile and DescribeRoutingProfile APIs.
13
+
4
14
  1.100.0 (2023-03-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.100.0
1
+ 1.102.0
@@ -1303,6 +1303,78 @@ module Aws::Connect
1303
1303
  req.send_request(options)
1304
1304
  end
1305
1305
 
1306
+ # Adds a new participant into an on-going chat contact. For more
1307
+ # information, see [Customize chat flow experiences by integrating
1308
+ # custom participants][1].
1309
+ #
1310
+ #
1311
+ #
1312
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-customize-flow.html
1313
+ #
1314
+ # @option params [required, String] :instance_id
1315
+ # The identifier of the Amazon Connect instance. You can [find the
1316
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
1317
+ #
1318
+ #
1319
+ #
1320
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
1321
+ #
1322
+ # @option params [required, String] :contact_id
1323
+ # The identifier of the contact in this instance of Amazon Connect. Only
1324
+ # contacts in the CHAT channel are supported.
1325
+ #
1326
+ # @option params [String] :client_token
1327
+ # A unique, case-sensitive identifier that you provide to ensure the
1328
+ # idempotency of the request. If not provided, the Amazon Web Services
1329
+ # SDK populates this field. For more information about idempotency, see
1330
+ # [Making retries safe with idempotent APIs][1].
1331
+ #
1332
+ # **A suitable default value is auto-generated.** You should normally
1333
+ # not need to pass this option.**
1334
+ #
1335
+ #
1336
+ #
1337
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
1338
+ #
1339
+ # @option params [required, Types::ParticipantDetailsToAdd] :participant_details
1340
+ # Information identifying the participant.
1341
+ #
1342
+ # The only Valid value for `ParticipantRole` is `CUSTOM_BOT`.
1343
+ #
1344
+ # `DisplayName` is **Required**.
1345
+ #
1346
+ # @return [Types::CreateParticipantResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1347
+ #
1348
+ # * {Types::CreateParticipantResponse#participant_credentials #participant_credentials} => Types::ParticipantTokenCredentials
1349
+ # * {Types::CreateParticipantResponse#participant_id #participant_id} => String
1350
+ #
1351
+ # @example Request syntax with placeholder values
1352
+ #
1353
+ # resp = client.create_participant({
1354
+ # instance_id: "InstanceId", # required
1355
+ # contact_id: "ContactId", # required
1356
+ # client_token: "ClientToken",
1357
+ # participant_details: { # required
1358
+ # participant_role: "AGENT", # accepts AGENT, CUSTOMER, SYSTEM, CUSTOM_BOT
1359
+ # display_name: "DisplayName",
1360
+ # },
1361
+ # })
1362
+ #
1363
+ # @example Response structure
1364
+ #
1365
+ # resp.participant_credentials.participant_token #=> String
1366
+ # resp.participant_credentials.expiry #=> String
1367
+ # resp.participant_id #=> String
1368
+ #
1369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateParticipant AWS API Documentation
1370
+ #
1371
+ # @overload create_participant(params = {})
1372
+ # @param [Hash] params ({})
1373
+ def create_participant(params = {}, options = {})
1374
+ req = build_request(:create_participant, params)
1375
+ req.send_request(options)
1376
+ end
1377
+
1306
1378
  # This API is in preview release for Amazon Connect and is subject to
1307
1379
  # change.
1308
1380
  #
@@ -1531,6 +1603,9 @@ module Aws::Connect
1531
1603
  # {
1532
1604
  # channel: "VOICE", # required, accepts VOICE, CHAT, TASK
1533
1605
  # concurrency: 1, # required
1606
+ # cross_channel_behavior: {
1607
+ # behavior_type: "ROUTE_CURRENT_CHANNEL_ONLY", # required, accepts ROUTE_CURRENT_CHANNEL_ONLY, ROUTE_ANY_CHANNEL
1608
+ # },
1534
1609
  # },
1535
1610
  # ],
1536
1611
  # tags: {
@@ -3295,6 +3370,7 @@ module Aws::Connect
3295
3370
  # resp.routing_profile.media_concurrencies #=> Array
3296
3371
  # resp.routing_profile.media_concurrencies[0].channel #=> String, one of "VOICE", "CHAT", "TASK"
3297
3372
  # resp.routing_profile.media_concurrencies[0].concurrency #=> Integer
3373
+ # resp.routing_profile.media_concurrencies[0].cross_channel_behavior.behavior_type #=> String, one of "ROUTE_CURRENT_CHANNEL_ONLY", "ROUTE_ANY_CHANNEL"
3298
3374
  # resp.routing_profile.default_outbound_queue_id #=> String
3299
3375
  # resp.routing_profile.tags #=> Hash
3300
3376
  # resp.routing_profile.tags["TagKey"] #=> String
@@ -4841,7 +4917,8 @@ module Aws::Connect
4841
4917
  # @option params [required, Time,DateTime,Date,Integer,String] :end_time
4842
4918
  # The timestamp, in UNIX Epoch time format, at which to end the
4843
4919
  # reporting interval for the retrieval of historical metrics data. The
4844
- # time must be later than the start time timestamp.
4920
+ # time must be later than the start time timestamp. It cannot be later
4921
+ # than the current timestamp.
4845
4922
  #
4846
4923
  # The time range between the start and end time must be less than 24
4847
4924
  # hours.
@@ -5088,12 +5165,20 @@ module Aws::Connect
5088
5165
  #
5089
5166
  # Valid groupings and filters: Queue, Channel, Routing Profile
5090
5167
  #
5168
+ # Threshold: For `ThresholdValue`, enter any whole number from 1 to
5169
+ # 604800 (inclusive), in seconds. For `Comparison`, you must enter
5170
+ # `LT` (for "Less than").
5171
+ #
5091
5172
  # SUM\_CONTACTS\_ABANDONED\_IN\_X
5092
5173
  #
5093
5174
  # : Unit: Count
5094
5175
  #
5095
5176
  # Valid groupings and filters: Queue, Channel, Routing Profile
5096
5177
  #
5178
+ # Threshold: For `ThresholdValue`, enter any whole number from 1 to
5179
+ # 604800 (inclusive), in seconds. For `Comparison`, you must enter
5180
+ # `LT` (for "Less than").
5181
+ #
5097
5182
  # SUM\_CONTACTS\_DISCONNECTED
5098
5183
  #
5099
5184
  # : Valid metric filter key: `DISCONNECT_REASON`
@@ -7745,6 +7830,7 @@ module Aws::Connect
7745
7830
  # resp.routing_profiles[0].media_concurrencies #=> Array
7746
7831
  # resp.routing_profiles[0].media_concurrencies[0].channel #=> String, one of "VOICE", "CHAT", "TASK"
7747
7832
  # resp.routing_profiles[0].media_concurrencies[0].concurrency #=> Integer
7833
+ # resp.routing_profiles[0].media_concurrencies[0].cross_channel_behavior.behavior_type #=> String, one of "ROUTE_CURRENT_CHANNEL_ONLY", "ROUTE_ANY_CHANNEL"
7748
7834
  # resp.routing_profiles[0].default_outbound_queue_id #=> String
7749
7835
  # resp.routing_profiles[0].tags #=> Hash
7750
7836
  # resp.routing_profiles[0].tags["TagKey"] #=> String
@@ -10004,6 +10090,9 @@ module Aws::Connect
10004
10090
  # {
10005
10091
  # channel: "VOICE", # required, accepts VOICE, CHAT, TASK
10006
10092
  # concurrency: 1, # required
10093
+ # cross_channel_behavior: {
10094
+ # behavior_type: "ROUTE_CURRENT_CHANNEL_ONLY", # required, accepts ROUTE_CURRENT_CHANNEL_ONLY, ROUTE_ANY_CHANNEL
10095
+ # },
10007
10096
  # },
10008
10097
  # ],
10009
10098
  # })
@@ -10773,7 +10862,7 @@ module Aws::Connect
10773
10862
  params: params,
10774
10863
  config: config)
10775
10864
  context[:gem_name] = 'aws-sdk-connect'
10776
- context[:gem_version] = '1.100.0'
10865
+ context[:gem_version] = '1.102.0'
10777
10866
  Seahorse::Client::Request.new(handlers, context)
10778
10867
  end
10779
10868
 
@@ -68,6 +68,7 @@ module Aws::Connect
68
68
  AvailableNumberSummary = Shapes::StructureShape.new(name: 'AvailableNumberSummary')
69
69
  AvailableNumbersList = Shapes::ListShape.new(name: 'AvailableNumbersList')
70
70
  AwsRegion = Shapes::StringShape.new(name: 'AwsRegion')
71
+ BehaviorType = Shapes::StringShape.new(name: 'BehaviorType')
71
72
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
72
73
  BotName = Shapes::StringShape.new(name: 'BotName')
73
74
  BucketName = Shapes::StringShape.new(name: 'BucketName')
@@ -131,6 +132,8 @@ module Aws::Connect
131
132
  CreateInstanceResponse = Shapes::StructureShape.new(name: 'CreateInstanceResponse')
132
133
  CreateIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'CreateIntegrationAssociationRequest')
133
134
  CreateIntegrationAssociationResponse = Shapes::StructureShape.new(name: 'CreateIntegrationAssociationResponse')
135
+ CreateParticipantRequest = Shapes::StructureShape.new(name: 'CreateParticipantRequest')
136
+ CreateParticipantResponse = Shapes::StructureShape.new(name: 'CreateParticipantResponse')
134
137
  CreateQueueRequest = Shapes::StructureShape.new(name: 'CreateQueueRequest')
135
138
  CreateQueueResponse = Shapes::StructureShape.new(name: 'CreateQueueResponse')
136
139
  CreateQuickConnectRequest = Shapes::StructureShape.new(name: 'CreateQuickConnectRequest')
@@ -155,6 +158,7 @@ module Aws::Connect
155
158
  CreateVocabularyRequest = Shapes::StructureShape.new(name: 'CreateVocabularyRequest')
156
159
  CreateVocabularyResponse = Shapes::StructureShape.new(name: 'CreateVocabularyResponse')
157
160
  Credentials = Shapes::StructureShape.new(name: 'Credentials')
161
+ CrossChannelBehavior = Shapes::StructureShape.new(name: 'CrossChannelBehavior')
158
162
  CurrentMetric = Shapes::StructureShape.new(name: 'CurrentMetric')
159
163
  CurrentMetricData = Shapes::StructureShape.new(name: 'CurrentMetricData')
160
164
  CurrentMetricDataCollections = Shapes::ListShape.new(name: 'CurrentMetricDataCollections')
@@ -319,6 +323,7 @@ module Aws::Connect
319
323
  HoursOfOperationSummary = Shapes::StructureShape.new(name: 'HoursOfOperationSummary')
320
324
  HoursOfOperationSummaryList = Shapes::ListShape.new(name: 'HoursOfOperationSummaryList')
321
325
  HoursOfOperationTimeSlice = Shapes::StructureShape.new(name: 'HoursOfOperationTimeSlice')
326
+ ISO8601Datetime = Shapes::StringShape.new(name: 'ISO8601Datetime')
322
327
  IdempotencyException = Shapes::StructureShape.new(name: 'IdempotencyException')
323
328
  InboundCallsEnabled = Shapes::BooleanShape.new(name: 'InboundCallsEnabled')
324
329
  Instance = Shapes::StructureShape.new(name: 'Instance')
@@ -466,7 +471,9 @@ module Aws::Connect
466
471
  OutboundContactNotPermittedException = Shapes::StructureShape.new(name: 'OutboundContactNotPermittedException')
467
472
  PEM = Shapes::StringShape.new(name: 'PEM')
468
473
  ParticipantDetails = Shapes::StructureShape.new(name: 'ParticipantDetails')
474
+ ParticipantDetailsToAdd = Shapes::StructureShape.new(name: 'ParticipantDetailsToAdd')
469
475
  ParticipantId = Shapes::StringShape.new(name: 'ParticipantId')
476
+ ParticipantRole = Shapes::StringShape.new(name: 'ParticipantRole')
470
477
  ParticipantTimerAction = Shapes::StringShape.new(name: 'ParticipantTimerAction')
471
478
  ParticipantTimerConfigList = Shapes::ListShape.new(name: 'ParticipantTimerConfigList')
472
479
  ParticipantTimerConfiguration = Shapes::StructureShape.new(name: 'ParticipantTimerConfiguration')
@@ -474,6 +481,7 @@ module Aws::Connect
474
481
  ParticipantTimerType = Shapes::StringShape.new(name: 'ParticipantTimerType')
475
482
  ParticipantTimerValue = Shapes::UnionShape.new(name: 'ParticipantTimerValue')
476
483
  ParticipantToken = Shapes::StringShape.new(name: 'ParticipantToken')
484
+ ParticipantTokenCredentials = Shapes::StructureShape.new(name: 'ParticipantTokenCredentials')
477
485
  Password = Shapes::StringShape.new(name: 'Password')
478
486
  Percentage = Shapes::IntegerShape.new(name: 'Percentage')
479
487
  PermissionsList = Shapes::ListShape.new(name: 'PermissionsList')
@@ -1127,6 +1135,16 @@ module Aws::Connect
1127
1135
  CreateIntegrationAssociationResponse.add_member(:integration_association_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "IntegrationAssociationArn"))
1128
1136
  CreateIntegrationAssociationResponse.struct_class = Types::CreateIntegrationAssociationResponse
1129
1137
 
1138
+ CreateParticipantRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
1139
+ CreateParticipantRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
1140
+ CreateParticipantRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
1141
+ CreateParticipantRequest.add_member(:participant_details, Shapes::ShapeRef.new(shape: ParticipantDetailsToAdd, required: true, location_name: "ParticipantDetails"))
1142
+ CreateParticipantRequest.struct_class = Types::CreateParticipantRequest
1143
+
1144
+ CreateParticipantResponse.add_member(:participant_credentials, Shapes::ShapeRef.new(shape: ParticipantTokenCredentials, location_name: "ParticipantCredentials"))
1145
+ CreateParticipantResponse.add_member(:participant_id, Shapes::ShapeRef.new(shape: ParticipantId, location_name: "ParticipantId"))
1146
+ CreateParticipantResponse.struct_class = Types::CreateParticipantResponse
1147
+
1130
1148
  CreateQueueRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1131
1149
  CreateQueueRequest.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, required: true, location_name: "Name"))
1132
1150
  CreateQueueRequest.add_member(:description, Shapes::ShapeRef.new(shape: QueueDescription, location_name: "Description"))
@@ -1272,6 +1290,9 @@ module Aws::Connect
1272
1290
  Credentials.add_member(:refresh_token_expiration, Shapes::ShapeRef.new(shape: timestamp, location_name: "RefreshTokenExpiration"))
1273
1291
  Credentials.struct_class = Types::Credentials
1274
1292
 
1293
+ CrossChannelBehavior.add_member(:behavior_type, Shapes::ShapeRef.new(shape: BehaviorType, required: true, location_name: "BehaviorType"))
1294
+ CrossChannelBehavior.struct_class = Types::CrossChannelBehavior
1295
+
1275
1296
  CurrentMetric.add_member(:name, Shapes::ShapeRef.new(shape: CurrentMetricName, location_name: "Name"))
1276
1297
  CurrentMetric.add_member(:unit, Shapes::ShapeRef.new(shape: Unit, location_name: "Unit"))
1277
1298
  CurrentMetric.struct_class = Types::CurrentMetric
@@ -2231,6 +2252,7 @@ module Aws::Connect
2231
2252
 
2232
2253
  MediaConcurrency.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, required: true, location_name: "Channel"))
2233
2254
  MediaConcurrency.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, required: true, location_name: "Concurrency"))
2255
+ MediaConcurrency.add_member(:cross_channel_behavior, Shapes::ShapeRef.new(shape: CrossChannelBehavior, location_name: "CrossChannelBehavior"))
2234
2256
  MediaConcurrency.struct_class = Types::MediaConcurrency
2235
2257
 
2236
2258
  MetricDataCollectionsV2.member = Shapes::ShapeRef.new(shape: MetricDataV2)
@@ -2292,6 +2314,10 @@ module Aws::Connect
2292
2314
  ParticipantDetails.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, required: true, location_name: "DisplayName"))
2293
2315
  ParticipantDetails.struct_class = Types::ParticipantDetails
2294
2316
 
2317
+ ParticipantDetailsToAdd.add_member(:participant_role, Shapes::ShapeRef.new(shape: ParticipantRole, location_name: "ParticipantRole"))
2318
+ ParticipantDetailsToAdd.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
2319
+ ParticipantDetailsToAdd.struct_class = Types::ParticipantDetailsToAdd
2320
+
2295
2321
  ParticipantTimerConfigList.member = Shapes::ShapeRef.new(shape: ParticipantTimerConfiguration)
2296
2322
 
2297
2323
  ParticipantTimerConfiguration.add_member(:participant_role, Shapes::ShapeRef.new(shape: TimerEligibleParticipantRoles, required: true, location_name: "ParticipantRole"))
@@ -2307,6 +2333,10 @@ module Aws::Connect
2307
2333
  ParticipantTimerValue.add_member_subclass(:unknown, Types::ParticipantTimerValue::Unknown)
2308
2334
  ParticipantTimerValue.struct_class = Types::ParticipantTimerValue
2309
2335
 
2336
+ ParticipantTokenCredentials.add_member(:participant_token, Shapes::ShapeRef.new(shape: ParticipantToken, location_name: "ParticipantToken"))
2337
+ ParticipantTokenCredentials.add_member(:expiry, Shapes::ShapeRef.new(shape: ISO8601Datetime, location_name: "Expiry"))
2338
+ ParticipantTokenCredentials.struct_class = Types::ParticipantTokenCredentials
2339
+
2310
2340
  PermissionsList.member = Shapes::ShapeRef.new(shape: SecurityProfilePermission)
2311
2341
 
2312
2342
  PersistentChat.add_member(:rehydration_type, Shapes::ShapeRef.new(shape: RehydrationType, location_name: "RehydrationType"))
@@ -3610,6 +3640,20 @@ module Aws::Connect
3610
3640
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3611
3641
  end)
3612
3642
 
3643
+ api.add_operation(:create_participant, Seahorse::Model::Operation.new.tap do |o|
3644
+ o.name = "CreateParticipant"
3645
+ o.http_method = "POST"
3646
+ o.http_request_uri = "/contact/create-participant"
3647
+ o.input = Shapes::ShapeRef.new(shape: CreateParticipantRequest)
3648
+ o.output = Shapes::ShapeRef.new(shape: CreateParticipantResponse)
3649
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3650
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3651
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3652
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3653
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3654
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3655
+ end)
3656
+
3613
3657
  api.add_operation(:create_queue, Seahorse::Model::Operation.new.tap do |o|
3614
3658
  o.name = "CreateQueue"
3615
3659
  o.http_method = "PUT"
@@ -249,6 +249,20 @@ module Aws::Connect
249
249
  end
250
250
  end
251
251
 
252
+ class CreateParticipant
253
+ def self.build(context)
254
+ unless context.config.regional_endpoint
255
+ endpoint = context.config.endpoint.to_s
256
+ end
257
+ Aws::Connect::EndpointParameters.new(
258
+ region: context.config.region,
259
+ use_dual_stack: context.config.use_dualstack_endpoint,
260
+ use_fips: context.config.use_fips_endpoint,
261
+ endpoint: endpoint,
262
+ )
263
+ end
264
+ end
265
+
252
266
  class CreateQueue
253
267
  def self.build(context)
254
268
  unless context.config.regional_endpoint
@@ -90,6 +90,8 @@ module Aws::Connect
90
90
  Aws::Connect::Endpoints::CreateInstance.build(context)
91
91
  when :create_integration_association
92
92
  Aws::Connect::Endpoints::CreateIntegrationAssociation.build(context)
93
+ when :create_participant
94
+ Aws::Connect::Endpoints::CreateParticipant.build(context)
93
95
  when :create_queue
94
96
  Aws::Connect::Endpoints::CreateQueue.build(context)
95
97
  when :create_quick_connect
@@ -608,7 +608,8 @@ module Aws::Connect
608
608
  #
609
609
  # @!attribute [rw] content_type
610
610
  # The type of the content. Supported types are `text/plain`,
611
- # `text/markdown`, and `application/json`.
611
+ # `text/markdown`, `application/json`, and
612
+ # `application/vnd.amazonaws.connect.message.interactive.response`.
612
613
  # @return [String]
613
614
  #
614
615
  # @!attribute [rw] content
@@ -619,6 +620,10 @@ module Aws::Connect
619
620
  #
620
621
  # * For `application/json`, the Length Constraints are Minimum of 1,
621
622
  # Maximum of 12000.
623
+ #
624
+ # * For
625
+ # `application/vnd.amazonaws.connect.message.interactive.response`,
626
+ # the Length Constraints are Minimum of 1, Maximum of 12288.
622
627
  # @return [String]
623
628
  #
624
629
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ChatMessage AWS API Documentation
@@ -1565,6 +1570,73 @@ module Aws::Connect
1565
1570
  include Aws::Structure
1566
1571
  end
1567
1572
 
1573
+ # @!attribute [rw] instance_id
1574
+ # The identifier of the Amazon Connect instance. You can [find the
1575
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
1576
+ #
1577
+ #
1578
+ #
1579
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
1580
+ # @return [String]
1581
+ #
1582
+ # @!attribute [rw] contact_id
1583
+ # The identifier of the contact in this instance of Amazon Connect.
1584
+ # Only contacts in the CHAT channel are supported.
1585
+ # @return [String]
1586
+ #
1587
+ # @!attribute [rw] client_token
1588
+ # A unique, case-sensitive identifier that you provide to ensure the
1589
+ # idempotency of the request. If not provided, the Amazon Web Services
1590
+ # SDK populates this field. For more information about idempotency,
1591
+ # see [Making retries safe with idempotent APIs][1].
1592
+ #
1593
+ # **A suitable default value is auto-generated.** You should normally
1594
+ # not need to pass this option.
1595
+ #
1596
+ #
1597
+ #
1598
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
1599
+ # @return [String]
1600
+ #
1601
+ # @!attribute [rw] participant_details
1602
+ # Information identifying the participant.
1603
+ #
1604
+ # The only Valid value for `ParticipantRole` is `CUSTOM_BOT`.
1605
+ #
1606
+ # `DisplayName` is **Required**.
1607
+ # @return [Types::ParticipantDetailsToAdd]
1608
+ #
1609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateParticipantRequest AWS API Documentation
1610
+ #
1611
+ class CreateParticipantRequest < Struct.new(
1612
+ :instance_id,
1613
+ :contact_id,
1614
+ :client_token,
1615
+ :participant_details)
1616
+ SENSITIVE = []
1617
+ include Aws::Structure
1618
+ end
1619
+
1620
+ # @!attribute [rw] participant_credentials
1621
+ # The token used by the chat participant to call
1622
+ # `CreateParticipantConnection`. The participant token is valid for
1623
+ # the lifetime of a chat participant.
1624
+ # @return [Types::ParticipantTokenCredentials]
1625
+ #
1626
+ # @!attribute [rw] participant_id
1627
+ # The identifier for a chat participant. The participantId for a chat
1628
+ # participant is the same throughout the chat lifecycle.
1629
+ # @return [String]
1630
+ #
1631
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateParticipantResponse AWS API Documentation
1632
+ #
1633
+ class CreateParticipantResponse < Struct.new(
1634
+ :participant_credentials,
1635
+ :participant_id)
1636
+ SENSITIVE = []
1637
+ include Aws::Structure
1638
+ end
1639
+
1568
1640
  # @!attribute [rw] instance_id
1569
1641
  # The identifier of the Amazon Connect instance. You can [find the
1570
1642
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -2406,6 +2478,23 @@ module Aws::Connect
2406
2478
  include Aws::Structure
2407
2479
  end
2408
2480
 
2481
+ # Defines the cross-channel routing behavior that allows an agent
2482
+ # working on a contact in one channel to be offered a contact from a
2483
+ # different channel.
2484
+ #
2485
+ # @!attribute [rw] behavior_type
2486
+ # Specifies the other channels that can be routed to an agent handling
2487
+ # their current channel.
2488
+ # @return [String]
2489
+ #
2490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CrossChannelBehavior AWS API Documentation
2491
+ #
2492
+ class CrossChannelBehavior < Struct.new(
2493
+ :behavior_type)
2494
+ SENSITIVE = []
2495
+ include Aws::Structure
2496
+ end
2497
+
2409
2498
  # Contains information about a real-time metric. For a description of
2410
2499
  # each metric, see [Real-time Metrics Definitions][1] in the *Amazon
2411
2500
  # Connect Administrator Guide*.
@@ -4631,7 +4720,8 @@ module Aws::Connect
4631
4720
  # @!attribute [rw] end_time
4632
4721
  # The timestamp, in UNIX Epoch time format, at which to end the
4633
4722
  # reporting interval for the retrieval of historical metrics data. The
4634
- # time must be later than the start time timestamp.
4723
+ # time must be later than the start time timestamp. It cannot be later
4724
+ # than the current timestamp.
4635
4725
  #
4636
4726
  # The time range between the start and end time must be less than 24
4637
4727
  # hours.
@@ -4882,12 +4972,20 @@ module Aws::Connect
4882
4972
  #
4883
4973
  # Valid groupings and filters: Queue, Channel, Routing Profile
4884
4974
  #
4975
+ # Threshold: For `ThresholdValue`, enter any whole number from 1 to
4976
+ # 604800 (inclusive), in seconds. For `Comparison`, you must enter
4977
+ # `LT` (for "Less than").
4978
+ #
4885
4979
  # SUM\_CONTACTS\_ABANDONED\_IN\_X
4886
4980
  #
4887
4981
  # : Unit: Count
4888
4982
  #
4889
4983
  # Valid groupings and filters: Queue, Channel, Routing Profile
4890
4984
  #
4985
+ # Threshold: For `ThresholdValue`, enter any whole number from 1 to
4986
+ # 604800 (inclusive), in seconds. For `Comparison`, you must enter
4987
+ # `LT` (for "Less than").
4988
+ #
4891
4989
  # SUM\_CONTACTS\_DISCONNECTED
4892
4990
  #
4893
4991
  # : Valid metric filter key: `DISCONNECT_REASON`
@@ -7711,11 +7809,19 @@ module Aws::Connect
7711
7809
  # Valid Range for `TASK`: Minimum value of 1. Maximum value of 10.
7712
7810
  # @return [Integer]
7713
7811
  #
7812
+ # @!attribute [rw] cross_channel_behavior
7813
+ # Defines the cross-channel routing behavior for each channel that is
7814
+ # enabled for this Routing Profile. For example, this allows you to
7815
+ # offer an agent a different contact from another channel when they
7816
+ # are currently working with a contact from a Voice channel.
7817
+ # @return [Types::CrossChannelBehavior]
7818
+ #
7714
7819
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/MediaConcurrency AWS API Documentation
7715
7820
  #
7716
7821
  class MediaConcurrency < Struct.new(
7717
7822
  :channel,
7718
- :concurrency)
7823
+ :concurrency,
7824
+ :cross_channel_behavior)
7719
7825
  SENSITIVE = []
7720
7826
  include Aws::Structure
7721
7827
  end
@@ -7748,7 +7854,15 @@ module Aws::Connect
7748
7854
  # @!attribute [rw] metric_filter_key
7749
7855
  # The key to use for filtering data.
7750
7856
  #
7751
- # Valid metric filter keys: `INITIATION_METHOD`, `DISCONNECT_REASON`
7857
+ # Valid metric filter keys: `INITIATION_METHOD`, `DISCONNECT_REASON`.
7858
+ # These are the same values as the `InitiationMethod` and
7859
+ # `DisconnectReason` in the contact record. For more information, see
7860
+ # [ContactTraceRecord][1] in the *Amazon Connect Administrator's
7861
+ # Guide*.
7862
+ #
7863
+ #
7864
+ #
7865
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/ctr-data-model.html#ctr-ContactTraceRecord
7752
7866
  # @return [String]
7753
7867
  #
7754
7868
  # @!attribute [rw] metric_filter_values
@@ -7971,6 +8085,25 @@ module Aws::Connect
7971
8085
  include Aws::Structure
7972
8086
  end
7973
8087
 
8088
+ # The details to add for the participant.
8089
+ #
8090
+ # @!attribute [rw] participant_role
8091
+ # The role of the participant being added.
8092
+ # @return [String]
8093
+ #
8094
+ # @!attribute [rw] display_name
8095
+ # The display name of the participant.
8096
+ # @return [String]
8097
+ #
8098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ParticipantDetailsToAdd AWS API Documentation
8099
+ #
8100
+ class ParticipantDetailsToAdd < Struct.new(
8101
+ :participant_role,
8102
+ :display_name)
8103
+ SENSITIVE = []
8104
+ include Aws::Structure
8105
+ end
8106
+
7974
8107
  # Configuration information for the timer. After the timer configuration
7975
8108
  # is set, it persists for the duration of the chat. It persists across
7976
8109
  # new contacts in the chain, for example, transfer contacts.
@@ -8046,6 +8179,32 @@ module Aws::Connect
8046
8179
  class Unknown < ParticipantTimerValue; end
8047
8180
  end
8048
8181
 
8182
+ # The credentials used by the participant.
8183
+ #
8184
+ # @!attribute [rw] participant_token
8185
+ # The token used by the chat participant to call
8186
+ # [CreateParticipantConnection][1]. The participant token is valid for
8187
+ # the lifetime of a chat participant.
8188
+ #
8189
+ #
8190
+ #
8191
+ # [1]: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html
8192
+ # @return [String]
8193
+ #
8194
+ # @!attribute [rw] expiry
8195
+ # The expiration of the token. It's specified in ISO 8601 format:
8196
+ # yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
8197
+ # @return [String]
8198
+ #
8199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ParticipantTokenCredentials AWS API Documentation
8200
+ #
8201
+ class ParticipantTokenCredentials < Struct.new(
8202
+ :participant_token,
8203
+ :expiry)
8204
+ SENSITIVE = []
8205
+ include Aws::Structure
8206
+ end
8207
+
8049
8208
  # Enable persistent chats. For more information about enabling
8050
8209
  # persistent chat, and for example use cases and how to configure for
8051
8210
  # them, see [Enable persistent chat][1].
@@ -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.100.0'
55
+ GEM_VERSION = '1.102.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.100.0
4
+ version: 1.102.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: 2023-03-27 00:00:00.000000000 Z
11
+ date: 2023-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core