aws-sdk-connect 1.229.0 → 1.231.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: 33cf587e8db93280fd479936f27c61e6c28504acd2916b4eacc8f3751838b184
4
- data.tar.gz: d0d0d0a315cafd1e90a012a1d89faefd926cbf81ffca3bfec154dcc142a2f4eb
3
+ metadata.gz: 7f3ded14e9d4f390247ea36d893bb1a03dcff176ce91674485ed9f836ac8c48e
4
+ data.tar.gz: '04509c30b1435cad57e8fa7f50e5b58e6c5d904218d4b09e3cc1370a2c19bd28'
5
5
  SHA512:
6
- metadata.gz: f2d56a38789668bd9a9b89e842cc923d34c2908034779a7491c4d7e8ea011928b2a8faec9dc78064c0f670198c0c6661ae0d62bdc18924dc58668e1351f8ebe3
7
- data.tar.gz: 379e2a18d0641b61df029afc39cb9348e5aec305e2b667ca2f27158e608e1430af55e0431cdaeff5283616ee9957f738c8842d208784723df2ed6dc7aad7c51e
6
+ metadata.gz: 3ff30d20b269b6772df5a44e70acbb89ebfa592bdcef5df8a7996dba465ad291b915c8af99528689a97857bfcd04bb7c6a49d7616cfe425dc98cb375b0d7ab7d
7
+ data.tar.gz: ecd8f1506e211629c0b2e31cf1e985c42bbf4fe8ad8d3e9fe7f53a834a973f8e4d0cf57572672f618cb52bfd07a5ee0f9c8459de8f446aad0c3ddb48f6e797ae
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.231.0 (2025-12-29)
5
+ ------------------
6
+
7
+ * Feature - Changes for Contact for Global Search
8
+
9
+ 1.230.0 (2025-12-19)
10
+ ------------------
11
+
12
+ * Feature - Adding support for Custom Metrics and Pre-Defined Attributes to GetCurrentMetricData API.
13
+
4
14
  1.229.0 (2025-12-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.229.0
1
+ 1.231.0
@@ -2910,7 +2910,8 @@ module Aws::Connect
2910
2910
  # creation of all table properties except for attributes and values. A
2911
2911
  # table with no attributes and values is a valid state for a table. The
2912
2912
  # number of tables per instance is limited to 100 per instance.
2913
- # Customers can request an increase by using AWS Service Quotas.
2913
+ # Customers can request an increase by using Amazon Web Services Service
2914
+ # Quotas.
2914
2915
  #
2915
2916
  # @option params [required, String] :instance_id
2916
2917
  # The unique identifier for the Amazon Connect instance where the data
@@ -7161,6 +7162,9 @@ module Aws::Connect
7161
7162
  # resp.contact.next_contacts[0].next_contact_metadata.quick_connect_contact_data.quick_connect_id #=> String
7162
7163
  # resp.contact.next_contacts[0].next_contact_metadata.quick_connect_contact_data.quick_connect_name #=> String
7163
7164
  # resp.contact.next_contacts[0].next_contact_metadata.quick_connect_contact_data.quick_connect_type #=> String, one of "USER", "QUEUE", "PHONE_NUMBER", "FLOW"
7165
+ # resp.contact.global_resiliency_metadata.active_region #=> String
7166
+ # resp.contact.global_resiliency_metadata.origin_region #=> String
7167
+ # resp.contact.global_resiliency_metadata.traffic_distribution_group_id #=> String
7164
7168
  #
7165
7169
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContact AWS API Documentation
7166
7170
  #
@@ -9845,7 +9849,7 @@ module Aws::Connect
9845
9849
  # value to help identify values that are actively in use. The term
9846
9850
  # "Batch" is not included in the operation name since it does not meet
9847
9851
  # all the criteria for a batch operation as specified in Batch
9848
- # Operations: AWS API Standards.
9852
+ # Operations: Amazon Web Services API Standards.
9849
9853
  #
9850
9854
  # @option params [required, String] :instance_id
9851
9855
  # The unique identifier for the Amazon Connect instance.
@@ -10171,6 +10175,10 @@ module Aws::Connect
10171
10175
  #
10172
10176
  # * AgentStatuses: 50
10173
10177
  #
10178
+ # * Subtypes: 10
10179
+ #
10180
+ # * ValidationTestTypes: 10
10181
+ #
10174
10182
  # Metric data is retrieved only for the resources associated with the
10175
10183
  # queues or routing profiles, and by any channels included in the
10176
10184
  # filter. (You cannot filter by both queue AND routing profile.) You can
@@ -10179,6 +10187,12 @@ module Aws::Connect
10179
10187
  # When using `AgentStatuses` as filter make sure Queues is added as
10180
10188
  # primary filter.
10181
10189
  #
10190
+ # When using `Subtypes` as filter make sure Queues is added as primary
10191
+ # filter.
10192
+ #
10193
+ # When using `ValidationTestTypes` as filter make sure Queues is added
10194
+ # as primary filter.
10195
+ #
10182
10196
  # When using the `RoutingStepExpression` filter, you need to pass
10183
10197
  # exactly one `QueueId`. The filter is also case sensitive so when using
10184
10198
  # the `RoutingStepExpression` filter, grouping by
@@ -10206,6 +10220,10 @@ module Aws::Connect
10206
10220
  # `AGENT_STATUS`, the only metric available is the `AGENTS_ONLINE`
10207
10221
  # metric.
10208
10222
  #
10223
+ # * If you group by `SUBTYPE` or `VALIDATION_TEST_TYPE` as secondary
10224
+ # grouping then you must include `QUEUE` as primary grouping and use
10225
+ # Queue as filter
10226
+ #
10209
10227
  # * If you group by `ROUTING_PROFILE`, you must include either a queue
10210
10228
  # or routing profile filter. In addition, a routing profile filter is
10211
10229
  # required for metrics `CONTACTS_SCHEDULED`, `CONTACTS_IN_QUEUE`, and
@@ -10215,11 +10233,17 @@ module Aws::Connect
10215
10233
  # `ROUTING_STEP_EXPRESSION` is required.
10216
10234
  #
10217
10235
  # @option params [required, Array<Types::CurrentMetric>] :current_metrics
10218
- # The metrics to retrieve. Specify the name and unit for each metric.
10219
- # The following metrics are available. For a description of all the
10220
- # metrics, see [Metrics definitions][1] in the *Amazon Connect
10236
+ # The metrics to retrieve. Specify the name or metricId, and unit for
10237
+ # each metric. The following metrics are available. For a description of
10238
+ # all the metrics, see [Metrics definitions][1] in the *Amazon Connect
10221
10239
  # Administrator Guide*.
10222
10240
  #
10241
+ # <note markdown="1"> MetricId should be used to reference custom metrics or out of the box
10242
+ # metrics as Arn. If using MetricId, the limit is 10 MetricId per
10243
+ # request.
10244
+ #
10245
+ # </note>
10246
+ #
10223
10247
  # AGENTS\_AFTER\_CONTACT\_WORK
10224
10248
  #
10225
10249
  # : Unit: COUNT
@@ -10375,11 +10399,14 @@ module Aws::Connect
10375
10399
  # routing_profiles: ["RoutingProfileId"],
10376
10400
  # routing_step_expressions: ["RoutingExpression"],
10377
10401
  # agent_statuses: ["AgentStatusId"],
10402
+ # subtypes: ["Subtype"],
10403
+ # validation_test_types: ["ValidationTestType"],
10378
10404
  # },
10379
- # groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, ROUTING_STEP_EXPRESSION, AGENT_STATUS
10405
+ # groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, ROUTING_STEP_EXPRESSION, AGENT_STATUS, SUBTYPE, VALIDATION_TEST_TYPE
10380
10406
  # current_metrics: [ # required
10381
10407
  # {
10382
10408
  # name: "AGENTS_ONLINE", # accepts AGENTS_ONLINE, AGENTS_AVAILABLE, AGENTS_ON_CALL, AGENTS_NON_PRODUCTIVE, AGENTS_AFTER_CONTACT_WORK, AGENTS_ERROR, AGENTS_STAFFED, CONTACTS_IN_QUEUE, OLDEST_CONTACT_AGE, CONTACTS_SCHEDULED, AGENTS_ON_CONTACT, SLOTS_ACTIVE, SLOTS_AVAILABLE
10409
+ # metric_id: "CurrentMetricId",
10383
10410
  # unit: "SECONDS", # accepts SECONDS, COUNT, PERCENT
10384
10411
  # },
10385
10412
  # ],
@@ -10405,8 +10432,11 @@ module Aws::Connect
10405
10432
  # resp.metric_results[0].dimensions.routing_step_expression #=> String
10406
10433
  # resp.metric_results[0].dimensions.agent_status.arn #=> String
10407
10434
  # resp.metric_results[0].dimensions.agent_status.id #=> String
10435
+ # resp.metric_results[0].dimensions.subtype #=> String
10436
+ # resp.metric_results[0].dimensions.validation_test_type #=> String
10408
10437
  # resp.metric_results[0].collections #=> Array
10409
10438
  # resp.metric_results[0].collections[0].metric.name #=> String, one of "AGENTS_ONLINE", "AGENTS_AVAILABLE", "AGENTS_ON_CALL", "AGENTS_NON_PRODUCTIVE", "AGENTS_AFTER_CONTACT_WORK", "AGENTS_ERROR", "AGENTS_STAFFED", "CONTACTS_IN_QUEUE", "OLDEST_CONTACT_AGE", "CONTACTS_SCHEDULED", "AGENTS_ON_CONTACT", "SLOTS_ACTIVE", "SLOTS_AVAILABLE"
10439
+ # resp.metric_results[0].collections[0].metric.metric_id #=> String
10410
10440
  # resp.metric_results[0].collections[0].metric.unit #=> String, one of "SECONDS", "COUNT", "PERCENT"
10411
10441
  # resp.metric_results[0].collections[0].value #=> Float
10412
10442
  # resp.data_snapshot_time #=> Time
@@ -11040,8 +11070,10 @@ module Aws::Connect
11040
11070
  # routing_profiles: ["RoutingProfileId"],
11041
11071
  # routing_step_expressions: ["RoutingExpression"],
11042
11072
  # agent_statuses: ["AgentStatusId"],
11073
+ # subtypes: ["Subtype"],
11074
+ # validation_test_types: ["ValidationTestType"],
11043
11075
  # },
11044
- # groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, ROUTING_STEP_EXPRESSION, AGENT_STATUS
11076
+ # groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, ROUTING_STEP_EXPRESSION, AGENT_STATUS, SUBTYPE, VALIDATION_TEST_TYPE
11045
11077
  # historical_metrics: [ # required
11046
11078
  # {
11047
11079
  # name: "CONTACTS_QUEUED", # accepts CONTACTS_QUEUED, CONTACTS_HANDLED, CONTACTS_ABANDONED, CONTACTS_CONSULTED, CONTACTS_AGENT_HUNG_UP_FIRST, CONTACTS_HANDLED_INCOMING, CONTACTS_HANDLED_OUTBOUND, CONTACTS_HOLD_ABANDONS, CONTACTS_TRANSFERRED_IN, CONTACTS_TRANSFERRED_OUT, CONTACTS_TRANSFERRED_IN_FROM_QUEUE, CONTACTS_TRANSFERRED_OUT_FROM_QUEUE, CONTACTS_MISSED, CALLBACK_CONTACTS_HANDLED, API_CONTACTS_HANDLED, OCCUPANCY, HANDLE_TIME, AFTER_CONTACT_WORK_TIME, QUEUED_TIME, ABANDON_TIME, QUEUE_ANSWER_TIME, HOLD_TIME, INTERACTION_TIME, INTERACTION_AND_HOLD_TIME, SERVICE_LEVEL
@@ -11069,6 +11101,8 @@ module Aws::Connect
11069
11101
  # resp.metric_results[0].dimensions.routing_step_expression #=> String
11070
11102
  # resp.metric_results[0].dimensions.agent_status.arn #=> String
11071
11103
  # resp.metric_results[0].dimensions.agent_status.id #=> String
11104
+ # resp.metric_results[0].dimensions.subtype #=> String
11105
+ # resp.metric_results[0].dimensions.validation_test_type #=> String
11072
11106
  # resp.metric_results[0].collections #=> Array
11073
11107
  # resp.metric_results[0].collections[0].metric.name #=> String, one of "CONTACTS_QUEUED", "CONTACTS_HANDLED", "CONTACTS_ABANDONED", "CONTACTS_CONSULTED", "CONTACTS_AGENT_HUNG_UP_FIRST", "CONTACTS_HANDLED_INCOMING", "CONTACTS_HANDLED_OUTBOUND", "CONTACTS_HOLD_ABANDONS", "CONTACTS_TRANSFERRED_IN", "CONTACTS_TRANSFERRED_OUT", "CONTACTS_TRANSFERRED_IN_FROM_QUEUE", "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE", "CONTACTS_MISSED", "CALLBACK_CONTACTS_HANDLED", "API_CONTACTS_HANDLED", "OCCUPANCY", "HANDLE_TIME", "AFTER_CONTACT_WORK_TIME", "QUEUED_TIME", "ABANDON_TIME", "QUEUE_ANSWER_TIME", "HOLD_TIME", "INTERACTION_TIME", "INTERACTION_AND_HOLD_TIME", "SERVICE_LEVEL"
11074
11108
  # resp.metric_results[0].collections[0].metric.threshold.comparison #=> String, one of "LT"
@@ -14386,8 +14420,8 @@ module Aws::Connect
14386
14420
 
14387
14421
  # Returns all attributes for a specified data table. A maximum of 100
14388
14422
  # attributes per data table is allowed. Customers can request an
14389
- # increase by using AWS Service Quotas. The response can be filtered by
14390
- # specific attribute IDs for CloudFormation integration.
14423
+ # increase by using Amazon Web Services Service Quotas. The response can
14424
+ # be filtered by specific attribute IDs for CloudFormation integration.
14391
14425
  #
14392
14426
  # @option params [required, String] :instance_id
14393
14427
  # The unique identifier for the Amazon Connect instance.
@@ -15555,8 +15589,8 @@ module Aws::Connect
15555
15589
  # claimed to. You can [find the instance ID][1] in the Amazon Resource
15556
15590
  # Name (ARN) of the instance. If both `TargetArn` and `InstanceId` are
15557
15591
  # not provided, this API lists numbers claimed to all the Amazon Connect
15558
- # instances belonging to your account in the same AWS Region as the
15559
- # request.
15592
+ # instances belonging to your account in the same Amazon Web Services
15593
+ # Region as the request.
15560
15594
  #
15561
15595
  #
15562
15596
  #
@@ -21019,13 +21053,6 @@ module Aws::Connect
21019
21053
  # customer ends the chat session, allowing them to continue through
21020
21054
  # disconnect flows such as surveys or feedback forms.
21021
21055
  #
21022
- # Valid value: `AGENT`.
21023
- #
21024
- # With the `DisconnectOnCustomerExit` parameter, you can configure
21025
- # automatic agent disconnection when end customers end the chat,
21026
- # ensuring that disconnect flows are triggered consistently regardless
21027
- # of which participant disconnects first.
21028
- #
21029
21056
  # @return [Types::StartChatContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
21030
21057
  #
21031
21058
  # * {Types::StartChatContactResponse#contact_id #contact_id} => String
@@ -21551,31 +21578,36 @@ module Aws::Connect
21551
21578
  req.send_request(options)
21552
21579
  end
21553
21580
 
21554
- # Initiates a new outbound SMS contact to a customer. Response of this
21555
- # API provides the `ContactId` of the outbound SMS contact created.
21581
+ # Initiates a new outbound SMS or WhatsApp contact to a customer.
21582
+ # Response of this API provides the `ContactId` of the outbound SMS or
21583
+ # WhatsApp contact created.
21556
21584
  #
21557
21585
  # **SourceEndpoint** only supports Endpoints with
21558
21586
  # `CONNECT_PHONENUMBER_ARN` as Type and **DestinationEndpoint** only
21559
21587
  # supports Endpoints with `TELEPHONE_NUMBER` as Type. **ContactFlowId**
21560
- # initiates the flow to manage the new SMS contact created.
21588
+ # initiates the flow to manage the new contact created.
21561
21589
  #
21562
- # This API can be used to initiate outbound SMS contacts for an agent,
21563
- # or it can also deflect an ongoing contact to an outbound SMS contact
21564
- # by using the [StartOutboundChatContact][1] Flow Action.
21590
+ # This API can be used to initiate outbound SMS or WhatsApp contacts for
21591
+ # an agent, or it can also deflect an ongoing contact to an outbound SMS
21592
+ # or WhatsApp contact by using the [StartOutboundChatContact][1] Flow
21593
+ # Action.
21565
21594
  #
21566
- # For more information about using SMS in Amazon Connect, see the
21567
- # following topics in the *Amazon Connect Administrator Guide*:
21595
+ # For more information about using SMS or WhatsApp in Amazon Connect,
21596
+ # see the following topics in the *Amazon Connect Administrator Guide*:
21568
21597
  #
21569
21598
  # * [Set up SMS messaging][2]
21570
21599
  #
21571
- # * [Request an SMS-enabled phone number through AWS End User Messaging
21572
- # SMS][3]
21600
+ # * [Request an SMS-enabled phone number through Amazon Web Services End
21601
+ # User Messaging SMS][3]
21602
+ #
21603
+ # * [Set up WhatsApp Business messaging][4]
21573
21604
  #
21574
21605
  #
21575
21606
  #
21576
21607
  # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_StartOutboundChatContact.html
21577
21608
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-sms-messaging.html
21578
21609
  # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/sms-number.html
21610
+ # [4]: https://docs.aws.amazon.com/connect/latest/adminguide/whatsapp-integration.html
21579
21611
  #
21580
21612
  # @option params [required, Types::Endpoint] :source_endpoint
21581
21613
  # Information about the endpoint.
@@ -21595,7 +21627,7 @@ module Aws::Connect
21595
21627
  # * Attribute keys can include only alphanumeric, `-`, and `_`.
21596
21628
  #
21597
21629
  # * This field can be used to show channel subtype, such as
21598
- # `connect:Guide` and `connect:SMS`.
21630
+ # `connect:SMS` and `connect:WhatsApp`.
21599
21631
  #
21600
21632
  # @option params [Hash<String,String>] :attributes
21601
21633
  # A custom key-value pair using an attribute map. The attributes are
@@ -21658,11 +21690,11 @@ module Aws::Connect
21658
21690
  #
21659
21691
  # @option params [String] :client_token
21660
21692
  # A unique, case-sensitive identifier that you provide to ensure the
21661
- # idempotency of the request. If not provided, the AWS SDK populates
21662
- # this field. For more information about idempotency, see [Making
21663
- # retries safe with idempotent APIs][1]. The token is valid for 7 days
21664
- # after creation. If a contact is already started, the contact ID is
21665
- # returned.
21693
+ # idempotency of the request. If not provided, the Amazon Web Services
21694
+ # SDK populates this field. For more information about idempotency, see
21695
+ # [Making retries safe with idempotent APIs][1]. The token is valid for
21696
+ # 7 days after creation. If a contact is already started, the contact ID
21697
+ # is returned.
21666
21698
  #
21667
21699
  # **A suitable default value is auto-generated.** You should normally
21668
21700
  # not need to pass this option.**
@@ -26819,7 +26851,7 @@ module Aws::Connect
26819
26851
  tracer: tracer
26820
26852
  )
