@aws-sdk/client-connect 3.421.0 → 3.424.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.
Files changed (26) hide show
  1. package/dist-cjs/models/models_1.js +9 -9
  2. package/dist-cjs/models/models_2.js +9 -1
  3. package/dist-cjs/protocols/Aws_restJson1.js +9 -0
  4. package/dist-es/models/models_1.js +8 -8
  5. package/dist-es/models/models_2.js +8 -0
  6. package/dist-es/protocols/Aws_restJson1.js +9 -0
  7. package/dist-types/commands/CreateSecurityProfileCommand.d.ts +1 -2
  8. package/dist-types/commands/CreateViewCommand.d.ts +7 -5
  9. package/dist-types/commands/CreateViewVersionCommand.d.ts +3 -3
  10. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -2
  11. package/dist-types/commands/DeleteViewCommand.d.ts +2 -1
  12. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -2
  13. package/dist-types/commands/DescribeViewCommand.d.ts +4 -4
  14. package/dist-types/commands/GetMetricDataV2Command.d.ts +12 -2
  15. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -2
  16. package/dist-types/commands/ListViewVersionsCommand.d.ts +2 -1
  17. package/dist-types/commands/UpdateParticipantRoleConfigCommand.d.ts +1 -1
  18. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -2
  19. package/dist-types/commands/UpdateViewContentCommand.d.ts +6 -4
  20. package/dist-types/models/models_0.d.ts +40 -24
  21. package/dist-types/models/models_1.d.ts +223 -83
  22. package/dist-types/models/models_2.d.ts +65 -6
  23. package/dist-types/ts3.4/commands/UpdateParticipantRoleConfigCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/models/models_1.d.ts +22 -27
  25. package/dist-types/ts3.4/models/models_2.d.ts +28 -0
  26. package/package.json +3 -3
@@ -1392,6 +1392,80 @@ export interface FilterV2 {
1392
1392
  */
1393
1393
  FilterValues?: string[];
1394
1394
  }
1395
+ /**
1396
+ * @public
1397
+ * @enum
1398
+ */
1399
+ export declare const IntervalPeriod: {
1400
+ readonly DAY: "DAY";
1401
+ readonly FIFTEEN_MIN: "FIFTEEN_MIN";
1402
+ readonly HOUR: "HOUR";
1403
+ readonly THIRTY_MIN: "THIRTY_MIN";
1404
+ readonly TOTAL: "TOTAL";
1405
+ readonly WEEK: "WEEK";
1406
+ };
1407
+ /**
1408
+ * @public
1409
+ */
1410
+ export type IntervalPeriod = (typeof IntervalPeriod)[keyof typeof IntervalPeriod];
1411
+ /**
1412
+ * @public
1413
+ * <p>Information about the interval period to use for returning results.</p>
1414
+ */
1415
+ export interface IntervalDetails {
1416
+ /**
1417
+ * @public
1418
+ * <p>The timezone applied to requested metrics.</p>
1419
+ */
1420
+ TimeZone?: string;
1421
+ /**
1422
+ * @public
1423
+ * <p>
1424
+ * <code>IntervalPeriod</code>: An aggregated grouping applied to request metrics. Valid
1425
+ * <code>IntervalPeriod</code> values are: <code>FIFTEEN_MIN</code> | <code>THIRTY_MIN</code> |
1426
+ * <code>HOUR</code> | <code>DAY</code> | <code>WEEK</code> | <code>TOTAL</code>. </p>
1427
+ * <p>For example, if <code>IntervalPeriod</code> is selected <code>THIRTY_MIN</code>,
1428
+ * <code>StartTime</code> and <code>EndTime</code> differs by 1 day, then Amazon Connect
1429
+ * returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By
1430
+ * default Amazon Connect aggregates results based on the <code>TOTAL</code> interval period. </p>
1431
+ * <p>The following list describes restrictions on <code>StartTime</code> and <code>EndTime</code>
1432
+ * based on what <code>IntervalPeriod</code> is requested. </p>
1433
+ * <ul>
1434
+ * <li>
1435
+ * <p>
1436
+ * <code>FIFTEEN_MIN</code>: The
1437
+ * difference between <code>StartTime</code> and <code>EndTime</code> must be less than 3
1438
+ * days.</p>
1439
+ * </li>
1440
+ * <li>
1441
+ * <p>
1442
+ * <code>THIRTY_MIN</code>: The difference between <code>StartTime</code> and
1443
+ * <code>EndTime</code> must be less than 3 days.</p>
1444
+ * </li>
1445
+ * <li>
1446
+ * <p>
1447
+ * <code>HOUR</code>: The difference between <code>StartTime</code> and <code>EndTime</code>
1448
+ * must be less than 3 days.</p>
1449
+ * </li>
1450
+ * <li>
1451
+ * <p>
1452
+ * <code>DAY</code>: The difference between <code>StartTime</code> and <code>EndTime</code>
1453
+ * must be less than 35 days.</p>
1454
+ * </li>
1455
+ * <li>
1456
+ * <p>
1457
+ * <code>WEEK</code>: The difference between <code>StartTime</code> and <code>EndTime</code>
1458
+ * must be less than 35 days.</p>
1459
+ * </li>
1460
+ * <li>
1461
+ * <p>
1462
+ * <code>TOTAL</code>: The difference between <code>StartTime</code> and <code>EndTime</code>
1463
+ * must be less than 35 days.</p>
1464
+ * </li>
1465
+ * </ul>
1466
+ */
1467
+ IntervalPeriod?: IntervalPeriod | string;
1468
+ }
1395
1469
  /**
1396
1470
  * @public
1397
1471
  * <p>Contains information about the filter used when retrieving metrics.
@@ -1424,6 +1498,13 @@ export interface MetricFilterV2 {
1424
1498
  * </p>
1425
1499
  */
