@aws-sdk/client-connect 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/ConnectServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +247 -6
- package/dist-cjs/models/models_1.js +31 -2
- package/dist-cjs/protocols/Aws_restJson1.js +1432 -5764
- package/dist-es/index.js +1 -0
- package/dist-es/models/ConnectServiceException.js +12 -0
- package/dist-es/models/models_0.js +225 -1
- package/dist-es/models/models_1.js +28 -1
- package/dist-es/protocols/Aws_restJson1.js +3180 -6324
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ConnectServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +121 -52
- package/dist-types/models/models_1.d.ts +16 -7
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/ConnectServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +87 -52
- package/dist-types/ts3.4/models/models_1.d.ts +12 -7
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Connect service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ConnectServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
8
9
|
Message?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
14
|
}
|
|
10
15
|
/**
|
|
11
16
|
* <p>Information about the agent who accepted the contact.</p>
|
|
@@ -126,70 +131,98 @@ export declare namespace AssociateApprovedOriginRequest {
|
|
|
126
131
|
/**
|
|
127
132
|
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
128
133
|
*/
|
|
129
|
-
export
|
|
130
|
-
name: "InternalServiceException";
|
|
131
|
-
$fault: "server";
|
|
134
|
+
export declare class InternalServiceException extends __BaseException {
|
|
135
|
+
readonly name: "InternalServiceException";
|
|
136
|
+
readonly $fault: "server";
|
|
132
137
|
/**
|
|
133
138
|
* <p>The message.</p>
|
|
134
139
|
*/
|
|
135
140
|
Message?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
136
145
|
}
|
|
137
146
|
/**
|
|
138
147
|
* <p>One or more of the specified parameters are not valid.</p>
|
|
139
148
|
*/
|
|
140
|
-
export
|
|
141
|
-
name: "InvalidParameterException";
|
|
142
|
-
$fault: "client";
|
|
149
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
150
|
+
readonly name: "InvalidParameterException";
|
|
151
|
+
readonly $fault: "client";
|
|
143
152
|
/**
|
|
144
153
|
* <p>The message about the parameters.</p>
|
|
145
154
|
*/
|
|
146
155
|
Message?: string;
|
|
156
|
+
/**
|
|
157
|
+
* @internal
|
|
158
|
+
*/
|
|
159
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
147
160
|
}
|
|
148
161
|
/**
|
|
149
162
|
* <p>The request is not valid.</p>
|
|
150
163
|
*/
|
|
151
|
-
export
|
|
152
|
-
name: "InvalidRequestException";
|
|
153
|
-
$fault: "client";
|
|
164
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
165
|
+
readonly name: "InvalidRequestException";
|
|
166
|
+
readonly $fault: "client";
|
|
154
167
|
/**
|
|
155
168
|
* <p>The message about the request.</p>
|
|
156
169
|
*/
|
|
157
170
|
Message?: string;
|
|
171
|
+
/**
|
|
172
|
+
* @internal
|
|
173
|
+
*/
|
|
174
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
158
175
|
}
|
|
159
176
|
/**
|
|
160
177
|
* <p>A resource already has that name.</p>
|
|
161
178
|
*/
|
|
162
|
-
export
|
|
163
|
-
name: "ResourceConflictException";
|
|
164
|
-
$fault: "client";
|
|
179
|
+
export declare class ResourceConflictException extends __BaseException {
|
|
180
|
+
readonly name: "ResourceConflictException";
|
|
181
|
+
readonly $fault: "client";
|
|
165
182
|
Message?: string;
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
186
|
+
constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
|
|
166
187
|
}
|
|
167
188
|
/**
|
|
168
189
|
* <p>The specified resource was not found.</p>
|
|
169
190
|
*/
|
|
170
|
-
export
|
|
171
|
-
name: "ResourceNotFoundException";
|
|
172
|
-
$fault: "client";
|
|
191
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
192
|
+
readonly name: "ResourceNotFoundException";
|
|
193
|
+
readonly $fault: "client";
|
|
173
194
|
/**
|
|
174
195
|
* <p>The message about the resource.</p>
|
|
175
196
|
*/
|
|
176
197
|
Message?: string;
|
|
198
|
+
/**
|
|
199
|
+
* @internal
|
|
200
|
+
*/
|
|
201
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
177
202
|
}
|
|
178
203
|
/**
|
|
179
204
|
* <p>The service quota has been exceeded.</p>
|
|
180
205
|
*/
|
|
181
|
-
export
|
|
182
|
-
name: "ServiceQuotaExceededException";
|
|
183
|
-
$fault: "client";
|
|
206
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
207
|
+
readonly name: "ServiceQuotaExceededException";
|
|
208
|
+
readonly $fault: "client";
|
|
184
209
|
Message?: string;
|
|
210
|
+
/**
|
|
211
|
+
* @internal
|
|
212
|
+
*/
|
|
213
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
185
214
|
}
|
|
186
215
|
/**
|
|
187
216
|
* <p>The throttling limit has been exceeded.</p>
|
|
188
217
|
*/
|
|
189
|
-
export
|
|
190
|
-
name: "ThrottlingException";
|
|
191
|
-
$fault: "client";
|
|
218
|
+
export declare class ThrottlingException extends __BaseException {
|
|
219
|
+
readonly name: "ThrottlingException";
|
|
220
|
+
readonly $fault: "client";
|
|
192
221
|
Message?: string;
|
|
222
|
+
/**
|
|
223
|
+
* @internal
|
|
224
|
+
*/
|
|
225
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
193
226
|
}
|
|
194
227
|
/**
|
|
195
228
|
* <p>Configuration information of an Amazon Lex bot.</p>
|
|
@@ -248,13 +281,17 @@ export declare namespace AssociateBotRequest {
|
|
|
248
281
|
/**
|
|
249
282
|
* <p>The allowed limit for the resource has been exceeded.</p>
|
|
250
283
|
*/
|
|
251
|
-
export
|
|
252
|
-
name: "LimitExceededException";
|
|
253
|
-
$fault: "client";
|
|
284
|
+
export declare class LimitExceededException extends __BaseException {
|
|
285
|
+
readonly name: "LimitExceededException";
|
|
286
|
+
readonly $fault: "client";
|
|
254
287
|
/**
|
|
255
288
|
* <p>The message about the limit.</p>
|
|
256
289
|
*/
|
|
257
290
|
Message?: string;
|
|
291
|
+
/**
|
|
292
|
+
* @internal
|
|
293
|
+
*/
|
|
294
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
258
295
|
}
|
|
259
296
|
export declare enum VocabularyLanguageCode {
|
|
260
297
|
AR_AE = "ar-AE",
|
|
@@ -701,10 +738,14 @@ export declare namespace CreateAgentStatusResponse {
|
|
|
701
738
|
/**
|
|
702
739
|
* <p>A resource with the specified name already exists.</p>
|
|
703
740
|
*/
|
|
704
|
-
export
|
|
705
|
-
name: "DuplicateResourceException";
|
|
706
|
-
$fault: "client";
|
|
741
|
+
export declare class DuplicateResourceException extends __BaseException {
|
|
742
|
+
readonly name: "DuplicateResourceException";
|
|
743
|
+
readonly $fault: "client";
|
|
707
744
|
Message?: string;
|
|
745
|
+
/**
|
|
746
|
+
* @internal
|
|
747
|
+
*/
|
|
748
|
+
constructor(opts: __ExceptionOptionType<DuplicateResourceException, __BaseException>);
|
|
708
749
|
}
|
|
709
750
|
export declare enum ContactFlowType {
|
|
710
751
|
AGENT_HOLD = "AGENT_HOLD",
|
|
@@ -786,13 +827,17 @@ export declare namespace ProblemDetail {
|
|
|
786
827
|
/**
|
|
787
828
|
* <p>The contact flow is not valid.</p>
|
|
788
829
|
*/
|
|
789
|
-
export
|
|
790
|
-
name: "InvalidContactFlowException";
|
|
791
|
-
$fault: "client";
|
|
830
|
+
export declare class InvalidContactFlowException extends __BaseException {
|
|
831
|
+
readonly name: "InvalidContactFlowException";
|
|
832
|
+
readonly $fault: "client";
|
|
792
833
|
/**
|
|
793
834
|
* <p>The problems with the contact flow. Please fix before trying again.</p>
|
|
794
835
|
*/
|
|
795
836
|
problems?: ProblemDetail[];
|
|
837
|
+
/**
|
|
838
|
+
* @internal
|
|
839
|
+
*/
|
|
840
|
+
constructor(opts: __ExceptionOptionType<InvalidContactFlowException, __BaseException>);
|
|
796
841
|
}
|
|
797
842
|
export interface CreateContactFlowModuleRequest {
|
|
798
843
|
/**
|
|
@@ -848,18 +893,26 @@ export declare namespace CreateContactFlowModuleResponse {
|
|
|
848
893
|
/**
|
|
849
894
|
* <p>An entity with the same name already exists.</p>
|
|
850
895
|
*/
|
|
851
|
-
export
|
|
852
|
-
name: "IdempotencyException";
|
|
853
|
-
$fault: "client";
|
|
896
|
+
export declare class IdempotencyException extends __BaseException {
|
|
897
|
+
readonly name: "IdempotencyException";
|
|
898
|
+
readonly $fault: "client";
|
|
854
899
|
Message?: string;
|
|
900
|
+
/**
|
|
901
|
+
* @internal
|
|
902
|
+
*/
|
|
903
|
+
constructor(opts: __ExceptionOptionType<IdempotencyException, __BaseException>);
|
|
855
904
|
}
|
|
856
905
|
/**
|
|
857
906
|
* <p>The problems with the module. Please fix before trying again.</p>
|
|
858
907
|
*/
|
|
859
|
-
export
|
|
860
|
-
name: "InvalidContactFlowModuleException";
|
|
861
|
-
$fault: "client";
|
|
908
|
+
export declare class InvalidContactFlowModuleException extends __BaseException {
|
|
909
|
+
readonly name: "InvalidContactFlowModuleException";
|
|
910
|
+
readonly $fault: "client";
|
|
862
911
|
Problems?: ProblemDetail[];
|
|
912
|
+
/**
|
|
913
|
+
* @internal
|
|
914
|
+
*/
|
|
915
|
+
constructor(opts: __ExceptionOptionType<InvalidContactFlowModuleException, __BaseException>);
|
|
863
916
|
}
|
|
864
917
|
export declare enum HoursOfOperationDays {
|
|
865
918
|
FRIDAY = "FRIDAY",
|
|
@@ -1838,9 +1891,9 @@ export declare enum ResourceType {
|
|
|
1838
1891
|
/**
|
|
1839
1892
|
* <p>That resource is already in use. Please try another.</p>
|
|
1840
1893
|
*/
|
|
1841
|
-
export
|
|
1842
|
-
name: "ResourceInUseException";
|
|
1843
|
-
$fault: "client";
|
|
1894
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
1895
|
+
readonly name: "ResourceInUseException";
|
|
1896
|
+
readonly $fault: "client";
|
|
1844
1897
|
Message?: string;
|
|
1845
1898
|
/**
|
|
1846
1899
|
* <p>The type of resource.</p>
|
|
@@ -1850,6 +1903,10 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
1850
1903
|
* <p>The identifier for the resource.</p>
|
|
1851
1904
|
*/
|
|
1852
1905
|
ResourceId?: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* @internal
|
|
1908
|
+
*/
|
|
1909
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
1853
1910
|
}
|
|
1854
1911
|
export interface DeleteUseCaseRequest {
|
|
1855
1912
|
/**
|
|
@@ -2097,10 +2154,14 @@ export declare namespace DescribeContactResponse {
|
|
|
2097
2154
|
/**
|
|
2098
2155
|
* <p>The contact flow has not been published.</p>
|
|
2099
2156
|
*/
|
|
2100
|
-
export
|
|
2101
|
-
name: "ContactFlowNotPublishedException";
|
|
2102
|
-
$fault: "client";
|
|
2157
|
+
export declare class ContactFlowNotPublishedException extends __BaseException {
|
|
2158
|
+
readonly name: "ContactFlowNotPublishedException";
|
|
2159
|
+
readonly $fault: "client";
|
|
2103
2160
|
Message?: string;
|
|
2161
|
+
/**
|
|
2162
|
+
* @internal
|
|
2163
|
+
*/
|
|
2164
|
+
constructor(opts: __ExceptionOptionType<ContactFlowNotPublishedException, __BaseException>);
|
|
2104
2165
|
}
|
|
2105
2166
|
export interface DescribeContactFlowRequest {
|
|
2106
2167
|
/**
|
|
@@ -3698,10 +3759,14 @@ export declare namespace GetFederationTokenResponse {
|
|
|
3698
3759
|
/**
|
|
3699
3760
|
* <p>No user with the specified credentials was found in the Amazon Connect instance.</p>
|
|
3700
3761
|
*/
|
|
3701
|
-
export
|
|
3702
|
-
name: "UserNotFoundException";
|
|
3703
|
-
$fault: "client";
|
|
3762
|
+
export declare class UserNotFoundException extends __BaseException {
|
|
3763
|
+
readonly name: "UserNotFoundException";
|
|
3764
|
+
readonly $fault: "client";
|
|
3704
3765
|
Message?: string;
|
|
3766
|
+
/**
|
|
3767
|
+
* @internal
|
|
3768
|
+
*/
|
|
3769
|
+
constructor(opts: __ExceptionOptionType<UserNotFoundException, __BaseException>);
|
|
3705
3770
|
}
|
|
3706
3771
|
export declare enum HistoricalMetricName {
|
|
3707
3772
|
ABANDON_TIME = "ABANDON_TIME",
|
|
@@ -6304,11 +6369,15 @@ export declare namespace StartContactStreamingResponse {
|
|
|
6304
6369
|
/**
|
|
6305
6370
|
* <p>Outbound calls to the destination number are not allowed.</p>
|
|
6306
6371
|
*/
|
|
6307
|
-
export
|
|
6308
|
-
name: "DestinationNotAllowedException";
|
|
6309
|
-
$fault: "client";
|
|
6372
|
+
export declare class DestinationNotAllowedException extends __BaseException {
|
|
6373
|
+
readonly name: "DestinationNotAllowedException";
|
|
6374
|
+
readonly $fault: "client";
|
|
6310
6375
|
/**
|
|
6311
6376
|
* <p>The message about the outbound calls.</p>
|
|
6312
6377
|
*/
|
|
6313
6378
|
Message?: string;
|
|
6379
|
+
/**
|
|
6380
|
+
* @internal
|
|
6381
|
+
*/
|
|
6382
|
+
constructor(opts: __ExceptionOptionType<DestinationNotAllowedException, __BaseException>);
|
|
6314
6383
|
}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
2
3
|
import { AgentStatusState, ContactFlowModuleState, ContactFlowState, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, QueueStatus, QuickConnectConfig, ReferenceType, RoutingProfileQueueConfig, UserIdentityInfo, UserPhoneConfig } from "./models_0";
|
|
3
4
|
/**
|
|
4
5
|
* <p>The contact is not permitted.</p>
|
|
5
6
|
*/
|
|
6
|
-
export
|
|
7
|
-
name: "OutboundContactNotPermittedException";
|
|
8
|
-
$fault: "client";
|
|
7
|
+
export declare class OutboundContactNotPermittedException extends __BaseException {
|
|
8
|
+
readonly name: "OutboundContactNotPermittedException";
|
|
9
|
+
readonly $fault: "client";
|
|
9
10
|
/**
|
|
10
11
|
* <p>The message about the contact.</p>
|
|
11
12
|
*/
|
|
12
13
|
Message?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
constructor(opts: __ExceptionOptionType<OutboundContactNotPermittedException, __BaseException>);
|
|
13
18
|
}
|
|
14
19
|
/**
|
|
15
20
|
* <p>Configuration of the answering machine detection.</p>
|
|
@@ -214,13 +219,17 @@ export declare namespace StartTaskContactResponse {
|
|
|
214
219
|
/**
|
|
215
220
|
* <p>The contact with the specified ID is not active or does not exist.</p>
|
|
216
221
|
*/
|
|
217
|
-
export
|
|
218
|
-
name: "ContactNotFoundException";
|
|
219
|
-
$fault: "client";
|
|
222
|
+
export declare class ContactNotFoundException extends __BaseException {
|
|
223
|
+
readonly name: "ContactNotFoundException";
|
|
224
|
+
readonly $fault: "client";
|
|
220
225
|
/**
|
|
221
226
|
* <p>The message.</p>
|
|
222
227
|
*/
|
|
223
228
|
Message?: string;
|
|
229
|
+
/**
|
|
230
|
+
* @internal
|
|
231
|
+
*/
|
|
232
|
+
constructor(opts: __ExceptionOptionType<ContactNotFoundException, __BaseException>);
|
|
224
233
|
}
|
|
225
234
|
export interface StopContactRequest {
|
|
226
235
|
/**
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
6
7
|
Message?: string;
|
|
8
|
+
|
|
9
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
10
|
}
|
|
8
11
|
|
|
9
12
|
export interface AgentInfo {
|
|
@@ -76,50 +79,64 @@ export declare namespace AssociateApprovedOriginRequest {
|
|
|
76
79
|
const filterSensitiveLog: (obj: AssociateApprovedOriginRequest) => any;
|
|
77
80
|
}
|
|
78
81
|
|
|
79
|
-
export
|
|
80
|
-
name: "InternalServiceException";
|
|
81
|
-
$fault: "server";
|
|
82
|
+
export declare class InternalServiceException extends __BaseException {
|
|
83
|
+
readonly name: "InternalServiceException";
|
|
84
|
+
readonly $fault: "server";
|
|
82
85
|
|
|
83
86
|
Message?: string;
|
|
87
|
+
|
|
88
|
+
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
84
89
|
}
|
|
85
90
|
|
|
86
|
-
export
|
|
87
|
-
name: "InvalidParameterException";
|
|
88
|
-
$fault: "client";
|
|
91
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
92
|
+
readonly name: "InvalidParameterException";
|
|
93
|
+
readonly $fault: "client";
|
|
89
94
|
|
|
90
95
|
Message?: string;
|
|
96
|
+
|
|
97
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
91
98
|
}
|
|
92
99
|
|
|
93
|
-
export
|
|
94
|
-
name: "InvalidRequestException";
|
|
95
|
-
$fault: "client";
|
|
100
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
101
|
+
readonly name: "InvalidRequestException";
|
|
102
|
+
readonly $fault: "client";
|
|
96
103
|
|
|
97
104
|
Message?: string;
|
|
105
|
+
|
|
106
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
98
107
|
}
|
|
99
108
|
|
|
100
|
-
export
|
|
101
|
-
name: "ResourceConflictException";
|
|
102
|
-
$fault: "client";
|
|
109
|
+
export declare class ResourceConflictException extends __BaseException {
|
|
110
|
+
readonly name: "ResourceConflictException";
|
|
111
|
+
readonly $fault: "client";
|
|
103
112
|
Message?: string;
|
|
113
|
+
|
|
114
|
+
constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
|
|
104
115
|
}
|
|
105
116
|
|
|
106
|
-
export
|
|
107
|
-
name: "ResourceNotFoundException";
|
|
108
|
-
$fault: "client";
|
|
117
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
118
|
+
readonly name: "ResourceNotFoundException";
|
|
119
|
+
readonly $fault: "client";
|
|
109
120
|
|
|
110
121
|
Message?: string;
|
|
122
|
+
|
|
123
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
111
124
|
}
|
|
112
125
|
|
|
113
|
-
export
|
|
114
|
-
name: "ServiceQuotaExceededException";
|
|
115
|
-
$fault: "client";
|
|
126
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
127
|
+
readonly name: "ServiceQuotaExceededException";
|
|
128
|
+
readonly $fault: "client";
|
|
116
129
|
Message?: string;
|
|
130
|
+
|
|
131
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
117
132
|
}
|
|
118
133
|
|
|
119
|
-
export
|
|
120
|
-
name: "ThrottlingException";
|
|
121
|
-
$fault: "client";
|
|
134
|
+
export declare class ThrottlingException extends __BaseException {
|
|
135
|
+
readonly name: "ThrottlingException";
|
|
136
|
+
readonly $fault: "client";
|
|
122
137
|
Message?: string;
|
|
138
|
+
|
|
139
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
123
140
|
}
|
|
124
141
|
|
|
125
142
|
export interface LexBot {
|
|
@@ -154,11 +171,13 @@ export declare namespace AssociateBotRequest {
|
|
|
154
171
|
const filterSensitiveLog: (obj: AssociateBotRequest) => any;
|
|
155
172
|
}
|
|
156
173
|
|
|
157
|
-
export
|
|
158
|
-
name: "LimitExceededException";
|
|
159
|
-
$fault: "client";
|
|
174
|
+
export declare class LimitExceededException extends __BaseException {
|
|
175
|
+
readonly name: "LimitExceededException";
|
|
176
|
+
readonly $fault: "client";
|
|
160
177
|
|
|
161
178
|
Message?: string;
|
|
179
|
+
|
|
180
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
162
181
|
}
|
|
163
182
|
export declare enum VocabularyLanguageCode {
|
|
164
183
|
AR_AE = "ar-AE",
|
|
@@ -434,10 +453,12 @@ export declare namespace CreateAgentStatusResponse {
|
|
|
434
453
|
const filterSensitiveLog: (obj: CreateAgentStatusResponse) => any;
|
|
435
454
|
}
|
|
436
455
|
|
|
437
|
-
export
|
|
438
|
-
name: "DuplicateResourceException";
|
|
439
|
-
$fault: "client";
|
|
456
|
+
export declare class DuplicateResourceException extends __BaseException {
|
|
457
|
+
readonly name: "DuplicateResourceException";
|
|
458
|
+
readonly $fault: "client";
|
|
440
459
|
Message?: string;
|
|
460
|
+
|
|
461
|
+
constructor(opts: __ExceptionOptionType<DuplicateResourceException, __BaseException>);
|
|
441
462
|
}
|
|
442
463
|
export declare enum ContactFlowType {
|
|
443
464
|
AGENT_HOLD = "AGENT_HOLD",
|
|
@@ -490,11 +511,13 @@ export declare namespace ProblemDetail {
|
|
|
490
511
|
const filterSensitiveLog: (obj: ProblemDetail) => any;
|
|
491
512
|
}
|
|
492
513
|
|
|
493
|
-
export
|
|
494
|
-
name: "InvalidContactFlowException";
|
|
495
|
-
$fault: "client";
|
|
514
|
+
export declare class InvalidContactFlowException extends __BaseException {
|
|
515
|
+
readonly name: "InvalidContactFlowException";
|
|
516
|
+
readonly $fault: "client";
|
|
496
517
|
|
|
497
518
|
problems?: ProblemDetail[];
|
|
519
|
+
|
|
520
|
+
constructor(opts: __ExceptionOptionType<InvalidContactFlowException, __BaseException>);
|
|
498
521
|
}
|
|
499
522
|
export interface CreateContactFlowModuleRequest {
|
|
500
523
|
|
|
@@ -527,16 +550,20 @@ export declare namespace CreateContactFlowModuleResponse {
|
|
|
527
550
|
const filterSensitiveLog: (obj: CreateContactFlowModuleResponse) => any;
|
|
528
551
|
}
|
|
529
552
|
|
|
530
|
-
export
|
|
531
|
-
name: "IdempotencyException";
|
|
532
|
-
$fault: "client";
|
|
553
|
+
export declare class IdempotencyException extends __BaseException {
|
|
554
|
+
readonly name: "IdempotencyException";
|
|
555
|
+
readonly $fault: "client";
|
|
533
556
|
Message?: string;
|
|
557
|
+
|
|
558
|
+
constructor(opts: __ExceptionOptionType<IdempotencyException, __BaseException>);
|
|
534
559
|
}
|
|
535
560
|
|
|
536
|
-
export
|
|
537
|
-
name: "InvalidContactFlowModuleException";
|
|
538
|
-
$fault: "client";
|
|
561
|
+
export declare class InvalidContactFlowModuleException extends __BaseException {
|
|
562
|
+
readonly name: "InvalidContactFlowModuleException";
|
|
563
|
+
readonly $fault: "client";
|
|
539
564
|
Problems?: ProblemDetail[];
|
|
565
|
+
|
|
566
|
+
constructor(opts: __ExceptionOptionType<InvalidContactFlowModuleException, __BaseException>);
|
|
540
567
|
}
|
|
541
568
|
export declare enum HoursOfOperationDays {
|
|
542
569
|
FRIDAY = "FRIDAY",
|
|
@@ -1122,14 +1149,16 @@ export declare enum ResourceType {
|
|
|
1122
1149
|
USER = "USER"
|
|
1123
1150
|
}
|
|
1124
1151
|
|
|
1125
|
-
export
|
|
1126
|
-
name: "ResourceInUseException";
|
|
1127
|
-
$fault: "client";
|
|
1152
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
1153
|
+
readonly name: "ResourceInUseException";
|
|
1154
|
+
readonly $fault: "client";
|
|
1128
1155
|
Message?: string;
|
|
1129
1156
|
|
|
1130
1157
|
ResourceType?: ResourceType | string;
|
|
1131
1158
|
|
|
1132
1159
|
ResourceId?: string;
|
|
1160
|
+
|
|
1161
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
1133
1162
|
}
|
|
1134
1163
|
export interface DeleteUseCaseRequest {
|
|
1135
1164
|
|
|
@@ -1276,10 +1305,12 @@ export declare namespace DescribeContactResponse {
|
|
|
1276
1305
|
const filterSensitiveLog: (obj: DescribeContactResponse) => any;
|
|
1277
1306
|
}
|
|
1278
1307
|
|
|
1279
|
-
export
|
|
1280
|
-
name: "ContactFlowNotPublishedException";
|
|
1281
|
-
$fault: "client";
|
|
1308
|
+
export declare class ContactFlowNotPublishedException extends __BaseException {
|
|
1309
|
+
readonly name: "ContactFlowNotPublishedException";
|
|
1310
|
+
readonly $fault: "client";
|
|
1282
1311
|
Message?: string;
|
|
1312
|
+
|
|
1313
|
+
constructor(opts: __ExceptionOptionType<ContactFlowNotPublishedException, __BaseException>);
|
|
1283
1314
|
}
|
|
1284
1315
|
export interface DescribeContactFlowRequest {
|
|
1285
1316
|
|
|
@@ -2174,10 +2205,12 @@ export declare namespace GetFederationTokenResponse {
|
|
|
2174
2205
|
const filterSensitiveLog: (obj: GetFederationTokenResponse) => any;
|
|
2175
2206
|
}
|
|
2176
2207
|
|
|
2177
|
-
export
|
|
2178
|
-
name: "UserNotFoundException";
|
|
2179
|
-
$fault: "client";
|
|
2208
|
+
export declare class UserNotFoundException extends __BaseException {
|
|
2209
|
+
readonly name: "UserNotFoundException";
|
|
2210
|
+
readonly $fault: "client";
|
|
2180
2211
|
Message?: string;
|
|
2212
|
+
|
|
2213
|
+
constructor(opts: __ExceptionOptionType<UserNotFoundException, __BaseException>);
|
|
2181
2214
|
}
|
|
2182
2215
|
export declare enum HistoricalMetricName {
|
|
2183
2216
|
ABANDON_TIME = "ABANDON_TIME",
|
|
@@ -3702,9 +3735,11 @@ export declare namespace StartContactStreamingResponse {
|
|
|
3702
3735
|
const filterSensitiveLog: (obj: StartContactStreamingResponse) => any;
|
|
3703
3736
|
}
|
|
3704
3737
|
|
|
3705
|
-
export
|
|
3706
|
-
name: "DestinationNotAllowedException";
|
|
3707
|
-
$fault: "client";
|
|
3738
|
+
export declare class DestinationNotAllowedException extends __BaseException {
|
|
3739
|
+
readonly name: "DestinationNotAllowedException";
|
|
3740
|
+
readonly $fault: "client";
|
|
3708
3741
|
|
|
3709
3742
|
Message?: string;
|
|
3743
|
+
|
|
3744
|
+
constructor(opts: __ExceptionOptionType<DestinationNotAllowedException, __BaseException>);
|
|
3710
3745
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
2
3
|
import { AgentStatusState, ContactFlowModuleState, ContactFlowState, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, QueueStatus, QuickConnectConfig, ReferenceType, RoutingProfileQueueConfig, UserIdentityInfo, UserPhoneConfig } from "./models_0";
|
|
3
4
|
|
|
4
|
-
export
|
|
5
|
-
name: "OutboundContactNotPermittedException";
|
|
6
|
-
$fault: "client";
|
|
5
|
+
export declare class OutboundContactNotPermittedException extends __BaseException {
|
|
6
|
+
readonly name: "OutboundContactNotPermittedException";
|
|
7
|
+
readonly $fault: "client";
|
|
7
8
|
|
|
8
9
|
Message?: string;
|
|
10
|
+
|
|
11
|
+
constructor(opts: __ExceptionOptionType<OutboundContactNotPermittedException, __BaseException>);
|
|
9
12
|
}
|
|
10
13
|
|
|
11
14
|
export interface AnswerMachineDetectionConfig {
|
|
@@ -106,11 +109,13 @@ export declare namespace StartTaskContactResponse {
|
|
|
106
109
|
const filterSensitiveLog: (obj: StartTaskContactResponse) => any;
|
|
107
110
|
}
|
|
108
111
|
|
|
109
|
-
export
|
|
110
|
-
name: "ContactNotFoundException";
|
|
111
|
-
$fault: "client";
|
|
112
|
+
export declare class ContactNotFoundException extends __BaseException {
|
|
113
|
+
readonly name: "ContactNotFoundException";
|
|
114
|
+
readonly $fault: "client";
|
|
112
115
|
|
|
113
116
|
Message?: string;
|
|
117
|
+
|
|
118
|
+
constructor(opts: __ExceptionOptionType<ContactNotFoundException, __BaseException>);
|
|
114
119
|
}
|
|
115
120
|
export interface StopContactRequest {
|
|
116
121
|
|