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

Contents

Description

List distributions.

This operation returns paginated results.

Synopsis

Creating a Request

listDistributions :: ListDistributions #

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

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

  • ldMarker - Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last distribution on that page).
  • ldMaxItems - The maximum number of distributions you want in the response body.

data ListDistributions #

The request to list your distributions.

See: listDistributions smart constructor.

Instances

Eq ListDistributions # 
Data ListDistributions # 

Methods

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

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

toConstr :: ListDistributions -> Constr #

dataTypeOf :: ListDistributions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDistributions # 
Show ListDistributions # 
Generic ListDistributions # 
Hashable ListDistributions # 
NFData ListDistributions # 

Methods

rnf :: ListDistributions -> () #

AWSPager ListDistributions # 
AWSRequest ListDistributions # 
ToQuery ListDistributions # 
ToPath ListDistributions # 
ToHeaders ListDistributions # 
type Rep ListDistributions # 
type Rep ListDistributions = D1 (MetaData "ListDistributions" "Network.AWS.CloudFront.ListDistributions" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "ListDistributions'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ldMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ldMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs ListDistributions # 

Request Lenses

ldMarker :: Lens' ListDistributions (Maybe Text) #

Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last distribution on that page).

ldMaxItems :: Lens' ListDistributions (Maybe Text) #

The maximum number of distributions you want in the response body.

Destructuring the Response

listDistributionsResponse #

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

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

data ListDistributionsResponse #

The returned result of the corresponding request.

See: listDistributionsResponse smart constructor.

Instances

Eq ListDistributionsResponse # 
Data ListDistributionsResponse # 

Methods

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

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

toConstr :: ListDistributionsResponse -> Constr #

dataTypeOf :: ListDistributionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDistributionsResponse # 
Show ListDistributionsResponse # 
Generic ListDistributionsResponse # 
NFData ListDistributionsResponse # 
type Rep ListDistributionsResponse # 
type Rep ListDistributionsResponse = D1 (MetaData "ListDistributionsResponse" "Network.AWS.CloudFront.ListDistributions" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "ListDistributionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_ldrsDistributionList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DistributionList))))

Response Lenses

ldrsResponseStatus :: Lens' ListDistributionsResponse Int #

  • - | The response status code.