aws-sdk-connect 1.229.0 → 1.230.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: 1df315d87918612a9e82208b700a0a7bf12a70cae345b59a11cae778c5cfa3be
4
+ data.tar.gz: 4abc95a9c791d78596657c0f09f94d77118f80b5e24b708a978294cdc9d240cd
5
5
  SHA512:
6
- metadata.gz: f2d56a38789668bd9a9b89e842cc923d34c2908034779a7491c4d7e8ea011928b2a8faec9dc78064c0f670198c0c6661ae0d62bdc18924dc58668e1351f8ebe3
7
- data.tar.gz: 379e2a18d0641b61df029afc39cb9348e5aec305e2b667ca2f27158e608e1430af55e0431cdaeff5283616ee9957f738c8842d208784723df2ed6dc7aad7c51e
6
+ metadata.gz: b4b8fe1a0d4f2e5dee42b62ebfa89dd27d96f851de3b459d54a453fad5e11eff22fa59448bd29ae9fb6d8fd3fa897f19c0a0f515b61c5a8a68303a25194c7094
7
+ data.tar.gz: fc0d0fe703d254c289d7b86539722173f4f77b7f305e730487a9435bcee1d87bae52a937d56c91cea8ac996bf2305e63b3e8614dd82c27d9f49406ce55e8f94b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.230.0 (2025-12-19)
5
+ ------------------
6
+
7
+ * Feature - Adding support for Custom Metrics and Pre-Defined Attributes to GetCurrentMetricData API.
8
+
4
9
  1.229.0 (2025-12-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.229.0
1
+ 1.230.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
@@ -9845,7 +9846,7 @@ module Aws::Connect
9845
9846
  # value to help identify values that are actively in use. The term
9846
9847
  # "Batch" is not included in the operation name since it does not meet
9847
9848
  # all the criteria for a batch operation as specified in Batch
9848
- # Operations: AWS API Standards.
9849
+ # Operations: Amazon Web Services API Standards.
9849
9850
  #
9850
9851
  # @option params [required, String] :instance_id
9851
9852
  # The unique identifier for the Amazon Connect instance.
@@ -10171,6 +10172,10 @@ module Aws::Connect
10171
10172
  #
10172
10173
  # * AgentStatuses: 50
10173
10174
  #
10175
+ # * Subtypes: 10
10176
+ #
10177
+ # * ValidationTestTypes: 10
10178
+ #
10174
10179
  # Metric data is retrieved only for the resources associated with the
10175
10180
  # queues or routing profiles, and by any channels included in the
10176
10181
  # filter. (You cannot filter by both queue AND routing profile.) You can
@@ -10179,6 +10184,12 @@ module Aws::Connect
10179
10184
  # When using `AgentStatuses` as filter make sure Queues is added as
10180
10185
  # primary filter.
10181
10186
  #
10187
+ # When using `Subtypes` as filter make sure Queues is added as primary
10188
+ # filter.
10189
+ #
10190
+ # When using `ValidationTestTypes` as filter make sure Queues is added
10191
+ # as primary filter.
10192
+ #
10182
10193
  # When using the `RoutingStepExpression` filter, you need to pass
10183
10194
  # exactly one `QueueId`. The filter is also case sensitive so when using
10184
10195
  # the `RoutingStepExpression` filter, grouping by
@@ -10206,6 +10217,10 @@ module Aws::Connect
10206
10217
  # `AGENT_STATUS`, the only metric available is the `AGENTS_ONLINE`
10207
10218
  # metric.
10208
10219
  #
10220
+ # * If you group by `SUBTYPE` or `VALIDATION_TEST_TYPE` as secondary
10221
+ # grouping then you must include `QUEUE` as primary grouping and use
10222
+ # Queue as filter
10223
+ #
10209
10224
  # * If you group by `ROUTING_PROFILE`, you must include either a queue
10210
10225
  # or routing profile filter. In addition, a routing profile filter is
10211
10226
  # required for metrics `CONTACTS_SCHEDULED`, `CONTACTS_IN_QUEUE`, and
@@ -10215,11 +10230,17 @@ module Aws::Connect
10215
10230
  # `ROUTING_STEP_EXPRESSION` is required.
10216
10231
  #
10217
10232
  # @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
10233
+ # The metrics to retrieve. Specify the name or metricId, and unit for
10234
+ # each metric. The following metrics are available. For a description of
10235
+ # all the metrics, see [Metrics definitions][1] in the *Amazon Connect
10221
10236
  # Administrator Guide*.
10222
10237
  #
10238
+ # <note markdown="1"> MetricId should be used to reference custom metrics or out of the box
10239
+ # metrics as Arn. If using MetricId, the limit is 10 MetricId per
10240
+ # request.
10241
+ #
10242
+ # </note>
10243
+ #
10223
10244
  # AGENTS\_AFTER\_CONTACT\_WORK
10224
10245
  #
10225
10246
  # : Unit: COUNT
@@ -10375,11 +10396,14 @@ module Aws::Connect
10375
10396
  # routing_profiles: ["RoutingProfileId"],
10376
10397
  # routing_step_expressions: ["RoutingExpression"],
10377
10398
  # agent_statuses: ["AgentStatusId"],
10399
+ # subtypes: ["Subtype"],
10400
+ # validation_test_types: ["ValidationTestType"],
10378
10401
  # },
10379
- # groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, ROUTING_STEP_EXPRESSION, AGENT_STATUS
10402
+ # groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, ROUTING_STEP_EXPRESSION, AGENT_STATUS, SUBTYPE, VALIDATION_TEST_TYPE
10380
10403
  # current_metrics: [ # required
10381
10404
  # {
10382
10405
  # 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
10406
+ # metric_id: "CurrentMetricId",
10383
10407
  # unit: "SECONDS", # accepts SECONDS, COUNT, PERCENT
10384
10408
  # },
10385
10409
  # ],
@@ -10405,8 +10429,11 @@ module Aws::Connect
10405
10429
  # resp.metric_results[0].dimensions.routing_step_expression #=> String
10406
10430
  # resp.metric_results[0].dimensions.agent_status.arn #=> String
10407
10431
  # resp.metric_results[0].dimensions.agent_status.id #=> String
10432
+ # resp.metric_results[0].dimensions.subtype #=> String
10433
+ # resp.metric_results[0].dimensions.validation_test_type #=> String
10408
10434
  # resp.metric_results[0].collections #=> Array
10409
10435
  # 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"
10436
+ # resp.metric_results[0].collections[0].metric.metric_id #=> String
10410
10437
  # resp.metric_results[0].collections[0].metric.unit #=> String, one of "SECONDS", "COUNT", "PERCENT"
10411
10438
  # resp.metric_results[0].collections[0].value #=> Float
10412
10439
  # resp.data_snapshot_time #=> Time
@@ -11040,8 +11067,10 @@ module Aws::Connect
11040
11067
  # routing_profiles: ["RoutingProfileId"],
11041
11068
  # routing_step_expressions: ["RoutingExpression"],
11042
11069
  # agent_statuses: ["AgentStatusId"],
11070
+ # subtypes: ["Subtype"],
11071
+ # validation_test_types: ["ValidationTestType"],
11043
11072
  # },
11044
- # groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, ROUTING_STEP_EXPRESSION, AGENT_STATUS
11073
+ # groupings: ["QUEUE"], # accepts QUEUE, CHANNEL, ROUTING_PROFILE, ROUTING_STEP_EXPRESSION, AGENT_STATUS, SUBTYPE, VALIDATION_TEST_TYPE
11045
11074
  # historical_metrics: [ # required
11046
11075
  # {
11047
11076
  # 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 +11098,8 @@ module Aws::Connect
11069
11098
  # resp.metric_results[0].dimensions.routing_step_expression #=> String
11070
11099
  # resp.metric_results[0].dimensions.agent_status.arn #=> String
11071
11100
  # resp.metric_results[0].dimensions.agent_status.id #=> String
11101
+ # resp.metric_results[0].dimensions.subtype #=> String
11102
+ # resp.metric_results[0].dimensions.validation_test_type #=> String
11072
11103
  # resp.metric_results[0].collections #=> Array
11073
11104
  # 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
11105
  # resp.metric_results[0].collections[0].metric.threshold.comparison #=> String, one of "LT"
@@ -14386,8 +14417,8 @@ module Aws::Connect
14386
14417
 
14387
14418
  # Returns all attributes for a specified data table. A maximum of 100
14388
14419
  # 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.
14420
+ # increase by using Amazon Web Services Service Quotas. The response can
14421
+ # be filtered by specific attribute IDs for CloudFormation integration.
14391
14422
  #
14392
14423
  # @option params [required, String] :instance_id
14393
14424
  # The unique identifier for the Amazon Connect instance.
@@ -15555,8 +15586,8 @@ module Aws::Connect
15555
15586
  # claimed to. You can [find the instance ID][1] in the Amazon Resource
15556
15587
  # Name (ARN) of the instance. If both `TargetArn` and `InstanceId` are
15557
15588
  # 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.
15589
+ # instances belonging to your account in the same Amazon Web Services
15590
+ # Region as the request.
15560
15591
  #
15561
15592
  #
15562
15593
  #
@@ -21019,13 +21050,6 @@ module Aws::Connect
21019
21050
  # customer ends the chat session, allowing them to continue through
21020
21051
  # disconnect flows such as surveys or feedback forms.
21021
21052
  #
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
21053
  # @return [Types::StartChatContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
21030
21054
  #
21031
21055
  # * {Types::StartChatContactResponse#contact_id #contact_id} => String
@@ -21551,31 +21575,36 @@ module Aws::Connect
21551
21575
  req.send_request(options)
21552
21576
  end
21553
21577
 
21554
- # Initiates a new outbound SMS contact to a customer. Response of this
21555
- # API provides the `ContactId` of the outbound SMS contact created.
21578
+ # Initiates a new outbound SMS or WhatsApp contact to a customer.
21579
+ # Response of this API provides the `ContactId` of the outbound SMS or
21580
+ # WhatsApp contact created.
21556
21581
  #
21557
21582
  # **SourceEndpoint** only supports Endpoints with
21558
21583
  # `CONNECT_PHONENUMBER_ARN` as Type and **DestinationEndpoint** only
21559
21584
  # supports Endpoints with `TELEPHONE_NUMBER` as Type. **ContactFlowId**
21560
- # initiates the flow to manage the new SMS contact created.
21585
+ # initiates the flow to manage the new contact created.
21561
21586
  #
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.
21587
+ # This API can be used to initiate outbound SMS or WhatsApp contacts for
21588
+ # an agent, or it can also deflect an ongoing contact to an outbound SMS
21589
+ # or WhatsApp contact by using the [StartOutboundChatContact][1] Flow
21590
+ # Action.
21565
21591
  #
21566
- # For more information about using SMS in Amazon Connect, see the
21567
- # following topics in the *Amazon Connect Administrator Guide*:
21592
+ # For more information about using SMS or WhatsApp in Amazon Connect,
21593
+ # see the following topics in the *Amazon Connect Administrator Guide*:
21568
21594
  #
21569
21595
  # * [Set up SMS messaging][2]
21570
21596
  #
21571
- # * [Request an SMS-enabled phone number through AWS End User Messaging
21572
- # SMS][3]
21597
+ # * [Request an SMS-enabled phone number through Amazon Web Services End
21598
+ # User Messaging SMS][3]
21599
+ #
21600
+ # * [Set up WhatsApp Business messaging][4]
21573
21601
  #
21574
21602
  #
21575
21603
  #
21576
21604
  # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_StartOutboundChatContact.html
21577
21605
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-sms-messaging.html
21578
21606
  # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/sms-number.html
21607
+ # [4]: https://docs.aws.amazon.com/connect/latest/adminguide/whatsapp-integration.html
21579
21608
  #
21580
21609
  # @option params [required, Types::Endpoint] :source_endpoint
21581
21610
  # Information about the endpoint.
@@ -21595,7 +21624,7 @@ module Aws::Connect
21595
21624
  # * Attribute keys can include only alphanumeric, `-`, and `_`.
21596
21625
  #
21597
21626
  # * This field can be used to show channel subtype, such as
21598
- # `connect:Guide` and `connect:SMS`.
21627
+ # `connect:SMS` and `connect:WhatsApp`.
21599
21628
  #
21600
21629
  # @option params [Hash<String,String>] :attributes
21601
21630
  # A custom key-value pair using an attribute map. The attributes are
@@ -21658,11 +21687,11 @@ module Aws::Connect
21658
21687
  #
21659
21688
  # @option params [String] :client_token
21660
21689
  # 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.
21690
+ # idempotency of the request. If not provided, the Amazon Web Services
21691
+ # SDK populates this field. For more information about idempotency, see
21692
+ # [Making retries safe with idempotent APIs][1]. The token is valid for
21693
+ # 7 days after creation. If a contact is already started, the contact ID
21694
+ # is returned.
21666
21695
  #
21667
21696
  # **A suitable default value is auto-generated.** You should normally
21668
21697
  # not need to pass this option.**
@@ -26819,7 +26848,7 @@ module Aws::Connect
26819
26848
  tracer: tracer
26820
26849
  )
