amazonka-iam-2.0: Amazon Identity and Access Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IAM.Types.LoginProfile

Description

 
Synopsis

Documentation

data LoginProfile Source #

Contains the user name and password create date for a user.

This data type is used as a response element in the CreateLoginProfile and GetLoginProfile operations.

See: newLoginProfile smart constructor.

Constructors

LoginProfile' 

Fields

  • passwordResetRequired :: Maybe Bool

    Specifies whether the user is required to set a new password on next sign-in.

  • userName :: Text

    The name of the user, which can be used for signing in to the Amazon Web Services Management Console.

  • createDate :: ISO8601

    The date when the password for the user was created.

Instances

Instances details
FromXML LoginProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.LoginProfile

Generic LoginProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.LoginProfile

Associated Types

type Rep LoginProfile :: Type -> Type #

Read LoginProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.LoginProfile

Show LoginProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.LoginProfile

NFData LoginProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.LoginProfile

Methods

rnf :: LoginProfile -> () #

Eq LoginProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.LoginProfile

Hashable LoginProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.LoginProfile

type Rep LoginProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.LoginProfile

type Rep LoginProfile = D1 ('MetaData "LoginProfile" "Amazonka.IAM.Types.LoginProfile" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "LoginProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "passwordResetRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "createDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))

newLoginProfile Source #

Create a value of LoginProfile 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:passwordResetRequired:LoginProfile', loginProfile_passwordResetRequired - Specifies whether the user is required to set a new password on next sign-in.

$sel:userName:LoginProfile', loginProfile_userName - The name of the user, which can be used for signing in to the Amazon Web Services Management Console.

$sel:createDate:LoginProfile', loginProfile_createDate - The date when the password for the user was created.

loginProfile_passwordResetRequired :: Lens' LoginProfile (Maybe Bool) Source #

Specifies whether the user is required to set a new password on next sign-in.

loginProfile_userName :: Lens' LoginProfile Text Source #

The name of the user, which can be used for signing in to the Amazon Web Services Management Console.

loginProfile_createDate :: Lens' LoginProfile UTCTime Source #

The date when the password for the user was created.