@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.
Files changed (55) hide show
  1. package/dist-cjs/index.js +96 -47
  2. package/dist-es/commands/CreateContactCommand.js +1 -1
  3. package/dist-es/commands/StartEmailContactCommand.js +1 -1
  4. package/dist-es/commands/StartTaskContactCommand.js +1 -1
  5. package/dist-es/commands/UpdateContactCommand.js +1 -1
  6. package/dist-es/models/models_0.js +0 -5
  7. package/dist-es/models/models_1.js +5 -0
  8. package/dist-es/models/models_2.js +5 -27
  9. package/dist-es/models/models_3.js +23 -0
  10. package/dist-es/protocols/Aws_restJson1.js +57 -8
  11. package/dist-types/commands/CreateContactCommand.d.ts +13 -2
  12. package/dist-types/commands/CreateEmailAddressCommand.d.ts +3 -1
  13. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteEmailAddressCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -2
  16. package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -1
  17. package/dist-types/commands/DescribeContactCommand.d.ts +10 -0
  18. package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -2
  19. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeEmailAddressCommand.d.ts +1 -1
  21. package/dist-types/commands/ListAssociatedContactsCommand.d.ts +2 -1
  22. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +1 -1
  23. package/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -3
  24. package/dist-types/commands/SearchEmailAddressesCommand.d.ts +1 -1
  25. package/dist-types/commands/SendOutboundEmailCommand.d.ts +6 -1
  26. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +3 -1
  27. package/dist-types/commands/StartChatContactCommand.d.ts +12 -1
  28. package/dist-types/commands/StartEmailContactCommand.d.ts +14 -2
  29. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +12 -1
  30. package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +2 -1
  31. package/dist-types/commands/StartTaskContactCommand.d.ts +12 -1
  32. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  33. package/dist-types/commands/UpdateContactCommand.d.ts +12 -1
  34. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +2 -1
  37. package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +2 -2
  38. package/dist-types/models/models_0.d.ts +60 -118
  39. package/dist-types/models/models_1.d.ts +117 -71
  40. package/dist-types/models/models_2.d.ts +544 -718
  41. package/dist-types/models/models_3.d.ts +545 -246
  42. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +2 -4
  43. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +4 -2
  45. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -4
  46. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +2 -4
  48. package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -4
  50. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/models/models_0.d.ts +5 -21
  52. package/dist-types/ts3.4/models/models_1.d.ts +18 -6
  53. package/dist-types/ts3.4/models/models_2.d.ts +76 -97
  54. package/dist-types/ts3.4/models/models_3.d.ts +96 -58
  55. package/package.json +1 -1
