Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data UserType = UserType' {}
- newUserType :: UserType
- userType_enabled :: Lens' UserType (Maybe Bool)
- userType_userStatus :: Lens' UserType (Maybe UserStatusType)
- userType_username :: Lens' UserType (Maybe Text)
- userType_userCreateDate :: Lens' UserType (Maybe UTCTime)
- userType_attributes :: Lens' UserType (Maybe [AttributeType])
- userType_mfaOptions :: Lens' UserType (Maybe [MFAOptionType])
- userType_userLastModifiedDate :: Lens' UserType (Maybe UTCTime)
Documentation
The user type.
See: newUserType
smart constructor.
UserType' | |
|
Instances
newUserType :: UserType Source #
Create a value of UserType
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:enabled:UserType'
, userType_enabled
- Specifies whether the user is enabled.
$sel:userStatus:UserType'
, userType_userStatus
- The user status. Can be one of the following:
- UNCONFIRMED - User has been created but not confirmed.
- CONFIRMED - User has been confirmed.
- ARCHIVED - User is no longer active.
- COMPROMISED - User is disabled due to a potential security threat.
- UNKNOWN - User status is not known.
- RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she can sign in.
- FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change his or her password to a new value before doing anything else.
$sel:username:UserType'
, userType_username
- The user name of the user you wish to describe.
$sel:userCreateDate:UserType'
, userType_userCreateDate
- The creation date of the user.
$sel:attributes:UserType'
, userType_attributes
- A container with information about the user type attributes.
$sel:mfaOptions:UserType'
, userType_mfaOptions
- The MFA options for the user.
$sel:userLastModifiedDate:UserType'
, userType_userLastModifiedDate
- The last modified date of the user.
userType_userStatus :: Lens' UserType (Maybe UserStatusType) Source #
The user status. Can be one of the following:
- UNCONFIRMED - User has been created but not confirmed.
- CONFIRMED - User has been confirmed.
- ARCHIVED - User is no longer active.
- COMPROMISED - User is disabled due to a potential security threat.
- UNKNOWN - User status is not known.
- RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she can sign in.
- FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change his or her password to a new value before doing anything else.
userType_username :: Lens' UserType (Maybe Text) Source #
The user name of the user you wish to describe.
userType_attributes :: Lens' UserType (Maybe [AttributeType]) Source #
A container with information about the user type attributes.
userType_mfaOptions :: Lens' UserType (Maybe [MFAOptionType]) Source #
The MFA options for the user.