@aws-sdk/client-cognito-identity-provider 3.987.0 → 3.989.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/index.js +138 -4528
- package/dist-cjs/models/CognitoIdentityProviderServiceException.js +12 -0
- package/dist-cjs/models/errors.js +722 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +3251 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +342 -336
- package/dist-types/schemas/schemas_0.d.ts +63 -56
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +58 -56
- package/package.json +13 -13
|
@@ -0,0 +1,722 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnsupportedIdentityProviderException = exports.ScopeDoesNotExistException = exports.InvalidOAuthFlowException = exports.UserPoolTaggingException = exports.TierChangeNotAllowedException = exports.FeatureUnavailableInTierException = exports.TermsExistsException = exports.ManagedLoginBrandingExistsException = exports.DuplicateProviderException = exports.GroupExistsException = exports.DeviceKeyExistsException = exports.WebAuthnRelyingPartyMismatchException = exports.WebAuthnOriginNotAllowedException = exports.WebAuthnNotEnabledException = exports.WebAuthnCredentialNotSupportedException = exports.WebAuthnClientMismatchException = exports.WebAuthnChallengeNotFoundException = exports.ForbiddenException = exports.ConcurrentModificationException = exports.SoftwareTokenMFANotFoundException = exports.PasswordHistoryPolicyViolationException = exports.ExpiredCodeException = exports.CodeMismatchException = exports.UserPoolAddOnNotEnabledException = exports.UserNotConfirmedException = exports.UnsupportedOperationException = exports.PasswordResetRequiredException = exports.MFAMethodNotFoundException = exports.InvalidEmailRoleAccessPolicyException = exports.InvalidUserPoolConfigurationException = exports.AliasExistsException = exports.UsernameExistsException = exports.UnsupportedUserStateException = exports.PreconditionNotMetException = exports.InvalidSmsRoleTrustRelationshipException = exports.InvalidSmsRoleAccessPolicyException = exports.InvalidPasswordException = exports.CodeDeliveryFailureException = exports.UserLambdaValidationException = exports.UnexpectedLambdaException = exports.TooManyFailedAttemptsException = exports.LimitExceededException = exports.InvalidLambdaResponseException = exports.UserNotFoundException = exports.UserImportInProgressException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.NotAuthorizedException = exports.InvalidParameterException = exports.InternalErrorException = void 0;
|
|
4
|
+
exports.EnableSoftwareTokenMFAException = exports.WebAuthnConfigurationMissingException = exports.UnsupportedTokenTypeException = exports.UnauthorizedException = exports.RefreshTokenReuseException = void 0;
|
|
5
|
+
const CognitoIdentityProviderServiceException_1 = require("./CognitoIdentityProviderServiceException");
|
|
6
|
+
class InternalErrorException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
7
|
+
name = "InternalErrorException";
|
|
8
|
+
$fault = "server";
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "InternalErrorException",
|
|
12
|
+
$fault: "server",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.InternalErrorException = InternalErrorException;
|
|
19
|
+
class InvalidParameterException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
20
|
+
name = "InvalidParameterException";
|
|
21
|
+
$fault = "client";
|
|
22
|
+
reasonCode;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "InvalidParameterException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
30
|
+
this.reasonCode = opts.reasonCode;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
34
|
+
class NotAuthorizedException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
35
|
+
name = "NotAuthorizedException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
constructor(opts) {
|
|
38
|
+
super({
|
|
39
|
+
name: "NotAuthorizedException",
|
|
40
|
+
$fault: "client",
|
|
41
|
+
...opts,
|
|
42
|
+
});
|
|
43
|
+
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.NotAuthorizedException = NotAuthorizedException;
|
|
47
|
+
class ResourceNotFoundException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
48
|
+
name = "ResourceNotFoundException";
|
|
49
|
+
$fault = "client";
|
|
50
|
+
constructor(opts) {
|
|
51
|
+
super({
|
|
52
|
+
name: "ResourceNotFoundException",
|
|
53
|
+
$fault: "client",
|
|
54
|
+
...opts,
|
|
55
|
+
});
|
|
56
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
60
|
+
class TooManyRequestsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
61
|
+
name = "TooManyRequestsException";
|
|
62
|
+
$fault = "client";
|
|
63
|
+
constructor(opts) {
|
|
64
|
+
super({
|
|
65
|
+
name: "TooManyRequestsException",
|
|
66
|
+
$fault: "client",
|
|
67
|
+
...opts,
|
|
68
|
+
});
|
|
69
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
73
|
+
class UserImportInProgressException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
74
|
+
name = "UserImportInProgressException";
|
|
75
|
+
$fault = "client";
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "UserImportInProgressException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, UserImportInProgressException.prototype);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.UserImportInProgressException = UserImportInProgressException;
|
|
86
|
+
class UserNotFoundException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
87
|
+
name = "UserNotFoundException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "UserNotFoundException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, UserNotFoundException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.UserNotFoundException = UserNotFoundException;
|
|
99
|
+
class InvalidLambdaResponseException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
100
|
+
name = "InvalidLambdaResponseException";
|
|
101
|
+
$fault = "client";
|
|
102
|
+
constructor(opts) {
|
|
103
|
+
super({
|
|
104
|
+
name: "InvalidLambdaResponseException",
|
|
105
|
+
$fault: "client",
|
|
106
|
+
...opts,
|
|
107
|
+
});
|
|
108
|
+
Object.setPrototypeOf(this, InvalidLambdaResponseException.prototype);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.InvalidLambdaResponseException = InvalidLambdaResponseException;
|
|
112
|
+
class LimitExceededException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
113
|
+
name = "LimitExceededException";
|
|
114
|
+
$fault = "client";
|
|
115
|
+
constructor(opts) {
|
|
116
|
+
super({
|
|
117
|
+
name: "LimitExceededException",
|
|
118
|
+
$fault: "client",
|
|
119
|
+
...opts,
|
|
120
|
+
});
|
|
121
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.LimitExceededException = LimitExceededException;
|
|
125
|
+
class TooManyFailedAttemptsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
126
|
+
name = "TooManyFailedAttemptsException";
|
|
127
|
+
$fault = "client";
|
|
128
|
+
constructor(opts) {
|
|
129
|
+
super({
|
|
130
|
+
name: "TooManyFailedAttemptsException",
|
|
131
|
+
$fault: "client",
|
|
132
|
+
...opts,
|
|
133
|
+
});
|
|
134
|
+
Object.setPrototypeOf(this, TooManyFailedAttemptsException.prototype);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
exports.TooManyFailedAttemptsException = TooManyFailedAttemptsException;
|
|
138
|
+
class UnexpectedLambdaException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
139
|
+
name = "UnexpectedLambdaException";
|
|
140
|
+
$fault = "client";
|
|
141
|
+
constructor(opts) {
|
|
142
|
+
super({
|
|
143
|
+
name: "UnexpectedLambdaException",
|
|
144
|
+
$fault: "client",
|
|
145
|
+
...opts,
|
|
146
|
+
});
|
|
147
|
+
Object.setPrototypeOf(this, UnexpectedLambdaException.prototype);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
exports.UnexpectedLambdaException = UnexpectedLambdaException;
|
|
151
|
+
class UserLambdaValidationException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
152
|
+
name = "UserLambdaValidationException";
|
|
153
|
+
$fault = "client";
|
|
154
|
+
constructor(opts) {
|
|
155
|
+
super({
|
|
156
|
+
name: "UserLambdaValidationException",
|
|
157
|
+
$fault: "client",
|
|
158
|
+
...opts,
|
|
159
|
+
});
|
|
160
|
+
Object.setPrototypeOf(this, UserLambdaValidationException.prototype);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
exports.UserLambdaValidationException = UserLambdaValidationException;
|
|
164
|
+
class CodeDeliveryFailureException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
165
|
+
name = "CodeDeliveryFailureException";
|
|
166
|
+
$fault = "client";
|
|
167
|
+
constructor(opts) {
|
|
168
|
+
super({
|
|
169
|
+
name: "CodeDeliveryFailureException",
|
|
170
|
+
$fault: "client",
|
|
171
|
+
...opts,
|
|
172
|
+
});
|
|
173
|
+
Object.setPrototypeOf(this, CodeDeliveryFailureException.prototype);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
exports.CodeDeliveryFailureException = CodeDeliveryFailureException;
|
|
177
|
+
class InvalidPasswordException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
178
|
+
name = "InvalidPasswordException";
|
|
179
|
+
$fault = "client";
|
|
180
|
+
constructor(opts) {
|
|
181
|
+
super({
|
|
182
|
+
name: "InvalidPasswordException",
|
|
183
|
+
$fault: "client",
|
|
184
|
+
...opts,
|
|
185
|
+
});
|
|
186
|
+
Object.setPrototypeOf(this, InvalidPasswordException.prototype);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
exports.InvalidPasswordException = InvalidPasswordException;
|
|
190
|
+
class InvalidSmsRoleAccessPolicyException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
191
|
+
name = "InvalidSmsRoleAccessPolicyException";
|
|
192
|
+
$fault = "client";
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "InvalidSmsRoleAccessPolicyException",
|
|
196
|
+
$fault: "client",
|
|
197
|
+
...opts,
|
|
198
|
+
});
|
|
199
|
+
Object.setPrototypeOf(this, InvalidSmsRoleAccessPolicyException.prototype);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
exports.InvalidSmsRoleAccessPolicyException = InvalidSmsRoleAccessPolicyException;
|
|
203
|
+
class InvalidSmsRoleTrustRelationshipException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
204
|
+
name = "InvalidSmsRoleTrustRelationshipException";
|
|
205
|
+
$fault = "client";
|
|
206
|
+
constructor(opts) {
|
|
207
|
+
super({
|
|
208
|
+
name: "InvalidSmsRoleTrustRelationshipException",
|
|
209
|
+
$fault: "client",
|
|
210
|
+
...opts,
|
|
211
|
+
});
|
|
212
|
+
Object.setPrototypeOf(this, InvalidSmsRoleTrustRelationshipException.prototype);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
exports.InvalidSmsRoleTrustRelationshipException = InvalidSmsRoleTrustRelationshipException;
|
|
216
|
+
class PreconditionNotMetException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
217
|
+
name = "PreconditionNotMetException";
|
|
218
|
+
$fault = "client";
|
|
219
|
+
constructor(opts) {
|
|
220
|
+
super({
|
|
221
|
+
name: "PreconditionNotMetException",
|
|
222
|
+
$fault: "client",
|
|
223
|
+
...opts,
|
|
224
|
+
});
|
|
225
|
+
Object.setPrototypeOf(this, PreconditionNotMetException.prototype);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
exports.PreconditionNotMetException = PreconditionNotMetException;
|
|
229
|
+
class UnsupportedUserStateException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
230
|
+
name = "UnsupportedUserStateException";
|
|
231
|
+
$fault = "client";
|
|
232
|
+
constructor(opts) {
|
|
233
|
+
super({
|
|
234
|
+
name: "UnsupportedUserStateException",
|
|
235
|
+
$fault: "client",
|
|
236
|
+
...opts,
|
|
237
|
+
});
|
|
238
|
+
Object.setPrototypeOf(this, UnsupportedUserStateException.prototype);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
exports.UnsupportedUserStateException = UnsupportedUserStateException;
|
|
242
|
+
class UsernameExistsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
243
|
+
name = "UsernameExistsException";
|
|
244
|
+
$fault = "client";
|
|
245
|
+
constructor(opts) {
|
|
246
|
+
super({
|
|
247
|
+
name: "UsernameExistsException",
|
|
248
|
+
$fault: "client",
|
|
249
|
+
...opts,
|
|
250
|
+
});
|
|
251
|
+
Object.setPrototypeOf(this, UsernameExistsException.prototype);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
exports.UsernameExistsException = UsernameExistsException;
|
|
255
|
+
class AliasExistsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
256
|
+
name = "AliasExistsException";
|
|
257
|
+
$fault = "client";
|
|
258
|
+
constructor(opts) {
|
|
259
|
+
super({
|
|
260
|
+
name: "AliasExistsException",
|
|
261
|
+
$fault: "client",
|
|
262
|
+
...opts,
|
|
263
|
+
});
|
|
264
|
+
Object.setPrototypeOf(this, AliasExistsException.prototype);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
exports.AliasExistsException = AliasExistsException;
|
|
268
|
+
class InvalidUserPoolConfigurationException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
269
|
+
name = "InvalidUserPoolConfigurationException";
|
|
270
|
+
$fault = "client";
|
|
271
|
+
constructor(opts) {
|
|
272
|
+
super({
|
|
273
|
+
name: "InvalidUserPoolConfigurationException",
|
|
274
|
+
$fault: "client",
|
|
275
|
+
...opts,
|
|
276
|
+
});
|
|
277
|
+
Object.setPrototypeOf(this, InvalidUserPoolConfigurationException.prototype);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
exports.InvalidUserPoolConfigurationException = InvalidUserPoolConfigurationException;
|
|
281
|
+
class InvalidEmailRoleAccessPolicyException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
282
|
+
name = "InvalidEmailRoleAccessPolicyException";
|
|
283
|
+
$fault = "client";
|
|
284
|
+
constructor(opts) {
|
|
285
|
+
super({
|
|
286
|
+
name: "InvalidEmailRoleAccessPolicyException",
|
|
287
|
+
$fault: "client",
|
|
288
|
+
...opts,
|
|
289
|
+
});
|
|
290
|
+
Object.setPrototypeOf(this, InvalidEmailRoleAccessPolicyException.prototype);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
exports.InvalidEmailRoleAccessPolicyException = InvalidEmailRoleAccessPolicyException;
|
|
294
|
+
class MFAMethodNotFoundException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
295
|
+
name = "MFAMethodNotFoundException";
|
|
296
|
+
$fault = "client";
|
|
297
|
+
constructor(opts) {
|
|
298
|
+
super({
|
|
299
|
+
name: "MFAMethodNotFoundException",
|
|
300
|
+
$fault: "client",
|
|
301
|
+
...opts,
|
|
302
|
+
});
|
|
303
|
+
Object.setPrototypeOf(this, MFAMethodNotFoundException.prototype);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
exports.MFAMethodNotFoundException = MFAMethodNotFoundException;
|
|
307
|
+
class PasswordResetRequiredException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
308
|
+
name = "PasswordResetRequiredException";
|
|
309
|
+
$fault = "client";
|
|
310
|
+
constructor(opts) {
|
|
311
|
+
super({
|
|
312
|
+
name: "PasswordResetRequiredException",
|
|
313
|
+
$fault: "client",
|
|
314
|
+
...opts,
|
|
315
|
+
});
|
|
316
|
+
Object.setPrototypeOf(this, PasswordResetRequiredException.prototype);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
exports.PasswordResetRequiredException = PasswordResetRequiredException;
|
|
320
|
+
class UnsupportedOperationException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
321
|
+
name = "UnsupportedOperationException";
|
|
322
|
+
$fault = "client";
|
|
323
|
+
constructor(opts) {
|
|
324
|
+
super({
|
|
325
|
+
name: "UnsupportedOperationException",
|
|
326
|
+
$fault: "client",
|
|
327
|
+
...opts,
|
|
328
|
+
});
|
|
329
|
+
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
exports.UnsupportedOperationException = UnsupportedOperationException;
|
|
333
|
+
class UserNotConfirmedException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
334
|
+
name = "UserNotConfirmedException";
|
|
335
|
+
$fault = "client";
|
|
336
|
+
constructor(opts) {
|
|
337
|
+
super({
|
|
338
|
+
name: "UserNotConfirmedException",
|
|
339
|
+
$fault: "client",
|
|
340
|
+
...opts,
|
|
341
|
+
});
|
|
342
|
+
Object.setPrototypeOf(this, UserNotConfirmedException.prototype);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
exports.UserNotConfirmedException = UserNotConfirmedException;
|
|
346
|
+
class UserPoolAddOnNotEnabledException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
347
|
+
name = "UserPoolAddOnNotEnabledException";
|
|
348
|
+
$fault = "client";
|
|
349
|
+
constructor(opts) {
|
|
350
|
+
super({
|
|
351
|
+
name: "UserPoolAddOnNotEnabledException",
|
|
352
|
+
$fault: "client",
|
|
353
|
+
...opts,
|
|
354
|
+
});
|
|
355
|
+
Object.setPrototypeOf(this, UserPoolAddOnNotEnabledException.prototype);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
exports.UserPoolAddOnNotEnabledException = UserPoolAddOnNotEnabledException;
|
|
359
|
+
class CodeMismatchException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
360
|
+
name = "CodeMismatchException";
|
|
361
|
+
$fault = "client";
|
|
362
|
+
constructor(opts) {
|
|
363
|
+
super({
|
|
364
|
+
name: "CodeMismatchException",
|
|
365
|
+
$fault: "client",
|
|
366
|
+
...opts,
|
|
367
|
+
});
|
|
368
|
+
Object.setPrototypeOf(this, CodeMismatchException.prototype);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
exports.CodeMismatchException = CodeMismatchException;
|
|
372
|
+
class ExpiredCodeException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
373
|
+
name = "ExpiredCodeException";
|
|
374
|
+
$fault = "client";
|
|
375
|
+
constructor(opts) {
|
|
376
|
+
super({
|
|
377
|
+
name: "ExpiredCodeException",
|
|
378
|
+
$fault: "client",
|
|
379
|
+
...opts,
|
|
380
|
+
});
|
|
381
|
+
Object.setPrototypeOf(this, ExpiredCodeException.prototype);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
exports.ExpiredCodeException = ExpiredCodeException;
|
|
385
|
+
class PasswordHistoryPolicyViolationException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
386
|
+
name = "PasswordHistoryPolicyViolationException";
|
|
387
|
+
$fault = "client";
|
|
388
|
+
constructor(opts) {
|
|
389
|
+
super({
|
|
390
|
+
name: "PasswordHistoryPolicyViolationException",
|
|
391
|
+
$fault: "client",
|
|
392
|
+
...opts,
|
|
393
|
+
});
|
|
394
|
+
Object.setPrototypeOf(this, PasswordHistoryPolicyViolationException.prototype);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
exports.PasswordHistoryPolicyViolationException = PasswordHistoryPolicyViolationException;
|
|
398
|
+
class SoftwareTokenMFANotFoundException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
399
|
+
name = "SoftwareTokenMFANotFoundException";
|
|
400
|
+
$fault = "client";
|
|
401
|
+
constructor(opts) {
|
|
402
|
+
super({
|
|
403
|
+
name: "SoftwareTokenMFANotFoundException",
|
|
404
|
+
$fault: "client",
|
|
405
|
+
...opts,
|
|
406
|
+
});
|
|
407
|
+
Object.setPrototypeOf(this, SoftwareTokenMFANotFoundException.prototype);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
exports.SoftwareTokenMFANotFoundException = SoftwareTokenMFANotFoundException;
|
|
411
|
+
class ConcurrentModificationException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
412
|
+
name = "ConcurrentModificationException";
|
|
413
|
+
$fault = "client";
|
|
414
|
+
constructor(opts) {
|
|
415
|
+
super({
|
|
416
|
+
name: "ConcurrentModificationException",
|
|
417
|
+
$fault: "client",
|
|
418
|
+
...opts,
|
|
419
|
+
});
|
|
420
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
424
|
+
class ForbiddenException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
425
|
+
name = "ForbiddenException";
|
|
426
|
+
$fault = "client";
|
|
427
|
+
constructor(opts) {
|
|
428
|
+
super({
|
|
429
|
+
name: "ForbiddenException",
|
|
430
|
+
$fault: "client",
|
|
431
|
+
...opts,
|
|
432
|
+
});
|
|
433
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
exports.ForbiddenException = ForbiddenException;
|
|
437
|
+
class WebAuthnChallengeNotFoundException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
438
|
+
name = "WebAuthnChallengeNotFoundException";
|
|
439
|
+
$fault = "client";
|
|
440
|
+
constructor(opts) {
|
|
441
|
+
super({
|
|
442
|
+
name: "WebAuthnChallengeNotFoundException",
|
|
443
|
+
$fault: "client",
|
|
444
|
+
...opts,
|
|
445
|
+
});
|
|
446
|
+
Object.setPrototypeOf(this, WebAuthnChallengeNotFoundException.prototype);
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
exports.WebAuthnChallengeNotFoundException = WebAuthnChallengeNotFoundException;
|
|
450
|
+
class WebAuthnClientMismatchException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
451
|
+
name = "WebAuthnClientMismatchException";
|
|
452
|
+
$fault = "client";
|
|
453
|
+
constructor(opts) {
|
|
454
|
+
super({
|
|
455
|
+
name: "WebAuthnClientMismatchException",
|
|
456
|
+
$fault: "client",
|
|
457
|
+
...opts,
|
|
458
|
+
});
|
|
459
|
+
Object.setPrototypeOf(this, WebAuthnClientMismatchException.prototype);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
exports.WebAuthnClientMismatchException = WebAuthnClientMismatchException;
|
|
463
|
+
class WebAuthnCredentialNotSupportedException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
464
|
+
name = "WebAuthnCredentialNotSupportedException";
|
|
465
|
+
$fault = "client";
|
|
466
|
+
constructor(opts) {
|
|
467
|
+
super({
|
|
468
|
+
name: "WebAuthnCredentialNotSupportedException",
|
|
469
|
+
$fault: "client",
|
|
470
|
+
...opts,
|
|
471
|
+
});
|
|
472
|
+
Object.setPrototypeOf(this, WebAuthnCredentialNotSupportedException.prototype);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
exports.WebAuthnCredentialNotSupportedException = WebAuthnCredentialNotSupportedException;
|
|
476
|
+
class WebAuthnNotEnabledException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
477
|
+
name = "WebAuthnNotEnabledException";
|
|
478
|
+
$fault = "client";
|
|
479
|
+
constructor(opts) {
|
|
480
|
+
super({
|
|
481
|
+
name: "WebAuthnNotEnabledException",
|
|
482
|
+
$fault: "client",
|
|
483
|
+
...opts,
|
|
484
|
+
});
|
|
485
|
+
Object.setPrototypeOf(this, WebAuthnNotEnabledException.prototype);
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
exports.WebAuthnNotEnabledException = WebAuthnNotEnabledException;
|
|
489
|
+
class WebAuthnOriginNotAllowedException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
490
|
+
name = "WebAuthnOriginNotAllowedException";
|
|
491
|
+
$fault = "client";
|
|
492
|
+
constructor(opts) {
|
|
493
|
+
super({
|
|
494
|
+
name: "WebAuthnOriginNotAllowedException",
|
|
495
|
+
$fault: "client",
|
|
496
|
+
...opts,
|
|
497
|
+
});
|
|
498
|
+
Object.setPrototypeOf(this, WebAuthnOriginNotAllowedException.prototype);
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
exports.WebAuthnOriginNotAllowedException = WebAuthnOriginNotAllowedException;
|
|
502
|
+
class WebAuthnRelyingPartyMismatchException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
503
|
+
name = "WebAuthnRelyingPartyMismatchException";
|
|
504
|
+
$fault = "client";
|
|
505
|
+
constructor(opts) {
|
|
506
|
+
super({
|
|
507
|
+
name: "WebAuthnRelyingPartyMismatchException",
|
|
508
|
+
$fault: "client",
|
|
509
|
+
...opts,
|
|
510
|
+
});
|
|
511
|
+
Object.setPrototypeOf(this, WebAuthnRelyingPartyMismatchException.prototype);
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
exports.WebAuthnRelyingPartyMismatchException = WebAuthnRelyingPartyMismatchException;
|
|
515
|
+
class DeviceKeyExistsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
516
|
+
name = "DeviceKeyExistsException";
|
|
517
|
+
$fault = "client";
|
|
518
|
+
constructor(opts) {
|
|
519
|
+
super({
|
|
520
|
+
name: "DeviceKeyExistsException",
|
|
521
|
+
$fault: "client",
|
|
522
|
+
...opts,
|
|
523
|
+
});
|
|
524
|
+
Object.setPrototypeOf(this, DeviceKeyExistsException.prototype);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
exports.DeviceKeyExistsException = DeviceKeyExistsException;
|
|
528
|
+
class GroupExistsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
529
|
+
name = "GroupExistsException";
|
|
530
|
+
$fault = "client";
|
|
531
|
+
constructor(opts) {
|
|
532
|
+
super({
|
|
533
|
+
name: "GroupExistsException",
|
|
534
|
+
$fault: "client",
|
|
535
|
+
...opts,
|
|
536
|
+
});
|
|
537
|
+
Object.setPrototypeOf(this, GroupExistsException.prototype);
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
exports.GroupExistsException = GroupExistsException;
|
|
541
|
+
class DuplicateProviderException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
542
|
+
name = "DuplicateProviderException";
|
|
543
|
+
$fault = "client";
|
|
544
|
+
constructor(opts) {
|
|
545
|
+
super({
|
|
546
|
+
name: "DuplicateProviderException",
|
|
547
|
+
$fault: "client",
|
|
548
|
+
...opts,
|
|
549
|
+
});
|
|
550
|
+
Object.setPrototypeOf(this, DuplicateProviderException.prototype);
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
exports.DuplicateProviderException = DuplicateProviderException;
|
|
554
|
+
class ManagedLoginBrandingExistsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
555
|
+
name = "ManagedLoginBrandingExistsException";
|
|
556
|
+
$fault = "client";
|
|
557
|
+
constructor(opts) {
|
|
558
|
+
super({
|
|
559
|
+
name: "ManagedLoginBrandingExistsException",
|
|
560
|
+
$fault: "client",
|
|
561
|
+
...opts,
|
|
562
|
+
});
|
|
563
|
+
Object.setPrototypeOf(this, ManagedLoginBrandingExistsException.prototype);
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
exports.ManagedLoginBrandingExistsException = ManagedLoginBrandingExistsException;
|
|
567
|
+
class TermsExistsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
568
|
+
name = "TermsExistsException";
|
|
569
|
+
$fault = "client";
|
|
570
|
+
constructor(opts) {
|
|
571
|
+
super({
|
|
572
|
+
name: "TermsExistsException",
|
|
573
|
+
$fault: "client",
|
|
574
|
+
...opts,
|
|
575
|
+
});
|
|
576
|
+
Object.setPrototypeOf(this, TermsExistsException.prototype);
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
exports.TermsExistsException = TermsExistsException;
|
|
580
|
+
class FeatureUnavailableInTierException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
581
|
+
name = "FeatureUnavailableInTierException";
|
|
582
|
+
$fault = "client";
|
|
583
|
+
constructor(opts) {
|
|
584
|
+
super({
|
|
585
|
+
name: "FeatureUnavailableInTierException",
|
|
586
|
+
$fault: "client",
|
|
587
|
+
...opts,
|
|
588
|
+
});
|
|
589
|
+
Object.setPrototypeOf(this, FeatureUnavailableInTierException.prototype);
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
exports.FeatureUnavailableInTierException = FeatureUnavailableInTierException;
|
|
593
|
+
class TierChangeNotAllowedException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
594
|
+
name = "TierChangeNotAllowedException";
|
|
595
|
+
$fault = "client";
|
|
596
|
+
constructor(opts) {
|
|
597
|
+
super({
|
|
598
|
+
name: "TierChangeNotAllowedException",
|
|
599
|
+
$fault: "client",
|
|
600
|
+
...opts,
|
|
601
|
+
});
|
|
602
|
+
Object.setPrototypeOf(this, TierChangeNotAllowedException.prototype);
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
exports.TierChangeNotAllowedException = TierChangeNotAllowedException;
|
|
606
|
+
class UserPoolTaggingException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
607
|
+
name = "UserPoolTaggingException";
|
|
608
|
+
$fault = "client";
|
|
609
|
+
constructor(opts) {
|
|
610
|
+
super({
|
|
611
|
+
name: "UserPoolTaggingException",
|
|
612
|
+
$fault: "client",
|
|
613
|
+
...opts,
|
|
614
|
+
});
|
|
615
|
+
Object.setPrototypeOf(this, UserPoolTaggingException.prototype);
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
exports.UserPoolTaggingException = UserPoolTaggingException;
|
|
619
|
+
class InvalidOAuthFlowException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
620
|
+
name = "InvalidOAuthFlowException";
|
|
621
|
+
$fault = "client";
|
|
622
|
+
constructor(opts) {
|
|
623
|
+
super({
|
|
624
|
+
name: "InvalidOAuthFlowException",
|
|
625
|
+
$fault: "client",
|
|
626
|
+
...opts,
|
|
627
|
+
});
|
|
628
|
+
Object.setPrototypeOf(this, InvalidOAuthFlowException.prototype);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
exports.InvalidOAuthFlowException = InvalidOAuthFlowException;
|
|
632
|
+
class ScopeDoesNotExistException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
633
|
+
name = "ScopeDoesNotExistException";
|
|
634
|
+
$fault = "client";
|
|
635
|
+
constructor(opts) {
|
|
636
|
+
super({
|
|
637
|
+
name: "ScopeDoesNotExistException",
|
|
638
|
+
$fault: "client",
|
|
639
|
+
...opts,
|
|
640
|
+
});
|
|
641
|
+
Object.setPrototypeOf(this, ScopeDoesNotExistException.prototype);
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
exports.ScopeDoesNotExistException = ScopeDoesNotExistException;
|
|
645
|
+
class UnsupportedIdentityProviderException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
646
|
+
name = "UnsupportedIdentityProviderException";
|
|
647
|
+
$fault = "client";
|
|
648
|
+
constructor(opts) {
|
|
649
|
+
super({
|
|
650
|
+
name: "UnsupportedIdentityProviderException",
|
|
651
|
+
$fault: "client",
|
|
652
|
+
...opts,
|
|
653
|
+
});
|
|
654
|
+
Object.setPrototypeOf(this, UnsupportedIdentityProviderException.prototype);
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
exports.UnsupportedIdentityProviderException = UnsupportedIdentityProviderException;
|
|
658
|
+
class RefreshTokenReuseException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
659
|
+
name = "RefreshTokenReuseException";
|
|
660
|
+
$fault = "client";
|
|
661
|
+
constructor(opts) {
|
|
662
|
+
super({
|
|
663
|
+
name: "RefreshTokenReuseException",
|
|
664
|
+
$fault: "client",
|
|
665
|
+
...opts,
|
|
666
|
+
});
|
|
667
|
+
Object.setPrototypeOf(this, RefreshTokenReuseException.prototype);
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
exports.RefreshTokenReuseException = RefreshTokenReuseException;
|
|
671
|
+
class UnauthorizedException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
672
|
+
name = "UnauthorizedException";
|
|
673
|
+
$fault = "client";
|
|
674
|
+
constructor(opts) {
|
|
675
|
+
super({
|
|
676
|
+
name: "UnauthorizedException",
|
|
677
|
+
$fault: "client",
|
|
678
|
+
...opts,
|
|
679
|
+
});
|
|
680
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
exports.UnauthorizedException = UnauthorizedException;
|
|
684
|
+
class UnsupportedTokenTypeException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
685
|
+
name = "UnsupportedTokenTypeException";
|
|
686
|
+
$fault = "client";
|
|
687
|
+
constructor(opts) {
|
|
688
|
+
super({
|
|
689
|
+
name: "UnsupportedTokenTypeException",
|
|
690
|
+
$fault: "client",
|
|
691
|
+
...opts,
|
|
692
|
+
});
|
|
693
|
+
Object.setPrototypeOf(this, UnsupportedTokenTypeException.prototype);
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
exports.UnsupportedTokenTypeException = UnsupportedTokenTypeException;
|
|
697
|
+
class WebAuthnConfigurationMissingException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
698
|
+
name = "WebAuthnConfigurationMissingException";
|
|
699
|
+
$fault = "client";
|
|
700
|
+
constructor(opts) {
|
|
701
|
+
super({
|
|
702
|
+
name: "WebAuthnConfigurationMissingException",
|
|
703
|
+
$fault: "client",
|
|
704
|
+
...opts,
|
|
705
|
+
});
|
|
706
|
+
Object.setPrototypeOf(this, WebAuthnConfigurationMissingException.prototype);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
exports.WebAuthnConfigurationMissingException = WebAuthnConfigurationMissingException;
|
|
710
|
+
class EnableSoftwareTokenMFAException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
711
|
+
name = "EnableSoftwareTokenMFAException";
|
|
712
|
+
$fault = "client";
|
|
713
|
+
constructor(opts) {
|
|
714
|
+
super({
|
|
715
|
+
name: "EnableSoftwareTokenMFAException",
|
|
716
|
+
$fault: "client",
|
|
717
|
+
...opts,
|
|
718
|
+
});
|
|
719
|
+
Object.setPrototypeOf(this, EnableSoftwareTokenMFAException.prototype);
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
exports.EnableSoftwareTokenMFAException = EnableSoftwareTokenMFAException;
|