26821
26850
  context[:gem_name] = 'aws-sdk-connect'
26822
- context[:gem_version] = '1.229.0'
26851
+ context[:gem_version] = '1.230.0'
26823
26852
  Seahorse::Client::Request.new(handlers, context)
26824
26853
  end
26825
26854
 
@@ -402,6 +402,7 @@ module Aws::Connect
402
402
  CurrentMetric = Shapes::StructureShape.new(name: 'CurrentMetric')
403
403
  CurrentMetricData = Shapes::StructureShape.new(name: 'CurrentMetricData')
404
404
  CurrentMetricDataCollections = Shapes::ListShape.new(name: 'CurrentMetricDataCollections')
405
+ CurrentMetricId = Shapes::StringShape.new(name: 'CurrentMetricId')
405
406
  CurrentMetricName = Shapes::StringShape.new(name: 'CurrentMetricName')
406
407
  CurrentMetricResult = Shapes::StructureShape.new(name: 'CurrentMetricResult')
407
408
  CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
@@ -1670,6 +1671,7 @@ module Aws::Connect
1670
1671
  SubmitContactEvaluationRequest = Shapes::StructureShape.new(name: 'SubmitContactEvaluationRequest')
1671
1672
  SubmitContactEvaluationResponse = Shapes::StructureShape.new(name: 'SubmitContactEvaluationResponse')
