@aws-sdk/client-connect 3.699.0 → 3.701.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.
- package/dist-cjs/index.js +96 -47
- package/dist-es/commands/CreateContactCommand.js +1 -1
- package/dist-es/commands/StartEmailContactCommand.js +1 -1
- package/dist-es/commands/StartTaskContactCommand.js +1 -1
- package/dist-es/commands/UpdateContactCommand.js +1 -1
- package/dist-es/models/models_0.js +0 -5
- package/dist-es/models/models_1.js +5 -0
- package/dist-es/models/models_2.js +5 -27
- package/dist-es/models/models_3.js +23 -0
- package/dist-es/protocols/Aws_restJson1.js +57 -8
- package/dist-types/commands/CreateContactCommand.d.ts +13 -2
- package/dist-types/commands/CreateEmailAddressCommand.d.ts +3 -1
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailAddressCommand.d.ts +1 -1
- package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -2
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeContactCommand.d.ts +10 -0
- package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -2
- package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEmailAddressCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociatedContactsCommand.d.ts +2 -1
- package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +1 -1
- package/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -3
- package/dist-types/commands/SearchEmailAddressesCommand.d.ts +1 -1
- package/dist-types/commands/SendOutboundEmailCommand.d.ts +6 -1
- package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +3 -1
- package/dist-types/commands/StartChatContactCommand.d.ts +12 -1
- package/dist-types/commands/StartEmailContactCommand.d.ts +14 -2
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +12 -1
- package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +2 -1
- package/dist-types/commands/StartTaskContactCommand.d.ts +12 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContactCommand.d.ts +12 -1
- package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +2 -1
- package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +60 -118
- package/dist-types/models/models_1.d.ts +117 -71
- package/dist-types/models/models_2.d.ts +544 -718
- package/dist-types/models/models_3.d.ts +545 -246
- package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +5 -21
- package/dist-types/ts3.4/models/models_1.d.ts +18 -6
- package/dist-types/ts3.4/models/models_2.d.ts +76 -97
- package/dist-types/ts3.4/models/models_3.d.ts +96 -58
- package/package.json +1 -1
|
@@ -161,33 +161,37 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
161
161
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
162
162
|
}
|
|
163
163
|
/**
|
|
164
|
-
* <p
|
|
164
|
+
* <p>Information about the email recipient</p>
|
|
165
165
|
* @public
|
|
166
166
|
*/
|
|
167
167
|
export interface EmailRecipient {
|
|
168
168
|
/**
|
|
169
|
-
* <p
|
|
169
|
+
* <p>Address of the email recipient.</p>
|
|
170
|
+
* <p>Type: String</p>
|
|
171
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 256.</p>
|
|
170
172
|
* @public
|
|
171
173
|
*/
|
|
172
174
|
Address?: string | undefined;
|
|
173
175
|
/**
|
|
174
|
-
* <p
|
|
176
|
+
* <p>Display name of the email recipient.</p>
|
|
177
|
+
* <p>Type: String</p>
|
|
178
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 256.</p>
|
|
175
179
|
* @public
|
|
176
180
|
*/
|
|
177
181
|
DisplayName?: string | undefined;
|
|
178
182
|
}
|
|
179
183
|
/**
|
|
180
|
-
* <p
|
|
184
|
+
* <p>List of additional email addresses for an email contact.</p>
|
|
181
185
|
* @public
|
|
182
186
|
*/
|
|
183
187
|
export interface AdditionalEmailRecipients {
|
|
184
188
|
/**
|
|
185
|
-
* <p
|
|
189
|
+
* <p>List of additional TO email recipients for an email contact.</p>
|
|
186
190
|
* @public
|
|
187
191
|
*/
|
|
188
192
|
ToList?: EmailRecipient[] | undefined;
|
|
189
193
|
/**
|
|
190
|
-
* <p
|
|
194
|
+
* <p>List of additional CC email recipients for an email contact.</p>
|
|
191
195
|
* @public
|
|
192
196
|
*/
|
|
193
197
|
CcList?: EmailRecipient[] | undefined;
|
|
@@ -995,7 +999,7 @@ export declare const AttachedFileServiceQuotaExceededExceptionReason: {
|
|
|
995
999
|
*/
|
|
996
1000
|
export type AttachedFileServiceQuotaExceededExceptionReason = (typeof AttachedFileServiceQuotaExceededExceptionReason)[keyof typeof AttachedFileServiceQuotaExceededExceptionReason];
|
|
997
1001
|
/**
|
|
998
|
-
* <p
|
|
1002
|
+
* <p>The reason for the exception.</p>
|
|
999
1003
|
* @public
|
|
1000
1004
|
*/
|
|
1001
1005
|
export type ServiceQuotaExceededExceptionReason = ServiceQuotaExceededExceptionReason.AttachedFileServiceQuotaExceededExceptionReasonMember | ServiceQuotaExceededExceptionReason.$UnknownMember;
|
|
@@ -1004,7 +1008,7 @@ export type ServiceQuotaExceededExceptionReason = ServiceQuotaExceededExceptionR
|
|
|
1004
1008
|
*/
|
|
1005
1009
|
export declare namespace ServiceQuotaExceededExceptionReason {
|
|
1006
1010
|
/**
|
|
1007
|
-
* <p
|
|
1011
|
+
* <p>Total file size of all files or total number of files exceeds the service quota</p>
|
|
1008
1012
|
* @public
|
|
1009
1013
|
*/
|
|
1010
1014
|
interface AttachedFileServiceQuotaExceededExceptionReasonMember {
|
|
@@ -1033,7 +1037,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
1033
1037
|
readonly $fault: "client";
|
|
1034
1038
|
Message?: string | undefined;
|
|
1035
1039
|
/**
|
|
1036
|
-
* <p
|
|
1040
|
+
* <p>The reason for the exception.</p>
|
|
1037
1041
|
* @public
|
|
1038
1042
|
*/
|
|
1039
1043
|
Reason?: ServiceQuotaExceededExceptionReason | undefined;
|
|
@@ -1807,8 +1811,8 @@ export interface BatchGetAttachedFileMetadataRequest {
|
|
|
1807
1811
|
*/
|
|
1808
1812
|
InstanceId: string | undefined;
|
|
1809
1813
|
/**
|
|
1810
|
-
* <p>The resource to which the attached file is (being) uploaded to.
|
|
1811
|
-
*
|
|
1814
|
+
* <p>The resource to which the attached file is (being) uploaded to. The supported resources are
|
|
1815
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>.</p>
|
|
1812
1816
|
* <note>
|
|
1813
1817
|
* <p>This value must be a valid ARN.</p>
|
|
1814
1818
|
* </note>
|
|
@@ -2313,8 +2317,8 @@ export interface CompleteAttachedFileUploadRequest {
|
|
|
2313
2317
|
*/
|
|
2314
2318
|
FileId: string | undefined;
|
|
2315
2319
|
/**
|
|
2316
|
-
* <p>The resource to which the attached file is (being) uploaded to.
|
|
2317
|
-
*
|
|
2320
|
+
* <p>The resource to which the attached file is (being) uploaded to. The supported resources are
|
|
2321
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>.</p>
|
|
2318
2322
|
* <note>
|
|
2319
2323
|
* <p>This value must be a valid ARN.</p>
|
|
2320
2324
|
* </note>
|
|
@@ -2469,125 +2473,43 @@ export interface Reference {
|
|
|
2469
2473
|
*/
|
|
2470
2474
|
Type: ReferenceType | undefined;
|
|
2471
2475
|
/**
|
|
2472
|
-
* <p
|
|
2476
|
+
* <p>Status of the attachment reference type.</p>
|
|
2473
2477
|
* @public
|
|
2474
2478
|
*/
|
|
2475
2479
|
Status?: ReferenceStatus | undefined;
|
|
2476
2480
|
/**
|
|
2477
|
-
* <p
|
|
2481
|
+
* <p>The Amazon Resource Name (ARN) of the reference</p>
|
|
2478
2482
|
* @public
|
|
2479
2483
|
*/
|
|
2480
2484
|
Arn?: string | undefined;
|
|
2481
2485
|
/**
|
|
2482
|
-
* <p
|
|
2486
|
+
* <p>Relevant details why the reference was not successfully created.</p>
|
|
2483
2487
|
* @public
|
|
2484
2488
|
*/
|
|
2485
2489
|
StatusReason?: string | undefined;
|
|
2486
2490
|
}
|
|
2487
2491
|
/**
|
|
2488
|
-
* <p>
|
|
2489
|
-
* <code>valueString</code> and the value is a string.</p>
|
|
2490
|
-
* @public
|
|
2491
|
-
*/
|
|
2492
|
-
export interface SegmentAttributeValue {
|
|
2493
|
-
/**
|
|
2494
|
-
* <p>The value of a segment attribute.</p>
|
|
2495
|
-
* @public
|
|
2496
|
-
*/
|
|
2497
|
-
ValueString?: string | undefined;
|
|
2498
|
-
}
|
|
2499
|
-
/**
|
|
2500
|
-
* <p></p>
|
|
2492
|
+
* <p>The user details for the contact.</p>
|
|
2501
2493
|
* @public
|
|
2502
2494
|
*/
|
|
2503
2495
|
export interface UserInfo {
|
|
2504
2496
|
/**
|
|
2505
|
-
* <p
|
|
2497
|
+
* <p>The user identifier for the contact.</p>
|
|
2506
2498
|
* @public
|
|
2507
2499
|
*/
|
|
2508
2500
|
UserId?: string | undefined;
|
|
2509
2501
|
}
|
|
2510
|
-
/**
|
|
2511
|
-
* @public
|
|
2512
|
-
*/
|
|
2513
|
-
export interface CreateContactRequest {
|
|
2514
|
-
/**
|
|
2515
|
-
* <p></p>
|
|
2516
|
-
* @public
|
|
2517
|
-
*/
|
|
2518
|
-
InstanceId: string | undefined;
|
|
2519
|
-
/**
|
|
2520
|
-
* <p></p>
|
|
2521
|
-
* @public
|
|
2522
|
-
*/
|
|
2523
|
-
ClientToken?: string | undefined;
|
|
2524
|
-
/**
|
|
2525
|
-
* <p></p>
|
|
2526
|
-
* @public
|
|
2527
|
-
*/
|
|
2528
|
-
RelatedContactId?: string | undefined;
|
|
2529
|
-
/**
|
|
2530
|
-
* <p></p>
|
|
2531
|
-
* @public
|
|
2532
|
-
*/
|
|
2533
|
-
Attributes?: Record<string, string> | undefined;
|
|
2534
|
-
/**
|
|
2535
|
-
* <p></p>
|
|
2536
|
-
* @public
|
|
2537
|
-
*/
|
|
2538
|
-
References?: Record<string, Reference> | undefined;
|
|
2539
|
-
/**
|
|
2540
|
-
* <p></p>
|
|
2541
|
-
* @public
|
|
2542
|
-
*/
|
|
2543
|
-
Channel: Channel | undefined;
|
|
2544
|
-
/**
|
|
2545
|
-
* <p></p>
|
|
2546
|
-
* @public
|
|
2547
|
-
*/
|
|
2548
|
-
InitiationMethod: ContactInitiationMethod | undefined;
|
|
2549
|
-
/**
|
|
2550
|
-
* <p></p>
|
|
2551
|
-
* @public
|
|
2552
|
-
*/
|
|
2553
|
-
ExpiryDurationInMinutes?: number | undefined;
|
|
2554
|
-
/**
|
|
2555
|
-
* <p></p>
|
|
2556
|
-
* @public
|
|
2557
|
-
*/
|
|
2558
|
-
UserInfo?: UserInfo | undefined;
|
|
2559
|
-
/**
|
|
2560
|
-
* <p></p>
|
|
2561
|
-
* @public
|
|
2562
|
-
*/
|
|
2563
|
-
InitiateAs?: InitiateAs | undefined;
|
|
2564
|
-
/**
|
|
2565
|
-
* <p></p>
|
|
2566
|
-
* @public
|
|
2567
|
-
*/
|
|
2568
|
-
Name?: string | undefined;
|
|
2569
|
-
/**
|
|
2570
|
-
* <p></p>
|
|
2571
|
-
* @public
|
|
2572
|
-
*/
|
|
2573
|
-
Description?: string | undefined;
|
|
2574
|
-
/**
|
|
2575
|
-
* <p></p>
|
|
2576
|
-
* @public
|
|
2577
|
-
*/
|
|
2578
|
-
SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
|
|
2579
|
-
}
|
|
2580
2502
|
/**
|
|
2581
2503
|
* @public
|
|
2582
2504
|
*/
|
|
2583
2505
|
export interface CreateContactResponse {
|
|
2584
2506
|
/**
|
|
2585
|
-
* <p
|
|
2507
|
+
* <p>The identifier of the contact in this instance of Amazon Connect. </p>
|
|
2586
2508
|
* @public
|
|
2587
2509
|
*/
|
|
2588
2510
|
ContactId?: string | undefined;
|
|
2589
2511
|
/**
|
|
2590
|
-
* <p
|
|
2512
|
+
* <p>The Amazon Resource Name (ARN) of the created contact.</p>
|
|
2591
2513
|
* @public
|
|
2592
2514
|
*/
|
|
2593
2515
|
ContactArn?: string | undefined;
|
|
@@ -2839,32 +2761,35 @@ export interface CreateContactFlowVersionResponse {
|
|
|
2839
2761
|
*/
|
|
2840
2762
|
export interface CreateEmailAddressRequest {
|
|
2841
2763
|
/**
|
|
2842
|
-
* <p
|
|
2764
|
+
* <p>The description of the email address.</p>
|
|
2843
2765
|
* @public
|
|
2844
2766
|
*/
|
|
2845
2767
|
Description?: string | undefined;
|
|
2846
2768
|
/**
|
|
2847
|
-
* <p
|
|
2769
|
+
* <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>
|
|
2848
2770
|
* @public
|
|
2849
2771
|
*/
|
|
2850
2772
|
InstanceId: string | undefined;
|
|
2851
2773
|
/**
|
|
2852
|
-
* <p
|
|
2774
|
+
* <p>The email address with the instance, in [^\s@]+@[^\s@]+\.[^\s@]+ format.</p>
|
|
2853
2775
|
* @public
|
|
2854
2776
|
*/
|
|
2855
2777
|
EmailAddress: string | undefined;
|
|
2856
2778
|
/**
|
|
2857
|
-
* <p
|
|
2779
|
+
* <p>The display name of email address</p>
|
|
2858
2780
|
* @public
|
|
2859
2781
|
*/
|
|
2860
2782
|
DisplayName?: string | undefined;
|
|
2861
2783
|
/**
|
|
2862
|
-
* <p
|
|
2784
|
+
* <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
2863
2785
|
* @public
|
|
2864
2786
|
*/
|
|
2865
2787
|
Tags?: Record<string, string> | undefined;
|
|
2866
2788
|
/**
|
|
2867
|
-
* <p
|
|
2789
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
2790
|
+
* request. If not provided, the Amazon Web Services
|
|
2791
|
+
* SDK populates this field. For more information about idempotency, see
|
|
2792
|
+
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
2868
2793
|
* @public
|
|
2869
2794
|
*/
|
|
2870
2795
|
ClientToken?: string | undefined;
|
|
@@ -2874,12 +2799,12 @@ export interface CreateEmailAddressRequest {
|
|
|
2874
2799
|
*/
|
|
2875
2800
|
export interface CreateEmailAddressResponse {
|
|
2876
2801
|
/**
|
|
2877
|
-
* <p
|
|
2802
|
+
* <p>The identifier of the email address.</p>
|
|
2878
2803
|
* @public
|
|
2879
2804
|
*/
|
|
2880
2805
|
EmailAddressId?: string | undefined;
|
|
2881
2806
|
/**
|
|
2882
|
-
* <p
|
|
2807
|
+
* <p>The Amazon Resource Name (ARN) of the email address.</p>
|
|
2883
2808
|
* @public
|
|
2884
2809
|
*/
|
|
2885
2810
|
EmailAddressArn?: string | undefined;
|
|
@@ -3950,12 +3875,12 @@ export interface OutboundCallerConfig {
|
|
|
3950
3875
|
OutboundFlowId?: string | undefined;
|
|
3951
3876
|
}
|
|
3952
3877
|
/**
|
|
3953
|
-
* <p
|
|
3878
|
+
* <p>The outbound email address Id.</p>
|
|
3954
3879
|
* @public
|
|
3955
3880
|
*/
|
|
3956
3881
|
export interface OutboundEmailConfig {
|
|
3957
3882
|
/**
|
|
3958
|
-
* <p
|
|
3883
|
+
* <p>The identifier of the email address.</p>
|
|
3959
3884
|
* @public
|
|
3960
3885
|
*/
|
|
3961
3886
|
OutboundEmailAddressId?: string | undefined;
|
|
@@ -3985,7 +3910,7 @@ export interface CreateQueueRequest {
|
|
|
3985
3910
|
*/
|
|
3986
3911
|
OutboundCallerConfig?: OutboundCallerConfig | undefined;
|
|
3987
3912
|
/**
|
|
3988
|
-
* <p
|
|
3913
|
+
* <p>The outbound email address ID for a specified queue.</p>
|
|
3989
3914
|
* @public
|
|
3990
3915
|
*/
|
|
3991
3916
|
OutboundEmailConfig?: OutboundEmailConfig | undefined;
|
|
@@ -4951,7 +4876,8 @@ export interface CreateTaskTemplateRequest {
|
|
|
4951
4876
|
*/
|
|
4952
4877
|
ContactFlowId?: string | undefined;
|
|
4953
4878
|
/**
|
|
4954
|
-
* <p
|
|
4879
|
+
* <p>The ContactFlowId for the flow that will be run if this template is used to create a
|
|
4880
|
+
* self-assigned task.</p>
|
|
4955
4881
|
* @public
|
|
4956
4882
|
*/
|
|
4957
4883
|
SelfAssignFlowId?: string | undefined;
|
|
@@ -5890,12 +5816,12 @@ export interface DeleteContactFlowModuleResponse {
|
|
|
5890
5816
|
*/
|
|
5891
5817
|
export interface DeleteEmailAddressRequest {
|
|
5892
5818
|
/**
|
|
5893
|
-
* <p
|
|
5819
|
+
* <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>
|
|
5894
5820
|
* @public
|
|
5895
5821
|
*/
|
|
5896
5822
|
InstanceId: string | undefined;
|
|
5897
5823
|
/**
|
|
5898
|
-
* <p
|
|
5824
|
+
* <p>The identifier of the email address.</p>
|
|
5899
5825
|
* @public
|
|
5900
5826
|
*/
|
|
5901
5827
|
EmailAddressId: string | undefined;
|
|
@@ -6202,9 +6128,25 @@ export interface DeleteViewVersionRequest {
|
|
|
6202
6128
|
ViewVersion: number | undefined;
|
|
6203
6129
|
}
|
|
6204
6130
|
/**
|
|
6205
|
-
* @
|
|
6131
|
+
* @public
|
|
6206
6132
|
*/
|
|
6207
|
-
export
|
|
6133
|
+
export interface DeleteViewVersionResponse {
|
|
6134
|
+
}
|
|
6135
|
+
/**
|
|
6136
|
+
* @public
|
|
6137
|
+
*/
|
|
6138
|
+
export interface DeleteVocabularyRequest {
|
|
6139
|
+
/**
|
|
6140
|
+
* <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>
|
|
6141
|
+
* @public
|
|
6142
|
+
*/
|
|
6143
|
+
InstanceId: string | undefined;
|
|
6144
|
+
/**
|
|
6145
|
+
* <p>The identifier of the custom vocabulary.</p>
|
|
6146
|
+
* @public
|
|
6147
|
+
*/
|
|
6148
|
+
VocabularyId: string | undefined;
|
|
6149
|
+
}
|
|
6208
6150
|
/**
|
|
6209
6151
|
* @internal
|
|
6210
6152
|
*/
|