@aws-sdk/client-connect 3.896.0 → 3.899.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 (75) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +233 -59
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/AssociateContactWithUserCommand.js +22 -0
  5. package/dist-es/commands/ListInstancesCommand.js +1 -1
  6. package/dist-es/commands/ListRoutingProfileManualAssignmentQueuesCommand.js +22 -0
  7. package/dist-es/commands/SearchContactsCommand.js +2 -1
  8. package/dist-es/commands/UpdateEmailAddressMetadataCommand.js +1 -1
  9. package/dist-es/commands/index.js +2 -0
  10. package/dist-es/models/models_1.js +0 -10
  11. package/dist-es/models/models_2.js +28 -33
  12. package/dist-es/models/models_3.js +29 -0
  13. package/dist-es/pagination/ListRoutingProfileManualAssignmentQueuesPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +116 -4
  16. package/dist-types/Connect.d.ts +14 -0
  17. package/dist-types/ConnectClient.d.ts +4 -2
  18. package/dist-types/commands/AssociateContactWithUserCommand.d.ts +136 -0
  19. package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +9 -1
  20. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +8 -0
  21. package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteHoursOfOperationOverrideCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteInstanceCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +4 -0
  25. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +7 -1
  26. package/dist-types/commands/GetContactMetricsCommand.d.ts +2 -2
  27. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +1 -2
  28. package/dist-types/commands/ListInstancesCommand.d.ts +2 -1
  29. package/dist-types/commands/ListRoutingProfileManualAssignmentQueuesCommand.d.ts +128 -0
  30. package/dist-types/commands/SearchContactsCommand.d.ts +161 -8
  31. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +4 -0
  32. package/dist-types/commands/StopContactCommand.d.ts +1 -2
  33. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +1 -2
  34. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -2
  37. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateHoursOfOperationOverrideCommand.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/index.d.ts +2 -0
  42. package/dist-types/models/models_0.d.ts +53 -54
  43. package/dist-types/models/models_1.d.ts +69 -106
  44. package/dist-types/models/models_2.d.ts +388 -443
  45. package/dist-types/models/models_3.d.ts +394 -3
  46. package/dist-types/pagination/ListRoutingProfileManualAssignmentQueuesPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +1 -0
  48. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  49. package/dist-types/ts3.4/Connect.d.ts +40 -0
  50. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  51. package/dist-types/ts3.4/commands/AssociateContactWithUserCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeleteHoursOfOperationCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DeleteHoursOfOperationOverrideCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListInstanceStorageConfigsCommand.d.ts +4 -2
  56. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +2 -4
  57. package/dist-types/ts3.4/commands/ListRoutingProfileManualAssignmentQueuesCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/UpdateEmailAddressMetadataCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +4 -2
  63. package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateHoursOfOperationOverrideCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +16 -14
  69. package/dist-types/ts3.4/models/models_1.d.ts +17 -29
  70. package/dist-types/ts3.4/models/models_2.d.ts +102 -114
  71. package/dist-types/ts3.4/models/models_3.d.ts +110 -0
  72. package/dist-types/ts3.4/pagination/ListRoutingProfileManualAssignmentQueuesPaginator.d.ts +11 -0
  73. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  75. package/package.json +11 -11