1672
1673
  Subtype = Shapes::StringShape.new(name: 'Subtype')
1674
+ Subtypes = Shapes::ListShape.new(name: 'Subtypes')
1673
1675
  SuccessfulBatchAssociationSummary = Shapes::StructureShape.new(name: 'SuccessfulBatchAssociationSummary')
1674
1676
  SuccessfulBatchAssociationSummaryList = Shapes::ListShape.new(name: 'SuccessfulBatchAssociationSummaryList')
1675
1677
  SuccessfulRequest = Shapes::StructureShape.new(name: 'SuccessfulRequest')
@@ -1895,6 +1897,8 @@ module Aws::Connect
1895
1897
  Validation = Shapes::StructureShape.new(name: 'Validation')
1896
1898
  ValidationEnum = Shapes::StructureShape.new(name: 'ValidationEnum')
1897
1899
  ValidationEnumValues = Shapes::ListShape.new(name: 'ValidationEnumValues')
1900
+ ValidationTestType = Shapes::StringShape.new(name: 'ValidationTestType')
1901
+ ValidationTestTypes = Shapes::ListShape.new(name: 'ValidationTestTypes')
1898
1902
  Value = Shapes::FloatShape.new(name: 'Value')
1899
1903
  ValueBoundary = Shapes::IntegerShape.new(name: 'ValueBoundary')
