@aws-sdk/client-connect 3.703.0 → 3.709.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 (50) hide show
  1. package/README.md +18 -2
  2. package/dist-cjs/index.js +158 -60
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/CreateContactCommand.js +1 -1
  5. package/dist-es/commands/CreatePushNotificationRegistrationCommand.js +22 -0
  6. package/dist-es/commands/DeletePushNotificationRegistrationCommand.js +22 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/models_0.js +5 -0
  9. package/dist-es/models/models_1.js +0 -16
  10. package/dist-es/models/models_2.js +16 -5
  11. package/dist-es/models/models_3.js +5 -0
  12. package/dist-es/protocols/Aws_restJson1.js +55 -0
  13. package/dist-types/Connect.d.ts +16 -2
  14. package/dist-types/ConnectClient.d.ts +6 -4
  15. package/dist-types/commands/CreateContactCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  17. package/dist-types/commands/CreatePushNotificationRegistrationCommand.d.ts +101 -0
  18. package/dist-types/commands/DeletePushNotificationRegistrationCommand.d.ts +86 -0
  19. package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteViewCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -2
  23. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
  24. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +2 -3
  25. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +2 -2
  26. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +1 -1
  27. package/dist-types/commands/index.d.ts +2 -0
  28. package/dist-types/index.d.ts +2 -2
  29. package/dist-types/models/models_0.d.ts +120 -85
  30. package/dist-types/models/models_1.d.ts +102 -174
  31. package/dist-types/models/models_2.d.ts +158 -260
  32. package/dist-types/models/models_3.d.ts +262 -7
  33. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  34. package/dist-types/ts3.4/Connect.d.ts +46 -0
  35. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  36. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/CreatePushNotificationRegistrationCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/DeletePushNotificationRegistrationCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +4 -2
  44. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +28 -19
  46. package/dist-types/ts3.4/models/models_1.d.ts +19 -43
  47. package/dist-types/ts3.4/models/models_2.d.ts +46 -58
  48. package/dist-types/ts3.4/models/models_3.d.ts +55 -3
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  50. package/package.json +35 -35
@@ -1208,11 +1208,13 @@ export interface AssociateFlowRequest {
1208
1208
  * <p>The identifier of the resource.</p>
1209
1209
  * <ul>
1210
1210
  * <li>
1211
- * <p>Amazon Web Services End User Messaging SMS phone number ARN when using <code>SMS_PHONE_NUMBER</code>
1211
+ * <p>Amazon Web Services End User Messaging SMS phone number ARN when using
1212
+ * <code>SMS_PHONE_NUMBER</code>
1212
1213
  * </p>
1213
1214
  * </li>
1214
1215
  * <li>
1215
- * <p>Amazon Web Services End User Messaging Social phone number ARN when using <code>WHATSAPP_MESSAGING_PHONE_NUMBER</code>
1216
+ * <p>Amazon Web Services End User Messaging Social phone number ARN when using
1217
+ * <code>WHATSAPP_MESSAGING_PHONE_NUMBER</code>
1216
1218
  * </p>
1217
1219
  * </li>
1218
1220
  * </ul>
@@ -2029,11 +2031,13 @@ export interface BatchGetFlowAssociationRequest {
2029
2031
  * <p>A list of resource identifiers to retrieve flow associations.</p>
2030
2032
  * <ul>
2031
2033
  * <li>
2032
- * <p>Amazon Web Services End User Messaging SMS phone number ARN when using <code>SMS_PHONE_NUMBER</code>
2034
+ * <p>Amazon Web Services End User Messaging SMS phone number ARN when using
2035
+ * <code>SMS_PHONE_NUMBER</code>
2033
2036
  * </p>
2034
2037
  * </li>
2035
2038
  * <li>
2036
- * <p>Amazon Web Services End User Messaging Social phone number ARN when using <code>WHATSAPP_MESSAGING_PHONE_NUMBER</code>
2039
+ * <p>Amazon Web Services End User Messaging Social phone number ARN when using
2040
+ * <code>WHATSAPP_MESSAGING_PHONE_NUMBER</code>
2037
2041
  * </p>
2038
2042
  * </li>
2039
2043
  * </ul>
@@ -3491,8 +3495,8 @@ export interface CreateIntegrationAssociationRequest {
3491
3495
  /**
3492
3496
  * <p>The Amazon Resource Name (ARN) of the integration.</p>
3493
3497
  * <note>
3494
- * <p>When integrating with Amazon Web Services End User Messaging, the Amazon Connect and Amazon Web Services End User Messaging
3495
- * instances must be in the same account.</p>
3498
+ * <p>When integrating with Amazon Web Services End User Messaging, the Amazon Connect and
3499
+ * Amazon Web Services End User Messaging instances must be in the same account.</p>
3496
3500
  * </note>
3497
3501
  * @public
3498
3502
  */
@@ -3879,6 +3883,90 @@ export interface CreatePromptResponse {
3879
3883
  */
3880
3884
  PromptId?: string | undefined;
3881
3885
  }
3886
+ /**
3887
+ * <p>The contact configuration for push notification registration.</p>
3888
+ * @public
3889
+ */
3890
+ export interface ContactConfiguration {
3891
+ /**
3892
+ * <p>The identifier of the contact within the Amazon Connect instance.</p>
3893
+ * @public
3894
+ */
3895
+ ContactId: string | undefined;
3896
+ /**
3897
+ * <p>The role of the participant in the chat conversation.</p>
3898
+ * @public
3899
+ */
3900
+ ParticipantRole?: ParticipantRole | undefined;
3901
+ /**
3902
+ * <p>Whether to include raw connect message in the push notification payload. Default is
3903
+ * <code>False</code>.</p>
3904
+ * @public
3905
+ */
3906
+ IncludeRawMessage?: boolean | undefined;
3907
+ }
3908
+ /**
3909
+ * @public
3910
+ * @enum
3911
+ */
3912
+ export declare const DeviceType: {
3913
+ readonly APNS: "APNS";
3914
+ readonly APNS_SANDBOX: "APNS_SANDBOX";
3915
+ readonly GCM: "GCM";
3916
+ };
3917
+ /**
3918
+ * @public
3919
+ */
3920
+ export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
3921
+ /**
3922
+ * @public
3923
+ */
3924
+ export interface CreatePushNotificationRegistrationRequest {
3925
+ /**
3926
+ * <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
3927
+ * Amazon Resource Name (ARN) of the instance.</p>
3928
+ * @public
3929
+ */
3930
+ InstanceId: string | undefined;
3931
+ /**
3932
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
3933
+ * request. If not provided, the Amazon Web Services
3934
+ * SDK populates this field. For more information about idempotency, see
3935
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
3936
+ * @public
3937
+ */
3938
+ ClientToken?: string | undefined;
3939
+ /**
3940
+ * <p>The Amazon Resource Name (ARN) of the Pinpoint application.</p>
3941
+ * @public
3942
+ */
3943
+ PinpointAppArn: string | undefined;
3944
+ /**
3945
+ * <p>The push notification token issued by the Apple or Google gateways.</p>
3946
+ * @public
3947
+ */
3948
+ DeviceToken: string | undefined;
3949
+ /**
3950
+ * <p>The device type to use when sending the message.</p>
3951
+ * @public
3952
+ */
3953
+ DeviceType: DeviceType | undefined;
3954
+ /**
3955
+ * <p>The contact configuration for push notification registration.</p>
3956
+ * @public
3957
+ */
3958
+ ContactConfiguration: ContactConfiguration | undefined;
3959
+ }
3960
+ /**
3961
+ * @public
3962
+ */
3963
+ export interface CreatePushNotificationRegistrationResponse {
3964
+ /**
3965
+ * <p>The identifier for the registration.</p>
3966
+ * @public
3967
+ */
3968
+ RegistrationId: string | undefined;
3969
+ }
3882
3970
  /**
3883
3971
  * <p>The outbound caller ID name, number, and outbound whisper flow.</p>
3884
3972
  * @public
@@ -5948,6 +6036,32 @@ export interface DeletePromptRequest {
5948
6036
  */
5949
6037
  PromptId: string | undefined;
5950
6038
  }
6039
+ /**
6040
+ * @public
6041
+ */
6042
+ export interface DeletePushNotificationRegistrationRequest {
6043
+ /**
6044
+ * <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
6045
+ * Amazon Resource Name (ARN) of the instance.</p>
6046
+ * @public
6047
+ */
6048
+ InstanceId: string | undefined;
6049
+ /**
6050
+ * <p>The identifier for the registration.</p>
6051
+ * @public
6052
+ */
6053
+ RegistrationId: string | undefined;
6054
+ /**
6055
+ * <p>The identifier of the contact within the Amazon Connect instance.</p>
6056
+ * @public
6057
+ */
6058
+ ContactId: string | undefined;
6059
+ }
6060
+ /**
6061
+ * @public
6062
+ */
6063
+ export interface DeletePushNotificationRegistrationResponse {
6064
+ }
5951
6065
  /**
5952
6066
  * @public
5953
6067
  */
@@ -6094,85 +6208,6 @@ export interface DeleteUserRequest {
6094
6208
  */
6095
6209
  UserId: string | undefined;
6096
6210
  }
6097
- /**
6098
- * @public
6099
- */
6100
- export interface DeleteUserHierarchyGroupRequest {
6101
- /**
6102
- * <p>The identifier of the hierarchy group.</p>
6103
- * @public
6104
- */
6105
- HierarchyGroupId: string | undefined;
6106
- /**
6107
- * <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>
6108
- * @public
6109
- */
6110
- InstanceId: string | undefined;
6111
- }
6112
- /**
6113
- * @public
6114
- */
6115
- export interface DeleteViewRequest {
6116
- /**
6117
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
6118
- * the instance.</p>
6119
- * @public
6120
- */
6121
- InstanceId: string | undefined;
6122
- /**
6123
- * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
6124
- * used.</p>
6125
- * @public
6126
- */
6127
- ViewId: string | undefined;
6128
- }
6129
- /**
6130
- * @public
6131
- */
6132
- export interface DeleteViewResponse {
6133
- }
6134
- /**
6135
- * @public
6136
- */
6137
- export interface DeleteViewVersionRequest {
6138
- /**
6139
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
6140
- * the instance.</p>
6141
- * @public
6142
- */
6143
- InstanceId: string | undefined;
6144
- /**
6145
- * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
6146
- * used.</p>
6147
- * @public
6148
- */
6149
- ViewId: string | undefined;
6150
- /**
6151
- * <p>The version number of the view.</p>
6152
- * @public
6153
- */
6154
- ViewVersion: number | undefined;
6155
- }
6156
- /**
6157
- * @public
6158
- */
6159
- export interface DeleteViewVersionResponse {
6160
- }
6161
- /**
6162
- * @public
6163
- */
6164
- export interface DeleteVocabularyRequest {
6165
- /**
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>
6167
- * @public
6168
- */
6169
- InstanceId: string | undefined;
6170
- /**
6171
- * <p>The identifier of the custom vocabulary.</p>
6172
- * @public
6173
- */
6174
- VocabularyId: string | undefined;
6175
- }
6176
6211
  /**
6177
6212
  * @internal
6178
6213
  */
@@ -1,6 +1,85 @@
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 DeleteUserHierarchyGroupRequest {
8
+ /**
9
+ * <p>The identifier of the hierarchy group.</p>
10
+ * @public
11
+ */
12
+ HierarchyGroupId: string | undefined;
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
+ /**
20
+ * @public
21
+ */
22
+ export interface DeleteViewRequest {
23
+ /**
24
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
25
+ * the instance.</p>
26
+ * @public
27
+ */
28
+ InstanceId: string | undefined;
29
+ /**
30
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
31
+ * used.</p>
32
+ * @public
33
+ */
34
+ ViewId: string | undefined;
35
+ }
36
+ /**
37
+ * @public
38
+ */
39
+ export interface DeleteViewResponse {
40
+ }
41
+ /**
42
+ * @public
43
+ */
44
+ export interface DeleteViewVersionRequest {
45
+ /**
46
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
47
+ * the instance.</p>
48
+ * @public
49
+ */
50
+ InstanceId: string | undefined;
51
+ /**
52
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
53
+ * used.</p>
54
+ * @public
55
+ */
56
+ ViewId: string | undefined;
57
+ /**
58
+ * <p>The version number of the view.</p>
59
+ * @public
60
+ */
61
+ ViewVersion: number | undefined;
62
+ }
63
+ /**
64
+ * @public
65
+ */
66
+ export interface DeleteViewVersionResponse {
67
+ }
68
+ /**
69
+ * @public
70
+ */
71
+ export interface DeleteVocabularyRequest {
72
+ /**
73
+ * <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>
74
+ * @public
75
+ */
76
+ InstanceId: string | undefined;
77
+ /**
78
+ * <p>The identifier of the custom vocabulary.</p>
79
+ * @public
80
+ */
81
+ VocabularyId: string | undefined;
82
+ }
4
83
  /**
5
84
  * @public
6
85
  */
@@ -1704,8 +1783,9 @@ export interface ClaimedPhoneNumberSummary {
1704
1783
  PhoneNumberStatus?: PhoneNumberStatus | undefined;
1705
1784
  /**
1706
1785
  * <p>The claimed phone number ARN that was previously imported from the external service, such as
1707
- * Amazon Web Services End User Messaging. If it is from Amazon Web Services End User Messaging, it looks like the ARN of the phone number
1708
- * that was imported from Amazon Web Services End User Messaging.</p>
1786
+ * Amazon Web Services End User Messaging. If it is from Amazon Web Services End User Messaging, it
1787
+ * looks like the ARN of the phone number that was imported from Amazon Web Services End User
1788
+ * Messaging.</p>
1709
1789
  * @public
1710
1790
  */
1711
1791
  SourcePhoneNumberArn?: string | undefined;
@@ -2912,11 +2992,13 @@ export interface DisassociateFlowRequest {
2912
2992
  * <p>The identifier of the resource.</p>
2913
2993
  * <ul>
2914
2994
  * <li>
2915
- * <p>Amazon Web Services End User Messaging SMS phone number ARN when using <code>SMS_PHONE_NUMBER</code>
2995
+ * <p>Amazon Web Services End User Messaging SMS phone number ARN when using
2996
+ * <code>SMS_PHONE_NUMBER</code>
2916
2997
  * </p>
2917
2998
  * </li>
2918
2999
  * <li>
2919
- * <p>Amazon Web Services End User Messaging Social phone number ARN when using <code>WHATSAPP_MESSAGING_PHONE_NUMBER</code>
3000
+ * <p>Amazon Web Services End User Messaging Social phone number ARN when using
3001
+ * <code>WHATSAPP_MESSAGING_PHONE_NUMBER</code>
2920
3002
  * </p>
2921
3003
  * </li>
2922
3004
  * </ul>
@@ -4024,11 +4106,13 @@ export interface GetFlowAssociationRequest {
4024
4106
  * <p>The identifier of the resource.</p>
4025
4107
  * <ul>
4026
4108
  * <li>
4027
- * <p>Amazon Web Services End User Messaging SMS phone number ARN when using <code>SMS_PHONE_NUMBER</code>
4109
+ * <p>Amazon Web Services End User Messaging SMS phone number ARN when using
4110
+ * <code>SMS_PHONE_NUMBER</code>
4028
4111
  * </p>
4029
4112
  * </li>
4030
4113
  * <li>
4031
- * <p>Amazon Web Services End User Messaging Social phone number ARN when using <code>WHATSAPP_MESSAGING_PHONE_NUMBER</code>
4114
+ * <p>Amazon Web Services End User Messaging Social phone number ARN when using
4115
+ * <code>WHATSAPP_MESSAGING_PHONE_NUMBER</code>
4032
4116
  * </p>
4033
4117
  * </li>
4034
4118
  * </ul>
@@ -4558,18 +4642,14 @@ export interface MetricFilterV2 {
4558
4642
  * <p>For valid values of the metric-level filter <code>FLOWS_OUTCOME_TYPE</code>, see the
4559
4643
  * description for the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#flows-outcome-historical">Flow outcome</a> metric in the <i>Amazon Connect Administrator
4560
4644
  * Guide</i>.</p>
4561
- * <p>For valid values of the metric-level filter <code>BOT_CONVERSATION_OUTCOME_TYPE</code>, see the
4562
- * description for the
4563
- * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-conversations-completed-metric">Bot conversations completed</a>
4564
- *
4565
- * in the <i>Amazon Connect Administrator
4566
- * Guide</i>.</p>
4567
- * <p>For valid values of the metric-level filter <code>BOT_INTENT_OUTCOME_TYPE</code>, see the description for
4568
- * the
4569
- * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-intents-completed-metric">Bot intents completed</a>
4570
- *
4571
- * metric in the <i>Amazon Connect Administrator
4645
+ * <p>For valid values of the metric-level filter <code>BOT_CONVERSATION_OUTCOME_TYPE</code>, see
4646
+ * the description for the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-conversations-completed-metric">Bot
4647
+ * conversations completed</a> in the <i>Amazon Connect Administrator
4572
4648
  * Guide</i>.</p>
4649
+ * <p>For valid values of the metric-level filter <code>BOT_INTENT_OUTCOME_TYPE</code>, see the
4650
+ * description for the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/bot-metrics.html#bot-intents-completed-metric">Bot intents
4651
+ * completed</a> metric in the <i>Amazon Connect Administrator
4652
+ * Guide</i>.</p>
4573
4653
  * @public
4574
4654
  */
4575
4655
  MetricFilterValues?: string[] | undefined;
@@ -6102,8 +6182,8 @@ export interface ImportPhoneNumberRequest {
6102
6182
  */
6103
6183
  InstanceId: string | undefined;
6104
6184
  /**
6105
- * <p>The claimed phone number ARN being imported from the external service, such as Amazon Web Services End User Messaging. If it is from Amazon Web Services End User Messaging, it looks like the ARN of the phone number to
6106
- * import from Amazon Web Services End User Messaging.</p>
6185
+ * <p>The claimed phone number ARN being imported from the external service, such as Amazon Web Services End User Messaging. If it is from Amazon Web Services End User Messaging, it looks
6186
+ * like the ARN of the phone number to import from Amazon Web Services End User Messaging.</p>
6107
6187
  * @public
6108
6188
  */
6109
6189
  SourcePhoneNumberArn: string | undefined;
@@ -7999,8 +8079,9 @@ export interface ListPhoneNumbersSummary {
7999
8079
  PhoneNumberDescription?: string | undefined;
8000
8080
  /**
8001
8081
  * <p>The claimed phone number ARN that was previously imported from the external service, such as
8002
- * Amazon Web Services End User Messaging. If it is from Amazon Web Services End User Messaging, it looks like the ARN of the phone number
8003
- * that was imported from Amazon Web Services End User Messaging.</p>
8082
+ * Amazon Web Services End User Messaging. If it is from Amazon Web Services End User Messaging, it
8083
+ * looks like the ARN of the phone number that was imported from Amazon Web Services End User
8084
+ * Messaging.</p>
8004
8085
  * @public
8005
8086
  */
8006
8087
  SourcePhoneNumberArn?: string | undefined;
@@ -8706,159 +8787,6 @@ export interface RealTimeContactAnalysisSegmentIssues {
8706
8787
  */
8707
8788
  IssuesDetected: RealTimeContactAnalysisIssueDetected[] | undefined;
8708
8789
  }
8709
- /**
8710
- * @public
8711
- * @enum
8712
- */
8713
- export declare const RealTimeContactAnalysisPostContactSummaryFailureCode: {
8714
- readonly FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES";
8715
- readonly INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT";
8716
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
8717
- readonly INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION";
8718
- readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
8719
- };
8720
- /**
8721
- * @public
8722
- */
8723
- export type RealTimeContactAnalysisPostContactSummaryFailureCode = (typeof RealTimeContactAnalysisPostContactSummaryFailureCode)[keyof typeof RealTimeContactAnalysisPostContactSummaryFailureCode];
8724
- /**
8725
- * @public
8726
- * @enum
8727
- */
8728
- export declare const RealTimeContactAnalysisPostContactSummaryStatus: {
8729
- readonly COMPLETED: "COMPLETED";
8730
- readonly FAILED: "FAILED";
8731
- };
8732
- /**
8733
- * @public
8734
- */
8735
- export type RealTimeContactAnalysisPostContactSummaryStatus = (typeof RealTimeContactAnalysisPostContactSummaryStatus)[keyof typeof RealTimeContactAnalysisPostContactSummaryStatus];
8736
- /**
8737
- * <p>Information about the post-contact summary for a real-time contact segment.</p>
8738
- * @public
8739
- */
8740
- export interface RealTimeContactAnalysisSegmentPostContactSummary {
8741
- /**
8742
- * <p>The content of the summary.</p>
8743
- * @public
8744
- */
8745
- Content?: string | undefined;
8746
- /**
8747
- * <p>Whether the summary was successfully COMPLETED or FAILED to be generated.</p>
8748
- * @public
8749
- */
8750
- Status: RealTimeContactAnalysisPostContactSummaryStatus | undefined;
8751
- /**
8752
- * <p>If the summary failed to be generated, one of the following failure codes occurs:</p>
8753
- * <ul>
8754
- * <li>
8755
- * <p>
8756
- * <code>QUOTA_EXCEEDED</code>: The number of concurrent analytics jobs reached your service
8757
- * quota.</p>
8758
- * </li>
8759
- * <li>
8760
- * <p>
8761
- * <code>INSUFFICIENT_CONVERSATION_CONTENT</code>: The conversation needs to have at least
8762
- * one turn from both the participants in order to generate the summary.</p>
8763
- * </li>
8764
- * <li>
8765
- * <p>
8766
- * <code>FAILED_SAFETY_GUIDELINES</code>: The generated summary cannot be provided because it
8767
- * failed to meet system safety guidelines.</p>
8768
- * </li>
8769
- * <li>
8770
- * <p>
8771
- * <code>INVALID_ANALYSIS_CONFIGURATION</code>: This code occurs when, for example, you're
8772
- * using a <a href="https://docs.aws.amazon.com/connect/latest/adminguide/supported-languages.html#supported-languages-contact-lens">language</a> that isn't supported by generative AI-powered post-contact summaries.
8773
- * </p>
8774
- * </li>
8775
- * <li>
8776
- * <p>
8777
- * <code>INTERNAL_ERROR</code>: Internal system error.</p>
8778
- * </li>
8779
- * </ul>
8780
- * @public
8781
- */
8782
- FailureCode?: RealTimeContactAnalysisPostContactSummaryFailureCode | undefined;
8783
- }
8784
- /**
8785
- * <p>Object describing redaction applied to the segment.</p>
8786
- * @public
8787
- */
8788
- export interface RealTimeContactAnalysisTranscriptItemRedaction {
8789
- /**
8790
- * <p>List of character intervals each describing a part of the text that was redacted. For
8791
- * <code>OutputType.Raw</code>, part of the original text that contains data that can be redacted.
8792
- * For <code> OutputType.Redacted</code>, part of the string with redaction tag.</p>
8793
- * @public
8794
- */
8795
- CharacterOffsets?: RealTimeContactAnalysisCharacterInterval[] | undefined;
8796
- }
8797
- /**
8798
- * @public
8799
- * @enum
8800
- */
8801
- export declare const RealTimeContactAnalysisSentimentLabel: {
8802
- readonly NEGATIVE: "NEGATIVE";
8803
- readonly NEUTRAL: "NEUTRAL";
8804
- readonly POSITIVE: "POSITIVE";
8805
- };
8806
- /**
8807
- * @public
8808
- */
8809
- export type RealTimeContactAnalysisSentimentLabel = (typeof RealTimeContactAnalysisSentimentLabel)[keyof typeof RealTimeContactAnalysisSentimentLabel];
8810
- /**
8811
- * <p>The analyzed transcript segment.</p>
8812
- * @public
8813
- */
8814
- export interface RealTimeContactAnalysisSegmentTranscript {
8815
- /**
8816
- * <p>The identifier of the transcript.</p>
8817
- * @public
8818
- */
8819
- Id: string | undefined;
8820
- /**
8821
- * <p>The identifier of the participant.</p>
8822
- * @public
8823
- */
8824
- ParticipantId: string | undefined;
8825
- /**
8826
- * <p>The role of the participant. For example, is it a customer, agent, or system.</p>
8827
- * @public
8828
- */
8829
- ParticipantRole: ParticipantRole | undefined;
8830
- /**
8831
- * <p>The display name of the participant.</p>
8832
- * @public
8833
- */
8834
- DisplayName?: string | undefined;
8835
- /**
8836
- * <p>The content of the transcript. Can be redacted.</p>
8837
- * @public
8838
- */
8839
- Content: string | undefined;
8840
- /**
8841
- * <p>The type of content of the item. For example, <code>text/plain</code>.</p>
8842
- * @public
8843
- */
8844
- ContentType?: string | undefined;
8845
- /**
8846
- * <p>Field describing the time of the event. It can have different representations of time.</p>
8847
- * @public
8848
- */
8849
- Time: RealTimeContactAnalysisTimeData | undefined;
8850
- /**
8851
- * <p>Object describing redaction that was applied to the transcript. If transcript has the field
8852
- * it means part of the transcript was redacted.</p>
8853
- * @public
8854
- */
8855
- Redaction?: RealTimeContactAnalysisTranscriptItemRedaction | undefined;
8856
- /**
8857
- * <p>The sentiment detected for this piece of transcript.</p>
8858
- * @public
8859
- */
8860
- Sentiment?: RealTimeContactAnalysisSentimentLabel | undefined;
8861
- }
8862
8790
  /**
8863
8791
  * @internal
8864
8792
  */