@aws-sdk/client-connect 3.442.0 → 3.444.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 (67) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/Connect.js +4 -0
  3. package/dist-cjs/commands/BatchPutContactCommand.js +51 -0
  4. package/dist-cjs/commands/CreatePersistentContactAssociationCommand.js +51 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +23 -2
  7. package/dist-cjs/models/models_1.js +1 -13
  8. package/dist-cjs/models/models_2.js +9 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +158 -9
  10. package/dist-es/Connect.js +4 -0
  11. package/dist-es/commands/BatchPutContactCommand.js +47 -0
  12. package/dist-es/commands/CreatePersistentContactAssociationCommand.js +47 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/models/models_0.js +21 -0
  15. package/dist-es/models/models_1.js +0 -12
  16. package/dist-es/models/models_2.js +8 -0
  17. package/dist-es/protocols/Aws_restJson1.js +145 -0
  18. package/dist-types/Connect.d.ts +14 -0
  19. package/dist-types/ConnectClient.d.ts +4 -2
  20. package/dist-types/commands/BatchPutContactCommand.d.ts +133 -0
  21. package/dist-types/commands/CreatePersistentContactAssociationCommand.d.ts +98 -0
  22. package/dist-types/commands/CreateViewCommand.d.ts +7 -5
  23. package/dist-types/commands/CreateViewVersionCommand.d.ts +3 -3
  24. package/dist-types/commands/DeleteViewCommand.d.ts +2 -1
  25. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +2 -1
  26. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +1 -2
  29. package/dist-types/commands/DescribeViewCommand.d.ts +4 -4
  30. package/dist-types/commands/ListViewVersionsCommand.d.ts +2 -1
  31. package/dist-types/commands/ReplicateInstanceCommand.d.ts +2 -3
  32. package/dist-types/commands/StopContactCommand.d.ts +3 -0
  33. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +3 -3
  34. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -2
  38. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateViewContentCommand.d.ts +6 -4
  42. package/dist-types/commands/index.d.ts +2 -0
  43. package/dist-types/models/models_0.d.ts +368 -398
  44. package/dist-types/models/models_1.d.ts +409 -253
  45. package/dist-types/models/models_2.d.ts +229 -7
  46. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  47. package/dist-types/ts3.4/Connect.d.ts +40 -0
  48. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  49. package/dist-types/ts3.4/commands/BatchPutContactCommand.d.ts +38 -0
  50. package/dist-types/ts3.4/commands/CreatePersistentContactAssociationCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +2 -4
  52. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeUserHierarchyGroupCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +77 -83
  64. package/dist-types/ts3.4/models/models_1.d.ts +81 -67
  65. package/dist-types/ts3.4/models/models_2.d.ts +62 -2
  66. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  67. package/package.json +1 -1