1900
1904
  ValueList = Shapes::ListShape.new(name: 'ValueList')
@@ -3411,6 +3415,7 @@ module Aws::Connect
3411
3415
  CrossChannelBehavior.struct_class = Types::CrossChannelBehavior
3412
3416
 
3413
3417
  CurrentMetric.add_member(:name, Shapes::ShapeRef.new(shape: CurrentMetricName, location_name: "Name"))
3418
+ CurrentMetric.add_member(:metric_id, Shapes::ShapeRef.new(shape: CurrentMetricId, location_name: "MetricId"))
3414
3419
  CurrentMetric.add_member(:unit, Shapes::ShapeRef.new(shape: Unit, location_name: "Unit"))
3415
3420
  CurrentMetric.struct_class = Types::CurrentMetric
3416
3421
 
@@ -4027,6 +4032,8 @@ module Aws::Connect
4027
4032
  Dimensions.add_member(:routing_profile, Shapes::ShapeRef.new(shape: RoutingProfileReference, location_name: "RoutingProfile"))
4028
4033
  Dimensions.add_member(:routing_step_expression, Shapes::ShapeRef.new(shape: RoutingExpression, location_name: "RoutingStepExpression"))
4029
4034
  Dimensions.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatusIdentifier, location_name: "AgentStatus"))
