@aws-sdk/client-connect 3.104.0 → 3.110.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 (54) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist-cjs/Connect.js +15 -0
  3. package/dist-cjs/ConnectClient.js +2 -0
  4. package/dist-cjs/commands/GetCurrentUserDataCommand.js +36 -0
  5. package/dist-cjs/commands/ListQueuesCommand.js +3 -3
  6. package/dist-cjs/commands/ListQuickConnectsCommand.js +3 -3
  7. package/dist-cjs/commands/ListRoutingProfileQueuesCommand.js +3 -3
  8. package/dist-cjs/commands/ListRoutingProfilesCommand.js +3 -3
  9. package/dist-cjs/commands/index.js +1 -0
  10. package/dist-cjs/models/models_0.js +105 -98
  11. package/dist-cjs/models/models_1.js +74 -3
  12. package/dist-cjs/pagination/GetCurrentUserDataPaginator.js +36 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_restJson1.js +244 -5
  15. package/dist-es/Connect.js +15 -0
  16. package/dist-es/ConnectClient.js +2 -0
  17. package/dist-es/commands/GetCurrentUserDataCommand.js +39 -0
  18. package/dist-es/commands/ListQueuesCommand.js +1 -1
  19. package/dist-es/commands/ListQuickConnectsCommand.js +1 -1
  20. package/dist-es/commands/ListRoutingProfileQueuesCommand.js +1 -1
  21. package/dist-es/commands/ListRoutingProfilesCommand.js +1 -1
  22. package/dist-es/commands/index.js +1 -0
  23. package/dist-es/models/models_0.js +75 -68
  24. package/dist-es/models/models_1.js +49 -0
  25. package/dist-es/pagination/GetCurrentUserDataPaginator.js +75 -0
  26. package/dist-es/pagination/index.js +1 -0
  27. package/dist-es/protocols/Aws_restJson1.js +256 -0
  28. package/dist-types/Connect.d.ts +7 -0
  29. package/dist-types/ConnectClient.d.ts +3 -2
  30. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +35 -0
  31. package/dist-types/commands/ListQueuesCommand.d.ts +1 -1
  32. package/dist-types/commands/ListQuickConnectsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +1 -1
  35. package/dist-types/commands/index.d.ts +1 -0
  36. package/dist-types/models/models_0.d.ts +344 -370
  37. package/dist-types/models/models_1.d.ts +266 -30
  38. package/dist-types/pagination/GetCurrentUserDataPaginator.d.ts +4 -0
  39. package/dist-types/pagination/index.d.ts +1 -0
  40. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  41. package/dist-types/ts3.4/Connect.d.ts +5 -0
  42. package/dist-types/ts3.4/ConnectClient.d.ts +3 -2
  43. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListQuickConnectsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +212 -253
  50. package/dist-types/ts3.4/models/models_1.d.ts +155 -28
  51. package/dist-types/ts3.4/pagination/GetCurrentUserDataPaginator.d.ts +4 -0
  52. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  54. package/package.json +29 -28
@@ -12,6 +12,89 @@ export declare class AccessDeniedException extends __BaseException {
12
12
  */
13
13
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
14
  }
15
+ export declare enum ContactState {
16
+ CONNECTED = "CONNECTED",
17
+ CONNECTED_ONHOLD = "CONNECTED_ONHOLD",
18
+ CONNECTING = "CONNECTING",
19
+ ENDED = "ENDED",
20
+ ERROR = "ERROR",
21
+ INCOMING = "INCOMING",
22
+ MISSED = "MISSED",
23
+ PENDING = "PENDING",
24
+ REJECTED = "REJECTED"
25
+ }
26
+ export declare enum Channel {
27
+ CHAT = "CHAT",
28
+ TASK = "TASK",
29
+ VOICE = "VOICE"
30
+ }
31
+ export declare enum ContactInitiationMethod {
32
+ API = "API",
33
+ CALLBACK = "CALLBACK",
34
+ INBOUND = "INBOUND",
35
+ OUTBOUND = "OUTBOUND",
36
+ QUEUE_TRANSFER = "QUEUE_TRANSFER",
37
+ TRANSFER = "TRANSFER"
38
+ }
39
+ /**
40
+ * <p>Contains information about a queue resource for which metrics are returned.</p>
41
+ */
42
+ export interface QueueReference {
43
+ /**
44
+ * <p>The identifier of the queue.</p>
45
+ */
46
+ Id?: string;
47
+ /**
48
+ * <p>The Amazon Resource Name (ARN) of the queue.</p>
49
+ */
50
+ Arn?: string;
51
+ }
52
+ export declare namespace QueueReference {
53
+ /**
54
+ * @internal
55
+ */
56
+ const filterSensitiveLog: (obj: QueueReference) => any;
57
+ }
58
+ /**
59
+ * <p>Information about the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Contact.html">contact</a> associated to the
60
+ * user.</p>
61
+ */
62
+ export interface AgentContactReference {
63
+ /**
64
+ * <p>The identifier of the contact in this instance of Amazon Connect. </p>
65
+ */
66
+ ContactId?: string;
67
+ /**
68
+ * <p>The channel of the contact.</p>
69
+ */
70
+ Channel?: Channel | string;
71
+ /**
72
+ * <p>How the contact was initiated.</p>
73
+ */
74
+ InitiationMethod?: ContactInitiationMethod | string;
75
+ /**
76
+ * <p>The <a href="https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html">state of the contact</a>.</p>
77
+ */
78
+ AgentContactState?: ContactState | string;
79
+ /**
80
+ * <p>The epoch timestamp when the contact state started.</p>
81
+ */
82
+ StateStartTimestamp?: Date;
83
+ /**
84
+ * <p>The time at which the contact was connected to an agent.</p>
85
+ */
86
+ ConnectedToAgentTimestamp?: Date;
87
+ /**
88
+ * <p>Contains information about a queue resource for which metrics are returned.</p>
89
+ */
90
+ Queue?: QueueReference;
91
+ }
92
+ export declare namespace AgentContactReference {
93
+ /**
94
+ * @internal
95
+ */
96
+ const filterSensitiveLog: (obj: AgentContactReference) => any;
97
+ }
15
98
  /**
16
99
  * <p>Information about the agent who accepted the contact.</p>
17
100
  */