1426
1500
  MetricFilterValues?: string[];
1501
+ /**
1502
+ * @public
1503
+ * <p>The flag to use to filter on requested metric filter values or to not filter on requested
1504
+ * metric filter values. By default the negate is <code>false</code>, which indicates to filter on
1505
+ * the requested metric filter. </p>
1506
+ */
1507
+ Negate?: boolean;
1427
1508
  }
1428
1509
  /**
1429
1510
  * @public
@@ -1478,9 +1559,9 @@ export interface GetMetricDataV2Request {
1478
1559
  /**
1479
1560
  * @public
1480
1561
  * <p>The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the
1481
- * retrieval of historical metrics data. The time must be before the end time timestamp. The time
1482
- * range between the start and end time must be less than 24 hours. The start time cannot be earlier
1483
- * than 35 days before the time of the request. Historical metrics are available for 35 days.</p>
1562
+ * retrieval of historical metrics data. The time must be before the end time timestamp. The start
1563
+ * and end time depends on the <code>IntervalPeriod</code> selected. By default the time range between
1564
+ * start and end time is 35 days. Historical metrics are available for 3 months.</p>
1484
1565
  */
1485
1566
  StartTime: Date | undefined;
1486
1567
  /**
@@ -1488,9 +1569,63 @@ export interface GetMetricDataV2Request {
1488
1569
  * <p>The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the
1489
1570
  * retrieval of historical metrics data. The time must be later than the start time timestamp. It
1490
1571
  * cannot be later than the current timestamp.</p>
1491
- * <p>The time range between the start and end time must be less than 24 hours.</p>
1492
1572
  */
1493
1573
  EndTime: Date | undefined;