4035
+ Dimensions.add_member(:subtype, Shapes::ShapeRef.new(shape: Subtype, location_name: "Subtype"))
4036
+ Dimensions.add_member(:validation_test_type, Shapes::ShapeRef.new(shape: ValidationTestType, location_name: "ValidationTestType"))
4030
4037
  Dimensions.struct_class = Types::Dimensions
4031
4038
 
4032
4039
  DimensionsV2Map.key = Shapes::ShapeRef.new(shape: DimensionsV2Key)
@@ -4766,6 +4773,8 @@ module Aws::Connect
4766
4773
  Filters.add_member(:routing_profiles, Shapes::ShapeRef.new(shape: RoutingProfiles, location_name: "RoutingProfiles"))
4767
4774
  Filters.add_member(:routing_step_expressions, Shapes::ShapeRef.new(shape: RoutingExpressions, location_name: "RoutingStepExpressions"))
4768
4775
  Filters.add_member(:agent_statuses, Shapes::ShapeRef.new(shape: AgentStatuses, location_name: "AgentStatuses"))
4776
+ Filters.add_member(:subtypes, Shapes::ShapeRef.new(shape: Subtypes, location_name: "Subtypes"))
4777
+ Filters.add_member(:validation_test_types, Shapes::ShapeRef.new(shape: ValidationTestTypes, location_name: "ValidationTestTypes"))
4769
4778
  Filters.struct_class = Types::Filters
4770
4779
 
4771
4780
  FiltersV2List.member = Shapes::ShapeRef.new(shape: FilterV2)
@@ -7576,6 +7585,8 @@ module Aws::Connect
7576
7585
  SubmitContactEvaluationResponse.add_member(:evaluation_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "EvaluationArn"))
7577
7586
  SubmitContactEvaluationResponse.struct_class = Types::SubmitContactEvaluationResponse
7578
7587
 
7588
+ Subtypes.member = Shapes::ShapeRef.new(shape: Subtype)
7589
+
7579
7590
  SuccessfulBatchAssociationSummary.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
7580
7591
  SuccessfulBatchAssociationSummary.struct_class = Types::SuccessfulBatchAssociationSummary
7581
7592
 
@@ -8428,6 +8439,8 @@ module Aws::Connect
8428
8439
 
8429
8440
  ValidationEnumValues.member = Shapes::ShapeRef.new(shape: String)
8430
8441
 
8442
+ ValidationTestTypes.member = Shapes::ShapeRef.new(shape: ValidationTestType)
8443
+
8431
8444
  ValueList.member = Shapes::ShapeRef.new(shape: String)
8432
8445
 
8433
8446
  View.add_member(:id, Shapes::ShapeRef.new(shape: ViewId, location_name: "Id"))
@@ -7407,6 +7407,8 @@ module Aws::Connect
7407
7407
  # each metric, see [Metrics definitions][1] in the *Amazon Connect
7408
7408
  # Administrator Guide*.
7409
7409
  #
7410
+ # Only one of either the Name or MetricId is required.
7411
+ #
7410
7412
  #
7411
7413
  #
7412
7414
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html
@@ -7415,7 +7417,16 @@ module Aws::Connect
7415
7417
  # The name of the metric.
