amazonka-cloudfront-1.4.5: Amazon CloudFront SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 # 
Data 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 # 
Show ListInvalidations # 
Generic ListInvalidations # 
Hashable ListInvalidations # 
NFData ListInvalidations # 

Methods

rnf :: ListInvalidations -> () #

AWSPager ListInvalidations # 
AWSRequest ListInvalidations # 
ToQuery ListInvalidations # 
ToPath ListInvalidations # 
ToHeaders ListInvalidations # 
type Rep ListInvalidations # 
type Rep ListInvalidations = D1 (MetaData "ListInvalidations" "Network.AWS.CloudFront.ListInvalidations" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" 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 # 

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 # 
Data ListInvalidationsResponse # 

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

Response Lenses

lirsResponseStatus :: Lens' ListInvalidationsResponse Int #

  • - | The response status code.

lirsInvalidationList :: Lens' ListInvalidationsResponse InvalidationList #

Information about invalidation batches.