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

Contents

Description

List distributions.

This operation returns paginated results.

Synopsis

Creating a Request

listDistributions :: ListDistributions Source #

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

The request to list your distributions.

See: listDistributions smart constructor.

Instances

Eq ListDistributions Source # 
Data ListDistributions Source # 

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

Methods

rnf :: ListDistributions -> () #

AWSPager ListDistributions Source # 
AWSRequest ListDistributions Source # 
ToQuery ListDistributions Source # 
ToPath ListDistributions Source # 
ToHeaders ListDistributions Source # 
type Rep ListDistributions Source # 
type Rep ListDistributions = D1 (MetaData "ListDistributions" "Network.AWS.CloudFront.ListDistributions" "amazonka-cloudfront-1.5.0-Dxb5BZwkJKgBNtTmWcA8zz" 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 Source # 

Request Lenses

ldMarker :: Lens' ListDistributions (Maybe Text) Source #

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

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

Destructuring the Response

listDistributionsResponse Source #

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

The returned result of the corresponding request.

See: listDistributionsResponse smart constructor.

Instances

Eq ListDistributionsResponse Source # 
Data ListDistributionsResponse Source # 

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

Response Lenses