• Fetches the preferred MFA setting and enabled MFA settings for the user.

    Returns Promise<FetchMFAPreferenceOutput>

    FetchMFAPreferenceOutput

    Throws

    -GetUserException : error thrown when the service fails to fetch MFA preference and settings.

    Throws

    AuthTokenConfigException - Thrown when the token provider config is invalid.