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

Description

Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution.

Synopsis

Creating a Request

data GetDistributionLatestCacheReset Source #

See: newGetDistributionLatestCacheReset smart constructor.

Constructors

GetDistributionLatestCacheReset' 

Fields

  • distributionName :: Maybe Text

    The name of the distribution for which to return the timestamp of the last cache reset.

    Use the GetDistributions action to get a list of distribution names that you can specify.

    When omitted, the response includes the latest cache reset timestamp of all your distributions.

Instances

Instances details
Eq GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

Read GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

Show GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

Generic GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

Associated Types

type Rep GetDistributionLatestCacheReset :: Type -> Type #

NFData GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

Hashable GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

ToJSON GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

AWSRequest GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

ToHeaders GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

ToPath GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

ToQuery GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

type Rep GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

type Rep GetDistributionLatestCacheReset = D1 ('MetaData "GetDistributionLatestCacheReset" "Amazonka.Lightsail.GetDistributionLatestCacheReset" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetDistributionLatestCacheReset'" 'PrefixI 'True) (S1 ('MetaSel ('Just "distributionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetDistributionLatestCacheReset Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

newGetDistributionLatestCacheReset :: GetDistributionLatestCacheReset Source #

Create a value of GetDistributionLatestCacheReset 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:distributionName:GetDistributionLatestCacheReset', getDistributionLatestCacheReset_distributionName - The name of the distribution for which to return the timestamp of the last cache reset.

Use the GetDistributions action to get a list of distribution names that you can specify.

When omitted, the response includes the latest cache reset timestamp of all your distributions.

Request Lenses

getDistributionLatestCacheReset_distributionName :: Lens' GetDistributionLatestCacheReset (Maybe Text) Source #

The name of the distribution for which to return the timestamp of the last cache reset.

Use the GetDistributions action to get a list of distribution names that you can specify.

When omitted, the response includes the latest cache reset timestamp of all your distributions.

Destructuring the Response

data GetDistributionLatestCacheResetResponse Source #

Constructors

GetDistributionLatestCacheResetResponse' 

Fields

Instances

Instances details
Eq GetDistributionLatestCacheResetResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

Read GetDistributionLatestCacheResetResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

Show GetDistributionLatestCacheResetResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

Generic GetDistributionLatestCacheResetResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

NFData GetDistributionLatestCacheResetResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

type Rep GetDistributionLatestCacheResetResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDistributionLatestCacheReset

type Rep GetDistributionLatestCacheResetResponse = D1 ('MetaData "GetDistributionLatestCacheResetResponse" "Amazonka.Lightsail.GetDistributionLatestCacheReset" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetDistributionLatestCacheResetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDistributionLatestCacheResetResponse Source #

Create a value of GetDistributionLatestCacheResetResponse 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:GetDistributionLatestCacheResetResponse', getDistributionLatestCacheResetResponse_status - The status of the last cache reset.

$sel:createTime:GetDistributionLatestCacheResetResponse', getDistributionLatestCacheResetResponse_createTime - The timestamp of the last cache reset (e.g., 1479734909.17) in Unix time format.

$sel:httpStatus:GetDistributionLatestCacheResetResponse', getDistributionLatestCacheResetResponse_httpStatus - The response's http status code.

Response Lenses

getDistributionLatestCacheResetResponse_createTime :: Lens' GetDistributionLatestCacheResetResponse (Maybe UTCTime) Source #

The timestamp of the last cache reset (e.g., 1479734909.17) in Unix time format.