26821
26853
  context[:gem_name] = 'aws-sdk-connect'
26822
- context[:gem_version] = '1.229.0'
26854
+ context[:gem_version] = '1.231.0'
26823
26855
  Seahorse::Client::Request.new(handlers, context)
26824
26856
  end
26825
26857
 
@@ -24,6 +24,7 @@ module Aws::Connect
24
24
  ActionType = Shapes::StringShape.new(name: 'ActionType')
25
25
  ActivateEvaluationFormRequest = Shapes::StructureShape.new(name: 'ActivateEvaluationFormRequest')
26
26
  ActivateEvaluationFormResponse = Shapes::StructureShape.new(name: 'ActivateEvaluationFormResponse')
27
+ ActiveRegion = Shapes::StringShape.new(name: 'ActiveRegion')
27
28
  AdditionalEmailRecipients = Shapes::StructureShape.new(name: 'AdditionalEmailRecipients')
28
29
  AfterContactWorkTimeLimit = Shapes::IntegerShape.new(name: 'AfterContactWorkTimeLimit')
29
30
  AgentAvailabilityTimer = Shapes::StringShape.new(name: 'AgentAvailabilityTimer')
@@ -402,6 +403,7 @@ module Aws::Connect
402
403
  CurrentMetric = Shapes::StructureShape.new(name: 'CurrentMetric')