7416
7418
  # @return [String]
7417
7419
  #
7420
+ # @!attribute [rw] metric_id
7421
+ # Out of the box current metrics or custom metrics can be referenced
7422
+ # via this field. This field is a valid AWS Connect Arn or a UUID.
7423
+ # @return [String]
7424
+ #
7418
7425
  # @!attribute [rw] unit
7426
+ # <note markdown="1"> The Unit parameter is not supported for custom metrics.
7427
+ #
7428
+ # </note>
7429
+ #
7419
7430
  # The unit for the metric.
7420
7431
  # @return [String]
7421
7432
  #
@@ -7423,6 +7434,7 @@ module Aws::Connect
7423
7434
  #
7424
7435
  class CurrentMetric < Struct.new(
7425
7436
  :name,
7437
+ :metric_id,
7426
7438
  :unit)
7427
7439
  SENSITIVE = []
7428
7440
  include Aws::Structure
@@ -7616,8 +7628,8 @@ module Aws::Connect
7616
7628
  # @return [Time]
7617
7629
  #
7618
7630
  # @!attribute [rw] last_modified_region
7619
- # The AWS region where the data table was last modified, used for
7620
- # region replication.
7631
+ # The Amazon Web Services Region where the data table was last
7632
+ # modified, used for region replication.
7621
7633
  # @return [String]
7622
7634
  #
7623
7635
  # @!attribute [rw] tags
@@ -7716,8 +7728,8 @@ module Aws::Connect
7716
7728
  # @return [Time]
7717
7729
  #
7718
7730
  # @!attribute [rw] last_modified_region
7719
- # The AWS region where this attribute was last modified, used for
7720
- # region replication.
7731
+ # The Amazon Web Services Region where this attribute was last
7732
+ # modified, used for region replication.
7721
7733
  # @return [String]
7722
7734
  #
7723
7735
  # @!attribute [rw] validation
@@ -10312,6 +10324,14 @@ module Aws::Connect
10312
10324
  # Information about the agent status assigned to the user.
10313
10325
  # @return [Types::AgentStatusIdentifier]
10314
10326
  #
10327
+ # @!attribute [rw] subtype
10328
+ # The subtype of the channel used for the contact.
10329
+ # @return [String]
10330
+ #
10331
+ # @!attribute [rw] validation_test_type
10332
+ # The testing and simulation type
10333
+ # @return [String]
10334
+ #
10315
10335
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Dimensions AWS API Documentation
10316
10336
  #
10317
10337
  class Dimensions < Struct.new(
@@ -10319,7 +10339,9 @@ module Aws::Connect
10319
10339
  :channel,
10320
10340
  :routing_profile,
10321
10341
  :routing_step_expression,
10322
- :agent_status)
10342
+ :agent_status,
10343
+ :subtype,
10344
+ :validation_test_type)
10323
10345
  SENSITIVE = []
10324
10346
  include Aws::Structure
10325
10347
  end
@@ -13636,6 +13658,14 @@ module Aws::Connect
13636
13658
  # A list of up to 50 agent status IDs or ARNs.
13637
13659
  # @return [Array<String>]
13638
13660
  #
13661
+ # @!attribute [rw] subtypes
13662
+ # A list of up to 10 subtypes can be provided.
13663
+ # @return [Array<String>]
13664
+ #
13665
+ # @!attribute [rw] validation_test_types
13666
+ # A list of up to 10 validationTestTypes can be provided.
13667
+ # @return [Array<String>]
13668
+ #
13639
13669
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Filters AWS API Documentation
13640
13670
  #
13641
13671
  class Filters < Struct.new(
@@ -13643,7 +13673,9 @@ module Aws::Connect
13643
13673
  :channels,
13644
13674
  :routing_profiles,
13645
13675
  :routing_step_expressions,
13646
- :agent_statuses)
13676
+ :agent_statuses,
13677
+ :subtypes,
13678
+ :validation_test_types)
13647
13679
  SENSITIVE = []
13648
13680
  include Aws::Structure
13649
13681
  end
@@ -13936,6 +13968,10 @@ module Aws::Connect
13936
13968
  #
