@aws-sdk/client-connect 3.369.0 → 3.372.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 (32) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/Connect.js +4 -0
  3. package/dist-cjs/commands/DeleteQueueCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteRoutingProfileCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/protocols/Aws_restJson1.js +135 -8
  7. package/dist-es/Connect.js +4 -0
  8. package/dist-es/commands/DeleteQueueCommand.js +42 -0
  9. package/dist-es/commands/DeleteRoutingProfileCommand.js +42 -0
  10. package/dist-es/commands/index.js +2 -0
  11. package/dist-es/protocols/Aws_restJson1.js +123 -0
  12. package/dist-types/Connect.d.ts +14 -0
  13. package/dist-types/ConnectClient.d.ts +4 -2
  14. package/dist-types/commands/DeleteQueueCommand.d.ts +90 -0
  15. package/dist-types/commands/DeleteRoutingProfileCommand.d.ts +90 -0
  16. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +1 -2
  17. package/dist-types/commands/index.d.ts +2 -0
  18. package/dist-types/models/models_0.d.ts +56 -216
  19. package/dist-types/models/models_1.d.ts +304 -67
  20. package/dist-types/models/models_2.d.ts +54 -1
  21. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  22. package/dist-types/ts3.4/Connect.d.ts +34 -0
  23. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  24. package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +33 -0
  25. package/dist-types/ts3.4/commands/DeleteRoutingProfileCommand.d.ts +37 -0
  26. package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +4 -2
  27. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +18 -23
  29. package/dist-types/ts3.4/models/models_1.d.ts +15 -11
  30. package/dist-types/ts3.4/models/models_2.d.ts +12 -2
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  32. package/package.json +16 -17
@@ -1,6 +1,192 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { ActionSummary, AgentContactReference, AgentStatusReference, AgentStatusState, AgentStatusSummary, AgentStatusType, Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, ContactState, CurrentMetric, DirectoryType, EvaluationAnswerData, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, EvaluationNote, EvaluationScore, EvaluationStatus, EventSourceName, Filters, Grouping, HierarchyGroupSummary, HoursOfOperation, HoursOfOperationConfig, InstanceAttributeType, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, MediaConcurrency, MonitorCapability, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Prompt, Queue, QueueReference, QueueStatus, QuickConnect, QuickConnectConfig, QuickConnectType, Reference, ReferenceType, RoutingProfile, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
3
+ import { ActionSummary, AgentContactReference, AgentStatusReference, AgentStatusState, AgentStatusSummary, AgentStatusType, Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, ContactState, CurrentMetric, CurrentMetricName, DirectoryType, EvaluationAnswerData, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, EvaluationNote, EvaluationScore, EvaluationStatus, EventSourceName, Filters, Grouping, HierarchyGroupSummary, HoursOfOperation, HoursOfOperationConfig, InstanceAttributeType, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, MediaConcurrency, MonitorCapability, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Prompt, Queue, QueueReference, QueueStatus, QuickConnect, QuickConnectConfig, QuickConnectType, Reference, ReferenceType, RoutingProfile, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, SortOrder, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ /**
5
+ * @public
6
+ * <p>The way to sort the resulting response based on metrics. By default resources are sorted
7
+ * based on <code>AGENTS_ONLINE</code>, <code>DESCENDING</code>. The metric collection is sorted
8
+ * based on the input metrics.</p>
9
+ */
10
+ export interface CurrentMetricSortCriteria {
11
+ /**
12
+ * <p>The current metric names.</p>
13
+ */
14
+ SortByMetric?: CurrentMetricName | string;
15
+ /**
16
+ * <p>The way to sort.</p>
17
+ */
18
+ SortOrder?: SortOrder | string;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface GetCurrentMetricDataRequest {
24
+ /**
25
+ * <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>
26
+ */
27
+ InstanceId: string | undefined;
28
+ /**
29
+ * <p>The filters to apply to returned metrics. You can filter up to the following limits:</p>
30
+ * <ul>
31
+ * <li>
32
+ * <p>Queues: 100</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>Routing profiles: 100</p>
36
+ * </li>
37
+ * <li>
38
+ * <p>Channels: 3 (VOICE, CHAT, and TASK channels are supported.)</p>
39
+ * </li>
40
+ * </ul>
41
+ * <p>Metric data is retrieved only for the resources associated with the queues or routing
42
+ * profiles, and by any channels included in the filter. (You cannot filter by both queue AND
43
+ * routing profile.) You can include both resource IDs and resource ARNs in the same request. </p>
44
+ * <p>Currently tagging is only supported on the resources that are passed in the filter.</p>
45
+ */
46
+ Filters: Filters | undefined;
47
+ /**
48
+ * <p>The grouping applied to the metrics returned. For example, when grouped by
49
+ * <code>QUEUE</code>, the metrics returned apply to each queue rather than aggregated for all
50
+ * queues. </p>
51
+ * <ul>
52
+ * <li>
53
+ * <p>If you group by <code>CHANNEL</code>, you should include a Channels filter.
54
+ * VOICE, CHAT, and TASK channels are supported.</p>
55
+ * </li>
56
+ * <li>
57
+ * <p>If you group by <code>ROUTING_PROFILE</code>, you must include either a queue or routing
58
+ * profile filter. In addition, a routing profile filter is required for metrics
59
+ * <code>CONTACTS_SCHEDULED</code>, <code>CONTACTS_IN_QUEUE</code>, and <code>
60
+ * OLDEST_CONTACT_AGE</code>.</p>
61
+ * </li>
62
+ * <li>
63
+ * <p>If no <code>Grouping</code> is included in the request, a summary of metrics is
64
+ * returned.</p>
65
+ * </li>
66
+ * </ul>
67
+ */
68
+ Groupings?: (Grouping | string)[];
69
+ /**
70
+ * <p>The metrics to retrieve. Specify the name and unit for each metric. The following metrics
71
+ * are available. For a description of all the metrics, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html">Real-time Metrics
72
+ * Definitions</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
73
+ * <dl>
74
+ * <dt>AGENTS_AFTER_CONTACT_WORK</dt>
75
+ * <dd>
76
+ * <p>Unit: COUNT</p>
77
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#aftercallwork-real-time">ACW</a>
78
+ * </p>
79
+ * </dd>
80
+ * <dt>AGENTS_AVAILABLE</dt>
81
+ * <dd>
82
+ * <p>Unit: COUNT</p>
83
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#available-real-time">Available</a>
84
+ * </p>
85
+ * </dd>
86
+ * <dt>AGENTS_ERROR</dt>
87
+ * <dd>
88
+ * <p>Unit: COUNT</p>
89
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#error-real-time">Error</a>
90
+ * </p>
91
+ * </dd>
92
+ * <dt>AGENTS_NON_PRODUCTIVE</dt>
93
+ * <dd>
94
+ * <p>Unit: COUNT</p>
95
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#non-productive-time-real-time">NPT (Non-Productive Time)</a>
96
+ * </p>
97
+ * </dd>
98
+ * <dt>AGENTS_ON_CALL</dt>
99
+ * <dd>
100
+ * <p>Unit: COUNT</p>
101
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#on-call-real-time">On
102
+ * contact</a>
103
+ * </p>
104
+ * </dd>
105
+ * <dt>AGENTS_ON_CONTACT</dt>
106
+ * <dd>
107
+ * <p>Unit: COUNT</p>
108
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#on-call-real-time">On
109
+ * contact</a>
110
+ * </p>
111
+ * </dd>
112
+ * <dt>AGENTS_ONLINE</dt>
113
+ * <dd>
114
+ * <p>Unit: COUNT</p>
115
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#online-real-time">Online</a>
116
+ * </p>
117
+ * </dd>
118
+ * <dt>AGENTS_STAFFED</dt>
119
+ * <dd>
120
+ * <p>Unit: COUNT</p>
121
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#staffed-real-time">Staffed</a>
122
+ * </p>
123
+ * </dd>
124
+ * <dt>CONTACTS_IN_QUEUE</dt>
125
+ * <dd>
126
+ * <p>Unit: COUNT</p>
127
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#in-queue-real-time">In
128
+ * queue</a>
129
+ * </p>
130
+ * </dd>
131
+ * <dt>CONTACTS_SCHEDULED</dt>
132
+ * <dd>
133
+ * <p>Unit: COUNT</p>
134
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#scheduled-real-time">Scheduled</a>
135
+ * </p>
136
+ * </dd>
137
+ * <dt>OLDEST_CONTACT_AGE</dt>
138
+ * <dd>
139
+ * <p>Unit: SECONDS</p>
140
+ * <p>When you use groupings, Unit says SECONDS and the Value is returned in SECONDS. </p>
141
+ * <p>When you do not use groupings, Unit says SECONDS but the Value is returned in
142
+ * MILLISECONDS. For example, if you get a response like this:</p>
143
+ * <p>
144
+ * <code>\{ "Metric": \{ "Name": "OLDEST_CONTACT_AGE", "Unit": "SECONDS" \}, "Value": 24113.0
145
+ * </code>\}</p>
146
+ * <p>The actual OLDEST_CONTACT_AGE is 24 seconds.</p>
147
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#oldest-real-time">Oldest</a>
148
+ * </p>
149
+ * </dd>
150
+ * <dt>SLOTS_ACTIVE</dt>
151
+ * <dd>
152
+ * <p>Unit: COUNT</p>
153
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#active-real-time">Active</a>
154
+ * </p>
155
+ * </dd>
156
+ * <dt>SLOTS_AVAILABLE</dt>
157
+ * <dd>
158
+ * <p>Unit: COUNT</p>
159
+ * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#availability-real-time">Availability</a>
160
+ * </p>
161
+ * </dd>
162
+ * </dl>
163
+ */
164
+ CurrentMetrics: CurrentMetric[] | undefined;
165
+ /**
166
+ * <p>The token for the next set of results. Use the value returned in the previous
167
+ * response in the next request to retrieve the next set of results.</p>
168
+ * <p>The token expires after 5 minutes from the time it is created. Subsequent requests that use
169
+ * the token must use the same request parameters as the request that generated the token.</p>
170
+ */
171
+ NextToken?: string;
172
+ /**
173
+ * <p>The maximum number of results to return per page.</p>
174
+ */
175
+ MaxResults?: number;
176
+ /**
177
+ * <p>The way to sort the resulting response based on metrics. You can enter one sort criteria. By
178
+ * default resources are sorted based on <code>AGENTS_ONLINE</code>, <code>DESCENDING</code>. The
179
+ * metric collection is sorted based on the input metrics.</p>
180
+ * <p>Note the following:</p>
181
+ * <ul>
182
+ * <li>
183
+ * <p>Sorting on <code>SLOTS_ACTIVE</code> and <code>SLOTS_AVAILABLE</code> is not
184
+ * supported.</p>
185
+ * </li>
186
+ * </ul>
187
+ */
188
+ SortCriteria?: CurrentMetricSortCriteria[];
189
+ }
4
190
  /**
5
191
  * @public
6
192
  * <p>Contains the data for a real-time metric.</p>
@@ -806,6 +992,9 @@ export interface GetMetricDataV2Request {
806
992
  * <li>
807
993
  * <p>User hierarchy groups</p>
808
994
  * </li>
995
+ * <li>
996
+ * <p>Feature</p>
997
+ * </li>
809
998
  * </ul>
810
999
  * <p>At least one filter must be passed from queues, routing profiles, agents, or user hierarchy
811
1000
  * groups.</p>
@@ -820,16 +1009,21 @@ export interface GetMetricDataV2Request {
820
1009
  * a single request. Valid filter keys: <code>QUEUE</code> | <code>ROUTING_PROFILE</code> |
821
1010
  * <code>AGENT</code> | <code>CHANNEL</code> | <code>AGENT_HIERARCHY_LEVEL_ONE</code> |
822
1011
  * <code>AGENT_HIERARCHY_LEVEL_TWO</code> | <code>AGENT_HIERARCHY_LEVEL_THREE</code> |
823
- * <code>AGENT_HIERARCHY_LEVEL_FOUR</code> | <code>AGENT_HIERARCHY_LEVEL_FIVE</code>
1012
+ * <code>AGENT_HIERARCHY_LEVEL_FOUR</code> | <code>AGENT_HIERARCHY_LEVEL_FIVE</code> |
1013
+ * <code>FEATURE</code>
824
1014
  * </p>
825
1015
  * </li>
826
1016
  * <li>
827
1017
  * <p>
828
1018
  * <b>Filter values</b>: A maximum of 100 filter values are
829
- * supported in a single request. VOICE, CHAT, and TASK are valid <code>filterValue</code> for the CHANNEL
830
- * filter key. They do not count towards limitation of 100 filter values. For example, a
1019
+ * supported in a single request. VOICE, CHAT, and TASK are valid <code>filterValue</code> for the
1020
+ * CHANNEL filter key. They do not count towards limitation of 100 filter values. For example, a
831
1021
  * GetMetricDataV2 request can filter by 50 queues, 35 agents, and 15 routing profiles for a total
832
- * of 100 filter values, along with 3 channel filters.</p>
1022
+ * of 100 filter values, along with 3 channel filters. </p>
1023
+ * <p>
1024
+ * <code>contact_lens_conversational_analytics</code> is a valid filterValue for the
1025
+ * <code>FEATURE</code> filter key. It is available only to contacts analyzed by Contact Lens
1026
+ * conversational analytics.</p>
833
1027
  * </li>
834
1028
  * </ul>
835
1029
  */
@@ -887,7 +1081,10 @@ export interface GetMetricDataV2Request {
887
1081
  * <dt>AVG_AFTER_CONTACT_WORK_TIME</dt>
888
1082
  * <dd>
889
1083
  * <p>Unit: Seconds</p>
890
- * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1084
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature</p>
1085
+ * <note>
1086
+ * <p>Feature is a valid filter but not a valid grouping.</p>
1087
+ * </note>
891
1088
  * </dd>
892
1089
  * <dt>AVG_AGENT_CONNECTING_TIME</dt>
893
1090
  * <dd>
@@ -898,16 +1095,58 @@ export interface GetMetricDataV2Request {
898
1095
  * </p>
899
1096
  * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
900
1097
  * </dd>
901
- * <dt>AVG_HANDLE_TIME</dt>
1098
+ * <dt>AVG_AGENT_CONNECTING_TIME</dt>
902
1099
  * <dd>
903
1100
  * <p>Unit: Seconds</p>
1101
+ * <p>Valid metric filter key: <code>INITIATION_METHOD</code>. For now, this metric only
1102
+ * supports the following as <code>INITIATION_METHOD</code>: <code>INBOUND</code> |
1103
+ * <code>OUTBOUND</code> | <code>CALLBACK</code> | <code>API</code>
1104
+ * </p>
904
1105
  * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
905
1106
  * </dd>
906
- * <dt>AVG_HOLD_TIME</dt>
1107
+ * <dt>AVG_CONTACT_DURATION</dt>
1108
+ * <dd>
1109
+ * <p>Unit: Seconds</p>
1110
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature</p>
1111
+ * <note>
1112
+ * <p>Feature is a valid filter but not a valid grouping.</p>
1113
+ * </note>
1114
+ * </dd>
1115
+ * <dt>AVG_CONVERSATION_DURATION</dt>
1116
+ * <dd>
1117
+ * <p>Unit: Seconds</p>
1118
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1119
+ * </dd>
1120
+ * <dt>AVG_GREETING_TIME_AGENT</dt>
907
1121
  * <dd>
1122
+ * <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
908
1123
  * <p>Unit: Seconds</p>
909
1124
  * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
910
1125
  * </dd>
1126
+ * <dt>AVG_HANDLE_TIME</dt>
1127
+ * <dd>
1128
+ * <p>Unit: Seconds</p>
1129
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature</p>
1130
+ * <note>
1131
+ * <p>Feature is a valid filter but not a valid grouping.</p>
1132
+ * </note>
1133
+ * </dd>
1134
+ * <dt>AVG_HOLD_TIME</dt>
1135
+ * <dd>
1136
+ * <p>Unit: Seconds</p>
1137
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature</p>
1138
+ * <note>
1139
+ * <p>Feature is a valid filter but not a valid grouping.</p>
1140
+ * </note>
1141
+ * </dd>
1142
+ * <dt>AVG_HOLDS</dt>
1143
+ * <dd>
1144
+ * <p>Unit: Count</p>
1145
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature</p>
1146
+ * <note>
1147
+ * <p>Feature is a valid filter but not a valid grouping.</p>
1148
+ * </note>
1149
+ * </dd>
911
1150
  * <dt>AVG_INTERACTION_AND_HOLD_TIME</dt>
912
1151
  * <dd>
913
1152
  * <p>Unit: Seconds</p>
@@ -916,12 +1155,54 @@ export interface GetMetricDataV2Request {
916
1155
  * <dt>AVG_INTERACTION_TIME</dt>
917
1156
  * <dd>
918
1157
  * <p>Unit: Seconds</p>
919
- * <p>Valid groupings and filters: Queue, Channel, Routing Profile</p>
1158
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature</p>
1159
+ * <note>
1160
+ * <p>Feature is a valid filter but not a valid grouping.</p>
1161
+ * </note>
1162
+ * </dd>
1163
+ * <dt>AVG_INTERRUPTIONS_AGENT</dt>
1164
+ * <dd>
1165
+ * <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1166
+ * <p>Unit: Count</p>
1167
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1168
+ * </dd>
1169
+ * <dt>AVG_INTERRUPTION_TIME_AGENT</dt>
1170
+ * <dd>
1171
+ * <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1172
+ * <p>Unit: Seconds</p>
1173
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1174
+ * </dd>
1175
+ * <dt>AVG_NON_TALK_TIME</dt>
1176
+ * <dd>
1177
+ * <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1178
+ * <p>Unit: Seconds</p>
1179
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
920
1180
  * </dd>
921
1181
  * <dt>AVG_QUEUE_ANSWER_TIME</dt>
922
1182
  * <dd>
923
1183
  * <p>Unit: Seconds</p>
924
- * <p>Valid groupings and filters: Queue, Channel, Routing Profile</p>
1184
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature</p>
1185
+ * <note>
1186
+ * <p>Feature is a valid filter but not a valid grouping.</p>
1187
+ * </note>
1188
+ * </dd>
1189
+ * <dt>AVG_TALK_TIME</dt>
1190
+ * <dd>
1191
+ * <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1192
+ * <p>Unit: Seconds</p>
1193
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1194
+ * </dd>
1195
+ * <dt>AVG_TALK_TIME_AGENT</dt>
1196
+ * <dd>
1197
+ * <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1198
+ * <p>Unit: Seconds</p>
1199
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1200
+ * </dd>
1201
+ * <dt>AVG_TALK_TIME_CUSTOMER</dt>
1202
+ * <dd>
1203
+ * <p>This metric is available only for contacts analyzed by Contact Lens conversational analytics.</p>
1204
+ * <p>Unit: Seconds</p>
1205
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
925
1206
  * </dd>
926
1207
  * <dt>CONTACTS_ABANDONED</dt>
927
1208
  * <dd>
@@ -933,7 +1214,10 @@ export interface GetMetricDataV2Request {
933
1214
  * <p>Unit: Count</p>
934
1215
  * <p>Valid metric filter key: <code>INITIATION_METHOD</code>
935
1216
  * </p>
936
- * <p>Valid groupings and filters: Queue, Channel, Routing Profile</p>
1217
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Feature</p>
1218
+ * <note>
1219
+ * <p>Feature is a valid filter but not a valid grouping.</p>
1220
+ * </note>
937
1221
  * </dd>
938
1222
  * <dt>CONTACTS_HANDLED</dt>
939
1223
  * <dd>
@@ -941,7 +1225,10 @@ export interface GetMetricDataV2Request {
941
1225
  * <p>Valid metric filter key: <code>INITIATION_METHOD</code>,
942
1226
  * <code>DISCONNECT_REASON</code>
943
1227
  * </p>
944
- * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1228
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature</p>
1229
+ * <note>
1230
+ * <p>Feature is a valid filter but not a valid grouping.</p>
1231
+ * </note>
945
1232
  * </dd>
946
1233
  * <dt>CONTACTS_HOLD_ABANDONS</dt>
947
1234
  * <dd>
@@ -956,7 +1243,10 @@ export interface GetMetricDataV2Request {
956
1243
  * <dt>CONTACTS_TRANSFERRED_OUT</dt>
957
1244
  * <dd>
958
1245
  * <p>Unit: Count</p>
959
- * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
1246
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature</p>
1247
+ * <note>
1248
+ * <p>Feature is a valid filter but not a valid grouping.</p>
1249
+ * </note>
960
1250
  * </dd>
961
1251
  * <dt>CONTACTS_TRANSFERRED_OUT_BY_AGENT</dt>
962
1252
  * <dd>
@@ -2155,7 +2445,7 @@ export interface InstanceSummary {
2155
2445
  */
2156
2446
  OutboundCallsEnabled?: boolean;
2157
2447
  /**
2158
- * <p>This URL allows contact center users to access Amazon Connect admin website.</p>
2448
+ * <p>This URL allows contact center users to access the Amazon Connect admin website.</p>
2159
2449
  */
2160
2450
  InstanceAccessUrl?: string;
2161
2451
  }
@@ -6307,59 +6597,6 @@ export interface HoursOfOperationSearchCriteria {
6307
6597
  */
6308
6598
  StringCondition?: StringCondition;
6309
6599
  }
6310
- /**
6311
- * @public
6312
- * <p>The search criteria to be used to return prompts.</p>
6313
- */
6314
- export interface PromptSearchCriteria {
6315
- /**
6316
- * <p>A list of conditions which would be applied together with an OR condition.</p>
6317
- */
6318
- OrConditions?: PromptSearchCriteria[];
6319
- /**
6320
- * <p>A list of conditions which would be applied together with an AND condition.</p>
6321
- */
6322
- AndConditions?: PromptSearchCriteria[];
6323
- /**
6324
- * <p>A leaf node condition which can be used to specify a string condition.</p>
6325
- * <note>
6326
- * <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
6327
- * <code>description</code>, and <code>resourceID</code>.</p>
6328
- * </note>
6329
- */
6330
- StringCondition?: StringCondition;
6331
- }
6332
- /**
6333
- * @public
6334
- * <p>The search criteria to be used to return queues.</p>
6335
- * <note>
6336
- * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
6337
- * a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
6338
- * outside of this range will throw invalid results. </p>
6339
- * </note>
6340
- */
6341
- export interface QueueSearchCriteria {
6342
- /**
6343
- * <p>A list of conditions which would be applied together with an OR condition.</p>
6344
- */
6345
- OrConditions?: QueueSearchCriteria[];
6346
- /**
6347
- * <p>A list of conditions which would be applied together with an AND condition.</p>
6348
- */
6349
- AndConditions?: QueueSearchCriteria[];
6350
- /**
6351
- * <p>A leaf node condition which can be used to specify a string condition.</p>
6352
- * <note>
6353
- * <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
6354
- * <code>description</code>, and <code>resourceID</code>.</p>
6355
- * </note>
6356
- */
6357
- StringCondition?: StringCondition;
6358
- /**
6359
- * <p>The type of queue.</p>
6360
- */
6361
- QueueTypeCondition?: SearchableQueueType | string;
6362
- }
6363
6600
  /**
6364
6601
  * @internal
6365
6602
  */
@@ -1,5 +1,58 @@
1
1
  import { Evaluation, EvaluationFormScoringStrategy } from "./models_0";
2
- import { EvaluationForm, EvaluationFormContent, EvaluationFormItem, HierarchyGroupCondition, HoursOfOperationSearchCriteria, HoursOfOperationSearchFilter, PromptSearchCriteria, PromptSearchFilter, QueueSearchCriteria, QueueSearchFilter, QuickConnectSearchFilter, RoutingProfileSearchFilter, SecurityProfilesSearchFilter, StringCondition, UserSearchFilter } from "./models_1";
2
+ import { EvaluationForm, EvaluationFormContent, EvaluationFormItem, HierarchyGroupCondition, HoursOfOperationSearchCriteria, HoursOfOperationSearchFilter, PromptSearchFilter, QueueSearchFilter, QuickConnectSearchFilter, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, StringCondition, UserSearchFilter } from "./models_1";
3
+ /**
4
+ * @public
5
+ * <p>The search criteria to be used to return prompts.</p>
6
+ */
7
+ export interface PromptSearchCriteria {
8
+ /**
9
+ * <p>A list of conditions which would be applied together with an OR condition.</p>
10
+ */
11
+ OrConditions?: PromptSearchCriteria[];
12
+ /**
13
+ * <p>A list of conditions which would be applied together with an AND condition.</p>
14
+ */
15
+ AndConditions?: PromptSearchCriteria[];
16
+ /**
17
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
18
+ * <note>
19
+ * <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
20
+ * <code>description</code>, and <code>resourceID</code>.</p>
21
+ * </note>
22
+ */
23
+ StringCondition?: StringCondition;
24
+ }
25
+ /**
26
+ * @public
27
+ * <p>The search criteria to be used to return queues.</p>
28
+ * <note>
29
+ * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
30
+ * a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
31
+ * outside of this range will throw invalid results. </p>
32
+ * </note>
33
+ */
34
+ export interface QueueSearchCriteria {
35
+ /**
36
+ * <p>A list of conditions which would be applied together with an OR condition.</p>
37
+ */
38
+ OrConditions?: QueueSearchCriteria[];
39
+ /**
40
+ * <p>A list of conditions which would be applied together with an AND condition.</p>
41
+ */
42
+ AndConditions?: QueueSearchCriteria[];
43
+ /**
44
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
45
+ * <note>
46
+ * <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
47
+ * <code>description</code>, and <code>resourceID</code>.</p>
48
+ * </note>
49
+ */
50
+ StringCondition?: StringCondition;
51
+ /**
52
+ * <p>The type of queue.</p>
53
+ */
54
+ QueueTypeCondition?: SearchableQueueType | string;
55
+ }
3
56
  /**
4
57
  * @public
5
58
  * <p>The search criteria to be used to return quick connects.</p>
@@ -41,7 +41,9 @@ import { DeleteHoursOfOperationCommandInput, DeleteHoursOfOperationCommandOutput
41
41
  import { DeleteInstanceCommandInput, DeleteInstanceCommandOutput } from "../commands/DeleteInstanceCommand";
42
42
  import { DeleteIntegrationAssociationCommandInput, DeleteIntegrationAssociationCommandOutput } from "../commands/DeleteIntegrationAssociationCommand";
43
43
  import { DeletePromptCommandInput, DeletePromptCommandOutput } from "../commands/DeletePromptCommand";
44
+ import { DeleteQueueCommandInput, DeleteQueueCommandOutput } from "../commands/DeleteQueueCommand";
44
45
  import { DeleteQuickConnectCommandInput, DeleteQuickConnectCommandOutput } from "../commands/DeleteQuickConnectCommand";
46
+ import { DeleteRoutingProfileCommandInput, DeleteRoutingProfileCommandOutput } from "../commands/DeleteRoutingProfileCommand";
45
47
  import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "../commands/DeleteRuleCommand";
46
48
  import { DeleteSecurityProfileCommandInput, DeleteSecurityProfileCommandOutput } from "../commands/DeleteSecurityProfileCommand";
47
49
  import { DeleteTaskTemplateCommandInput, DeleteTaskTemplateCommandOutput } from "../commands/DeleteTaskTemplateCommand";
@@ -358,10 +360,18 @@ export declare const se_DeleteIntegrationAssociationCommand: (input: DeleteInteg
358
360
  * serializeAws_restJson1DeletePromptCommand
359
361
  */
360
362
  export declare const se_DeletePromptCommand: (input: DeletePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
363
+ /**
364
+ * serializeAws_restJson1DeleteQueueCommand
365
+ */
366
+ export declare const se_DeleteQueueCommand: (input: DeleteQueueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
361
367
  /**
362
368
  * serializeAws_restJson1DeleteQuickConnectCommand
363
369
  */
364
370
  export declare const se_DeleteQuickConnectCommand: (input: DeleteQuickConnectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
371
+ /**
372
+ * serializeAws_restJson1DeleteRoutingProfileCommand
373
+ */
374
+ export declare const se_DeleteRoutingProfileCommand: (input: DeleteRoutingProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
365
375
  /**
366
376
  * serializeAws_restJson1DeleteRuleCommand
367
377
  */
@@ -1134,10 +1144,18 @@ export declare const de_DeleteIntegrationAssociationCommand: (output: __HttpResp
1134
1144
  * deserializeAws_restJson1DeletePromptCommand
1135
1145
  */
1136
1146
  export declare const de_DeletePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePromptCommandOutput>;
1147
+ /**
1148
+ * deserializeAws_restJson1DeleteQueueCommand
1149
+ */
1150
+ export declare const de_DeleteQueueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteQueueCommandOutput>;
1137
1151
  /**
1138
1152
  * deserializeAws_restJson1DeleteQuickConnectCommand
1139
1153
  */
1140
1154
  export declare const de_DeleteQuickConnectCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteQuickConnectCommandOutput>;
1155
+ /**
1156
+ * deserializeAws_restJson1DeleteRoutingProfileCommand
1157
+ */
1158
+ export declare const de_DeleteRoutingProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRoutingProfileCommandOutput>;
1141
1159
  /**
1142
1160
  * deserializeAws_restJson1DeleteRuleCommand
1143
1161
  */
@@ -163,10 +163,18 @@ import {
163
163
  DeletePromptCommandInput,
164
164
  DeletePromptCommandOutput,
165
165
  } from "./commands/DeletePromptCommand";
166
+ import {
167
+ DeleteQueueCommandInput,
168
+ DeleteQueueCommandOutput,
169
+ } from "./commands/DeleteQueueCommand";
166
170
  import {
167
171
  DeleteQuickConnectCommandInput,
168
172
  DeleteQuickConnectCommandOutput,
169
173
  } from "./commands/DeleteQuickConnectCommand";
174
+ import {
175
+ DeleteRoutingProfileCommandInput,
176
+ DeleteRoutingProfileCommandOutput,
177
+ } from "./commands/DeleteRoutingProfileCommand";
170
178
  import {
171
179
  DeleteRuleCommandInput,
172
180
  DeleteRuleCommandOutput,
@@ -1310,6 +1318,19 @@ export interface Connect {
1310
1318
  options: __HttpHandlerOptions,
1311
1319
  cb: (err: any, data?: DeletePromptCommandOutput) => void
1312
1320
  ): void;
1321
+ deleteQueue(
1322
+ args: DeleteQueueCommandInput,
1323
+ options?: __HttpHandlerOptions
1324
+ ): Promise<DeleteQueueCommandOutput>;
1325
+ deleteQueue(
1326
+ args: DeleteQueueCommandInput,
1327
+ cb: (err: any, data?: DeleteQueueCommandOutput) => void
1328
+ ): void;
1329
+ deleteQueue(
1330
+ args: DeleteQueueCommandInput,
1331
+ options: __HttpHandlerOptions,
1332
+ cb: (err: any, data?: DeleteQueueCommandOutput) => void
1333
+ ): void;
1313
1334
  deleteQuickConnect(
1314
1335
  args: DeleteQuickConnectCommandInput,
1315
1336
  options?: __HttpHandlerOptions
@@ -1323,6 +1344,19 @@ export interface Connect {
1323
1344
  options: __HttpHandlerOptions,
1324
1345
  cb: (err: any, data?: DeleteQuickConnectCommandOutput) => void
1325
1346
  ): void;
1347
+ deleteRoutingProfile(
1348
+ args: DeleteRoutingProfileCommandInput,
1349
+ options?: __HttpHandlerOptions
1350
+ ): Promise<DeleteRoutingProfileCommandOutput>;
1351
+ deleteRoutingProfile(
1352
+ args: DeleteRoutingProfileCommandInput,
1353
+ cb: (err: any, data?: DeleteRoutingProfileCommandOutput) => void
1354
+ ): void;
1355
+ deleteRoutingProfile(
1356
+ args: DeleteRoutingProfileCommandInput,
1357
+ options: __HttpHandlerOptions,
1358
+ cb: (err: any, data?: DeleteRoutingProfileCommandOutput) => void
1359
+ ): void;
1326
1360
  deleteRule(
1327
1361
  args: DeleteRuleCommandInput,
1328
1362
  options?: __HttpHandlerOptions