403
404
  CurrentMetricData = Shapes::StructureShape.new(name: 'CurrentMetricData')
404
405
  CurrentMetricDataCollections = Shapes::ListShape.new(name: 'CurrentMetricDataCollections')
406
+ CurrentMetricId = Shapes::StringShape.new(name: 'CurrentMetricId')
405
407
  CurrentMetricName = Shapes::StringShape.new(name: 'CurrentMetricName')
406
408
  CurrentMetricResult = Shapes::StructureShape.new(name: 'CurrentMetricResult')
407
409
  CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
@@ -859,6 +861,7 @@ module Aws::Connect
859
861
  GetTaskTemplateResponse = Shapes::StructureShape.new(name: 'GetTaskTemplateResponse')
860
862
  GetTrafficDistributionRequest = Shapes::StructureShape.new(name: 'GetTrafficDistributionRequest')
861
863
  GetTrafficDistributionResponse = Shapes::StructureShape.new(name: 'GetTrafficDistributionResponse')
864
+ GlobalResiliencyMetadata = Shapes::StructureShape.new(name: 'GlobalResiliencyMetadata')
862
865
  GlobalSignInEndpoint = Shapes::StringShape.new(name: 'GlobalSignInEndpoint')
863
866
  GranularAccessControlConfiguration = Shapes::StructureShape.new(name: 'GranularAccessControlConfiguration')
864
867
  Grouping = Shapes::StringShape.new(name: 'Grouping')
@@ -960,6 +963,7 @@ module Aws::Connect
960
963
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
961
964
  IntervalDetails = Shapes::StructureShape.new(name: 'IntervalDetails')
