GetUserResponse
import type { GetUserResponse } from "https://aws-api.deno.dev/v0.4/services/cognitoidentityserviceprovider.ts?docs=full";
Represents the response from the server from the request to get information about the user.
interface GetUserResponse {
MFAOptions?: MFAOptionType[] | null;
PreferredMfaSetting?: string | null;
UserAttributes: AttributeType[];
UserMFASettingList?: string[] | null;
Username: string;
}§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[]
[src]An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.