@aws-sdk/client-connect 3.937.0 → 3.938.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 (110) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/index.js +422 -15
  3. package/dist-es/Connect.js +16 -0
  4. package/dist-es/commands/CreateContactFlowModuleAliasCommand.js +16 -0
  5. package/dist-es/commands/CreateContactFlowModuleVersionCommand.js +16 -0
  6. package/dist-es/commands/DeleteContactFlowModuleAliasCommand.js +16 -0
  7. package/dist-es/commands/DeleteContactFlowModuleVersionCommand.js +16 -0
  8. package/dist-es/commands/DescribeContactFlowModuleAliasCommand.js +16 -0
  9. package/dist-es/commands/ListContactFlowModuleAliasesCommand.js +16 -0
  10. package/dist-es/commands/ListContactFlowModuleVersionsCommand.js +16 -0
  11. package/dist-es/commands/UpdateContactFlowModuleAliasCommand.js +16 -0
  12. package/dist-es/commands/index.js +8 -0
  13. package/dist-es/pagination/ListContactFlowModuleAliasesPaginator.js +4 -0
  14. package/dist-es/pagination/ListContactFlowModuleVersionsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +304 -15
  17. package/dist-types/Connect.d.ts +56 -0
  18. package/dist-types/ConnectClient.d.ts +10 -2
  19. package/dist-types/commands/CreateContactCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateContactFlowModuleAliasCommand.d.ts +103 -0
  21. package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +4 -0
  22. package/dist-types/commands/CreateContactFlowModuleVersionCommand.d.ts +99 -0
  23. package/dist-types/commands/DeleteContactFlowModuleAliasCommand.d.ts +92 -0
  24. package/dist-types/commands/DeleteContactFlowModuleVersionCommand.d.ts +92 -0
  25. package/dist-types/commands/DescribeContactFlowModuleAliasCommand.d.ts +103 -0
  26. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +7 -0
  27. package/dist-types/commands/ListContactFlowModuleAliasesCommand.d.ts +105 -0
  28. package/dist-types/commands/ListContactFlowModuleVersionsCommand.d.ts +102 -0
  29. package/dist-types/commands/ListSecurityKeysCommand.d.ts +2 -1
  30. package/dist-types/commands/ListSecurityProfileApplicationsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/ListTaskTemplatesCommand.d.ts +1 -1
  35. package/dist-types/commands/ListTrafficDistributionGroupUsersCommand.d.ts +1 -2
  36. package/dist-types/commands/ListTrafficDistributionGroupsCommand.d.ts +1 -1
  37. package/dist-types/commands/SearchAgentStatusesCommand.d.ts +2 -1
  38. package/dist-types/commands/SearchContactEvaluationsCommand.d.ts +2 -1
  39. package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +9 -1
  40. package/dist-types/commands/SearchContactFlowsCommand.d.ts +2 -1
  41. package/dist-types/commands/SearchEmailAddressesCommand.d.ts +2 -1
  42. package/dist-types/commands/SearchEvaluationFormsCommand.d.ts +2 -1
  43. package/dist-types/commands/SearchHoursOfOperationOverridesCommand.d.ts +2 -1
  44. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -1
  45. package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +2 -1
  46. package/dist-types/commands/SearchPromptsCommand.d.ts +2 -1
  47. package/dist-types/commands/SearchQueuesCommand.d.ts +2 -1
  48. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -1
  49. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +2 -1
  50. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +2 -1
  51. package/dist-types/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -1
  52. package/dist-types/commands/SearchUsersCommand.d.ts +2 -1
  53. package/dist-types/commands/StartChatContactCommand.d.ts +2 -1
  54. package/dist-types/commands/UpdateContactFlowModuleAliasCommand.d.ts +101 -0
  55. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +2 -1
  56. package/dist-types/commands/index.d.ts +8 -0
  57. package/dist-types/models/models_0.d.ts +157 -239
  58. package/dist-types/models/models_1.d.ts +501 -481
  59. package/dist-types/models/models_2.d.ts +3522 -3819
  60. package/dist-types/models/models_3.d.ts +803 -3
  61. package/dist-types/pagination/ListContactFlowModuleAliasesPaginator.d.ts +7 -0
  62. package/dist-types/pagination/ListContactFlowModuleVersionsPaginator.d.ts +7 -0
  63. package/dist-types/pagination/index.d.ts +2 -0
  64. package/dist-types/schemas/schemas_0.d.ts +30 -0
  65. package/dist-types/ts3.4/Connect.d.ts +136 -0
  66. package/dist-types/ts3.4/ConnectClient.d.ts +48 -0
  67. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/CreateContactFlowModuleAliasCommand.d.ts +51 -0
  69. package/dist-types/ts3.4/commands/CreateContactFlowModuleVersionCommand.d.ts +51 -0
  70. package/dist-types/ts3.4/commands/DeleteContactFlowModuleAliasCommand.d.ts +51 -0
  71. package/dist-types/ts3.4/commands/DeleteContactFlowModuleVersionCommand.d.ts +51 -0
  72. package/dist-types/ts3.4/commands/DescribeContactFlowModuleAliasCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/ListContactFlowModuleAliasesCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/ListContactFlowModuleVersionsCommand.d.ts +51 -0
  75. package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/ListSecurityProfileApplicationsCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/ListTaskTemplatesCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/ListTrafficDistributionGroupUsersCommand.d.ts +4 -2
  82. package/dist-types/ts3.4/commands/ListTrafficDistributionGroupsCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +2 -4
  84. package/dist-types/ts3.4/commands/SearchContactEvaluationsCommand.d.ts +2 -4
  85. package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +2 -4
  86. package/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +2 -4
  87. package/dist-types/ts3.4/commands/SearchEmailAddressesCommand.d.ts +2 -4
  88. package/dist-types/ts3.4/commands/SearchEvaluationFormsCommand.d.ts +2 -4
  89. package/dist-types/ts3.4/commands/SearchHoursOfOperationOverridesCommand.d.ts +2 -4
  90. package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +2 -4
  91. package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +2 -4
  92. package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +2 -4
  93. package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -1
  94. package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +2 -4
  95. package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -4
  96. package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -4
  97. package/dist-types/ts3.4/commands/SearchUserHierarchyGroupsCommand.d.ts +2 -4
  98. package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +2 -1
  99. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
  100. package/dist-types/ts3.4/commands/UpdateContactFlowModuleAliasCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  102. package/dist-types/ts3.4/models/models_0.d.ts +38 -99
  103. package/dist-types/ts3.4/models/models_1.d.ts +161 -102
  104. package/dist-types/ts3.4/models/models_2.d.ts +112 -157
  105. package/dist-types/ts3.4/models/models_3.d.ts +185 -2
  106. package/dist-types/ts3.4/pagination/ListContactFlowModuleAliasesPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/ListContactFlowModuleVersionsPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  109. package/dist-types/ts3.4/schemas/schemas_0.d.ts +30 -0
  110. package/package.json +1 -1
