libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.Types.AccessKeyLastUsed

Description

 
Synopsis

Documentation

data AccessKeyLastUsed Source #

Describes the last time an access key was used.

This object does not include data in the response of a CreateBucketAccessKey action.

See: newAccessKeyLastUsed smart constructor.

Constructors

AccessKeyLastUsed' 

Fields

  • lastUsedDate :: Maybe POSIX

    The date and time when the access key was most recently used.

    This value is null if the access key has not been used.

  • serviceName :: Maybe Text

    The name of the AWS service with which this access key was most recently used.

    This value is N/A if the access key has not been used.

  • region :: Maybe Text

    The AWS Region where this access key was most recently used.

    This value is N/A if the access key has not been used.

Instances

Instances details
Eq AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AccessKeyLastUsed

Read AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AccessKeyLastUsed

Show AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AccessKeyLastUsed

Generic AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AccessKeyLastUsed

Associated Types

type Rep AccessKeyLastUsed :: Type -> Type #

NFData AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AccessKeyLastUsed

Methods

rnf :: AccessKeyLastUsed -> () #

Hashable AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AccessKeyLastUsed

FromJSON AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AccessKeyLastUsed

type Rep AccessKeyLastUsed Source # 
Instance details

Defined in Amazonka.Lightsail.Types.AccessKeyLastUsed

type Rep AccessKeyLastUsed = D1 ('MetaData "AccessKeyLastUsed" "Amazonka.Lightsail.Types.AccessKeyLastUsed" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "AccessKeyLastUsed'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lastUsedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAccessKeyLastUsed :: AccessKeyLastUsed 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 when the access key was most recently used.

This value is null if the access key has not been used.

$sel:serviceName:AccessKeyLastUsed', accessKeyLastUsed_serviceName - The name of the AWS service with which this access key was most recently used.

This value is N/A if the access key has not been used.

$sel:region:AccessKeyLastUsed', accessKeyLastUsed_region - The AWS Region where this access key was most recently used.

This value is N/A if the access key has not been used.

accessKeyLastUsed_lastUsedDate :: Lens' AccessKeyLastUsed (Maybe UTCTime) Source #

The date and time when the access key was most recently used.

This value is null if the access key has not been used.

accessKeyLastUsed_serviceName :: Lens' AccessKeyLastUsed (Maybe Text) Source #

The name of the AWS service with which this access key was most recently used.

This value is N/A if the access key has not been used.

accessKeyLastUsed_region :: Lens' AccessKeyLastUsed (Maybe Text) Source #

The AWS Region where this access key was most recently used.

This value is N/A if the access key has not been used.