@aws-sdk/client-connect 3.568.0 → 3.569.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 +40 -0
- package/dist-cjs/index.js +391 -81
- package/dist-es/Connect.js +10 -0
- package/dist-es/commands/BatchGetAttachedFileMetadataCommand.js +24 -0
- package/dist-es/commands/CompleteAttachedFileUploadCommand.js +24 -0
- package/dist-es/commands/DeleteAttachedFileCommand.js +24 -0
- package/dist-es/commands/DescribeInstanceCommand.js +1 -1
- package/dist-es/commands/GetAttachedFileCommand.js +24 -0
- package/dist-es/commands/ReplicateInstanceCommand.js +1 -1
- package/dist-es/commands/StartAttachedFileUploadCommand.js +24 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +33 -26
- package/dist-es/models/models_1.js +26 -42
- package/dist-es/models/models_2.js +42 -1
- package/dist-es/protocols/Aws_restJson1.js +163 -0
- package/dist-types/Connect.d.ts +35 -0
- package/dist-types/ConnectClient.d.ts +7 -2
- package/dist-types/commands/BatchGetAttachedFileMetadataCommand.d.ts +105 -0
- package/dist-types/commands/CompleteAttachedFileUploadCommand.d.ts +75 -0
- package/dist-types/commands/DeleteAttachedFileCommand.d.ts +78 -0
- package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
- package/dist-types/commands/GetAttachedFileCommand.d.ts +97 -0
- package/dist-types/commands/ReplicateInstanceCommand.d.ts +2 -1
- package/dist-types/commands/ResumeContactCommand.d.ts +1 -1
- package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
- package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -1
- package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +108 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +308 -239
- package/dist-types/models/models_1.d.ts +356 -344
- package/dist-types/models/models_2.d.ts +472 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Connect.d.ts +85 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchGetAttachedFileMetadataCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CompleteAttachedFileUploadCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteAttachedFileCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetAttachedFileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ReplicateInstanceCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartAttachedFileUploadCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +109 -74
- package/dist-types/ts3.4/models/models_1.d.ts +101 -99
- package/dist-types/ts3.4/models/models_2.d.ts +127 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +4 -2
|
@@ -1,7 +1,320 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
|
-
import { AgentAvailabilityTimer, AgentConfig, AgentStatusState, AllowedCapabilities, Application, Channel, ContactFlowModuleState, ContactFlowState, ContactInitiationMethod, Evaluation, EvaluationAnswerData, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, EvaluationNote, HoursOfOperation, HoursOfOperationConfig,
|
|
4
|
-
import { PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RoutingProfile,
|
|
3
|
+
import { AgentAvailabilityTimer, AgentConfig, AgentHierarchyGroups, AgentStatusState, AllowedCapabilities, Application, Channel, ContactFlowModuleState, ContactFlowState, ContactInitiationMethod, CreatedByInfo, Evaluation, EvaluationAnswerData, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, EvaluationNote, FileStatusType, FileUseCaseType, HoursOfOperation, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, ParticipantRole, PredefinedAttributeValues, QuickConnectConfig, Reference, RehydrationType, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
4
|
+
import { InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RoutingProfile, SignInConfig, SortOrder, TelephonyConfig } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface ReplicateInstanceResponse {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The identifier of the replicated instance. You can find the <code>instanceId</code> in the
|
|
11
|
+
* ARN of the instance. The replicated instance has the same identifier as the instance it was
|
|
12
|
+
* replicated from.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
Id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The Amazon Resource Name (ARN) of the replicated instance.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
Arn?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export interface ResumeContactRequest {
|
|
26
|
+
/**
|
|
27
|
+
* <p>The identifier of the contact.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
ContactId: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* <p>The identifier of the Amazon Connect instance. You can find the <code>instanceId</code> in the ARN of
|
|
33
|
+
* the instance.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
InstanceId: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>The identifier of the flow.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
ContactFlowId?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export interface ResumeContactResponse {
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export interface ResumeContactRecordingRequest {
|
|
52
|
+
/**
|
|
53
|
+
* <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>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
InstanceId: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The identifier of the contact.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
ContactId: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The identifier of the contact. This is the identifier of the contact associated with the
|
|
64
|
+
* first interaction with the contact center.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
InitialContactId: string | undefined;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export interface ResumeContactRecordingResponse {
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export interface SearchAvailablePhoneNumbersRequest {
|
|
78
|
+
/**
|
|
79
|
+
* <p>The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter <code>InstanceId</code> or <code>TargetArn</code>. </p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
TargetArn?: string;
|
|
83
|
+
/**
|
|
84
|
+
* <p>The identifier of the Amazon Connect instance that phone numbers are claimed to. You
|
|
85
|
+
* can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the
|
|
86
|
+
* instance ID</a> in the Amazon Resource Name (ARN) of the instance. You must enter <code>InstanceId</code> or <code>TargetArn</code>. </p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
InstanceId?: string;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The ISO country code.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
PhoneNumberCountryCode: PhoneNumberCountryCode | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* <p>The type of phone number.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
PhoneNumberType: PhoneNumberType | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* <p>The prefix of the phone number. If provided, it must contain <code>+</code> as part of the country code.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
PhoneNumberPrefix?: string;
|
|
105
|
+
/**
|
|
106
|
+
* <p>The maximum number of results to return per page.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
MaxResults?: number;
|
|
110
|
+
/**
|
|
111
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
112
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
NextToken?: string;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* <p>Information about available phone numbers.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export interface AvailableNumberSummary {
|
|
122
|
+
/**
|
|
123
|
+
* <p>The phone number. Phone numbers are formatted <code>[+] [country code] [subscriber number including area code]</code>.</p>
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
PhoneNumber?: string;
|
|
127
|
+
/**
|
|
128
|
+
* <p>The ISO country code.</p>
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
PhoneNumberCountryCode?: PhoneNumberCountryCode;
|
|
132
|
+
/**
|
|
133
|
+
* <p>The type of phone number.</p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
PhoneNumberType?: PhoneNumberType;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
export interface SearchAvailablePhoneNumbersResponse {
|
|
142
|
+
/**
|
|
143
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
NextToken?: string;
|
|
147
|
+
/**
|
|
148
|
+
* <p>A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
AvailableNumbersList?: AvailableNumberSummary[];
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* @public
|
|
155
|
+
* @enum
|
|
156
|
+
*/
|
|
157
|
+
export declare const SearchContactsMatchType: {
|
|
158
|
+
readonly MATCH_ALL: "MATCH_ALL";
|
|
159
|
+
readonly MATCH_ANY: "MATCH_ANY";
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
export type SearchContactsMatchType = (typeof SearchContactsMatchType)[keyof typeof SearchContactsMatchType];
|
|
165
|
+
/**
|
|
166
|
+
* <p>A structure that defines search criteria base on words or phrases, participants in the
|
|
167
|
+
* Contact Lens conversational analytics transcript.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export interface TranscriptCriteria {
|
|
171
|
+
/**
|
|
172
|
+
* <p>The participant role in a transcript</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
ParticipantRole: ParticipantRole | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* <p>The words or phrases used to search within a transcript.</p>
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
SearchText: string[] | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* <p>The match type combining search criteria using multiple search texts in a transcript
|
|
183
|
+
* criteria.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
MatchType: SearchContactsMatchType | undefined;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* <p>A structure that defines search criteria and matching logic to search for contacts by
|
|
190
|
+
* matching text with transcripts analyzed by Amazon Connect Contact Lens.</p>
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
export interface Transcript {
|
|
194
|
+
/**
|
|
195
|
+
* <p>The list of search criteria based on Contact Lens conversational analytics
|
|
196
|
+
* transcript.</p>
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
Criteria: TranscriptCriteria[] | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* <p>The match type combining search criteria using multiple transcript criteria.</p>
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
MatchType?: SearchContactsMatchType;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* <p>A structure that defines search criteria for contacts using analysis outputs from Amazon
|
|
208
|
+
* Connect Contact Lens.</p>
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
export interface ContactAnalysis {
|
|
212
|
+
/**
|
|
213
|
+
* <p>Search criteria based on transcript analyzed by Amazon Connect Contact Lens.</p>
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
Transcript?: Transcript;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* <p>The search criteria based on user-defned contact attribute key and values to search
|
|
220
|
+
* on.</p>
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
export interface SearchableContactAttributesCriteria {
|
|
224
|
+
/**
|
|
225
|
+
* <p>The key containing a searchable user-defined contact attribute.</p>
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
Key: string | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* <p>The list of values to search for within a user-defined contact attribute.</p>
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
Values: string[] | undefined;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* <p>A structure that defines search criteria based on user-defined contact attributes that are
|
|
237
|
+
* configured for contact search.</p>
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
export interface SearchableContactAttributes {
|
|
241
|
+
/**
|
|
242
|
+
* <p>The list of criteria based on user-defined contact attributes that are configured for
|
|
243
|
+
* contact search.</p>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
Criteria: SearchableContactAttributesCriteria[] | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* <p>The match type combining search criteria using multiple searchable contact
|
|
249
|
+
* attributes.</p>
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
MatchType?: SearchContactsMatchType;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* <p>A structure of search criteria to be used to return contacts.</p>
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
export interface SearchCriteria {
|
|
259
|
+
/**
|
|
260
|
+
* <p>The identifiers of agents who handled the contacts.</p>
|
|
261
|
+
* @public
|
|
262
|
+
*/
|
|
263
|
+
AgentIds?: string[];
|
|
264
|
+
/**
|
|
265
|
+
* <p>The agent hierarchy groups of the agent at the time of handling the contact.</p>
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
AgentHierarchyGroups?: AgentHierarchyGroups;
|
|
269
|
+
/**
|
|
270
|
+
* <p>The list of channels associated with contacts.</p>
|
|
271
|
+
* @public
|
|
272
|
+
*/
|
|
273
|
+
Channels?: Channel[];
|
|
274
|
+
/**
|
|
275
|
+
* <p>Search criteria based on analysis outputs from Amazon Connect Contact Lens.</p>
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
278
|
+
ContactAnalysis?: ContactAnalysis;
|
|
279
|
+
/**
|
|
280
|
+
* <p>The list of initiation methods associated with contacts.</p>
|
|
281
|
+
* @public
|
|
282
|
+
*/
|
|
283
|
+
InitiationMethods?: ContactInitiationMethod[];
|
|
284
|
+
/**
|
|
285
|
+
* <p>The list of queue IDs associated with contacts.</p>
|
|
286
|
+
* @public
|
|
287
|
+
*/
|
|
288
|
+
QueueIds?: string[];
|
|
289
|
+
/**
|
|
290
|
+
* <p>The search criteria based on user-defined contact attributes that have been configured for
|
|
291
|
+
* contact search. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/search-custom-attributes.html">Search by customer contact
|
|
292
|
+
* attributes</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
293
|
+
* <important>
|
|
294
|
+
* <p>To use <code>SearchableContactAttributes</code> in a search request, the
|
|
295
|
+
* <code>GetContactAttributes</code> action is required to perform an API request. For more
|
|
296
|
+
* information, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissions">https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissions</a>Actions defined by Amazon Connect.</p>
|
|
297
|
+
* </important>
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
SearchableContactAttributes?: SearchableContactAttributes;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* @public
|
|
304
|
+
* @enum
|
|
305
|
+
*/
|
|
306
|
+
export declare const SortableFieldName: {
|
|
307
|
+
readonly CHANNEL: "CHANNEL";
|
|
308
|
+
readonly CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP";
|
|
309
|
+
readonly DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP";
|
|
310
|
+
readonly INITIATION_METHOD: "INITIATION_METHOD";
|
|
311
|
+
readonly INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP";
|
|
312
|
+
readonly SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP";
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
317
|
+
export type SortableFieldName = (typeof SortableFieldName)[keyof typeof SortableFieldName];
|
|
5
318
|
/**
|
|
6
319
|
* <p>A structure that defineds the field name to sort by and a sort order.</p>
|
|
7
320
|
* @public
|
|
@@ -1239,6 +1552,125 @@ export interface SendChatIntegrationEventResponse {
|
|
|
1239
1552
|
*/
|
|
1240
1553
|
NewChatCreated?: boolean;
|
|
1241
1554
|
}
|
|
1555
|
+
/**
|
|
1556
|
+
* @public
|
|
1557
|
+
*/
|
|
1558
|
+
export interface StartAttachedFileUploadRequest {
|
|
1559
|
+
/**
|
|
1560
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
1561
|
+
* request. If not provided, the Amazon Web Services
|
|
1562
|
+
* SDK populates this field. For more information about idempotency, see
|
|
1563
|
+
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
1564
|
+
* @public
|
|
1565
|
+
*/
|
|
1566
|
+
ClientToken?: string;
|
|
1567
|
+
/**
|
|
1568
|
+
* <p>The unique identifier of the Connect instance.</p>
|
|
1569
|
+
* @public
|
|
1570
|
+
*/
|
|
1571
|
+
InstanceId: string | undefined;
|
|
1572
|
+
/**
|
|
1573
|
+
* <p>A case-sensitive name of the attached file being uploaded.</p>
|
|
1574
|
+
* @public
|
|
1575
|
+
*/
|
|
1576
|
+
FileName: string | undefined;
|
|
1577
|
+
/**
|
|
1578
|
+
* <p>The size of the attached file in bytes.</p>
|
|
1579
|
+
* @public
|
|
1580
|
+
*/
|
|
1581
|
+
FileSizeInBytes: number | undefined;
|
|
1582
|
+
/**
|
|
1583
|
+
* <p>Optional override for the expiry of the pre-signed S3 URL in seconds.</p>
|
|
1584
|
+
* @public
|
|
1585
|
+
*/
|
|
1586
|
+
UrlExpiryInSeconds?: number;
|
|
1587
|
+
/**
|
|
1588
|
+
* <p>The use case for the file.</p>
|
|
1589
|
+
* @public
|
|
1590
|
+
*/
|
|
1591
|
+
FileUseCaseType: FileUseCaseType | undefined;
|
|
1592
|
+
/**
|
|
1593
|
+
* <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
|
|
1594
|
+
* current supported resource.</p>
|
|
1595
|
+
* <note>
|
|
1596
|
+
* <p>This value must be a valid ARN.</p>
|
|
1597
|
+
* </note>
|
|
1598
|
+
* @public
|
|
1599
|
+
*/
|
|
1600
|
+
AssociatedResourceArn: string | undefined;
|
|
1601
|
+
/**
|
|
1602
|
+
* <p>Represents the identity that created the file.</p>
|
|
1603
|
+
* @public
|
|
1604
|
+
*/
|
|
1605
|
+
CreatedBy?: CreatedByInfo;
|
|
1606
|
+
/**
|
|
1607
|
+
* <p>The tags used to organize, track, or control access for this resource. For example, <code>\{
|
|
1608
|
+
* "Tags": \{"key1":"value1", "key2":"value2"\} \}</code>.</p>
|
|
1609
|
+
* @public
|
|
1610
|
+
*/
|
|
1611
|
+
Tags?: Record<string, string>;
|
|
1612
|
+
}
|
|
1613
|
+
/**
|
|
1614
|
+
* <p>Fields required when uploading an attached file. </p>
|
|
1615
|
+
* @public
|
|
1616
|
+
*/
|
|
1617
|
+
export interface UploadUrlMetadata {
|
|
1618
|
+
/**
|
|
1619
|
+
* <p>A pre-signed S3 URL that should be used for uploading the attached file. </p>
|
|
1620
|
+
* @public
|
|
1621
|
+
*/
|
|
1622
|
+
Url?: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* <p>The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format:
|
|
1625
|
+
* <code>yyyy-MM-ddThh:mm:ss.SSSZ</code>. For example,
|
|
1626
|
+
* <code>2019-11-08T02:41:28.172Z</code>.</p>
|
|
1627
|
+
* @public
|
|
1628
|
+
*/
|
|
1629
|
+
UrlExpiry?: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* <p>A map of headers that should be provided when uploading the attached file. </p>
|
|
1632
|
+
* @public
|
|
1633
|
+
*/
|
|
1634
|
+
HeadersToInclude?: Record<string, string>;
|
|
1635
|
+
}
|
|
1636
|
+
/**
|
|
1637
|
+
* Response from StartAttachedFileUpload API.
|
|
1638
|
+
* @public
|
|
1639
|
+
*/
|
|
1640
|
+
export interface StartAttachedFileUploadResponse {
|
|
1641
|
+
/**
|
|
1642
|
+
* <p>The unique identifier of the attached file resource (ARN).</p>
|
|
1643
|
+
* @public
|
|
1644
|
+
*/
|
|
1645
|
+
FileArn?: string;
|
|
1646
|
+
/**
|
|
1647
|
+
* <p>The unique identifier of the attached file resource.</p>
|
|
1648
|
+
* @public
|
|
1649
|
+
*/
|
|
1650
|
+
FileId?: string;
|
|
1651
|
+
/**
|
|
1652
|
+
* <p>The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601
|
|
1653
|
+
* format: <code>yyyy-MM-ddThh:mm:ss.SSSZ</code>. For example,
|
|
1654
|
+
* <code>2024-05-03T02:41:28.172Z</code>.</p>
|
|
1655
|
+
* @public
|
|
1656
|
+
*/
|
|
1657
|
+
CreationTime?: string;
|
|
1658
|
+
/**
|
|
1659
|
+
* <p>The current status of the attached file.</p>
|
|
1660
|
+
* @public
|
|
1661
|
+
*/
|
|
1662
|
+
FileStatus?: FileStatusType;
|
|
1663
|
+
/**
|
|
1664
|
+
* <p>Represents the identity that created the file.</p>
|
|
1665
|
+
* @public
|
|
1666
|
+
*/
|
|
1667
|
+
CreatedBy?: CreatedByInfo;
|
|
1668
|
+
/**
|
|
1669
|
+
* <p>Information to be used while uploading the attached file. </p>
|
|
1670
|
+
* @public
|
|
1671
|
+
*/
|
|
1672
|
+
UploadUrlMetadata?: UploadUrlMetadata;
|
|
1673
|
+
}
|
|
1242
1674
|
/**
|
|
1243
1675
|
* <p>A chat message.</p>
|
|
1244
1676
|
* @public
|
|
@@ -2503,6 +2935,20 @@ export interface UpdateContactAttributesRequest {
|
|
|
2503
2935
|
* other contact attributes.</p>
|
|
2504
2936
|
* <p>You can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys
|
|
2505
2937
|
* can include only alphanumeric, dash, and underscore characters.</p>
|
|
2938
|
+
* <p>When the attributes for a contact exceed 32 KB, the contact is routed down the Error branch
|
|
2939
|
+
* of the flow. As a mitigation, consider the following options:</p>
|
|
2940
|
+
* <ul>
|
|
2941
|
+
* <li>
|
|
2942
|
+
* <p>Remove unnecessary attributes by setting their values to empty.</p>
|
|
2943
|
+
* </li>
|
|
2944
|
+
* <li>
|
|
2945
|
+
* <p>If the attributes are only used in one flow and don't need to be referred to outside of
|
|
2946
|
+
* that flow (for example, by a Lambda or another flow), then use flow attributes. This way you
|
|
2947
|
+
* aren't needlessly persisting the 32 KB of information from one flow to another. For more
|
|
2948
|
+
* information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/set-contact-attributes.html">Flow block: Set contact
|
|
2949
|
+
* attributes</a> in the <i>Amazon Connect Administrator Guide</i>. </p>
|
|
2950
|
+
* </li>
|
|
2951
|
+
* </ul>
|
|
2506
2952
|
* @public
|
|
2507
2953
|
*/
|
|
2508
2954
|
Attributes: Record<string, string> | undefined;
|
|
@@ -4767,6 +5213,30 @@ export interface SearchUsersRequest {
|
|
|
4767
5213
|
*/
|
|
4768
5214
|
SearchCriteria?: UserSearchCriteria;
|
|
4769
5215
|
}
|
|
5216
|
+
/**
|
|
5217
|
+
* @internal
|
|
5218
|
+
*/
|
|
5219
|
+
export declare const TranscriptCriteriaFilterSensitiveLog: (obj: TranscriptCriteria) => any;
|
|
5220
|
+
/**
|
|
5221
|
+
* @internal
|
|
5222
|
+
*/
|
|
5223
|
+
export declare const TranscriptFilterSensitiveLog: (obj: Transcript) => any;
|
|
5224
|
+
/**
|
|
5225
|
+
* @internal
|
|
5226
|
+
*/
|
|
5227
|
+
export declare const ContactAnalysisFilterSensitiveLog: (obj: ContactAnalysis) => any;
|
|
5228
|
+
/**
|
|
5229
|
+
* @internal
|
|
5230
|
+
*/
|
|
5231
|
+
export declare const SearchableContactAttributesCriteriaFilterSensitiveLog: (obj: SearchableContactAttributesCriteria) => any;
|
|
5232
|
+
/**
|
|
5233
|
+
* @internal
|
|
5234
|
+
*/
|
|
5235
|
+
export declare const SearchableContactAttributesFilterSensitiveLog: (obj: SearchableContactAttributes) => any;
|
|
5236
|
+
/**
|
|
5237
|
+
* @internal
|
|
5238
|
+
*/
|
|
5239
|
+
export declare const SearchCriteriaFilterSensitiveLog: (obj: SearchCriteria) => any;
|
|
4770
5240
|
/**
|
|
4771
5241
|
* @internal
|
|
4772
5242
|
*/
|
|
@@ -17,9 +17,11 @@ import { AssociateTrafficDistributionGroupUserCommandInput, AssociateTrafficDist
|
|
|
17
17
|
import { AssociateUserProficienciesCommandInput, AssociateUserProficienciesCommandOutput } from "../commands/AssociateUserProficienciesCommand";
|
|
18
18
|
import { BatchAssociateAnalyticsDataSetCommandInput, BatchAssociateAnalyticsDataSetCommandOutput } from "../commands/BatchAssociateAnalyticsDataSetCommand";
|
|
19
19
|
import { BatchDisassociateAnalyticsDataSetCommandInput, BatchDisassociateAnalyticsDataSetCommandOutput } from "../commands/BatchDisassociateAnalyticsDataSetCommand";
|
|
20
|
+
import { BatchGetAttachedFileMetadataCommandInput, BatchGetAttachedFileMetadataCommandOutput } from "../commands/BatchGetAttachedFileMetadataCommand";
|
|
20
21
|
import { BatchGetFlowAssociationCommandInput, BatchGetFlowAssociationCommandOutput } from "../commands/BatchGetFlowAssociationCommand";
|
|
21
22
|
import { BatchPutContactCommandInput, BatchPutContactCommandOutput } from "../commands/BatchPutContactCommand";
|
|
22
23
|
import { ClaimPhoneNumberCommandInput, ClaimPhoneNumberCommandOutput } from "../commands/ClaimPhoneNumberCommand";
|
|
24
|
+
import { CompleteAttachedFileUploadCommandInput, CompleteAttachedFileUploadCommandOutput } from "../commands/CompleteAttachedFileUploadCommand";
|
|
23
25
|
import { CreateAgentStatusCommandInput, CreateAgentStatusCommandOutput } from "../commands/CreateAgentStatusCommand";
|
|
24
26
|
import { CreateContactFlowCommandInput, CreateContactFlowCommandOutput } from "../commands/CreateContactFlowCommand";
|
|
25
27
|
import { CreateContactFlowModuleCommandInput, CreateContactFlowModuleCommandOutput } from "../commands/CreateContactFlowModuleCommand";
|
|
@@ -45,6 +47,7 @@ import { CreateViewCommandInput, CreateViewCommandOutput } from "../commands/Cre
|
|
|
45
47
|
import { CreateViewVersionCommandInput, CreateViewVersionCommandOutput } from "../commands/CreateViewVersionCommand";
|
|
46
48
|
import { CreateVocabularyCommandInput, CreateVocabularyCommandOutput } from "../commands/CreateVocabularyCommand";
|
|
47
49
|
import { DeactivateEvaluationFormCommandInput, DeactivateEvaluationFormCommandOutput } from "../commands/DeactivateEvaluationFormCommand";
|
|
50
|
+
import { DeleteAttachedFileCommandInput, DeleteAttachedFileCommandOutput } from "../commands/DeleteAttachedFileCommand";
|
|
48
51
|
import { DeleteContactEvaluationCommandInput, DeleteContactEvaluationCommandOutput } from "../commands/DeleteContactEvaluationCommand";
|
|
49
52
|
import { DeleteContactFlowCommandInput, DeleteContactFlowCommandOutput } from "../commands/DeleteContactFlowCommand";
|
|
50
53
|
import { DeleteContactFlowModuleCommandInput, DeleteContactFlowModuleCommandOutput } from "../commands/DeleteContactFlowModuleCommand";
|
|
@@ -105,6 +108,7 @@ import { DisassociateSecurityKeyCommandInput, DisassociateSecurityKeyCommandOutp
|
|
|
105
108
|
import { DisassociateTrafficDistributionGroupUserCommandInput, DisassociateTrafficDistributionGroupUserCommandOutput } from "../commands/DisassociateTrafficDistributionGroupUserCommand";
|
|
106
109
|
import { DisassociateUserProficienciesCommandInput, DisassociateUserProficienciesCommandOutput } from "../commands/DisassociateUserProficienciesCommand";
|
|
107
110
|
import { DismissUserContactCommandInput, DismissUserContactCommandOutput } from "../commands/DismissUserContactCommand";
|
|
111
|
+
import { GetAttachedFileCommandInput, GetAttachedFileCommandOutput } from "../commands/GetAttachedFileCommand";
|
|
108
112
|
import { GetContactAttributesCommandInput, GetContactAttributesCommandOutput } from "../commands/GetContactAttributesCommand";
|
|
109
113
|
import { GetCurrentMetricDataCommandInput, GetCurrentMetricDataCommandOutput } from "../commands/GetCurrentMetricDataCommand";
|
|
110
114
|
import { GetCurrentUserDataCommandInput, GetCurrentUserDataCommandOutput } from "../commands/GetCurrentUserDataCommand";
|
|
@@ -180,6 +184,7 @@ import { SearchSecurityProfilesCommandInput, SearchSecurityProfilesCommandOutput
|
|
|
180
184
|
import { SearchUsersCommandInput, SearchUsersCommandOutput } from "../commands/SearchUsersCommand";
|
|
181
185
|
import { SearchVocabulariesCommandInput, SearchVocabulariesCommandOutput } from "../commands/SearchVocabulariesCommand";
|
|
182
186
|
import { SendChatIntegrationEventCommandInput, SendChatIntegrationEventCommandOutput } from "../commands/SendChatIntegrationEventCommand";
|
|
187
|
+
import { StartAttachedFileUploadCommandInput, StartAttachedFileUploadCommandOutput } from "../commands/StartAttachedFileUploadCommand";
|
|
183
188
|
import { StartChatContactCommandInput, StartChatContactCommandOutput } from "../commands/StartChatContactCommand";
|
|
184
189
|
import { StartContactEvaluationCommandInput, StartContactEvaluationCommandOutput } from "../commands/StartContactEvaluationCommand";
|
|
185
190
|
import { StartContactRecordingCommandInput, StartContactRecordingCommandOutput } from "../commands/StartContactRecordingCommand";
|
|
@@ -311,6 +316,10 @@ export declare const se_BatchAssociateAnalyticsDataSetCommand: (input: BatchAsso
|
|
|
311
316
|
* serializeAws_restJson1BatchDisassociateAnalyticsDataSetCommand
|
|
312
317
|
*/
|
|
313
318
|
export declare const se_BatchDisassociateAnalyticsDataSetCommand: (input: BatchDisassociateAnalyticsDataSetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
319
|
+
/**
|
|
320
|
+
* serializeAws_restJson1BatchGetAttachedFileMetadataCommand
|
|
321
|
+
*/
|
|
322
|
+
export declare const se_BatchGetAttachedFileMetadataCommand: (input: BatchGetAttachedFileMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
314
323
|
/**
|
|
315
324
|
* serializeAws_restJson1BatchGetFlowAssociationCommand
|
|
316
325
|
*/
|
|
@@ -323,6 +332,10 @@ export declare const se_BatchPutContactCommand: (input: BatchPutContactCommandIn
|
|
|
323
332
|
* serializeAws_restJson1ClaimPhoneNumberCommand
|
|
324
333
|
*/
|
|
325
334
|
export declare const se_ClaimPhoneNumberCommand: (input: ClaimPhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
335
|
+
/**
|
|
336
|
+
* serializeAws_restJson1CompleteAttachedFileUploadCommand
|
|
337
|
+
*/
|
|
338
|
+
export declare const se_CompleteAttachedFileUploadCommand: (input: CompleteAttachedFileUploadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
326
339
|
/**
|
|
327
340
|
* serializeAws_restJson1CreateAgentStatusCommand
|
|
328
341
|
*/
|
|
@@ -423,6 +436,10 @@ export declare const se_CreateVocabularyCommand: (input: CreateVocabularyCommand
|
|
|
423
436
|
* serializeAws_restJson1DeactivateEvaluationFormCommand
|
|
424
437
|
*/
|
|
425
438
|
export declare const se_DeactivateEvaluationFormCommand: (input: DeactivateEvaluationFormCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
439
|
+
/**
|
|
440
|
+
* serializeAws_restJson1DeleteAttachedFileCommand
|
|
441
|
+
*/
|
|
442
|
+
export declare const se_DeleteAttachedFileCommand: (input: DeleteAttachedFileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
426
443
|
/**
|
|
427
444
|
* serializeAws_restJson1DeleteContactEvaluationCommand
|
|
428
445
|
*/
|
|
@@ -663,6 +680,10 @@ export declare const se_DisassociateUserProficienciesCommand: (input: Disassocia
|
|
|
663
680
|
* serializeAws_restJson1DismissUserContactCommand
|
|
664
681
|
*/
|
|
665
682
|
export declare const se_DismissUserContactCommand: (input: DismissUserContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
683
|
+
/**
|
|
684
|
+
* serializeAws_restJson1GetAttachedFileCommand
|
|
685
|
+
*/
|
|
686
|
+
export declare const se_GetAttachedFileCommand: (input: GetAttachedFileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
666
687
|
/**
|
|
667
688
|
* serializeAws_restJson1GetContactAttributesCommand
|
|
668
689
|
*/
|
|
@@ -963,6 +984,10 @@ export declare const se_SearchVocabulariesCommand: (input: SearchVocabulariesCom
|
|
|
963
984
|
* serializeAws_restJson1SendChatIntegrationEventCommand
|
|
964
985
|
*/
|
|
965
986
|
export declare const se_SendChatIntegrationEventCommand: (input: SendChatIntegrationEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
987
|
+
/**
|
|
988
|
+
* serializeAws_restJson1StartAttachedFileUploadCommand
|
|
989
|
+
*/
|
|
990
|
+
export declare const se_StartAttachedFileUploadCommand: (input: StartAttachedFileUploadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
966
991
|
/**
|
|
967
992
|
* serializeAws_restJson1StartChatContactCommand
|
|
968
993
|
*/
|
|
@@ -1283,6 +1308,10 @@ export declare const de_BatchAssociateAnalyticsDataSetCommand: (output: __HttpRe
|
|
|
1283
1308
|
* deserializeAws_restJson1BatchDisassociateAnalyticsDataSetCommand
|
|
1284
1309
|
*/
|
|
1285
1310
|
export declare const de_BatchDisassociateAnalyticsDataSetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchDisassociateAnalyticsDataSetCommandOutput>;
|
|
1311
|
+
/**
|
|
1312
|
+
* deserializeAws_restJson1BatchGetAttachedFileMetadataCommand
|
|
1313
|
+
*/
|
|
1314
|
+
export declare const de_BatchGetAttachedFileMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetAttachedFileMetadataCommandOutput>;
|
|
1286
1315
|
/**
|
|
1287
1316
|
* deserializeAws_restJson1BatchGetFlowAssociationCommand
|
|
1288
1317
|
*/
|
|
@@ -1295,6 +1324,10 @@ export declare const de_BatchPutContactCommand: (output: __HttpResponse, context
|
|
|
1295
1324
|
* deserializeAws_restJson1ClaimPhoneNumberCommand
|
|
1296
1325
|
*/
|
|
1297
1326
|
export declare const de_ClaimPhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ClaimPhoneNumberCommandOutput>;
|
|
1327
|
+
/**
|
|
1328
|
+
* deserializeAws_restJson1CompleteAttachedFileUploadCommand
|
|
1329
|
+
*/
|
|
1330
|
+
export declare const de_CompleteAttachedFileUploadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CompleteAttachedFileUploadCommandOutput>;
|
|
1298
1331
|
/**
|
|
1299
1332
|
* deserializeAws_restJson1CreateAgentStatusCommand
|
|
1300
1333
|
*/
|
|
@@ -1395,6 +1428,10 @@ export declare const de_CreateVocabularyCommand: (output: __HttpResponse, contex
|
|
|
1395
1428
|
* deserializeAws_restJson1DeactivateEvaluationFormCommand
|
|
1396
1429
|
*/
|
|
1397
1430
|
export declare const de_DeactivateEvaluationFormCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeactivateEvaluationFormCommandOutput>;
|
|
1431
|
+
/**
|
|
1432
|
+
* deserializeAws_restJson1DeleteAttachedFileCommand
|
|
1433
|
+
*/
|
|
1434
|
+
export declare const de_DeleteAttachedFileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAttachedFileCommandOutput>;
|
|
1398
1435
|
/**
|
|
1399
1436
|
* deserializeAws_restJson1DeleteContactEvaluationCommand
|
|
1400
1437
|
*/
|
|
@@ -1635,6 +1672,10 @@ export declare const de_DisassociateUserProficienciesCommand: (output: __HttpRes
|
|
|
1635
1672
|
* deserializeAws_restJson1DismissUserContactCommand
|
|
1636
1673
|
*/
|
|
1637
1674
|
export declare const de_DismissUserContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DismissUserContactCommandOutput>;
|
|
1675
|
+
/**
|
|
1676
|
+
* deserializeAws_restJson1GetAttachedFileCommand
|
|
1677
|
+
*/
|
|
1678
|
+
export declare const de_GetAttachedFileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAttachedFileCommandOutput>;
|
|
1638
1679
|
/**
|
|
1639
1680
|
* deserializeAws_restJson1GetContactAttributesCommand
|
|
1640
1681
|
*/
|
|
@@ -1935,6 +1976,10 @@ export declare const de_SearchVocabulariesCommand: (output: __HttpResponse, cont
|
|
|
1935
1976
|
* deserializeAws_restJson1SendChatIntegrationEventCommand
|
|
1936
1977
|
*/
|
|
1937
1978
|
export declare const de_SendChatIntegrationEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendChatIntegrationEventCommandOutput>;
|
|
1979
|
+
/**
|
|
1980
|
+
* deserializeAws_restJson1StartAttachedFileUploadCommand
|
|
1981
|
+
*/
|
|
1982
|
+
export declare const de_StartAttachedFileUploadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartAttachedFileUploadCommandOutput>;
|
|
1938
1983
|
/**
|
|
1939
1984
|
* deserializeAws_restJson1StartChatContactCommand
|
|
1940
1985
|
*/
|