@@ -1,7 +1,104 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { ActionSummary, AgentHierarchyGroups, AgentStatus, AgentStatusState, AllowedCapabilities, Application, Channel, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, EventSourceName, FileStatusType, FileUseCaseType, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, MonitorCapability, ParticipantRole, QuickConnectType, Reference, RehydrationType, RulePublishStatus, SourceType, StringComparisonType, StringCondition, TagCondition, TaskTemplateStatus, UseCaseType, UserPhoneConfig, UserProficiency, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
- import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, EvaluationAnswerData, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, HoursOfOperationOverride, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QuickConnect, RoutingProfile, SortOrder, TrafficDistributionGroupStatus } from "./models_1";
3
+ import { ActionSummary, AgentHierarchyGroups, AgentStatus, AgentStatusState, AllowedCapabilities, Application, Channel, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, DirectoryType, EventSourceName, FileStatusType, FileUseCaseType, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, MonitorCapability, ParticipantRole, QuickConnectType, Reference, RehydrationType, RulePublishStatus, SourceType, StringComparisonType, StringCondition, TagCondition, TaskTemplateStatus, UseCaseType, UserPhoneConfig, UserProficiency, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, EvaluationAnswerData, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, HoursOfOperationOverride, InstanceStatus, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QuickConnect, RoutingProfile, SortOrder, TrafficDistributionGroupStatus } from "./models_1";
5
+ /**
6
+ * <p>Information about the instance.</p>
7
+ * @public
8
+ */
9
+ export interface InstanceSummary {
10
+ /**
11
+ * <p>The identifier of the instance.</p>
12
+ * @public
13
+ */
14
+ Id?: string | undefined;
15
+ /**
16
+ * <p>The Amazon Resource Name (ARN) of the instance.</p>
17
+ * @public
18
+ */
19
+ Arn?: string | undefined;
20
+ /**
21
+ * <p>The identity management type of the instance.</p>
22
+ * @public
23
+ */
24
+ IdentityManagementType?: DirectoryType | undefined;
25
+ /**
26
+ * <p>The alias of the instance.</p>
27
+ * @public
28
+ */
29
+ InstanceAlias?: string | undefined;
30
+ /**
31
+ * <p>When the instance was created.</p>
32
+ * @public
33
+ */
34
+ CreatedTime?: Date | undefined;
35
+ /**
36
+ * <p>The service role of the instance.</p>
37
+ * @public
38
+ */
39
+ ServiceRole?: string | undefined;
40
+ /**
41
+ * <p>The state of the instance.</p>
42
+ * @public
43
+ */
44
+ InstanceStatus?: InstanceStatus | undefined;
45
+ /**
46
+ * <p>Whether inbound calls are enabled.</p>
47
+ * @public
48
+ */
49
+ InboundCallsEnabled?: boolean | undefined;
50
+ /**
51
+ * <p>Whether outbound calls are enabled.</p>
52
+ * @public
53
+ */
54
+ OutboundCallsEnabled?: boolean | undefined;
55
+ /**
56
+ * <p>This URL allows contact center users to access the Amazon Connect admin website.</p>
57
+ * @public
58
+ */
59
+ InstanceAccessUrl?: string | undefined;
60
+ }
61
+ /**
62
+ * @public
63
+ */
64
+ export interface ListInstancesResponse {
65
+ /**
66
+ * <p>Information about the instances.</p>
67
+ * @public
68
+ */
69
+ InstanceSummaryList?: InstanceSummary[] | undefined;
70
+ /**
71
+ * <p>If there are additional results, this is the token for the next set of results.</p>
72
+ * @public
73
+ */
74
+ NextToken?: string | undefined;
75
+ }
76
+ /**
77
+ * @public
78
+ */
79
+ export interface ListInstanceStorageConfigsRequest {
80
+ /**
81
+ * <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>
82
+ * @public
83
+ */
84
+ InstanceId: string | undefined;
85
+ /**
86
+ * <p>A valid resource type.</p>
87
+ * @public
88
+ */
89
+ ResourceType: InstanceStorageResourceType | undefined;
90
+ /**
91
+ * <p>The token for the next set of results. Use the value returned in the previous
92
+ * response in the next request to retrieve the next set of results.</p>
93
+ * @public
94
+ */
95
+ NextToken?: string | undefined;
96
+ /**
97
+ * <p>The maximum number of results to return per page.</p>
98
+ * @public
99
+ */
100
+ MaxResults?: number | undefined;
101
+ }
5
102
  /**
6
103
  * @public
7
104
  */
@@ -1392,6 +1489,83 @@ export declare class OutputTypeNotFoundException extends __BaseException {
1392
1489
  */
1393
1490
  constructor(opts: __ExceptionOptionType<OutputTypeNotFoundException, __BaseException>);
1394
1491
  }
1492
+ /**
1493
+ * @public
1494
+ */
1495
+ export interface ListRoutingProfileManualAssignmentQueuesRequest {
1496
+ /**
1497
+ * <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>
1498
+ * @public
1499
+ */
1500
+ InstanceId: string | undefined;
1501
+ /**
1502
+ * <p>The identifier of the routing profile.</p>
1503
+ * @public
1504
+ */
1505
+ RoutingProfileId: string | undefined;
1506
+ /**
1507
+ * <p>The token for the next set of results. Use the value returned in the previous
1508
+ * response in the next request to retrieve the next set of results.</p>
1509
+ * @public
1510
+ */
1511
+ NextToken?: string | undefined;
1512
+ /**
1513
+ * <p>The maximum number of results to return per page.</p>
1514
+ * @public
1515
+ */
1516
+ MaxResults?: number | undefined;
1517
+ }
1518
+ /**
1519
+ * <p>Contains summary information about a routing profile manual assignment queue.</p>
1520
+ * @public
1521
+ */
1522
+ export interface RoutingProfileManualAssignmentQueueConfigSummary {
1523
+ /**
1524
+ * <p>The identifier for the queue.</p>
1525
+ * @public
1526
+ */
1527
+ QueueId: string | undefined;
1528
+ /**
1529
+ * <p>The Amazon Resource Name (ARN) of the queue.</p>
1530
+ * @public
1531
+ */
1532
+ QueueArn: string | undefined;
1533
+ /**
1534
+ * <p>The name of the queue.</p>
1535
+ * @public
1536
+ */
1537
+ QueueName: string | undefined;
1538
+ /**
1539
+ * <p>The channels this queue supports. Valid Values: CHAT | TASK | EMAIL </p>
1540
+ * @public
1541
+ */
1542
+ Channel: Channel | undefined;
1543
+ }
1544
+ /**
1545
+ * @public
1546
+ */
1547
+ export interface ListRoutingProfileManualAssignmentQueuesResponse {
1548
+ /**
1549
+ * <p>If there are additional results, this is the token for the next set of results.</p>
1550
+ * @public
1551
+ */
1552
+ NextToken?: string | undefined;
1553
+ /**
1554
+ * <p>Information about the manual assignment queues associated with the routing profile.</p>
1555
+ * @public
1556
+ */
1557
+ RoutingProfileManualAssignmentQueueConfigSummaryList?: RoutingProfileManualAssignmentQueueConfigSummary[] | undefined;
1558
+ /**
1559
+ * <p>The timestamp when this resource was last modified.</p>
1560
+ * @public
1561
+ */
1562
+ LastModifiedTime?: Date | undefined;
1563
+ /**
1564
+ * <p>The Amazon Web Services Region where this resource was last modified.</p>
1565
+ * @public
1566
+ */
1567
+ LastModifiedRegion?: string | undefined;
1568
+ }
1395
1569
  /**
1396
1570
  * @public
1397
1571
  */