@@ -1,26 +1,6 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { AgentAvailabilityTimer, AgentConfig, AgentContactReference, AgentQualityMetrics, AgentsCriteria, AgentStatus, AgentStatusReference, AgentStatusSummary, AgentStatusType, AnalyticsDataAssociationResult, AudioQualityMetricsInfo, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactState, CreatedByInfo, DeviceInfo, DirectoryType, Distribution, EndpointType, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowAssociationSummary, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, ListFlowAssociationResourceType, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, ParticipantCapabilities, ParticipantRole, PredefinedAttributeValues, QueueReference, QuickConnectConfig, QuickConnectType, ReferenceStatus, ReferenceType, RoutingProfileQueueReference, RuleAction, RulePublishStatus, RuleTriggerEventSource, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, View, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
- /**
5
- * @public
6
- */
7
- export interface DeleteViewVersionResponse {
8
- }
9
- /**
10
- * @public
11
- */
12
- export interface DeleteVocabularyRequest {
13
- /**
14
- * <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>
15
- * @public
16
- */
17
- InstanceId: string | undefined;
18
- /**
19
- * <p>The identifier of the custom vocabulary.</p>
20
- * @public
21
- */
22
- VocabularyId: string | undefined;
23
- }
24
4
  /**
25
5
  * @public
26
6
  */
@@ -234,22 +214,22 @@ export interface Customer {
234
214
  Capabilities?: ParticipantCapabilities | undefined;
235
215
  }
236
216
  /**
237
- * <p></p>
217
+ * <p>Information about the endpoint.</p>
238
218
  * @public
239
219
  */
240
220
  export interface EndpointInfo {
241
221
  /**
242
- * <p></p>
222
+ * <p>Type of endpoint.</p>
243
223
  * @public
244
224
  */
245
225
  Type?: EndpointType | undefined;
246
226
  /**
247
- * <p></p>
227
+ * <p>Address of the endpoint.</p>
248
228
  * @public
249
229
  */
250
230
  Address?: string | undefined;
251
231
  /**
252
- * <p></p>
232
+ * <p>Display name of the endpoint.</p>
253
233
  * @public
254
234
  */
255
235
  DisplayName?: string | undefined;
@@ -702,7 +682,7 @@ export interface ContactFlow {
702
682
  */
703
683
  State?: ContactFlowState | undefined;
704
684
  /**
705
- * <p>The status of the contact flow.</p>
685
+ * <p>The status of the flow.</p>
706
686
  * @public
707
687
  */
708
688
  Status?: ContactFlowStatus | undefined;
@@ -723,12 +703,6 @@ export interface ContactFlow {
723
703
  * @public
724
704
  */
725
705
  Tags?: Record<string, string> | undefined;
726
- /**
727
- * <p>Amazon Connect includes a set of default flows that have already been published. It uses
728
- * them to power your contact center.</p>
729
- * @public
730
- */
731
- IsDefault?: boolean | undefined;
732
706
  /**
733
707
  * <p>Indicates the checksum value of the flow content.</p>
734
708
  * @public
@@ -745,12 +719,12 @@ export interface ContactFlow {
745
719
  */
746
720
  VersionDescription?: string | undefined;
747
721
  /**
748
- * <p>The time at which the contact flow was last modified.</p>
722
+ * <p>The time at which the flow was last modified.</p>
749
723
  * @public
750
724
  */
751
725
  LastModifiedTime?: Date | undefined;
752
726
  /**
753
- * <p>The region in which the contact flow was last modified</p>
727
+ * <p>The region in which the flow was last modified</p>
754
728
  * @public
755
729
  */
756
730
  LastModifiedRegion?: string | undefined;
@@ -866,12 +840,12 @@ export interface DescribeContactFlowModuleResponse {
866
840
  */
867
841
  export interface DescribeEmailAddressRequest {
868
842
  /**
869
- * <p></p>
843
+ * <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>
870
844
  * @public
871
845
  */
872
846
  InstanceId: string | undefined;
873
847
  /**
874
- * <p></p>
848
+ * <p>The identifier of the email address.</p>
875
849
  * @public
876
850
  */
877
851
  EmailAddressId: string | undefined;
@@ -881,42 +855,42 @@ export interface DescribeEmailAddressRequest {
881
855
  */
882
856
  export interface DescribeEmailAddressResponse {
883
857
  /**
884
- * <p></p>
858
+ * <p>The identifier of the email address.</p>
885
859
  * @public
886
860
  */
887
861
  EmailAddressId?: string | undefined;
888
862
  /**
889
- * <p></p>
863
+ * <p>The Amazon Resource Name (ARN) of the email address.</p>
890
864
  * @public
891
865
  */
892
866
  EmailAddressArn?: string | undefined;
893
867
  /**
894
- * <p></p>
868
+ * <p>The email address with the instance, in [^\s@]+@[^\s@]+\.[^\s@]+ format.</p>
895
869
  * @public
896
870
  */
897
871
  EmailAddress?: string | undefined;
898
872
  /**
899
- * <p></p>
873
+ * <p>The display name of email address</p>
900
874
  * @public
901
875
  */
902
876
  DisplayName?: string | undefined;
903
877
  /**
904
- * <p></p>
878
+ * <p>The description of the email address.</p>
905
879
  * @public
906
880
  */
907
881
  Description?: string | undefined;
908
882
  /**
909
- * <p></p>
883
+ * <p>The email address creation timestamp in ISO 8601 Datetime.</p>
910
884
  * @public
911
885
  */
912
886
  CreateTimestamp?: string | undefined;
913
887
  /**
914
- * <p></p>
888
+ * <p>The email address last modification timestamp in ISO 8601 Datetime.</p>
915
889
  * @public
916
890
  */
917
891
  ModifiedTimestamp?: string | undefined;
918
892
  /**
919
- * <p></p>
893
+ * <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
920
894
  * @public
921
895
  */
922
896
  Tags?: Record<string, string> | undefined;
@@ -1923,7 +1897,7 @@ export interface Queue {
1923
1897
  */
1924
1898
  OutboundCallerConfig?: OutboundCallerConfig | undefined;
1925
1899
  /**
1926
- * <p></p>
1900
+ * <p>The outbound email address ID for a specified queue.</p>
1927
1901
  * @public
1928
1902
  */
1929
1903
  OutboundEmailConfig?: OutboundEmailConfig | undefined;
@@ -3170,7 +3144,7 @@ export interface DismissUserContactResponse {
3170
3144
  */
3171
3145
  export interface GetAttachedFileRequest {
3172
3146
  /**
3173
- * <p>The unique identifier of the Connect instance.</p>
3147
+ * <p>The unique identifier of the Amazon Connect instance.</p>
3174
3148
  * @public
3175
3149
  */
3176
3150
  InstanceId: string | undefined;
@@ -3186,8 +3160,8 @@ export interface GetAttachedFileRequest {
3186
3160
  */
3187
3161
  UrlExpiryInSeconds?: number | undefined;
3188
3162
  /**
3189
- * <p>The resource to which the attached file is (being) uploaded to. <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Cases</a> are the only
3190
- * current supported resource.</p>
3163
+ * <p>The resource to which the attached file is (being) uploaded to. The supported resources are
3164
+ * <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>
3191
3165
  * <note>
3192
3166
  * <p>This value must be a valid ARN.</p>
3193
3167
  * </note>
@@ -5888,7 +5862,8 @@ export interface GetTaskTemplateResponse {
5888
5862
  */
5889
5863
  ContactFlowId?: string | undefined;
5890
5864
  /**
5891
- * <p></p>
5865
+ * <p>ContactFlowId for the flow that will be run if this template is used to create a
5866
+ * self-assigned task</p>
5892
5867
  * @public
5893
5868
  */
5894
5869
  SelfAssignFlowId?: string | undefined;
@@ -6188,73 +6163,76 @@ export interface ListApprovedOriginsResponse {
6188
6163
  */
6189
6164
  export interface ListAssociatedContactsRequest {
6190
6165
  /**
6191
- * <p></p>
6166
+ * <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>
6192
6167
  * @public
6193
6168
  */
6194
6169
  InstanceId: string | undefined;
6195
6170
  /**
6196
- * <p></p>
6171
+ * <p>The identifier of the contact in this instance of Amazon Connect. </p>
6197
6172
  * @public
6198
6173
  */
6199
6174
  ContactId: string | undefined;
6200
6175
  /**
6201
- * <p></p>
6176
+ * <p>The maximum number of results to return per page.</p>
6177
+ * <p>The maximum number of results to return per page. The default MaxResult size is 25.</p>
6178
+ * <p>Valid Range: Minimum value of 1. Maximum value of 100.</p>
6202
6179
  * @public
6203
6180
  */
6204
6181
  MaxResults?: number | undefined;
6205
6182
  /**
6206
- * <p></p>
6183
+ * <p>The token for the next set of results. Use the value returned in the previous
6184
+ * response in the next request to retrieve the next set of results.</p>
6207
6185
  * @public
6208
6186
  */
6209
6187
  NextToken?: string | undefined;
6210
6188
  }
6211
6189
  /**
6212
- * <p></p>
6190
+ * <p>Contact summary of a contact in contact tree associated with unique identifier.</p>
6213
6191
  * @public
6214
6192
  */
6215
6193
  export interface AssociatedContactSummary {
6216
6194
  /**
6217
- * <p></p>
6195
+ * <p>The identifier of the contact in this instance of Amazon Connect. </p>
6218
6196
  * @public
6219
6197
  */
6220
6198
  ContactId?: string | undefined;
6221
6199
  /**
6222
- * <p></p>
6200
+ * <p>The Amazon Resource Name (ARN) of the contact</p>
6223
6201
  * @public
6224
6202
  */
6225
6203
  ContactArn?: string | undefined;
6226
6204
  /**
6227
- * <p></p>
6205
+ * <p>The date and time this contact was initiated, in UTC time.</p>
6228
6206
  * @public
6229
6207
  */
6230
6208
  InitiationTimestamp?: Date | undefined;
6231
6209
  /**
6232
- * <p></p>
6210
+ * <p>The timestamp when the customer endpoint disconnected from Amazon Connect.</p>
6233
6211
  * @public
6234
6212
  */
6235
6213
  DisconnectTimestamp?: Date | undefined;
6236
6214
  /**
6237
- * <p></p>
6215
+ * <p>If this contact is related to other contacts, this is the ID of the initial contact.</p>
6238
6216
  * @public
6239
6217
  */
6240
6218
  InitialContactId?: string | undefined;
6241
6219
  /**
6242
- * <p></p>
6220
+ * <p>If this contact is not the first contact, this is the ID of the previous contact.</p>
6243
6221
  * @public
6244
6222
  */
6245
6223
  PreviousContactId?: string | undefined;
6246
6224
  /**
6247
- * <p></p>
6225
+ * <p>The contactId that is related to this contact.</p>
6248
6226
  * @public
6249
6227
  */
6250
6228
  RelatedContactId?: string | undefined;
6251
6229
  /**
6252
- * <p></p>
6230
+ * <p>Indicates how the contact was initiated.</p>
6253
6231
  * @public
6254
6232
  */
6255
6233
  InitiationMethod?: ContactInitiationMethod | undefined;
6256
6234
  /**
6257
- * <p></p>
6235
+ * <p>How the contact reached your contact center.</p>
6258
6236
  * @public
6259
6237
  */
6260
6238
  Channel?: Channel | undefined;
@@ -6264,12 +6242,13 @@ export interface AssociatedContactSummary {
6264
6242
  */
6265
6243
  export interface ListAssociatedContactsResponse {
6266
6244
  /**
6267
- * <p></p>
6245
+ * <p>List of the contact summary for all the contacts in contact tree associated with unique
6246
+ * identifier.</p>
6268
6247
  * @public
6269
6248
  */
6270
6249
  ContactSummaryList?: AssociatedContactSummary[] | undefined;
6271
6250
  /**
6272
- * <p></p>
6251
+ * <p>If there are additional results, this is the token for the next set of results.</p>
6273
6252
  * @public
6274
6253
  */
6275
6254
  NextToken?: string | undefined;
@@ -6641,7 +6620,7 @@ export interface ContactFlowSummary {
6641
6620
  */
6642
6621
  ContactFlowState?: ContactFlowState | undefined;
6643
6622
  /**
6644
- * <p>The status of the contact flow.</p>
6623
+ * <p>The status of the flow.</p>
6645
6624
  * @public
6646
6625
  */
6647
6626
  ContactFlowStatus?: ContactFlowStatus | undefined;
@@ -6688,7 +6667,7 @@ export interface ListContactFlowVersionsRequest {
6688
6667
  MaxResults?: number | undefined;
6689
6668
  }
6690
6669
  /**
6691
- * <p>A summary of a contact flow version's metadata.</p>
6670
+ * <p>A summary of a flow version's metadata.</p>
6692
6671
  * @public
6693
6672
  */
6694
6673
  export interface ContactFlowVersionSummary {
@@ -6775,7 +6754,7 @@ export interface AttachmentReference {
6775
6754
  */
6776
6755
  Status?: ReferenceStatus | undefined;
6777
6756
  /**
6778
- * <p></p>
6757
+ * <p>The Amazon Resource Name (ARN) of the attachment reference.</p>
6779
6758
  * @public
6780
6759
  */
6781
6760
  Arn?: string | undefined;
@@ -6815,17 +6794,18 @@ export interface EmailReference {
6815
6794
  Value?: string | undefined;
6816
6795
  }
6817
6796
  /**
6818
- * <p></p>
6797
+ * <p>Information about the reference when the referenceType is <code>EMAIL_MESSAGE</code>.
6798
+ * Otherwise, null.</p>
6819
6799
  * @public
6820
6800
  */
6821
6801
  export interface EmailMessageReference {
6822
6802
  /**
6823
- * <p></p>
6803
+ * <p>The name of the email message reference</p>
6824
6804
  * @public
6825
6805
  */
6826
6806
  Name?: string | undefined;
6827
6807
  /**
6828
- * <p></p>
6808
+ * <p>The Amazon Resource Name (ARN) of the email message reference</p>
6829
6809
  * @public
6830
6810
  */
6831
6811
  Arn?: string | undefined;
@@ -6921,7 +6901,8 @@ export declare namespace ReferenceSummary {
6921
6901
  $unknown?: never;
6922
6902
  }
6923
6903
  /**
6924
- * <p></p>
6904
+ * <p>Information about the reference when the referenceType is <code>EMAIL_MESSAGE</code>.
6905
+ * Otherwise, null.</p>
6925
6906
  * @public
6926
6907
  */
6927
6908
  interface EmailMessageMember {
@@ -8710,6 +8691,71 @@ export interface RealTimeContactAnalysisTranscriptItemRedaction {
8710
8691
  */
8711
8692
  CharacterOffsets?: RealTimeContactAnalysisCharacterInterval[] | undefined;
8712
8693
  }
8694
+ /**
8695
+ * @public
8696
+ * @enum
8697
+ */
8698
+ export declare const RealTimeContactAnalysisSentimentLabel: {
8699
+ readonly NEGATIVE: "NEGATIVE";
8700
+ readonly NEUTRAL: "NEUTRAL";
8701
+ readonly POSITIVE: "POSITIVE";
8702
+ };
8703
+ /**
8704
+ * @public
8705
+ */
8706
+ export type RealTimeContactAnalysisSentimentLabel = (typeof RealTimeContactAnalysisSentimentLabel)[keyof typeof RealTimeContactAnalysisSentimentLabel];
8707
+ /**
8708
+ * <p>The analyzed transcript segment.</p>
8709
+ * @public
8710
+ */
8711
+ export interface RealTimeContactAnalysisSegmentTranscript {
8712
+ /**
8713
+ * <p>The identifier of the transcript.</p>
8714
+ * @public
8715
+ */
8716
+ Id: string | undefined;
8717
+ /**
8718
+ * <p>The identifier of the participant.</p>
8719
+ * @public
8720
+ */
8721
+ ParticipantId: string | undefined;
8722
+ /**
8723
+ * <p>The role of the participant. For example, is it a customer, agent, or system.</p>
8724
+ * @public
8725
+ */
8726
+ ParticipantRole: ParticipantRole | undefined;
8727
+ /**
8728
+ * <p>The display name of the participant.</p>
8729
+ * @public
8730
+ */
8731
+ DisplayName?: string | undefined;
8732
+ /**
8733
+ * <p>The content of the transcript. Can be redacted.</p>
8734
+ * @public
8735
+ */
8736
+ Content: string | undefined;
8737
+ /**
8738
+ * <p>The type of content of the item. For example, <code>text/plain</code>.</p>
8739
+ * @public
8740
+ */
8741
+ ContentType?: string | undefined;
8742
+ /**
8743
+ * <p>Field describing the time of the event. It can have different representations of time.</p>
8744
+ * @public
8745
+ */
8746
+ Time: RealTimeContactAnalysisTimeData | undefined;
8747
+ /**
8748
+ * <p>Object describing redaction that was applied to the transcript. If transcript has the field
8749
+ * it means part of the transcript was redacted.</p>
8750
+ * @public
8751
+ */
8752
+ Redaction?: RealTimeContactAnalysisTranscriptItemRedaction | undefined;
8753
+ /**
8754
+ * <p>The sentiment detected for this piece of transcript.</p>
8755
+ * @public
8756
+ */
8757
+ Sentiment?: RealTimeContactAnalysisSentimentLabel | undefined;
8758
+ }
8713
8759
  /**
8714
8760
  * @internal
8715
8761
  */