@aws-sdk/client-cognito-identity-provider 3.721.0 → 3.726.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.
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class CognitoIdentityProviderClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -18,147 +18,148 @@ export const AttributeDataType = {
18
18
  STRING: "String",
19
19
  };
20
20
  export class InternalErrorException extends __BaseException {
21
+ name = "InternalErrorException";
22
+ $fault = "server";
21
23
  constructor(opts) {
22
24
  super({
23
25
  name: "InternalErrorException",
24
26
  $fault: "server",
25
27
  ...opts,
26
28
  });
27
- this.name = "InternalErrorException";
28
- this.$fault = "server";
29
29
  Object.setPrototypeOf(this, InternalErrorException.prototype);
30
30
  }
31
31
  }
32
32
  export class InvalidParameterException extends __BaseException {
33
+ name = "InvalidParameterException";
34
+ $fault = "client";
35
+ reasonCode;
33
36
  constructor(opts) {
34
37
  super({
35
38
  name: "InvalidParameterException",
36
39
  $fault: "client",
37
40
  ...opts,
38
41
  });
39
- this.name = "InvalidParameterException";
40
- this.$fault = "client";
41
42
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
42
43
  this.reasonCode = opts.reasonCode;
43
44
  }
44
45
  }
45
46
  export class NotAuthorizedException extends __BaseException {
47
+ name = "NotAuthorizedException";
48
+ $fault = "client";
46
49
  constructor(opts) {
47
50
  super({
48
51
  name: "NotAuthorizedException",
49
52
  $fault: "client",
50
53
  ...opts,
51
54
  });
52
- this.name = "NotAuthorizedException";
53
- this.$fault = "client";
54
55
  Object.setPrototypeOf(this, NotAuthorizedException.prototype);
55
56
  }
56
57
  }
57
58
  export class ResourceNotFoundException extends __BaseException {
59
+ name = "ResourceNotFoundException";
60
+ $fault = "client";
58
61
  constructor(opts) {
59
62
  super({
60
63
  name: "ResourceNotFoundException",
61
64
  $fault: "client",
62
65
  ...opts,
63
66
  });
64
- this.name = "ResourceNotFoundException";
65
- this.$fault = "client";
66
67
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
67
68
  }
68
69
  }
69
70
  export class TooManyRequestsException extends __BaseException {
71
+ name = "TooManyRequestsException";
72
+ $fault = "client";
70
73
  constructor(opts) {
71
74
  super({
72
75
  name: "TooManyRequestsException",
73
76
  $fault: "client",
74
77
  ...opts,
75
78
  });
76
- this.name = "TooManyRequestsException";
77
- this.$fault = "client";
78
79
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
79
80
  }
80
81
  }
81
82
  export class UserImportInProgressException extends __BaseException {
83
+ name = "UserImportInProgressException";
84
+ $fault = "client";
82
85
  constructor(opts) {
83
86
  super({
84
87
  name: "UserImportInProgressException",
85
88
  $fault: "client",
86
89
  ...opts,
87
90
  });
88
- this.name = "UserImportInProgressException";
89
- this.$fault = "client";
90
91
  Object.setPrototypeOf(this, UserImportInProgressException.prototype);
91
92
  }
92
93
  }
93
94
  export class UserNotFoundException extends __BaseException {
95
+ name = "UserNotFoundException";
96
+ $fault = "client";
94
97
  constructor(opts) {
95
98
  super({
96
99
  name: "UserNotFoundException",
97
100
  $fault: "client",
98
101
  ...opts,
99
102
  });
100
- this.name = "UserNotFoundException";
101
- this.$fault = "client";
102
103
  Object.setPrototypeOf(this, UserNotFoundException.prototype);
103
104
  }
104
105
  }