962
965
  IntervalPeriod = Shapes::StringShape.new(name: 'IntervalPeriod')
966
+ InvalidActiveRegionException = Shapes::StructureShape.new(name: 'InvalidActiveRegionException')
963
967
  InvalidContactFlowException = Shapes::StructureShape.new(name: 'InvalidContactFlowException')
964
968
  InvalidContactFlowModuleException = Shapes::StructureShape.new(name: 'InvalidContactFlowModuleException')
965
969
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
@@ -1189,6 +1193,7 @@ module Aws::Connect
1189
1193
  OperationalHour = Shapes::StructureShape.new(name: 'OperationalHour')
1190
1194
  OperationalHours = Shapes::ListShape.new(name: 'OperationalHours')
1191
1195
  Origin = Shapes::StringShape.new(name: 'Origin')
1196
+ OriginRegion = Shapes::StringShape.new(name: 'OriginRegion')
1192
1197
  OriginsList = Shapes::ListShape.new(name: 'OriginsList')
1193
1198
  OutboundAdditionalRecipients = Shapes::StructureShape.new(name: 'OutboundAdditionalRecipients')
1194
1199
  OutboundCallerConfig = Shapes::StructureShape.new(name: 'OutboundCallerConfig')
@@ -1670,6 +1675,7 @@ module Aws::Connect
1670
1675
  SubmitContactEvaluationRequest = Shapes::StructureShape.new(name: 'SubmitContactEvaluationRequest')
1671
1676
  SubmitContactEvaluationResponse = Shapes::StructureShape.new(name: 'SubmitContactEvaluationResponse')
1672
1677
  Subtype = Shapes::StringShape.new(name: 'Subtype')
1678
+ Subtypes = Shapes::ListShape.new(name: 'Subtypes')
1673
1679
  SuccessfulBatchAssociationSummary = Shapes::StructureShape.new(name: 'SuccessfulBatchAssociationSummary')
1674
1680
  SuccessfulBatchAssociationSummaryList = Shapes::ListShape.new(name: 'SuccessfulBatchAssociationSummaryList')
1675
1681
  SuccessfulRequest = Shapes::StructureShape.new(name: 'SuccessfulRequest')
@@ -1895,6 +1901,8 @@ module Aws::Connect
1895
1901
  Validation = Shapes::StructureShape.new(name: 'Validation')
1896
1902
  ValidationEnum = Shapes::StructureShape.new(name: 'ValidationEnum')
1897
1903
  ValidationEnumValues = Shapes::ListShape.new(name: 'ValidationEnumValues')
1904
+ ValidationTestType = Shapes::StringShape.new(name: 'ValidationTestType')
1905
+ ValidationTestTypes = Shapes::ListShape.new(name: 'ValidationTestTypes')
1898
1906
  Value = Shapes::FloatShape.new(name: 'Value')
1899
1907
  ValueBoundary = Shapes::IntegerShape.new(name: 'ValueBoundary')
1900
1908
  ValueList = Shapes::ListShape.new(name: 'ValueList')
@@ -2696,6 +2704,7 @@ module Aws::Connect
2696
2704
  Contact.add_member(:outbound_strategy, Shapes::ShapeRef.new(shape: OutboundStrategy, location_name: "OutboundStrategy"))
2697
2705
  Contact.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
2698
2706
  Contact.add_member(:next_contacts, Shapes::ShapeRef.new(shape: NextContacts, location_name: "NextContacts"))
2707
+ Contact.add_member(:global_resiliency_metadata, Shapes::ShapeRef.new(shape: GlobalResiliencyMetadata, location_name: "GlobalResiliencyMetadata"))
2699
2708
  Contact.struct_class = Types::Contact
2700
2709
 
2701
2710
  ContactAnalysis.add_member(:transcript, Shapes::ShapeRef.new(shape: Transcript, location_name: "Transcript"))
@@ -3411,6 +3420,7 @@ module Aws::Connect
3411
3420
  CrossChannelBehavior.struct_class = Types::CrossChannelBehavior
3412
3421
 
3413
3422
  CurrentMetric.add_member(:name, Shapes::ShapeRef.new(shape: CurrentMetricName, location_name: "Name"))
3423
+ CurrentMetric.add_member(:metric_id, Shapes::ShapeRef.new(shape: CurrentMetricId, location_name: "MetricId"))
3414
3424
  CurrentMetric.add_member(:unit, Shapes::ShapeRef.new(shape: Unit, location_name: "Unit"))
3415
3425
  CurrentMetric.struct_class = Types::CurrentMetric
3416
3426
 
@@ -4027,6 +4037,8 @@ module Aws::Connect
4027
4037
  Dimensions.add_member(:routing_profile, Shapes::ShapeRef.new(shape: RoutingProfileReference, location_name: "RoutingProfile"))
4028
4038
  Dimensions.add_member(:routing_step_expression, Shapes::ShapeRef.new(shape: RoutingExpression, location_name: "RoutingStepExpression"))
4029
4039
  Dimensions.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatusIdentifier, location_name: "AgentStatus"))
4040
+ Dimensions.add_member(:subtype, Shapes::ShapeRef.new(shape: Subtype, location_name: "Subtype"))
4041
+ Dimensions.add_member(:validation_test_type, Shapes::ShapeRef.new(shape: ValidationTestType, location_name: "ValidationTestType"))
4030
4042
  Dimensions.struct_class = Types::Dimensions
4031
4043
 
4032
4044
  DimensionsV2Map.key = Shapes::ShapeRef.new(shape: DimensionsV2Key)
@@ -4766,6 +4778,8 @@ module Aws::Connect
4766
4778
  Filters.add_member(:routing_profiles, Shapes::ShapeRef.new(shape: RoutingProfiles, location_name: "RoutingProfiles"))
4767
4779
  Filters.add_member(:routing_step_expressions, Shapes::ShapeRef.new(shape: RoutingExpressions, location_name: "RoutingStepExpressions"))
4768
4780
  Filters.add_member(:agent_statuses, Shapes::ShapeRef.new(shape: AgentStatuses, location_name: "AgentStatuses"))
4781
+ Filters.add_member(:subtypes, Shapes::ShapeRef.new(shape: Subtypes, location_name: "Subtypes"))
4782
+ Filters.add_member(:validation_test_types, Shapes::ShapeRef.new(shape: ValidationTestTypes, location_name: "ValidationTestTypes"))
4769
4783
  Filters.struct_class = Types::Filters
4770
4784
 
4771
4785
  FiltersV2List.member = Shapes::ShapeRef.new(shape: FilterV2)
@@ -4949,6 +4963,11 @@ module Aws::Connect
4949
4963
  GetTrafficDistributionResponse.add_member(:agent_config, Shapes::ShapeRef.new(shape: AgentConfig, location_name: "AgentConfig"))
4950
4964
  GetTrafficDistributionResponse.struct_class = Types::GetTrafficDistributionResponse
4951
4965
 
4966
+ GlobalResiliencyMetadata.add_member(:active_region, Shapes::ShapeRef.new(shape: ActiveRegion, location_name: "ActiveRegion"))
4967
+ GlobalResiliencyMetadata.add_member(:origin_region, Shapes::ShapeRef.new(shape: OriginRegion, location_name: "OriginRegion"))
4968
+ GlobalResiliencyMetadata.add_member(:traffic_distribution_group_id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupId, location_name: "TrafficDistributionGroupId"))
4969
+ GlobalResiliencyMetadata.struct_class = Types::GlobalResiliencyMetadata
4970
+
4952
4971
  GranularAccessControlConfiguration.add_member(:data_table_access_control_configuration, Shapes::ShapeRef.new(shape: DataTableAccessControlConfiguration, location_name: "DataTableAccessControlConfiguration"))