1574
+ /**
1575
+ * @public
1576
+ * <p>The interval period and timezone to apply to returned metrics.</p>
1577
+ * <ul>
1578
+ * <li>
1579
+ * <p>
1580
+ * <code>IntervalPeriod</code>: An aggregated grouping applied to request metrics. Valid
1581
+ * <code>IntervalPeriod</code> values are: <code>FIFTEEN_MIN</code> | <code>THIRTY_MIN</code> |
1582
+ * <code>HOUR</code> | <code>DAY</code> | <code>WEEK</code> | <code>TOTAL</code>. </p>
1583
+ * <p>For example, if <code>IntervalPeriod</code> is selected <code>THIRTY_MIN</code>,
1584
+ * <code>StartTime</code> and <code>EndTime</code> differs by 1 day, then Amazon Connect
1585
+ * returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By
1586
+ * default Amazon Connect aggregates results based on the <code>TOTAL</code> interval period. </p>
1587
+ * <p>The following list describes restrictions on <code>StartTime</code> and
1588
+ * <code>EndTime</code> based on which <code>IntervalPeriod</code> is requested. </p>
1589
+ * <ul>
1590
+ * <li>
1591
+ * <p>
1592
+ * <code>FIFTEEN_MIN</code>: The difference between <code>StartTime</code> and <code>EndTime</code> must be less than 3
1593
+ * days.</p>
1594
+ * </li>
1595
+ * <li>
1596
+ * <p>
1597
+ * <code>THIRTY_MIN</code>: The difference between <code>StartTime</code> and
1598
+ * <code>EndTime</code> must be less than 3 days.</p>
1599
+ * </li>
1600
+ * <li>
1601
+ * <p>
1602
+ * <code>HOUR</code>: The difference between <code>StartTime</code> and
1603
+ * <code>EndTime</code> must be less than 3 days.</p>
1604
+ * </li>
1605
+ * <li>
1606
+ * <p>
1607
+ * <code>DAY</code>: The difference between <code>StartTime</code> and <code>EndTime</code>
1608
+ * must be less than 35 days.</p>
1609
+ * </li>
1610
+ * <li>
1611
+ * <p>
1612
+ * <code>WEEK</code>: The difference between <code>StartTime</code> and
1613
+ * <code>EndTime</code> must be less than 35 days.</p>
1614
+ * </li>
1615
+ * <li>
1616
+ * <p>
1617
+ * <code>TOTAL</code>: The difference between <code>StartTime</code> and
1618
+ * <code>EndTime</code> must be less than 35 days.</p>
1619
+ * </li>
1620
+ * </ul>
1621
+ * </li>
1622
+ * <li>
1623
+ * <p>
1624
+ * <code>TimeZone</code>: The timezone applied to requested metrics.</p>
1625
+ * </li>
1626
+ * </ul>
1627
+ */
1628
+ Interval?: IntervalDetails;
1494
1629
  /**
1495
1630
  * @public
1496
1631
  * <p>The filters to apply to returned metrics. You can filter on the following resources:</p>
@@ -1565,6 +1700,11 @@ export interface GetMetricDataV2Request {
1565
1700
  * following historical metrics are available. For a description of each metric, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html">Historical metrics definitions</a> in the <i>Amazon Connect Administrator's
1566
1701
  * Guide</i>.</p>
1567
1702
  * <dl>
1703
+ * <dt>ABANDONMENT_RATE</dt>
1704
+ * <dd>
1705
+ * <p>Unit: Percent</p>
1706
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1707
+ * </dd>
1568
1708
  * <dt>AGENT_ADHERENT_TIME</dt>
1569
1709
  * <dd>
1570
1710
  * <p>This metric is available only in Amazon Web Services Regions where <a href="https://docs.aws.amazon.com/connect/latest/adminguide/regions.html#optimization_region">Forecasting, capacity planning, and scheduling</a> is available.</p>
@@ -1576,6 +1716,12 @@ export interface GetMetricDataV2Request {
1576
1716
  * <p>Unit: Count</p>
1577
1717
  * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy </p>
1578
1718
  * </dd>
1719
+ * <dt>AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS</dt>
1720
+ * <dd>
1721
+ * <p>Unit: Count</p>
1722
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1723
+ * <p>Data for this metric is available starting from October 1, 2023 0:00:00 GMT.</p>
1724
+ * </dd>
1579
1725
  * <dt>AGENT_OCCUPANCY</dt>
1580
1726
  * <dd>
1581
1727
  * <p>Unit: Percentage</p>
@@ -1614,15 +1760,9 @@ export interface GetMetricDataV2Request {
1614
1760
  * <code>OUTBOUND</code> | <code>CALLBACK</code> | <code>API</code>
1615
1761
  * </p>
1616
1762
  * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1617
- * </dd>
1618
- * <dt>AVG_AGENT_CONNECTING_TIME</dt>
1619
- * <dd>
1620
- * <p>Unit: Seconds</p>
1621
- * <p>Valid metric filter key: <code>INITIATION_METHOD</code>. For now, this metric only
1622
- * supports the following as <code>INITIATION_METHOD</code>: <code>INBOUND</code> |
1623
- * <code>OUTBOUND</code> | <code>CALLBACK</code> | <code>API</code>
1624
- * </p>
1625
- * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1763
+ * <note>
1764
+ * <p>The <code>Negate</code> key in Metric Level Filters is not applicable for this metric.</p>
1765
+ * </note>
1626
1766
  * </dd>
1627
1767
  * <dt>AVG_CONTACT_DURATION</dt>
1628
1768
  * <dd>
@@ -1660,6 +1800,11 @@ export interface GetMetricDataV2Request {
1660
1800
  * <p>Feature is a valid filter but not a valid grouping.</p>
1661
1801
  * </note>
1662
1802
  * </dd>
1803
+ * <dt>AVG_HOLD_TIME_ALL_CONTACTS</dt>
1804
+ * <dd>
1805
+ * <p>Unit: Seconds</p>
1806
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1807
+ * </dd>
1663
1808
  * <dt>AVG_HOLDS</dt>
1664
1809
  * <dd>
1665
1810
  * <p>Unit: Count</p>
@@ -1710,6 +1855,11 @@ export interface GetMetricDataV2Request {
1710
1855
  * <p>Feature is a valid filter but not a valid grouping.</p>
1711
1856
  * </note>
1712
1857
  * </dd>
1858
+ * <dt>AVG_RESOLUTION_TIME</dt>
1859
+ * <dd>
1860
+ * <p>Unit: Seconds</p>
1861
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile</p>
1862
+ * </dd>
1713
1863
  * <dt>AVG_TALK_TIME</dt>
1714
1864
  * <dd>
1715
1865
  * <p>This metric is available only for contacts analyzed by Contact Lens conversational
@@ -1767,6 +1917,14 @@ export interface GetMetricDataV2Request {
1767
1917
  * <p>Unit: Count</p>
1768
1918
  * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1769
1919
  * </dd>
1920
+ * <dt>CONTACTS_RESOLVED_IN_X</dt>
1921
+ * <dd>
1922
+ * <p>Unit: Count</p>
1923
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile</p>
1924
+ * <p>Threshold: For <code>ThresholdValue</code> enter any whole number from 1 to 604800
1925
+ * (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>LT</code> (for
1926
+ * "Less than").</p>
1927
+ * </dd>
1770
1928
  * <dt>CONTACTS_TRANSFERRED_OUT</dt>
1771
1929
  * <dd>
1772
1930
  * <p>Unit: Count</p>
@@ -1858,6 +2016,32 @@ export interface MetricDataV2 {
1858
2016
  */