13937
13969
  # * AgentStatuses: 50
13938
13970
  #
13971
+ # * Subtypes: 10
13972
+ #
13973
+ # * ValidationTestTypes: 10
13974
+ #
13939
13975
  # Metric data is retrieved only for the resources associated with the
13940
13976
  # queues or routing profiles, and by any channels included in the
13941
13977
  # filter. (You cannot filter by both queue AND routing profile.) You
@@ -13944,6 +13980,12 @@ module Aws::Connect
13944
13980
  # When using `AgentStatuses` as filter make sure Queues is added as
13945
13981
  # primary filter.
13946
13982
  #
13983
+ # When using `Subtypes` as filter make sure Queues is added as primary
13984
+ # filter.
13985
+ #
13986
+ # When using `ValidationTestTypes` as filter make sure Queues is added
13987
+ # as primary filter.
13988
+ #
13947
13989
  # When using the `RoutingStepExpression` filter, you need to pass
13948
13990
  # exactly one `QueueId`. The filter is also case sensitive so when
13949
13991
  # using the `RoutingStepExpression` filter, grouping by
@@ -13972,6 +14014,10 @@ module Aws::Connect
13972
14014
  # `AGENT_STATUS`, the only metric available is the `AGENTS_ONLINE`
13973
14015
  # metric.
13974
14016
  #
14017
+ # * If you group by `SUBTYPE` or `VALIDATION_TEST_TYPE` as secondary
14018
+ # grouping then you must include `QUEUE` as primary grouping and use
14019
+ # Queue as filter
14020
+ #
13975
14021
  # * If you group by `ROUTING_PROFILE`, you must include either a queue
13976
14022
  # or routing profile filter. In addition, a routing profile filter
13977
14023
  # is required for metrics `CONTACTS_SCHEDULED`, `CONTACTS_IN_QUEUE`,
@@ -13982,10 +14028,16 @@ module Aws::Connect
13982
14028
  # @return [Array<String>]
13983
14029
  #
13984
14030
  # @!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*.
14031
+ # The metrics to retrieve. Specify the name or metricId, and unit for
14032
+ # each metric. The following metrics are available. For a description
14033
+ # of all the metrics, see [Metrics definitions][1] in the *Amazon
14034
+ # Connect Administrator Guide*.
14035
+ #
14036
+ # <note markdown="1"> MetricId should be used to reference custom metrics or out of the
14037
+ # box metrics as Arn. If using MetricId, the limit is 10 MetricId per
14038
+ # request.
14039
+ #
14040
+ # </note>
13989
14041
  #
13990
14042
  # AGENTS\_AFTER\_CONTACT\_WORK
13991
14043
  #
@@ -20578,8 +20630,8 @@ module Aws::Connect
20578
20630
  # claimed to. You can [find the instance ID][1] in the Amazon Resource
20579
20631
  # Name (ARN) of the instance. If both `TargetArn` and `InstanceId` are
20580
20632
  # 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.
20633
+ # Connect instances belonging to your account in the same Amazon Web
20634
+ # Services Region as the request.
20583
20635
  #
20584
20636
  #
20585
20637
  #
@@ -29017,13 +29069,6 @@ module Aws::Connect
29017
29069
  # A list of participant types to automatically disconnect when the end
29018
29070
  # customer ends the chat session, allowing them to continue through
29019
29071
  # 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
29072
  # @return [Array<String>]
29028
29073
  #
29029
29074
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartChatContactRequest AWS API Documentation
@@ -29446,7 +29491,7 @@ module Aws::Connect
29446
29491
  # * Attribute keys can include only alphanumeric, `-`, and `_`.
29447
29492
  #
29448
29493
  # * This field can be used to show channel subtype, such as
29449
- # `connect:Guide` and `connect:SMS`.
29494
+ # `connect:SMS` and `connect:WhatsApp`.
29450
29495
  # @return [Hash<String,Types::SegmentAttributeValue>]
29451
29496
  #
29452
29497
  # @!attribute [rw] attributes
@@ -29518,11 +29563,11 @@ module Aws::Connect
29518
29563
  #