@@ -2986,6 +3160,86 @@ export interface SearchContactFlowsResponse {
2986
3160
  */
2987
3161
  ApproximateTotalCount?: number | undefined;
2988
3162
  }
3163
+ /**
3164
+ * @public
3165
+ * @enum
3166
+ */
3167
+ export declare const SearchContactsTimeRangeType: {
3168
+ readonly CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP";
3169
+ readonly DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP";
3170
+ readonly ENQUEUE_TIMESTAMP: "ENQUEUE_TIMESTAMP";
3171
+ readonly INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP";
3172
+ readonly SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP";
3173
+ };
3174
+ /**
3175
+ * @public
3176
+ */
3177
+ export type SearchContactsTimeRangeType = (typeof SearchContactsTimeRangeType)[keyof typeof SearchContactsTimeRangeType];
3178
+ /**
3179
+ * <p>A structure of time range that you want to search results.</p>
3180
+ * @public
3181
+ */
3182
+ export interface SearchContactsTimeRange {
3183
+ /**
3184
+ * <p>The type of timestamp to search.</p>
3185
+ * @public
3186
+ */
3187
+ Type: SearchContactsTimeRangeType | undefined;
3188
+ /**
3189
+ * <p>The start time of the time range.</p>
3190
+ * @public
3191
+ */
3192
+ StartTime: Date | undefined;
3193
+ /**
3194
+ * <p>The end time of the time range.</p>
3195
+ * @public
3196
+ */
3197
+ EndTime: Date | undefined;
3198
+ }
3199
+ /**
3200
+ * @public
3201
+ * @enum
3202
+ */
3203
+ export declare const SearchContactsTimeRangeConditionType: {
3204
+ readonly NOT_EXISTS: "NOT_EXISTS";
3205
+ };
3206
+ /**
3207
+ * @public
3208
+ */
3209
+ export type SearchContactsTimeRangeConditionType = (typeof SearchContactsTimeRangeConditionType)[keyof typeof SearchContactsTimeRangeConditionType];
3210
+ /**
3211
+ * <p>The timestamp condition indicating which timestamp should be used and how it should be
3212
+ * filtered.</p>
3213
+ * @public
3214
+ */
3215
+ export interface SearchContactsTimestampCondition {
3216
+ /**
3217
+ * <p>Type of the timestamps to use for the filter.</p>
3218
+ * @public
3219
+ */
3220
+ Type: SearchContactsTimeRangeType | undefined;
3221
+ /**
3222
+ * <p>Condition of the timestamp on the contact.</p>
3223
+ * @public
3224
+ */
3225
+ ConditionType: SearchContactsTimeRangeConditionType | undefined;
3226
+ }
3227
+ /**
3228
+ * <p>The criteria of the time range to additionally filter on.</p>
3229
+ * @public
3230
+ */
3231
+ export interface SearchContactsAdditionalTimeRangeCriteria {
3232
+ /**
3233
+ * <p>A structure of time range that you want to search results.</p>
3234
+ * @public
3235
+ */
3236
+ TimeRange?: SearchContactsTimeRange | undefined;
3237
+ /**
3238
+ * <p>List of the timestamp conditions.</p>
3239
+ * @public
3240
+ */
3241
+ TimestampCondition?: SearchContactsTimestampCondition | undefined;
3242
+ }
2989
3243
  /**
2990
3244
  * @public
2991
3245
  * @enum
@@ -2993,11 +3247,29 @@ export interface SearchContactFlowsResponse {
2993
3247
  export declare const SearchContactsMatchType: {
2994
3248
  readonly MATCH_ALL: "MATCH_ALL";
2995
3249
  readonly MATCH_ANY: "MATCH_ANY";
3250
+ readonly MATCH_EXACT: "MATCH_EXACT";
3251
+ readonly MATCH_NONE: "MATCH_NONE";
2996
3252
  };
2997
3253
  /**
2998
3254
  * @public
2999
3255
  */
3000
3256
  export type SearchContactsMatchType = (typeof SearchContactsMatchType)[keyof typeof SearchContactsMatchType];
