Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
PreferredMfaSetting?: string | null
[src]

The user's preferred MFA setting.

§
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.

§
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.

§
Username: string
[src]

The user name of the user you want to retrieve from the get user request.