@@ -1,7 +1,807 @@
1
- import { AnsweringMachineDetectionStatus, Channel, ContactInitiationMethod, EvaluationFormVersionStatus } from "./enums";
2
- import { AdditionalEmailRecipients, AgentInfo, Campaign, ChatMetrics, ContactDetails, ContactEvaluation, Customer, CustomerVoiceActivity, DisconnectDetails, Endpoint, EndpointInfo, EvaluationFormAutoEvaluationConfiguration, EvaluationFormScoringStrategy, OutboundStrategy, QualityMetrics, QueueInfo, RecordingInfo, Reference, TaskTemplateInfoV2, UserInfo, WisdomInfo } from "./models_0";
1
+ import { AnsweringMachineDetectionStatus, Channel, ContactInitiationMethod, EvaluationFormVersionStatus, InitiateAs, RoutingCriteriaStepStatus } from "./enums";
2
+ import { AdditionalEmailRecipients, AgentInfo, AgentStatusSearchFilter, Campaign, ChatMetrics, ContactDetails, ContactEvaluation, Customer, CustomerVoiceActivity, DisconnectDetails, Endpoint, EndpointInfo, EvaluationFormAutoEvaluationConfiguration, EvaluationFormScoringStrategy, Expiry, OutboundStrategy, QualityMetrics, QueueInfo, RecordingInfo, Reference, TaskTemplateInfoV2, UserInfo, WisdomInfo } from "./models_0";
3
3
  import { Evaluation } from "./models_1";
