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

Description

 
Synopsis

Documentation

data AccessKeyMetadata Source #

Contains information about an Amazon Web Services access key, without its secret key.

This data type is used as a response element in the ListAccessKeys operation.

See: newAccessKeyMetadata smart constructor.

Constructors

AccessKeyMetadata' 

Fields

Instances

Instances details
Eq AccessKeyMetadata Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyMetadata

Read AccessKeyMetadata Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyMetadata

Show AccessKeyMetadata Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyMetadata

Generic AccessKeyMetadata Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyMetadata

Associated Types

type Rep AccessKeyMetadata :: Type -> Type #

NFData AccessKeyMetadata Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyMetadata

Methods

rnf :: AccessKeyMetadata -> () #

Hashable AccessKeyMetadata Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyMetadata

FromXML AccessKeyMetadata Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyMetadata

type Rep AccessKeyMetadata Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyMetadata

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

newAccessKeyMetadata :: AccessKeyMetadata Source #

Create a value of AccessKeyMetadata 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:status:AccessKeyMetadata', accessKeyMetadata_status - The status of the access key. Active means that the key is valid for API calls; Inactive means it is not.

$sel:createDate:AccessKeyMetadata', accessKeyMetadata_createDate - The date when the access key was created.

$sel:userName:AccessKeyMetadata', accessKeyMetadata_userName - The name of the IAM user that the key is associated with.

$sel:accessKeyId:AccessKeyMetadata', accessKeyMetadata_accessKeyId - The ID for this access key.

accessKeyMetadata_status :: Lens' AccessKeyMetadata (Maybe StatusType) Source #

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

accessKeyMetadata_createDate :: Lens' AccessKeyMetadata (Maybe UTCTime) Source #

The date when the access key was created.

accessKeyMetadata_userName :: Lens' AccessKeyMetadata (Maybe Text) Source #

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