29519
29564
  # @!attribute [rw] client_token
29520
29565
  # 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.
29566
+ # idempotency of the request. If not provided, the Amazon Web Services
29567
+ # SDK populates this field. For more information about idempotency,
29568
+ # see [Making retries safe with idempotent APIs][1]. The token is
29569
+ # valid for 7 days after creation. If a contact is already started,
29570
+ # the contact ID is returned.
29526
29571
  #
29527
29572
  # **A suitable default value is auto-generated.** You should normally
29528
29573
  # not need to pass this option.
@@ -35277,7 +35322,8 @@ module Aws::Connect
35277
35322
  # @return [Time]
35278
35323
  #
35279
35324
  # @!attribute [rw] last_modified_region
35280
- # The AWS Region where the workspace was last modified.
35325
+ # The Amazon Web Services Region where the workspace was last
35326
+ # modified.
35281
35327
  # @return [String]
35282
35328
  #
35283
35329
  # @!attribute [rw] tags
@@ -35543,7 +35589,8 @@ module Aws::Connect
35543
35589
  # @return [Time]
35544
35590
  #
35545
35591
  # @!attribute [rw] last_modified_region
35546
- # The AWS Region where the workspace was last modified.
35592
+ # The Amazon Web Services Region where the workspace was last
35593
+ # modified.
35547
35594
  # @return [String]
35548
35595
  #
35549
35596
  # @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.230.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/types.rbs CHANGED
@@ -1752,6 +1752,7 @@ module Aws::Connect
1752
1752
 
1753
1753
  class CurrentMetric
1754
1754
  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")
1755
+ attr_accessor metric_id: ::String
1755
1756
  attr_accessor unit: ("SECONDS" | "COUNT" | "PERCENT")
1756
1757
  SENSITIVE: []
1757
1758
  end
@@ -2608,6 +2609,8 @@ module Aws::Connect
2608
2609
  attr_accessor routing_profile: Types::RoutingProfileReference
2609
2610
  attr_accessor routing_step_expression: ::String
2610
2611
  attr_accessor agent_status: Types::AgentStatusIdentifier
2612
+ attr_accessor subtype: ::String
2613
+ attr_accessor validation_test_type: ::String
2611
2614
  SENSITIVE: []
2612
2615
  end
2613
2616
 
@@ -3521,6 +3524,8 @@ module Aws::Connect
3521
3524
  attr_accessor routing_profiles: ::Array[::String]
3522
3525
  attr_accessor routing_step_expressions: ::Array[::String]
3523
3526
  attr_accessor agent_statuses: ::Array[::String]
3527
+ attr_accessor subtypes: ::Array[::String]
3528
+ attr_accessor validation_test_types: ::Array[::String]
3524
3529
  SENSITIVE: []
3525
3530
  end
3526
3531
 
@@ -3598,7 +3603,7 @@ module Aws::Connect
3598
3603
  class GetCurrentMetricDataRequest
3599
3604
  attr_accessor instance_id: ::String
3600
3605
  attr_accessor filters: Types::Filters
3601
- attr_accessor groupings: ::Array[("QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS")]
3606
+ attr_accessor groupings: ::Array[("QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS" | "SUBTYPE" | "VALIDATION_TEST_TYPE")]
3602
3607
  attr_accessor current_metrics: ::Array[Types::CurrentMetric]
3603
3608
  attr_accessor next_token: ::String
3604
3609
  attr_accessor max_results: ::Integer
@@ -3675,7 +3680,7 @@ module Aws::Connect
3675
3680
  attr_accessor start_time: ::Time
3676
3681
  attr_accessor end_time: ::Time
3677
3682
  attr_accessor filters: Types::Filters
3678
- attr_accessor groupings: ::Array[("QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS")]
3683
+ attr_accessor groupings: ::Array[("QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS" | "SUBTYPE" | "VALIDATION_TEST_TYPE")]
3679
3684
  attr_accessor historical_metrics: ::Array[Types::HistoricalMetric]
3680
3685
  attr_accessor next_token: ::String
3681
3686
  attr_accessor max_results: ::Integer
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.230.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services