@aws-sdk/client-cognito-identity-provider 3.300.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/commands/AddCustomAttributesCommand.d.ts +5 -5
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +1 -1
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +2 -2
- package/dist-types/commands/AdminCreateUserCommand.d.ts +5 -5
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -2
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +2 -2
- package/dist-types/commands/AdminDisableUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminEnableUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +1 -1
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +1 -1
- package/dist-types/commands/AdminGetUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +7 -7
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +2 -2
- package/dist-types/commands/AdminListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +1 -1
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +1 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -2
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +7 -7
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +3 -3
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +1 -1
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +3 -3
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +1 -1
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +1 -1
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +4 -4
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +1 -1
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +1 -1
- package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +2 -2
- package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +4 -4
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +4 -4
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +4 -4
- package/dist-types/commands/CreateResourceServerCommand.d.ts +3 -3
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +10 -10
- package/dist-types/commands/CreateUserPoolCommand.d.ts +27 -27
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +2 -2
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourceServerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +2 -2
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserPoolCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourceServerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserImportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +1 -1
- package/dist-types/commands/ForgetDeviceCommand.d.ts +1 -1
- package/dist-types/commands/ForgotPasswordCommand.d.ts +4 -4
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +1 -1
- package/dist-types/commands/GetDeviceCommand.d.ts +1 -1
- package/dist-types/commands/GetGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +1 -1
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +1 -1
- package/dist-types/commands/GetUICustomizationCommand.d.ts +1 -1
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -2
- package/dist-types/commands/GetUserCommand.d.ts +1 -1
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +1 -1
- package/dist-types/commands/GlobalSignOutCommand.d.ts +1 -1
- package/dist-types/commands/InitiateAuthCommand.d.ts +5 -5
- package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceServersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -1
- package/dist-types/commands/ListUsersCommand.d.ts +2 -2
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -1
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +4 -4
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +5 -5
- package/dist-types/commands/RevokeTokenCommand.d.ts +1 -1
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +12 -12
- package/dist-types/commands/SetUICustomizationCommand.d.ts +1 -1
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +3 -3
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +4 -4
- package/dist-types/commands/SetUserSettingsCommand.d.ts +3 -3
- package/dist-types/commands/SignUpCommand.d.ts +6 -6
- package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -1
- package/dist-types/commands/StopUserImportJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +4 -4
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +3 -3
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +4 -4
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +10 -10
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +20 -20
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +2 -2
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +1 -1
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +1 -1
- 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
|
@@ -893,11 +893,16 @@ export interface VerifySoftwareTokenRequest {
|
|
|
893
893
|
}
|
|
894
894
|
/**
|
|
895
895
|
* @public
|
|
896
|
+
* @enum
|
|
896
897
|
*/
|
|
897
|
-
export declare
|
|
898
|
-
ERROR
|
|
899
|
-
SUCCESS
|
|
900
|
-
}
|
|
898
|
+
export declare const VerifySoftwareTokenResponseType: {
|
|
899
|
+
readonly ERROR: "ERROR";
|
|
900
|
+
readonly SUCCESS: "SUCCESS";
|
|
901
|
+
};
|
|
902
|
+
/**
|
|
903
|
+
* @public
|
|
904
|
+
*/
|
|
905
|
+
export type VerifySoftwareTokenResponseType = (typeof VerifySoftwareTokenResponseType)[keyof typeof VerifySoftwareTokenResponseType];
|
|
901
906
|
/**
|
|
902
907
|
* @public
|
|
903
908
|
*/
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
ADMIN_ONLY
|
|
5
|
-
VERIFIED_EMAIL
|
|
6
|
-
VERIFIED_PHONE_NUMBER
|
|
7
|
-
}
|
|
3
|
+
export declare const RecoveryOptionNameType: {
|
|
4
|
+
readonly ADMIN_ONLY: "admin_only";
|
|
5
|
+
readonly VERIFIED_EMAIL: "verified_email";
|
|
6
|
+
readonly VERIFIED_PHONE_NUMBER: "verified_phone_number";
|
|
7
|
+
};
|
|
8
|
+
export type RecoveryOptionNameType =
|
|
9
|
+
(typeof RecoveryOptionNameType)[keyof typeof RecoveryOptionNameType];
|
|
8
10
|
export interface RecoveryOptionType {
|
|
9
11
|
Priority: number | undefined;
|
|
10
12
|
Name: RecoveryOptionNameType | string | undefined;
|
|
@@ -12,12 +14,14 @@ export interface RecoveryOptionType {
|
|
|
12
14
|
export interface AccountRecoverySettingType {
|
|
13
15
|
RecoveryMechanisms?: RecoveryOptionType[];
|
|
14
16
|
}
|
|
15
|
-
export declare
|
|
16
|
-
BLOCK
|
|
17
|
-
MFA_IF_CONFIGURED
|
|
18
|
-
MFA_REQUIRED
|
|
19
|
-
NO_ACTION
|
|
20
|
-
}
|
|
17
|
+
export declare const AccountTakeoverEventActionType: {
|
|
18
|
+
readonly BLOCK: "BLOCK";
|
|
19
|
+
readonly MFA_IF_CONFIGURED: "MFA_IF_CONFIGURED";
|
|
20
|
+
readonly MFA_REQUIRED: "MFA_REQUIRED";
|
|
21
|
+
readonly NO_ACTION: "NO_ACTION";
|
|
22
|
+
};
|
|
23
|
+
export type AccountTakeoverEventActionType =
|
|
24
|
+
(typeof AccountTakeoverEventActionType)[keyof typeof AccountTakeoverEventActionType];
|
|
21
25
|
export interface AccountTakeoverActionType {
|
|
22
26
|
Notify: boolean | undefined;
|
|
23
27
|
EventAction: AccountTakeoverEventActionType | string | undefined;
|
|
@@ -44,12 +48,14 @@ export interface AccountTakeoverRiskConfigurationType {
|
|
|
44
48
|
NotifyConfiguration?: NotifyConfigurationType;
|
|
45
49
|
Actions: AccountTakeoverActionsType | undefined;
|
|
46
50
|
}
|
|
47
|
-
export declare
|
|
48
|
-
BOOLEAN
|
|
49
|
-
DATETIME
|
|
50
|
-
NUMBER
|
|
51
|
-
STRING
|
|
52
|
-
}
|
|
51
|
+
export declare const AttributeDataType: {
|
|
52
|
+
readonly BOOLEAN: "Boolean";
|
|
53
|
+
readonly DATETIME: "DateTime";
|
|
54
|
+
readonly NUMBER: "Number";
|
|
55
|
+
readonly STRING: "String";
|
|
56
|
+
};
|
|
57
|
+
export type AttributeDataType =
|
|
58
|
+
(typeof AttributeDataType)[keyof typeof AttributeDataType];
|
|
53
59
|
export interface NumberAttributeConstraintsType {
|
|
54
60
|
MinValue?: string;
|
|
55
61
|
MaxValue?: string;
|
|
@@ -167,14 +173,18 @@ export declare class UserLambdaValidationException extends __BaseException {
|
|
|
167
173
|
opts: __ExceptionOptionType<UserLambdaValidationException, __BaseException>
|
|
168
174
|
);
|
|
169
175
|
}
|
|
170
|
-
export declare
|
|
171
|
-
EMAIL
|
|
172
|
-
SMS
|
|
173
|
-
}
|
|
174
|
-
export
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
export declare const DeliveryMediumType: {
|
|
177
|
+
readonly EMAIL: "EMAIL";
|
|
178
|
+
readonly SMS: "SMS";
|
|
179
|
+
};
|
|
180
|
+
export type DeliveryMediumType =
|
|
181
|
+
(typeof DeliveryMediumType)[keyof typeof DeliveryMediumType];
|
|
182
|
+
export declare const MessageActionType: {
|
|
183
|
+
readonly RESEND: "RESEND";
|
|
184
|
+
readonly SUPPRESS: "SUPPRESS";
|
|
185
|
+
};
|
|
186
|
+
export type MessageActionType =
|
|
187
|
+
(typeof MessageActionType)[keyof typeof MessageActionType];
|
|
178
188
|
export interface AttributeType {
|
|
179
189
|
Name: string | undefined;
|
|
180
190
|
Value?: string;
|
|
@@ -194,15 +204,17 @@ export interface MFAOptionType {
|
|
|
194
204
|
DeliveryMedium?: DeliveryMediumType | string;
|
|
195
205
|
AttributeName?: string;
|
|
196
206
|
}
|
|
197
|
-
export declare
|
|
198
|
-
ARCHIVED
|
|
199
|
-
COMPROMISED
|
|
200
|
-
CONFIRMED
|
|
201
|
-
FORCE_CHANGE_PASSWORD
|
|
202
|
-
RESET_REQUIRED
|
|
203
|
-
UNCONFIRMED
|
|
204
|
-
UNKNOWN
|
|
205
|
-
}
|
|
207
|
+
export declare const UserStatusType: {
|
|
208
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
209
|
+
readonly COMPROMISED: "COMPROMISED";
|
|
210
|
+
readonly CONFIRMED: "CONFIRMED";
|
|
211
|
+
readonly FORCE_CHANGE_PASSWORD: "FORCE_CHANGE_PASSWORD";
|
|
212
|
+
readonly RESET_REQUIRED: "RESET_REQUIRED";
|
|
213
|
+
readonly UNCONFIRMED: "UNCONFIRMED";
|
|
214
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
215
|
+
};
|
|
216
|
+
export type UserStatusType =
|
|
217
|
+
(typeof UserStatusType)[keyof typeof UserStatusType];
|
|
206
218
|
export interface UserType {
|
|
207
219
|
Username?: string;
|
|
208
220
|
Attributes?: AttributeType[];
|
|
@@ -365,15 +377,16 @@ export interface AdminGetUserResponse {
|
|
|
365
377
|
export interface AnalyticsMetadataType {
|
|
366
378
|
AnalyticsEndpointId?: string;
|
|
367
379
|
}
|
|
368
|
-
export declare
|
|
369
|
-
ADMIN_NO_SRP_AUTH
|
|
370
|
-
ADMIN_USER_PASSWORD_AUTH
|
|
371
|
-
CUSTOM_AUTH
|
|
372
|
-
REFRESH_TOKEN
|
|
373
|
-
REFRESH_TOKEN_AUTH
|
|
374
|
-
USER_PASSWORD_AUTH
|
|
375
|
-
USER_SRP_AUTH
|
|
376
|
-
}
|
|
380
|
+
export declare const AuthFlowType: {
|
|
381
|
+
readonly ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH";
|
|
382
|
+
readonly ADMIN_USER_PASSWORD_AUTH: "ADMIN_USER_PASSWORD_AUTH";
|
|
383
|
+
readonly CUSTOM_AUTH: "CUSTOM_AUTH";
|
|
384
|
+
readonly REFRESH_TOKEN: "REFRESH_TOKEN";
|
|
385
|
+
readonly REFRESH_TOKEN_AUTH: "REFRESH_TOKEN_AUTH";
|
|
386
|
+
readonly USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH";
|
|
387
|
+
readonly USER_SRP_AUTH: "USER_SRP_AUTH";
|
|
388
|
+
};
|
|
389
|
+
export type AuthFlowType = (typeof AuthFlowType)[keyof typeof AuthFlowType];
|
|
377
390
|
export interface HttpHeader {
|
|
378
391
|
headerName?: string;
|
|
379
392
|
headerValue?: string;
|
|
@@ -406,18 +419,20 @@ export interface AuthenticationResultType {
|
|
|
406
419
|
IdToken?: string;
|
|
407
420
|
NewDeviceMetadata?: NewDeviceMetadataType;
|
|
408
421
|
}
|
|
409
|
-
export declare
|
|
410
|
-
ADMIN_NO_SRP_AUTH
|
|
411
|
-
CUSTOM_CHALLENGE
|
|
412
|
-
DEVICE_PASSWORD_VERIFIER
|
|
413
|
-
DEVICE_SRP_AUTH
|
|
414
|
-
MFA_SETUP
|
|
415
|
-
NEW_PASSWORD_REQUIRED
|
|
416
|
-
PASSWORD_VERIFIER
|
|
417
|
-
SELECT_MFA_TYPE
|
|
418
|
-
SMS_MFA
|
|
419
|
-
SOFTWARE_TOKEN_MFA
|
|
420
|
-
}
|
|
422
|
+
export declare const ChallengeNameType: {
|
|
423
|
+
readonly ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH";
|
|
424
|
+
readonly CUSTOM_CHALLENGE: "CUSTOM_CHALLENGE";
|
|
425
|
+
readonly DEVICE_PASSWORD_VERIFIER: "DEVICE_PASSWORD_VERIFIER";
|
|
426
|
+
readonly DEVICE_SRP_AUTH: "DEVICE_SRP_AUTH";
|
|
427
|
+
readonly MFA_SETUP: "MFA_SETUP";
|
|
428
|
+
readonly NEW_PASSWORD_REQUIRED: "NEW_PASSWORD_REQUIRED";
|
|
429
|
+
readonly PASSWORD_VERIFIER: "PASSWORD_VERIFIER";
|
|
430
|
+
readonly SELECT_MFA_TYPE: "SELECT_MFA_TYPE";
|
|
431
|
+
readonly SMS_MFA: "SMS_MFA";
|
|
432
|
+
readonly SOFTWARE_TOKEN_MFA: "SOFTWARE_TOKEN_MFA";
|
|
433
|
+
};
|
|
434
|
+
export type ChallengeNameType =
|
|
435
|
+
(typeof ChallengeNameType)[keyof typeof ChallengeNameType];
|
|
421
436
|
export interface AdminInitiateAuthResponse {
|
|
422
437
|
ChallengeName?: ChallengeNameType | string;
|
|
423
438
|
Session?: string;
|
|
@@ -486,14 +501,17 @@ export interface AdminListUserAuthEventsRequest {
|
|
|
486
501
|
MaxResults?: number;
|
|
487
502
|
NextToken?: string;
|
|
488
503
|
}
|
|
489
|
-
export declare
|
|
490
|
-
Mfa
|
|
491
|
-
Password
|
|
492
|
-
}
|
|
493
|
-
export
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
504
|
+
export declare const ChallengeName: {
|
|
505
|
+
readonly Mfa: "Mfa";
|
|
506
|
+
readonly Password: "Password";
|
|
507
|
+
};
|
|
508
|
+
export type ChallengeName = (typeof ChallengeName)[keyof typeof ChallengeName];
|
|
509
|
+
export declare const ChallengeResponse: {
|
|
510
|
+
readonly Failure: "Failure";
|
|
511
|
+
readonly Success: "Success";
|
|
512
|
+
};
|
|
513
|
+
export type ChallengeResponse =
|
|
514
|
+
(typeof ChallengeResponse)[keyof typeof ChallengeResponse];
|
|
497
515
|
export interface ChallengeResponseType {
|
|
498
516
|
ChallengeName?: ChallengeName | string;
|
|
499
517
|
ChallengeResponse?: ChallengeResponse | string;
|
|
@@ -505,42 +523,50 @@ export interface EventContextDataType {
|
|
|
505
523
|
City?: string;
|
|
506
524
|
Country?: string;
|
|
507
525
|
}
|
|
508
|
-
export declare
|
|
509
|
-
INVALID
|
|
510
|
-
VALID
|
|
511
|
-
}
|
|
526
|
+
export declare const FeedbackValueType: {
|
|
527
|
+
readonly INVALID: "Invalid";
|
|
528
|
+
readonly VALID: "Valid";
|
|
529
|
+
};
|
|
530
|
+
export type FeedbackValueType =
|
|
531
|
+
(typeof FeedbackValueType)[keyof typeof FeedbackValueType];
|
|
512
532
|
export interface EventFeedbackType {
|
|
513
533
|
FeedbackValue: FeedbackValueType | string | undefined;
|
|
514
534
|
Provider: string | undefined;
|
|
515
535
|
FeedbackDate?: Date;
|
|
516
536
|
}
|
|
517
|
-
export declare
|
|
518
|
-
Fail
|
|
519
|
-
InProgress
|
|
520
|
-
Pass
|
|
521
|
-
}
|
|
522
|
-
export
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
537
|
+
export declare const EventResponseType: {
|
|
538
|
+
readonly Fail: "Fail";
|
|
539
|
+
readonly InProgress: "InProgress";
|
|
540
|
+
readonly Pass: "Pass";
|
|
541
|
+
};
|
|
542
|
+
export type EventResponseType =
|
|
543
|
+
(typeof EventResponseType)[keyof typeof EventResponseType];
|
|
544
|
+
export declare const RiskDecisionType: {
|
|
545
|
+
readonly AccountTakeover: "AccountTakeover";
|
|
546
|
+
readonly Block: "Block";
|
|
547
|
+
readonly NoRisk: "NoRisk";
|
|
548
|
+
};
|
|
549
|
+
export type RiskDecisionType =
|
|
550
|
+
(typeof RiskDecisionType)[keyof typeof RiskDecisionType];
|
|
551
|
+
export declare const RiskLevelType: {
|
|
552
|
+
readonly High: "High";
|
|
553
|
+
readonly Low: "Low";
|
|
554
|
+
readonly Medium: "Medium";
|
|
555
|
+
};
|
|
556
|
+
export type RiskLevelType = (typeof RiskLevelType)[keyof typeof RiskLevelType];
|
|
532
557
|
export interface EventRiskType {
|
|
533
558
|
RiskDecision?: RiskDecisionType | string;
|
|
534
559
|
RiskLevel?: RiskLevelType | string;
|
|
535
560
|
CompromisedCredentialsDetected?: boolean;
|
|
536
561
|
}
|
|
537
|
-
export declare
|
|
538
|
-
ForgotPassword
|
|
539
|
-
PasswordChange
|
|
540
|
-
ResendCode
|
|
541
|
-
SignIn
|
|
542
|
-
SignUp
|
|
543
|
-
}
|
|
562
|
+
export declare const EventType: {
|
|
563
|
+
readonly ForgotPassword: "ForgotPassword";
|
|
564
|
+
readonly PasswordChange: "PasswordChange";
|
|
565
|
+
readonly ResendCode: "ResendCode";
|
|
566
|
+
readonly SignIn: "SignIn";
|
|
567
|
+
readonly SignUp: "SignUp";
|
|
568
|
+
};
|
|
569
|
+
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
544
570
|
export interface AuthEventType {
|
|
545
571
|
EventId?: string;
|
|
546
572
|
EventType?: EventType | string;
|
|
@@ -661,10 +687,12 @@ export interface AdminUpdateAuthEventFeedbackRequest {
|
|
|
661
687
|
FeedbackValue: FeedbackValueType | string | undefined;
|
|
662
688
|
}
|
|
663
689
|
export interface AdminUpdateAuthEventFeedbackResponse {}
|
|
664
|
-
export declare
|
|
665
|
-
NOT_REMEMBERED
|
|
666
|
-
REMEMBERED
|
|
667
|
-
}
|
|
690
|
+
export declare const DeviceRememberedStatusType: {
|
|
691
|
+
readonly NOT_REMEMBERED: "not_remembered";
|
|
692
|
+
readonly REMEMBERED: "remembered";
|
|
693
|
+
};
|
|
694
|
+
export type DeviceRememberedStatusType =
|
|
695
|
+
(typeof DeviceRememberedStatusType)[keyof typeof DeviceRememberedStatusType];
|
|
668
696
|
export interface AdminUpdateDeviceStatusRequest {
|
|
669
697
|
UserPoolId: string | undefined;
|
|
670
698
|
Username: string | undefined;
|
|
@@ -684,16 +712,20 @@ export interface AdminUserGlobalSignOutRequest {
|
|
|
684
712
|
Username: string | undefined;
|
|
685
713
|
}
|
|
686
714
|
export interface AdminUserGlobalSignOutResponse {}
|
|
687
|
-
export declare
|
|
688
|
-
AUDIT
|
|
689
|
-
ENFORCED
|
|
690
|
-
OFF
|
|
691
|
-
}
|
|
692
|
-
export
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
715
|
+
export declare const AdvancedSecurityModeType: {
|
|
716
|
+
readonly AUDIT: "AUDIT";
|
|
717
|
+
readonly ENFORCED: "ENFORCED";
|
|
718
|
+
readonly OFF: "OFF";
|
|
719
|
+
};
|
|
720
|
+
export type AdvancedSecurityModeType =
|
|
721
|
+
(typeof AdvancedSecurityModeType)[keyof typeof AdvancedSecurityModeType];
|
|
722
|
+
export declare const AliasAttributeType: {
|
|
723
|
+
readonly EMAIL: "email";
|
|
724
|
+
readonly PHONE_NUMBER: "phone_number";
|
|
725
|
+
readonly PREFERRED_USERNAME: "preferred_username";
|
|
726
|
+
};
|
|
727
|
+
export type AliasAttributeType =
|
|
728
|
+
(typeof AliasAttributeType)[keyof typeof AliasAttributeType];
|
|
697
729
|
export interface AnalyticsConfigurationType {
|
|
698
730
|
ApplicationId?: string;
|
|
699
731
|
ApplicationArn?: string;
|
|
@@ -724,10 +756,12 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
724
756
|
readonly $fault: "client";
|
|
725
757
|
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
726
758
|
}
|
|
727
|
-
export declare
|
|
728
|
-
EMAIL
|
|
729
|
-
PHONE_NUMBER
|
|
730
|
-
}
|
|
759
|
+
export declare const VerifiedAttributeType: {
|
|
760
|
+
readonly EMAIL: "email";
|
|
761
|
+
readonly PHONE_NUMBER: "phone_number";
|
|
762
|
+
};
|
|
763
|
+
export type VerifiedAttributeType =
|
|
764
|
+
(typeof VerifiedAttributeType)[keyof typeof VerifiedAttributeType];
|
|
731
765
|
export interface ChangePasswordRequest {
|
|
732
766
|
PreviousPassword: string | undefined;
|
|
733
767
|
ProposedPassword: string | undefined;
|
|
@@ -790,14 +824,16 @@ export declare class GroupExistsException extends __BaseException {
|
|
|
790
824
|
opts: __ExceptionOptionType<GroupExistsException, __BaseException>
|
|
791
825
|
);
|
|
792
826
|
}
|
|
793
|
-
export declare
|
|
794
|
-
Facebook
|
|
795
|
-
Google
|
|
796
|
-
LoginWithAmazon
|
|
797
|
-
OIDC
|
|
798
|
-
SAML
|
|
799
|
-
SignInWithApple
|
|
800
|
-
}
|
|
827
|
+
export declare const IdentityProviderTypeType: {
|
|
828
|
+
readonly Facebook: "Facebook";
|
|
829
|
+
readonly Google: "Google";
|
|
830
|
+
readonly LoginWithAmazon: "LoginWithAmazon";
|
|
831
|
+
readonly OIDC: "OIDC";
|
|
832
|
+
readonly SAML: "SAML";
|
|
833
|
+
readonly SignInWithApple: "SignInWithApple";
|
|
834
|
+
};
|
|
835
|
+
export type IdentityProviderTypeType =
|
|
836
|
+
(typeof IdentityProviderTypeType)[keyof typeof IdentityProviderTypeType];
|
|
801
837
|
export interface CreateIdentityProviderRequest {
|
|
802
838
|
UserPoolId: string | undefined;
|
|
803
839
|
ProviderName: string | undefined;
|
|
@@ -850,16 +886,18 @@ export interface CreateUserImportJobRequest {
|
|
|
850
886
|
UserPoolId: string | undefined;
|
|
851
887
|
CloudWatchLogsRoleArn: string | undefined;
|
|
852
888
|
}
|
|
853
|
-
export declare
|
|
854
|
-
Created
|
|
855
|
-
Expired
|
|
856
|
-
Failed
|
|
857
|
-
InProgress
|
|
858
|
-
Pending
|
|
859
|
-
Stopped
|
|
860
|
-
Stopping
|
|
861
|
-
Succeeded
|
|
862
|
-
}
|
|
889
|
+
export declare const UserImportJobStatusType: {
|
|
890
|
+
readonly Created: "Created";
|
|
891
|
+
readonly Expired: "Expired";
|
|
892
|
+
readonly Failed: "Failed";
|
|
893
|
+
readonly InProgress: "InProgress";
|
|
894
|
+
readonly Pending: "Pending";
|
|
895
|
+
readonly Stopped: "Stopped";
|
|
896
|
+
readonly Stopping: "Stopping";
|
|
897
|
+
readonly Succeeded: "Succeeded";
|
|
898
|
+
};
|
|
899
|
+
export type UserImportJobStatusType =
|
|
900
|
+
(typeof UserImportJobStatusType)[keyof typeof UserImportJobStatusType];
|
|
863
901
|
export interface UserImportJobType {
|
|
864
902
|
JobName?: string;
|
|
865
903
|
JobId?: string;
|
|
@@ -878,18 +916,22 @@ export interface UserImportJobType {
|
|
|
878
916
|
export interface CreateUserImportJobResponse {
|
|
879
917
|
UserImportJob?: UserImportJobType;
|
|
880
918
|
}
|
|
881
|
-
export declare
|
|
882
|
-
ACTIVE
|
|
883
|
-
INACTIVE
|
|
884
|
-
}
|
|
919
|
+
export declare const DeletionProtectionType: {
|
|
920
|
+
readonly ACTIVE: "ACTIVE";
|
|
921
|
+
readonly INACTIVE: "INACTIVE";
|
|
922
|
+
};
|
|
923
|
+
export type DeletionProtectionType =
|
|
924
|
+
(typeof DeletionProtectionType)[keyof typeof DeletionProtectionType];
|
|
885
925
|
export interface DeviceConfigurationType {
|
|
886
926
|
ChallengeRequiredOnNewDevice?: boolean;
|
|
887
927
|
DeviceOnlyRememberedOnUserPrompt?: boolean;
|
|
888
928
|
}
|
|
889
|
-
export declare
|
|
890
|
-
COGNITO_DEFAULT
|
|
891
|
-
DEVELOPER
|
|
892
|
-
}
|
|
929
|
+
export declare const EmailSendingAccountType: {
|
|
930
|
+
readonly COGNITO_DEFAULT: "COGNITO_DEFAULT";
|
|
931
|
+
readonly DEVELOPER: "DEVELOPER";
|
|
932
|
+
};
|
|
933
|
+
export type EmailSendingAccountType =
|
|
934
|
+
(typeof EmailSendingAccountType)[keyof typeof EmailSendingAccountType];
|
|
893
935
|
export interface EmailConfigurationType {
|
|
894
936
|
SourceArn?: string;
|
|
895
937
|
ReplyToEmailAddress?: string;
|
|
@@ -897,16 +939,20 @@ export interface EmailConfigurationType {
|
|
|
897
939
|
From?: string;
|
|
898
940
|
ConfigurationSet?: string;
|
|
899
941
|
}
|
|
900
|
-
export declare
|
|
901
|
-
V1_0
|
|
902
|
-
}
|
|
942
|
+
export declare const CustomEmailSenderLambdaVersionType: {
|
|
943
|
+
readonly V1_0: "V1_0";
|
|
944
|
+
};
|
|
945
|
+
export type CustomEmailSenderLambdaVersionType =
|
|
946
|
+
(typeof CustomEmailSenderLambdaVersionType)[keyof typeof CustomEmailSenderLambdaVersionType];
|
|
903
947
|
export interface CustomEmailLambdaVersionConfigType {
|
|
904
948
|
LambdaVersion: CustomEmailSenderLambdaVersionType | string | undefined;
|
|
905
949
|
LambdaArn: string | undefined;
|
|
906
950
|
}
|
|
907
|
-
export declare
|
|
908
|
-
V1_0
|
|
909
|
-
}
|
|
951
|
+
export declare const CustomSMSSenderLambdaVersionType: {
|
|
952
|
+
readonly V1_0: "V1_0";
|
|
953
|
+
};
|
|
954
|
+
export type CustomSMSSenderLambdaVersionType =
|
|
955
|
+
(typeof CustomSMSSenderLambdaVersionType)[keyof typeof CustomSMSSenderLambdaVersionType];
|
|
910
956
|
export interface CustomSMSLambdaVersionConfigType {
|
|
911
957
|
LambdaVersion: CustomSMSSenderLambdaVersionType | string | undefined;
|
|
912
958
|
LambdaArn: string | undefined;
|
|
@@ -926,11 +972,13 @@ export interface LambdaConfigType {
|
|
|
926
972
|
CustomEmailSender?: CustomEmailLambdaVersionConfigType;
|
|
927
973
|
KMSKeyID?: string;
|
|
928
974
|
}
|
|
929
|
-
export declare
|
|
930
|
-
OFF
|
|
931
|
-
ON
|
|
932
|
-
OPTIONAL
|
|
933
|
-
}
|
|
975
|
+
export declare const UserPoolMfaType: {
|
|
976
|
+
readonly OFF: "OFF";
|
|
977
|
+
readonly ON: "ON";
|
|
978
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
979
|
+
};
|
|
980
|
+
export type UserPoolMfaType =
|
|
981
|
+
(typeof UserPoolMfaType)[keyof typeof UserPoolMfaType];
|
|
934
982
|
export interface PasswordPolicyType {
|
|
935
983
|
MinimumLength?: number;
|
|
936
984
|
RequireUppercase?: boolean;
|
|
@@ -953,20 +1001,24 @@ export interface UserAttributeUpdateSettingsType {
|
|
|
953
1001
|
| string
|
|
954
1002
|
)[];
|
|
955
1003
|
}
|
|
956
|
-
export declare
|
|
957
|
-
EMAIL
|
|
958
|
-
PHONE_NUMBER
|
|
959
|
-
}
|
|
1004
|
+
export declare const UsernameAttributeType: {
|
|
1005
|
+
readonly EMAIL: "email";
|
|
1006
|
+
readonly PHONE_NUMBER: "phone_number";
|
|
1007
|
+
};
|
|
1008
|
+
export type UsernameAttributeType =
|
|
1009
|
+
(typeof UsernameAttributeType)[keyof typeof UsernameAttributeType];
|
|
960
1010
|
export interface UsernameConfigurationType {
|
|
961
1011
|
CaseSensitive: boolean | undefined;
|
|
962
1012
|
}
|
|
963
1013
|
export interface UserPoolAddOnsType {
|
|
964
1014
|
AdvancedSecurityMode: AdvancedSecurityModeType | string | undefined;
|
|
965
1015
|
}
|
|
966
|
-
export declare
|
|
967
|
-
CONFIRM_WITH_CODE
|
|
968
|
-
CONFIRM_WITH_LINK
|
|
969
|
-
}
|
|
1016
|
+
export declare const DefaultEmailOptionType: {
|
|
1017
|
+
readonly CONFIRM_WITH_CODE: "CONFIRM_WITH_CODE";
|
|
1018
|
+
readonly CONFIRM_WITH_LINK: "CONFIRM_WITH_LINK";
|
|
1019
|
+
};
|
|
1020
|
+
export type DefaultEmailOptionType =
|
|
1021
|
+
(typeof DefaultEmailOptionType)[keyof typeof DefaultEmailOptionType];
|
|
970
1022
|
export interface VerificationMessageTemplateType {
|
|
971
1023
|
SmsMessage?: string;
|
|
972
1024
|
EmailMessage?: string;
|
|
@@ -1000,10 +1052,11 @@ export interface CreateUserPoolRequest {
|
|
|
1000
1052
|
UsernameConfiguration?: UsernameConfigurationType;
|
|
1001
1053
|
AccountRecoverySetting?: AccountRecoverySettingType;
|
|
1002
1054
|
}
|
|
1003
|
-
export declare
|
|
1004
|
-
Disabled
|
|
1005
|
-
Enabled
|
|
1006
|
-
}
|
|
1055
|
+
export declare const StatusType: {
|
|
1056
|
+
readonly Disabled: "Disabled";
|
|
1057
|
+
readonly Enabled: "Enabled";
|
|
1058
|
+
};
|
|
1059
|
+
export type StatusType = (typeof StatusType)[keyof typeof StatusType];
|
|
1007
1060
|
export interface UserPoolType {
|
|
1008
1061
|
Id?: string;
|
|
1009
1062
|
Name?: string;
|
|
@@ -1049,31 +1102,37 @@ export declare class UserPoolTaggingException extends __BaseException {
|
|
|
1049
1102
|
opts: __ExceptionOptionType<UserPoolTaggingException, __BaseException>
|
|
1050
1103
|
);
|
|
1051
1104
|
}
|
|
1052
|
-
export declare
|
|
1053
|
-
client_credentials
|
|
1054
|
-
code
|
|
1055
|
-
implicit
|
|
1056
|
-
}
|
|
1057
|
-
export
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1105
|
+
export declare const OAuthFlowType: {
|
|
1106
|
+
readonly client_credentials: "client_credentials";
|
|
1107
|
+
readonly code: "code";
|
|
1108
|
+
readonly implicit: "implicit";
|
|
1109
|
+
};
|
|
1110
|
+
export type OAuthFlowType = (typeof OAuthFlowType)[keyof typeof OAuthFlowType];
|
|
1111
|
+
export declare const ExplicitAuthFlowsType: {
|
|
1112
|
+
readonly ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH";
|
|
1113
|
+
readonly ALLOW_ADMIN_USER_PASSWORD_AUTH: "ALLOW_ADMIN_USER_PASSWORD_AUTH";
|
|
1114
|
+
readonly ALLOW_CUSTOM_AUTH: "ALLOW_CUSTOM_AUTH";
|
|
1115
|
+
readonly ALLOW_REFRESH_TOKEN_AUTH: "ALLOW_REFRESH_TOKEN_AUTH";
|
|
1116
|
+
readonly ALLOW_USER_PASSWORD_AUTH: "ALLOW_USER_PASSWORD_AUTH";
|
|
1117
|
+
readonly ALLOW_USER_SRP_AUTH: "ALLOW_USER_SRP_AUTH";
|
|
1118
|
+
readonly CUSTOM_AUTH_FLOW_ONLY: "CUSTOM_AUTH_FLOW_ONLY";
|
|
1119
|
+
readonly USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH";
|
|
1120
|
+
};
|
|
1121
|
+
export type ExplicitAuthFlowsType =
|
|
1122
|
+
(typeof ExplicitAuthFlowsType)[keyof typeof ExplicitAuthFlowsType];
|
|
1123
|
+
export declare const PreventUserExistenceErrorTypes: {
|
|
1124
|
+
readonly ENABLED: "ENABLED";
|
|
1125
|
+
readonly LEGACY: "LEGACY";
|
|
1126
|
+
};
|
|
1127
|
+
export type PreventUserExistenceErrorTypes =
|
|
1128
|
+
(typeof PreventUserExistenceErrorTypes)[keyof typeof PreventUserExistenceErrorTypes];
|
|
1129
|
+
export declare const TimeUnitsType: {
|
|
1130
|
+
readonly DAYS: "days";
|
|
1131
|
+
readonly HOURS: "hours";
|
|
1132
|
+
readonly MINUTES: "minutes";
|
|
1133
|
+
readonly SECONDS: "seconds";
|
|
1134
|
+
};
|
|
1135
|
+
export type TimeUnitsType = (typeof TimeUnitsType)[keyof typeof TimeUnitsType];
|
|
1077
1136
|
export interface TokenValidityUnitsType {
|
|
1078
1137
|
AccessToken?: TimeUnitsType | string;
|
|
1079
1138
|
IdToken?: TimeUnitsType | string;
|
|
@@ -1218,18 +1277,22 @@ export interface DescribeRiskConfigurationRequest {
|
|
|
1218
1277
|
UserPoolId: string | undefined;
|
|
1219
1278
|
ClientId?: string;
|
|
1220
1279
|
}
|
|
1221
|
-
export declare
|
|
1222
|
-
BLOCK
|
|
1223
|
-
NO_ACTION
|
|
1224
|
-
}
|
|
1280
|
+
export declare const CompromisedCredentialsEventActionType: {
|
|
1281
|
+
readonly BLOCK: "BLOCK";
|
|
1282
|
+
readonly NO_ACTION: "NO_ACTION";
|
|
1283
|
+
};
|
|
1284
|
+
export type CompromisedCredentialsEventActionType =
|
|
1285
|
+
(typeof CompromisedCredentialsEventActionType)[keyof typeof CompromisedCredentialsEventActionType];
|
|
1225
1286
|
export interface CompromisedCredentialsActionsType {
|
|
1226
1287
|
EventAction: CompromisedCredentialsEventActionType | string | undefined;
|
|
1227
1288
|
}
|
|
1228
|
-
export declare
|
|
1229
|
-
PASSWORD_CHANGE
|
|
1230
|
-
SIGN_IN
|
|
1231
|
-
SIGN_UP
|
|
1232
|
-
}
|
|
1289
|
+
export declare const EventFilterType: {
|
|
1290
|
+
readonly PASSWORD_CHANGE: "PASSWORD_CHANGE";
|
|
1291
|
+
readonly SIGN_IN: "SIGN_IN";
|
|
1292
|
+
readonly SIGN_UP: "SIGN_UP";
|
|
1293
|
+
};
|
|
1294
|
+
export type EventFilterType =
|
|
1295
|
+
(typeof EventFilterType)[keyof typeof EventFilterType];
|
|
1233
1296
|
export interface CompromisedCredentialsRiskConfigurationType {
|
|
1234
1297
|
EventFilter?: (EventFilterType | string)[];
|
|
1235
1298
|
Actions: CompromisedCredentialsActionsType | undefined;
|
|
@@ -1272,13 +1335,15 @@ export interface DescribeUserPoolClientResponse {
|
|
|
1272
1335
|
export interface DescribeUserPoolDomainRequest {
|
|
1273
1336
|
Domain: string | undefined;
|
|
1274
1337
|
}
|
|
1275
|
-
export declare
|
|
1276
|
-
ACTIVE
|
|
1277
|
-
CREATING
|
|
1278
|
-
DELETING
|
|
1279
|
-
FAILED
|
|
1280
|
-
UPDATING
|
|
1281
|
-
}
|
|
1338
|
+
export declare const DomainStatusType: {
|
|
1339
|
+
readonly ACTIVE: "ACTIVE";
|
|
1340
|
+
readonly CREATING: "CREATING";
|
|
1341
|
+
readonly DELETING: "DELETING";
|
|
1342
|
+
readonly FAILED: "FAILED";
|
|
1343
|
+
readonly UPDATING: "UPDATING";
|
|
1344
|
+
};
|
|
1345
|
+
export type DomainStatusType =
|
|
1346
|
+
(typeof DomainStatusType)[keyof typeof DomainStatusType];
|
|
1282
1347
|
export interface DomainDescriptionType {
|
|
1283
1348
|
UserPoolId?: string;
|
|
1284
1349
|
AWSAccountId?: string;
|