libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

Description

Gets the user pool multi-factor authentication (MFA) configuration.

Synopsis

Creating a Request

data GetUserPoolMfaConfig Source #

See: newGetUserPoolMfaConfig smart constructor.

Constructors

GetUserPoolMfaConfig' 

Fields

Instances

Instances details
Eq GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

Read GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

Show GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

Generic GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

Associated Types

type Rep GetUserPoolMfaConfig :: Type -> Type #

NFData GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

Methods

rnf :: GetUserPoolMfaConfig -> () #

Hashable GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

ToJSON GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

AWSRequest GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

Associated Types

type AWSResponse GetUserPoolMfaConfig #

ToHeaders GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

ToPath GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

ToQuery GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

type Rep GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

type Rep GetUserPoolMfaConfig = D1 ('MetaData "GetUserPoolMfaConfig" "Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "GetUserPoolMfaConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetUserPoolMfaConfig Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

newGetUserPoolMfaConfig Source #

Create a value of GetUserPoolMfaConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:userPoolId:GetUserPoolMfaConfig', getUserPoolMfaConfig_userPoolId - The user pool ID.

Request Lenses

Destructuring the Response

data GetUserPoolMfaConfigResponse Source #

See: newGetUserPoolMfaConfigResponse smart constructor.

Constructors

GetUserPoolMfaConfigResponse' 

Fields

Instances

Instances details
Eq GetUserPoolMfaConfigResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

Read GetUserPoolMfaConfigResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

Show GetUserPoolMfaConfigResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

Generic GetUserPoolMfaConfigResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

Associated Types

type Rep GetUserPoolMfaConfigResponse :: Type -> Type #

NFData GetUserPoolMfaConfigResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

type Rep GetUserPoolMfaConfigResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig

type Rep GetUserPoolMfaConfigResponse = D1 ('MetaData "GetUserPoolMfaConfigResponse" "Amazonka.CognitoIdentityProvider.GetUserPoolMfaConfig" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "GetUserPoolMfaConfigResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "smsMfaConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SmsMfaConfigType)) :*: S1 ('MetaSel ('Just "softwareTokenMfaConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SoftwareTokenMfaConfigType))) :*: (S1 ('MetaSel ('Just "mfaConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserPoolMfaType)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetUserPoolMfaConfigResponse Source #

Create a value of GetUserPoolMfaConfigResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:smsMfaConfiguration:GetUserPoolMfaConfigResponse', getUserPoolMfaConfigResponse_smsMfaConfiguration - The SMS text message multi-factor (MFA) configuration.

$sel:softwareTokenMfaConfiguration:GetUserPoolMfaConfigResponse', getUserPoolMfaConfigResponse_softwareTokenMfaConfiguration - The software token multi-factor (MFA) configuration.

$sel:mfaConfiguration:GetUserPoolMfaConfigResponse', getUserPoolMfaConfigResponse_mfaConfiguration - The multi-factor (MFA) configuration. Valid values include:

  • OFF MFA will not be used for any users.
  • ON MFA is required for all users to sign in.
  • OPTIONAL MFA will be required only for individual users who have an MFA factor enabled.

$sel:httpStatus:GetUserPoolMfaConfigResponse', getUserPoolMfaConfigResponse_httpStatus - The response's http status code.

Response Lenses

getUserPoolMfaConfigResponse_mfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe UserPoolMfaType) Source #

The multi-factor (MFA) configuration. Valid values include:

  • OFF MFA will not be used for any users.
  • ON MFA is required for all users to sign in.
  • OPTIONAL MFA will be required only for individual users who have an MFA factor enabled.