@aws-sdk/client-connect 3.100.0 → 3.104.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 (105) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/Connect.js +90 -0
  3. package/dist-cjs/commands/CreateTaskTemplateCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteTaskTemplateCommand.js +36 -0
  5. package/dist-cjs/commands/GetTaskTemplateCommand.js +36 -0
  6. package/dist-cjs/commands/ListSecurityKeysCommand.js +3 -3
  7. package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +3 -3
  8. package/dist-cjs/commands/ListSecurityProfilesCommand.js +3 -3
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  10. package/dist-cjs/commands/ListTaskTemplatesCommand.js +36 -0
  11. package/dist-cjs/commands/ListUseCasesCommand.js +3 -3
  12. package/dist-cjs/commands/ListUserHierarchyGroupsCommand.js +3 -3
  13. package/dist-cjs/commands/ListUsersCommand.js +3 -3
  14. package/dist-cjs/commands/PutUserStatusCommand.js +3 -3
  15. package/dist-cjs/commands/ReleasePhoneNumberCommand.js +2 -2
  16. package/dist-cjs/commands/ResumeContactRecordingCommand.js +3 -3
  17. package/dist-cjs/commands/TransferContactCommand.js +36 -0
  18. package/dist-cjs/commands/UpdateTaskTemplateCommand.js +36 -0
  19. package/dist-cjs/commands/index.js +6 -0
  20. package/dist-cjs/models/models_0.js +183 -143
  21. package/dist-cjs/models/models_1.js +183 -2
  22. package/dist-cjs/pagination/ListTaskTemplatesPaginator.js +36 -0
  23. package/dist-cjs/pagination/index.js +1 -0
  24. package/dist-cjs/protocols/Aws_restJson1.js +1044 -38
  25. package/dist-es/Connect.js +90 -0
  26. package/dist-es/commands/CreateTaskTemplateCommand.js +39 -0
  27. package/dist-es/commands/DeleteTaskTemplateCommand.js +39 -0
  28. package/dist-es/commands/GetTaskTemplateCommand.js +39 -0
  29. package/dist-es/commands/ListSecurityKeysCommand.js +1 -1
  30. package/dist-es/commands/ListSecurityProfilePermissionsCommand.js +1 -1
  31. package/dist-es/commands/ListSecurityProfilesCommand.js +1 -1
  32. package/dist-es/commands/ListTagsForResourceCommand.js +1 -1
  33. package/dist-es/commands/ListTaskTemplatesCommand.js +39 -0
  34. package/dist-es/commands/ListUseCasesCommand.js +1 -1
  35. package/dist-es/commands/ListUserHierarchyGroupsCommand.js +1 -1
  36. package/dist-es/commands/ListUsersCommand.js +1 -1
  37. package/dist-es/commands/PutUserStatusCommand.js +1 -1
  38. package/dist-es/commands/ReleasePhoneNumberCommand.js +1 -1
  39. package/dist-es/commands/ResumeContactRecordingCommand.js +1 -1
  40. package/dist-es/commands/TransferContactCommand.js +39 -0
  41. package/dist-es/commands/UpdateTaskTemplateCommand.js +39 -0
  42. package/dist-es/commands/index.js +6 -0
  43. package/dist-es/models/models_0.js +139 -92
  44. package/dist-es/models/models_1.js +120 -0
  45. package/dist-es/pagination/ListTaskTemplatesPaginator.js +75 -0
  46. package/dist-es/pagination/index.js +1 -0
  47. package/dist-es/protocols/Aws_restJson1.js +1175 -54
  48. package/dist-types/Connect.d.ts +97 -22
  49. package/dist-types/ConnectClient.d.ts +8 -2
  50. package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +2 -1
  51. package/dist-types/commands/CreateTaskTemplateCommand.d.ts +35 -0
  52. package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +35 -0
  53. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +2 -1
  54. package/dist-types/commands/GetTaskTemplateCommand.d.ts +35 -0
  55. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +1 -1
  56. package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
  57. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
  58. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  60. package/dist-types/commands/ListTaskTemplatesCommand.d.ts +35 -0
  61. package/dist-types/commands/ListUseCasesCommand.d.ts +1 -1
  62. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
  63. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  64. package/dist-types/commands/PutUserStatusCommand.d.ts +5 -6
  65. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  66. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
  67. package/dist-types/commands/SearchVocabulariesCommand.d.ts +2 -1
  68. package/dist-types/commands/StartChatContactCommand.d.ts +3 -3
  69. package/dist-types/commands/StartContactRecordingCommand.d.ts +9 -7
  70. package/dist-types/commands/StopContactCommand.d.ts +3 -1
  71. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  72. package/dist-types/commands/TransferContactCommand.d.ts +58 -0
  73. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +2 -1
  74. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +37 -0
  75. package/dist-types/commands/index.d.ts +6 -0
  76. package/dist-types/models/models_0.d.ts +573 -470
  77. package/dist-types/models/models_1.d.ts +719 -26
  78. package/dist-types/pagination/ListTaskTemplatesPaginator.d.ts +4 -0
  79. package/dist-types/pagination/index.d.ts +1 -0
  80. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  81. package/dist-types/ts3.4/Connect.d.ts +30 -0
  82. package/dist-types/ts3.4/ConnectClient.d.ts +8 -2
  83. package/dist-types/ts3.4/commands/CreateTaskTemplateCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/DeleteTaskTemplateCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/ListTaskTemplatesCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/ListUseCasesCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  100. package/dist-types/ts3.4/models/models_0.d.ts +333 -254
  101. package/dist-types/ts3.4/models/models_1.d.ts +388 -2
  102. package/dist-types/ts3.4/pagination/ListTaskTemplatesPaginator.d.ts +4 -0
  103. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  104. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
  105. package/package.json +1 -1