4953
4972
  GranularAccessControlConfiguration.struct_class = Types::GranularAccessControlConfiguration
4954
4973
 
@@ -5227,6 +5246,9 @@ module Aws::Connect
5227
5246
  IntervalDetails.add_member(:interval_period, Shapes::ShapeRef.new(shape: IntervalPeriod, location_name: "IntervalPeriod"))
5228
5247
  IntervalDetails.struct_class = Types::IntervalDetails
5229
5248
 
5249
+ InvalidActiveRegionException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
5250
+ InvalidActiveRegionException.struct_class = Types::InvalidActiveRegionException
5251
+
5230
5252
  InvalidContactFlowException.add_member(:problems, Shapes::ShapeRef.new(shape: Problems, location_name: "problems"))
5231
5253
  InvalidContactFlowException.struct_class = Types::InvalidContactFlowException
5232
5254
 
@@ -7576,6 +7598,8 @@ module Aws::Connect
7576
7598
  SubmitContactEvaluationResponse.add_member(:evaluation_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "EvaluationArn"))
7577
7599
  SubmitContactEvaluationResponse.struct_class = Types::SubmitContactEvaluationResponse
7578
7600
 
7601
+ Subtypes.member = Shapes::ShapeRef.new(shape: Subtype)
7602
+
7579
7603
  SuccessfulBatchAssociationSummary.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
7580
7604
  SuccessfulBatchAssociationSummary.struct_class = Types::SuccessfulBatchAssociationSummary
7581
7605
 
@@ -8428,6 +8452,8 @@ module Aws::Connect
8428
8452
 
8429
8453
  ValidationEnumValues.member = Shapes::ShapeRef.new(shape: String)
8430
8454
 
8455
+ ValidationTestTypes.member = Shapes::ShapeRef.new(shape: ValidationTestType)
8456
+
8431
8457
  ValueList.member = Shapes::ShapeRef.new(shape: String)
8432
8458
 
8433
8459
  View.add_member(:id, Shapes::ShapeRef.new(shape: ViewId, location_name: "Id"))
@@ -12169,6 +12195,7 @@ module Aws::Connect
12169
12195
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
12170
12196
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
12171
12197
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
12198
+ o.errors << Shapes::ShapeRef.new(shape: InvalidActiveRegionException)
12172
12199
  end)
12173
12200
 
12174
12201
  api.add_operation(:search_agent_statuses, Seahorse::Model::Operation.new.tap do |o|
@@ -12706,6 +12733,7 @@ module Aws::Connect
12706
12733
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
12707
12734
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
12708
12735
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
12736
+ o.errors << Shapes::ShapeRef.new(shape: InvalidActiveRegionException)
12709
12737
  end)
12710
12738
 
12711
12739
  api.add_operation(:start_contact_streaming, Seahorse::Model::Operation.new.tap do |o|
@@ -12833,6 +12861,7 @@ module Aws::Connect
12833
12861
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
12834
12862
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
12835
12863
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
12864
+ o.errors << Shapes::ShapeRef.new(shape: InvalidActiveRegionException)
12836
12865
  end)
12837
12866
 
12838
12867
  api.add_operation(:stop_contact_media_processing, Seahorse::Model::Operation.new.tap do |o|
@@ -12858,6 +12887,7 @@ module Aws::Connect
12858
12887
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
12859
12888
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
12860
12889
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
12890
+ o.errors << Shapes::ShapeRef.new(shape: InvalidActiveRegionException)
12861
12891
  end)
12862
12892
 
12863
12893
  api.add_operation(:stop_contact_streaming, Seahorse::Model::Operation.new.tap do |o|
@@ -12894,6 +12924,7 @@ module Aws::Connect
12894
12924
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
12895
12925
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
12896
12926
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
12927
+ o.errors << Shapes::ShapeRef.new(shape: InvalidActiveRegionException)
12897
12928
  end)
12898
12929
 
12899
12930
  api.add_operation(:tag_contact, Seahorse::Model::Operation.new.tap do |o|
@@ -12907,6 +12938,7 @@ module Aws::Connect
12907
12938
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
12908
12939
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
12909
12940
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
12941
+ o.errors << Shapes::ShapeRef.new(shape: InvalidActiveRegionException)
12910
12942
  end)
12911
12943
 
12912
12944
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -12948,6 +12980,7 @@ module Aws::Connect
12948
12980
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
12949
12981
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
12950
12982
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
12983
+ o.errors << Shapes::ShapeRef.new(shape: InvalidActiveRegionException)
12951
12984
  end)
12952
12985
 
12953
12986
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -13004,6 +13037,7 @@ module Aws::Connect
13004
13037
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
13005
13038
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
13006
13039
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
13040
+ o.errors << Shapes::ShapeRef.new(shape: InvalidActiveRegionException)
13007
13041
  end)
13008
13042
 
13009
13043
  api.add_operation(:update_contact_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -13016,6 +13050,7 @@ module Aws::Connect
13016
13050
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
13017
13051
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
13018
13052
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
13053
+ o.errors << Shapes::ShapeRef.new(shape: InvalidActiveRegionException)
13019
13054
  end)
13020
13055
 
13021
13056
  api.add_operation(:update_contact_evaluation, Seahorse::Model::Operation.new.tap do |o|
@@ -13130,6 +13165,7 @@ module Aws::Connect
13130
13165
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
13131
13166
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
13132
13167
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
13168
+ o.errors << Shapes::ShapeRef.new(shape: InvalidActiveRegionException)
13133
13169
  end)
13134
13170
 
13135
13171
  api.add_operation(:update_contact_schedule, Seahorse::Model::Operation.new.tap do |o|
@@ -36,6 +36,7 @@ module Aws::Connect
36
36
  # * {DuplicateResourceException}
37
37
  # * {IdempotencyException}
38
38
  # * {InternalServiceException}
39
+ # * {InvalidActiveRegionException}
39
40
  # * {InvalidContactFlowException}
40
41
  # * {InvalidContactFlowModuleException}
41
42
  # * {InvalidParameterException}
@@ -195,6 +196,21 @@ module Aws::Connect
195
196
  end
196
197
  end
197
198
 
199
+ class InvalidActiveRegionException < ServiceError
200
+
201
+ # @param [Seahorse::Client::RequestContext] context
202
+ # @param [String] message
203
+ # @param [Aws::Connect::Types::InvalidActiveRegionException] data
204
+ def initialize(context, message, data = Aws::EmptyStructure.new)
205
+ super(context, message, data)
206
+ end
207
+
208
+ # @return [String]
209
+ def message
210
+ @message || @data[:message]
211
+ end
212
+ end
213
+
198
214
  class InvalidContactFlowException < ServiceError
199
215
 
200
216
  # @param [Seahorse::Client::RequestContext] context
@@ -3543,6 +3543,11 @@ module Aws::Connect
3543
3543
  # List of next contact entries for the contact.
3544
3544
  # @return [Array<Types::NextContactEntry>]
3545
3545
  #
3546
+ # @!attribute [rw] global_resiliency_metadata
3547
+ # Information about the global resiliency configuration for the
3548
+ # contact, including traffic distribution details.
3549
+ # @return [Types::GlobalResiliencyMetadata]
3550
+ #
3546
3551
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Contact AWS API Documentation
3547
3552
  #
3548
3553
  class Contact < Struct.new(
@@ -3592,7 +3597,8 @@ module Aws::Connect
3592
3597
  :contact_details,
3593
3598
  :outbound_strategy,
3594
3599
  :attributes,
3595
- :next_contacts)
3600
+ :next_contacts,
3601
+ :global_resiliency_metadata)
3596
3602
  SENSITIVE = [:name, :description]