1859
2017
  Value?: number;
1860
2018
  }
2019
+ /**
2020
+ * @public
2021
+ * <p>The interval period with the start and end time for the metrics.</p>
2022
+ */
2023
+ export interface MetricInterval {
2024
+ /**
2025
+ * @public
2026
+ * <p>The interval period provided in the API request. </p>
2027
+ */
2028
+ Interval?: IntervalPeriod | string;
2029
+ /**
2030
+ * @public
2031
+ * <p>The timestamp, in UNIX Epoch time format. Start time is based on the interval period
2032
+ * selected. </p>
2033
+ */
2034
+ StartTime?: Date;
2035
+ /**
2036
+ * @public
2037
+ * <p>The timestamp, in UNIX Epoch time format. End time is based on the interval period selected.
2038
+ * For example, If <code>IntervalPeriod</code> is selected <code>THIRTY_MIN</code>,
2039
+ * <code>StartTime</code> and <code>EndTime</code> in the API request differs by 1 day, then 48
2040
+ * results are returned in the response. Each result is aggregated by the 30 minutes period, with
2041
+ * each <code>StartTime</code> and <code>EndTime</code> differing by 30 minutes. </p>
2042
+ */
2043
+ EndTime?: Date;
2044
+ }
1861
2045
  /**
1862
2046
  * @public
1863
2047
  * <p>Contains information about the metric results.</p>
@@ -1868,6 +2052,11 @@ export interface MetricResultV2 {
1868
2052
  * <p>The dimension for the metrics.</p>
1869
2053
  */
