amazonka-cloudfront-1.6.0: Amazon CloudFront SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudFront.ListInvalidations

Contents

Description

Lists invalidation batches.

This operation returns paginated results.

Synopsis

Creating a Request

listInvalidations #

Creates a value of ListInvalidations with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • liMarker - 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.
  • liMaxItems - The maximum number of invalidation batches that you want in the response body.
  • liDistributionId - The distribution's ID.

data ListInvalidations #

The request to list invalidations.

See: listInvalidations smart constructor.

Instances
Eq ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Data ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListInvalidations -> c ListInvalidations #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListInvalidations #

toConstr :: ListInvalidations -> Constr #

dataTypeOf :: ListInvalidations -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListInvalidations) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListInvalidations) #

gmapT :: (forall b. Data b => b -> b) -> ListInvalidations -> ListInvalidations #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListInvalidations -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListInvalidations -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListInvalidations -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListInvalidations -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListInvalidations -> m ListInvalidations #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListInvalidations -> m ListInvalidations #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListInvalidations -> m ListInvalidations #

Read ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Show ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Generic ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Associated Types

type Rep ListInvalidations :: * -> * #

Hashable ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

AWSPager ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

AWSRequest ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Associated Types

type Rs ListInvalidations :: * #

ToHeaders ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

ToPath ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

ToQuery ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

NFData ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Methods

rnf :: ListInvalidations -> () #

type Rep ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

type Rep ListInvalidations = D1 (MetaData "ListInvalidations" "Network.AWS.CloudFront.ListInvalidations" "amazonka-cloudfront-1.6.0-UYFoUyWv9X385WP5RsDEn" False) (C1 (MetaCons "ListInvalidations'" PrefixI True) (S1 (MetaSel (Just "_liMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_liMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_liDistributionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListInvalidations # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Request Lenses

liMarker :: Lens' ListInvalidations (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.

liMaxItems :: Lens' ListInvalidations (Maybe Text) #

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

liDistributionId :: Lens' ListInvalidations Text #

The distribution's ID.

Destructuring the Response

listInvalidationsResponse #

Creates a value of ListInvalidationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListInvalidationsResponse #

The returned result of the corresponding request.

See: listInvalidationsResponse smart constructor.

Instances
Eq ListInvalidationsResponse # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Data ListInvalidationsResponse # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListInvalidationsResponse -> c ListInvalidationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListInvalidationsResponse #

toConstr :: ListInvalidationsResponse -> Constr #

dataTypeOf :: ListInvalidationsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListInvalidationsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListInvalidationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListInvalidationsResponse -> ListInvalidationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListInvalidationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListInvalidationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListInvalidationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListInvalidationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListInvalidationsResponse -> m ListInvalidationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListInvalidationsResponse -> m ListInvalidationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListInvalidationsResponse -> m ListInvalidationsResponse #

Read ListInvalidationsResponse # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Show ListInvalidationsResponse # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Generic ListInvalidationsResponse # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

Associated Types

type Rep ListInvalidationsResponse :: * -> * #

NFData ListInvalidationsResponse # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

type Rep ListInvalidationsResponse # 
Instance details

Defined in Network.AWS.CloudFront.ListInvalidations

type Rep ListInvalidationsResponse = D1 (MetaData "ListInvalidationsResponse" "Network.AWS.CloudFront.ListInvalidations" "amazonka-cloudfront-1.6.0-UYFoUyWv9X385WP5RsDEn" False) (C1 (MetaCons "ListInvalidationsResponse'" PrefixI True) (S1 (MetaSel (Just "_lirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_lirsInvalidationList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InvalidationList)))

Response Lenses

lirsResponseStatus :: Lens' ListInvalidationsResponse Int #

  • - | The response status code.

lirsInvalidationList :: Lens' ListInvalidationsResponse InvalidationList #

Information about invalidation batches.