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