@@ -1,6 +1,533 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { AgentStatusState, ContactFlowModuleState, ContactFlowState, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, QueueStatus, QuickConnectConfig, ReferenceType, RoutingProfileQueueConfig, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
3
+ import { AgentStatusState, ContactFlowModuleState, ContactFlowState, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, QueueStatus, QuickConnectConfig, ReferenceType, RoutingProfileQueueConfig, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ export interface ListSecurityKeysRequest {
5
+ /**
6
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
7
+ */
8
+ InstanceId: string | undefined;
9
+ /**
10
+ * <p>The token for the next set of results. Use the value returned in the previous
11
+ * response in the next request to retrieve the next set of results.</p>
12
+ */
13
+ NextToken?: string;
14
+ /**
15
+ * <p>The maximum number of results to return per page.</p>
16
+ */
17
+ MaxResults?: number;
18
+ }
19
+ export declare namespace ListSecurityKeysRequest {
20
+ /**
21
+ * @internal
22
+ */
23
+ const filterSensitiveLog: (obj: ListSecurityKeysRequest) => any;
24
+ }
25
+ /**
26
+ * <p>Configuration information of the security key.</p>
27
+ */
28
+ export interface SecurityKey {
29
+ /**
30
+ * <p>The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.</p>
31
+ */
32
+ AssociationId?: string;
33
+ /**
34
+ * <p>The key of the security key.</p>
35
+ */
36
+ Key?: string;
37
+ /**
38
+ * <p>When the security key was created.</p>
39
+ */
40
+ CreationTime?: Date;
41
+ }
42
+ export declare namespace SecurityKey {
43
+ /**
44
+ * @internal
45
+ */
46
+ const filterSensitiveLog: (obj: SecurityKey) => any;
47
+ }
48
+ export interface ListSecurityKeysResponse {
49
+ /**
50
+ * <p>The security keys.</p>
51
+ */
52
+ SecurityKeys?: SecurityKey[];
53
+ /**
54
+ * <p>If there are additional results, this is the token for the next set of results.</p>
55
+ */
56
+ NextToken?: string;
57
+ }
58
+ export declare namespace ListSecurityKeysResponse {
59
+ /**
60
+ * @internal
61
+ */
62
+ const filterSensitiveLog: (obj: ListSecurityKeysResponse) => any;
63
+ }
64
+ export interface ListSecurityProfilePermissionsRequest {
65
+ /**
66
+ * <p>The identifier for the security profle.</p>
67
+ */
68
+ SecurityProfileId: string | undefined;
69
+ /**
70
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
71
+ */
72
+ InstanceId: string | undefined;
73
+ /**
74
+ * <p>The token for the next set of results. Use the value returned in the previous
75
+ * response in the next request to retrieve the next set of results.</p>
76
+ */
77
+ NextToken?: string;
78
+ /**
79
+ * <p>The maximum number of results to return per page.</p>
80
+ */
81
+ MaxResults?: number;
82
+ }
83
+ export declare namespace ListSecurityProfilePermissionsRequest {
84
+ /**
85
+ * @internal
86
+ */
87
+ const filterSensitiveLog: (obj: ListSecurityProfilePermissionsRequest) => any;
88
+ }
89
+ export interface ListSecurityProfilePermissionsResponse {
90
+ /**
91
+ * <p>The permissions granted to the security profile.</p>
92
+ */
93
+ Permissions?: string[];
94
+ /**
95
+ * <p>If there are additional results, this is the token for the next set of results.</p>
96
+ */
97
+ NextToken?: string;
98
+ }
99
+ export declare namespace ListSecurityProfilePermissionsResponse {
100
+ /**
101
+ * @internal
102
+ */
103
+ const filterSensitiveLog: (obj: ListSecurityProfilePermissionsResponse) => any;
104
+ }
105
+ export interface ListSecurityProfilesRequest {
106
+ /**
107
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
108
+ */
109
+ InstanceId: string | undefined;
110
+ /**
111
+ * <p>The token for the next set of results. Use the value returned in the previous
112
+ * response in the next request to retrieve the next set of results.</p>
113
+ */
114
+ NextToken?: string;
115
+ /**
116
+ * <p>The maximum number of results to return per page.</p>
117
+ */
118
+ MaxResults?: number;
119
+ }
120
+ export declare namespace ListSecurityProfilesRequest {
121
+ /**
122
+ * @internal
123
+ */
124
+ const filterSensitiveLog: (obj: ListSecurityProfilesRequest) => any;
125
+ }
126
+ /**
127
+ * <p>Contains information about a security profile.</p>
128
+ */
129
+ export interface SecurityProfileSummary {
130
+ /**
131
+ * <p>The identifier of the security profile.</p>
132
+ */
133
+ Id?: string;
134
+ /**
135
+ * <p>The Amazon Resource Name (ARN) of the security profile.</p>
136
+ */
137
+ Arn?: string;
138
+ /**
139
+ * <p>The name of the security profile.</p>
140
+ */
141
+ Name?: string;
142
+ }
143
+ export declare namespace SecurityProfileSummary {
144
+ /**
145
+ * @internal
146
+ */
147
+ const filterSensitiveLog: (obj: SecurityProfileSummary) => any;
148
+ }
149
+ export interface ListSecurityProfilesResponse {
150
+ /**
151
+ * <p>Information about the security profiles.</p>
152
+ */
153
+ SecurityProfileSummaryList?: SecurityProfileSummary[];
154
+ /**
155
+ * <p>If there are additional results, this is the token for the next set of results.</p>
156
+ */
157
+ NextToken?: string;
158
+ }
159
+ export declare namespace ListSecurityProfilesResponse {
160
+ /**
161
+ * @internal
162
+ */
163
+ const filterSensitiveLog: (obj: ListSecurityProfilesResponse) => any;
164
+ }
165
+ export interface ListTagsForResourceRequest {
166
+ /**
167
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
168
+ */
169
+ resourceArn: string | undefined;
170
+ }
171
+ export declare namespace ListTagsForResourceRequest {
172
+ /**
173
+ * @internal
174
+ */
175
+ const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
176
+ }
177
+ export interface ListTagsForResourceResponse {
178
+ /**
179
+ * <p>Information about the tags.</p>
180
+ */
181
+ tags?: {
182
+ [key: string]: string;
183
+ };
184
+ }
185
+ export declare namespace ListTagsForResourceResponse {
186
+ /**
187
+ * @internal
188
+ */
189
+ const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
190
+ }
191
+ export interface ListTaskTemplatesRequest {
192
+ /**
193
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
194
+ */
195
+ InstanceId: string | undefined;
196
+ /**
197
+ * <p>The token for the next set of results. Use the value returned in the previous
198
+ * response in the next request to retrieve the next set of results.</p>
199
+ * <important>
200
+ * <p>It is not expected that you set this because the value returned in the previous response is
201
+ * always null.</p>
202
+ * </important>
203
+ */
204
+ NextToken?: string;
205
+ /**
206
+ * <p>The maximum number of results to return per page.</p>
207
+ * <important>
208
+ * <p>It is not expected that you set this.</p>
209
+ * </important>
210
+ */
211
+ MaxResults?: number;
212
+ /**
213
+ * <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
214
+ * Tasks can only be created from <code>ACTIVE</code> templates.
215
+ * If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
216
+ */
217
+ Status?: TaskTemplateStatus | string;
218
+ /**
219
+ * <p>The name of the task template.</p>
220
+ */
221
+ Name?: string;
222
+ }
223
+ export declare namespace ListTaskTemplatesRequest {
224
+ /**
225
+ * @internal
226
+ */
227
+ const filterSensitiveLog: (obj: ListTaskTemplatesRequest) => any;
228
+ }
229
+ /**
230
+ * <p>Contains summary information about the task template.</p>
231
+ */
232
+ export interface TaskTemplateMetadata {
233
+ /**
234
+ * <p>A unique identifier for the task template.</p>
235
+ */
236
+ Id?: string;
237
+ /**
238
+ * <p>The Amazon Resource Name (ARN) of the task template.</p>
239
+ */
240
+ Arn?: string;
241
+ /**
242
+ * <p>The name of the task template.</p>
243
+ */
244
+ Name?: string;
245
+ /**
246
+ * <p>The description of the task template.</p>
247
+ */
248
+ Description?: string;
249
+ /**
250
+ * <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
251
+ * Tasks can only be created from <code>ACTIVE</code> templates.
252
+ * If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
253
+ */
254
+ Status?: TaskTemplateStatus | string;
255
+ /**
256
+ * <p>The timestamp when the task template was last modified.</p>
257
+ */
258
+ LastModifiedTime?: Date;
259
+ /**
260
+ * <p>The timestamp when the task template was created.</p>
261
+ */
262
+ CreatedTime?: Date;
263
+ }
264
+ export declare namespace TaskTemplateMetadata {
265
+ /**
266
+ * @internal
267
+ */
268
+ const filterSensitiveLog: (obj: TaskTemplateMetadata) => any;
269
+ }
270
+ export interface ListTaskTemplatesResponse {
271
+ /**
272
+ * <p>Provides details about a list of task templates belonging to an instance.</p>
273
+ */
274
+ TaskTemplates?: TaskTemplateMetadata[];
275
+ /**
276
+ * <p>If there are additional results, this is the token for the next set of results.</p>
277
+ * <important>
278
+ * <p>This is always returned as a null in the response.</p>
279
+ * </important>
280
+ */
281
+ NextToken?: string;
282
+ }
283
+ export declare namespace ListTaskTemplatesResponse {
284
+ /**
285
+ * @internal
286
+ */
287
+ const filterSensitiveLog: (obj: ListTaskTemplatesResponse) => any;
288
+ }
289
+ /**
290
+ * <p>Provides summary information about the use cases for the specified integration
291
+ * association.</p>
292
+ */
293
+ export interface ListUseCasesRequest {
294
+ /**
295
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
296
+ */
297
+ InstanceId: string | undefined;
298
+ /**
299
+ * <p>The identifier for the integration association.</p>
300
+ */
301
+ IntegrationAssociationId: 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
+ */
306
+ NextToken?: string;
307
+ /**
308
+ * <p>The maximum number of results to return per page.</p>
309
+ */
310
+ MaxResults?: number;
311
+ }
312
+ export declare namespace ListUseCasesRequest {
313
+ /**
314
+ * @internal
315
+ */
316
+ const filterSensitiveLog: (obj: ListUseCasesRequest) => any;
317
+ }
318
+ /**
319
+ * <p>Contains the
320
+ * use
321
+ * case.</p>
322
+ */
323
+ export interface UseCase {
324
+ /**
325
+ * <p>The identifier for the use case.</p>
326
+ */
327
+ UseCaseId?: string;
328
+ /**
329
+ * <p>The Amazon Resource Name (ARN) for the use case.</p>
330
+ */
331
+ UseCaseArn?: string;
332
+ /**
333
+ * <p>The type of use case to associate to the integration association. Each integration
334
+ * association can have only one of each use case type.</p>
335
+ */
336
+ UseCaseType?: UseCaseType | string;
337
+ }
338
+ export declare namespace UseCase {
339
+ /**
340
+ * @internal
341
+ */
342
+ const filterSensitiveLog: (obj: UseCase) => any;
343
+ }
344
+ export interface ListUseCasesResponse {
345
+ /**
346
+ * <p>The use cases.</p>
347
+ */
348
+ UseCaseSummaryList?: UseCase[];
349
+ /**
350
+ * <p>If there are additional results, this is the token for the next set of results.</p>
351
+ */
352
+ NextToken?: string;
353
+ }
354
+ export declare namespace ListUseCasesResponse {
355
+ /**
356
+ * @internal
357
+ */
358
+ const filterSensitiveLog: (obj: ListUseCasesResponse) => any;
359
+ }
360
+ export interface ListUserHierarchyGroupsRequest {
361
+ /**
362
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
363
+ */
364
+ InstanceId: string | undefined;
365
+ /**
366
+ * <p>The token for the next set of results. Use the value returned in the previous
367
+ * response in the next request to retrieve the next set of results.</p>
368
+ */
369
+ NextToken?: string;
370
+ /**
371
+ * <p>The maximum number of results to return per page.</p>
372
+ */
373
+ MaxResults?: number;
374
+ }
375
+ export declare namespace ListUserHierarchyGroupsRequest {
376
+ /**
377
+ * @internal
378
+ */
379
+ const filterSensitiveLog: (obj: ListUserHierarchyGroupsRequest) => any;
380
+ }
381
+ export interface ListUserHierarchyGroupsResponse {
382
+ /**
383
+ * <p>Information about the hierarchy groups.</p>
384
+ */
385
+ UserHierarchyGroupSummaryList?: HierarchyGroupSummary[];
386
+ /**
387
+ * <p>If there are additional results, this is the token for the next set of results.</p>
388
+ */
389
+ NextToken?: string;
390
+ }
391
+ export declare namespace ListUserHierarchyGroupsResponse {
392
+ /**
393
+ * @internal
394
+ */
395
+ const filterSensitiveLog: (obj: ListUserHierarchyGroupsResponse) => any;
396
+ }
397
+ export interface ListUsersRequest {
398
+ /**
399
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
400
+ */
401
+ InstanceId: string | undefined;
402
+ /**
403
+ * <p>The token for the next set of results. Use the value returned in the previous
404
+ * response in the next request to retrieve the next set of results.</p>
405
+ */
406
+ NextToken?: string;
407
+ /**
408
+ * <p>The maximum number of results to return per page.</p>
409
+ */
410
+ MaxResults?: number;
411
+ }
412
+ export declare namespace ListUsersRequest {
413
+ /**
414
+ * @internal
415
+ */
416
+ const filterSensitiveLog: (obj: ListUsersRequest) => any;
417
+ }
418
+ /**
419
+ * <p>Contains summary information about a user.</p>
420
+ */
421
+ export interface UserSummary {
422
+ /**
423
+ * <p>The identifier of the user account.</p>
424
+ */
425
+ Id?: string;
426
+ /**
427
+ * <p>The Amazon Resource Name (ARN) of the user account.</p>
428
+ */
429
+ Arn?: string;
430
+ /**
431
+ * <p>The Amazon Connect user name of the user account.</p>
432
+ */
433
+ Username?: string;
434
+ }
435
+ export declare namespace UserSummary {
436
+ /**
437
+ * @internal
438
+ */
439
+ const filterSensitiveLog: (obj: UserSummary) => any;
440
+ }
441
+ export interface ListUsersResponse {
442
+ /**
443
+ * <p>Information about the users.</p>
444
+ */
445
+ UserSummaryList?: UserSummary[];
446
+ /**
447
+ * <p>If there are additional results, this is the token for the next set of results.</p>
448
+ */
449
+ NextToken?: string;
450
+ }
451
+ export declare namespace ListUsersResponse {
452
+ /**
453
+ * @internal
454
+ */
455
+ const filterSensitiveLog: (obj: ListUsersResponse) => any;
456
+ }
457
+ export interface PutUserStatusRequest {
458
+ /**
459
+ * <p>The identifier of the user.</p>
460
+ */
461
+ UserId: string | undefined;
462
+ /**
463
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
464
+ */
465
+ InstanceId: string | undefined;
466
+ /**
467
+ * <p>The identifier of the agent status.</p>
468
+ */
469
+ AgentStatusId: string | undefined;
470
+ }
471
+ export declare namespace PutUserStatusRequest {
472
+ /**
473
+ * @internal
474
+ */
475
+ const filterSensitiveLog: (obj: PutUserStatusRequest) => any;
476
+ }
477
+ export interface PutUserStatusResponse {
478
+ }
479
+ export declare namespace PutUserStatusResponse {
480
+ /**
481
+ * @internal
482
+ */
483
+ const filterSensitiveLog: (obj: PutUserStatusResponse) => any;
484
+ }
485
+ export interface ReleasePhoneNumberRequest {
486
+ /**
487
+ * <p>A unique identifier for the phone number.</p>
488
+ */
489
+ PhoneNumberId: string | undefined;
490
+ /**
491
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
492
+ * request.</p>
493
+ */
494
+ ClientToken?: string;
495
+ }
496
+ export declare namespace ReleasePhoneNumberRequest {
497
+ /**
498
+ * @internal
499
+ */
500
+ const filterSensitiveLog: (obj: ReleasePhoneNumberRequest) => any;
501
+ }
502
+ export interface ResumeContactRecordingRequest {
503
+ /**
504
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
505
+ */
506
+ InstanceId: string | undefined;
507
+ /**
508
+ * <p>The identifier of the contact.</p>
509
+ */
510
+ ContactId: string | undefined;
511
+ /**
512
+ * <p>The identifier of the contact. This is the identifier of the contact associated with the
513
+ * first interaction with the contact center.</p>
514
+ */
515
+ InitialContactId: string | undefined;
516
+ }
517
+ export declare namespace ResumeContactRecordingRequest {
518
+ /**
519
+ * @internal
520
+ */
521
+ const filterSensitiveLog: (obj: ResumeContactRecordingRequest) => any;
522
+ }
523
+ export interface ResumeContactRecordingResponse {
524
+ }
525
+ export declare namespace ResumeContactRecordingResponse {
526
+ /**
527
+ * @internal
528
+ */
529
+ const filterSensitiveLog: (obj: ResumeContactRecordingResponse) => any;
530
+ }
4
531
  export interface SearchAvailablePhoneNumbersRequest {
5
532
  /**
6
533
  * <p>The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.</p>
@@ -103,7 +630,7 @@ export declare enum StringComparisonType {
103
630
  }
104
631
  /**
105
632
  * <p>A leaf node condition which can be used to specify a string condition, for example,
106
- * <code>username = 'abc'</code>. </p>
633
+ * <code>username = 'abc'</code>. </p>
107
634
  */
108
635
  export interface StringCondition {
109
636
  /**
@@ -127,7 +654,7 @@ export declare namespace StringCondition {
127
654
  }
128
655
  /**
129
656
  * <p>A leaf node condition which can be used to specify a tag condition, for example, <code>HAVE
130
- * BPO = 123</code>. </p>
657
+ * BPO = 123</code>. </p>
131
658
  */
132
659
  export interface TagCondition {
133
660
  /**
@@ -146,26 +673,28 @@ export declare namespace TagCondition {
146
673
  const filterSensitiveLog: (obj: TagCondition) => any;
147
674
  }
148
675
  /**
149
- * <p>An object that can be used to specify Tag conditions inside the <code>SearchFilter</code>. This accepts an
150
- * <code>OR</code> of <code>AND</code> (List of List) input where: </p>
676
+ * <p>An object that can be used to specify Tag conditions inside the <code>SearchFilter</code>.
677
+ * This accepts an <code>OR</code> of <code>AND</code> (List of List) input where: </p>
151
678
  * <ul>
152
679
  * <li>
153
- * <p>Top level list specifies conditions that need to be applied
154
- * with <code>OR</code> operator</p>
680
+ * <p>Top level list specifies conditions that need to be applied with <code>OR</code>
681
+ * operator</p>
155
682
  * </li>
156
683
  * <li>
157
684
  * <p>Inner list specifies conditions that need to be applied with <code>AND</code>
158
- * operator.</p>
685
+ * operator.</p>
159
686
  * </li>
160
687
  * </ul>
161
688
  */
162
689
  export interface ControlPlaneTagFilter {
163
690
  /**
164
- * <p>A list of conditions which would be applied together with an <code>OR</code> condition. </p>
691
+ * <p>A list of conditions which would be applied together with an <code>OR</code> condition.
692
+ * </p>
165
693
  */
166
694
  OrConditions?: TagCondition[][];
167
695
  /**
168
- * <p>A list of conditions which would be applied together with an <code>AND</code> condition.</p>
696
+ * <p>A list of conditions which would be applied together with an <code>AND</code>
697
+ * condition.</p>
169
698
  */
170
699
  AndConditions?: TagCondition[];
171
700
  /**
@@ -184,16 +713,16 @@ export declare namespace ControlPlaneTagFilter {
184
713
  */
185
714
  export interface UserSearchFilter {
186
715
  /**
187
- * <p>An object that can be used to specify Tag conditions inside the <code>SearchFilter</code>. This accepts an
188
- * <code>OR</code> of <code>AND</code> (List of List) input where: </p>
716
+ * <p>An object that can be used to specify Tag conditions inside the <code>SearchFilter</code>.
717
+ * This accepts an <code>OR</code> of <code>AND</code> (List of List) input where: </p>
189
718
  * <ul>
190
719
  * <li>
191
- * <p>Top level list specifies conditions that need to be applied
192
- * with <code>OR</code> operator</p>
720
+ * <p>Top level list specifies conditions that need to be applied with <code>OR</code>
721
+ * operator</p>
193
722
  * </li>
194
723
  * <li>
195
724
  * <p>Inner list specifies conditions that need to be applied with <code>AND</code>
196
- * operator.</p>
725
+ * operator.</p>
197
726
  * </li>
198
727
  * </ul>
199
728
  */
@@ -461,12 +990,14 @@ export interface StartChatContactRequest {
461
990
  */
462
991
  ClientToken?: string;
463
992
  /**
464
- * <p>The total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour.
465
- * The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).</p>
993
+ * <p>The total duration of the newly started chat session. If not specified, the chat session
994
+ * duration defaults to 25 hour. The minumum configurable time is 60 minutes. The maximum
995
+ * configurable time is 10,080 minutes (7 days).</p>
466
996
  */
467
997
  ChatDurationInMinutes?: number;
468
998
  /**
469
- * <p>The supported chat message content types. Content types can be text/plain or both text/plain and text/markdown.</p>
999
+ * <p>The supported chat message content types. Content types can be text/plain or both text/plain
1000
+ * and text/markdown.</p>
470
1001
  */
471
1002
  SupportedMessagingContentTypes?: string[];
472
1003
  }
@@ -743,8 +1274,8 @@ export declare namespace StartOutboundVoiceContactResponse {
743
1274
  const filterSensitiveLog: (obj: StartOutboundVoiceContactResponse) => any;
744
1275
  }
745
1276
  /**
746
- * <p>A link that an agent selects to complete a given task. You can have up to 4,096 UTF-8 bytes
747
- * across all references for a contact.</p>
1277
+ * <p>Well-formed data on a contact, used by agents to complete a contact request. You can have up
1278
+ * to 4,096 UTF-8 bytes across all references for a contact.</p>
748
1279
  */
749
1280
  export interface Reference {
750
1281
  /**
@@ -753,8 +1284,7 @@ export interface Reference {
753
1284
  */
754
1285
  Value: string | undefined;
755
1286
  /**
756
- * <p>The type of the reference. Only <code>URL</code> type can be added or updated on a
757
- * contact.</p>
1287
+ * <p>The type of the reference.</p>
758
1288
  */
759
1289
  Type: ReferenceType | string | undefined;
760
1290
  }
@@ -782,7 +1312,7 @@ export interface StartTaskContactRequest {
782
1312
  * <p>arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/<b>846ec553-a005-41c0-8341-xxxxxxxxxxxx</b>
783
1313
  * </p>
784
1314
  */
785
- ContactFlowId: string | undefined;
1315
+ ContactFlowId?: string;
786
1316
  /**
787
1317
  * <p>A custom key-value pair using an attribute map. The attributes are standard Amazon Connect
788
1318
  * attributes, and can be accessed in contact flows just like any other contact attributes.</p>
@@ -816,6 +1346,14 @@ export interface StartTaskContactRequest {
816
1346
  * <p>The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow. The scheduled time cannot be in the past. It must be within up to 6 days in future. </p>
817
1347
  */
818
1348
  ScheduledTime?: Date;
1349
+ /**
1350
+ * <p>A unique identifier for the task template.</p>
1351
+ */
1352
+ TaskTemplateId?: string;
1353
+ /**
1354
+ * <p>The identifier for the quick connect.</p>
1355
+ */
1356
+ QuickConnectId?: string;
819
1357
  }
820
1358
  export declare namespace StartTaskContactRequest {
821
1359
  /**
@@ -979,6 +1517,55 @@ export declare namespace TagResourceRequest {
979
1517
  */
980
1518
  const filterSensitiveLog: (obj: TagResourceRequest) => any;
981
1519
  }
1520
+ export interface TransferContactRequest {
1521
+ /**
1522
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
1523
+ */
1524
+ InstanceId: string | undefined;
1525
+ /**
1526
+ * <p>The identifier of the contact in this instance of Amazon Connect </p>
1527
+ */
1528
+ ContactId: string | undefined;
1529
+ /**
1530
+ * <p>The identifier for the queue.</p>
1531
+ */
1532
+ QueueId?: string;
1533
+ /**
1534
+ * <p>The identifier for the user.</p>
1535
+ */
1536
+ UserId?: string;
1537
+ /**
1538
+ * <p>The identifier of the contact flow.</p>
1539
+ */
1540
+ ContactFlowId: string | undefined;
1541
+ /**
1542
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
1543
+ * request.</p>
1544
+ */
1545
+ ClientToken?: string;
1546
+ }
1547
+ export declare namespace TransferContactRequest {
1548
+ /**
1549
+ * @internal
1550
+ */
1551
+ const filterSensitiveLog: (obj: TransferContactRequest) => any;
1552
+ }
1553
+ export interface TransferContactResponse {
1554
+ /**
1555
+ * <p>The identifier of the contact in this instance of Amazon Connect </p>
1556
+ */
1557
+ ContactId?: string;
1558
+ /**
1559
+ * <p>The Amazon Resource Name (ARN) of the contact.</p>
1560
+ */
1561
+ ContactArn?: string;
1562
+ }
1563
+ export declare namespace TransferContactResponse {
1564
+ /**
1565
+ * @internal
1566
+ */
1567
+ const filterSensitiveLog: (obj: TransferContactResponse) => any;
1568
+ }
982
1569
  export interface UntagResourceRequest {
983
1570
  /**
984
1571
  * <p>The Amazon Resource Name (ARN) of the resource.</p>
@@ -1050,7 +1637,7 @@ export interface UpdateContactRequest {
1050
1637
  */
1051
1638
  Description?: string;
1052
1639
  /**
1053
- * <p>A formatted URL that is shown to an agent in the Contact Control Panel (CCP).</p>
1640
+ * <p>Well-formed data on contact, shown to agents on Contact Control Panel (CCP).</p>
1054
1641
  */
1055
1642
  References?: {
1056
1643
  [key: string]: Reference;
@@ -1645,6 +2232,110 @@ export declare namespace UpdateSecurityProfileRequest {
1645
2232
  */
1646
2233
  const filterSensitiveLog: (obj: UpdateSecurityProfileRequest) => any;
1647
2234
  }
2235
+ export interface UpdateTaskTemplateRequest {
2236
+ /**
2237
+ * <p>A unique identifier for the task template.</p>
2238
+ */
2239
+ TaskTemplateId: string | undefined;
2240
+ /**
2241
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
2242
+ */
2243
+ InstanceId: string | undefined;
2244
+ /**
2245
+ * <p>The name of the task template.</p>
2246
+ */
2247
+ Name?: string;
2248
+ /**
2249
+ * <p>The description of the task template.</p>
2250
+ */
2251
+ Description?: string;
2252
+ /**
2253
+ * <p>The identifier of the flow that runs by default when a task is created by referencing this template.</p>
2254
+ */
2255
+ ContactFlowId?: string;
2256
+ /**
2257
+ * <p>Constraints that are applicable to the fields listed.</p>
2258
+ */
2259
+ Constraints?: TaskTemplateConstraints;
2260
+ /**
2261
+ * <p>The default values for fields when a task is created by referencing this template.</p>
2262
+ */
2263
+ Defaults?: TaskTemplateDefaults;
2264
+ /**
2265
+ * <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
2266
+ * Tasks can only be created from <code>ACTIVE</code> templates.
2267
+ * If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
2268
+ */
2269
+ Status?: TaskTemplateStatus | string;
2270
+ /**
2271
+ * <p>Fields that are part of the template.</p>
2272
+ */
2273
+ Fields?: TaskTemplateField[];
2274
+ }
2275
+ export declare namespace UpdateTaskTemplateRequest {
2276
+ /**
2277
+ * @internal
2278
+ */
2279
+ const filterSensitiveLog: (obj: UpdateTaskTemplateRequest) => any;
2280
+ }
2281
+ export interface UpdateTaskTemplateResponse {
2282
+ /**
2283
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
2284
+ */
2285
+ InstanceId?: string;
2286
+ /**
2287
+ * <p>The identifier of the task template resource.</p>
2288
+ */
2289
+ Id?: string;
2290
+ /**
2291
+ * <p>The Amazon Resource Name (ARN) for the task template resource.</p>
2292
+ */
2293
+ Arn?: string;
2294
+ /**
2295
+ * <p>The name of the task template.</p>
2296
+ */
2297
+ Name?: string;
2298
+ /**
2299
+ * <p>The description of the task template.</p>
2300
+ */
2301
+ Description?: string;
2302
+ /**
2303
+ * <p>The identifier of the flow that runs by default when a task is created by referencing this template.</p>
2304
+ */
2305
+ ContactFlowId?: string;
2306
+ /**
2307
+ * <p>Constraints that are applicable to the fields listed.</p>
2308
+ */
2309
+ Constraints?: TaskTemplateConstraints;
2310
+ /**
2311
+ * <p>The default values for fields when a task is created by referencing this template.</p>
2312
+ */
2313
+ Defaults?: TaskTemplateDefaults;
2314
+ /**
2315
+ * <p>Fields that are part of the template.</p>
2316
+ */
2317
+ Fields?: TaskTemplateField[];
2318
+ /**
2319
+ * <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
2320
+ * Tasks can only be created from <code>ACTIVE</code> templates.
2321
+ * If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
2322
+ */
2323
+ Status?: TaskTemplateStatus | string;
2324
+ /**
2325
+ * <p>The timestamp when the task template was last modified.</p>
2326
+ */
2327
+ LastModifiedTime?: Date;
2328
+ /**
2329
+ * <p>The timestamp when the task template was created.</p>
2330
+ */
2331
+ CreatedTime?: Date;
2332
+ }
2333
+ export declare namespace UpdateTaskTemplateResponse {
2334
+ /**
2335
+ * @internal
2336
+ */
2337
+ const filterSensitiveLog: (obj: UpdateTaskTemplateResponse) => any;
2338
+ }
1648
2339
  export interface UpdateUserHierarchyRequest {
1649
2340
  /**
1650
2341
  * <p>The identifier of the hierarchy group.</p>
@@ -1834,11 +2525,13 @@ export declare namespace UpdateUserSecurityProfilesRequest {
1834
2525
  */
1835
2526
  export interface UserSearchCriteria {
1836
2527
  /**
1837
- * <p>A list of conditions which would be applied together with an <code>OR</code> condition.</p>
2528
+ * <p>A list of conditions which would be applied together with an <code>OR</code>
2529
+ * condition.</p>
1838
2530
  */
1839
2531
  OrConditions?: UserSearchCriteria[];
1840
2532
  /**
1841
- * <p>A list of conditions which would be applied together with an <code>AND</code> condition. </p>
2533
+ * <p>A list of conditions which would be applied together with an <code>AND</code> condition.
2534
+ * </p>
1842
2535
  */
1843
2536
  AndConditions?: UserSearchCriteria[];
1844
2537
  /**