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

Description

 
Synopsis

Documentation

data AccessKeyLastUsed Source #

Contains information about the last time an Amazon Web Services access key was used since IAM began tracking this information on April 22, 2015.

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

See: newAccessKeyLastUsed smart constructor.

Constructors

AccessKeyLastUsed' 

Fields

  • lastUsedDate :: ISO8601

    The date and time, in ISO 8601 date-time format, when the access key was most recently used. This field is null in the following situations:

    • The user does not have an access key.
    • An access key exists but has not been used since IAM began tracking this information.
    • There is no sign-in data associated with the user.
  • serviceName :: Text

    The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations:

    • The user does not have an access key.
    • An access key exists but has not been used since IAM started tracking this information.
    • There is no sign-in data associated with the user.
  • region :: Text

    The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations:

    • The user does not have an access key.
    • An access key exists but has not been used since IAM began tracking this information.
    • There is no sign-in data associated with the user.

    For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.

Instances

Instances details
Eq AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyLastUsed

Read AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyLastUsed

Show AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyLastUsed

Generic AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyLastUsed

Associated Types

type Rep AccessKeyLastUsed :: Type -> Type #

NFData AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyLastUsed

Methods

rnf :: AccessKeyLastUsed -> () #

Hashable AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyLastUsed

FromXML AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyLastUsed

type Rep AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.IAM.Types.AccessKeyLastUsed

type Rep AccessKeyLastUsed = D1 ('MetaData "AccessKeyLastUsed" "Amazonka.IAM.Types.AccessKeyLastUsed" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "AccessKeyLastUsed'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lastUsedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: (S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAccessKeyLastUsed Source #

Create a value of AccessKeyLastUsed 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:lastUsedDate:AccessKeyLastUsed', accessKeyLastUsed_lastUsedDate - The date and time, in ISO 8601 date-time format, when the access key was most recently used. This field is null in the following situations:

  • The user does not have an access key.
  • An access key exists but has not been used since IAM began tracking this information.
  • There is no sign-in data associated with the user.

$sel:serviceName:AccessKeyLastUsed', accessKeyLastUsed_serviceName - The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations:

  • The user does not have an access key.
  • An access key exists but has not been used since IAM started tracking this information.
  • There is no sign-in data associated with the user.

$sel:region:AccessKeyLastUsed', accessKeyLastUsed_region - The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations:

  • The user does not have an access key.
  • An access key exists but has not been used since IAM began tracking this information.
  • There is no sign-in data associated with the user.

For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.

accessKeyLastUsed_lastUsedDate :: Lens' AccessKeyLastUsed UTCTime Source #

The date and time, in ISO 8601 date-time format, when the access key was most recently used. This field is null in the following situations:

  • The user does not have an access key.
  • An access key exists but has not been used since IAM began tracking this information.
  • There is no sign-in data associated with the user.

accessKeyLastUsed_serviceName :: Lens' AccessKeyLastUsed Text Source #

The name of the Amazon Web Services service with which this access key was most recently used. The value of this field is "N/A" in the following situations:

  • The user does not have an access key.
  • An access key exists but has not been used since IAM started tracking this information.
  • There is no sign-in data associated with the user.

accessKeyLastUsed_region :: Lens' AccessKeyLastUsed Text Source #

The Amazon Web Services Region where this access key was most recently used. The value for this field is "N/A" in the following situations:

  • The user does not have an access key.
  • An access key exists but has not been used since IAM began tracking this information.
  • There is no sign-in data associated with the user.

For more information about Amazon Web Services Regions, see Regions and endpoints in the Amazon Web Services General Reference.