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.AccessKeyInfo

Description

 
Synopsis

Documentation

data AccessKeyInfo Source #

Contains information about an Amazon Web Services access key.

This data type is used as a response element in the CreateAccessKey and ListAccessKeys operations.

The SecretAccessKey value is returned only in response to CreateAccessKey. You can get a secret access key only when you first create an access key; you cannot recover the secret access key later. If you lose a secret access key, you must create a new access key.

See: newAccessKeyInfo smart constructor.

Constructors

AccessKeyInfo' 

Fields

Instances

Instances details
Eq AccessKeyInfo Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyInfo

Show AccessKeyInfo Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyInfo

Generic AccessKeyInfo Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyInfo

Associated Types

type Rep AccessKeyInfo :: Type -> Type #

NFData AccessKeyInfo Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyInfo

Methods

rnf :: AccessKeyInfo -> () #

Hashable AccessKeyInfo Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyInfo

FromXML AccessKeyInfo Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyInfo

type Rep AccessKeyInfo Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyInfo

type Rep AccessKeyInfo = D1 ('MetaData "AccessKeyInfo" "Amazonka.IAM.Types.AccessKeyInfo" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "AccessKeyInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "accessKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AccessKey) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StatusType) :*: S1 ('MetaSel ('Just "secretAccessKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))))

newAccessKeyInfo Source #

Create a value of AccessKeyInfo 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:createDate:AccessKeyInfo', accessKeyInfo_createDate - The date when the access key was created.

$sel:userName:AccessKeyInfo', accessKeyInfo_userName - The name of the IAM user that the access key is associated with.

$sel:accessKeyId:AccessKeyInfo', accessKeyInfo_accessKeyId - The ID for this access key.

$sel:status:AccessKeyInfo', accessKeyInfo_status - The status of the access key. Active means that the key is valid for API calls, while Inactive means it is not.

$sel:secretAccessKey:AccessKeyInfo', accessKeyInfo_secretAccessKey - The secret key used to sign requests.

accessKeyInfo_createDate :: Lens' AccessKeyInfo (Maybe UTCTime) Source #

The date when the access key was created.

accessKeyInfo_userName :: Lens' AccessKeyInfo Text Source #

The name of the IAM user that the access key is associated with.

accessKeyInfo_status :: Lens' AccessKeyInfo StatusType Source #

The status of the access key. Active means that the key is valid for API calls, while Inactive means it is not.

accessKeyInfo_secretAccessKey :: Lens' AccessKeyInfo Text Source #

The secret key used to sign requests.