105
106
  export class InvalidLambdaResponseException extends __BaseException {
107
+ name = "InvalidLambdaResponseException";
108
+ $fault = "client";
106
109
  constructor(opts) {
107
110
  super({
108
111
  name: "InvalidLambdaResponseException",
109
112
  $fault: "client",
110
113
  ...opts,
111
114
  });
112
- this.name = "InvalidLambdaResponseException";
113
- this.$fault = "client";
114
115
  Object.setPrototypeOf(this, InvalidLambdaResponseException.prototype);
115
116
  }
116
117
  }
117
118
  export class LimitExceededException extends __BaseException {
119
+ name = "LimitExceededException";
120
+ $fault = "client";
118
121
  constructor(opts) {
119
122
  super({
120
123
  name: "LimitExceededException",
121
124
  $fault: "client",
122
125
  ...opts,
123
126
  });
124
- this.name = "LimitExceededException";
125
- this.$fault = "client";
126
127
  Object.setPrototypeOf(this, LimitExceededException.prototype);
127
128
  }
128
129
  }
129
130
  export class TooManyFailedAttemptsException extends __BaseException {
131
+ name = "TooManyFailedAttemptsException";
132
+ $fault = "client";
130
133
  constructor(opts) {
131
134
  super({
132
135
  name: "TooManyFailedAttemptsException",
133
136
  $fault: "client",
134
137
  ...opts,
135
138
  });
136
- this.name = "TooManyFailedAttemptsException";
137
- this.$fault = "client";
138
139
  Object.setPrototypeOf(this, TooManyFailedAttemptsException.prototype);
139
140
  }
140
141
  }
141
142
  export class UnexpectedLambdaException extends __BaseException {
143
+ name = "UnexpectedLambdaException";
144
+ $fault = "client";
142
145
  constructor(opts) {
143
146
  super({
144
147
  name: "UnexpectedLambdaException",
145
148
  $fault: "client",
146
149
  ...opts,
147
150
  });
148
- this.name = "UnexpectedLambdaException";
149
- this.$fault = "client";
150
151
  Object.setPrototypeOf(this, UnexpectedLambdaException.prototype);
151
152
  }
152
153
  }
153
154
  export class UserLambdaValidationException extends __BaseException {
155
+ name = "UserLambdaValidationException";
156
+ $fault = "client";
154
157
  constructor(opts) {
155
158
  super({
156
159
  name: "UserLambdaValidationException",
157
160
  $fault: "client",
158
161
  ...opts,
159
162
  });
160
- this.name = "UserLambdaValidationException";
161
- this.$fault = "client";
162
163
  Object.setPrototypeOf(this, UserLambdaValidationException.prototype);
163
164
  }
164
165
  }
@@ -181,110 +182,110 @@ export const UserStatusType = {
181
182
  UNKNOWN: "UNKNOWN",
182
183
  };
183
184
  export class CodeDeliveryFailureException extends __BaseException {
185
+ name = "CodeDeliveryFailureException";
186
+ $fault = "client";
184
187
  constructor(opts) {
185
188
  super({
186
189
  name: "CodeDeliveryFailureException",
187
190
  $fault: "client",
188
191
  ...opts,
189
192
  });
190
- this.name = "CodeDeliveryFailureException";
191
- this.$fault = "client";
192
193
  Object.setPrototypeOf(this, CodeDeliveryFailureException.prototype);
193
194
  }
194
195
  }
195
196
  export class InvalidPasswordException extends __BaseException {
197
+ name = "InvalidPasswordException";
198
+ $fault = "client";
196
199
  constructor(opts) {
197
200
  super({
198
201
  name: "InvalidPasswordException",
199
202
  $fault: "client",
200
203
  ...opts,
201
204
  });
202
- this.name = "InvalidPasswordException";
203
- this.$fault = "client";
204
205
  Object.setPrototypeOf(this, InvalidPasswordException.prototype);
205
206
  }
206
207
  }