1870
2054
  Dimensions?: Record<string, string>;
2055
+ /**
2056
+ * @public
2057
+ * <p>The interval period with the start and end time for the metrics.</p>
2058
+ */
2059
+ MetricInterval?: MetricInterval;
1871
2060
  /**
1872
2061
  * @public
1873
2062
  * <p>The set of metrics.</p>
@@ -4134,7 +4323,8 @@ export interface ListSecurityProfileApplicationsRequest {
4134
4323
  export interface ListSecurityProfileApplicationsResponse {
4135
4324
  /**
4136
4325
  * @public
4137
- * <p>A list of the third party application's metadata.</p>
4326
+ * <p>This API is in preview release for Amazon Connect and is subject to change.</p>
4327
+ * <p>A list of the third party application's metadata.</p>
4138
4328
  */
4139
4329
  Applications?: Application[];
4140
4330
  /**
@@ -4687,7 +4877,8 @@ export interface ListUsersResponse {
4687
4877
  export interface ListViewsRequest {
4688
4878
  /**
4689
4879
  * @public
4690
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
4880
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
4881
+ * the instance.</p>
4691
4882
  */
4692
4883
  InstanceId: string | undefined;
4693
4884
  /**
@@ -4697,8 +4888,8 @@ export interface ListViewsRequest {
4697
4888
  Type?: ViewType | string;
4698
4889
  /**
4699
4890
  * @public
4700
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
4701
- * retrieve the next set of results.</p>
4891
+ * <p>The token for the next set of results. Use the value returned in the previous response in
4892
+ * the next request to retrieve the next set of results.</p>
4702
4893
  */
4703
4894
  NextToken?: string;
4704
4895
  /**
@@ -4735,7 +4926,7 @@ export interface ViewSummary {
4735
4926
  /**
4736
4927
  * @public
4737
4928
  * <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The
4738
- * <code>PUBLISHED</code> status will initiate validation on the content.</p>
4929
+ * <code>PUBLISHED</code> status will initiate validation on the content.</p>
4739
4930
  */
4740
4931
  Status?: ViewStatus | string;
4741
4932
  /**
@@ -4755,8 +4946,8 @@ export interface ListViewsResponse {
4755
4946
  ViewsSummaryList?: ViewSummary[];
4756
4947
  /**
4757
4948
  * @public
4758
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
4759
- * retrieve the next set of results.</p>
4949
+ * <p>The token for the next set of results. Use the value returned in the previous response in
4950
+ * the next request to retrieve the next set of results.</p>
4760
4951
  */
4761
4952
  NextToken?: string;
4762
4953
  }
