amazonka-cloudfront-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Data ListDistributions Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Show ListDistributions Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Generic ListDistributions Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Associated Types

type Rep ListDistributions :: Type -> Type #

Hashable ListDistributions Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

AWSPager ListDistributions Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

AWSRequest ListDistributions Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Associated Types

type Rs ListDistributions :: Type #

ToHeaders ListDistributions Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

ToPath ListDistributions Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

ToQuery ListDistributions Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

NFData ListDistributions Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Methods

rnf :: ListDistributions -> () #

type Rep ListDistributions Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

type Rep ListDistributions = D1 (MetaData "ListDistributions" "Network.AWS.CloudFront.ListDistributions" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" 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 Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

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

Defined in Network.AWS.CloudFront.ListDistributions

Data ListDistributionsResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Show ListDistributionsResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Generic ListDistributionsResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

Associated Types

type Rep ListDistributionsResponse :: Type -> Type #

NFData ListDistributionsResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

type Rep ListDistributionsResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.ListDistributions

type Rep ListDistributionsResponse = D1 (MetaData "ListDistributionsResponse" "Network.AWS.CloudFront.ListDistributions" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" 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