@aws-sdk/client-connect 3.223.0 → 3.225.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/dist-cjs/Connect.js +75 -0
- package/dist-cjs/commands/CreateRuleCommand.js +46 -0
- package/dist-cjs/commands/DeleteRuleCommand.js +46 -0
- package/dist-cjs/commands/DescribeRuleCommand.js +46 -0
- package/dist-cjs/commands/ListContactReferencesCommand.js +2 -1
- package/dist-cjs/commands/ListDefaultVocabulariesCommand.js +3 -3
- package/dist-cjs/commands/ListHoursOfOperationsCommand.js +3 -3
- package/dist-cjs/commands/ListInstanceAttributesCommand.js +3 -3
- package/dist-cjs/commands/ListInstanceStorageConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListInstancesCommand.js +3 -3
- package/dist-cjs/commands/ListIntegrationAssociationsCommand.js +3 -3
- package/dist-cjs/commands/ListRulesCommand.js +46 -0
- package/dist-cjs/commands/UpdateRuleCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +1 -10
- package/dist-cjs/models/models_0.js +104 -134
- package/dist-cjs/models/models_1.js +139 -8
- package/dist-cjs/pagination/ListRulesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +606 -7
- package/dist-es/Connect.js +75 -0
- package/dist-es/commands/CreateRuleCommand.js +42 -0
- package/dist-es/commands/DeleteRuleCommand.js +42 -0
- package/dist-es/commands/DescribeRuleCommand.js +42 -0
- package/dist-es/commands/ListContactReferencesCommand.js +2 -1
- package/dist-es/commands/ListDefaultVocabulariesCommand.js +1 -1
- package/dist-es/commands/ListHoursOfOperationsCommand.js +1 -1
- package/dist-es/commands/ListInstanceAttributesCommand.js +1 -1
- package/dist-es/commands/ListInstanceStorageConfigsCommand.js +1 -1
- package/dist-es/commands/ListInstancesCommand.js +1 -1
- package/dist-es/commands/ListIntegrationAssociationsCommand.js +1 -1
- package/dist-es/commands/ListRulesCommand.js +42 -0
- package/dist-es/commands/UpdateRuleCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +1 -10
- package/dist-es/models/models_0.js +83 -107
- package/dist-es/models/models_1.js +111 -3
- package/dist-es/pagination/ListRulesPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +589 -0
- package/dist-types/Connect.d.ts +44 -4
- package/dist-types/ConnectClient.d.ts +7 -2
- package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +5 -1
- package/dist-types/commands/CreateRuleCommand.d.ts +37 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +37 -0
- package/dist-types/commands/DescribeRuleCommand.d.ts +37 -0
- package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
- package/dist-types/commands/ListContactReferencesCommand.d.ts +2 -1
- package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +1 -1
- package/dist-types/commands/ListInstanceAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +37 -0
- package/dist-types/commands/MonitorContactCommand.d.ts +3 -2
- package/dist-types/commands/UpdateRuleCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +373 -516
- package/dist-types/models/models_1.d.ts +628 -29
- package/dist-types/pagination/ListRulesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -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/CreateRuleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListDefaultVocabulariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHoursOfOperationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInstanceAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInstanceStorageConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +147 -249
- package/dist-types/ts3.4/models/models_1.d.ts +294 -6
- package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +28 -28
|
@@ -1,6 +1,428 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
|
-
import { AgentStatusState, Channel, ContactFlowModuleState, ContactFlowState, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, LexBot, MediaConcurrency, MonitorCapability, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Queue, QueueStatus, QuickConnectConfig, QuickConnectType,
|
|
3
|
+
import { ActionSummary, AgentStatusState, AttachmentReference, Attribute, Channel, ContactFlowModuleState, ContactFlowState, DateReference, DirectoryType, EmailReference, EventSourceName, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, MediaConcurrency, MonitorCapability, NumberReference, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Queue, QueueStatus, QuickConnectConfig, QuickConnectType, Reference, RoutingProfile, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TelephonyConfig, TrafficDistributionGroupStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Information about a reference when the <code>referenceType</code> is <code>STRING</code>.
|
|
6
|
+
* Otherwise, null.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface StringReference {
|
|
9
|
+
/**
|
|
10
|
+
* <p>Identifier of the string reference.</p>
|
|
11
|
+
*/
|
|
12
|
+
Name?: string;
|
|
13
|
+
/**
|
|
14
|
+
* <p>A valid string.</p>
|
|
15
|
+
*/
|
|
16
|
+
Value?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* <p>The URL reference.</p>
|
|
20
|
+
*/
|
|
21
|
+
export interface UrlReference {
|
|
22
|
+
/**
|
|
23
|
+
* <p>Identifier of the URL reference.</p>
|
|
24
|
+
*/
|
|
25
|
+
Name?: string;
|
|
26
|
+
/**
|
|
27
|
+
* <p>A valid URL.</p>
|
|
28
|
+
*/
|
|
29
|
+
Value?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* <p>Contains summary information about a reference. <code>ReferenceSummary</code> contains only
|
|
33
|
+
* one non null field between the URL and attachment based on the reference type.</p>
|
|
34
|
+
*/
|
|
35
|
+
export declare type ReferenceSummary = ReferenceSummary.AttachmentMember | ReferenceSummary.DateMember | ReferenceSummary.EmailMember | ReferenceSummary.NumberMember | ReferenceSummary.StringMember | ReferenceSummary.UrlMember | ReferenceSummary.$UnknownMember;
|
|
36
|
+
export declare namespace ReferenceSummary {
|
|
37
|
+
/**
|
|
38
|
+
* <p>Information about the reference when the <code>referenceType</code> is <code>URL</code>.
|
|
39
|
+
* Otherwise, null.</p>
|
|
40
|
+
*/
|
|
41
|
+
interface UrlMember {
|
|
42
|
+
Url: UrlReference;
|
|
43
|
+
Attachment?: never;
|
|
44
|
+
String?: never;
|
|
45
|
+
Number?: never;
|
|
46
|
+
Date?: never;
|
|
47
|
+
Email?: never;
|
|
48
|
+
$unknown?: never;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* <p>Information about the reference when the <code>referenceType</code> is
|
|
52
|
+
* <code>ATTACHMENT</code>. Otherwise, null.</p>
|
|
53
|
+
*/
|
|
54
|
+
interface AttachmentMember {
|
|
55
|
+
Url?: never;
|
|
56
|
+
Attachment: AttachmentReference;
|
|
57
|
+
String?: never;
|
|
58
|
+
Number?: never;
|
|
59
|
+
Date?: never;
|
|
60
|
+
Email?: never;
|
|
61
|
+
$unknown?: never;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>Information about a reference when the <code>referenceType</code> is <code>STRING</code>.
|
|
65
|
+
* Otherwise, null.</p>
|
|
66
|
+
*/
|
|
67
|
+
interface StringMember {
|
|
68
|
+
Url?: never;
|
|
69
|
+
Attachment?: never;
|
|
70
|
+
String: StringReference;
|
|
71
|
+
Number?: never;
|
|
72
|
+
Date?: never;
|
|
73
|
+
Email?: never;
|
|
74
|
+
$unknown?: never;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* <p>Information about a reference when the <code>referenceType</code> is <code>NUMBER</code>.
|
|
78
|
+
* Otherwise, null.</p>
|
|
79
|
+
*/
|
|
80
|
+
interface NumberMember {
|
|
81
|
+
Url?: never;
|
|
82
|
+
Attachment?: never;
|
|
83
|
+
String?: never;
|
|
84
|
+
Number: NumberReference;
|
|
85
|
+
Date?: never;
|
|
86
|
+
Email?: never;
|
|
87
|
+
$unknown?: never;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* <p>Information about a reference when the <code>referenceType</code> is <code>DATE</code>.
|
|
91
|
+
* Otherwise, null.</p>
|
|
92
|
+
*/
|
|
93
|
+
interface DateMember {
|
|
94
|
+
Url?: never;
|
|
95
|
+
Attachment?: never;
|
|
96
|
+
String?: never;
|
|
97
|
+
Number?: never;
|
|
98
|
+
Date: DateReference;
|
|
99
|
+
Email?: never;
|
|
100
|
+
$unknown?: never;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* <p>Information about a reference when the <code>referenceType</code> is <code>EMAIL</code>.
|
|
104
|
+
* Otherwise, null.</p>
|
|
105
|
+
*/
|
|
106
|
+
interface EmailMember {
|
|
107
|
+
Url?: never;
|
|
108
|
+
Attachment?: never;
|
|
109
|
+
String?: never;
|
|
110
|
+
Number?: never;
|
|
111
|
+
Date?: never;
|
|
112
|
+
Email: EmailReference;
|
|
113
|
+
$unknown?: never;
|
|
114
|
+
}
|
|
115
|
+
interface $UnknownMember {
|
|
116
|
+
Url?: never;
|
|
117
|
+
Attachment?: never;
|
|
118
|
+
String?: never;
|
|
119
|
+
Number?: never;
|
|
120
|
+
Date?: never;
|
|
121
|
+
Email?: never;
|
|
122
|
+
$unknown: [string, any];
|
|
123
|
+
}
|
|
124
|
+
interface Visitor<T> {
|
|
125
|
+
Url: (value: UrlReference) => T;
|
|
126
|
+
Attachment: (value: AttachmentReference) => T;
|
|
127
|
+
String: (value: StringReference) => T;
|
|
128
|
+
Number: (value: NumberReference) => T;
|
|
129
|
+
Date: (value: DateReference) => T;
|
|
130
|
+
Email: (value: EmailReference) => T;
|
|
131
|
+
_: (name: string, value: any) => T;
|
|
132
|
+
}
|
|
133
|
+
const visit: <T>(value: ReferenceSummary, visitor: Visitor<T>) => T;
|
|
134
|
+
}
|
|
135
|
+
export interface ListContactReferencesResponse {
|
|
136
|
+
/**
|
|
137
|
+
* <p>Information about the flows.</p>
|
|
138
|
+
*/
|
|
139
|
+
ReferenceSummaryList?: ReferenceSummary[];
|
|
140
|
+
/**
|
|
141
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
142
|
+
* <important>
|
|
143
|
+
* <p>This is always returned as null in the response.</p>
|
|
144
|
+
* </important>
|
|
145
|
+
*/
|
|
146
|
+
NextToken?: string;
|
|
147
|
+
}
|
|
148
|
+
export interface ListDefaultVocabulariesRequest {
|
|
149
|
+
/**
|
|
150
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
151
|
+
*/
|
|
152
|
+
InstanceId: string | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* <p>The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see
|
|
155
|
+
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html">What is Amazon Transcribe?</a>
|
|
156
|
+
* </p>
|
|
157
|
+
*/
|
|
158
|
+
LanguageCode?: VocabularyLanguageCode | string;
|
|
159
|
+
/**
|
|
160
|
+
* <p>The maximum number of results to return per page.</p>
|
|
161
|
+
*/
|
|
162
|
+
MaxResults?: number;
|
|
163
|
+
/**
|
|
164
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
165
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
166
|
+
*/
|
|
167
|
+
NextToken?: string;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* <p>Contains information about a default vocabulary.</p>
|
|
171
|
+
*/
|
|
172
|
+
export interface DefaultVocabulary {
|
|
173
|
+
/**
|
|
174
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
175
|
+
*/
|
|
176
|
+
InstanceId: string | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* <p>The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see
|
|
179
|
+
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html">What is Amazon Transcribe?</a>
|
|
180
|
+
* </p>
|
|
181
|
+
*/
|
|
182
|
+
LanguageCode: VocabularyLanguageCode | string | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* <p>The identifier of the custom vocabulary.</p>
|
|
185
|
+
*/
|
|
186
|
+
VocabularyId: string | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* <p>A unique name of the custom vocabulary.</p>
|
|
189
|
+
*/
|
|
190
|
+
VocabularyName: string | undefined;
|
|
191
|
+
}
|
|
192
|
+
export interface ListDefaultVocabulariesResponse {
|
|
193
|
+
/**
|
|
194
|
+
* <p>A list of default vocabularies.</p>
|
|
195
|
+
*/
|
|
196
|
+
DefaultVocabularyList: DefaultVocabulary[] | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
199
|
+
*/
|
|
200
|
+
NextToken?: string;
|
|
201
|
+
}
|
|
202
|
+
export interface ListHoursOfOperationsRequest {
|
|
203
|
+
/**
|
|
204
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
205
|
+
*/
|
|
206
|
+
InstanceId: string | undefined;
|
|
207
|
+
/**
|
|
208
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
209
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
210
|
+
*/
|
|
211
|
+
NextToken?: string;
|
|
212
|
+
/**
|
|
213
|
+
* <p>The maximum number of results to return per page. The default MaxResult size is 100.</p>
|
|
214
|
+
*/
|
|
215
|
+
MaxResults?: number;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* <p>Contains summary information about hours of operation for a contact center.</p>
|
|
219
|
+
*/
|
|
220
|
+
export interface HoursOfOperationSummary {
|
|
221
|
+
/**
|
|
222
|
+
* <p>The identifier of the hours of operation.</p>
|
|
223
|
+
*/
|
|
224
|
+
Id?: string;
|
|
225
|
+
/**
|
|
226
|
+
* <p>The Amazon Resource Name (ARN) of the hours of operation.</p>
|
|
227
|
+
*/
|
|
228
|
+
Arn?: string;
|
|
229
|
+
/**
|
|
230
|
+
* <p>The name of the hours of operation.</p>
|
|
231
|
+
*/
|
|
232
|
+
Name?: string;
|
|
233
|
+
}
|
|
234
|
+
export interface ListHoursOfOperationsResponse {
|
|
235
|
+
/**
|
|
236
|
+
* <p>Information about the hours of operation.</p>
|
|
237
|
+
*/
|
|
238
|
+
HoursOfOperationSummaryList?: HoursOfOperationSummary[];
|
|
239
|
+
/**
|
|
240
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
241
|
+
*/
|
|
242
|
+
NextToken?: string;
|
|
243
|
+
}
|
|
244
|
+
export interface ListInstanceAttributesRequest {
|
|
245
|
+
/**
|
|
246
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
247
|
+
*/
|
|
248
|
+
InstanceId: string | undefined;
|
|
249
|
+
/**
|
|
250
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
251
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
252
|
+
*/
|
|
253
|
+
NextToken?: string;
|
|
254
|
+
/**
|
|
255
|
+
* <p>The maximum number of results to return per page.</p>
|
|
256
|
+
*/
|
|
257
|
+
MaxResults?: number;
|
|
258
|
+
}
|
|
259
|
+
export interface ListInstanceAttributesResponse {
|
|
260
|
+
/**
|
|
261
|
+
* <p>The attribute types.</p>
|
|
262
|
+
*/
|
|
263
|
+
Attributes?: Attribute[];
|
|
264
|
+
/**
|
|
265
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
266
|
+
*/
|
|
267
|
+
NextToken?: string;
|
|
268
|
+
}
|
|
269
|
+
export interface ListInstancesRequest {
|
|
270
|
+
/**
|
|
271
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
272
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
273
|
+
*/
|
|
274
|
+
NextToken?: string;
|
|
275
|
+
/**
|
|
276
|
+
* <p>The maximum number of results to return per page.</p>
|
|
277
|
+
*/
|
|
278
|
+
MaxResults?: number;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* <p>Information about the instance.</p>
|
|
282
|
+
*/
|
|
283
|
+
export interface InstanceSummary {
|
|
284
|
+
/**
|
|
285
|
+
* <p>The identifier of the instance.</p>
|
|
286
|
+
*/
|
|
287
|
+
Id?: string;
|
|
288
|
+
/**
|
|
289
|
+
* <p>The Amazon Resource Name (ARN) of the instance.</p>
|
|
290
|
+
*/
|
|
291
|
+
Arn?: string;
|
|
292
|
+
/**
|
|
293
|
+
* <p>The identity management type of the instance.</p>
|
|
294
|
+
*/
|
|
295
|
+
IdentityManagementType?: DirectoryType | string;
|
|
296
|
+
/**
|
|
297
|
+
* <p>The alias of the instance.</p>
|
|
298
|
+
*/
|
|
299
|
+
InstanceAlias?: string;
|
|
300
|
+
/**
|
|
301
|
+
* <p>When the instance was created.</p>
|
|
302
|
+
*/
|
|
303
|
+
CreatedTime?: Date;
|
|
304
|
+
/**
|
|
305
|
+
* <p>The service role of the instance.</p>
|
|
306
|
+
*/
|
|
307
|
+
ServiceRole?: string;
|
|
308
|
+
/**
|
|
309
|
+
* <p>The state of the instance.</p>
|
|
310
|
+
*/
|
|
311
|
+
InstanceStatus?: InstanceStatus | string;
|
|
312
|
+
/**
|
|
313
|
+
* <p>Whether inbound calls are enabled.</p>
|
|
314
|
+
*/
|
|
315
|
+
InboundCallsEnabled?: boolean;
|
|
316
|
+
/**
|
|
317
|
+
* <p>Whether outbound calls are enabled.</p>
|
|
318
|
+
*/
|
|
319
|
+
OutboundCallsEnabled?: boolean;
|
|
320
|
+
}
|
|
321
|
+
export interface ListInstancesResponse {
|
|
322
|
+
/**
|
|
323
|
+
* <p>Information about the instances.</p>
|
|
324
|
+
*/
|
|
325
|
+
InstanceSummaryList?: InstanceSummary[];
|
|
326
|
+
/**
|
|
327
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
328
|
+
*/
|
|
329
|
+
NextToken?: string;
|
|
330
|
+
}
|
|
331
|
+
export interface ListInstanceStorageConfigsRequest {
|
|
332
|
+
/**
|
|
333
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
334
|
+
*/
|
|
335
|
+
InstanceId: string | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* <p>A valid resource type.</p>
|
|
338
|
+
*/
|
|
339
|
+
ResourceType: InstanceStorageResourceType | string | undefined;
|
|
340
|
+
/**
|
|
341
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
342
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
343
|
+
*/
|
|
344
|
+
NextToken?: string;
|
|
345
|
+
/**
|
|
346
|
+
* <p>The maximum number of results to return per page.</p>
|
|
347
|
+
*/
|
|
348
|
+
MaxResults?: number;
|
|
349
|
+
}
|
|
350
|
+
export interface ListInstanceStorageConfigsResponse {
|
|
351
|
+
/**
|
|
352
|
+
* <p>A valid storage type.</p>
|
|
353
|
+
*/
|
|
354
|
+
StorageConfigs?: InstanceStorageConfig[];
|
|
355
|
+
/**
|
|
356
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
357
|
+
*/
|
|
358
|
+
NextToken?: string;
|
|
359
|
+
}
|
|
360
|
+
export interface ListIntegrationAssociationsRequest {
|
|
361
|
+
/**
|
|
362
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
363
|
+
*/
|
|
364
|
+
InstanceId: string | undefined;
|
|
365
|
+
/**
|
|
366
|
+
* <p>The integration type.</p>
|
|
367
|
+
*/
|
|
368
|
+
IntegrationType?: IntegrationType | string;
|
|
369
|
+
/**
|
|
370
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
371
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
372
|
+
*/
|
|
373
|
+
NextToken?: string;
|
|
374
|
+
/**
|
|
375
|
+
* <p>The maximum number of results to return per page.</p>
|
|
376
|
+
*/
|
|
377
|
+
MaxResults?: number;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* <p>Contains summary information about the associated AppIntegrations.</p>
|
|
381
|
+
*/
|
|
382
|
+
export interface IntegrationAssociationSummary {
|
|
383
|
+
/**
|
|
384
|
+
* <p>The identifier for the AppIntegration association.</p>
|
|
385
|
+
*/
|
|
386
|
+
IntegrationAssociationId?: string;
|
|
387
|
+
/**
|
|
388
|
+
* <p>The Amazon Resource Name (ARN) for the AppIntegration association.</p>
|
|
389
|
+
*/
|
|
390
|
+
IntegrationAssociationArn?: string;
|
|
391
|
+
/**
|
|
392
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
393
|
+
*/
|
|
394
|
+
InstanceId?: string;
|
|
395
|
+
/**
|
|
396
|
+
* <p>The integration type.</p>
|
|
397
|
+
*/
|
|
398
|
+
IntegrationType?: IntegrationType | string;
|
|
399
|
+
/**
|
|
400
|
+
* <p>The Amazon Resource Name (ARN) for the AppIntegration.</p>
|
|
401
|
+
*/
|
|
402
|
+
IntegrationArn?: string;
|
|
403
|
+
/**
|
|
404
|
+
* <p>The URL for the external application.</p>
|
|
405
|
+
*/
|
|
406
|
+
SourceApplicationUrl?: string;
|
|
407
|
+
/**
|
|
408
|
+
* <p>The user-provided, friendly name for the external application.</p>
|
|
409
|
+
*/
|
|
410
|
+
SourceApplicationName?: string;
|
|
411
|
+
/**
|
|
412
|
+
* <p>The name of the source.</p>
|
|
413
|
+
*/
|
|
414
|
+
SourceType?: SourceType | string;
|
|
415
|
+
}
|
|
416
|
+
export interface ListIntegrationAssociationsResponse {
|
|
417
|
+
/**
|
|
418
|
+
* <p>The associations.</p>
|
|
419
|
+
*/
|
|
420
|
+
IntegrationAssociationSummaryList?: IntegrationAssociationSummary[];
|
|
421
|
+
/**
|
|
422
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
423
|
+
*/
|
|
424
|
+
NextToken?: string;
|
|
425
|
+
}
|
|
4
426
|
export interface ListLambdaFunctionsRequest {
|
|
5
427
|
/**
|
|
6
428
|
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
@@ -461,6 +883,76 @@ export interface ListRoutingProfilesResponse {
|
|
|
461
883
|
*/
|
|
462
884
|
NextToken?: string;
|
|
463
885
|
}
|
|
886
|
+
export interface ListRulesRequest {
|
|
887
|
+
/**
|
|
888
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
889
|
+
*/
|
|
890
|
+
InstanceId: string | undefined;
|
|
891
|
+
/**
|
|
892
|
+
* <p>The publish status of the rule.</p>
|
|
893
|
+
*/
|
|
894
|
+
PublishStatus?: RulePublishStatus | string;
|
|
895
|
+
/**
|
|
896
|
+
* <p>The name of the event source.</p>
|
|
897
|
+
*/
|
|
898
|
+
EventSourceName?: EventSourceName | string;
|
|
899
|
+
/**
|
|
900
|
+
* <p>The maximum number of results to return per page.</p>
|
|
901
|
+
*/
|
|
902
|
+
MaxResults?: number;
|
|
903
|
+
/**
|
|
904
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
905
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
906
|
+
*/
|
|
907
|
+
NextToken?: string;
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* <p>A list of <code>ActionTypes</code> associated with a rule. </p>
|
|
911
|
+
*/
|
|
912
|
+
export interface RuleSummary {
|
|
913
|
+
/**
|
|
914
|
+
* <p>The name of the rule.</p>
|
|
915
|
+
*/
|
|
916
|
+
Name: string | undefined;
|
|
917
|
+
/**
|
|
918
|
+
* <p>A unique identifier for the rule.</p>
|
|
919
|
+
*/
|
|
920
|
+
RuleId: string | undefined;
|
|
921
|
+
/**
|
|
922
|
+
* <p>The Amazon Resource Name (ARN) of the rule.</p>
|
|
923
|
+
*/
|
|
924
|
+
RuleArn: string | undefined;
|
|
925
|
+
/**
|
|
926
|
+
* <p>The name of the event source.</p>
|
|
927
|
+
*/
|
|
928
|
+
EventSourceName: EventSourceName | string | undefined;
|
|
929
|
+
/**
|
|
930
|
+
* <p>The publish status of the rule.</p>
|
|
931
|
+
*/
|
|
932
|
+
PublishStatus: RulePublishStatus | string | undefined;
|
|
933
|
+
/**
|
|
934
|
+
* <p>A list of ActionTypes associated with a rule. </p>
|
|
935
|
+
*/
|
|
936
|
+
ActionSummaries: ActionSummary[] | undefined;
|
|
937
|
+
/**
|
|
938
|
+
* <p>The timestamp for when the rule was created. </p>
|
|
939
|
+
*/
|
|
940
|
+
CreatedTime: Date | undefined;
|
|
941
|
+
/**
|
|
942
|
+
* <p>The timestamp for when the rule was last updated.</p>
|
|
943
|
+
*/
|
|
944
|
+
LastUpdatedTime: Date | undefined;
|
|
945
|
+
}
|
|
946
|
+
export interface ListRulesResponse {
|
|
947
|
+
/**
|
|
948
|
+
* <p>Summary information about a rule.</p>
|
|
949
|
+
*/
|
|
950
|
+
RuleSummaryList: RuleSummary[] | undefined;
|
|
951
|
+
/**
|
|
952
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
953
|
+
*/
|
|
954
|
+
NextToken?: string;
|
|
955
|
+
}
|
|
464
956
|
export interface ListSecurityKeysRequest {
|
|
465
957
|
/**
|
|
466
958
|
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
@@ -871,7 +1363,8 @@ export interface ListUsersResponse {
|
|
|
871
1363
|
}
|
|
872
1364
|
export interface MonitorContactRequest {
|
|
873
1365
|
/**
|
|
874
|
-
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the
|
|
1366
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the
|
|
1367
|
+
* instance.</p>
|
|
875
1368
|
*/
|
|
876
1369
|
InstanceId: string | undefined;
|
|
877
1370
|
/**
|
|
@@ -883,8 +1376,8 @@ export interface MonitorContactRequest {
|
|
|
883
1376
|
*/
|
|
884
1377
|
UserId: string | undefined;
|
|
885
1378
|
/**
|
|
886
|
-
* <p>Specify which monitoring actions the user is allowed to take. For example, whether the user
|
|
887
|
-
* allowed to escalate from silent monitoring to barge.</p>
|
|
1379
|
+
* <p>Specify which monitoring actions the user is allowed to take. For example, whether the user
|
|
1380
|
+
* is allowed to escalate from silent monitoring to barge.</p>
|
|
888
1381
|
*/
|
|
889
1382
|
AllowedMonitorCapabilities?: (MonitorCapability | string)[];
|
|
890
1383
|
/**
|
|
@@ -1704,22 +2197,6 @@ export interface StartOutboundVoiceContactResponse {
|
|
|
1704
2197
|
*/
|
|
1705
2198
|
ContactId?: string;
|
|
1706
2199
|
}
|
|
1707
|
-
/**
|
|
1708
|
-
* <p>Well-formed data on a contact, used by agents to complete a contact request. You can have up
|
|
1709
|
-
* to 4,096 UTF-8 bytes across all references for a contact.</p>
|
|
1710
|
-
*/
|
|
1711
|
-
export interface Reference {
|
|
1712
|
-
/**
|
|
1713
|
-
* <p>A valid value for the reference. For example, for a URL reference, a formatted URL that is
|
|
1714
|
-
* displayed to an agent in the Contact Control Panel (CCP).</p>
|
|
1715
|
-
*/
|
|
1716
|
-
Value: string | undefined;
|
|
1717
|
-
/**
|
|
1718
|
-
* <p>The type of the reference. <code>DATE</code> must be of type Epoch timestamp.
|
|
1719
|
-
* </p>
|
|
1720
|
-
*/
|
|
1721
|
-
Type: ReferenceType | string | undefined;
|
|
1722
|
-
}
|
|
1723
2200
|
export interface StartTaskContactRequest {
|
|
1724
2201
|
/**
|
|
1725
2202
|
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
@@ -2364,6 +2841,35 @@ export interface UpdateRoutingProfileQueuesRequest {
|
|
|
2364
2841
|
*/
|
|
2365
2842
|
QueueConfigs: RoutingProfileQueueConfig[] | undefined;
|
|
2366
2843
|
}
|
|
2844
|
+
export interface UpdateRuleRequest {
|
|
2845
|
+
/**
|
|
2846
|
+
* <p>A unique identifier for the rule.</p>
|
|
2847
|
+
*/
|
|
2848
|
+
RuleId: string | undefined;
|
|
2849
|
+
/**
|
|
2850
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
2851
|
+
*/
|
|
2852
|
+
InstanceId: string | undefined;
|
|
2853
|
+
/**
|
|
2854
|
+
* <p>The name of the rule. You can change the name only if <code>TriggerEventSource</code> is one
|
|
2855
|
+
* of the following values: <code>OnZendeskTicketCreate</code> |
|
|
2856
|
+
* <code>OnZendeskTicketStatusUpdate</code> | <code>OnSalesforceCaseCreate</code>
|
|
2857
|
+
* </p>
|
|
2858
|
+
*/
|
|
2859
|
+
Name: string | undefined;
|
|
2860
|
+
/**
|
|
2861
|
+
* <p>The conditions of the rule.</p>
|
|
2862
|
+
*/
|
|
2863
|
+
Function: string | undefined;
|
|
2864
|
+
/**
|
|
2865
|
+
* <p>A list of actions to be run when the rule is triggered.</p>
|
|
2866
|
+
*/
|
|
2867
|
+
Actions: RuleAction[] | undefined;
|
|
2868
|
+
/**
|
|
2869
|
+
* <p>The publish status of the rule.</p>
|
|
2870
|
+
*/
|
|
2871
|
+
PublishStatus: RulePublishStatus | string | undefined;
|
|
2872
|
+
}
|
|
2367
2873
|
export interface UpdateSecurityProfileRequest {
|
|
2368
2874
|
/**
|
|
2369
2875
|
* <p>The description of the security profile.</p>
|
|
@@ -2664,6 +3170,7 @@ export interface QueueSearchCriteria {
|
|
|
2664
3170
|
* <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
|
|
2665
3171
|
* a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
|
|
2666
3172
|
* outside of this range will throw invalid results. </p>
|
|
3173
|
+
*
|
|
2667
3174
|
* </note>
|
|
2668
3175
|
*/
|
|
2669
3176
|
export interface RoutingProfileSearchCriteria {
|
|
@@ -2717,8 +3224,7 @@ export interface SecurityProfileSearchCriteria {
|
|
|
2717
3224
|
* <note>
|
|
2718
3225
|
* <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
|
|
2719
3226
|
* a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
|
|
2720
|
-
* outside of this range will throw invalid results.
|
|
2721
|
-
* </p>
|
|
3227
|
+
* outside of this range will throw invalid results. </p>
|
|
2722
3228
|
* </note>
|
|
2723
3229
|
*/
|
|
2724
3230
|
export interface UserSearchCriteria {
|
|
@@ -2814,7 +3320,9 @@ export interface SearchSecurityProfilesRequest {
|
|
|
2814
3320
|
/**
|
|
2815
3321
|
* <p>The search criteria to be used to return security profiles. </p>
|
|
2816
3322
|
* <note>
|
|
2817
|
-
* <p>The <code>name</code> field support "contains" queries with a minimum of 2 characters and
|
|
3323
|
+
* <p>The <code>name</code> field support "contains" queries with a minimum of 2 characters and
|
|
3324
|
+
* maximum of 25 characters. Any queries with character lengths outside of this range will throw
|
|
3325
|
+
* invalid results.</p>
|
|
2818
3326
|
* </note>
|
|
2819
3327
|
* <note>
|
|
2820
3328
|
* <p>The currently supported value for <code>FieldName</code>: <code>name</code>
|
|
@@ -2851,12 +3359,91 @@ export interface SearchUsersRequest {
|
|
|
2851
3359
|
* <note>
|
|
2852
3360
|
* <p>The <code>name</code> and <code>description</code> fields support "contains" queries with
|
|
2853
3361
|
* a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths
|
|
2854
|
-
* outside of this range will throw invalid results.
|
|
2855
|
-
* </p>
|
|
3362
|
+
* outside of this range will throw invalid results. </p>
|
|
2856
3363
|
* </note>
|
|
2857
3364
|
*/
|
|
2858
3365
|
SearchCriteria?: UserSearchCriteria;
|
|
2859
3366
|
}
|
|
3367
|
+
/**
|
|
3368
|
+
* @internal
|
|
3369
|
+
*/
|
|
3370
|
+
export declare const StringReferenceFilterSensitiveLog: (obj: StringReference) => any;
|
|
3371
|
+
/**
|
|
3372
|
+
* @internal
|
|
3373
|
+
*/
|
|
3374
|
+
export declare const UrlReferenceFilterSensitiveLog: (obj: UrlReference) => any;
|
|
3375
|
+
/**
|
|
3376
|
+
* @internal
|
|
3377
|
+
*/
|
|
3378
|
+
export declare const ReferenceSummaryFilterSensitiveLog: (obj: ReferenceSummary) => any;
|
|
3379
|
+
/**
|
|
3380
|
+
* @internal
|
|
3381
|
+
*/
|
|
3382
|
+
export declare const ListContactReferencesResponseFilterSensitiveLog: (obj: ListContactReferencesResponse) => any;
|
|
3383
|
+
/**
|
|
3384
|
+
* @internal
|
|
3385
|
+
*/
|
|
3386
|
+
export declare const ListDefaultVocabulariesRequestFilterSensitiveLog: (obj: ListDefaultVocabulariesRequest) => any;
|
|
3387
|
+
/**
|
|
3388
|
+
* @internal
|
|
3389
|
+
*/
|
|
3390
|
+
export declare const DefaultVocabularyFilterSensitiveLog: (obj: DefaultVocabulary) => any;
|
|
3391
|
+
/**
|
|
3392
|
+
* @internal
|
|
3393
|
+
*/
|
|
3394
|
+
export declare const ListDefaultVocabulariesResponseFilterSensitiveLog: (obj: ListDefaultVocabulariesResponse) => any;
|
|
3395
|
+
/**
|
|
3396
|
+
* @internal
|
|
3397
|
+
*/
|
|
3398
|
+
export declare const ListHoursOfOperationsRequestFilterSensitiveLog: (obj: ListHoursOfOperationsRequest) => any;
|
|
3399
|
+
/**
|
|
3400
|
+
* @internal
|
|
3401
|
+
*/
|
|
3402
|
+
export declare const HoursOfOperationSummaryFilterSensitiveLog: (obj: HoursOfOperationSummary) => any;
|
|
3403
|
+
/**
|
|
3404
|
+
* @internal
|
|
3405
|
+
*/
|
|
3406
|
+
export declare const ListHoursOfOperationsResponseFilterSensitiveLog: (obj: ListHoursOfOperationsResponse) => any;
|
|
3407
|
+
/**
|
|
3408
|
+
* @internal
|
|
3409
|
+
*/
|
|
3410
|
+
export declare const ListInstanceAttributesRequestFilterSensitiveLog: (obj: ListInstanceAttributesRequest) => any;
|
|
3411
|
+
/**
|
|
3412
|
+
* @internal
|
|
3413
|
+
*/
|
|
3414
|
+
export declare const ListInstanceAttributesResponseFilterSensitiveLog: (obj: ListInstanceAttributesResponse) => any;
|
|
3415
|
+
/**
|
|
3416
|
+
* @internal
|
|
3417
|
+
*/
|
|
3418
|
+
export declare const ListInstancesRequestFilterSensitiveLog: (obj: ListInstancesRequest) => any;
|
|
3419
|
+
/**
|
|
3420
|
+
* @internal
|
|
3421
|
+
*/
|
|
3422
|
+
export declare const InstanceSummaryFilterSensitiveLog: (obj: InstanceSummary) => any;
|
|
3423
|
+
/**
|
|
3424
|
+
* @internal
|
|
3425
|
+
*/
|
|
3426
|
+
export declare const ListInstancesResponseFilterSensitiveLog: (obj: ListInstancesResponse) => any;
|
|
3427
|
+
/**
|
|
3428
|
+
* @internal
|
|
3429
|
+
*/
|
|
3430
|
+
export declare const ListInstanceStorageConfigsRequestFilterSensitiveLog: (obj: ListInstanceStorageConfigsRequest) => any;
|
|
3431
|
+
/**
|
|
3432
|
+
* @internal
|
|
3433
|
+
*/
|
|
3434
|
+
export declare const ListInstanceStorageConfigsResponseFilterSensitiveLog: (obj: ListInstanceStorageConfigsResponse) => any;
|
|
3435
|
+
/**
|
|
3436
|
+
* @internal
|
|
3437
|
+
*/
|
|
3438
|
+
export declare const ListIntegrationAssociationsRequestFilterSensitiveLog: (obj: ListIntegrationAssociationsRequest) => any;
|
|
3439
|
+
/**
|
|
3440
|
+
* @internal
|
|
3441
|
+
*/
|
|
3442
|
+
export declare const IntegrationAssociationSummaryFilterSensitiveLog: (obj: IntegrationAssociationSummary) => any;
|
|
3443
|
+
/**
|
|
3444
|
+
* @internal
|
|
3445
|
+
*/
|
|
3446
|
+
export declare const ListIntegrationAssociationsResponseFilterSensitiveLog: (obj: ListIntegrationAssociationsResponse) => any;
|
|
2860
3447
|
/**
|
|
2861
3448
|
* @internal
|
|
2862
3449
|
*/
|
|
@@ -2965,6 +3552,18 @@ export declare const RoutingProfileSummaryFilterSensitiveLog: (obj: RoutingProfi
|
|
|
2965
3552
|
* @internal
|
|
2966
3553
|
*/
|
|
2967
3554
|
export declare const ListRoutingProfilesResponseFilterSensitiveLog: (obj: ListRoutingProfilesResponse) => any;
|
|
3555
|
+
/**
|
|
3556
|
+
* @internal
|
|
3557
|
+
*/
|
|
3558
|
+
export declare const ListRulesRequestFilterSensitiveLog: (obj: ListRulesRequest) => any;
|
|
3559
|
+
/**
|
|
3560
|
+
* @internal
|
|
3561
|
+
*/
|
|
3562
|
+
export declare const RuleSummaryFilterSensitiveLog: (obj: RuleSummary) => any;
|
|
3563
|
+
/**
|
|
3564
|
+
* @internal
|
|
3565
|
+
*/
|
|
3566
|
+
export declare const ListRulesResponseFilterSensitiveLog: (obj: ListRulesResponse) => any;
|
|
2968
3567
|
/**
|
|
2969
3568
|
* @internal
|
|
2970
3569
|
*/
|
|
@@ -3233,10 +3832,6 @@ export declare const StartOutboundVoiceContactRequestFilterSensitiveLog: (obj: S
|
|
|
3233
3832
|
* @internal
|
|
3234
3833
|
*/
|
|
3235
3834
|
export declare const StartOutboundVoiceContactResponseFilterSensitiveLog: (obj: StartOutboundVoiceContactResponse) => any;
|
|
3236
|
-
/**
|
|
3237
|
-
* @internal
|
|
3238
|
-
*/
|
|
3239
|
-
export declare const ReferenceFilterSensitiveLog: (obj: Reference) => any;
|
|
3240
3835
|
/**
|
|
3241
3836
|
* @internal
|
|
3242
3837
|
*/
|
|
@@ -3413,6 +4008,10 @@ export declare const UpdateRoutingProfileNameRequestFilterSensitiveLog: (obj: Up
|
|
|
3413
4008
|
* @internal
|
|
3414
4009
|
*/
|
|
3415
4010
|
export declare const UpdateRoutingProfileQueuesRequestFilterSensitiveLog: (obj: UpdateRoutingProfileQueuesRequest) => any;
|
|
4011
|
+
/**
|
|
4012
|
+
* @internal
|
|
4013
|
+
*/
|
|
4014
|
+
export declare const UpdateRuleRequestFilterSensitiveLog: (obj: UpdateRuleRequest) => any;
|
|
3416
4015
|
/**
|
|
3417
4016
|
* @internal
|
|
3418
4017
|
*/
|