3257
+ /**
3258
+ * <p>Time range that you additionally want to filter on.</p>
3259
+ * @public
3260
+ */
3261
+ export interface SearchContactsAdditionalTimeRange {
3262
+ /**
3263
+ * <p>List of criteria of the time range to additionally filter on.</p>
3264
+ * @public
3265
+ */
3266
+ Criteria: SearchContactsAdditionalTimeRangeCriteria[] | undefined;
3267
+ /**
3268
+ * <p>The match type combining multiple time range filters.</p>
3269
+ * @public
3270
+ */
3271
+ MatchType: SearchContactsMatchType | undefined;
3272
+ }
3001
3273
  /**
3002
3274
  * <p>A structure that defines search criteria base on words or phrases, participants in the
3003
3275
  * Contact Lens conversational analytics transcript.</p>
@@ -3050,6 +3322,61 @@ export interface ContactAnalysis {
3050
3322
  */
3051
3323
  Transcript?: Transcript | undefined;
3052
3324
  }
3325
+ /**
3326
+ * <p>The search criteria based on the contact name</p>
3327
+ * @public
3328
+ */
3329
+ export interface NameCriteria {
3330
+ /**
3331
+ * <p>The words or phrases used to match the contact name.</p>
3332
+ * @public
3333
+ */
3334
+ SearchText: string[] | undefined;
3335
+ /**
3336
+ * <p>The match type combining name search criteria using multiple search texts in a name
3337
+ * criteria.</p>
3338
+ * @public
3339
+ */
3340
+ MatchType: SearchContactsMatchType | undefined;
3341
+ }
3342
+ /**
3343
+ * <p>The agent criteria to search for preferred agents on the routing criteria.</p>
3344
+ * @public
3345
+ */
3346
+ export interface SearchableAgentCriteriaStep {
3347
+ /**
3348
+ * <p>The identifiers of agents used in preferred agents matching.</p>
3349
+ * @public
3350
+ */
3351
+ AgentIds?: string[] | undefined;
3352
+ /**
3353
+ * <p>The match type combining multiple agent criteria steps.</p>
3354
+ * @public
3355
+ */
3356
+ MatchType?: SearchContactsMatchType | undefined;
3357
+ }
3358
+ /**
3359
+ * <p>Routing criteria of the contact to match on.</p>
3360
+ * @public
3361
+ */
3362
+ export interface SearchableRoutingCriteriaStep {
3363
+ /**
3364
+ * <p>Agent matching the routing step of the routing criteria</p>
3365
+ * @public
3366
+ */
3367
+ AgentCriteria?: SearchableAgentCriteriaStep | undefined;
3368
+ }
3369
+ /**
3370
+ * <p>Routing criteria of the contact to match on.</p>
3371
+ * @public
3372
+ */
3373
+ export interface SearchableRoutingCriteria {
3374
+ /**
3375
+ * <p>The list of Routing criteria steps of the contact routing.</p>
3376
+ * @public
3377
+ */
3378
+ Steps?: SearchableRoutingCriteriaStep[] | undefined;
3379
+ }
3053
3380
  /**
3054
3381
  * <p>The search criteria based on user-defined contact attribute key and values to search
3055
3382
  * on.</p>
@@ -3125,6 +3452,11 @@ export interface SearchableSegmentAttributes {
3125
3452
  * @public
3126
3453
  */
3127
3454
  export interface SearchCriteria {
3455
+ /**
3456
+ * <p>Name of the contact.</p>
3457
+ * @public
3458
+ */
3459
+ Name?: NameCriteria | undefined;
3128
3460
  /**
3129
3461
  * <p>The identifiers of agents who handled the contacts.</p>
3130
3462
  * @public
@@ -3155,6 +3487,16 @@ export interface SearchCriteria {
3155
3487
  * @public
3156
3488
  */
3157
3489
  QueueIds?: string[] | undefined;
3490
+ /**
3491
+ * <p>Routing criteria for the contact.</p>
3492
+ * @public
3493
+ */
3494
+ RoutingCriteria?: SearchableRoutingCriteria | undefined;
3495
+ /**
3496
+ * <p>Additional TimeRange used to filter contacts.</p>
3497
+ * @public
3498
+ */
3499
+ AdditionalTimeRange?: SearchContactsAdditionalTimeRange | undefined;
3158
3500
  /**
3159
3501
  * <p>The search criteria based on user-defined contact attributes that have been configured for
3160
3502
  * contact search. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/search-custom-attributes.html">Search by custom contact
@@ -3181,6 +3523,7 @@ export declare const SortableFieldName: {
3181
3523
  readonly CHANNEL: "CHANNEL";
3182
3524
  readonly CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP";
3183
3525
  readonly DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP";
3526
+ readonly EXPIRY_TIMESTAMP: "EXPIRY_TIMESTAMP";
3184
3527
  readonly INITIATION_METHOD: "INITIATION_METHOD";
3185
3528
  readonly INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP";
3186
3529
  readonly SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP";
@@ -3205,214 +3548,74 @@ export interface Sort {
3205
3548
  */
3206
3549
  Order: SortOrder | undefined;
3207
3550
  }