@@ -4766,18 +4957,20 @@ export interface ListViewsResponse {
4766
4957
  export interface ListViewVersionsRequest {
4767
4958
  /**
4768
4959
  * @public
4769
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
4960
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
4961
+ * the instance.</p>
4770
4962
  */
4771
4963
  InstanceId: string | undefined;
4772
4964
  /**
4773
4965
  * @public
4774
- * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
4966
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
4967
+ * used.</p>
4775
4968
  */
4776
4969
  ViewId: string | undefined;
4777
4970
  /**
4778
4971
  * @public
4779
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
4780
- * retrieve the next set of results.</p>
4972
+ * <p>The token for the next set of results. Use the value returned in the previous response in
4973
+ * the next request to retrieve the next set of results.</p>
4781
4974
  */
4782
4975
  NextToken?: string;
4783
4976
  /**
@@ -4838,8 +5031,8 @@ export interface ListViewVersionsResponse {
4838
5031
  ViewVersionSummaryList?: ViewVersionSummary[];
4839
5032
  /**
4840
5033
  * @public
4841
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
4842
- * retrieve the next set of results.</p>
5034
+ * <p>The token for the next set of results. Use the value returned in the previous response in
5035
+ * the next request to retrieve the next set of results.</p>
4843
5036
  */
4844
5037
  NextToken?: string;
4845
5038
  }
@@ -6818,8 +7011,9 @@ export interface UpdateContactFlowContentRequest {
6818
7011
  ContactFlowId: string | undefined;
6819
7012
  /**
6820
7013
  * @public
6821
- * <p>The JSON string that represents flow's content. For an example, see <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html">Example
7014
+ * <p>The JSON string that represents the content of the flow. For an example, see <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html">Example
6822
7015
  * contact flow in Amazon Connect Flow language</a>. </p>
7016
+ * <p>Length Constraints: Minimum length of 1. Maximum length of 256000.</p>
6823
7017
  */
6824
7018
  Content: string | undefined;
6825
7019
  }
@@ -6879,7 +7073,8 @@ export interface UpdateContactFlowModuleContentRequest {
6879
7073
  ContactFlowModuleId: string | undefined;
6880
7074
  /**
6881
7075
  * @public
6882
- * <p>The content of the flow module.</p>
7076
+ * <p>The JSON string that represents the content of the flow. For an example, see <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html">Example
7077
+ * contact flow in Amazon Connect Flow language</a>. </p>
6883
7078
  */
6884
7079
  Content: string | undefined;
6885
7080
  }
@@ -7203,61 +7398,6 @@ export interface ChatParticipantRoleConfig {
7203
7398
  */
7204
7399
  ParticipantTimerConfigList: ParticipantTimerConfiguration[] | undefined;
7205
7400
  }
7206
- /**
7207
- * @public
7208
- * <p>Configuration information for the chat participant role.</p>
7209
- */
7210
- export type UpdateParticipantRoleConfigChannelInfo = UpdateParticipantRoleConfigChannelInfo.ChatMember | UpdateParticipantRoleConfigChannelInfo.$UnknownMember;
7211
- /**
7212
- * @public
7213
- */
7214
- export declare namespace UpdateParticipantRoleConfigChannelInfo {
7215
- /**
7216
- * @public
7217
- * <p>Configuration information for the chat participant role.</p>
7218
- */
7219
- interface ChatMember {
7220
- Chat: ChatParticipantRoleConfig;
7221
- $unknown?: never;
7222
- }
7223
- /**
7224
- * @public
7225
- */
7226
- interface $UnknownMember {
7227
- Chat?: never;
7228
- $unknown: [string, any];
7229
- }
7230
- interface Visitor<T> {
7231
- Chat: (value: ChatParticipantRoleConfig) => T;
7232
- _: (name: string, value: any) => T;
7233
- }
7234
- const visit: <T>(value: UpdateParticipantRoleConfigChannelInfo, visitor: Visitor<T>) => T;
7235
- }
7236
- /**
7237
- * @public
7238
- */
7239
- export interface UpdateParticipantRoleConfigRequest {
7240
- /**
7241
- * @public
7242
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
7243
- */
7244
- InstanceId: string | undefined;
7245
- /**
7246
- * @public
7247
- * <p>The identifier of the contact in this instance of Amazon Connect. </p>
7248
- */
7249
- ContactId: string | undefined;
7250
- /**
7251
- * @public
7252
- * <p>The Amazon Connect channel you want to configure.</p>
7253
- */
7254
- ChannelConfiguration: UpdateParticipantRoleConfigChannelInfo | undefined;
7255
- }
7256
- /**
7257
- * @public
7258
- */
7259
- export interface UpdateParticipantRoleConfigResponse {
7260
- }
7261
7401
  /**
7262
7402
  * @internal
7263
7403
  */
@@ -1,5 +1,60 @@
1
1
  import { AgentAvailabilityTimer, AgentConfig, Application, Evaluation, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, MediaConcurrency, OutboundCallerConfig, QueueStatus, QuickConnectConfig, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, View, ViewInputContent, ViewStatus } from "./models_0";
2
- import { HierarchyGroupCondition, HoursOfOperationSearchFilter, PromptSearchFilter, QueueSearchFilter, QuickConnectSearchFilter, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, SignInConfig, StringCondition, TelephonyConfig, UserSearchFilter } from "./models_1";
2
+ import { ChatParticipantRoleConfig, HierarchyGroupCondition, HoursOfOperationSearchFilter, PromptSearchFilter, QueueSearchFilter, QuickConnectSearchFilter, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, SignInConfig, StringCondition, TelephonyConfig, UserSearchFilter } from "./models_1";
3
+ /**
4
+ * @public
5
+ * <p>Configuration information for the chat participant role.</p>
6
+ */
7
+ export type UpdateParticipantRoleConfigChannelInfo = UpdateParticipantRoleConfigChannelInfo.ChatMember | UpdateParticipantRoleConfigChannelInfo.$UnknownMember;
8
+ /**
9
+ * @public
10
+ */
11
+ export declare namespace UpdateParticipantRoleConfigChannelInfo {
12
+ /**
13
+ * @public
14
+ * <p>Configuration information for the chat participant role.</p>
15
+ */
16
+ interface ChatMember {
17
+ Chat: ChatParticipantRoleConfig;
18
+ $unknown?: never;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ interface $UnknownMember {
24
+ Chat?: never;
25
+ $unknown: [string, any];
26
+ }
27
+ interface Visitor<T> {
28
+ Chat: (value: ChatParticipantRoleConfig) => T;
29
+ _: (name: string, value: any) => T;
30
+ }
31
+ const visit: <T>(value: UpdateParticipantRoleConfigChannelInfo, visitor: Visitor<T>) => T;
32
+ }
33
+ /**
34
+ * @public
35
+ */
36
+ export interface UpdateParticipantRoleConfigRequest {
37
+ /**
38
+ * @public
39
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
40
+ */
41
+ InstanceId: string | undefined;
42
+ /**
43
+ * @public
44
+ * <p>The identifier of the contact in this instance of Amazon Connect. </p>
45
+ */
46
+ ContactId: string | undefined;
47
+ /**
48
+ * @public
49
+ * <p>The Amazon Connect channel you want to configure.</p>
50
+ */
51
+ ChannelConfiguration: UpdateParticipantRoleConfigChannelInfo | undefined;
52
+ }
53
+ /**
54
+ * @public
55
+ */
56
+ export interface UpdateParticipantRoleConfigResponse {
57
+ }
3
58
  /**
4
59
  * @public
5
60
  */
@@ -758,18 +813,20 @@ export interface UpdateUserSecurityProfilesRequest {
758
813
  export interface UpdateViewContentRequest {
759
814
  /**
760
815
  * @public
761
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
816
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
817
+ * the instance.</p>
762
818
  */
763
819
  InstanceId: string | undefined;
764
820
  /**
765
821
  * @public
766
- * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
822
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
823
+ * used.</p>
767
824
  */
768
825
  ViewId: string | undefined;
769
826
  /**
770
827
  * @public
771
828
  * <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The
772
- * <code>PUBLISHED</code> status will initiate validation on the content.</p>
829
+ * <code>PUBLISHED</code> status will initiate validation on the content.</p>
773
830
  */
774
831
  Status: ViewStatus | string | undefined;
775
832
  /**
@@ -796,12 +853,14 @@ export interface UpdateViewContentResponse {
796
853
  export interface UpdateViewMetadataRequest {
797
854
  /**
798
855
  * @public
799
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
856
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
857
+ * the instance.</p>
800
858
  */
801
859
  InstanceId: string | undefined;
802
860
  /**
803
861
  * @public
804
- * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
862
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
863
+ * used.</p>
805
864
  */
806
865
  ViewId: string | undefined;
807
866
  /**
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  UpdateParticipantRoleConfigRequest,
16
16
  UpdateParticipantRoleConfigResponse,
17
- } from "../models/models_1";
17
+ } from "../models/models_2";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface UpdateParticipantRoleConfigCommandInput
20
20
  extends UpdateParticipantRoleConfigRequest {}
@@ -361,9 +361,24 @@ export interface FilterV2 {
361
361
  FilterKey?: string;
362
362
  FilterValues?: string[];
363
363
  }
364
+ export declare const IntervalPeriod: {
365
+ readonly DAY: "DAY";
366
+ readonly FIFTEEN_MIN: "FIFTEEN_MIN";
367
+ readonly HOUR: "HOUR";
368
+ readonly THIRTY_MIN: "THIRTY_MIN";
369
+ readonly TOTAL: "TOTAL";
370
+ readonly WEEK: "WEEK";
371
+ };
372
+ export type IntervalPeriod =
373
+ (typeof IntervalPeriod)[keyof typeof IntervalPeriod];
374
+ export interface IntervalDetails {
375
+ TimeZone?: string;
376
+ IntervalPeriod?: IntervalPeriod | string;
377
+ }
364
378
  export interface MetricFilterV2 {
365
379
  MetricFilterKey?: string;
366
380
  MetricFilterValues?: string[];
381
+ Negate?: boolean;
367
382
  }
368
383
  export interface ThresholdV2 {
369
384
  Comparison?: string;
@@ -378,6 +393,7 @@ export interface GetMetricDataV2Request {
378
393
  ResourceArn: string | undefined;
379
394
  StartTime: Date | undefined;
380
395
  EndTime: Date | undefined;
396
+ Interval?: IntervalDetails;
381
397
  Filters: FilterV2[] | undefined;
382
398
  Groupings?: string[];
383
399
  Metrics: MetricV2[] | undefined;
@@ -388,8 +404,14 @@ export interface MetricDataV2 {
388
404
  Metric?: MetricV2;
389
405
  Value?: number;
390
406
  }
407
+ export interface MetricInterval {
408
+ Interval?: IntervalPeriod | string;
409
+ StartTime?: Date;
410
+ EndTime?: Date;
411
+ }
391
412
  export interface MetricResultV2 {
392
413
  Dimensions?: Record<string, string>;
414
+ MetricInterval?: MetricInterval;
393
415
  Collections?: MetricDataV2[];
394
416
  }
395
417
  export interface GetMetricDataV2Response {
@@ -1709,33 +1731,6 @@ export interface ParticipantTimerConfiguration {
1709
1731
  export interface ChatParticipantRoleConfig {
1710
1732
  ParticipantTimerConfigList: ParticipantTimerConfiguration[] | undefined;
1711
1733
  }
1712
- export type UpdateParticipantRoleConfigChannelInfo =
1713
- | UpdateParticipantRoleConfigChannelInfo.ChatMember
1714
- | UpdateParticipantRoleConfigChannelInfo.$UnknownMember;
1715
- export declare namespace UpdateParticipantRoleConfigChannelInfo {
1716
- interface ChatMember {
1717
- Chat: ChatParticipantRoleConfig;
1718
- $unknown?: never;
1719
- }
1720
- interface $UnknownMember {
1721
- Chat?: never;
1722
- $unknown: [string, any];
1723
- }
1724
- interface Visitor<T> {
1725
- Chat: (value: ChatParticipantRoleConfig) => T;
1726
- _: (name: string, value: any) => T;
1727
- }
1728
- const visit: <T>(
1729
- value: UpdateParticipantRoleConfigChannelInfo,
1730
- visitor: Visitor<T>
1731
- ) => T;
1732
- }
1733
- export interface UpdateParticipantRoleConfigRequest {
1734
- InstanceId: string | undefined;
1735
- ContactId: string | undefined;
1736
- ChannelConfiguration: UpdateParticipantRoleConfigChannelInfo | undefined;
1737
- }
1738
- export interface UpdateParticipantRoleConfigResponse {}
1739
1734
  export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
1740
1735
  export declare const GetFederationTokenResponseFilterSensitiveLog: (
1741
1736
  obj: GetFederationTokenResponse