libZSservicesZSamazonka-iamZSamazonka-iam
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.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
Eq LoginProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.LoginProfile

Read LoginProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.LoginProfile

Show 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 #

NFData LoginProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.LoginProfile

Methods

rnf :: LoginProfile -> () #

Hashable LoginProfile Source # 
Instance details

Defined in Amazonka.IAM.Types.LoginProfile

FromXML 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" "libZSservicesZSamazonka-iamZSamazonka-iam" '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.