libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
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.CloudFront.ListInvalidations

Description

Lists invalidation batches.

This operation returns paginated results.

Synopsis

Creating a Request

data ListInvalidations Source #

The request to list invalidations.

See: newListInvalidations smart constructor.

Constructors

ListInvalidations' 

Fields

  • marker :: Maybe Text

    Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page.

  • maxItems :: Maybe Text

    The maximum number of invalidation batches that you want in the response body.

  • distributionId :: Text

    The distribution's ID.

Instances

Instances details
Eq ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

Read ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

Show ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

Generic ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

Associated Types

type Rep ListInvalidations :: Type -> Type #

NFData ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

Methods

rnf :: ListInvalidations -> () #

Hashable ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

AWSPager ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

AWSRequest ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

Associated Types

type AWSResponse ListInvalidations #

ToHeaders ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

ToPath ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

ToQuery ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

type Rep ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

type Rep ListInvalidations = D1 ('MetaData "ListInvalidations" "Amazonka.CloudFront.ListInvalidations" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ListInvalidations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "distributionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListInvalidations Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

newListInvalidations Source #

Create a value of ListInvalidations 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:marker:ListInvalidations', listInvalidations_marker - Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page.

$sel:maxItems:ListInvalidations', listInvalidations_maxItems - The maximum number of invalidation batches that you want in the response body.

$sel:distributionId:ListInvalidations', listInvalidations_distributionId - The distribution's ID.

Request Lenses

listInvalidations_marker :: Lens' ListInvalidations (Maybe Text) Source #

Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page.

listInvalidations_maxItems :: Lens' ListInvalidations (Maybe Text) Source #

The maximum number of invalidation batches that you want in the response body.

Destructuring the Response

data ListInvalidationsResponse Source #

The returned result of the corresponding request.

See: newListInvalidationsResponse smart constructor.

Constructors

ListInvalidationsResponse' 

Fields

Instances

Instances details
Eq ListInvalidationsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

Read ListInvalidationsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

Show ListInvalidationsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

Generic ListInvalidationsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

Associated Types

type Rep ListInvalidationsResponse :: Type -> Type #

NFData ListInvalidationsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

type Rep ListInvalidationsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListInvalidations

type Rep ListInvalidationsResponse = D1 ('MetaData "ListInvalidationsResponse" "Amazonka.CloudFront.ListInvalidations" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ListInvalidationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "invalidationList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InvalidationList)))

newListInvalidationsResponse Source #

Create a value of ListInvalidationsResponse 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:httpStatus:ListInvalidationsResponse', listInvalidationsResponse_httpStatus - The response's http status code.

$sel:invalidationList:ListInvalidationsResponse', listInvalidationsResponse_invalidationList - Information about invalidation batches.

Response Lenses