amazonka-waf-1.3.5: Amazon WAF SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.WAF.GetWebACL

Contents

Description

Returns the WebACL that is specified by WebACLId.

See: AWS API Reference for GetWebACL.

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:

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:

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