3597
3603
  include Aws::Structure
3598
3604
  end
@@ -7407,6 +7413,8 @@ module Aws::Connect
7407
7413
  # each metric, see [Metrics definitions][1] in the *Amazon Connect
7408
7414
  # Administrator Guide*.
7409
7415
  #
7416
+ # Only one of either the Name or MetricId is required.
7417
+ #
7410
7418
  #
7411
7419
  #
7412
7420
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html
@@ -7415,7 +7423,16 @@ module Aws::Connect
7415
7423
  # The name of the metric.
7416
7424
  # @return [String]
7417
7425
  #
7426
+ # @!attribute [rw] metric_id
7427
+ # Out of the box current metrics or custom metrics can be referenced
7428
+ # via this field. This field is a valid AWS Connect Arn or a UUID.
7429
+ # @return [String]
7430
+ #
7418
7431
  # @!attribute [rw] unit
7432
+ # <note markdown="1"> The Unit parameter is not supported for custom metrics.
7433
+ #
7434
+ # </note>
7435
+ #
7419
7436
  # The unit for the metric.
7420
7437
  # @return [String]
7421
7438
  #
@@ -7423,6 +7440,7 @@ module Aws::Connect
7423
7440
  #
7424
7441
  class CurrentMetric < Struct.new(
7425
7442
  :name,
7443
+ :metric_id,
7426
7444
  :unit)
7427
7445
  SENSITIVE = []
7428
7446
  include Aws::Structure
@@ -7616,8 +7634,8 @@ module Aws::Connect
7616
7634
  # @return [Time]
7617
7635
  #
7618
7636
  # @!attribute [rw] last_modified_region
7619
- # The AWS region where the data table was last modified, used for
7620
- # region replication.
7637
+ # The Amazon Web Services Region where the data table was last
7638
+ # modified, used for region replication.
7621
7639
  # @return [String]
7622
7640
  #
7623
7641
  # @!attribute [rw] tags
@@ -7716,8 +7734,8 @@ module Aws::Connect
7716
7734
  # @return [Time]
7717
7735
  #
7718
7736
  # @!attribute [rw] last_modified_region
7719
- # The AWS region where this attribute was last modified, used for
7720
- # region replication.
7737
+ # The Amazon Web Services Region where this attribute was last
7738
+ # modified, used for region replication.
7721
7739
  # @return [String]
7722
7740
  #
7723
7741
  # @!attribute [rw] validation
@@ -10312,6 +10330,14 @@ module Aws::Connect
10312
10330
  # Information about the agent status assigned to the user.
10313
10331
  # @return [Types::AgentStatusIdentifier]
10314
10332
  #
10333
+ # @!attribute [rw] subtype
10334
+ # The subtype of the channel used for the contact.
10335
+ # @return [String]
10336
+ #
10337
+ # @!attribute [rw] validation_test_type
10338
+ # The testing and simulation type
10339
+ # @return [String]
10340
+ #
10315
10341
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Dimensions AWS API Documentation
10316
10342
  #
10317
10343
  class Dimensions < Struct.new(
@@ -10319,7 +10345,9 @@ module Aws::Connect
10319
10345
  :channel,
10320
10346
  :routing_profile,
10321
10347
  :routing_step_expression,
10322
- :agent_status)
10348
+ :agent_status,
10349
+ :subtype,
10350
+ :validation_test_type)
10323
10351
  SENSITIVE = []
10324
10352
  include Aws::Structure
10325
10353
  end
@@ -13636,6 +13664,14 @@ module Aws::Connect
13636
13664
  # A list of up to 50 agent status IDs or ARNs.
13637
13665
  # @return [Array<String>]
13638
13666
  #
13667
+ # @!attribute [rw] subtypes
13668
+ # A list of up to 10 subtypes can be provided.
13669
+ # @return [Array<String>]
13670
+ #
13671
+ # @!attribute [rw] validation_test_types
13672
+ # A list of up to 10 validationTestTypes can be provided.
13673
+ # @return [Array<String>]
13674
+ #
13639
13675
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Filters AWS API Documentation
13640
13676
  #
13641
13677
  class Filters < Struct.new(
@@ -13643,7 +13679,9 @@ module Aws::Connect
13643
13679
  :channels,
13644
13680
  :routing_profiles,
13645
13681
  :routing_step_expressions,
13646
- :agent_statuses)
13682
+ :agent_statuses,
13683
+ :subtypes,
13684
+ :validation_test_types)
13647
13685
  SENSITIVE = []
13648
13686
  include Aws::Structure
13649
13687
  end
@@ -13936,6 +13974,10 @@ module Aws::Connect
13936
13974
  #
13937
13975
  # * AgentStatuses: 50
13938
13976
  #
13977
+ # * Subtypes: 10
13978
+ #
13979
+ # * ValidationTestTypes: 10
13980
+ #
13939
13981
  # Metric data is retrieved only for the resources associated with the
13940
13982
  # queues or routing profiles, and by any channels included in the
13941
13983
  # filter. (You cannot filter by both queue AND routing profile.) You
@@ -13944,6 +13986,12 @@ module Aws::Connect
13944
13986
  # When using `AgentStatuses` as filter make sure Queues is added as
13945
13987
  # primary filter.
13946
13988
  #
13989
+ # When using `Subtypes` as filter make sure Queues is added as primary
13990
+ # filter.
13991
+ #
13992
+ # When using `ValidationTestTypes` as filter make sure Queues is added
13993
+ # as primary filter.
13994
+ #
13947
13995
  # When using the `RoutingStepExpression` filter, you need to pass
13948
13996
  # exactly one `QueueId`. The filter is also case sensitive so when
13949
13997
  # using the `RoutingStepExpression` filter, grouping by
@@ -13972,6 +14020,10 @@ module Aws::Connect
13972
14020
  # `AGENT_STATUS`, the only metric available is the `AGENTS_ONLINE`
13973
14021
  # metric.
13974
14022
  #
14023
+ # * If you group by `SUBTYPE` or `VALIDATION_TEST_TYPE` as secondary
14024
+ # grouping then you must include `QUEUE` as primary grouping and use
14025
+ # Queue as filter
14026
+ #
13975
14027
  # * If you group by `ROUTING_PROFILE`, you must include either a queue
13976
14028
  # or routing profile filter. In addition, a routing profile filter
13977
14029
  # is required for metrics `CONTACTS_SCHEDULED`, `CONTACTS_IN_QUEUE`,
@@ -13982,10 +14034,16 @@ module Aws::Connect
13982
14034
  # @return [Array<String>]
13983
14035
  #
13984
14036
  # @!attribute [rw] current_metrics
13985
- # The metrics to retrieve. Specify the name and unit for each metric.
13986
- # The following metrics are available. For a description of all the
13987
- # metrics, see [Metrics definitions][1] in the *Amazon Connect
13988
- # Administrator Guide*.
14037
+ # The metrics to retrieve. Specify the name or metricId, and unit for
14038
+ # each metric. The following metrics are available. For a description
14039
+ # of all the metrics, see [Metrics definitions][1] in the *Amazon
14040
+ # Connect Administrator Guide*.
14041
+ #
14042
+ # <note markdown="1"> MetricId should be used to reference custom metrics or out of the
14043
+ # box metrics as Arn. If using MetricId, the limit is 10 MetricId per
14044
+ # request.
14045
+ #
14046
+ # </note>
13989
14047
  #
