@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.
- package/README.md +18 -2
- package/dist-cjs/index.js +158 -60
- package/dist-es/Connect.js +4 -0
- package/dist-es/commands/CreateContactCommand.js +1 -1
- package/dist-es/commands/CreatePushNotificationRegistrationCommand.js +22 -0
- package/dist-es/commands/DeletePushNotificationRegistrationCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/models/models_1.js +0 -16
- package/dist-es/models/models_2.js +16 -5
- package/dist-es/models/models_3.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +55 -0
- package/dist-types/Connect.d.ts +16 -2
- package/dist-types/ConnectClient.d.ts +6 -4
- package/dist-types/commands/CreateContactCommand.d.ts +1 -1
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/CreatePushNotificationRegistrationCommand.d.ts +101 -0
- package/dist-types/commands/DeletePushNotificationRegistrationCommand.d.ts +86 -0
- package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteViewCommand.d.ts +1 -1
- package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -2
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
- package/dist-types/commands/ImportPhoneNumberCommand.d.ts +2 -3
- package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +2 -2
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +120 -85
- package/dist-types/models/models_1.d.ts +102 -174
- package/dist-types/models/models_2.d.ts +158 -260
- package/dist-types/models/models_3.d.ts +262 -7
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Connect.d.ts +46 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePushNotificationRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePushNotificationRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -19
- package/dist-types/ts3.4/models/models_1.d.ts +19 -43
- package/dist-types/ts3.4/models/models_2.d.ts +46 -58
- package/dist-types/ts3.4/models/models_3.d.ts +55 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +35 -35
|
@@ -1,7 +1,161 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
|
-
import { ActionSummary, AgentAvailabilityTimer, AgentConfig, AgentHierarchyGroups, AgentStatus, AgentStatusState, AllowedCapabilities, Application, Channel,
|
|
4
|
-
import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, EvaluationAnswerData, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RealTimeContactAnalysisSegmentAttachments, RealTimeContactAnalysisSegmentCategories, RealTimeContactAnalysisSegmentEvent, RealTimeContactAnalysisSegmentIssues,
|
|
3
|
+
import { ActionSummary, AgentAvailabilityTimer, AgentConfig, AgentHierarchyGroups, AgentStatus, AgentStatusState, AllowedCapabilities, Application, Channel, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, EvaluationFormQuestion, EventSourceName, FileStatusType, FileUseCaseType, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, OutboundEmailConfig, ParticipantRole, PredefinedAttributeValues, QuickConnectConfig, Reference, RehydrationType, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, StringComparisonType, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
4
|
+
import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, EvaluationAnswerData, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RealTimeContactAnalysisCharacterInterval, RealTimeContactAnalysisSegmentAttachments, RealTimeContactAnalysisSegmentCategories, RealTimeContactAnalysisSegmentEvent, RealTimeContactAnalysisSegmentIssues, RealTimeContactAnalysisSupportedChannel, RealTimeContactAnalysisTimeData, RoutingProfile, SignInConfig, SortOrder, TelephonyConfig, TrafficDistributionGroupStatus } from "./models_1";
|
|
5
|
+
import { EvaluationFormSection } from "./models_3";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
* @enum
|
|
9
|
+
*/
|
|
10
|
+
export declare const RealTimeContactAnalysisPostContactSummaryFailureCode: {
|
|
11
|
+
readonly FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES";
|
|
12
|
+
readonly INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT";
|
|
13
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
14
|
+
readonly INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION";
|
|
15
|
+
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export type RealTimeContactAnalysisPostContactSummaryFailureCode = (typeof RealTimeContactAnalysisPostContactSummaryFailureCode)[keyof typeof RealTimeContactAnalysisPostContactSummaryFailureCode];
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
* @enum
|
|
24
|
+
*/
|
|
25
|
+
export declare const RealTimeContactAnalysisPostContactSummaryStatus: {
|
|
26
|
+
readonly COMPLETED: "COMPLETED";
|
|
27
|
+
readonly FAILED: "FAILED";
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export type RealTimeContactAnalysisPostContactSummaryStatus = (typeof RealTimeContactAnalysisPostContactSummaryStatus)[keyof typeof RealTimeContactAnalysisPostContactSummaryStatus];
|
|
33
|
+
/**
|
|
34
|
+
* <p>Information about the post-contact summary for a real-time contact segment.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export interface RealTimeContactAnalysisSegmentPostContactSummary {
|
|
38
|
+
/**
|
|
39
|
+
* <p>The content of the summary.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
Content?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>Whether the summary was successfully COMPLETED or FAILED to be generated.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
Status: RealTimeContactAnalysisPostContactSummaryStatus | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>If the summary failed to be generated, one of the following failure codes occurs:</p>
|
|
50
|
+
* <ul>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <code>QUOTA_EXCEEDED</code>: The number of concurrent analytics jobs reached your service
|
|
54
|
+
* quota.</p>
|
|
55
|
+
* </li>
|
|
56
|
+
* <li>
|
|
57
|
+
* <p>
|
|
58
|
+
* <code>INSUFFICIENT_CONVERSATION_CONTENT</code>: The conversation needs to have at least
|
|
59
|
+
* one turn from both the participants in order to generate the summary.</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>
|
|
63
|
+
* <code>FAILED_SAFETY_GUIDELINES</code>: The generated summary cannot be provided because it
|
|
64
|
+
* failed to meet system safety guidelines.</p>
|
|
65
|
+
* </li>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>
|
|
68
|
+
* <code>INVALID_ANALYSIS_CONFIGURATION</code>: This code occurs when, for example, you're
|
|
69
|
+
* 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.
|
|
70
|
+
* </p>
|
|
71
|
+
* </li>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>
|
|
74
|
+
* <code>INTERNAL_ERROR</code>: Internal system error.</p>
|
|
75
|
+
* </li>
|
|
76
|
+
* </ul>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
FailureCode?: RealTimeContactAnalysisPostContactSummaryFailureCode | undefined;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* <p>Object describing redaction applied to the segment.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export interface RealTimeContactAnalysisTranscriptItemRedaction {
|
|
86
|
+
/**
|
|
87
|
+
* <p>List of character intervals each describing a part of the text that was redacted. For
|
|
88
|
+
* <code>OutputType.Raw</code>, part of the original text that contains data that can be redacted.
|
|
89
|
+
* For <code> OutputType.Redacted</code>, part of the string with redaction tag.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
CharacterOffsets?: RealTimeContactAnalysisCharacterInterval[] | undefined;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* @enum
|
|
97
|
+
*/
|
|
98
|
+
export declare const RealTimeContactAnalysisSentimentLabel: {
|
|
99
|
+
readonly NEGATIVE: "NEGATIVE";
|
|
100
|
+
readonly NEUTRAL: "NEUTRAL";
|
|
101
|
+
readonly POSITIVE: "POSITIVE";
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export type RealTimeContactAnalysisSentimentLabel = (typeof RealTimeContactAnalysisSentimentLabel)[keyof typeof RealTimeContactAnalysisSentimentLabel];
|
|
107
|
+
/**
|
|
108
|
+
* <p>The analyzed transcript segment.</p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export interface RealTimeContactAnalysisSegmentTranscript {
|
|
112
|
+
/**
|
|
113
|
+
* <p>The identifier of the transcript.</p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
Id: string | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* <p>The identifier of the participant.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
ParticipantId: string | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* <p>The role of the participant. For example, is it a customer, agent, or system.</p>
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
ParticipantRole: ParticipantRole | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* <p>The display name of the participant.</p>
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
DisplayName?: string | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* <p>The content of the transcript. Can be redacted.</p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
Content: string | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* <p>The type of content of the item. For example, <code>text/plain</code>.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
ContentType?: string | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* <p>Field describing the time of the event. It can have different representations of time.</p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
Time: RealTimeContactAnalysisTimeData | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* <p>Object describing redaction that was applied to the transcript. If transcript has the field
|
|
149
|
+
* it means part of the transcript was redacted.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
Redaction?: RealTimeContactAnalysisTranscriptItemRedaction | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* <p>The sentiment detected for this piece of transcript.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
Sentiment?: RealTimeContactAnalysisSentimentLabel | undefined;
|
|
158
|
+
}
|
|
5
159
|
/**
|
|
6
160
|
* <p>An analyzed segment for a real-time analysis session.</p>
|
|
7
161
|
* @public
|
|
@@ -3325,9 +3479,8 @@ export interface SendChatIntegrationEventRequest {
|
|
|
3325
3479
|
SourceId: string | undefined;
|
|
3326
3480
|
/**
|
|
3327
3481
|
* <p>Chat system identifier, used in part to uniquely identify chat. This is associated with the
|
|
3328
|
-
* Amazon Connect instance and flow to be used to start chats. For Server Migration Service, this is
|
|
3329
|
-
* number destination of inbound Server Migration Service messages represented by an Amazon Web Services End User Messaging phone number
|
|
3330
|
-
* ARN.</p>
|
|
3482
|
+
* Amazon Connect instance and flow to be used to start chats. For Server Migration Service, this is
|
|
3483
|
+
* the phone number destination of inbound Server Migration Service messages represented by an Amazon Web Services End User Messaging phone number ARN.</p>
|
|
3331
3484
|
* @public
|
|
3332
3485
|
*/
|
|
3333
3486
|
DestinationId: string | undefined;
|
|
@@ -6604,257 +6757,6 @@ export declare namespace EvaluationFormItem {
|
|
|
6604
6757
|
}
|
|
6605
6758
|
const visit: <T>(value: EvaluationFormItem, visitor: Visitor<T>) => T;
|
|
6606
6759
|
}
|
|
6607
|
-
/**
|
|
6608
|
-
* <p>Information about a section from an evaluation form. A section can contain sections and/or
|
|
6609
|
-
* questions. Evaluation forms can only contain sections and subsections (two level nesting).</p>
|
|
6610
|
-
* @public
|
|
6611
|
-
*/
|
|
6612
|
-
export interface EvaluationFormSection {
|
|
6613
|
-
/**
|
|
6614
|
-
* <p>The title of the section.</p>
|
|
6615
|
-
* @public
|
|
6616
|
-
*/
|
|
6617
|
-
Title: string | undefined;
|
|
6618
|
-
/**
|
|
6619
|
-
* <p>The identifier of the section. An identifier must be unique within the evaluation
|
|
6620
|
-
* form.</p>
|
|
6621
|
-
* @public
|
|
6622
|
-
*/
|
|
6623
|
-
RefId: string | undefined;
|
|
6624
|
-
/**
|
|
6625
|
-
* <p>The instructions of the section.</p>
|
|
6626
|
-
* @public
|
|
6627
|
-
*/
|
|
6628
|
-
Instructions?: string | undefined;
|
|
6629
|
-
/**
|
|
6630
|
-
* <p>The items of the section.</p>
|
|
6631
|
-
* @public
|
|
6632
|
-
*/
|
|
6633
|
-
Items: EvaluationFormItem[] | undefined;
|
|
6634
|
-
/**
|
|
6635
|
-
* <p>The scoring weight of the section.</p>
|
|
6636
|
-
* @public
|
|
6637
|
-
*/
|
|
6638
|
-
Weight?: number | undefined;
|
|
6639
|
-
}
|
|
6640
|
-
/**
|
|
6641
|
-
* <p>The search criteria to be used to return agent statuses.</p>
|
|
6642
|
-
* @public
|
|
6643
|
-
*/
|
|
6644
|
-
export interface AgentStatusSearchCriteria {
|
|
6645
|
-
/**
|
|
6646
|
-
* <p>A list of conditions which would be applied together with an <code>OR</code>
|
|
6647
|
-
* condition.</p>
|
|
6648
|
-
* @public
|
|
6649
|
-
*/
|
|
6650
|
-
OrConditions?: AgentStatusSearchCriteria[] | undefined;
|
|
6651
|
-
/**
|
|
6652
|
-
* <p>A leaf node condition which can be used to specify a string condition.</p>
|
|
6653
|
-
* <note>
|
|
6654
|
-
* <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
|
|
6655
|
-
* <code>description</code>, <code>state</code>, <code>type</code>, <code>displayOrder</code>,
|
|
6656
|
-
* and <code>resourceID</code>.</p>
|
|
6657
|
-
* </note>
|
|
6658
|
-
* @public
|
|
6659
|
-
*/
|
|
6660
|
-
AndConditions?: AgentStatusSearchCriteria[] | undefined;
|
|
6661
|
-
/**
|
|
6662
|
-
* <p>A leaf node condition which can be used to specify a string condition.</p>
|
|
6663
|
-
* <note>
|
|
6664
|
-
* <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
|
|
6665
|
-
* <code>description</code>, <code>state</code>, <code>type</code>, <code>displayOrder</code>,
|
|
6666
|
-
* and <code>resourceID</code>.</p>
|
|
6667
|
-
* </note>
|
|
6668
|
-
* @public
|
|
6669
|
-
*/
|
|
6670
|
-
StringCondition?: StringCondition | undefined;
|
|
6671
|
-
}
|
|
6672
|
-
/**
|
|
6673
|
-
* <p>The search criteria to be used to return flow modules.</p>
|
|
6674
|
-
* @public
|
|
6675
|
-
*/
|
|
6676
|
-
export interface ContactFlowModuleSearchCriteria {
|
|
6677
|
-
/**
|
|
6678
|
-
* <p>A list of conditions which would be applied together with an <code>OR</code>
|
|
6679
|
-
* condition.</p>
|
|
6680
|
-
* @public
|
|
6681
|
-
*/
|
|
6682
|
-
OrConditions?: ContactFlowModuleSearchCriteria[] | undefined;
|
|
6683
|
-
/**
|
|
6684
|
-
* <p>A list of conditions which would be applied together with an <code>AND</code>
|
|
6685
|
-
* condition.</p>
|
|
6686
|
-
* @public
|
|
6687
|
-
*/
|
|
6688
|
-
AndConditions?: ContactFlowModuleSearchCriteria[] | undefined;
|
|
6689
|
-
/**
|
|
6690
|
-
* <p>A leaf node condition which can be used to specify a string condition.</p>
|
|
6691
|
-
* @public
|
|
6692
|
-
*/
|
|
6693
|
-
StringCondition?: StringCondition | undefined;
|
|
6694
|
-
}
|
|
6695
|
-
/**
|
|
6696
|
-
* <p>The search criteria to be used to return flows.</p>
|
|
6697
|
-
* @public
|
|
6698
|
-
*/
|
|
6699
|
-
export interface ContactFlowSearchCriteria {
|
|
6700
|
-
/**
|
|
6701
|
-
* <p>A list of conditions which would be applied together with an <code>OR</code>
|
|
6702
|
-
* condition.</p>
|
|
6703
|
-
* @public
|
|
6704
|
-
*/
|
|
6705
|
-
OrConditions?: ContactFlowSearchCriteria[] | undefined;
|
|
6706
|
-
/**
|
|
6707
|
-
* <p>A list of conditions which would be applied together with an <code>AND</code>
|
|
6708
|
-
* condition.</p>
|
|
6709
|
-
* @public
|
|
6710
|
-
*/
|
|
6711
|
-
AndConditions?: ContactFlowSearchCriteria[] | undefined;
|
|
6712
|
-
/**
|
|
6713
|
-
* <p>A leaf node condition which can be used to specify a string condition.</p>
|
|
6714
|
-
* @public
|
|
6715
|
-
*/
|
|
6716
|
-
StringCondition?: StringCondition | undefined;
|
|
6717
|
-
/**
|
|
6718
|
-
* <p>The type of flow.</p>
|
|
6719
|
-
* @public
|
|
6720
|
-
*/
|
|
6721
|
-
TypeCondition?: ContactFlowType | undefined;
|
|
6722
|
-
/**
|
|
6723
|
-
* <p>The state of the flow.</p>
|
|
6724
|
-
* @public
|
|
6725
|
-
*/
|
|
6726
|
-
StateCondition?: ContactFlowState | undefined;
|
|
6727
|
-
/**
|
|
6728
|
-
* <p>The status of the flow.</p>
|
|
6729
|
-
* @public
|
|
6730
|
-
*/
|
|
6731
|
-
StatusCondition?: ContactFlowStatus | undefined;
|
|
6732
|
-
}
|
|
6733
|
-
/**
|
|
6734
|
-
* @public
|
|
6735
|
-
*/
|
|
6736
|
-
export interface CreateContactRequest {
|
|
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>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
6744
|
-
* request. If not provided, the Amazon Web Services
|
|
6745
|
-
* SDK populates this field. For more information about idempotency, see
|
|
6746
|
-
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
6747
|
-
* @public
|
|
6748
|
-
*/
|
|
6749
|
-
ClientToken?: string | undefined;
|
|
6750
|
-
/**
|
|
6751
|
-
* <p>The identifier of the contact in this instance of Amazon Connect. </p>
|
|
6752
|
-
* @public
|
|
6753
|
-
*/
|
|
6754
|
-
RelatedContactId?: string | undefined;
|
|
6755
|
-
/**
|
|
6756
|
-
* <p>A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.</p>
|
|
6757
|
-
* <p>There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys
|
|
6758
|
-
* can include only alphanumeric, dash, and underscore characters.</p>
|
|
6759
|
-
* @public
|
|
6760
|
-
*/
|
|
6761
|
-
Attributes?: Record<string, string> | undefined;
|
|
6762
|
-
/**
|
|
6763
|
-
* <p>A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have
|
|
6764
|
-
* the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL |
|
|
6765
|
-
* ATTACHMENT.</p>
|
|
6766
|
-
* @public
|
|
6767
|
-
*/
|
|
6768
|
-
References?: Record<string, Reference> | undefined;
|
|
6769
|
-
/**
|
|
6770
|
-
* <p>The channel for the contact</p>
|
|
6771
|
-
* @public
|
|
6772
|
-
*/
|
|
6773
|
-
Channel: Channel | undefined;
|
|
6774
|
-
/**
|
|
6775
|
-
* <p>Indicates how the contact was initiated.</p>
|
|
6776
|
-
* @public
|
|
6777
|
-
*/
|
|
6778
|
-
InitiationMethod: ContactInitiationMethod | undefined;
|
|
6779
|
-
/**
|
|
6780
|
-
* <p>Number of minutes the contact will be active for before expiring</p>
|
|
6781
|
-
* @public
|
|
6782
|
-
*/
|
|
6783
|
-
ExpiryDurationInMinutes?: number | undefined;
|
|
6784
|
-
/**
|
|
6785
|
-
* <p>User details for the contact</p>
|
|
6786
|
-
* @public
|
|
6787
|
-
*/
|
|
6788
|
-
UserInfo?: UserInfo | undefined;
|
|
6789
|
-
/**
|
|
6790
|
-
* <p>Initial state of the contact when it's created</p>
|
|
6791
|
-
* @public
|
|
6792
|
-
*/
|
|
6793
|
-
InitiateAs?: InitiateAs | undefined;
|
|
6794
|
-
/**
|
|
6795
|
-
* <p>The name of a the contact.</p>
|
|
6796
|
-
* @public
|
|
6797
|
-
*/
|
|
6798
|
-
Name?: string | undefined;
|
|
6799
|
-
/**
|
|
6800
|
-
* <p>A description of the contact.</p>
|
|
6801
|
-
* @public
|
|
6802
|
-
*/
|
|
6803
|
-
Description?: string | undefined;
|
|
6804
|
-
/**
|
|
6805
|
-
* <p>A set of system defined key-value pairs stored on individual contact segments (unique
|
|
6806
|
-
* contact ID) using an attribute map. The attributes are standard Amazon Connect attributes.
|
|
6807
|
-
* They can be accessed in flows.</p>
|
|
6808
|
-
* <p>Attribute keys can include only alphanumeric, -, and _.</p>
|
|
6809
|
-
* <p>This field can be used to set Segment Contact Expiry as a duration in minutes.</p>
|
|
6810
|
-
* <note>
|
|
6811
|
-
* <p>To set contact expiry, a ValueMap must be specified containing the integer number of
|
|
6812
|
-
* minutes the contact will be active for before expiring, with <code>SegmentAttributes</code> like
|
|
6813
|
-
* \{ <code> "connect:ContactExpiry": \{"ValueMap" : \{ "ExpiryDuration": \{ "ValueInteger":
|
|
6814
|
-
* 135\}\}\}\}</code>. </p>
|
|
6815
|
-
* </note>
|
|
6816
|
-
* @public
|
|
6817
|
-
*/
|
|
6818
|
-
SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
|
|
6819
|
-
}
|
|
6820
|
-
/**
|
|
6821
|
-
* @public
|
|
6822
|
-
*/
|
|
6823
|
-
export interface CreateEvaluationFormRequest {
|
|
6824
|
-
/**
|
|
6825
|
-
* <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>
|
|
6826
|
-
* @public
|
|
6827
|
-
*/
|
|
6828
|
-
InstanceId: string | undefined;
|
|
6829
|
-
/**
|
|
6830
|
-
* <p>A title of the evaluation form.</p>
|
|
6831
|
-
* @public
|
|
6832
|
-
*/
|
|
6833
|
-
Title: string | undefined;
|
|
6834
|
-
/**
|
|
6835
|
-
* <p>The description of the evaluation form.</p>
|
|
6836
|
-
* @public
|
|
6837
|
-
*/
|
|
6838
|
-
Description?: string | undefined;
|
|
6839
|
-
/**
|
|
6840
|
-
* <p>Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.</p>
|
|
6841
|
-
* @public
|
|
6842
|
-
*/
|
|
6843
|
-
Items: EvaluationFormItem[] | undefined;
|
|
6844
|
-
/**
|
|
6845
|
-
* <p>A scoring strategy of the evaluation form.</p>
|
|
6846
|
-
* @public
|
|
6847
|
-
*/
|
|
6848
|
-
ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
|
|
6849
|
-
/**
|
|
6850
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
6851
|
-
* request. If not provided, the Amazon Web Services
|
|
6852
|
-
* SDK populates this field. For more information about idempotency, see
|
|
6853
|
-
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
6854
|
-
* @public
|
|
6855
|
-
*/
|
|
6856
|
-
ClientToken?: string | undefined;
|
|
6857
|
-
}
|
|
6858
6760
|
/**
|
|
6859
6761
|
* @internal
|
|
6860
6762
|
*/
|
|
@@ -7007,7 +6909,3 @@ export declare const UpdateViewContentResponseFilterSensitiveLog: (obj: UpdateVi
|
|
|
7007
6909
|
* @internal
|
|
7008
6910
|
*/
|
|
7009
6911
|
export declare const UpdateViewMetadataRequestFilterSensitiveLog: (obj: UpdateViewMetadataRequest) => any;
|
|
7010
|
-
/**
|
|
7011
|
-
* @internal
|
|
7012
|
-
*/
|
|
7013
|
-
export declare const CreateContactRequestFilterSensitiveLog: (obj: CreateContactRequest) => any;
|