amazonka-waf-regional-1.6.0: Amazon WAF Regional 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.WAFRegional.GetWebACL

Contents

Description

Returns the WebACL that is specified by WebACLId .

Synopsis

Creating a Request

getWebACL Source #

Arguments

:: Text

gwaWebACLId

-> GetWebACL 

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

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

  • gwaWebACLId - The WebACLId of the WebACL that you want to get. WebACLId is returned by CreateWebACL and by ListWebACLs .

data GetWebACL Source #

See: getWebACL smart constructor.

Instances

Eq GetWebACL Source # 
Data GetWebACL Source # 

Methods

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

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

toConstr :: GetWebACL -> Constr #

dataTypeOf :: GetWebACL -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetWebACL Source # 
Show GetWebACL Source # 
Generic GetWebACL Source # 

Associated Types

type Rep GetWebACL :: * -> * #

Hashable GetWebACL Source # 
ToJSON GetWebACL Source # 
NFData GetWebACL Source # 

Methods

rnf :: GetWebACL -> () #

AWSRequest GetWebACL Source # 
ToHeaders GetWebACL Source # 

Methods

toHeaders :: GetWebACL -> [Header] #

ToPath GetWebACL Source # 
ToQuery GetWebACL Source # 
type Rep GetWebACL Source # 
type Rep GetWebACL = D1 * (MetaData "GetWebACL" "Network.AWS.WAFRegional.GetWebACL" "amazonka-waf-regional-1.6.0-8hbXet7pAjcFZLYYuMOYQd" True) (C1 * (MetaCons "GetWebACL'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gwaWebACLId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetWebACL Source # 

Request Lenses

gwaWebACLId :: Lens' GetWebACL Text Source #

The WebACLId of the WebACL that you want to get. WebACLId is returned by CreateWebACL and by ListWebACLs .

Destructuring the Response

getWebACLResponse Source #

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

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

  • gwarsWebACL - Information about the WebACL that you specified in the GetWebACL request. For more information, see the following topics: * WebACL : Contains DefaultAction , MetricName , Name , an array of Rule objects, and WebACLId * DefaultAction (Data type is WafAction ): Contains Type * Rules : Contains an array of ActivatedRule objects, which contain Action , Priority , and RuleId * Action : Contains Type
  • gwarsResponseStatus - -- | The response status code.

data GetWebACLResponse Source #

See: getWebACLResponse smart constructor.

Instances

Eq GetWebACLResponse Source # 
Data GetWebACLResponse Source # 

Methods

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

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

toConstr :: GetWebACLResponse -> Constr #

dataTypeOf :: GetWebACLResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetWebACLResponse Source # 
Show GetWebACLResponse Source # 
Generic GetWebACLResponse Source # 
NFData GetWebACLResponse Source # 

Methods

rnf :: GetWebACLResponse -> () #

type Rep GetWebACLResponse Source # 
type Rep GetWebACLResponse = D1 * (MetaData "GetWebACLResponse" "Network.AWS.WAFRegional.GetWebACL" "amazonka-waf-regional-1.6.0-8hbXet7pAjcFZLYYuMOYQd" False) (C1 * (MetaCons "GetWebACLResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gwarsWebACL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe WebACL))) (S1 * (MetaSel (Just Symbol "_gwarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gwarsWebACL :: Lens' GetWebACLResponse (Maybe WebACL) Source #

Information about the WebACL that you specified in the GetWebACL request. For more information, see the following topics: * WebACL : Contains DefaultAction , MetricName , Name , an array of Rule objects, and WebACLId * DefaultAction (Data type is WafAction ): Contains Type * Rules : Contains an array of ActivatedRule objects, which contain Action , Priority , and RuleId * Action : Contains Type

gwarsResponseStatus :: Lens' GetWebACLResponse Int Source #

  • - | The response status code.