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.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 # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Data ListDistributions # 
Instance details

Defined in Network.AWS.CloudFront.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 # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Show ListDistributions # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Generic ListDistributions # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Associated Types

type Rep ListDistributions :: * -> * #

Hashable ListDistributions # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

AWSPager ListDistributions # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

AWSRequest ListDistributions # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Associated Types

type Rs ListDistributions :: * #

ToHeaders ListDistributions # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

ToPath ListDistributions # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

ToQuery ListDistributions # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

NFData ListDistributions # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Methods

rnf :: ListDistributions -> () #

type Rep ListDistributions # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

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

Defined in Network.AWS.CloudFront.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 # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Data ListDistributionsResponse # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

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 # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Show ListDistributionsResponse # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Generic ListDistributionsResponse # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Associated Types

type Rep ListDistributionsResponse :: * -> * #

NFData ListDistributionsResponse # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

type Rep ListDistributionsResponse # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

type Rep ListDistributionsResponse = D1 (MetaData "ListDistributionsResponse" "Network.AWS.CloudFront.ListDistributions" "amazonka-cloudfront-1.6.0-UYFoUyWv9X385WP5RsDEn" False) (C1 (MetaCons "ListDistributionsResponse'" PrefixI True) (S1 (MetaSel (Just "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_ldrsDistributionList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DistributionList)))

Response Lenses

ldrsResponseStatus :: Lens' ListDistributionsResponse Int #

  • - | The response status code.