Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data UsernameConfigurationType Source #
The username configuration type.
See: newUsernameConfigurationType
smart constructor.
UsernameConfigurationType' | |
|
Instances
FromJSON UsernameConfigurationType Source # | |
ToJSON UsernameConfigurationType Source # | |
Generic UsernameConfigurationType Source # | |
Read UsernameConfigurationType Source # | |
Show UsernameConfigurationType Source # | |
NFData UsernameConfigurationType Source # | |
Eq UsernameConfigurationType Source # | |
Hashable UsernameConfigurationType Source # | |
type Rep UsernameConfigurationType Source # | |
Defined in Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType type Rep UsernameConfigurationType = D1 ('MetaData "UsernameConfigurationType" "Amazonka.CognitoIdentityProvider.Types.UsernameConfigurationType" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" '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 user name case sensitivity will be applied for all
users in the user pool through Amazon 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, such as “UserName”. This is the default value. - False
- Enables case insensitivity for all username input. For example, when
this option is set to
False
, users can sign in using either "username" or "Username". This option also enables bothpreferred_username
andemail
alias to be case insensitive, in addition to theusername
attribute.
usernameConfigurationType_caseSensitive :: Lens' UsernameConfigurationType Bool Source #
Specifies whether user name case sensitivity will be applied for all users in the user pool through Amazon 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, such as “UserName”. This is the default value. - False
- Enables case insensitivity for all username input. For example, when
this option is set to
False
, users can sign in using either "username" or "Username". This option also enables bothpreferred_username
andemail
alias to be case insensitive, in addition to theusername
attribute.