13990
14048
  # AGENTS\_AFTER\_CONTACT\_WORK
13991
14049
  #
@@ -17069,6 +17127,34 @@ module Aws::Connect
17069
17127
  include Aws::Structure
17070
17128
  end
17071
17129
 
17130
+ # Information about the global resiliency configuration for the contact,
17131
+ # including traffic distribution details.
17132
+ #
17133
+ # @!attribute [rw] active_region
17134
+ # The current AWS region in which the contact is active. This
17135
+ # indicates where the contact is being processed in real-time.
17136
+ # @return [String]
17137
+ #
17138
+ # @!attribute [rw] origin_region
17139
+ # The AWS region where the contact was originally created and
17140
+ # initiated. This may differ from the ActiveRegion if the contact has
17141
+ # been transferred across regions.
17142
+ # @return [String]
17143
+ #
17144
+ # @!attribute [rw] traffic_distribution_group_id
17145
+ # The identifier of the traffic distribution group.
17146
+ # @return [String]
17147
+ #
17148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GlobalResiliencyMetadata AWS API Documentation
17149
+ #
17150
+ class GlobalResiliencyMetadata < Struct.new(
17151
+ :active_region,
17152
+ :origin_region,
17153
+ :traffic_distribution_group_id)
17154
+ SENSITIVE = []
17155
+ include Aws::Structure
17156
+ end
17157
+
17072
17158
  # Contains granular access control configuration for security profiles,
17073
17159
  # including data table access permissions.
17074
17160
  #
@@ -18585,6 +18671,23 @@ module Aws::Connect
18585
18671
  include Aws::Structure
18586
18672
  end
18587
18673
 
18674
+ # This exception occurs when an API request is made to a non-active
18675
+ # region in an Amazon Connect instance configured with Amazon Connect
18676
+ # Global Resiliency. For example, if the active region is US West
18677
+ # (Oregon) and a request is made to US East (N. Virginia), the exception
18678
+ # will be returned.
18679
+ #
18680
+ # @!attribute [rw] message
18681
+ # @return [String]
18682
+ #
18683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InvalidActiveRegionException AWS API Documentation
18684
+ #
18685
+ class InvalidActiveRegionException < Struct.new(
18686
+ :message)
18687
+ SENSITIVE = []
18688
+ include Aws::Structure
18689
+ end
18690
+
18588
18691
  # The flow is not valid.
18589
18692
  #
18590
18693
  # @!attribute [rw] problems
@@ -20578,8 +20681,8 @@ module Aws::Connect
20578
20681
  # claimed to. You can [find the instance ID][1] in the Amazon Resource
20579
20682
  # Name (ARN) of the instance. If both `TargetArn` and `InstanceId` are
20580
20683
  # not provided, this API lists numbers claimed to all the Amazon
20581
- # Connect instances belonging to your account in the same AWS Region
20582
- # as the request.
20684
+ # Connect instances belonging to your account in the same Amazon Web
20685
+ # Services Region as the request.
20583
20686
  #
20584
20687
  #
20585
20688
  #
@@ -29017,13 +29120,6 @@ module Aws::Connect
29017
29120
  # A list of participant types to automatically disconnect when the end
29018
29121
  # customer ends the chat session, allowing them to continue through
29019
29122
  # disconnect flows such as surveys or feedback forms.
29020
- #
29021
- # Valid value: `AGENT`.
29022
- #
29023
- # With the `DisconnectOnCustomerExit` parameter, you can configure
29024
- # automatic agent disconnection when end customers end the chat,
29025
- # ensuring that disconnect flows are triggered consistently regardless
29026
- # of which participant disconnects first.
29027
29123
  # @return [Array<String>]
29028
29124
  #
29029
29125
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartChatContactRequest AWS API Documentation
@@ -29446,7 +29542,7 @@ module Aws::Connect
29446
29542
  # * Attribute keys can include only alphanumeric, `-`, and `_`.
29447
29543
  #
29448
29544
  # * This field can be used to show channel subtype, such as
29449
- # `connect:Guide` and `connect:SMS`.
29545
+ # `connect:SMS` and `connect:WhatsApp`.
29450
29546
  # @return [Hash<String,Types::SegmentAttributeValue>]
29451
29547
  #
29452
29548
  # @!attribute [rw] attributes
@@ -29518,11 +29614,11 @@ module Aws::Connect
29518
29614
  #
29519
29615
  # @!attribute [rw] client_token
29520
29616
  # A unique, case-sensitive identifier that you provide to ensure the
29521
- # idempotency of the request. If not provided, the AWS SDK populates
29522
- # this field. For more information about idempotency, see [Making
29523
- # retries safe with idempotent APIs][1]. The token is valid for 7 days
29524
- # after creation. If a contact is already started, the contact ID is
29525
- # returned.
29617
+ # idempotency of the request. If not provided, the Amazon Web Services
29618
+ # SDK populates this field. For more information about idempotency,
29619
+ # see [Making retries safe with idempotent APIs][1]. The token is
29620
+ # valid for 7 days after creation. If a contact is already started,
29621
+ # the contact ID is returned.
29526
29622
  #
29527
29623
  # **A suitable default value is auto-generated.** You should normally
29528
29624
  # not need to pass this option.
@@ -35277,7 +35373,8 @@ module Aws::Connect
35277
35373
  # @return [Time]
35278
35374
  #
35279
35375
  # @!attribute [rw] last_modified_region
35280
- # The AWS Region where the workspace was last modified.
35376
+ # The Amazon Web Services Region where the workspace was last
35377
+ # modified.
35281
35378
  # @return [String]
35282
35379
  #
35283
35380
  # @!attribute [rw] tags
@@ -35543,7 +35640,8 @@ module Aws::Connect
35543
35640
  # @return [Time]
35544
35641
  #
35545
35642
  # @!attribute [rw] last_modified_region
35546
- # The AWS Region where the workspace was last modified.
35643
+ # The Amazon Web Services Region where the workspace was last
35644
+ # modified.
35547
35645
  # @return [String]
35548
35646
  #
35549
35647
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/WorkspaceSummary AWS API Documentation
@@ -54,7 +54,7 @@ module Aws::Connect
54
54
  autoload :EndpointProvider, 'aws-sdk-connect/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-connect/endpoints'
56
56
 
57
- GEM_VERSION = '1.229.0'
57
+ GEM_VERSION = '1.231.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -2609,12 +2609,15 @@ module Aws
2609
2609
  channels: Array[("VOICE" | "CHAT" | "TASK" | "EMAIL")]?,
2610
2610
  routing_profiles: Array[::String]?,
2611
2611
  routing_step_expressions: Array[::String]?,
2612
- agent_statuses: Array[::String]?
2612
+ agent_statuses: Array[::String]?,
2613
+ subtypes: Array[::String]?,
2614
+ validation_test_types: Array[::String]?
2613
2615
  },
2614
- ?groupings: Array[("QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS")],
2616
+ ?groupings: Array[("QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS" | "SUBTYPE" | "VALIDATION_TEST_TYPE")],
2615
2617
  current_metrics: Array[
2616
2618
  {
2617
2619
  name: ("AGENTS_ONLINE" | "AGENTS_AVAILABLE" | "AGENTS_ON_CALL" | "AGENTS_NON_PRODUCTIVE" | "AGENTS_AFTER_CONTACT_WORK" | "AGENTS_ERROR" | "AGENTS_STAFFED" | "CONTACTS_IN_QUEUE" | "OLDEST_CONTACT_AGE" | "CONTACTS_SCHEDULED" | "AGENTS_ON_CONTACT" | "SLOTS_ACTIVE" | "SLOTS_AVAILABLE")?,
2620
+ metric_id: ::String?,
2618
2621
  unit: ("SECONDS" | "COUNT" | "PERCENT")?
2619
2622
  },
2620
2623
  ],