207
208
  export class InvalidSmsRoleAccessPolicyException extends __BaseException {
209
+ name = "InvalidSmsRoleAccessPolicyException";
210
+ $fault = "client";
208
211
  constructor(opts) {
209
212
  super({
210
213
  name: "InvalidSmsRoleAccessPolicyException",
211
214
  $fault: "client",
212
215
  ...opts,
213
216
  });
214
- this.name = "InvalidSmsRoleAccessPolicyException";
215
- this.$fault = "client";
216
217
  Object.setPrototypeOf(this, InvalidSmsRoleAccessPolicyException.prototype);
217
218
  }
218
219
  }
219
220
  export class InvalidSmsRoleTrustRelationshipException extends __BaseException {
221
+ name = "InvalidSmsRoleTrustRelationshipException";
222
+ $fault = "client";
220
223
  constructor(opts) {
221
224
  super({
222
225
  name: "InvalidSmsRoleTrustRelationshipException",
223
226
  $fault: "client",
224
227
  ...opts,
225
228
  });
226
- this.name = "InvalidSmsRoleTrustRelationshipException";
227
- this.$fault = "client";
228
229
  Object.setPrototypeOf(this, InvalidSmsRoleTrustRelationshipException.prototype);
229
230
  }
230
231
  }
231
232
  export class PreconditionNotMetException extends __BaseException {
233
+ name = "PreconditionNotMetException";
234
+ $fault = "client";
232
235
  constructor(opts) {
233
236
  super({
234
237
  name: "PreconditionNotMetException",
235
238
  $fault: "client",
236
239
  ...opts,
237
240
  });
238
- this.name = "PreconditionNotMetException";
239
- this.$fault = "client";
240
241
  Object.setPrototypeOf(this, PreconditionNotMetException.prototype);
241
242
  }
242
243
  }
243
244
  export class UnsupportedUserStateException extends __BaseException {
245
+ name = "UnsupportedUserStateException";
246
+ $fault = "client";
244
247
  constructor(opts) {
245
248
  super({
246
249
  name: "UnsupportedUserStateException",
247
250
  $fault: "client",
248
251
  ...opts,
249
252
  });
250
- this.name = "UnsupportedUserStateException";
251
- this.$fault = "client";
252
253
  Object.setPrototypeOf(this, UnsupportedUserStateException.prototype);
253
254
  }
254
255
  }
255
256
  export class UsernameExistsException extends __BaseException {
257
+ name = "UsernameExistsException";
258
+ $fault = "client";
256
259
  constructor(opts) {
257
260
  super({
258
261
  name: "UsernameExistsException",
259
262
  $fault: "client",
260
263
  ...opts,
261
264
  });
262
- this.name = "UsernameExistsException";
263
- this.$fault = "client";
264
265
  Object.setPrototypeOf(this, UsernameExistsException.prototype);
265
266
  }
266
267
  }
267
268
  export class AliasExistsException extends __BaseException {
269
+ name = "AliasExistsException";
270
+ $fault = "client";
268
271
  constructor(opts) {
269
272
  super({
270
273
  name: "AliasExistsException",
271
274
  $fault: "client",
272
275
  ...opts,
273
276
  });
274
- this.name = "AliasExistsException";
275
- this.$fault = "client";
276
277
  Object.setPrototypeOf(this, AliasExistsException.prototype);
277
278
  }
278
279
  }
279
280
  export class InvalidUserPoolConfigurationException extends __BaseException {
281
+ name = "InvalidUserPoolConfigurationException";
282
+ $fault = "client";
280
283
  constructor(opts) {
281
284
  super({
282
285
  name: "InvalidUserPoolConfigurationException",
283
286
  $fault: "client",
284
287
  ...opts,
285
288
  });
286
- this.name = "InvalidUserPoolConfigurationException";
287
- this.$fault = "client";
288
289
  Object.setPrototypeOf(this, InvalidUserPoolConfigurationException.prototype);
289
290
  }
290
291
  }
@@ -317,50 +318,50 @@ export const ChallengeNameType = {
317
318
  WEB_AUTHN: "WEB_AUTHN",
318
319
  };
319
320
  export class InvalidEmailRoleAccessPolicyException extends __BaseException {
321
+ name = "InvalidEmailRoleAccessPolicyException";
322
+ $fault = "client";
320
323
  constructor(opts) {
321
324
  super({
322
325
  name: "InvalidEmailRoleAccessPolicyException",
323
326
  $fault: "client",
324
327
  ...opts,
325
328
  });
326
- this.name = "InvalidEmailRoleAccessPolicyException";
327
- this.$fault = "client";
328
329
  Object.setPrototypeOf(this, InvalidEmailRoleAccessPolicyException.prototype);
329
330
  }
330
331
  }
331
332
  export class MFAMethodNotFoundException extends __BaseException {
333
+ name = "MFAMethodNotFoundException";
334
+ $fault = "client";
332
335
  constructor(opts) {
333
336
  super({
334
337
  name: "MFAMethodNotFoundException",
335
338
  $fault: "client",
336
339
  ...opts,
337
340
  });
338
- this.name = "MFAMethodNotFoundException";
339
- this.$fault = "client";
340
341
  Object.setPrototypeOf(this, MFAMethodNotFoundException.prototype);
341
342
  }
342
343
  }
343
344
  export class PasswordResetRequiredException extends __BaseException {
345
+ name = "PasswordResetRequiredException";
346
+ $fault = "client";
344
347
  constructor(opts) {
345
348
  super({
346
349
  name: "PasswordResetRequiredException",
347
350
  $fault: "client",
348
351
  ...opts,
349
352
  });
350
- this.name = "PasswordResetRequiredException";
351
- this.$fault = "client";
352
353
  Object.setPrototypeOf(this, PasswordResetRequiredException.prototype);
353
354
  }
354
355
  }
355
356
  export class UserNotConfirmedException extends __BaseException {
357
+ name = "UserNotConfirmedException";
358
+ $fault = "client";
356
359
  constructor(opts) {
357
360
  super({
358
361
  name: "UserNotConfirmedException",
359
362
  $fault: "client",
360
363
  ...opts,
361
364
  });
362
- this.name = "UserNotConfirmedException";
363
- this.$fault = "client";
364
365
  Object.setPrototypeOf(this, UserNotConfirmedException.prototype);
365
366
  }
366
367
  }
@@ -399,62 +400,62 @@ export const EventType = {
399
400
  SignUp: "SignUp",
400
401
  };
401
402
  export class UserPoolAddOnNotEnabledException extends __BaseException {
403
+ name = "UserPoolAddOnNotEnabledException";
404
+ $fault = "client";
402
405
  constructor(opts) {
403
406
  super({
404
407
  name: "UserPoolAddOnNotEnabledException",
405
408
  $fault: "client",
406
409
  ...opts,
407
410
  });
408
- this.name = "UserPoolAddOnNotEnabledException";
409
- this.$fault = "client";
410
411
  Object.setPrototypeOf(this, UserPoolAddOnNotEnabledException.prototype);
411
412
  }
412
413
  }
413
414
  export class CodeMismatchException extends __BaseException {
415
+ name = "CodeMismatchException";
416
+ $fault = "client";
414
417
  constructor(opts) {
415
418
  super({
416
419
  name: "CodeMismatchException",
417
420
  $fault: "client",
418
421
  ...opts,
419
422
  });
420
- this.name = "CodeMismatchException";
421
- this.$fault = "client";
422
423
  Object.setPrototypeOf(this, CodeMismatchException.prototype);
423
424
  }
424
425
  }
425
426
  export class ExpiredCodeException extends __BaseException {
427
+ name = "ExpiredCodeException";
428
+ $fault = "client";
426
429
  constructor(opts) {
427
430
  super({
428
431
  name: "ExpiredCodeException",
429
432
  $fault: "client",
430
433
  ...opts,
431
434
  });
432
- this.name = "ExpiredCodeException";
433
- this.$fault = "client";
434
435
  Object.setPrototypeOf(this, ExpiredCodeException.prototype);
435
436
  }
436
437
  }
437
438
  export class PasswordHistoryPolicyViolationException extends __BaseException {
439
+ name = "PasswordHistoryPolicyViolationException";
440
+ $fault = "client";
438
441
  constructor(opts) {
439
442
  super({
440
443
  name: "PasswordHistoryPolicyViolationException",
441
444
  $fault: "client",
442
445
  ...opts,
443
446
  });
444
- this.name = "PasswordHistoryPolicyViolationException";
445
- this.$fault = "client";
446
447
  Object.setPrototypeOf(this, PasswordHistoryPolicyViolationException.prototype);
447
448
  }
448
449
  }
449
450
  export class SoftwareTokenMFANotFoundException extends __BaseException {
451
+ name = "SoftwareTokenMFANotFoundException";
452
+ $fault = "client";
450
453
  constructor(opts) {
451
454
  super({
452
455
  name: "SoftwareTokenMFANotFoundException",
453
456
  $fault: "client",
454
457
  ...opts,
455
458
  });
456
- this.name = "SoftwareTokenMFANotFoundException";
457
- this.$fault = "client";
458
459
  Object.setPrototypeOf(this, SoftwareTokenMFANotFoundException.prototype);
459
460
  }
460
461
  }
@@ -512,26 +513,26 @@ export const ColorSchemeModeType = {
512
513
  LIGHT: "LIGHT",
513
514
  };
514
515
  export class ConcurrentModificationException extends __BaseException {
516
+ name = "ConcurrentModificationException";
517
+ $fault = "client";
515
518
  constructor(opts) {
516
519
  super({
517
520
  name: "ConcurrentModificationException",
518
521
  $fault: "client",
519
522
  ...opts,
520
523
  });
521
- this.name = "ConcurrentModificationException";
522
- this.$fault = "client";
523
524
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
524
525
  }
525
526
  }
526
527
  export class ForbiddenException extends __BaseException {
528
+ name = "ForbiddenException";
529
+ $fault = "client";
527
530
  constructor(opts) {
528
531
  super({
529
532
  name: "ForbiddenException",
530
533
  $fault: "client",
531
534
  ...opts,
532
535
  });
533
- this.name = "ForbiddenException";
534
- this.$fault = "client";
535
536
  Object.setPrototypeOf(this, ForbiddenException.prototype);
536
537
  }
537
538
  }
@@ -540,86 +541,86 @@ export const VerifiedAttributeType = {
540
541
  PHONE_NUMBER: "phone_number",
541
542
  };
542
543
  export class WebAuthnChallengeNotFoundException extends __BaseException {
544
+ name = "WebAuthnChallengeNotFoundException";
545
+ $fault = "client";
543
546
  constructor(opts) {
544
547
  super({
545
548
  name: "WebAuthnChallengeNotFoundException",
546
549
  $fault: "client",
547
550
  ...opts,
548
551
  });
549
- this.name = "WebAuthnChallengeNotFoundException";
550
- this.$fault = "client";
551
552
  Object.setPrototypeOf(this, WebAuthnChallengeNotFoundException.prototype);
552
553
  }
553
554
  }
554
555
  export class WebAuthnClientMismatchException extends __BaseException {
556
+ name = "WebAuthnClientMismatchException";
557
+ $fault = "client";
555
558
  constructor(opts) {
556
559
  super({
557
560
  name: "WebAuthnClientMismatchException",
558
561
  $fault: "client",
559
562
  ...opts,
560
563
  });
561
- this.name = "WebAuthnClientMismatchException";
562
- this.$fault = "client";
563
564
  Object.setPrototypeOf(this, WebAuthnClientMismatchException.prototype);
564
565
  }
565
566
  }
566
567
  export class WebAuthnCredentialNotSupportedException extends __BaseException {
568
+ name = "WebAuthnCredentialNotSupportedException";
569
+ $fault = "client";
567
570
  constructor(opts) {
568
571
  super({
569
572
  name: "WebAuthnCredentialNotSupportedException",
570
573
  $fault: "client",
571
574
  ...opts,
572
575
  });
573
- this.name = "WebAuthnCredentialNotSupportedException";
574
- this.$fault = "client";
575
576
  Object.setPrototypeOf(this, WebAuthnCredentialNotSupportedException.prototype);
576
577
  }
577
578
  }
578
579
  export class WebAuthnNotEnabledException extends __BaseException {
580
+ name = "WebAuthnNotEnabledException";
581
+ $fault = "client";
579
582
  constructor(opts) {
580
583
  super({
581
584
  name: "WebAuthnNotEnabledException",
582
585
  $fault: "client",
583
586
  ...opts,
584
587
  });
585
- this.name = "WebAuthnNotEnabledException";
586
- this.$fault = "client";
587
588
  Object.setPrototypeOf(this, WebAuthnNotEnabledException.prototype);
588
589
  }
589
590
  }
590
591
  export class WebAuthnOriginNotAllowedException extends __BaseException {
592
+ name = "WebAuthnOriginNotAllowedException";
593
+ $fault = "client";
591
594
  constructor(opts) {
592
595
  super({
593
596
  name: "WebAuthnOriginNotAllowedException",
594
597
  $fault: "client",
595
598
  ...opts,
596
599
  });
597
- this.name = "WebAuthnOriginNotAllowedException";
598
- this.$fault = "client";
599
600
  Object.setPrototypeOf(this, WebAuthnOriginNotAllowedException.prototype);
600
601
  }
601
602
  }
602
603
  export class WebAuthnRelyingPartyMismatchException extends __BaseException {
604
+ name = "WebAuthnRelyingPartyMismatchException";
605
+ $fault = "client";
603
606
  constructor(opts) {
604
607
  super({
605
608
  name: "WebAuthnRelyingPartyMismatchException",
606
609
  $fault: "client",
607
610
  ...opts,
608
611
  });
609
- this.name = "WebAuthnRelyingPartyMismatchException";
610
- this.$fault = "client";
611
612
  Object.setPrototypeOf(this, WebAuthnRelyingPartyMismatchException.prototype);
612
613
  }
613
614
  }
614
615
  export class GroupExistsException extends __BaseException {
616
+ name = "GroupExistsException";
617
+ $fault = "client";
615
618
  constructor(opts) {
616
619
  super({
617
620
  name: "GroupExistsException",
618
621
  $fault: "client",
619
622
  ...opts,
620
623
  });
621
- this.name = "GroupExistsException";
622
- this.$fault = "client";
623
624
  Object.setPrototypeOf(this, GroupExistsException.prototype);
624
625
  }
625
626
  }
@@ -632,26 +633,26 @@ export const IdentityProviderTypeType = {
632
633
  SignInWithApple: "SignInWithApple",
633
634
  };
634
635
  export class DuplicateProviderException extends __BaseException {
636
+ name = "DuplicateProviderException";
637
+ $fault = "client";
635
638
  constructor(opts) {
636
639
  super({
637
640
  name: "DuplicateProviderException",
638
641
  $fault: "client",
639
642
  ...opts,
640
643
  });
641
- this.name = "DuplicateProviderException";
642
- this.$fault = "client";
643
644
  Object.setPrototypeOf(this, DuplicateProviderException.prototype);
644
645
  }
645
646
  }
646
647
  export class ManagedLoginBrandingExistsException extends __BaseException {
648
+ name = "ManagedLoginBrandingExistsException";
649
+ $fault = "client";
647
650
  constructor(opts) {
648
651
  super({
649
652
  name: "ManagedLoginBrandingExistsException",
650
653
  $fault: "client",
651
654
  ...opts,
652
655
  });
653
- this.name = "ManagedLoginBrandingExistsException";
654
- this.$fault = "client";
655
656
  Object.setPrototypeOf(this, ManagedLoginBrandingExistsException.prototype);
656
657
  }
657
658
  }
