amazonka-cloudfront-1.5.0: Amazon CloudFront SDK.

Copyright(c) 2013-2017 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 Source #

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 Source #

The request to list invalidations.

See: listInvalidations smart constructor.

Instances

Eq ListInvalidations Source # 
Data ListInvalidations Source # 

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 Source # 
Show ListInvalidations Source # 
Generic ListInvalidations Source # 
Hashable ListInvalidations Source # 
NFData ListInvalidations Source # 

Methods

rnf :: ListInvalidations -> () #

AWSPager ListInvalidations Source # 
AWSRequest ListInvalidations Source # 
ToQuery ListInvalidations Source # 
ToPath ListInvalidations Source # 
ToHeaders ListInvalidations Source # 
type Rep ListInvalidations Source # 
type Rep ListInvalidations = D1 (MetaData "ListInvalidations" "Network.AWS.CloudFront.ListInvalidations" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" False) (C1 (MetaCons "ListInvalidations'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_liMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_liMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_liDistributionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListInvalidations Source # 

Request Lenses

liMarker :: 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.

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

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

Destructuring the Response

listInvalidationsResponse Source #

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 Source #

The returned result of the corresponding request.

See: listInvalidationsResponse smart constructor.

Instances

Eq ListInvalidationsResponse Source # 
Data ListInvalidationsResponse Source # 

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 Source # 
Show ListInvalidationsResponse Source # 
Generic ListInvalidationsResponse Source # 
NFData ListInvalidationsResponse Source # 
type Rep ListInvalidationsResponse Source # 
type Rep ListInvalidationsResponse = D1 (MetaData "ListInvalidationsResponse" "Network.AWS.CloudFront.ListInvalidations" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" False) (C1 (MetaCons "ListInvalidationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_lirsInvalidationList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InvalidationList))))

Response Lenses