@@ -75,9 +158,7 @@ export interface AgentStatus {
75
158
  /**
76
159
  * <p>The tags used to organize, track, or control access for this resource.</p>
77
160
  */
78
- Tags?: {
79
- [key: string]: string;
80
- };
161
+ Tags?: Record<string, string>;
81
162
  }
82
163
  export declare namespace AgentStatus {
83
164
  /**
@@ -85,6 +166,25 @@ export declare namespace AgentStatus {
85
166
  */
86
167
  const filterSensitiveLog: (obj: AgentStatus) => any;
87
168
  }
169
+ /**
170
+ * <p>Information about the agent's status.</p>
171
+ */
172
+ export interface AgentStatusReference {
173
+ /**
174
+ * <p>The start timestamp of the agent's status.</p>
175
+ */
176
+ StatusStartTimestamp?: Date;
177
+ /**
178
+ * <p>The Amazon Resource Name (ARN) of the agent's status.</p>
179
+ */
180
+ StatusArn?: string;
181
+ }
182
+ export declare namespace AgentStatusReference {
183
+ /**
184
+ * @internal
185
+ */
186
+ const filterSensitiveLog: (obj: AgentStatusReference) => any;
187
+ }
88
188
  /**
89
189
  * <p>Summary information for an agent status.</p>
90
190
  */
@@ -605,11 +705,6 @@ export declare namespace AssociateQueueQuickConnectsRequest {
605
705
  */
606
706
  const filterSensitiveLog: (obj: AssociateQueueQuickConnectsRequest) => any;
607
707
  }
608
- export declare enum Channel {
609
- CHAT = "CHAT",
610
- TASK = "TASK",
611
- VOICE = "VOICE"
612
- }
613
708
  /**
614
709
  * <p>Contains the channel and queue identifier for a routing profile.</p>
615
710
  */
@@ -723,9 +818,7 @@ export interface ClaimPhoneNumberRequest {
723
818
  /**
724
819
  * <p>The tags used to organize, track, or control access for this resource.</p>
725
820
  */
726
- Tags?: {
727
- [key: string]: string;
728
- };
821
+ Tags?: Record<string, string>;
729
822
  /**
730
823
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
731
824
  * request.</p>
@@ -790,9 +883,7 @@ export interface CreateAgentStatusRequest {
790
883
  /**
791
884
  * <p>The tags used to organize, track, or control access for this resource.</p>
792
885
  */
793
- Tags?: {
794
- [key: string]: string;
795
- };
886
+ Tags?: Record<string, string>;
796
887
  }
797
888
  export declare namespace CreateAgentStatusRequest {
798
889
  /**
@@ -864,9 +955,7 @@ export interface CreateContactFlowRequest {
864
955
  /**
865
956
  * <p>One or more tags.</p>
866
957
  */
867
- Tags?: {
868
- [key: string]: string;
869
- };
958
+ Tags?: Record<string, string>;
870
959
  }
871
960
  export declare namespace CreateContactFlowRequest {
872
961
  /**
@@ -940,9 +1029,7 @@ export interface CreateContactFlowModuleRequest {
940
1029
  /**
941
1030
  * <p>The tags used to organize, track, or control access for this resource.</p>
942
1031
  */
943
- Tags?: {
944
- [key: string]: string;
945
- };
1032
+ Tags?: Record<string, string>;
946
1033
  /**
947
1034
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
948
1035
  * request.</p>
@@ -1058,9 +1145,7 @@ export interface CreateHoursOfOperationRequest {
1058
1145
  /**
1059
1146
  * <p>The tags used to organize, track, or control access for this resource.</p>
1060
1147
  */
1061
- Tags?: {
1062
- [key: string]: string;
1063
- };
1148
+ Tags?: Record<string, string>;
1064
1149
  }
