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.Types.UsernameConfigurationType

Description

 
Synopsis

Documentation

data UsernameConfigurationType Source #

The username configuration type.

See: newUsernameConfigurationType smart constructor.

Constructors

UsernameConfigurationType' 

Fields

  • caseSensitive :: Bool

    Specifies whether username case sensitivity will be applied for all users in the user pool through Cognito APIs.

    Valid values include:

    • True : Enables case sensitivity for all username input. When this option is set to True, users must sign in using the exact capitalization of their given username. For example, “UserName”. This is the default value.
    • False : Enables case insensitivity for all username input. For example, when this option is set to False, users will be able to sign in using either "username" or "Username". This option also enables both preferred_username and email alias to be case insensitive, in addition to the username attribute.

Instances

Instances details
Eq UsernameConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType

Read UsernameConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType

Show UsernameConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType

Generic UsernameConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType

Associated Types

type Rep UsernameConfigurationType :: Type -> Type #

NFData UsernameConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType

Hashable UsernameConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType

ToJSON UsernameConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType

FromJSON UsernameConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType

type Rep UsernameConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType

type Rep UsernameConfigurationType = D1 ('MetaData "UsernameConfigurationType" "Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "UsernameConfigurationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "caseSensitive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newUsernameConfigurationType Source #

Create a value of UsernameConfigurationType 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:caseSensitive:UsernameConfigurationType', usernameConfigurationType_caseSensitive - Specifies whether username case sensitivity will be applied for all users in the user pool through Cognito APIs.

Valid values include:

  • True : Enables case sensitivity for all username input. When this option is set to True, users must sign in using the exact capitalization of their given username. For example, “UserName”. This is the default value.
  • False : Enables case insensitivity for all username input. For example, when this option is set to False, users will be able to sign in using either "username" or "Username". This option also enables both preferred_username and email alias to be case insensitive, in addition to the username attribute.

usernameConfigurationType_caseSensitive :: Lens' UsernameConfigurationType Bool Source #

Specifies whether username case sensitivity will be applied for all users in the user pool through Cognito APIs.

Valid values include:

  • True : Enables case sensitivity for all username input. When this option is set to True, users must sign in using the exact capitalization of their given username. For example, “UserName”. This is the default value.
  • False : Enables case insensitivity for all username input. For example, when this option is set to False, users will be able to sign in using either "username" or "Username". This option also enables both preferred_username and email alias to be case insensitive, in addition to the username attribute.