AdminGetUserResponse
import type { AdminGetUserResponse } from "https://aws-api.deno.dev/v0.4/services/cognitoidentityserviceprovider.ts?docs=full";
Represents the response from the server from the request to get the specified user as an administrator.
interface AdminGetUserResponse {
Enabled?: boolean | null;
MFAOptions?: MFAOptionType[] | null;
PreferredMfaSetting?: string | null;
UserAttributes?: AttributeType[] | null;
UserCreateDate?: Date | number | null;
UserLastModifiedDate?: Date | number | null;
UserMFASettingList?: string[] | null;
Username: string;
UserStatus?: UserStatusType | null;
}§Properties
§
MFAOptions?: MFAOptionType[] | null
[src]This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
§
UserAttributes?: AttributeType[] | null
[src]An array of name-value pairs representing user attributes.
§
UserMFASettingList?: string[] | null
[src]The MFA options that are activated for the user.
The possible values in this list are SMS_MFA
and SOFTWARE_TOKEN_MFA
.
§
UserStatus?: UserStatusType | null
[src]The user status. Can be one of the following:
- UNCONFIRMED - User has been created but not confirmed.
- CONFIRMED - User has been confirmed.
- ARCHIVED - User is no longer active.
- UNKNOWN - User status isn't known.
- RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
- FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.