1065
1150
  export declare namespace CreateHoursOfOperationRequest {
1066
1151
  /**
@@ -1176,9 +1261,7 @@ export interface CreateIntegrationAssociationRequest {
1176
1261
  /**
1177
1262
  * <p>The tags used to organize, track, or control access for this resource.</p>
1178
1263
  */
1179
- Tags?: {
1180
- [key: string]: string;
1181
- };
1264
+ Tags?: Record<string, string>;
1182
1265
  }
1183
1266
  export declare namespace CreateIntegrationAssociationRequest {
1184
1267
  /**
@@ -1257,9 +1340,7 @@ export interface CreateQueueRequest {
1257
1340
  /**
1258
1341
  * <p>The tags used to organize, track, or control access for this resource.</p>
1259
1342
  */
1260
- Tags?: {
1261
- [key: string]: string;
1262
- };
1343
+ Tags?: Record<string, string>;
1263
1344
  }
1264
1345
  export declare namespace CreateQueueRequest {
1265
1346
  /**
@@ -1391,9 +1472,7 @@ export interface CreateQuickConnectRequest {
1391
1472
  /**
1392
1473
  * <p>The tags used to organize, track, or control access for this resource.</p>
1393
1474
  */
1394
- Tags?: {
1395
- [key: string]: string;
1396
- };
1475
+ Tags?: Record<string, string>;
1397
1476
  }
1398
1477
  export declare namespace CreateQuickConnectRequest {
1399
1478
  /**
@@ -1470,9 +1549,7 @@ export interface CreateRoutingProfileRequest {
1470
1549
  /**
1471
1550
  * <p>One or more tags.</p>
1472
1551
  */
1473
- Tags?: {
1474
- [key: string]: string;
1475
- };
1552
+ Tags?: Record<string, string>;
1476
1553
  }
1477
1554
  export declare namespace CreateRoutingProfileRequest {
1478
1555
  /**
@@ -1516,9 +1593,7 @@ export interface CreateSecurityProfileRequest {
1516
1593
  /**
1517
1594
  * <p>The tags used to organize, track, or control access for this resource.</p>
1518
1595
  */
1519
- Tags?: {
1520
- [key: string]: string;
1521
- };
1596
+ Tags?: Record<string, string>;
1522
1597
  }
1523
1598
  export declare namespace CreateSecurityProfileRequest {
1524
1599
  /**
@@ -1832,9 +1907,7 @@ export interface CreateUseCaseRequest {
1832
1907
  /**
1833
1908
  * <p>The tags used to organize, track, or control access for this resource.</p>
1834
1909
  */
1835
- Tags?: {
1836
- [key: string]: string;
1837
- };
1910
+ Tags?: Record<string, string>;
1838
1911
  }
1839
1912
  export declare namespace CreateUseCaseRequest {
1840
1913
  /**
@@ -1964,9 +2037,7 @@ export interface CreateUserRequest {
1964
2037
  /**
1965
2038
  * <p>One or more tags.</p>
1966
2039
  */
1967
- Tags?: {
1968
- [key: string]: string;
1969
- };
2040
+ Tags?: Record<string, string>;
1970
2041
  }
1971
2042
  export declare namespace CreateUserRequest {
1972
2043
  /**
@@ -2007,9 +2078,7 @@ export interface CreateUserHierarchyGroupRequest {
2007
2078
  /**
2008
2079
  * <p>The tags used to organize, track, or control access for this resource.</p>
2009
2080
  */
2010
- Tags?: {
2011
- [key: string]: string;
2012
- };
2081
+ Tags?: Record<string, string>;
2013
2082
  }
2014
2083
  export declare namespace CreateUserHierarchyGroupRequest {
2015
2084
  /**
@@ -2065,9 +2134,7 @@ export interface CreateVocabularyRequest {
2065
2134
  /**
2066
2135
  * <p>The tags used to organize, track, or control access for this resource.</p>
2067
2136
  */
2068
- Tags?: {
2069
- [key: string]: string;
2070
- };
2137
+ Tags?: Record<string, string>;
2071
2138
  }
2072
2139
  export declare namespace CreateVocabularyRequest {
2073
2140
  /**
@@ -2402,14 +2469,6 @@ export declare namespace DescribeContactRequest {
2402
2469
  */
2403
2470
  const filterSensitiveLog: (obj: DescribeContactRequest) => any;
2404
2471
  }
2405
- export declare enum ContactInitiationMethod {
2406
- API = "API",
2407
- CALLBACK = "CALLBACK",
2408
- INBOUND = "INBOUND",
2409
- OUTBOUND = "OUTBOUND",
2410
- QUEUE_TRANSFER = "QUEUE_TRANSFER",
2411
- TRANSFER = "TRANSFER"
2412
- }
2413
2472
  /**
2414
2473
  * <p>If this contact was queued, this contains information about the queue. </p>
2415
2474
  */