@@ -1,6 +1,370 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { ActionSummary, AgentConfig, AgentContactReference, AgentStatusReference, AgentStatusState, AgentStatusSummary, AgentStatusType, Application, Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, ContactState, DirectoryType, Distribution, EvaluationAnswerData, EvaluationFormVersionStatus, EvaluationNote, EvaluationScore, EvaluationStatus, EventSourceName, HierarchyGroupSummary, HierarchyLevel, HoursOfOperation, HoursOfOperationConfig, InstanceAttributeType, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, MonitorCapability, PhoneNumberCountryCode, PhoneNumberType, Prompt, Queue, QueueReference, QuickConnect, QuickConnectType, Reference, ReferenceType, RoutingProfile, RoutingProfileQueueReference, RulePublishStatus, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TrafficDistributionGroupStatus, UseCaseType, UserPhoneConfig, View, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
3
+ import { ActionSummary, AgentConfig, AgentContactReference, AgentStatusReference, AgentStatusState, AgentStatusSummary, AgentStatusType, Application, Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, ContactState, DirectoryType, Distribution, EvaluationAnswerData, EvaluationFormVersionStatus, EvaluationNote, EvaluationScore, EvaluationStatus, EventSourceName, HoursOfOperation, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, MonitorCapability, PhoneNumberCountryCode, PhoneNumberType, Prompt, Queue, QueueReference, QuickConnect, QuickConnectType, Reference, ReferenceType, RehydrationType, RoutingProfile, RoutingProfileQueueReference, RulePublishStatus, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TrafficDistributionGroupStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, View, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ /**
5
+ * @public
6
+ * <p>Information about a traffic distribution group.</p>
7
+ */
8
+ export interface TrafficDistributionGroup {
9
+ /**
10
+ * @public
11
+ * <p>The identifier of the traffic distribution group.
12
+ * This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created.
13
+ * The ARN must be provided if the call is from the replicated Region.</p>
14
+ */
15
+ Id?: string;
16
+ /**
17
+ * @public
18
+ * <p>The Amazon Resource Name (ARN) of the traffic distribution group.</p>
19
+ */
20
+ Arn?: string;
21
+ /**
22
+ * @public
23
+ * <p>The name of the traffic distribution group.</p>
24
+ */
25
+ Name?: string;
26
+ /**
27
+ * @public
28
+ * <p>The description of the traffic distribution group.</p>
29
+ */
30
+ Description?: string;
31
+ /**
32
+ * @public
33
+ * <p>The Amazon Resource Name (ARN).</p>
34
+ */
35
+ InstanceArn?: string;
36
+ /**
37
+ * @public
38
+ * <p>The status of the traffic distribution group.</p>
39
+ * <ul>
40
+ * <li>
41
+ * <p>
42
+ * <code>CREATION_IN_PROGRESS</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html">CreateTrafficDistributionGroup</a> operation is still in progress and has not yet
43
+ * completed.</p>
44
+ * </li>
45
+ * <li>
46
+ * <p>
47
+ * <code>ACTIVE</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html">CreateTrafficDistributionGroup</a> operation has succeeded.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <code>CREATION_FAILED</code> indicates that the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html">CreateTrafficDistributionGroup</a> operation has failed.</p>
52
+ * </li>
53
+ * <li>
54
+ * <p>
55
+ * <code>PENDING_DELETION</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html">DeleteTrafficDistributionGroup</a> operation is still in progress and has not yet
56
+ * completed.</p>
57
+ * </li>
58
+ * <li>
59
+ * <p>
60
+ * <code>DELETION_FAILED</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html">DeleteTrafficDistributionGroup</a> operation has failed.</p>
61
+ * </li>
62
+ * <li>
63
+ * <p>
64
+ * <code>UPDATE_IN_PROGRESS</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistribution.html">UpdateTrafficDistribution</a> operation is still in progress and has not yet
65
+ * completed.</p>
66
+ * </li>
67
+ * </ul>
68
+ */
69
+ Status?: TrafficDistributionGroupStatus;
70
+ /**
71
+ * @public
72
+ * <p>The tags used to organize, track, or control access for this resource. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
73
+ */
74
+ Tags?: Record<string, string>;
75
+ /**
76
+ * @public
77
+ * <p>Whether this is the default traffic distribution group created during instance
78
+ * replication. The default traffic distribution group cannot be deleted by the
79
+ * <code>DeleteTrafficDistributionGroup</code> API. The default traffic distribution group is deleted as
80
+ * part of the process for deleting a replica.</p>
81
+ * <note>
82
+ * <p>The <code>SignInConfig</code> distribution is available only on a
83
+ * default <code>TrafficDistributionGroup</code> (see the <code>IsDefault</code> parameter in the
84
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_TrafficDistributionGroup.html">TrafficDistributionGroup</a>
85
+ * data type). If you call
86
+ * <code>UpdateTrafficDistribution</code> with a modified <code>SignInConfig</code> and a non-default <code>TrafficDistributionGroup</code>,
87
+ * an <code>InvalidRequestException</code> is returned.</p>
88
+ * </note>
89
+ */
90
+ IsDefault?: boolean;
91
+ }
92
+ /**
93
+ * @public
94
+ */
95
+ export interface DescribeTrafficDistributionGroupResponse {
96
+ /**
97
+ * @public
98
+ * <p>Information about the traffic distribution group.</p>
99
+ */
100
+ TrafficDistributionGroup?: TrafficDistributionGroup;
101
+ }
102
+ /**
103
+ * @public
104
+ */
105
+ export interface DescribeUserRequest {
106
+ /**
107
+ * @public
108
+ * <p>The identifier of the user account.</p>
109
+ */
110
+ UserId: string | undefined;
111
+ /**
112
+ * @public
113
+ * <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>
114
+ */
115
+ InstanceId: string | undefined;
116
+ }
117
+ /**
118
+ * @public
119
+ * <p>Contains information about a user account for an Amazon Connect instance.</p>
120
+ */
121
+ export interface User {
122
+ /**
123
+ * @public
124
+ * <p>The identifier of the user account.</p>
125
+ */
126
+ Id?: string;
127
+ /**
128
+ * @public
129
+ * <p>The Amazon Resource Name (ARN) of the user account.</p>
130
+ */
131
+ Arn?: string;
132
+ /**
133
+ * @public
134
+ * <p>The user name assigned to the user account.</p>
135
+ */
136
+ Username?: string;
137
+ /**
138
+ * @public
139
+ * <p>Information about the user identity.</p>
140
+ */
141
+ IdentityInfo?: UserIdentityInfo;
142
+ /**
143
+ * @public
144
+ * <p>Information about the phone configuration for the user.</p>
145
+ */
146
+ PhoneConfig?: UserPhoneConfig;
147
+ /**
148
+ * @public
149
+ * <p>The identifier of the user account in the directory used for identity management.</p>
150
+ */
151
+ DirectoryUserId?: string;
152
+ /**
153
+ * @public
154
+ * <p>The identifiers of the security profiles for the user.</p>
155
+ */
156
+ SecurityProfileIds?: string[];
157
+ /**
158
+ * @public
159
+ * <p>The identifier of the routing profile for the user.</p>
160
+ */
161
+ RoutingProfileId?: string;
162
+ /**
163
+ * @public
164
+ * <p>The identifier of the hierarchy group for the user.</p>
165
+ */
166
+ HierarchyGroupId?: string;
167
+ /**
168
+ * @public
169
+ * <p>The
170
+ * tags.</p>
171
+ */
172
+ Tags?: Record<string, string>;
173
+ /**
174
+ * @public
175
+ * <p>The timestamp when this resource was last modified.</p>
176
+ */
177
+ LastModifiedTime?: Date;
178
+ /**
179
+ * @public
180
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
181
+ */
182
+ LastModifiedRegion?: string;
183
+ }
184
+ /**
185
+ * @public
186
+ */
187
+ export interface DescribeUserResponse {
188
+ /**
189
+ * @public
190
+ * <p>Information about the user account and configuration settings.</p>
191
+ */
192
+ User?: User;
193
+ }
194
+ /**
195
+ * @public
196
+ */
197
+ export interface DescribeUserHierarchyGroupRequest {
198
+ /**
199
+ * @public
200
+ * <p>The identifier of the hierarchy group.</p>
201
+ */
202
+ HierarchyGroupId: string | undefined;
203
+ /**
204
+ * @public
205
+ * <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>
206
+ */
207
+ InstanceId: string | undefined;
208
+ }
209
+ /**
210
+ * @public
211
+ * <p>Contains summary information about a hierarchy group.</p>
212
+ */
213
+ export interface HierarchyGroupSummary {
214
+ /**
215
+ * @public
216
+ * <p>The identifier of the hierarchy group.</p>
217
+ */
218
+ Id?: string;
219
+ /**
220
+ * @public
221
+ * <p>The Amazon Resource Name (ARN) of the hierarchy group.</p>
222
+ */
223
+ Arn?: string;
224
+ /**
225
+ * @public
226
+ * <p>The name of the hierarchy group.</p>
227
+ */
228
+ Name?: string;
229
+ /**
230
+ * @public
231
+ * <p>The timestamp when this resource was last modified.</p>
232
+ */
233
+ LastModifiedTime?: Date;
234
+ /**
235
+ * @public
236
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
237
+ */
238
+ LastModifiedRegion?: string;
239
+ }
240
+ /**
241
+ * @public
242
+ * <p>Contains information about the levels of a hierarchy group.</p>
243
+ */
244
+ export interface HierarchyPath {
245
+ /**
246
+ * @public
247
+ * <p>Information about level one.</p>
248
+ */
249
+ LevelOne?: HierarchyGroupSummary;
250
+ /**
251
+ * @public
252
+ * <p>Information about level two.</p>
253
+ */
254
+ LevelTwo?: HierarchyGroupSummary;
255
+ /**
256
+ * @public
257
+ * <p>Information about level three.</p>
258
+ */
259
+ LevelThree?: HierarchyGroupSummary;
260
+ /**
261
+ * @public
262
+ * <p>Information about level four.</p>
263
+ */
264
+ LevelFour?: HierarchyGroupSummary;
265
+ /**
266
+ * @public
267
+ * <p>Information about level five.</p>
268
+ */
269
+ LevelFive?: HierarchyGroupSummary;
270
+ }
271
+ /**
272
+ * @public
273
+ * <p>Contains information about a hierarchy group.</p>
274
+ */
275
+ export interface HierarchyGroup {
276
+ /**
277
+ * @public
278
+ * <p>The identifier of the hierarchy group.</p>
279
+ */
280
+ Id?: string;
281
+ /**
282
+ * @public
283
+ * <p>The Amazon Resource Name (ARN) of the hierarchy group.</p>
284
+ */
285
+ Arn?: string;
286
+ /**
287
+ * @public
288
+ * <p>The name of the hierarchy group.</p>
289
+ */
290
+ Name?: string;
291
+ /**
292
+ * @public
293
+ * <p>The identifier of the level in the hierarchy group.</p>
294
+ */
295
+ LevelId?: string;
296
+ /**
297
+ * @public
298
+ * <p>Information about the levels in the hierarchy group.</p>
299
+ */
300
+ HierarchyPath?: HierarchyPath;
301
+ /**
302
+ * @public
303
+ * <p>The tags used to organize, track, or control access for this resource. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
304
+ */
305
+ Tags?: Record<string, string>;
306
+ /**
307
+ * @public
308
+ * <p>The timestamp when this resource was last modified.</p>
309
+ */
310
+ LastModifiedTime?: Date;
311
+ /**
312
+ * @public
313
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
314
+ */
315
+ LastModifiedRegion?: string;
316
+ }
317
+ /**
318
+ * @public
319
+ */
320
+ export interface DescribeUserHierarchyGroupResponse {
321
+ /**
322
+ * @public
323
+ * <p>Information about the hierarchy group.</p>
324
+ */
325
+ HierarchyGroup?: HierarchyGroup;
326
+ }
327
+ /**
328
+ * @public
329
+ */
330
+ export interface DescribeUserHierarchyStructureRequest {
331
+ /**
332
+ * @public
333
+ * <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>
334
+ */
335
+ InstanceId: string | undefined;
336
+ }
337
+ /**
338
+ * @public
339
+ * <p>Contains information about a hierarchy level.</p>
340
+ */
341
+ export interface HierarchyLevel {
342
+ /**
343
+ * @public
344
+ * <p>The identifier of the hierarchy level.</p>
345
+ */
346
+ Id?: string;
347
+ /**
348
+ * @public
349
+ * <p>The Amazon Resource Name (ARN) of the hierarchy level.</p>
350
+ */
351
+ Arn?: string;
352
+ /**
353
+ * @public
354
+ * <p>The name of the hierarchy level.</p>
355
+ */
356
+ Name?: string;
357
+ /**
358
+ * @public
359
+ * <p>The timestamp when this resource was last modified.</p>
360
+ */
361
+ LastModifiedTime?: Date;
362
+ /**
363
+ * @public
364
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
365
+ */
366
+ LastModifiedRegion?: string;
367
+ }
4
368
  /**
5
369
  * @public
6
370
  * <p>Contains information about a hierarchy structure.</p>
@@ -48,7 +412,8 @@ export interface DescribeUserHierarchyStructureResponse {
48
412
  export interface DescribeViewRequest {
49
413
  /**
50
414
  * @public
51
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
415
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
416
+ * the instance.</p>
52
417
  */
53
418
  InstanceId: string | undefined;
54
419
  /**
@@ -1488,10 +1853,10 @@ export interface IntervalDetails {
1488
1853
  * @public
1489
1854
  * <p>
1490
1855
  * <code>IntervalPeriod</code>: An aggregated grouping applied to request metrics. Valid
1491
- * <code>IntervalPeriod</code> values are: <code>FIFTEEN_MIN</code> | <code>THIRTY_MIN</code> |
1492
- * <code>HOUR</code> | <code>DAY</code> | <code>WEEK</code> | <code>TOTAL</code>. </p>
1856
+ * <code>IntervalPeriod</code> values are: <code>FIFTEEN_MIN</code> | <code>THIRTY_MIN</code> |
1857
+ * <code>HOUR</code> | <code>DAY</code> | <code>WEEK</code> | <code>TOTAL</code>. </p>
1493
1858
  * <p>For example, if <code>IntervalPeriod</code> is selected <code>THIRTY_MIN</code>,
1494
- * <code>StartTime</code> and <code>EndTime</code> differs by 1 day, then Amazon Connect
1859
+ * <code>StartTime</code> and <code>EndTime</code> differs by 1 day, then Amazon Connect
1495
1860
  * returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By
1496
1861
  * default Amazon Connect aggregates results based on the <code>TOTAL</code> interval period. </p>
1497
1862
  * <p>The following list describes restrictions on <code>StartTime</code> and <code>EndTime</code>
@@ -1500,12 +1865,12 @@ export interface IntervalDetails {
1500
1865
  * <li>
1501
1866
  * <p>
1502
1867
  * <code>FIFTEEN_MIN</code>: The difference between <code>StartTime</code> and
1503
- * <code>EndTime</code> must be less than 3 days.</p>
1868
+ * <code>EndTime</code> must be less than 3 days.</p>
1504
1869
  * </li>
1505
1870
  * <li>
1506
1871
  * <p>
1507
1872
  * <code>THIRTY_MIN</code>: The difference between <code>StartTime</code> and
1508
- * <code>EndTime</code> must be less than 3 days.</p>
1873
+ * <code>EndTime</code> must be less than 3 days.</p>
1509
1874
  * </li>
1510
1875
  * <li>
1511
1876
  * <p>
@@ -2130,7 +2495,7 @@ export interface MetricInterval {
2130
2495
  * @public
2131
2496
  * <p>The timestamp, in UNIX Epoch time format. End time is based on the interval period selected.
2132
2497
  * For example, If <code>IntervalPeriod</code> is selected <code>THIRTY_MIN</code>,
2133
- * <code>StartTime</code> and <code>EndTime</code> in the API request differs by 1 day, then 48
2498
+ * <code>StartTime</code> and <code>EndTime</code> in the API request differs by 1 day, then 48
2134
2499
  * results are returned in the response. Each result is aggregated by the 30 minutes period, with
2135
2500
  * each <code>StartTime</code> and <code>EndTime</code> differing by 30 minutes. </p>
2136
2501
  */
@@ -3799,9 +4164,9 @@ export interface ListPhoneNumbersV2Request {
3799
4164
  * @public
3800
4165
  * <p>The identifier of the Amazon Connect instance that phone numbers are claimed to. You
3801
4166
  * can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the
3802
- * instance ID</a> in the Amazon Resource Name (ARN) of the instance. If both <code>TargetArn</code> and <code>InstanceId</code> are not provided, this API lists numbers
3803
- * claimed to all the Amazon Connect instances belonging to your account in the same AWS Region as
3804
- * the request.</p>
4167
+ * instance ID</a> in the Amazon Resource Name (ARN) of the instance. If both <code>TargetArn</code> and <code>InstanceId</code> are not
4168
+ * provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your
4169
+ * account in the same AWS Region as the request.</p>
3805
4170
  */
3806
4171
  InstanceId?: string;
3807
4172
  /**
@@ -5109,7 +5474,8 @@ export interface ListUsersResponse {
5109
5474
  export interface ListViewsRequest {
5110
5475
  /**
5111
5476
  * @public
5112
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
5477
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
5478
+ * the instance.</p>
5113
5479
  */
5114
5480
  InstanceId: string | undefined;
5115
5481
  /**
@@ -5119,8 +5485,8 @@ export interface ListViewsRequest {
5119
5485
  Type?: ViewType;
5120
5486
  /**
5121
5487
  * @public
5122
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
5123
- * retrieve the next set of results.</p>
5488
+ * <p>The token for the next set of results. Use the value returned in the previous response in
5489
+ * the next request to retrieve the next set of results.</p>
5124
5490
  */
5125
5491
  NextToken?: string;
5126
5492
  /**
@@ -5157,7 +5523,7 @@ export interface ViewSummary {
5157
5523
  /**
5158
5524
  * @public
5159
5525
  * <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The
5160
- * <code>PUBLISHED</code> status will initiate validation on the content.</p>
5526
+ * <code>PUBLISHED</code> status will initiate validation on the content.</p>
5161
5527
  */
5162
5528
  Status?: ViewStatus;
5163
5529
  /**
@@ -5177,8 +5543,8 @@ export interface ListViewsResponse {
5177
5543
  ViewsSummaryList?: ViewSummary[];
5178
5544
  /**
5179
5545
  * @public
5180
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
5181
- * retrieve the next set of results.</p>
5546
+ * <p>The token for the next set of results. Use the value returned in the previous response in
5547
+ * the next request to retrieve the next set of results.</p>
5182
5548
  */
5183
5549
  NextToken?: string;
5184
5550
  }
@@ -5188,18 +5554,20 @@ export interface ListViewsResponse {
5188
5554
  export interface ListViewVersionsRequest {
5189
5555
  /**
5190
5556
  * @public
5191
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
5557
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
5558
+ * the instance.</p>
5192
5559
  */
5193
5560
  InstanceId: string | undefined;
5194
5561
  /**
5195
5562
  * @public
5196
- * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
5563
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
5564
+ * used.</p>
5197
5565
  */
5198
5566
  ViewId: string | undefined;
5199
5567
  /**
5200
5568
  * @public
5201
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
5202
- * retrieve the next set of results.</p>
5569
+ * <p>The token for the next set of results. Use the value returned in the previous response in
5570
+ * the next request to retrieve the next set of results.</p>
5203
5571
  */
5204
5572
  NextToken?: string;
5205
5573
  /**
@@ -5260,8 +5628,8 @@ export interface ListViewVersionsResponse {
5260
5628
  ViewVersionSummaryList?: ViewVersionSummary[];
5261
5629
  /**
5262
5630
  * @public
5263
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
5264
- * retrieve the next set of results.</p>
5631
+ * <p>The token for the next set of results. Use the value returned in the previous response in
5632
+ * the next request to retrieve the next set of results.</p>
5265
5633
  */
5266
5634
  NextToken?: string;
5267
5635
  }
@@ -6290,18 +6658,6 @@ export interface ParticipantDetails {
6290
6658
  */
6291
6659
  DisplayName: string | undefined;
6292
6660
  }
6293
- /**
6294
- * @public
6295
- * @enum
6296
- */
6297
- export declare const RehydrationType: {
6298
- readonly ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION";
6299
- readonly FROM_SEGMENT: "FROM_SEGMENT";
6300
- };
6301
- /**
6302
- * @public
6303
- */
6304
- export type RehydrationType = (typeof RehydrationType)[keyof typeof RehydrationType];
6305
6661
  /**
6306
6662
  * @public
6307
6663
  * <p>Enable persistent chats. For more information about enabling persistent chat, and for
@@ -6868,6 +7224,18 @@ export declare class ContactNotFoundException extends __BaseException {
6868
7224
  */
6869
7225
  constructor(opts: __ExceptionOptionType<ContactNotFoundException, __BaseException>);
6870
7226
  }
7227
+ /**
7228
+ * @public
7229
+ * <p>Contains details about why a contact was disconnected. Only Amazon Connect outbound
7230
+ * campaigns can provide this field.</p>
7231
+ */
7232
+ export interface DisconnectReason {
7233
+ /**
7234
+ * @public
7235
+ * <p>A code that indicates how the contact was terminated.</p>
7236
+ */
7237
+ Code?: string;
7238
+ }
6871
7239
  /**
6872
7240
  * @public
6873
7241
  */
@@ -6882,6 +7250,12 @@ export interface StopContactRequest {
6882
7250
  * <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>
6883
7251
  */
6884
7252
  InstanceId: string | undefined;
7253
+ /**
7254
+ * @public
7255
+ * <p>The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can
7256
+ * provide this field.</p>
7257
+ */
7258
+ DisconnectReason?: DisconnectReason;
6885
7259
  }
6886
7260
  /**
6887
7261
  * @public
@@ -7333,224 +7707,6 @@ export interface UpdateContactFlowModuleContentRequest {
7333
7707
  */
7334
7708
  export interface UpdateContactFlowModuleContentResponse {
7335
7709
  }
7336
- /**
7337
- * @public
7338
- */
7339
- export interface UpdateContactFlowModuleMetadataRequest {
7340
- /**
7341
- * @public
7342
- * <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>
7343
- */
7344
- InstanceId: string | undefined;
7345
- /**
7346
- * @public
7347
- * <p>The identifier of the flow module.</p>
7348
- */
7349
- ContactFlowModuleId: string | undefined;
7350
- /**
7351
- * @public
7352
- * <p>The name of the flow module.</p>
7353
- */
7354
- Name?: string;
7355
- /**
7356
- * @public
7357
- * <p>The description of the flow module.</p>
7358
- */
7359
- Description?: string;
7360
- /**
7361
- * @public
7362
- * <p>The state of flow module.</p>
7363
- */
7364
- State?: ContactFlowModuleState;
7365
- }
7366
- /**
7367
- * @public
7368
- */
7369
- export interface UpdateContactFlowModuleMetadataResponse {
7370
- }
7371
- /**
7372
- * @public
7373
- */
7374
- export interface UpdateContactFlowNameRequest {
7375
- /**
7376
- * @public
7377
- * <p>The identifier of the Amazon Connect instance.</p>
7378
- */
7379
- InstanceId: string | undefined;
7380
- /**
7381
- * @public
7382
- * <p>The identifier of the flow.</p>
7383
- */
7384
- ContactFlowId: string | undefined;
7385
- /**
7386
- * @public
7387
- * <p>The name of the flow.</p>
7388
- */
7389
- Name?: string;
7390
- /**
7391
- * @public
7392
- * <p>The description of the flow.</p>
7393
- */
7394
- Description?: string;
7395
- }
7396
- /**
7397
- * @public
7398
- */
7399
- export interface UpdateContactFlowNameResponse {
7400
- }
7401
- /**
7402
- * @public
7403
- */
7404
- export interface UpdateContactScheduleRequest {
7405
- /**
7406
- * @public
7407
- * <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>
7408
- */
7409
- InstanceId: string | undefined;
7410
- /**
7411
- * @public
7412
- * <p>The identifier of the contact.</p>
7413
- */
7414
- ContactId: string | undefined;
7415
- /**
7416
- * @public
7417
- * <p>The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time cannot be in the past. It must be within up to 6 days in future. </p>
7418
- */
7419
- ScheduledTime: Date | undefined;
7420
- }
7421
- /**
7422
- * @public
7423
- */
7424
- export interface UpdateContactScheduleResponse {
7425
- }
7426
- /**
7427
- * @public
7428
- */
7429
- export interface UpdateEvaluationFormResponse {
7430
- /**
7431
- * @public
7432
- * <p>The unique identifier for the evaluation form.</p>
7433
- */
7434
- EvaluationFormId: string | undefined;
7435
- /**
7436
- * @public
7437
- * <p>The Amazon Resource Name (ARN) for the contact evaluation resource.</p>
7438
- */
7439
- EvaluationFormArn: string | undefined;
7440
- /**
7441
- * @public
7442
- * <p>The version of the updated evaluation form resource.</p>
7443
- */
7444
- EvaluationFormVersion: number | undefined;
7445
- }
7446
- /**
7447
- * @public
7448
- */
7449
- export interface UpdateHoursOfOperationRequest {
7450
- /**
7451
- * @public
7452
- * <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>
7453
- */
7454
- InstanceId: string | undefined;
7455
- /**
7456
- * @public
7457
- * <p>The identifier of the hours of operation.</p>
7458
- */
7459
- HoursOfOperationId: string | undefined;
7460
- /**
7461
- * @public
7462
- * <p>The name of the hours of operation.</p>
7463
- */
7464
- Name?: string;
7465
- /**
7466
- * @public
7467
- * <p>The description of the hours of operation.</p>
7468
- */
7469
- Description?: string;
7470
- /**
7471
- * @public
7472
- * <p>The time zone of the hours of operation.</p>
7473
- */
7474
- TimeZone?: string;
7475
- /**
7476
- * @public
7477
- * <p>Configuration information of the hours of operation.</p>
7478
- */
7479
- Config?: HoursOfOperationConfig[];
7480
- }
7481
- /**
7482
- * @public
7483
- */
7484
- export interface UpdateInstanceAttributeRequest {
7485
- /**
7486
- * @public
7487
- * <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>
7488
- */
7489
- InstanceId: string | undefined;
7490
- /**
7491
- * @public
7492
- * <p>The type of attribute.</p>
7493
- * <note>
7494
- * <p>Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature,
7495
- * contact Amazon Web Services Support for allowlisting.</p>
7496
- * </note>
7497
- */
7498
- AttributeType: InstanceAttributeType | undefined;
7499
- /**
7500
- * @public
7501
- * <p>The value for the attribute. Maximum character limit is 100. </p>
7502
- */
7503
- Value: string | undefined;
7504
- }
7505
- /**
7506
- * @public
7507
- */
7508
- export interface UpdateInstanceStorageConfigRequest {
7509
- /**
7510
- * @public
7511
- * <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>
7512
- */
7513
- InstanceId: string | undefined;
7514
- /**
7515
- * @public
7516
- * <p>The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.</p>
7517
- */
7518
- AssociationId: string | undefined;
7519
- /**
7520
- * @public
7521
- * <p>A valid resource type.</p>
7522
- */
7523
- ResourceType: InstanceStorageResourceType | undefined;
7524
- /**
7525
- * @public
7526
- * <p>The storage configuration for the instance.</p>
7527
- */
7528
- StorageConfig: InstanceStorageConfig | undefined;
7529
- }
7530
- /**
7531
- * @public
7532
- * @enum
7533
- */
7534
- export declare const TimerEligibleParticipantRoles: {
7535
- readonly AGENT: "AGENT";
7536
- readonly CUSTOMER: "CUSTOMER";
7537
- };
7538
- /**
7539
- * @public
7540
- */
7541
- export type TimerEligibleParticipantRoles = (typeof TimerEligibleParticipantRoles)[keyof typeof TimerEligibleParticipantRoles];
7542
- /**
7543
- * @public
7544
- * @enum
7545
- */
7546
- export declare const ParticipantTimerType: {
7547
- readonly DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER";
7548
- readonly IDLE: "IDLE";
7549
- };
7550
- /**
7551
- * @public
7552
- */
7553
- export type ParticipantTimerType = (typeof ParticipantTimerType)[keyof typeof ParticipantTimerType];
7554
7710
  /**
7555
7711
  * @internal
7556
7712
  */