@@ -2708,9 +2711,11 @@ module Aws
2708
2711
  channels: Array[("VOICE" | "CHAT" | "TASK" | "EMAIL")]?,
2709
2712
  routing_profiles: Array[::String]?,
2710
2713
  routing_step_expressions: Array[::String]?,
2711
- agent_statuses: Array[::String]?
2714
+ agent_statuses: Array[::String]?,
2715
+ subtypes: Array[::String]?,
2716
+ validation_test_types: Array[::String]?
2712
2717
  },
2713
- ?groupings: Array[("QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS")],
2718
+ ?groupings: Array[("QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS" | "SUBTYPE" | "VALIDATION_TEST_TYPE")],
2714
2719
  historical_metrics: Array[
2715
2720
  {
2716
2721
  name: ("CONTACTS_QUEUED" | "CONTACTS_HANDLED" | "CONTACTS_ABANDONED" | "CONTACTS_CONSULTED" | "CONTACTS_AGENT_HUNG_UP_FIRST" | "CONTACTS_HANDLED_INCOMING" | "CONTACTS_HANDLED_OUTBOUND" | "CONTACTS_HOLD_ABANDONS" | "CONTACTS_TRANSFERRED_IN" | "CONTACTS_TRANSFERRED_OUT" | "CONTACTS_TRANSFERRED_IN_FROM_QUEUE" | "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE" | "CONTACTS_MISSED" | "CALLBACK_CONTACTS_HANDLED" | "API_CONTACTS_HANDLED" | "OCCUPANCY" | "HANDLE_TIME" | "AFTER_CONTACT_WORK_TIME" | "QUEUED_TIME" | "ABANDON_TIME" | "QUEUE_ANSWER_TIME" | "HOLD_TIME" | "INTERACTION_TIME" | "INTERACTION_AND_HOLD_TIME" | "SERVICE_LEVEL")?,
data/sig/errors.rbs CHANGED
@@ -38,6 +38,9 @@ module Aws
38
38
  class InternalServiceException < ::Aws::Errors::ServiceError
39
39
  def message: () -> ::String
40
40
  end
41
+ class InvalidActiveRegionException < ::Aws::Errors::ServiceError
42
+ def message: () -> ::String
43
+ end
41
44
  class InvalidContactFlowException < ::Aws::Errors::ServiceError
42
45
  def problems: () -> ::String
43
46
  end
data/sig/types.rbs CHANGED
@@ -863,6 +863,7 @@ module Aws::Connect
863
863
  attr_accessor outbound_strategy: Types::OutboundStrategy
864
864
  attr_accessor attributes: ::Hash[::String, ::String]
865
865
  attr_accessor next_contacts: ::Array[Types::NextContactEntry]
866
+ attr_accessor global_resiliency_metadata: Types::GlobalResiliencyMetadata
866
867
  SENSITIVE: [:name, :description]
867
868
  end
868
869
 
@@ -1752,6 +1753,7 @@ module Aws::Connect
1752
1753
 
1753
1754
  class CurrentMetric
1754
1755
  attr_accessor name: ("AGENTS_ONLINE" | "AGENTS_AVAILABLE" | "AGENTS_ON_CALL" | "AGENTS_NON_PRODUCTIVE" | "AGENTS_AFTER_CONTACT_WORK" | "AGENTS_ERROR" | "AGENTS_STAFFED" | "CONTACTS_IN_QUEUE" | "OLDEST_CONTACT_AGE" | "CONTACTS_SCHEDULED" | "AGENTS_ON_CONTACT" | "SLOTS_ACTIVE" | "SLOTS_AVAILABLE")
1756
+ attr_accessor metric_id: ::String
1755
1757
  attr_accessor unit: ("SECONDS" | "COUNT" | "PERCENT")
1756
1758
  SENSITIVE: []
1757
1759
  end
@@ -2608,6 +2610,8 @@ module Aws::Connect
2608
2610
  attr_accessor routing_profile: Types::RoutingProfileReference
2609
2611
  attr_accessor routing_step_expression: ::String
2610
2612
  attr_accessor agent_status: Types::AgentStatusIdentifier
2613
+ attr_accessor subtype: ::String
2614
+ attr_accessor validation_test_type: ::String
2611
2615
  SENSITIVE: []
2612
2616
  end
2613
2617
 
@@ -3521,6 +3525,8 @@ module Aws::Connect
3521
3525
  attr_accessor routing_profiles: ::Array[::String]
3522
3526
  attr_accessor routing_step_expressions: ::Array[::String]
3523
3527
  attr_accessor agent_statuses: ::Array[::String]
3528
+ attr_accessor subtypes: ::Array[::String]
3529
+ attr_accessor validation_test_types: ::Array[::String]
3524
3530
  SENSITIVE: []
3525
3531
  end
3526
3532
 
@@ -3598,7 +3604,7 @@ module Aws::Connect
3598
3604
  class GetCurrentMetricDataRequest
3599
3605
  attr_accessor instance_id: ::String
3600
3606
  attr_accessor filters: Types::Filters
3601
- attr_accessor groupings: ::Array[("QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS")]
3607
+ attr_accessor groupings: ::Array[("QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS" | "SUBTYPE" | "VALIDATION_TEST_TYPE")]
3602
3608
  attr_accessor current_metrics: ::Array[Types::CurrentMetric]
3603
3609
  attr_accessor next_token: ::String
3604
3610
  attr_accessor max_results: ::Integer
@@ -3675,7 +3681,7 @@ module Aws::Connect
3675
3681
  attr_accessor start_time: ::Time
3676
3682
  attr_accessor end_time: ::Time
3677
3683
  attr_accessor filters: Types::Filters
3678
- attr_accessor groupings: ::Array[("QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS")]
3684
+ attr_accessor groupings: ::Array[("QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS" | "SUBTYPE" | "VALIDATION_TEST_TYPE")]
3679
3685
  attr_accessor historical_metrics: ::Array[Types::HistoricalMetric]
3680
3686
  attr_accessor next_token: ::String
3681
3687
  attr_accessor max_results: ::Integer
@@ -3759,6 +3765,13 @@ module Aws::Connect
3759
3765
  SENSITIVE: []
3760
3766
  end
3761
3767
 
3768
+ class GlobalResiliencyMetadata
3769
+ attr_accessor active_region: ::String
3770
+ attr_accessor origin_region: ::String
3771
+ attr_accessor traffic_distribution_group_id: ::String
3772
+ SENSITIVE: []
3773
+ end
3774
+
3762
3775
  class GranularAccessControlConfiguration
3763
3776
  attr_accessor data_table_access_control_configuration: Types::DataTableAccessControlConfiguration
3764
3777
  SENSITIVE: []
@@ -4080,6 +4093,11 @@ module Aws::Connect
4080
4093
  SENSITIVE: []
4081
4094
  end
4082
4095
 
4096
+ class InvalidActiveRegionException
4097
+ attr_accessor message: ::String
4098
+ SENSITIVE: []
4099
+ end
4100
+
4083
4101
  class InvalidContactFlowException
4084
4102
  attr_accessor problems: ::Array[Types::ProblemDetail]
4085
4103
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.229.0
4
+ version: 1.231.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services