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

Contents

Description

List the distributions that are associated with a specified AWS WAF web ACL.

Synopsis

Creating a Request

listDistributionsByWebACLId Source #

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

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

  • ldbwaiMarker - Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker , specify the value of NextMarker from the last response. (For the first request, omit Marker .)
  • ldbwaiMaxItems - The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
  • ldbwaiWebACLId - The ID of the AWS WAF web ACL that you want to list the associated distributions. If you specify "null" for the ID, the request returns a list of the distributions that aren't associated with a web ACL.

data ListDistributionsByWebACLId Source #

The request to list distributions that are associated with a specified AWS WAF web ACL.

See: listDistributionsByWebACLId smart constructor.

Instances

Eq ListDistributionsByWebACLId Source # 
Data ListDistributionsByWebACLId Source # 

Methods

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

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

toConstr :: ListDistributionsByWebACLId -> Constr #

dataTypeOf :: ListDistributionsByWebACLId -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDistributionsByWebACLId Source # 
Show ListDistributionsByWebACLId Source # 
Generic ListDistributionsByWebACLId Source # 
Hashable ListDistributionsByWebACLId Source # 
NFData ListDistributionsByWebACLId Source # 
AWSRequest ListDistributionsByWebACLId Source # 
ToHeaders ListDistributionsByWebACLId Source # 
ToPath ListDistributionsByWebACLId Source # 
ToQuery ListDistributionsByWebACLId Source # 
type Rep ListDistributionsByWebACLId Source # 
type Rep ListDistributionsByWebACLId = D1 * (MetaData "ListDistributionsByWebACLId" "Network.AWS.CloudFront.ListDistributionsByWebACLId" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" False) (C1 * (MetaCons "ListDistributionsByWebACLId'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldbwaiMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldbwaiMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ldbwaiWebACLId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListDistributionsByWebACLId Source # 

Request Lenses

ldbwaiMarker :: Lens' ListDistributionsByWebACLId (Maybe Text) Source #

Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker , specify the value of NextMarker from the last response. (For the first request, omit Marker .)

ldbwaiMaxItems :: Lens' ListDistributionsByWebACLId (Maybe Text) Source #

The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.

ldbwaiWebACLId :: Lens' ListDistributionsByWebACLId Text Source #

The ID of the AWS WAF web ACL that you want to list the associated distributions. If you specify "null" for the ID, the request returns a list of the distributions that aren't associated with a web ACL.

Destructuring the Response

listDistributionsByWebACLIdResponse Source #

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

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

data ListDistributionsByWebACLIdResponse Source #

The response to a request to list the distributions that are associated with a specified AWS WAF web ACL.

See: listDistributionsByWebACLIdResponse smart constructor.

Instances

Eq ListDistributionsByWebACLIdResponse Source # 
Data ListDistributionsByWebACLIdResponse Source # 

Methods

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

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

toConstr :: ListDistributionsByWebACLIdResponse -> Constr #

dataTypeOf :: ListDistributionsByWebACLIdResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDistributionsByWebACLIdResponse Source # 
Show ListDistributionsByWebACLIdResponse Source # 
Generic ListDistributionsByWebACLIdResponse Source # 
NFData ListDistributionsByWebACLIdResponse Source # 
type Rep ListDistributionsByWebACLIdResponse Source # 
type Rep ListDistributionsByWebACLIdResponse = D1 * (MetaData "ListDistributionsByWebACLIdResponse" "Network.AWS.CloudFront.ListDistributionsByWebACLId" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" False) (C1 * (MetaCons "ListDistributionsByWebACLIdResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldbwairsDistributionList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DistributionList))) (S1 * (MetaSel (Just Symbol "_ldbwairsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses