@aws-sdk/client-cognito-identity-provider 3.301.0 → 3.303.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/models/models_0.js +197 -233
- package/dist-cjs/models/models_1.js +4 -5
- package/dist-es/models/models_0.js +197 -233
- package/dist-es/models/models_1.js +4 -5
- package/dist-types/models/models_0.d.ts +377 -197
- package/dist-types/models/models_1.d.ts +9 -4
- package/dist-types/ts3.4/models/models_0.d.ts +262 -197
- package/dist-types/ts3.4/models/models_1.d.ts +6 -4
- package/package.json +34 -34
|
@@ -6,26 +6,23 @@ exports.SetRiskConfigurationRequestFilterSensitiveLog = exports.RevokeTokenReque
|
|
|
6
6
|
exports.SetUserSettingsRequestFilterSensitiveLog = exports.SetUserMFAPreferenceRequestFilterSensitiveLog = exports.SetUICustomizationResponseFilterSensitiveLog = exports.SetUICustomizationRequestFilterSensitiveLog = exports.SetRiskConfigurationResponseFilterSensitiveLog = void 0;
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const CognitoIdentityProviderServiceException_1 = require("./CognitoIdentityProviderServiceException");
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
AttributeDataType["NUMBER"] = "Number";
|
|
27
|
-
AttributeDataType["STRING"] = "String";
|
|
28
|
-
})(AttributeDataType = exports.AttributeDataType || (exports.AttributeDataType = {}));
|
|
9
|
+
exports.RecoveryOptionNameType = {
|
|
10
|
+
ADMIN_ONLY: "admin_only",
|
|
11
|
+
VERIFIED_EMAIL: "verified_email",
|
|
12
|
+
VERIFIED_PHONE_NUMBER: "verified_phone_number",
|
|
13
|
+
};
|
|
14
|
+
exports.AccountTakeoverEventActionType = {
|
|
15
|
+
BLOCK: "BLOCK",
|
|
16
|
+
MFA_IF_CONFIGURED: "MFA_IF_CONFIGURED",
|
|
17
|
+
MFA_REQUIRED: "MFA_REQUIRED",
|
|
18
|
+
NO_ACTION: "NO_ACTION",
|
|
19
|
+
};
|
|
20
|
+
exports.AttributeDataType = {
|
|
21
|
+
BOOLEAN: "Boolean",
|
|
22
|
+
DATETIME: "DateTime",
|
|
23
|
+
NUMBER: "Number",
|
|
24
|
+
STRING: "String",
|
|
25
|
+
};
|
|
29
26
|
class InternalErrorException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
30
27
|
constructor(opts) {
|
|
31
28
|
super({
|
|
@@ -182,26 +179,23 @@ class UserLambdaValidationException extends CognitoIdentityProviderServiceExcept
|
|
|
182
179
|
}
|
|
183
180
|
}
|
|
184
181
|
exports.UserLambdaValidationException = UserLambdaValidationException;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
UserStatusType["UNCONFIRMED"] = "UNCONFIRMED";
|
|
203
|
-
UserStatusType["UNKNOWN"] = "UNKNOWN";
|
|
204
|
-
})(UserStatusType = exports.UserStatusType || (exports.UserStatusType = {}));
|
|
182
|
+
exports.DeliveryMediumType = {
|
|
183
|
+
EMAIL: "EMAIL",
|
|
184
|
+
SMS: "SMS",
|
|
185
|
+
};
|
|
186
|
+
exports.MessageActionType = {
|
|
187
|
+
RESEND: "RESEND",
|
|
188
|
+
SUPPRESS: "SUPPRESS",
|
|
189
|
+
};
|
|
190
|
+
exports.UserStatusType = {
|
|
191
|
+
ARCHIVED: "ARCHIVED",
|
|
192
|
+
COMPROMISED: "COMPROMISED",
|
|
193
|
+
CONFIRMED: "CONFIRMED",
|
|
194
|
+
FORCE_CHANGE_PASSWORD: "FORCE_CHANGE_PASSWORD",
|
|
195
|
+
RESET_REQUIRED: "RESET_REQUIRED",
|
|
196
|
+
UNCONFIRMED: "UNCONFIRMED",
|
|
197
|
+
UNKNOWN: "UNKNOWN",
|
|
198
|
+
};
|
|
205
199
|
class CodeDeliveryFailureException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
206
200
|
constructor(opts) {
|
|
207
201
|
super({
|
|
@@ -319,29 +313,27 @@ class InvalidUserPoolConfigurationException extends CognitoIdentityProviderServi
|
|
|
319
313
|
}
|
|
320
314
|
}
|
|
321
315
|
exports.InvalidUserPoolConfigurationException = InvalidUserPoolConfigurationException;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
ChallengeNameType["SOFTWARE_TOKEN_MFA"] = "SOFTWARE_TOKEN_MFA";
|
|
344
|
-
})(ChallengeNameType = exports.ChallengeNameType || (exports.ChallengeNameType = {}));
|
|
316
|
+
exports.AuthFlowType = {
|
|
317
|
+
ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
|
|
318
|
+
ADMIN_USER_PASSWORD_AUTH: "ADMIN_USER_PASSWORD_AUTH",
|
|
319
|
+
CUSTOM_AUTH: "CUSTOM_AUTH",
|
|
320
|
+
REFRESH_TOKEN: "REFRESH_TOKEN",
|
|
321
|
+
REFRESH_TOKEN_AUTH: "REFRESH_TOKEN_AUTH",
|
|
322
|
+
USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH",
|
|
323
|
+
USER_SRP_AUTH: "USER_SRP_AUTH",
|
|
324
|
+
};
|
|
325
|
+
exports.ChallengeNameType = {
|
|
326
|
+
ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
|
|
327
|
+
CUSTOM_CHALLENGE: "CUSTOM_CHALLENGE",
|
|
328
|
+
DEVICE_PASSWORD_VERIFIER: "DEVICE_PASSWORD_VERIFIER",
|
|
329
|
+
DEVICE_SRP_AUTH: "DEVICE_SRP_AUTH",
|
|
330
|
+
MFA_SETUP: "MFA_SETUP",
|
|
331
|
+
NEW_PASSWORD_REQUIRED: "NEW_PASSWORD_REQUIRED",
|
|
332
|
+
PASSWORD_VERIFIER: "PASSWORD_VERIFIER",
|
|
333
|
+
SELECT_MFA_TYPE: "SELECT_MFA_TYPE",
|
|
334
|
+
SMS_MFA: "SMS_MFA",
|
|
335
|
+
SOFTWARE_TOKEN_MFA: "SOFTWARE_TOKEN_MFA",
|
|
336
|
+
};
|
|
345
337
|
class MFAMethodNotFoundException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
346
338
|
constructor(opts) {
|
|
347
339
|
super({
|
|
@@ -381,47 +373,40 @@ class UserNotConfirmedException extends CognitoIdentityProviderServiceException_
|
|
|
381
373
|
}
|
|
382
374
|
}
|
|
383
375
|
exports.UserNotConfirmedException = UserNotConfirmedException;
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
(function (EventType) {
|
|
419
|
-
EventType["ForgotPassword"] = "ForgotPassword";
|
|
420
|
-
EventType["PasswordChange"] = "PasswordChange";
|
|
421
|
-
EventType["ResendCode"] = "ResendCode";
|
|
422
|
-
EventType["SignIn"] = "SignIn";
|
|
423
|
-
EventType["SignUp"] = "SignUp";
|
|
424
|
-
})(EventType = exports.EventType || (exports.EventType = {}));
|
|
376
|
+
exports.ChallengeName = {
|
|
377
|
+
Mfa: "Mfa",
|
|
378
|
+
Password: "Password",
|
|
379
|
+
};
|
|
380
|
+
exports.ChallengeResponse = {
|
|
381
|
+
Failure: "Failure",
|
|
382
|
+
Success: "Success",
|
|
383
|
+
};
|
|
384
|
+
exports.FeedbackValueType = {
|
|
385
|
+
INVALID: "Invalid",
|
|
386
|
+
VALID: "Valid",
|
|
387
|
+
};
|
|
388
|
+
exports.EventResponseType = {
|
|
389
|
+
Fail: "Fail",
|
|
390
|
+
InProgress: "InProgress",
|
|
391
|
+
Pass: "Pass",
|
|
392
|
+
};
|
|
393
|
+
exports.RiskDecisionType = {
|
|
394
|
+
AccountTakeover: "AccountTakeover",
|
|
395
|
+
Block: "Block",
|
|
396
|
+
NoRisk: "NoRisk",
|
|
397
|
+
};
|
|
398
|
+
exports.RiskLevelType = {
|
|
399
|
+
High: "High",
|
|
400
|
+
Low: "Low",
|
|
401
|
+
Medium: "Medium",
|
|
402
|
+
};
|
|
403
|
+
exports.EventType = {
|
|
404
|
+
ForgotPassword: "ForgotPassword",
|
|
405
|
+
PasswordChange: "PasswordChange",
|
|
406
|
+
ResendCode: "ResendCode",
|
|
407
|
+
SignIn: "SignIn",
|
|
408
|
+
SignUp: "SignUp",
|
|
409
|
+
};
|
|
425
410
|
class UserPoolAddOnNotEnabledException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
426
411
|
constructor(opts) {
|
|
427
412
|
super({
|
|
@@ -487,23 +472,20 @@ class SoftwareTokenMFANotFoundException extends CognitoIdentityProviderServiceEx
|
|
|
487
472
|
}
|
|
488
473
|
}
|
|
489
474
|
exports.SoftwareTokenMFANotFoundException = SoftwareTokenMFANotFoundException;
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
AliasAttributeType["PHONE_NUMBER"] = "phone_number";
|
|
505
|
-
AliasAttributeType["PREFERRED_USERNAME"] = "preferred_username";
|
|
506
|
-
})(AliasAttributeType = exports.AliasAttributeType || (exports.AliasAttributeType = {}));
|
|
475
|
+
exports.DeviceRememberedStatusType = {
|
|
476
|
+
NOT_REMEMBERED: "not_remembered",
|
|
477
|
+
REMEMBERED: "remembered",
|
|
478
|
+
};
|
|
479
|
+
exports.AdvancedSecurityModeType = {
|
|
480
|
+
AUDIT: "AUDIT",
|
|
481
|
+
ENFORCED: "ENFORCED",
|
|
482
|
+
OFF: "OFF",
|
|
483
|
+
};
|
|
484
|
+
exports.AliasAttributeType = {
|
|
485
|
+
EMAIL: "email",
|
|
486
|
+
PHONE_NUMBER: "phone_number",
|
|
487
|
+
PREFERRED_USERNAME: "preferred_username",
|
|
488
|
+
};
|
|
507
489
|
class ConcurrentModificationException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
508
490
|
constructor(opts) {
|
|
509
491
|
super({
|
|
@@ -530,11 +512,10 @@ class ForbiddenException extends CognitoIdentityProviderServiceException_1.Cogni
|
|
|
530
512
|
}
|
|
531
513
|
}
|
|
532
514
|
exports.ForbiddenException = ForbiddenException;
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
})(VerifiedAttributeType = exports.VerifiedAttributeType || (exports.VerifiedAttributeType = {}));
|
|
515
|
+
exports.VerifiedAttributeType = {
|
|
516
|
+
EMAIL: "email",
|
|
517
|
+
PHONE_NUMBER: "phone_number",
|
|
518
|
+
};
|
|
538
519
|
class GroupExistsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
539
520
|
constructor(opts) {
|
|
540
521
|
super({
|
|
@@ -548,15 +529,14 @@ class GroupExistsException extends CognitoIdentityProviderServiceException_1.Cog
|
|
|
548
529
|
}
|
|
549
530
|
}
|
|
550
531
|
exports.GroupExistsException = GroupExistsException;
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
})(IdentityProviderTypeType = exports.IdentityProviderTypeType || (exports.IdentityProviderTypeType = {}));
|
|
532
|
+
exports.IdentityProviderTypeType = {
|
|
533
|
+
Facebook: "Facebook",
|
|
534
|
+
Google: "Google",
|
|
535
|
+
LoginWithAmazon: "LoginWithAmazon",
|
|
536
|
+
OIDC: "OIDC",
|
|
537
|
+
SAML: "SAML",
|
|
538
|
+
SignInWithApple: "SignInWithApple",
|
|
539
|
+
};
|
|
560
540
|
class DuplicateProviderException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
561
541
|
constructor(opts) {
|
|
562
542
|
super({
|
|
@@ -570,56 +550,47 @@ class DuplicateProviderException extends CognitoIdentityProviderServiceException
|
|
|
570
550
|
}
|
|
571
551
|
}
|
|
572
552
|
exports.DuplicateProviderException = DuplicateProviderException;
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
(function (DefaultEmailOptionType) {
|
|
615
|
-
DefaultEmailOptionType["CONFIRM_WITH_CODE"] = "CONFIRM_WITH_CODE";
|
|
616
|
-
DefaultEmailOptionType["CONFIRM_WITH_LINK"] = "CONFIRM_WITH_LINK";
|
|
617
|
-
})(DefaultEmailOptionType = exports.DefaultEmailOptionType || (exports.DefaultEmailOptionType = {}));
|
|
618
|
-
var StatusType;
|
|
619
|
-
(function (StatusType) {
|
|
620
|
-
StatusType["Disabled"] = "Disabled";
|
|
621
|
-
StatusType["Enabled"] = "Enabled";
|
|
622
|
-
})(StatusType = exports.StatusType || (exports.StatusType = {}));
|
|
553
|
+
exports.UserImportJobStatusType = {
|
|
554
|
+
Created: "Created",
|
|
555
|
+
Expired: "Expired",
|
|
556
|
+
Failed: "Failed",
|
|
557
|
+
InProgress: "InProgress",
|
|
558
|
+
Pending: "Pending",
|
|
559
|
+
Stopped: "Stopped",
|
|
560
|
+
Stopping: "Stopping",
|
|
561
|
+
Succeeded: "Succeeded",
|
|
562
|
+
};
|
|
563
|
+
exports.DeletionProtectionType = {
|
|
564
|
+
ACTIVE: "ACTIVE",
|
|
565
|
+
INACTIVE: "INACTIVE",
|
|
566
|
+
};
|
|
567
|
+
exports.EmailSendingAccountType = {
|
|
568
|
+
COGNITO_DEFAULT: "COGNITO_DEFAULT",
|
|
569
|
+
DEVELOPER: "DEVELOPER",
|
|
570
|
+
};
|
|
571
|
+
exports.CustomEmailSenderLambdaVersionType = {
|
|
572
|
+
V1_0: "V1_0",
|
|
573
|
+
};
|
|
574
|
+
exports.CustomSMSSenderLambdaVersionType = {
|
|
575
|
+
V1_0: "V1_0",
|
|
576
|
+
};
|
|
577
|
+
exports.UserPoolMfaType = {
|
|
578
|
+
OFF: "OFF",
|
|
579
|
+
ON: "ON",
|
|
580
|
+
OPTIONAL: "OPTIONAL",
|
|
581
|
+
};
|
|
582
|
+
exports.UsernameAttributeType = {
|
|
583
|
+
EMAIL: "email",
|
|
584
|
+
PHONE_NUMBER: "phone_number",
|
|
585
|
+
};
|
|
586
|
+
exports.DefaultEmailOptionType = {
|
|
587
|
+
CONFIRM_WITH_CODE: "CONFIRM_WITH_CODE",
|
|
588
|
+
CONFIRM_WITH_LINK: "CONFIRM_WITH_LINK",
|
|
589
|
+
};
|
|
590
|
+
exports.StatusType = {
|
|
591
|
+
Disabled: "Disabled",
|
|
592
|
+
Enabled: "Enabled",
|
|
593
|
+
};
|
|
623
594
|
class UserPoolTaggingException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
624
595
|
constructor(opts) {
|
|
625
596
|
super({
|
|
@@ -633,35 +604,31 @@ class UserPoolTaggingException extends CognitoIdentityProviderServiceException_1
|
|
|
633
604
|
}
|
|
634
605
|
}
|
|
635
606
|
exports.UserPoolTaggingException = UserPoolTaggingException;
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
TimeUnitsType["HOURS"] = "hours";
|
|
662
|
-
TimeUnitsType["MINUTES"] = "minutes";
|
|
663
|
-
TimeUnitsType["SECONDS"] = "seconds";
|
|
664
|
-
})(TimeUnitsType = exports.TimeUnitsType || (exports.TimeUnitsType = {}));
|
|
607
|
+
exports.OAuthFlowType = {
|
|
608
|
+
client_credentials: "client_credentials",
|
|
609
|
+
code: "code",
|
|
610
|
+
implicit: "implicit",
|
|
611
|
+
};
|
|
612
|
+
exports.ExplicitAuthFlowsType = {
|
|
613
|
+
ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
|
|
614
|
+
ALLOW_ADMIN_USER_PASSWORD_AUTH: "ALLOW_ADMIN_USER_PASSWORD_AUTH",
|
|
615
|
+
ALLOW_CUSTOM_AUTH: "ALLOW_CUSTOM_AUTH",
|
|
616
|
+
ALLOW_REFRESH_TOKEN_AUTH: "ALLOW_REFRESH_TOKEN_AUTH",
|
|
617
|
+
ALLOW_USER_PASSWORD_AUTH: "ALLOW_USER_PASSWORD_AUTH",
|
|
618
|
+
ALLOW_USER_SRP_AUTH: "ALLOW_USER_SRP_AUTH",
|
|
619
|
+
CUSTOM_AUTH_FLOW_ONLY: "CUSTOM_AUTH_FLOW_ONLY",
|
|
620
|
+
USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH",
|
|
621
|
+
};
|
|
622
|
+
exports.PreventUserExistenceErrorTypes = {
|
|
623
|
+
ENABLED: "ENABLED",
|
|
624
|
+
LEGACY: "LEGACY",
|
|
625
|
+
};
|
|
626
|
+
exports.TimeUnitsType = {
|
|
627
|
+
DAYS: "days",
|
|
628
|
+
HOURS: "hours",
|
|
629
|
+
MINUTES: "minutes",
|
|
630
|
+
SECONDS: "seconds",
|
|
631
|
+
};
|
|
665
632
|
class InvalidOAuthFlowException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
666
633
|
constructor(opts) {
|
|
667
634
|
super({
|
|
@@ -701,25 +668,22 @@ class UnsupportedIdentityProviderException extends CognitoIdentityProviderServic
|
|
|
701
668
|
}
|
|
702
669
|
}
|
|
703
670
|
exports.UnsupportedIdentityProviderException = UnsupportedIdentityProviderException;
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
DomainStatusType["FAILED"] = "FAILED";
|
|
721
|
-
DomainStatusType["UPDATING"] = "UPDATING";
|
|
722
|
-
})(DomainStatusType = exports.DomainStatusType || (exports.DomainStatusType = {}));
|
|
671
|
+
exports.CompromisedCredentialsEventActionType = {
|
|
672
|
+
BLOCK: "BLOCK",
|
|
673
|
+
NO_ACTION: "NO_ACTION",
|
|
674
|
+
};
|
|
675
|
+
exports.EventFilterType = {
|
|
676
|
+
PASSWORD_CHANGE: "PASSWORD_CHANGE",
|
|
677
|
+
SIGN_IN: "SIGN_IN",
|
|
678
|
+
SIGN_UP: "SIGN_UP",
|
|
679
|
+
};
|
|
680
|
+
exports.DomainStatusType = {
|
|
681
|
+
ACTIVE: "ACTIVE",
|
|
682
|
+
CREATING: "CREATING",
|
|
683
|
+
DELETING: "DELETING",
|
|
684
|
+
FAILED: "FAILED",
|
|
685
|
+
UPDATING: "UPDATING",
|
|
686
|
+
};
|
|
723
687
|
class UnauthorizedException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
724
688
|
constructor(opts) {
|
|
725
689
|
super({
|
|
@@ -17,11 +17,10 @@ class EnableSoftwareTokenMFAException extends CognitoIdentityProviderServiceExce
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
exports.EnableSoftwareTokenMFAException = EnableSoftwareTokenMFAException;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
})(VerifySoftwareTokenResponseType = exports.VerifySoftwareTokenResponseType || (exports.VerifySoftwareTokenResponseType = {}));
|
|
20
|
+
exports.VerifySoftwareTokenResponseType = {
|
|
21
|
+
ERROR: "ERROR",
|
|
22
|
+
SUCCESS: "SUCCESS",
|
|
23
|
+
};
|
|
25
24
|
const SignUpRequestFilterSensitiveLog = (obj) => ({
|
|
26
25
|
...obj,
|
|
27
26
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|