| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.WAF.GetWebACL
Description
Returns the WebACL that is specified by WebACLId .
Synopsis
Creating a Request
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- TheWebACLIdof theWebACLthat you want to get.WebACLIdis returned byCreateWebACLand byListWebACLs.
See: getWebACL smart constructor.
Instances
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
Arguments
| :: Int | |
| -> GetWebACLResponse |
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 theWebACLthat you specified in theGetWebACLrequest. For more information, see the following topics: *WebACL: ContainsDefaultAction,MetricName,Name, an array ofRuleobjects, andWebACLId*DefaultAction(Data type isWafAction): ContainsType*Rules: Contains an array ofActivatedRuleobjects, which containAction,Priority, andRuleId*Action: ContainsTypegwarsResponseStatus- -- | The response status code.
data GetWebACLResponse Source #
See: getWebACLResponse smart constructor.
Instances
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.