@@ -706,38 +707,38 @@ export const StatusType = {
706
707
  Enabled: "Enabled",
707
708
  };
708
709
  export class FeatureUnavailableInTierException extends __BaseException {
710
+ name = "FeatureUnavailableInTierException";
711
+ $fault = "client";
709
712
  constructor(opts) {
710
713
  super({
711
714
  name: "FeatureUnavailableInTierException",
712
715
  $fault: "client",
713
716
  ...opts,
714
717
  });
715
- this.name = "FeatureUnavailableInTierException";
716
- this.$fault = "client";
717
718
  Object.setPrototypeOf(this, FeatureUnavailableInTierException.prototype);
718
719
  }
719
720
  }
720
721
  export class TierChangeNotAllowedException extends __BaseException {
722
+ name = "TierChangeNotAllowedException";
723
+ $fault = "client";
721
724
  constructor(opts) {
722
725
  super({
723
726
  name: "TierChangeNotAllowedException",
724
727
  $fault: "client",
725
728
  ...opts,
726
729
  });
727
- this.name = "TierChangeNotAllowedException";
728
- this.$fault = "client";
729
730
  Object.setPrototypeOf(this, TierChangeNotAllowedException.prototype);
730
731
  }
731
732
  }
732
733
  export class UserPoolTaggingException extends __BaseException {
734
+ name = "UserPoolTaggingException";
735
+ $fault = "client";
733
736
  constructor(opts) {
734
737
  super({
735
738
  name: "UserPoolTaggingException",
736
739
  $fault: "client",
737
740
  ...opts,
738
741
  });
739
- this.name = "UserPoolTaggingException";
740
- this.$fault = "client";
741
742
  Object.setPrototypeOf(this, UserPoolTaggingException.prototype);
742
743
  }
743
744
  }
@@ -768,38 +769,38 @@ export const TimeUnitsType = {
768
769
  SECONDS: "seconds",
769
770
  };
770
771
  export class InvalidOAuthFlowException extends __BaseException {
772
+ name = "InvalidOAuthFlowException";
773
+ $fault = "client";
771
774
  constructor(opts) {
772
775
  super({
773
776
  name: "InvalidOAuthFlowException",
774
777
  $fault: "client",
775
778
  ...opts,
776
779
  });
777
- this.name = "InvalidOAuthFlowException";
778
- this.$fault = "client";
779
780
  Object.setPrototypeOf(this, InvalidOAuthFlowException.prototype);
780
781
  }
781
782
  }
782
783
  export class ScopeDoesNotExistException extends __BaseException {
784
+ name = "ScopeDoesNotExistException";
785
+ $fault = "client";
783
786
  constructor(opts) {
784
787
  super({
785
788
  name: "ScopeDoesNotExistException",
786
789
  $fault: "client",
787
790
  ...opts,
788
791
  });
789
- this.name = "ScopeDoesNotExistException";
790
- this.$fault = "client";
791
792
  Object.setPrototypeOf(this, ScopeDoesNotExistException.prototype);
792
793
  }
793
794
  }
794
795
  export class UnsupportedIdentityProviderException extends __BaseException {
796
+ name = "UnsupportedIdentityProviderException";
797
+ $fault = "client";
795
798
  constructor(opts) {
796
799
  super({
797
800
  name: "UnsupportedIdentityProviderException",
798
801
  $fault: "client",
799
802
  ...opts,
800
803
  });
801
- this.name = "UnsupportedIdentityProviderException";
802
- this.$fault = "client";
803
804
  Object.setPrototypeOf(this, UnsupportedIdentityProviderException.prototype);
804
805
  }
805
806
  }