4
- import { ChatMessage, ContactSearchSummaryAgentInfo, ContactSearchSummaryQueueInfo, ContactSearchSummarySegmentAttributeValue, EmailAddressInfo, EmailAttachment, EvaluationFormQuestion, InboundAdditionalRecipients, InboundEmailContent, ParticipantDetails, QueueInfoInput, RoutingCriteriaInputStep, SegmentAttributeValue, Step } from "./models_2";
4
+ import { AgentStatusSearchCriteria, ChatMessage, ContactFlowModuleSearchCriteria, ContactFlowModuleSearchFilter, ContactFlowSearchCriteria, ContactFlowSearchFilter, ContactSearchSummaryAgentInfo, ContactSearchSummaryQueueInfo, EmailAddressInfo, EmailAddressSearchCriteria, EmailAddressSearchFilter, EmailAttachment, EvaluationFormQuestion, EvaluationFormSearchCriteria, EvaluationFormSearchFilter, EvaluationSearchCriteria, EvaluationSearchFilter, Expression, HoursOfOperationOverrideSearchCriteria, HoursOfOperationSearchCriteria, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ParticipantDetails, PersistentChat, PredefinedAttributeSearchCriteria, PromptSearchCriteria, PromptSearchFilter, QueueInfoInput, QueueSearchCriteria, QueueSearchFilter, QuickConnectSearchCriteria, QuickConnectSearchFilter, RoutingCriteriaInputStep, RoutingProfileSearchCriteria, RoutingProfileSearchFilter, SecurityProfileSearchCriteria, SecurityProfilesSearchFilter, SegmentAttributeValue, UserHierarchyGroupSearchCriteria, UserHierarchyGroupSearchFilter, UserSearchCriteria, UserSearchFilter } from "./models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface SearchAgentStatusesRequest {
9
+ /**
10
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
11
+ * the instance.</p>
12
+ * @public
13
+ */
14
+ InstanceId: string | undefined;
15
+ /**
16
+ * <p>The token for the next set of results. Use the value returned in the previous response in
17
+ * the next request to retrieve the next set of results.</p>
18
+ * @public
19
+ */
20
+ NextToken?: string | undefined;
21
+ /**
22
+ * <p>The maximum number of results to return per page.</p>
23
+ * @public
24
+ */
25
+ MaxResults?: number | undefined;
26
+ /**
27
+ * <p>Filters to be applied to search results.</p>
28
+ * @public
29
+ */
30
+ SearchFilter?: AgentStatusSearchFilter | undefined;
31
+ /**
32
+ * <p>The search criteria to be used to return agent statuses.</p>
33
+ * @public
34
+ */
35
+ SearchCriteria?: AgentStatusSearchCriteria | undefined;
36
+ }
37
+ /**
38
+ * @public
39
+ */
40
+ export interface SearchContactEvaluationsRequest {
41
+ /**
42
+ * <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>
43
+ * @public
44
+ */
45
+ InstanceId: string | undefined;
46
+ /**
47
+ * <p>The token for the next set of results. Use the value returned in the previous
48
+ * response in the next request to retrieve the next set of results.</p>
49
+ * @public
50
+ */
51
+ NextToken?: string | undefined;
52
+ /**
53
+ * <p>The maximum number of results to return per page.</p>
54
+ * @public
55
+ */
56
+ MaxResults?: number | undefined;
57
+ /**
58
+ * <p>The search criteria to be used to return contact evaluations.</p>
59
+ * @public
60
+ */
61
+ SearchCriteria?: EvaluationSearchCriteria | undefined;
62
+ /**
63
+ * <p>Filters to be applied to search results.</p>
64
+ * @public
65
+ */
66
+ SearchFilter?: EvaluationSearchFilter | undefined;
67
+ }
68
+ /**
69
+ * @public
70
+ */
71
+ export interface SearchContactFlowModulesRequest {
72
+ /**
73
+ * <p>The identifier of the Amazon Connect instance. You can find the instance ID in the
74
+ * Amazon Resource Name (ARN) of the instance.</p>
75
+ * @public
76
+ */
77
+ InstanceId: string | undefined;
78
+ /**
79
+ * <p>The token for the next set of results. Use the value returned in the previous response in
80
+ * the next request to retrieve the next set of results.</p>
81
+ * @public
82
+ */
83
+ NextToken?: string | undefined;
84
+ /**
85
+ * <p>The maximum number of results to return per page.</p>
86
+ * @public
87
+ */
88
+ MaxResults?: number | undefined;
89
+ /**
90
+ * <p>Filters to be applied to search results.</p>
91
+ * @public
92
+ */
93
+ SearchFilter?: ContactFlowModuleSearchFilter | undefined;
94
+ /**
95
+ * <p>The search criteria to be used to return flow modules.</p>
96
+ * <note>
97
+ * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with a
98
+ * minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
99
+ * outside of this range will result in invalid results.</p>
100
+ * </note>
101
+ * @public
102
+ */
103
+ SearchCriteria?: ContactFlowModuleSearchCriteria | undefined;
104
+ }
105
+ /**
106
+ * @public
107
+ */
108
+ export interface SearchContactFlowsRequest {
109
+ /**
110
+ * <p>The identifier of the Amazon Connect instance. You can find the instance ID in the
111
+ * Amazon Resource Name (ARN) of the instance.</p>
112
+ * @public
113
+ */
114
+ InstanceId: string | undefined;
115
+ /**
116
+ * <p>The token for the next set of results. Use the value returned in the previous response in
117
+ * the next request to retrieve the next set of results.</p>
118
+ * @public
119
+ */
120
+ NextToken?: string | undefined;
121
+ /**
122
+ * <p>The maximum number of results to return per page.</p>
123
+ * @public
124
+ */
125
+ MaxResults?: number | undefined;
126
+ /**
127
+ * <p>Filters to be applied to search results.</p>
128
+ * @public
129
+ */
130
+ SearchFilter?: ContactFlowSearchFilter | undefined;
131
+ /**
132
+ * <p>The search criteria to be used to return flows.</p>
133
+ * <note>
134
+ * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with a
135
+ * minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
136
+ * outside of this range will result in invalid results.</p>
137
+ * </note>
138
+ * @public
139
+ */
140
+ SearchCriteria?: ContactFlowSearchCriteria | undefined;
141
+ }
142
+ /**
143
+ * @public
144
+ */
145
+ export interface SearchEmailAddressesRequest {
146
+ /**
147
+ * <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>
148
+ * @public
149
+ */
150
+ InstanceId: string | undefined;
151
+ /**
152
+ * <p>The maximum number of results to return per page.</p>
153
+ * @public
154
+ */
155
+ MaxResults?: number | undefined;
156
+ /**
157
+ * <p>The token for the next set of results. Use the value returned in the previous
158
+ * response in the next request to retrieve the next set of results.</p>
159
+ * @public
160
+ */
161
+ NextToken?: string | undefined;
162
+ /**
163
+ * <p>The search criteria to be used to return email addresses.</p>
164
+ * @public
165
+ */
166
+ SearchCriteria?: EmailAddressSearchCriteria | undefined;
167
+ /**
168
+ * <p>Filters to be applied to search results.</p>
169
+ * @public
170
+ */
171
+ SearchFilter?: EmailAddressSearchFilter | undefined;
172
+ }
173
+ /**
174
+ * @public
175
+ */
176
+ export interface SearchEvaluationFormsRequest {
177
+ /**
178
+ * <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>
179
+ * @public
180
+ */
181
+ InstanceId: string | undefined;
182
+ /**
183
+ * <p>The token for the next set of results. Use the value returned in the previous
184
+ * response in the next request to retrieve the next set of results.</p>
185
+ * @public
186
+ */
187
+ NextToken?: string | undefined;
188
+ /**
189
+ * <p>The maximum number of results to return per page.</p>
190
+ * @public
191
+ */
192
+ MaxResults?: number | undefined;
193
+ /**
194
+ * <p>The search criteria to be used to return evaluation forms.</p>
195
+ * @public
196
+ */
197
+ SearchCriteria?: EvaluationFormSearchCriteria | undefined;
198
+ /**
199
+ * <p>Filters to be applied to search results.</p>
200
+ * @public
201
+ */
202
+ SearchFilter?: EvaluationFormSearchFilter | undefined;
203
+ }
204
+ /**
205
+ * @public
206
+ */
207
+ export interface SearchHoursOfOperationOverridesRequest {
208
+ /**
209
+ * <p>The identifier of the Amazon Connect instance.</p>
210
+ * @public
211
+ */
212
+ InstanceId: string | undefined;
213
+ /**
214
+ * <p>The token for the next set of results. Use the value returned in the previous response in
215
+ * the next request to retrieve the next set of results. </p>
216
+ * @public
217
+ */
218
+ NextToken?: string | undefined;
219
+ /**
220
+ * <p>The maximum number of results to return per page.</p>
221
+ * @public
222
+ */
223
+ MaxResults?: number | undefined;
224
+ /**
225
+ * <p>Filters to be applied to search results.</p>
226
+ * @public
227
+ */
228
+ SearchFilter?: HoursOfOperationSearchFilter | undefined;
229
+ /**
230
+ * <p>The search criteria to be used to return hours of operations overrides.</p>
231
+ * @public
232
+ */
233
+ SearchCriteria?: HoursOfOperationOverrideSearchCriteria | undefined;
234
+ }
235
+ /**
236
+ * @public
237
+ */
238
+ export interface SearchHoursOfOperationsRequest {
239
+ /**
240
+ * <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>
241
+ * @public
242
+ */
243
+ InstanceId: string | undefined;
244
+ /**
245
+ * <p>The token for the next set of results. Use the value returned in the previous
246
+ * response in the next request to retrieve the next set of results.</p>
247
+ * @public
248
+ */
249
+ NextToken?: string | undefined;
250
+ /**
251
+ * <p>The maximum number of results to return per page.</p>
252
+ * @public
253
+ */
254
+ MaxResults?: number | undefined;
255
+ /**
256
+ * <p>Filters to be applied to search results.</p>
257
+ * @public
258
+ */
259
+ SearchFilter?: HoursOfOperationSearchFilter | undefined;
260
+ /**
261
+ * <p>The search criteria to be used to return hours of operations.</p>
262
+ * @public
263
+ */
264
+ SearchCriteria?: HoursOfOperationSearchCriteria | undefined;
265
+ }
266
+ /**
267
+ * @public
268
+ */
269
+ export interface SearchPredefinedAttributesRequest {
270
+ /**
271
+ * <p>The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource
272
+ * Name (ARN) of the instance.</p>
273
+ * @public
274
+ */
275
+ InstanceId: string | undefined;
276
+ /**
277
+ * <p>The token for the next set of results. Use the value returned in the previous response in
278
+ * the next request to retrieve the next set of results.</p>
279
+ * @public
280
+ */
281
+ NextToken?: string | undefined;
282
+ /**
283
+ * <p>The maximum number of results to return per page.</p>
284
+ * @public
285
+ */
286
+ MaxResults?: number | undefined;
287
+ /**
288
+ * <p>The search criteria to be used to return predefined attributes.</p>
289
+ * @public
290
+ */
291
+ SearchCriteria?: PredefinedAttributeSearchCriteria | undefined;
292
+ }
293
+ /**
294
+ * @public
295
+ */
296
+ export interface SearchPromptsRequest {
297
+ /**
298
+ * <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>
299
+ * @public
300
+ */
301
+ InstanceId: string | undefined;
302
+ /**
303
+ * <p>The token for the next set of results. Use the value returned in the previous
304
+ * response in the next request to retrieve the next set of results.</p>
305
+ * @public
306
+ */
307
+ NextToken?: string | undefined;
308
+ /**
309
+ * <p>The maximum number of results to return per page.</p>
310
+ * @public
311
+ */
312
+ MaxResults?: number | undefined;
313
+ /**
314
+ * <p>Filters to be applied to search results.</p>
315
+ * @public
316
+ */
317
+ SearchFilter?: PromptSearchFilter | undefined;
318
+ /**
319
+ * <p>The search criteria to be used to return prompts.</p>
320
+ * @public
321
+ */
322
+ SearchCriteria?: PromptSearchCriteria | undefined;
323
+ }
324
+ /**
325
+ * @public
326
+ */
327
+ export interface SearchQueuesRequest {
328
+ /**
329
+ * <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>
330
+ * @public
331
+ */
332
+ InstanceId: string | undefined;
333
+ /**
334
+ * <p>The token for the next set of results. Use the value returned in the previous
335
+ * response in the next request to retrieve the next set of results.</p>
336
+ * @public
337
+ */
338
+ NextToken?: string | undefined;
339
+ /**
340
+ * <p>The maximum number of results to return per page.</p>
341
+ * @public
342
+ */
343
+ MaxResults?: number | undefined;
344
+ /**
345
+ * <p>Filters to be applied to search results.</p>
346
+ * @public
347
+ */
348
+ SearchFilter?: QueueSearchFilter | undefined;
349
+ /**
350
+ * <p>The search criteria to be used to return queues.</p>
351
+ * <note>
352
+ * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
353
+ * a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
354
+ * outside of this range will throw invalid results. </p>
355
+ * </note>
356
+ * @public
357
+ */
358
+ SearchCriteria?: QueueSearchCriteria | undefined;
359
+ }
360
+ /**
361
+ * @public
362
+ */
363
+ export interface SearchQuickConnectsRequest {
364
+ /**
365
+ * <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>
366
+ * @public
367
+ */
368
+ InstanceId: string | undefined;
369
+ /**
370
+ * <p>The token for the next set of results. Use the value returned in the previous
371
+ * response in the next request to retrieve the next set of results.</p>
372
+ * @public
373
+ */
374
+ NextToken?: string | undefined;
375
+ /**
376
+ * <p>The maximum number of results to return per page.</p>
377
+ * @public
378
+ */
379
+ MaxResults?: number | undefined;
380
+ /**
381
+ * <p>Filters to be applied to search results.</p>
382
+ * @public
383
+ */
384
+ SearchFilter?: QuickConnectSearchFilter | undefined;
385
+ /**
386
+ * <p>The search criteria to be used to return quick connects.</p>
387
+ * @public
388
+ */
389
+ SearchCriteria?: QuickConnectSearchCriteria | undefined;
390
+ }
391
+ /**
392
+ * @public
393
+ */
394
+ export interface SearchRoutingProfilesRequest {
395
+ /**
396
+ * <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>
397
+ * @public
398
+ */
399
+ InstanceId: string | undefined;
400
+ /**
401
+ * <p>The token for the next set of results. Use the value returned in the previous
402
+ * response in the next request to retrieve the next set of results.</p>
403
+ * @public
404
+ */
405
+ NextToken?: string | undefined;
406
+ /**
407
+ * <p>The maximum number of results to return per page.</p>
408
+ * @public
409
+ */
410
+ MaxResults?: number | undefined;
411
+ /**
412
+ * <p>Filters to be applied to search results.</p>
413
+ * @public
414
+ */
415
+ SearchFilter?: RoutingProfileSearchFilter | undefined;
416
+ /**
417
+ * <p>The search criteria to be used to return routing profiles.</p>
418
+ * <note>
419
+ * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
420
+ * a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
421
+ * outside of this range will throw invalid results. </p>
422
+ * </note>
423
+ * @public
424
+ */
425
+ SearchCriteria?: RoutingProfileSearchCriteria | undefined;
426
+ }
427
+ /**
428
+ * @public
429
+ */
430
+ export interface SearchSecurityProfilesRequest {
431
+ /**
432
+ * <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>
433
+ * @public
434
+ */
435
+ InstanceId: string | undefined;
436
+ /**
437
+ * <p>The token for the next set of results. Use the value returned in the previous
438
+ * response in the next request to retrieve the next set of results.</p>
439
+ * @public
440
+ */
441
+ NextToken?: string | undefined;
442
+ /**
443
+ * <p>The maximum number of results to return per page.</p>
444
+ * @public
445
+ */
446
+ MaxResults?: number | undefined;
447
+ /**
448
+ * <p>The search criteria to be used to return security profiles. </p>
449
+ * <note>
450
+ * <p>The <code>name</code> field support "contains" queries with a minimum of 2 characters and
451
+ * maximum of 25 characters. Any queries with character lengths outside of this range will throw
452
+ * invalid results.</p>
453
+ * </note>
454
+ * <note>
455
+ * <p>The currently supported value for <code>FieldName</code>: <code>name</code>
456
+ * </p>
457
+ * </note>
458
+ * @public
459
+ */
460
+ SearchCriteria?: SecurityProfileSearchCriteria | undefined;
461
+ /**
462
+ * <p>Filters to be applied to search results.</p>
463
+ * @public
464
+ */
465
+ SearchFilter?: SecurityProfilesSearchFilter | undefined;
466
+ }
467
+ /**
468
+ * @public
469
+ */
470
+ export interface SearchUserHierarchyGroupsRequest {
471
+ /**
472
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
473
+ * the instance.</p>
474
+ * @public
475
+ */
476
+ InstanceId: string | undefined;
477
+ /**
478
+ * <p>The token for the next set of results. Use the value returned in the previous response in
479
+ * the next request to retrieve the next set of results.</p>
480
+ * @public
481
+ */
482
+ NextToken?: string | undefined;
483
+ /**
484
+ * <p>The maximum number of results to return per page.</p>
485
+ * @public
486
+ */
487
+ MaxResults?: number | undefined;
488
+ /**
489
+ * <p>Filters to be applied to search results.</p>
490
+ * @public
491
+ */
492
+ SearchFilter?: UserHierarchyGroupSearchFilter | undefined;
493
+ /**
494
+ * <p>The search criteria to be used to return UserHierarchyGroups.</p>
495
+ * @public
496
+ */
497
+ SearchCriteria?: UserHierarchyGroupSearchCriteria | undefined;
498
+ }
499
+ /**
500
+ * @public
501
+ */
502
+ export interface SearchUsersRequest {
503
+ /**
504
+ * <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>
505
+ * @public
506
+ */
507
+ InstanceId: string | undefined;
508
+ /**
509
+ * <p>The token for the next set of results. Use the value returned in the previous
510
+ * response in the next request to retrieve the next set of results.</p>
511
+ * @public
512
+ */
513
+ NextToken?: string | undefined;
514
+ /**
515
+ * <p>The maximum number of results to return per page.</p>
516
+ * @public
517
+ */
518
+ MaxResults?: number | undefined;
519
+ /**
520
+ * <p>Filters to be applied to search results.</p>
521
+ * @public
522
+ */
523
+ SearchFilter?: UserSearchFilter | undefined;
524
+ /**
525
+ * <p>The search criteria to be used to return users.</p>
526
+ * <note>
527
+ * <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
528
+ * a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
529
+ * outside of this range will throw invalid results. </p>
530
+ * </note>
531
+ * @public
532
+ */
533
+ SearchCriteria?: UserSearchCriteria | undefined;
534
+ }
535
+ /**
536
+ * <p>Step signifies the criteria to be used for routing to an agent</p>
537
+ * @public
538
+ */
539
+ export interface Step {
540
+ /**
541
+ * <p>An object to specify the expiration of a routing step.</p>
542
+ * @public
543
+ */
544
+ Expiry?: Expiry | undefined;
545
+ /**
546
+ * <p>A tagged union to specify expression for a routing step.</p>
547
+ * @public
548
+ */
549
+ Expression?: Expression | undefined;
550
+ /**
551
+ * <p>Represents status of the Routing step.</p>
552
+ * @public
553
+ */
554
+ Status?: RoutingCriteriaStepStatus | undefined;
555
+ }
556
+ /**
557
+ * <p>The value of a segment attribute. This is structured as a map with a single key-value pair.
558
+ * The key 'valueString' indicates that the attribute type is a string, and its corresponding value
559
+ * is the actual string value of the segment attribute.</p>
560
+ * @public
561
+ */
562
+ export interface ContactSearchSummarySegmentAttributeValue {
563
+ /**
564
+ * <p>The value of a segment attribute represented as a string.</p>
565
+ * @public
566
+ */
567
+ ValueString?: string | undefined;
568
+ /**
569
+ * <p>The key and value of a segment attribute.</p>
570
+ * @public
571
+ */
572
+ ValueMap?: Record<string, SegmentAttributeValue> | undefined;
573
+ }
574
+ /**
575
+ * @public
576
+ */
577
+ export interface CreateContactRequest {
578
+ /**
579
+ * <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>
580
+ * @public
581
+ */
582
+ InstanceId: string | undefined;
583
+ /**
584
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
585
+ * request. If not provided, the Amazon Web Services
586
+ * SDK populates this field. For more information about idempotency, see
587
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
588
+ * @public
589
+ */
590
+ ClientToken?: string | undefined;
591
+ /**
592
+ * <p>The identifier of the contact in this instance of Amazon Connect. </p>
593
+ * @public
594
+ */
595
+ RelatedContactId?: string | undefined;
596
+ /**
597
+ * <p>A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.</p>
598
+ * <p>There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys
599
+ * can include only alphanumeric, dash, and underscore characters.</p>
600
+ * @public
601
+ */
602
+ Attributes?: Record<string, string> | undefined;
603
+ /**
604
+ * <p>A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have
605
+ * the following reference types at the time of creation: <code>URL</code> | <code>NUMBER</code> |
606
+ * <code>STRING</code> | <code>DATE</code> | <code>EMAIL</code> | <code>ATTACHMENT</code>.</p>
607
+ * @public
608
+ */
609
+ References?: Record<string, Reference> | undefined;
610
+ /**
611
+ * <p>The channel for the contact.</p>
612
+ * <important>
613
+ * <p>The CHAT channel is not supported. The following information is incorrect. We're working to
614
+ * correct it.</p>
615
+ * </important>
616
+ * @public
617
+ */
618
+ Channel: Channel | undefined;
619
+ /**
620
+ * <p>Indicates how the contact was initiated. </p>
621
+ * <important>
622
+ * <p>CreateContact only supports the following initiation methods. Valid values by channel are: </p>
623
+ * <ul>
624
+ * <li>
625
+ * <p>For VOICE: <code>TRANSFER</code> and the subtype <code>connect:ExternalAudio</code>
626
+ * </p>
627
+ * </li>
628
+ * <li>
629
+ * <p>For EMAIL: <code>OUTBOUND</code> | <code>AGENT_REPLY</code> | <code>FLOW</code>
630
+ * </p>
631
+ * </li>
632
+ * <li>
633
+ * <p>For TASK: <code>API</code>
634
+ * </p>
635
+ * </li>
636
+ * </ul>
637
+ * <p>The other channels listed below are incorrect. We're working to correct this
638
+ * information.</p>
639
+ * </important>
640
+ * @public
641
+ */
642
+ InitiationMethod: ContactInitiationMethod | undefined;
643
+ /**
644
+ * <p>Number of minutes the contact will be active for before expiring</p>
645
+ * @public
646
+ */
647
+ ExpiryDurationInMinutes?: number | undefined;
648
+ /**
649
+ * <p>User details for the contact</p>
650
+ * <important>
651
+ * <p>UserInfo is required when creating an EMAIL contact with <code>OUTBOUND</code> and
652
+ * <code>AGENT_REPLY</code> contact initiation methods.</p>
653
+ * </important>
654
+ * @public
655
+ */
656
+ UserInfo?: UserInfo | undefined;
657
+ /**
658
+ * <p>Initial state of the contact when it's created. Only TASK channel contacts can be initiated
659
+ * with <code>COMPLETED</code> state.</p>
660
+ * @public
661
+ */
662
+ InitiateAs?: InitiateAs | undefined;
663
+ /**
664
+ * <p>The name of a the contact.</p>
665
+ * @public
666
+ */
667
+ Name?: string | undefined;
668
+ /**
669
+ * <p>A description of the contact.</p>
670
+ * @public
671
+ */
672
+ Description?: string | undefined;
673
+ /**
674
+ * <p>A set of system defined key-value pairs stored on individual contact segments (unique
675
+ * contact ID) using an attribute map. The attributes are standard Amazon Connect attributes.
676
+ * They can be accessed in flows.</p>
677
+ * <p>Attribute keys can include only alphanumeric, -, and _.</p>
678
+ * <p>This field can be used to set Segment Contact Expiry as a duration in minutes.</p>
679
+ * <note>
680
+ * <p>To set contact expiry, a ValueMap must be specified containing the integer number of
681
+ * minutes the contact will be active for before expiring, with <code>SegmentAttributes</code> like
682
+ * \{ <code> "connect:ContactExpiry": \{"ValueMap" : \{ "ExpiryDuration": \{ "ValueInteger":
683
+ * 135\}\}\}\}</code>. </p>
684
+ * </note>
685
+ * @public
686
+ */
687
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
688
+ /**
689
+ * <p>The ID of the previous contact when creating a transfer contact. This value can be provided
690
+ * only for external audio contacts. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Integrate Amazon Connect Contact Lens
691
+ * with external voice systems</a> in the <i>Amazon Connect Administrator
692
+ * Guide</i>.</p>
693
+ * @public
694
+ */
695
+ PreviousContactId?: string | undefined;
696
+ }
697
+ /**
698
+ * @public
699
+ */
700
+ export interface StartChatContactRequest {
701
+ /**
702
+ * <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>
703
+ * @public
704
+ */
705
+ InstanceId: string | undefined;
706
+ /**
707
+ * <p>The identifier of the flow for initiating the chat.
708
+ * To
709
+ * see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to <b>Routing</b>, <b>Flows</b>. Choose the flow. On the flow page,
710
+ * under the name of the flow, choose <b>Show additional flow
711
+ * information</b>. The ContactFlowId is the last part of the ARN, shown here in bold: </p>
712
+ * <p>arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/<b>846ec553-a005-41c0-8341-xxxxxxxxxxxx</b>
713
+ * </p>
714
+ * @public
715
+ */
716
+ ContactFlowId: string | undefined;
717
+ /**
718
+ * <p>A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows just like any other contact attributes. </p>
719
+ * <p>There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys
720
+ * can include only alphanumeric, dash, and underscore characters.</p>
721
+ * @public
722
+ */
723
+ Attributes?: Record<string, string> | undefined;
724
+ /**
725
+ * <p>Information identifying the participant.</p>
726
+ * @public
727
+ */
728
+ ParticipantDetails: ParticipantDetails | undefined;
729
+ /**
730
+ * <p>The initial message to be sent to the newly created chat.</p>
731
+ * @public
732
+ */
733
+ InitialMessage?: ChatMessage | undefined;
734
+ /**
735
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
736
+ * request. If not provided, the Amazon Web Services
737
+ * SDK populates this field. For more information about idempotency, see
738
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
739
+ * @public
740
+ */
741
+ ClientToken?: string | undefined;
742
+ /**
743
+ * <p>The total duration of the newly started chat session. If not specified, the chat session
744
+ * duration defaults to 25 hour. The minimum configurable time is 60 minutes. The maximum
745
+ * configurable time is 10,080 minutes (7 days).</p>
746
+ * @public
747
+ */
748
+ ChatDurationInMinutes?: number | undefined;
749
+ /**
750
+ * <p>The supported chat message content types. Supported types are <code>text/plain</code>,
751
+ * <code>text/markdown</code>, <code>application/json</code>,
752
+ * <code>application/vnd.amazonaws.connect.message.interactive</code>, and
753
+ * <code>application/vnd.amazonaws.connect.message.interactive.response</code>. </p>
754
+ * <p>Content types must always contain <code>text/plain</code>. You can then put any other
755
+ * supported type in the list. For example, all the following lists are valid because they contain
756
+ * <code>text/plain</code>: <code>[text/plain, text/markdown, application/json]</code>,
757
+ * <code>[text/markdown, text/plain]</code>, <code>[text/plain, application/json,
758
+ * application/vnd.amazonaws.connect.message.interactive.response]</code>. </p>
759
+ * <note>
760
+ * <p>The type <code>application/vnd.amazonaws.connect.message.interactive</code> is required to
761
+ * use the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/show-view-block.html">Show
762
+ * view</a> flow block.</p>
763
+ * </note>
764
+ * @public
765
+ */
766
+ SupportedMessagingContentTypes?: string[] | undefined;
767
+ /**
768
+ * <p>Enable persistent chats. For more information about enabling persistent chat, and for
769
+ * example use cases and how to configure for them, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent chat</a>.</p>
770
+ * @public
771
+ */
772
+ PersistentChat?: PersistentChat | undefined;
773
+ /**
774
+ * <p>The unique identifier for an Amazon Connect contact. This identifier is related to the
775
+ * chat starting.</p>
776
+ * <note>
777
+ * <p>You cannot provide data for both RelatedContactId and PersistentChat. </p>
778
+ * </note>
779
+ * @public
780
+ */
781
+ RelatedContactId?: string | undefined;
782
+ /**
783
+ * <p>A set of system defined key-value pairs stored on individual contact segments using an
784
+ * attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in
785
+ * flows.</p>
786
+ * <p>Attribute keys can include only alphanumeric, -, and _.</p>
787
+ * <p>This field can be used to show channel subtype, such as <code>connect:Guide</code>.</p>
788
+ * <note>
789
+ * <p>The types <code>application/vnd.amazonaws.connect.message.interactive</code> and
790
+ * <code>application/vnd.amazonaws.connect.message.interactive.response</code> must be present in
791
+ * the SupportedMessagingContentTypes field of this API in order to set
792
+ * <code>SegmentAttributes</code> as \{<code> "connect:Subtype": \{"valueString" : "connect:Guide"
793
+ * \}\}</code>.</p>
794
+ * </note>
795
+ * @public
796
+ */
797
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
798
+ /**
799
+ * <p>The customer's identification number. For example, the <code>CustomerId</code> may be a
800
+ * customer number from your CRM.</p>
801
+ * @public
802
+ */
803
+ CustomerId?: string | undefined;
804
+ }
5
805
  /**
6
806
  * @public
7
807
  */