@@ -2581,9 +2640,7 @@ export interface ContactFlow {
2581
2640
  /**
2582
2641
  * <p>One or more tags.</p>
2583
2642
  */
2584
- Tags?: {
2585
- [key: string]: string;
2586
- };
2643
+ Tags?: Record<string, string>;
2587
2644
  }
2588
2645
  export declare namespace ContactFlow {
2589
2646
  /**
@@ -2662,9 +2719,7 @@ export interface ContactFlowModule {
2662
2719
  /**
2663
2720
  * <p>The tags used to organize, track, or control access for this resource.</p>
2664
2721
  */
2665
- Tags?: {
2666
- [key: string]: string;
2667
- };
2722
+ Tags?: Record<string, string>;
2668
2723
  }
2669
2724
  export declare namespace ContactFlowModule {
2670
2725
  /**
@@ -2731,9 +2786,7 @@ export interface HoursOfOperation {
2731
2786
  /**
2732
2787
  * <p>The tags used to organize, track, or control access for this resource.</p>
2733
2788
  */
2734
- Tags?: {
2735
- [key: string]: string;
2736
- };
2789
+ Tags?: Record<string, string>;
2737
2790
  }
2738
2791
  export declare namespace HoursOfOperation {
2739
2792
  /**
@@ -3255,9 +3308,7 @@ export interface ClaimedPhoneNumberSummary {
3255
3308
  /**
3256
3309
  * <p>The tags used to organize, track, or control access for this resource.</p>
3257
3310
  */
3258
- Tags?: {
3259
- [key: string]: string;
3260
- };
3311
+ Tags?: Record<string, string>;
3261
3312
  /**
3262
3313
  * <p>The status of the phone number.</p>
3263
3314
  */
@@ -3340,9 +3391,7 @@ export interface Queue {
3340
3391
  /**
3341
3392
  * <p>The tags used to organize, track, or control access for this resource.</p>
3342
3393
  */
3343
- Tags?: {
3344
- [key: string]: string;
3345
- };
3394
+ Tags?: Record<string, string>;
3346
3395
  }
3347
3396
  export declare namespace Queue {
3348
3397
  /**
@@ -3405,9 +3454,7 @@ export interface QuickConnect {
3405
3454
  /**
3406
3455
  * <p>The tags used to organize, track, or control access for this resource.</p>
3407
3456
  */
3408
- Tags?: {
3409
- [key: string]: string;
3410
- };
3457
+ Tags?: Record<string, string>;
3411
3458
  }
3412
3459
  export declare namespace QuickConnect {
3413
3460
  /**
@@ -3479,9 +3526,7 @@ export interface RoutingProfile {
3479
3526
  /**
3480
3527
  * <p>One or more tags.</p>
3481
3528
  */
3482
- Tags?: {
3483
- [key: string]: string;
3484
- };
3529
+ Tags?: Record<string, string>;
3485
3530
  }
3486
3531
  export declare namespace RoutingProfile {
3487
3532
  /**
@@ -3544,9 +3589,7 @@ export interface SecurityProfile {
3544
3589
  /**
3545
3590
  * <p>The tags used to organize, track, or control access for this resource.</p>
3546
3591
  */
3547
- Tags?: {
3548
- [key: string]: string;
3549
- };
3592
+ Tags?: Record<string, string>;
3550
3593
  }
3551
3594
  export declare namespace SecurityProfile {
3552
3595
  /**
@@ -3626,9 +3669,7 @@ export interface User {
3626
3669
  * <p>The
3627
3670
  * tags.</p>
3628
3671
  */
3629
- Tags?: {
3630
- [key: string]: string;
3631
- };
3672
+ Tags?: Record<string, string>;
3632
3673
  }
3633
3674
  export declare namespace User {
3634
3675
  /**
@@ -3745,9 +3786,7 @@ export interface HierarchyGroup {
3745
3786
  /**
3746
3787
  * <p>The tags used to organize, track, or control access for this resource.</p>
3747
3788
  */
3748
- Tags?: {
3749
- [key: string]: string;
3750
- };
3789
+ Tags?: Record<string, string>;
3751
3790
  }
3752
3791
  export declare namespace HierarchyGroup {
3753
3792
  /**
@@ -3906,9 +3945,7 @@ export interface Vocabulary {
3906
3945
  /**
3907
3946
  * <p>The tags used to organize, track, or control access for this resource.</p>
3908
3947
  */
3909
- Tags?: {
3910
- [key: string]: string;
3911
- };
3948
+ Tags?: Record<string, string>;
3912
3949
  }
3913
3950
  export declare namespace Vocabulary {
3914
3951
  /**
@@ -4114,9 +4151,7 @@ export interface GetContactAttributesResponse {
4114
4151
  /**
4115
4152
  * <p>Information about the attributes.</p>
4116
4153
  */
4117
- Attributes?: {
4118
- [key: string]: string;
4119
- };
4154
+ Attributes?: Record<string, string>;
4120
4155
  }
4121
4156
  export declare namespace GetContactAttributesResponse {
4122
4157
  /**
@@ -4344,25 +4379,6 @@ export declare namespace CurrentMetricData {
4344
4379
  */
4345
4380
  const filterSensitiveLog: (obj: CurrentMetricData) => any;
4346
4381
  }
4347
- /**
4348
- * <p>Contains information about a queue resource for which metrics are returned.</p>
4349
- */
4350
- export interface QueueReference {
4351
- /**
4352
- * <p>The identifier of the queue.</p>
4353
- */
4354
- Id?: string;
4355
- /**
4356
- * <p>The Amazon Resource Name (ARN) of the queue.</p>
4357
- */
4358
- Arn?: string;
4359
- }
4360
- export declare namespace QueueReference {
4361
- /**
4362
- * @internal
4363
- */
4364
- const filterSensitiveLog: (obj: QueueReference) => any;
4365
- }
4366
4382
  /**
4367
4383
  * <p>Contains information about the dimensions for a set of metrics.</p>
4368
4384
  */
@@ -4423,6 +4439,220 @@ export declare namespace GetCurrentMetricDataResponse {
4423
4439
  */
4424
4440
  const filterSensitiveLog: (obj: GetCurrentMetricDataResponse) => any;
4425
4441
  }
4442
+ /**
4443
+ * <p>Filters user data based on the contact information that is associated to
4444
+ * the users. It contains a list of <a href="https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html">contact states</a>.</p>
4445
+ */
4446
+ export interface ContactFilter {
4447
+ /**
4448
+ * <p>A list of up to 9 <a href="https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html">contact states</a>.</p>
4449
+ */
4450
+ ContactStates?: (ContactState | string)[];
4451
+ }
4452
+ export declare namespace ContactFilter {
4453
+ /**
4454
+ * @internal
4455
+ */
4456
+ const filterSensitiveLog: (obj: ContactFilter) => any;
4457
+ }
4458
+ /**
4459
+ * <p>A filter for the user data.</p>
4460
+ */
4461
+ export interface UserDataFilters {
4462
+ /**
4463
+ * <p>Contains information about a queue resource for which metrics are returned.</p>
4464
+ */
4465
+ Queues?: string[];
4466
+ /**
4467
+ * <p>A filter for the user data based on the contact information that is associated to the user. It
4468
+ * contains a list of contact states. </p>
4469
+ */
4470
+ ContactFilter?: ContactFilter;
4471
+ }
4472
+ export declare namespace UserDataFilters {
4473
+ /**
4474
+ * @internal
4475
+ */
4476
+ const filterSensitiveLog: (obj: UserDataFilters) => any;
4477
+ }
4478
+ export interface GetCurrentUserDataRequest {
4479
+ /**
4480
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
4481
+ */
4482
+ InstanceId: string | undefined;
4483
+ /**
4484
+ * <p>Filters up to 100 <code>Queues</code>, or up to 9 <code>ContactStates</code>. The user data is retrieved only for those users who are associated with
4485
+ * the queues and have contacts that are in the specified <code>ContactState</code>. </p>
4486
+ */
4487
+ Filters: UserDataFilters | undefined;
4488
+ /**
4489
+ * <p>The token for the next set of results. Use the value returned in the previous
4490
+ * response in the next request to retrieve the next set of results.</p>
4491
+ */
4492
+ NextToken?: string;
4493
+ /**
4494
+ * <p>The maximum number of results to return per page.</p>
4495
+ */
4496
+ MaxResults?: number;
4497
+ }
4498
+ export declare namespace GetCurrentUserDataRequest {
4499
+ /**
4500
+ * @internal
4501
+ */
4502
+ const filterSensitiveLog: (obj: GetCurrentUserDataRequest) => any;
4503
+ }
4504
+ /**
4505
+ * <p>Information about the hierarchy group.</p>
4506
+ */
4507
+ export interface HierarchyGroupSummaryReference {
4508
+ /**
4509
+ * <p>The unique identifier for the hierarchy group.</p>
4510
+ */
4511
+ Id?: string;
4512
+ /**
4513
+ * <p>The Amazon Resource Name (ARN) for the hierarchy group. </p>
4514
+ */
4515
+ Arn?: string;
4516
+ }
4517
+ export declare namespace HierarchyGroupSummaryReference {
4518
+ /**
4519
+ * @internal
4520
+ */
4521
+ const filterSensitiveLog: (obj: HierarchyGroupSummaryReference) => any;
4522
+ }
4523
+ /**
4524
+ * <p>Information about the levels in the hierarchy group.</p>
4525
+ */
4526
+ export interface HierarchyPathReference {
4527
+ /**
4528
+ * <p>Information about level one.</p>
4529
+ */
4530
+ LevelOne?: HierarchyGroupSummaryReference;
4531
+ /**
4532
+ * <p>Information about level two.</p>
4533
+ */
4534
+ LevelTwo?: HierarchyGroupSummaryReference;
4535
+ /**
4536
+ * <p>Information about level three.</p>
4537
+ */
4538
+ LevelThree?: HierarchyGroupSummaryReference;
4539
+ /**
4540
+ * <p>Information about level four.</p>
4541
+ */
4542
+ LevelFour?: HierarchyGroupSummaryReference;
4543
+ /**
4544
+ * <p>Information about level five.</p>
4545
+ */
4546
+ LevelFive?: HierarchyGroupSummaryReference;
4547
+ }
4548
+ export declare namespace HierarchyPathReference {
4549
+ /**
4550
+ * @internal
4551
+ */
4552
+ const filterSensitiveLog: (obj: HierarchyPathReference) => any;
4553
+ }
4554
+ /**
4555
+ * <p>Information about the routing profile assigned to the user.</p>
4556
+ */
4557
+ export interface RoutingProfileReference {
4558
+ /**
4559
+ * <p>The identifier of the routing profile.</p>
4560
+ */
4561
+ Id?: string;
4562
+ /**
4563
+ * <p>The Amazon Resource Name (ARN) of the routing profile.</p>
4564
+ */
4565
+ Arn?: string;
4566
+ }
4567
+ export declare namespace RoutingProfileReference {
4568
+ /**
4569
+ * @internal
4570
+ */
4571
+ const filterSensitiveLog: (obj: RoutingProfileReference) => any;
4572
+ }
4573
+ /**
4574
+ * <p>Information about the user.</p>
4575
+ */
4576
+ export interface UserReference {
4577
+ /**
4578
+ * <p>The unique identifier for the user.</p>
4579
+ */
4580
+ Id?: string;
4581
+ /**
4582
+ * <p>The Amazon Resource Name (ARN) for the user.</p>
4583
+ */
4584
+ Arn?: string;
4585
+ }
4586
+ export declare namespace UserReference {
4587
+ /**
4588
+ * @internal
4589
+ */
4590
+ const filterSensitiveLog: (obj: UserReference) => any;
4591
+ }
4592
+ /**
4593
+ * <p>Data for a user.</p>
4594
+ */
4595
+ export interface UserData {
4596
+ /**
4597
+ * <p>Information about the user for the data that is returned. It contains resourceId and ARN of
4598
+ * the user. </p>
4599
+ */
4600
+ User?: UserReference;
4601
+ /**
4602
+ * <p>Information about the routing profile that is assigned to the user.</p>
4603
+ */
4604
+ RoutingProfile?: RoutingProfileReference;
4605
+ /**
4606
+ * <p>Contains information about the levels of a hierarchy group assigned to a user.</p>
4607
+ */
4608
+ HierarchyPath?: HierarchyPathReference;
4609
+ /**
4610
+ * <p>The status of the agent that they manually set in their Contact Control Panel (CCP), or that
4611
+ * the supervisor manually changes in the real-time metrics report.</p>
4612
+ */
4613
+ Status?: AgentStatusReference;
4614
+ /**
4615
+ * <p>A map of available slots by channel. The key is a channel name. The value is an integer: the
4616
+ * available number of slots. </p>
4617
+ */
4618
+ AvailableSlotsByChannel?: Record<string, number>;
4619
+ /**
4620
+ * <p>A map of maximum slots by channel. The key is a channel name. The value is an integer: the
4621
+ * maximum number of slots. This is calculated from <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_MediaConcurrency.html">MediaConcurrency</a> of the RoutingProfile assigned to the agent. </p>
4622
+ */
4623
+ MaxSlotsByChannel?: Record<string, number>;
4624
+ /**
4625
+ * <p> A map of active slots by channel. The key is a channel name. The value is an integer: the
4626
+ * number of active slots. </p>
4627
+ */
4628
+ ActiveSlotsByChannel?: Record<string, number>;
4629
+ /**
4630
+ * <p>A list of contact reference information.</p>
4631
+ */
4632
+ Contacts?: AgentContactReference[];
4633
+ }
4634
+ export declare namespace UserData {
4635
+ /**
4636
+ * @internal
4637
+ */
4638
+ const filterSensitiveLog: (obj: UserData) => any;
4639
+ }
4640
+ export interface GetCurrentUserDataResponse {
4641
+ /**
4642
+ * <p>If there are additional results, this is the token for the next set of results.</p>
4643
+ */
4644
+ NextToken?: string;
4645
+ /**
4646
+ * <p>A list of the user data that is returned.</p>
4647
+ */
4648
+ UserDataList?: UserData[];
4649
+ }
4650
+ export declare namespace GetCurrentUserDataResponse {
4651
+ /**
4652
+ * @internal
4653
+ */
4654
+ const filterSensitiveLog: (obj: GetCurrentUserDataResponse) => any;
4655
+ }
4426
4656
  export interface GetFederationTokenRequest {
4427
4657
  /**
4428
4658
  * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
@@ -4897,9 +5127,7 @@ export interface GetTaskTemplateResponse {
4897
5127
  /**
4898
5128
  * <p>The tags used to organize, track, or control access for this resource.</p>
4899
5129
  */
4900
- Tags?: {
4901
- [key: string]: string;
4902
- };
5130
+ Tags?: Record<string, string>;
4903
5131
  }
4904
5132
  export declare namespace GetTaskTemplateResponse {
4905
5133
  /**
@@ -6222,257 +6450,3 @@ export declare namespace ListQueueQuickConnectsResponse {
6222
6450
  */
6223
6451
  const filterSensitiveLog: (obj: ListQueueQuickConnectsResponse) => any;
6224
6452
  }
6225
- export declare enum QueueType {
6226
- AGENT = "AGENT",
6227
- STANDARD = "STANDARD"
6228
- }
6229
- export interface ListQueuesRequest {
6230
- /**
6231
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
6232
- */
6233
- InstanceId: string | undefined;
6234
- /**
6235
- * <p>The type of queue.</p>
6236
- */
6237
- QueueTypes?: (QueueType | string)[];
6238
- /**
6239
- * <p>The token for the next set of results. Use the value returned in the previous
6240
- * response in the next request to retrieve the next set of results.</p>
6241
- */
6242
- NextToken?: string;
6243
- /**
6244
- * <p>The maximum number of results to return per page.</p>
6245
- */
6246
- MaxResults?: number;
6247
- }
6248
- export declare namespace ListQueuesRequest {
6249
- /**
6250
- * @internal
6251
- */
6252
- const filterSensitiveLog: (obj: ListQueuesRequest) => any;
6253
- }
6254
- /**
6255
- * <p>Contains summary information about a queue.</p>
6256
- */
6257
- export interface QueueSummary {
6258
- /**
6259
- * <p>The identifier of the queue.</p>
6260
- */
6261
- Id?: string;
6262
- /**
6263
- * <p>The Amazon Resource Name (ARN) of the queue.</p>
6264
- */
6265
- Arn?: string;
6266
- /**
6267
- * <p>The name of the queue.</p>
6268
- */
6269
- Name?: string;
6270
- /**
6271
- * <p>The type of queue.</p>
6272
- */
6273
- QueueType?: QueueType | string;
6274
- }
6275
- export declare namespace QueueSummary {
6276
- /**
6277
- * @internal
6278
- */
6279
- const filterSensitiveLog: (obj: QueueSummary) => any;
6280
- }
6281
- export interface ListQueuesResponse {
6282
- /**
6283
- * <p>Information about the queues.</p>
6284
- */
6285
- QueueSummaryList?: QueueSummary[];
6286
- /**
6287
- * <p>If there are additional results, this is the token for the next set of results.</p>
6288
- */
6289
- NextToken?: string;
6290
- }
6291
- export declare namespace ListQueuesResponse {
6292
- /**
6293
- * @internal
6294
- */
6295
- const filterSensitiveLog: (obj: ListQueuesResponse) => any;
6296
- }
6297
- export interface ListQuickConnectsRequest {
6298
- /**
6299
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
6300
- */
6301
- InstanceId: string | undefined;
6302
- /**
6303
- * <p>The token for the next set of results. Use the value returned in the previous
6304
- * response in the next request to retrieve the next set of results.</p>
6305
- */
6306
- NextToken?: string;
6307
- /**
6308
- * <p>The maximum number of results to return per page.</p>
6309
- */
6310
- MaxResults?: number;
6311
- /**
6312
- * <p>The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are
6313
- * prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).</p>
6314
- */
6315
- QuickConnectTypes?: (QuickConnectType | string)[];
6316
- }
6317
- export declare namespace ListQuickConnectsRequest {
6318
- /**
6319
- * @internal
6320
- */
6321
- const filterSensitiveLog: (obj: ListQuickConnectsRequest) => any;
6322
- }
6323
- export interface ListQuickConnectsResponse {
6324
- /**
6325
- * <p>Information about the quick connects.</p>
6326
- */
6327
- QuickConnectSummaryList?: QuickConnectSummary[];
6328
- /**
6329
- * <p>If there are additional results, this is the token for the next set of results.</p>
6330
- */
6331
- NextToken?: string;
6332
- }
6333
- export declare namespace ListQuickConnectsResponse {
6334
- /**
6335
- * @internal
6336
- */
6337
- const filterSensitiveLog: (obj: ListQuickConnectsResponse) => any;
6338
- }
6339
- export interface ListRoutingProfileQueuesRequest {
6340
- /**
6341
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
6342
- */
6343
- InstanceId: string | undefined;
6344
- /**
6345
- * <p>The identifier of the routing profile.</p>
6346
- */
6347
- RoutingProfileId: string | undefined;
6348
- /**
6349
- * <p>The token for the next set of results. Use the value returned in the previous
6350
- * response in the next request to retrieve the next set of results.</p>
6351
- */
6352
- NextToken?: string;
6353
- /**
6354
- * <p>The maximum number of results to return per page.</p>
6355
- */
6356
- MaxResults?: number;
6357
- }
6358
- export declare namespace ListRoutingProfileQueuesRequest {
6359
- /**
6360
- * @internal
6361
- */
6362
- const filterSensitiveLog: (obj: ListRoutingProfileQueuesRequest) => any;
6363
- }
6364
- /**
6365
- * <p>Contains summary information about a routing profile queue.</p>
6366
- */
6367
- export interface RoutingProfileQueueConfigSummary {
6368
- /**
6369
- * <p>The identifier for the queue.</p>
6370
- */
6371
- QueueId: string | undefined;
6372
- /**
6373
- * <p>The Amazon Resource Name (ARN) of the queue.</p>
6374
- */
6375
- QueueArn: string | undefined;
6376
- /**
6377
- * <p>The name of the queue.</p>
6378
- */
6379
- QueueName: string | undefined;
6380
- /**
6381
- * <p>The order in which contacts are to be handled for the queue. For more information, see
6382
- * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html">Queues: priority and
6383
- * delay</a>.</p>
6384
- */
6385
- Priority: number | undefined;
6386
- /**
6387
- * <p>The delay, in seconds, that a contact should be in the queue before they are routed to an
6388
- * available agent. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html">Queues: priority and
6389
- * delay</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
6390
- */
6391
- Delay: number | undefined;
6392
- /**
6393
- * <p>The channels this queue supports.</p>
6394
- */
6395
- Channel: Channel | string | undefined;
6396
- }
6397
- export declare namespace RoutingProfileQueueConfigSummary {
6398
- /**
6399
- * @internal
6400
- */
6401
- const filterSensitiveLog: (obj: RoutingProfileQueueConfigSummary) => any;
6402
- }
6403
- export interface ListRoutingProfileQueuesResponse {
6404
- /**
6405
- * <p>If there are additional results, this is the token for the next set of results.</p>
6406
- */
6407
- NextToken?: string;
6408
- /**
6409
- * <p>Information about the routing profiles.</p>
6410
- */
6411
- RoutingProfileQueueConfigSummaryList?: RoutingProfileQueueConfigSummary[];
6412
- }
6413
- export declare namespace ListRoutingProfileQueuesResponse {
6414
- /**
6415
- * @internal
6416
- */
6417
- const filterSensitiveLog: (obj: ListRoutingProfileQueuesResponse) => any;
6418
- }
6419
- export interface ListRoutingProfilesRequest {
6420
- /**
6421
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
6422
- */
6423
- InstanceId: string | undefined;
6424
- /**
6425
- * <p>The token for the next set of results. Use the value returned in the previous
6426
- * response in the next request to retrieve the next set of results.</p>
6427
- */
6428
- NextToken?: string;
6429
- /**
6430
- * <p>The maximum number of results to return per page.</p>
6431
- */
6432
- MaxResults?: number;
6433
- }
6434
- export declare namespace ListRoutingProfilesRequest {
6435
- /**
6436
- * @internal
6437
- */
6438
- const filterSensitiveLog: (obj: ListRoutingProfilesRequest) => any;
6439
- }
6440
- /**
6441
- * <p>Contains summary information about a routing profile.</p>
6442
- */
6443
- export interface RoutingProfileSummary {
6444
- /**
6445
- * <p>The identifier of the routing profile.</p>
6446
- */
6447
- Id?: string;
6448
- /**
6449
- * <p>The Amazon Resource Name (ARN) of the routing profile.</p>
6450
- */
6451
- Arn?: string;
6452
- /**
6453
- * <p>The name of the routing profile.</p>
6454
- */
6455
- Name?: string;
6456
- }
6457
- export declare namespace RoutingProfileSummary {
6458
- /**
6459
- * @internal
6460
- */
6461
- const filterSensitiveLog: (obj: RoutingProfileSummary) => any;
6462
- }
6463
- export interface ListRoutingProfilesResponse {
6464
- /**
6465
- * <p>Information about the routing profiles.</p>
6466
- */
6467
- RoutingProfileSummaryList?: RoutingProfileSummary[];
6468
- /**
6469
- * <p>If there are additional results, this is the token for the next set of results.</p>
6470
- */
6471
- NextToken?: string;
6472
- }
6473
- export declare namespace ListRoutingProfilesResponse {
6474
- /**
6475
- * @internal
6476
- */
6477
- const filterSensitiveLog: (obj: ListRoutingProfilesResponse) => any;
6478
- }