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 |
Returns the WebACL
that is specified by WebACLId
.
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
- TheWebACLId
of theWebACL
that you want to get.WebACLId
is returned byCreateWebACL
and byListWebACLs
.
See: getWebACL
smart constructor.
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
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 theWebACL
that you specified in theGetWebACL
request. For more information, see the following topics: *WebACL
: ContainsDefaultAction
,MetricName
,Name
, an array ofRule
objects, andWebACLId
*DefaultAction
(Data type isWafAction
): ContainsType
*Rules
: Contains an array ofActivatedRule
objects, which containAction
,Priority
, andRuleId
*Action
: ContainsType
gwarsResponseStatus
- -- | The response status code.
data GetWebACLResponse Source #
See: getWebACLResponse
smart constructor.
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.