@aws-sdk/client-connect 3.474.0 → 3.475.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 +16 -0
- package/dist-cjs/Connect.js +4 -0
- package/dist-cjs/commands/PauseContactCommand.js +51 -0
- package/dist-cjs/commands/ResumeContactCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +7 -5
- package/dist-cjs/models/models_1.js +19 -6
- package/dist-cjs/models/models_2.js +6 -1
- package/dist-cjs/protocols/Aws_restJson1.js +281 -10
- package/dist-es/Connect.js +4 -0
- package/dist-es/commands/PauseContactCommand.js +47 -0
- package/dist-es/commands/ResumeContactCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +6 -4
- package/dist-es/models/models_1.js +17 -5
- package/dist-es/models/models_2.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +271 -4
- package/dist-types/Connect.d.ts +14 -0
- package/dist-types/ConnectClient.d.ts +4 -2
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateRuleCommand.d.ts +30 -2
- package/dist-types/commands/DescribeContactCommand.d.ts +5 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +2 -1
- package/dist-types/commands/DescribeQueueCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleCommand.d.ts +30 -2
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +3 -3
- package/dist-types/commands/PauseContactCommand.d.ts +97 -0
- package/dist-types/commands/ResumeContactCommand.d.ts +94 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +9 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +29 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +132 -149
- package/dist-types/models/models_1.d.ts +225 -307
- package/dist-types/models/models_2.d.ts +336 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Connect.d.ts +34 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -37
- package/dist-types/ts3.4/models/models_1.d.ts +56 -65
- package/dist-types/ts3.4/models/models_2.d.ts +72 -5
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -1,6 +1,155 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
|
-
import { ActionSummary, AgentAvailabilityTimer, AgentConfig, AgentContactReference, AgentStatusReference, AgentStatusSummary, AgentStatusType, AnalyticsDataAssociationResult, Application, Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, ContactState, DirectoryType, Distribution, EvaluationFormVersionStatus, EvaluationScore, EvaluationStatus, EventSourceName, FlowAssociationResourceType, FlowAssociationSummary, HoursOfOperation, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, ListFlowAssociationResourceType, MediaConcurrency, MonitorCapability, ParticipantRole, PhoneNumberCountryCode, PhoneNumberType,
|
|
3
|
+
import { ActionSummary, AgentAvailabilityTimer, AgentConfig, AgentContactReference, AgentStatusReference, AgentStatusSummary, AgentStatusType, AnalyticsDataAssociationResult, Application, Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, ContactState, DirectoryType, Distribution, EvaluationFormVersionStatus, EvaluationScore, EvaluationStatus, EventSourceName, FlowAssociationResourceType, FlowAssociationSummary, HoursOfOperation, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, ListFlowAssociationResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, ParticipantRole, PhoneNumberCountryCode, PhoneNumberType, QueueReference, QuickConnectConfig, QuickConnectType, ReferenceType, RoutingProfileQueueReference, RuleAction, RulePublishStatus, RuleTriggerEventSource, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, View, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* <p>Information about a prompt.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface Prompt {
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
* <p>The Amazon Resource Name (ARN) of the prompt.</p>
|
|
12
|
+
*/
|
|
13
|
+
PromptARN?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* <p>A unique identifier for the prompt.</p>
|
|
17
|
+
*/
|
|
18
|
+
PromptId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
* <p>The name of the prompt.</p>
|
|
22
|
+
*/
|
|
23
|
+
Name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>The description of the prompt.</p>
|
|
27
|
+
*/
|
|
28
|
+
Description?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
* <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
32
|
+
*/
|
|
33
|
+
Tags?: Record<string, string>;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
* <p>The timestamp when this resource was last modified.</p>
|
|
37
|
+
*/
|
|
38
|
+
LastModifiedTime?: Date;
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* <p>The Amazon Web Services Region where this resource was last modified.</p>
|
|
42
|
+
*/
|
|
43
|
+
LastModifiedRegion?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export interface DescribePromptResponse {
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
* <p>Information about the prompt.</p>
|
|
52
|
+
*/
|
|
53
|
+
Prompt?: Prompt;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export interface DescribeQueueRequest {
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
* <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>
|
|
62
|
+
*/
|
|
63
|
+
InstanceId: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* <p>The identifier for the queue.</p>
|
|
67
|
+
*/
|
|
68
|
+
QueueId: string | undefined;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
* @enum
|
|
73
|
+
*/
|
|
74
|
+
export declare const QueueStatus: {
|
|
75
|
+
readonly DISABLED: "DISABLED";
|
|
76
|
+
readonly ENABLED: "ENABLED";
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export type QueueStatus = (typeof QueueStatus)[keyof typeof QueueStatus];
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
* <p>Contains information about a queue.</p>
|
|
85
|
+
*/
|
|
86
|
+
export interface Queue {
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
* <p>The name of the queue.</p>
|
|
90
|
+
*/
|
|
91
|
+
Name?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
* <p>The Amazon Resource Name (ARN) for the queue.</p>
|
|
95
|
+
*/
|
|
96
|
+
QueueArn?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
* <p>The identifier for the queue.</p>
|
|
100
|
+
*/
|
|
101
|
+
QueueId?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
* <p>The description of the queue.</p>
|
|
105
|
+
*/
|
|
106
|
+
Description?: string;
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
* <p>The outbound caller ID name, number, and outbound whisper flow.</p>
|
|
110
|
+
*/
|
|
111
|
+
OutboundCallerConfig?: OutboundCallerConfig;
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
* <p>The identifier for the hours of operation.</p>
|
|
115
|
+
*/
|
|
116
|
+
HoursOfOperationId?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
* <p>The maximum number of contacts that can be in the queue before it is considered full.</p>
|
|
120
|
+
*/
|
|
121
|
+
MaxContacts?: number;
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
* <p>The status of the queue.</p>
|
|
125
|
+
*/
|
|
126
|
+
Status?: QueueStatus;
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
* <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
130
|
+
*/
|
|
131
|
+
Tags?: Record<string, string>;
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
* <p>The timestamp when this resource was last modified.</p>
|
|
135
|
+
*/
|
|
136
|
+
LastModifiedTime?: Date;
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
* <p>The Amazon Web Services Region where this resource was last modified.</p>
|
|
140
|
+
*/
|
|
141
|
+
LastModifiedRegion?: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export interface DescribeQueueResponse {
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
* <p>The name of the queue.</p>
|
|
150
|
+
*/
|
|
151
|
+
Queue?: Queue;
|
|
152
|
+
}
|
|
4
153
|
/**
|
|
5
154
|
* @public
|
|
6
155
|
*/
|
|
@@ -2647,6 +2796,11 @@ export interface GetMetricDataV2Request {
|
|
|
2647
2796
|
* <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,
|
|
2648
2797
|
* contact/segmentAttributes/connect:Subtype</p>
|
|
2649
2798
|
* </dd>
|
|
2799
|
+
* <dt>AVG_ACTIVE_TIME</dt>
|
|
2800
|
+
* <dd>
|
|
2801
|
+
* <p>Unit: Seconds</p>
|
|
2802
|
+
* <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
|
|
2803
|
+
* </dd>
|
|
2650
2804
|
* <dt>AVG_AFTER_CONTACT_WORK_TIME</dt>
|
|
2651
2805
|
* <dd>
|
|
2652
2806
|
* <p>Unit: Seconds</p>
|
|
@@ -2671,6 +2825,11 @@ export interface GetMetricDataV2Request {
|
|
|
2671
2825
|
* metric.</p>
|
|
2672
2826
|
* </note>
|
|
2673
2827
|
* </dd>
|
|
2828
|
+
* <dt>AVG_AGENT_PAUSE_TIME</dt>
|
|
2829
|
+
* <dd>
|
|
2830
|
+
* <p>Unit: Seconds</p>
|
|
2831
|
+
* <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
|
|
2832
|
+
* </dd>
|
|
2674
2833
|
* <dt>AVG_CONTACT_DURATION</dt>
|
|
2675
2834
|
* <dd>
|
|
2676
2835
|
* <p>Unit: Seconds</p>
|
|
@@ -7000,6 +7159,45 @@ export interface MonitorContactResponse {
|
|
|
7000
7159
|
*/
|
|
7001
7160
|
ContactArn?: string;
|
|
7002
7161
|
}
|
|
7162
|
+
/**
|
|
7163
|
+
* @public
|
|
7164
|
+
* <p>Operation cannot be performed at this time as there is a conflict with another operation or contact state.</p>
|
|
7165
|
+
*/
|
|
7166
|
+
export declare class ConflictException extends __BaseException {
|
|
7167
|
+
readonly name: "ConflictException";
|
|
7168
|
+
readonly $fault: "client";
|
|
7169
|
+
Message?: string;
|
|
7170
|
+
/**
|
|
7171
|
+
* @internal
|
|
7172
|
+
*/
|
|
7173
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
7174
|
+
}
|
|
7175
|
+
/**
|
|
7176
|
+
* @public
|
|
7177
|
+
*/
|
|
7178
|
+
export interface PauseContactRequest {
|
|
7179
|
+
/**
|
|
7180
|
+
* @public
|
|
7181
|
+
* <p>The identifier of the contact.</p>
|
|
7182
|
+
*/
|
|
7183
|
+
ContactId: string | undefined;
|
|
7184
|
+
/**
|
|
7185
|
+
* @public
|
|
7186
|
+
* <p>The identifier of the Amazon Connect instance. You can find the <code>instanceId</code> in the ARN of
|
|
7187
|
+
* the instance.</p>
|
|
7188
|
+
*/
|
|
7189
|
+
InstanceId: string | undefined;
|
|
7190
|
+
/**
|
|
7191
|
+
* @public
|
|
7192
|
+
* <p>The identifier of the flow.</p>
|
|
7193
|
+
*/
|
|
7194
|
+
ContactFlowId?: string;
|
|
7195
|
+
}
|
|
7196
|
+
/**
|
|
7197
|
+
* @public
|
|
7198
|
+
*/
|
|
7199
|
+
export interface PauseContactResponse {
|
|
7200
|
+
}
|
|
7003
7201
|
/**
|
|
7004
7202
|
* @public
|
|
7005
7203
|
*/
|
|
@@ -7088,6 +7286,32 @@ export interface ReplicateInstanceResponse {
|
|
|
7088
7286
|
*/
|
|
7089
7287
|
Arn?: string;
|
|
7090
7288
|
}
|
|
7289
|
+
/**
|
|
7290
|
+
* @public
|
|
7291
|
+
*/
|
|
7292
|
+
export interface ResumeContactRequest {
|
|
7293
|
+
/**
|
|
7294
|
+
* @public
|
|
7295
|
+
* <p>The identifier of the contact.</p>
|
|
7296
|
+
*/
|
|
7297
|
+
ContactId: string | undefined;
|
|
7298
|
+
/**
|
|
7299
|
+
* @public
|
|
7300
|
+
* <p>The identifier of the Amazon Connect instance. You can find the <code>instanceId</code> in the ARN of
|
|
7301
|
+
* the instance.</p>
|
|
7302
|
+
*/
|
|
7303
|
+
InstanceId: string | undefined;
|
|
7304
|
+
/**
|
|
7305
|
+
* @public
|
|
7306
|
+
* <p>The identifier of the flow.</p>
|
|
7307
|
+
*/
|
|
7308
|
+
ContactFlowId?: string;
|
|
7309
|
+
}
|
|
7310
|
+
/**
|
|
7311
|
+
* @public
|
|
7312
|
+
*/
|
|
7313
|
+
export interface ResumeContactResponse {
|
|
7314
|
+
}
|
|
7091
7315
|
/**
|
|
7092
7316
|
* @public
|
|
7093
7317
|
*/
|
|
@@ -7706,312 +7930,6 @@ export declare const HierarchyGroupMatchType: {
|
|
|
7706
7930
|
* @public
|
|
7707
7931
|
*/
|
|
7708
7932
|
export type HierarchyGroupMatchType = (typeof HierarchyGroupMatchType)[keyof typeof HierarchyGroupMatchType];
|
|
7709
|
-
/**
|
|
7710
|
-
* @public
|
|
7711
|
-
* <p>A leaf node condition which can be used to specify a hierarchy group condition.</p>
|
|
7712
|
-
*/
|
|
7713
|
-
export interface HierarchyGroupCondition {
|
|
7714
|
-
/**
|
|
7715
|
-
* @public
|
|
7716
|
-
* <p>The value in the hierarchy group condition.</p>
|
|
7717
|
-
*/
|
|
7718
|
-
Value?: string;
|
|
7719
|
-
/**
|
|
7720
|
-
* @public
|
|
7721
|
-
* <p>The type of hierarchy group match.</p>
|
|
7722
|
-
*/
|
|
7723
|
-
HierarchyGroupMatchType?: HierarchyGroupMatchType;
|
|
7724
|
-
}
|
|
7725
|
-
/**
|
|
7726
|
-
* @public
|
|
7727
|
-
* <p>Filters to be applied to search results.</p>
|
|
7728
|
-
*/
|
|
7729
|
-
export interface UserSearchFilter {
|
|
7730
|
-
/**
|
|
7731
|
-
* @public
|
|
7732
|
-
* <p>An object that can be used to specify Tag conditions inside the <code>SearchFilter</code>.
|
|
7733
|
-
* This accepts an <code>OR</code> of <code>AND</code> (List of List) input where: </p>
|
|
7734
|
-
* <ul>
|
|
7735
|
-
* <li>
|
|
7736
|
-
* <p>Top level list specifies conditions that need to be applied with <code>OR</code>
|
|
7737
|
-
* operator</p>
|
|
7738
|
-
* </li>
|
|
7739
|
-
* <li>
|
|
7740
|
-
* <p>Inner list specifies conditions that need to be applied with <code>AND</code>
|
|
7741
|
-
* operator.</p>
|
|
7742
|
-
* </li>
|
|
7743
|
-
* </ul>
|
|
7744
|
-
*/
|
|
7745
|
-
TagFilter?: ControlPlaneTagFilter;
|
|
7746
|
-
}
|
|
7747
|
-
/**
|
|
7748
|
-
* @public
|
|
7749
|
-
* <p>The user's first name and last name.</p>
|
|
7750
|
-
*/
|
|
7751
|
-
export interface UserIdentityInfoLite {
|
|
7752
|
-
/**
|
|
7753
|
-
* @public
|
|
7754
|
-
* <p>The user's first name.</p>
|
|
7755
|
-
*/
|
|
7756
|
-
FirstName?: string;
|
|
7757
|
-
/**
|
|
7758
|
-
* @public
|
|
7759
|
-
* <p>The user's last name.</p>
|
|
7760
|
-
*/
|
|
7761
|
-
LastName?: string;
|
|
7762
|
-
}
|
|
7763
|
-
/**
|
|
7764
|
-
* @public
|
|
7765
|
-
* <p>Information about the returned users.</p>
|
|
7766
|
-
*/
|
|
7767
|
-
export interface UserSearchSummary {
|
|
7768
|
-
/**
|
|
7769
|
-
* @public
|
|
7770
|
-
* <p>The Amazon Resource Name (ARN) of the user.</p>
|
|
7771
|
-
*/
|
|
7772
|
-
Arn?: string;
|
|
7773
|
-
/**
|
|
7774
|
-
* @public
|
|
7775
|
-
* <p>The directory identifier of the user.</p>
|
|
7776
|
-
*/
|
|
7777
|
-
DirectoryUserId?: string;
|
|
7778
|
-
/**
|
|
7779
|
-
* @public
|
|
7780
|
-
* <p>The identifier of the user's hierarchy group.</p>
|
|
7781
|
-
*/
|
|
7782
|
-
HierarchyGroupId?: string;
|
|
7783
|
-
/**
|
|
7784
|
-
* @public
|
|
7785
|
-
* <p>The identifier of the user's summary.</p>
|
|
7786
|
-
*/
|
|
7787
|
-
Id?: string;
|
|
7788
|
-
/**
|
|
7789
|
-
* @public
|
|
7790
|
-
* <p>The user's first name and last name.</p>
|
|
7791
|
-
*/
|
|
7792
|
-
IdentityInfo?: UserIdentityInfoLite;
|
|
7793
|
-
/**
|
|
7794
|
-
* @public
|
|
7795
|
-
* <p>Contains information about the phone configuration settings for a user.</p>
|
|
7796
|
-
*/
|
|
7797
|
-
PhoneConfig?: UserPhoneConfig;
|
|
7798
|
-
/**
|
|
7799
|
-
* @public
|
|
7800
|
-
* <p>The identifier of the user's routing profile.</p>
|
|
7801
|
-
*/
|
|
7802
|
-
RoutingProfileId?: string;
|
|
7803
|
-
/**
|
|
7804
|
-
* @public
|
|
7805
|
-
* <p>The identifiers of the user's security profiles.</p>
|
|
7806
|
-
*/
|
|
7807
|
-
SecurityProfileIds?: string[];
|
|
7808
|
-
/**
|
|
7809
|
-
* @public
|
|
7810
|
-
* <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
7811
|
-
*/
|
|
7812
|
-
Tags?: Record<string, string>;
|
|
7813
|
-
/**
|
|
7814
|
-
* @public
|
|
7815
|
-
* <p>The name of the user.</p>
|
|
7816
|
-
*/
|
|
7817
|
-
Username?: string;
|
|
7818
|
-
}
|
|
7819
|
-
/**
|
|
7820
|
-
* @public
|
|
7821
|
-
*/
|
|
7822
|
-
export interface SearchUsersResponse {
|
|
7823
|
-
/**
|
|
7824
|
-
* @public
|
|
7825
|
-
* <p>Information about the users.</p>
|
|
7826
|
-
*/
|
|
7827
|
-
Users?: UserSearchSummary[];
|
|
7828
|
-
/**
|
|
7829
|
-
* @public
|
|
7830
|
-
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
7831
|
-
*/
|
|
7832
|
-
NextToken?: string;
|
|
7833
|
-
/**
|
|
7834
|
-
* @public
|
|
7835
|
-
* <p>The total number of users who matched your search query.</p>
|
|
7836
|
-
*/
|
|
7837
|
-
ApproximateTotalCount?: number;
|
|
7838
|
-
}
|
|
7839
|
-
/**
|
|
7840
|
-
* @public
|
|
7841
|
-
*/
|
|
7842
|
-
export interface SearchVocabulariesRequest {
|
|
7843
|
-
/**
|
|
7844
|
-
* @public
|
|
7845
|
-
* <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>
|
|
7846
|
-
*/
|
|
7847
|
-
InstanceId: string | undefined;
|
|
7848
|
-
/**
|
|
7849
|
-
* @public
|
|
7850
|
-
* <p>The maximum number of results to return per page.</p>
|
|
7851
|
-
*/
|
|
7852
|
-
MaxResults?: number;
|
|
7853
|
-
/**
|
|
7854
|
-
* @public
|
|
7855
|
-
* <p>The token for the next set of results. Use the value returned in the previous
|
|
7856
|
-
* response in the next request to retrieve the next set of results.</p>
|
|
7857
|
-
*/
|
|
7858
|
-
NextToken?: string;
|
|
7859
|
-
/**
|
|
7860
|
-
* @public
|
|
7861
|
-
* <p>The current state of the custom vocabulary.</p>
|
|
7862
|
-
*/
|
|
7863
|
-
State?: VocabularyState;
|
|
7864
|
-
/**
|
|
7865
|
-
* @public
|
|
7866
|
-
* <p>The starting pattern of the name of the vocabulary.</p>
|
|
7867
|
-
*/
|
|
7868
|
-
NameStartsWith?: string;
|
|
7869
|
-
/**
|
|
7870
|
-
* @public
|
|
7871
|
-
* <p>The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see
|
|
7872
|
-
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html">What is Amazon Transcribe?</a>
|
|
7873
|
-
* </p>
|
|
7874
|
-
*/
|
|
7875
|
-
LanguageCode?: VocabularyLanguageCode;
|
|
7876
|
-
}
|
|
7877
|
-
/**
|
|
7878
|
-
* @public
|
|
7879
|
-
* <p>Contains summary information about the custom vocabulary.</p>
|
|
7880
|
-
*/
|
|
7881
|
-
export interface VocabularySummary {
|
|
7882
|
-
/**
|
|
7883
|
-
* @public
|
|
7884
|
-
* <p>A unique name of the custom vocabulary.</p>
|
|
7885
|
-
*/
|
|
7886
|
-
Name: string | undefined;
|
|
7887
|
-
/**
|
|
7888
|
-
* @public
|
|
7889
|
-
* <p>The identifier of the custom vocabulary.</p>
|
|
7890
|
-
*/
|
|
7891
|
-
Id: string | undefined;
|
|
7892
|
-
/**
|
|
7893
|
-
* @public
|
|
7894
|
-
* <p>The Amazon Resource Name (ARN) of the custom vocabulary.</p>
|
|
7895
|
-
*/
|
|
7896
|
-
Arn: string | undefined;
|
|
7897
|
-
/**
|
|
7898
|
-
* @public
|
|
7899
|
-
* <p>The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see
|
|
7900
|
-
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html">What is Amazon Transcribe?</a>
|
|
7901
|
-
* </p>
|
|
7902
|
-
*/
|
|
7903
|
-
LanguageCode: VocabularyLanguageCode | undefined;
|
|
7904
|
-
/**
|
|
7905
|
-
* @public
|
|
7906
|
-
* <p>The current state of the custom vocabulary.</p>
|
|
7907
|
-
*/
|
|
7908
|
-
State: VocabularyState | undefined;
|
|
7909
|
-
/**
|
|
7910
|
-
* @public
|
|
7911
|
-
* <p>The timestamp when the custom vocabulary was last modified.</p>
|
|
7912
|
-
*/
|
|
7913
|
-
LastModifiedTime: Date | undefined;
|
|
7914
|
-
/**
|
|
7915
|
-
* @public
|
|
7916
|
-
* <p>The reason why the custom vocabulary was not created.</p>
|
|
7917
|
-
*/
|
|
7918
|
-
FailureReason?: string;
|
|
7919
|
-
}
|
|
7920
|
-
/**
|
|
7921
|
-
* @public
|
|
7922
|
-
*/
|
|
7923
|
-
export interface SearchVocabulariesResponse {
|
|
7924
|
-
/**
|
|
7925
|
-
* @public
|
|
7926
|
-
* <p>The list of the available custom vocabularies.</p>
|
|
7927
|
-
*/
|
|
7928
|
-
VocabularySummaryList?: VocabularySummary[];
|
|
7929
|
-
/**
|
|
7930
|
-
* @public
|
|
7931
|
-
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
7932
|
-
*/
|
|
7933
|
-
NextToken?: string;
|
|
7934
|
-
}
|
|
7935
|
-
/**
|
|
7936
|
-
* @public
|
|
7937
|
-
* @enum
|
|
7938
|
-
*/
|
|
7939
|
-
export declare const ChatEventType: {
|
|
7940
|
-
readonly DISCONNECT: "DISCONNECT";
|
|
7941
|
-
readonly EVENT: "EVENT";
|
|
7942
|
-
readonly MESSAGE: "MESSAGE";
|
|
7943
|
-
};
|
|
7944
|
-
/**
|
|
7945
|
-
* @public
|
|
7946
|
-
*/
|
|
7947
|
-
export type ChatEventType = (typeof ChatEventType)[keyof typeof ChatEventType];
|
|
7948
|
-
/**
|
|
7949
|
-
* @public
|
|
7950
|
-
* <p>Chat integration event containing payload to perform different chat actions such as:</p>
|
|
7951
|
-
* <ul>
|
|
7952
|
-
* <li>
|
|
7953
|
-
* <p>Sending a chat message</p>
|
|
7954
|
-
* </li>
|
|
7955
|
-
* <li>
|
|
7956
|
-
* <p>Sending a chat event, such as typing</p>
|
|
7957
|
-
* </li>
|
|
7958
|
-
* <li>
|
|
7959
|
-
* <p>Disconnecting from a chat</p>
|
|
7960
|
-
* </li>
|
|
7961
|
-
* </ul>
|
|
7962
|
-
*/
|
|
7963
|
-
export interface ChatEvent {
|
|
7964
|
-
/**
|
|
7965
|
-
* @public
|
|
7966
|
-
* <p>Type of chat integration event. </p>
|
|
7967
|
-
*/
|
|
7968
|
-
Type: ChatEventType | undefined;
|
|
7969
|
-
/**
|
|
7970
|
-
* @public
|
|
7971
|
-
* <p>Type of content. This is required when <code>Type</code> is <code>MESSAGE</code> or
|
|
7972
|
-
* <code>EVENT</code>. </p>
|
|
7973
|
-
* <ul>
|
|
7974
|
-
* <li>
|
|
7975
|
-
* <p>For allowed message content types, see the <code>ContentType</code> parameter in the
|
|
7976
|
-
* <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendMessage.html">SendMessage</a> topic in the <i>Amazon Connect Participant Service API
|
|
7977
|
-
* Reference</i>.</p>
|
|
7978
|
-
* </li>
|
|
7979
|
-
* <li>
|
|
7980
|
-
* <p>For allowed event content types, see the <code>ContentType</code> parameter in the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendEvent.html">SendEvent</a> topic in the <i>Amazon Connect Participant Service API
|
|
7981
|
-
* Reference</i>. </p>
|
|
7982
|
-
* </li>
|
|
7983
|
-
* </ul>
|
|
7984
|
-
*/
|
|
7985
|
-
ContentType?: string;
|
|
7986
|
-
/**
|
|
7987
|
-
* @public
|
|
7988
|
-
* <p>Content of the message or event. This is required when <code>Type</code> is
|
|
7989
|
-
* <code>MESSAGE</code> and for certain <code>ContentTypes</code> when <code>Type</code> is
|
|
7990
|
-
* <code>EVENT</code>.</p>
|
|
7991
|
-
* <ul>
|
|
7992
|
-
* <li>
|
|
7993
|
-
* <p>For allowed message content, see the <code>Content</code> parameter in the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendMessage.html">SendMessage</a> topic in the <i>Amazon Connect Participant Service API
|
|
7994
|
-
* Reference</i>.</p>
|
|
7995
|
-
* </li>
|
|
7996
|
-
* <li>
|
|
7997
|
-
* <p>For allowed event content, see the <code>Content</code> parameter in the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendEvent.html">SendEvent</a> topic in the <i>Amazon Connect Participant Service API
|
|
7998
|
-
* Reference</i>. </p>
|
|
7999
|
-
* </li>
|
|
8000
|
-
* </ul>
|
|
8001
|
-
*/
|
|
8002
|
-
Content?: string;
|
|
8003
|
-
}
|
|
8004
|
-
/**
|
|
8005
|
-
* @public
|
|
8006
|
-
* <p>The customer's details.</p>
|
|
8007
|
-
*/
|
|
8008
|
-
export interface ParticipantDetails {
|
|
8009
|
-
/**
|
|
8010
|
-
* @public
|
|
8011
|
-
* <p>Display name of the participant.</p>
|
|
8012
|
-
*/
|
|
8013
|
-
DisplayName: string | undefined;
|
|
8014
|
-
}
|
|
8015
7933
|
/**
|
|
8016
7934
|
* @internal
|
|
8017
7935
|
*/
|