3208
- /**
3209
- * @public
3210
- * @enum
3211
- */
3212
- export declare const SearchContactsTimeRangeType: {
3213
- readonly CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP";
3214
- readonly DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP";
3215
- readonly INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP";
3216
- readonly SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP";
3217
- };
3218
- /**
3219
- * @public
3220
- */
3221
- export type SearchContactsTimeRangeType = (typeof SearchContactsTimeRangeType)[keyof typeof SearchContactsTimeRangeType];
3222
- /**
3223
- * <p>A structure of time range that you want to search results.</p>
3224
- * @public
3225
- */
3226
- export interface SearchContactsTimeRange {
3227
- /**
3228
- * <p>The type of timestamp to search.</p>
3229
- * @public
3230
- */
3231
- Type: SearchContactsTimeRangeType | undefined;
3232
- /**
3233
- * <p>The start time of the time range.</p>
3234
- * @public
3235
- */
3236
- StartTime: Date | undefined;
3237
- /**
3238
- * <p>The end time of the time range.</p>
3239
- * @public
3240
- */
3241
- EndTime: Date | undefined;
3242
- }
3243
- /**
3244
- * @public
3245
- */
3246
- export interface SearchContactsRequest {
3247
- /**
3248
- * <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon
3249
- * Resource Name (ARN) of the instance.</p>
3250
- * @public
3251
- */
3252
- InstanceId: string | undefined;
3253
- /**
3254
- * <p>Time range that you want to search results.</p>
3255
- * @public
3256
- */
3257
- TimeRange: SearchContactsTimeRange | undefined;
3258
- /**
3259
- * <p>The search criteria to be used to return contacts.</p>
3260
- * @public
3261
- */
3262
- SearchCriteria?: SearchCriteria | undefined;
3263
- /**
3264
- * <p>The maximum number of results to return per page.</p>
3265
- * @public
3266
- */
3267
- MaxResults?: number | undefined;
3268
- /**
3269
- * <p>The token for the next set of results. Use the value returned in the previous response in
3270
- * the next request to retrieve the next set of results.</p>
3271
- * @public
3272
- */
3273
- NextToken?: string | undefined;
3274
- /**
3275
- * <p>Specifies a field to sort by and a sort order.</p>
3276
- * @public
3277
- */
3278
- Sort?: Sort | undefined;
3279
- }
3280
- /**
3281
- * <p>Information about the agent who accepted the contact.</p>
3282
- * @public
3283
- */
3284
- export interface ContactSearchSummaryAgentInfo {
3285
- /**
3286
- * <p>The identifier of the agent who accepted the contact.</p>
3287
- * @public
3288
- */
3289
- Id?: string | undefined;
3290
- /**
3291
- * <p>The timestamp when the contact was connected to the agent.</p>
3292
- * @public
3293
- */
3294
- ConnectedToAgentTimestamp?: Date | undefined;
3295
- }
3296
- /**
3297
- * <p>If this contact was queued, this contains information about the queue.</p>
3298
- * @public
3299
- */
3300
- export interface ContactSearchSummaryQueueInfo {
3301
- /**
3302
- * <p>The unique identifier for the queue.</p>
3303
- * @public
3304
- */
3305
- Id?: string | undefined;
3306
- /**
3307
- * <p>The timestamp when the contact was added to the queue.</p>
3308
- * @public
3309
- */
3310
- EnqueueTimestamp?: Date | undefined;
3311
- }
3312
- /**
3313
- * <p>The value of a segment attribute. This is structured as a map with a single key-value pair.
3314
- * The key 'valueString' indicates that the attribute type is a string, and its corresponding value
3315
- * is the actual string value of the segment attribute.</p>
3316
- * @public
3317
- */
3318
- export interface ContactSearchSummarySegmentAttributeValue {
3319
- /**
3320
- * <p>The value of a segment attribute represented as a string.</p>
3321
- * @public
3322
- */
3323
- ValueString?: string | undefined;
3324
- }
3325
- /**
3326
- * <p>Information of returned contact.</p>
3327
- * @public
3328
- */
3329
- export interface ContactSearchSummary {
3330
- /**
3331
- * <p>The Amazon Resource Name (ARN) of the contact.</p>
3332
- * @public
3333
- */
3334
- Arn?: string | undefined;
3335
- /**
3336
- * <p>The identifier of the contact summary.</p>
3337
- * @public
3338
- */
3339
- Id?: string | undefined;
3340
- /**
3341
- * <p>If this contact is related to other contacts, this is the ID of the initial contact.</p>
3342
- * @public
3343
- */
3344
- InitialContactId?: string | undefined;
3345
- /**
3346
- * <p>If this contact is not the first contact, this is the ID of the previous contact.</p>
3347
- * @public
3348
- */
3349
- PreviousContactId?: string | undefined;
3551
+ /**
3552
+ * @public
3553
+ */
3554
+ export interface SearchContactsRequest {
3350
3555
  /**
3351
- * <p>Indicates how the contact was initiated.</p>
3556
+ * <p>The identifier of Amazon Connect instance. You can find the instance ID in the Amazon
3557
+ * Resource Name (ARN) of the instance.</p>
3352
3558
  * @public
3353
3559
  */
3354
- InitiationMethod?: ContactInitiationMethod | undefined;
3560
+ InstanceId: string | undefined;
3355
3561
  /**
3356
- * <p>How the contact reached your contact center.</p>
3562
+ * <p>Time range that you want to search results.</p>
3357
3563
  * @public
3358
3564
  */
3359
- Channel?: Channel | undefined;
3565
+ TimeRange: SearchContactsTimeRange | undefined;
3360
3566
  /**
3361
- * <p>If this contact was queued, this contains information about the queue.</p>
3567
+ * <p>The search criteria to be used to return contacts.</p>
3362
3568
  * @public
3363
3569
  */
3364
- QueueInfo?: ContactSearchSummaryQueueInfo | undefined;
3570
+ SearchCriteria?: SearchCriteria | undefined;
3365
3571
  /**
3366
- * <p>Information about the agent who accepted the contact.</p>
3572
+ * <p>The maximum number of results to return per page.</p>
3367
3573
  * @public
3368
3574
  */
3369
- AgentInfo?: ContactSearchSummaryAgentInfo | undefined;
3575
+ MaxResults?: number | undefined;
3370
3576
  /**
3371
- * <p>The date and time this contact was initiated, in UTC time. For <code>INBOUND</code>, this is
3372
- * when the contact arrived. For <code>OUTBOUND</code>, this is when the agent began dialing. For
3373
- * <code>CALLBACK</code>, this is when the callback contact was created. For <code>TRANSFER</code>
3374
- * and <code>QUEUE_TRANSFER</code>, this is when the transfer was initiated. For API, this is when
3375
- * the request arrived. For <code>EXTERNAL_OUTBOUND</code>, this is when the agent started dialing
3376
- * the external participant. For <code>MONITOR</code>, this is when the supervisor started listening
3377
- * to a contact.</p>
3577
+ * <p>The token for the next set of results. Use the value returned in the previous response in
3578
+ * the next request to retrieve the next set of results.</p>
3378
3579
  * @public
3379
3580
  */
3380
- InitiationTimestamp?: Date | undefined;
3581
+ NextToken?: string | undefined;
3381
3582
  /**
3382
- * <p>The timestamp when the customer endpoint disconnected from Amazon Connect.</p>
3583
+ * <p>Specifies a field to sort by and a sort order.</p>
3383
3584
  * @public
3384
3585
  */
3385
- DisconnectTimestamp?: Date | undefined;
3586
+ Sort?: Sort | undefined;
3587
+ }
3588
+ /**
3589
+ * <p>Information about the agent who accepted the contact.</p>
3590
+ * @public
3591
+ */
3592
+ export interface ContactSearchSummaryAgentInfo {
3386
3593
  /**
3387
- * <p>The timestamp, in Unix epoch time format, at which to start running the inbound flow.</p>
3594
+ * <p>The identifier of the agent who accepted the contact.</p>
3388
3595
  * @public
3389
3596
  */
3390
- ScheduledTimestamp?: Date | undefined;
3597
+ Id?: string | undefined;
3391
3598
  /**
3392
- * <p>Set of segment attributes for a contact.</p>
3599
+ * <p>The timestamp when the contact was connected to the agent.</p>
3393
3600
  * @public
3394
3601
  */
3395
- SegmentAttributes?: Record<string, ContactSearchSummarySegmentAttributeValue> | undefined;
3602
+ ConnectedToAgentTimestamp?: Date | undefined;
3396
3603
  }
3397
3604
  /**
3605
+ * <p>If this contact was queued, this contains information about the queue.</p>
3398
3606
  * @public
3399
3607
  */
3400
- export interface SearchContactsResponse {
3401
- /**
3402
- * <p>Information about the contacts.</p>
3403
- * @public
3404
- */
3405
- Contacts: ContactSearchSummary[] | undefined;
3608
+ export interface ContactSearchSummaryQueueInfo {
3406
3609
  /**
3407
- * <p>If there are additional results, this is the token for the next set of results.</p>
3610
+ * <p>The unique identifier for the queue.</p>
3408
3611
  * @public
3409
3612
  */
3410
- NextToken?: string | undefined;
3613
+ Id?: string | undefined;
3411
3614
  /**
3412
- * <p>The total number of contacts which matched your search query.</p>
3615
+ * <p>The timestamp when the contact was added to the queue.</p>
3413
3616
  * @public
3414
3617
  */
3415
- TotalCount?: number | undefined;
3618
+ EnqueueTimestamp?: Date | undefined;
3416
3619
  }
3417
3620
  /**
3418
3621
  * <p>Filters to be applied to search results.</p>
@@ -5851,8 +6054,7 @@ export interface StartWebRTCContactResponse {
5851
6054
  ParticipantToken?: string | undefined;
5852
6055
  }
5853
6056
  /**
5854
- * <p>The contact with the specified ID is not active or does not exist. Applies to Voice calls
5855
- * only, not to Chat or Task contacts.</p>
6057
+ * <p>The contact with the specified ID is not active or does not exist.</p>
5856
6058
  * @public
5857
6059
  */
5858
6060
  export declare class ContactNotFoundException extends __BaseException {
@@ -6539,262 +6741,13 @@ export interface RoutingCriteriaInputStepExpiry {
6539
6741
  DurationInSeconds?: number | undefined;
6540
6742
  }
6541
6743
  /**
6542
- * @public
6543
- */
6544
- export interface UpdateContactRoutingDataResponse {
6545
- }
6546
- /**
6547
- * @public
6548
- */
6549
- export interface UpdateContactScheduleRequest {
6550
- /**
6551
- * <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>
6552
- * @public
6553
- */
6554
- InstanceId: string | undefined;
6555
- /**
6556
- * <p>The identifier of the contact.</p>
6557
- * @public
6558
- */
6559
- ContactId: string | undefined;
6560
- /**
6561
- * <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>
6562
- * @public
6563
- */
6564
- ScheduledTime: Date | undefined;
6565
- }
6566
- /**
6567
- * @public
6568
- */
6569
- export interface UpdateContactScheduleResponse {
6570
- }
6571
- /**
6572
- * @public
6573
- */
6574
- export interface UpdateEmailAddressMetadataRequest {
6575
- /**
6576
- * <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>
6577
- * @public
6578
- */
6579
- InstanceId: string | undefined;
6580
- /**
6581
- * <p>The identifier of the email address.</p>
6582
- * @public
6583
- */
6584
- EmailAddressId: string | undefined;
6585
- /**
6586
- * <p>The description of the email address.</p>
6587
- * @public
6588
- */
6589
- Description?: string | undefined;
6590
- /**
6591
- * <p>The display name of email address.</p>
6592
- * @public
6593
- */
6594
- DisplayName?: string | undefined;
6595
- /**
6596
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
6597
- * request. If not provided, the Amazon Web Services
6598
- * SDK populates this field. For more information about idempotency, see
6599
- * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
6600
- * @public
6601
- */
6602
- ClientToken?: string | undefined;
6603
- }
6604
- /**
6605
- * @public
6606
- */
6607
- export interface UpdateEmailAddressMetadataResponse {
6608
- /**
6609
- * <p>The identifier of the email address.</p>
6610
- * @public
6611
- */
6612
- EmailAddressId?: string | undefined;
6613
- /**
6614
- * <p>The Amazon Resource Name (ARN) of the email address.</p>
6615
- * @public
6616
- */
6617
- EmailAddressArn?: string | undefined;
6618
- }
6619
- /**
6620
- * @public
6621
- */
6622
- export interface UpdateEvaluationFormResponse {
6623
- /**
6624
- * <p>The unique identifier for the evaluation form.</p>
6625
- * @public
6626
- */
6627
- EvaluationFormId: string | undefined;
6628
- /**
6629
- * <p>The Amazon Resource Name (ARN) for the contact evaluation resource.</p>
6630
- * @public
6631
- */
6632
- EvaluationFormArn: string | undefined;
6633
- /**
6634
- * <p>The version of the updated evaluation form resource.</p>
6635
- * @public
6636
- */
6637
- EvaluationFormVersion: number | undefined;
6638
- }
6639
- /**
6640
- * @public
6641
- */
6642
- export interface UpdateHoursOfOperationRequest {
6643
- /**
6644
- * <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>
6645
- * @public
6646
- */
6647
- InstanceId: string | undefined;
6648
- /**
6649
- * <p>The identifier of the hours of operation.</p>
6650
- * @public
6651
- */
6652
- HoursOfOperationId: string | undefined;
6653
- /**
6654
- * <p>The name of the hours of operation.</p>
6655
- * @public
6656
- */
6657
- Name?: string | undefined;
6658
- /**
6659
- * <p>The description of the hours of operation.</p>
6660
- * @public
6661
- */
6662
- Description?: string | undefined;
6663
- /**
6664
- * <p>The time zone of the hours of operation.</p>
6665
- * @public
6666
- */
6667
- TimeZone?: string | undefined;
6668
- /**
6669
- * <p>Configuration information of the hours of operation.</p>
6670
- * @public
6671
- */
6672
- Config?: HoursOfOperationConfig[] | undefined;
6673
- }
6674
- /**
6675
- * <p>Request processing failed because dependent condition failed.</p>
6676
- * @public
6677
- */
6678
- export declare class ConditionalOperationFailedException extends __BaseException {
6679
- readonly name: "ConditionalOperationFailedException";
6680
- readonly $fault: "client";
6681
- Message?: string | undefined;
6682
- /**
6683
- * @internal
6684
- */
6685
- constructor(opts: __ExceptionOptionType<ConditionalOperationFailedException, __BaseException>);
6686
- }
6687
- /**
6688
- * @public
6689
- */
6690
- export interface UpdateHoursOfOperationOverrideRequest {
6691
- /**
6692
- * <p>The identifier of the Amazon Connect instance.</p>
6693
- * @public
6694
- */
6695
- InstanceId: string | undefined;
6696
- /**
6697
- * <p>The identifier for the hours of operation.</p>
6698
- * @public
6699
- */
6700
- HoursOfOperationId: string | undefined;
6701
- /**
6702
- * <p>The identifier for the hours of operation override.</p>
6703
- * @public
6704
- */
6705
- HoursOfOperationOverrideId: string | undefined;
6706
- /**
6707
- * <p>The name of the hours of operation override.</p>
6708
- * @public
6709
- */
6710
- Name?: string | undefined;
6711
- /**
6712
- * <p>The description of the hours of operation override.</p>
6713
- * @public
6714
- */
6715
- Description?: string | undefined;
6716
- /**
6717
- * <p>Configuration information for the hours of operation override: day, start time, and end
6718
- * time.</p>
6719
- * @public
6720
- */
6721
- Config?: HoursOfOperationOverrideConfig[] | undefined;
6722
- /**
6723
- * <p>The date from when the hours of operation override would be effective.</p>
6724
- * @public
6725
- */
6726
- EffectiveFrom?: string | undefined;
6727
- /**
6728
- * <p>The date until the hours of operation override is effective.</p>
6729
- * @public
6730
- */
6731
- EffectiveTill?: string | undefined;
6732
- }
6733
- /**
6734
- * @public
6744
+ * @internal
6735
6745
  */
6736
- export interface UpdateInstanceAttributeRequest {
6737
- /**
6738
- * <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>
6739
- * @public
6740
- */
6741
- InstanceId: string | undefined;
6742
- /**
6743
- * <p>The type of attribute.</p>
6744
- * <note>
6745
- * <p>Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature,
6746
- * contact Amazon Web Services Support for allowlisting.</p>
6747
- * </note>
6748
- * @public
6749
- */
6750
- AttributeType: InstanceAttributeType | undefined;
6751
- /**
6752
- * <p>The value for the attribute. Maximum character limit is 100. </p>
6753
- * @public
6754
- */
6755
- Value: string | undefined;
6756
- /**
6757
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
6758
- * request. If not provided, the Amazon Web Services
6759
- * SDK populates this field. For more information about idempotency, see
6760
- * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
6761
- * @public
6762
- */
6763
- ClientToken?: string | undefined;
6764
- }
6746
+ export declare const InstanceSummaryFilterSensitiveLog: (obj: InstanceSummary) => any;
6765
6747
  /**
6766
- * @public
6748
+ * @internal
6767
6749
  */
6768
- export interface UpdateInstanceStorageConfigRequest {
6769
- /**
6770
- * <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>
6771
- * @public
6772
- */
6773
- InstanceId: string | undefined;
6774
- /**
6775
- * <p>The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.</p>
6776
- * @public
6777
- */
6778
- AssociationId: string | undefined;
6779
- /**
6780
- * <p>A valid resource type.</p>
6781
- * @public
6782
- */
6783
- ResourceType: InstanceStorageResourceType | undefined;
6784
- /**
6785
- * <p>The storage configuration for the instance.</p>
6786
- * @public
6787
- */
6788
- StorageConfig: InstanceStorageConfig | undefined;
6789
- /**
6790
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
6791
- * request. If not provided, the Amazon Web Services
6792
- * SDK populates this field. For more information about idempotency, see
6793
- * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
6794
- * @public
6795
- */
6796
- ClientToken?: string | undefined;
6797
- }
6750
+ export declare const ListInstancesResponseFilterSensitiveLog: (obj: ListInstancesResponse) => any;
6798
6751
  /**
6799
6752
  * @internal
6800
6753
  */
@@ -6827,6 +6780,10 @@ export declare const TranscriptFilterSensitiveLog: (obj: Transcript) => any;
6827
6780
  * @internal
6828
6781
  */
6829
6782
  export declare const ContactAnalysisFilterSensitiveLog: (obj: ContactAnalysis) => any;
6783
+ /**
6784
+ * @internal
6785
+ */
6786
+ export declare const NameCriteriaFilterSensitiveLog: (obj: NameCriteria) => any;
6830
6787
  /**
6831
6788
  * @internal
6832
6789
  */
@@ -6851,14 +6808,6 @@ export declare const SearchCriteriaFilterSensitiveLog: (obj: SearchCriteria) =>
6851
6808
  * @internal
6852
6809
  */
6853
6810
  export declare const SearchContactsRequestFilterSensitiveLog: (obj: SearchContactsRequest) => any;
6854
- /**
6855
- * @internal
6856
- */
6857
- export declare const ContactSearchSummaryFilterSensitiveLog: (obj: ContactSearchSummary) => any;
6858
- /**
6859
- * @internal
6860
- */
6861
- export declare const SearchContactsResponseFilterSensitiveLog: (obj: SearchContactsResponse) => any;
6862
6811
  /**
6863
6812
  * @internal
6864
6813
  */
@@ -6935,7 +6884,3 @@ export declare const ConnectionDataFilterSensitiveLog: (obj: ConnectionData) =>
6935
6884
  * @internal
6936
6885
  */
6937
6886
  export declare const StartWebRTCContactResponseFilterSensitiveLog: (obj: StartWebRTCContactResponse) => any;
6938
- /**
6939
- * @internal
6940
- */
6941
- export declare const UpdateEmailAddressMetadataRequestFilterSensitiveLog: (obj: UpdateEmailAddressMetadataRequest) => any;