Copyright | (c) 2013-2021 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 |
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Returns the WebACL that is specified by WebACLId
.
Synopsis
- data GetWebACL = GetWebACL' {}
- newGetWebACL :: Text -> GetWebACL
- getWebACL_webACLId :: Lens' GetWebACL Text
- data GetWebACLResponse = GetWebACLResponse' {
- webACL :: Maybe WebACL
- httpStatus :: Int
- newGetWebACLResponse :: Int -> GetWebACLResponse
- getWebACLResponse_webACL :: Lens' GetWebACLResponse (Maybe WebACL)
- getWebACLResponse_httpStatus :: Lens' GetWebACLResponse Int
Creating a Request
See: newGetWebACL
smart constructor.
Instances
Eq GetWebACL Source # | |
Read GetWebACL Source # | |
Show GetWebACL Source # | |
Generic GetWebACL Source # | |
NFData GetWebACL Source # | |
Defined in Amazonka.WAF.GetWebACL | |
Hashable GetWebACL Source # | |
Defined in Amazonka.WAF.GetWebACL | |
ToJSON GetWebACL Source # | |
Defined in Amazonka.WAF.GetWebACL | |
AWSRequest GetWebACL Source # | |
Defined in Amazonka.WAF.GetWebACL type AWSResponse GetWebACL # request :: GetWebACL -> Request GetWebACL # response :: MonadResource m => Logger -> Service -> Proxy GetWebACL -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetWebACL))) # | |
ToHeaders GetWebACL Source # | |
Defined in Amazonka.WAF.GetWebACL | |
ToPath GetWebACL Source # | |
Defined in Amazonka.WAF.GetWebACL toPath :: GetWebACL -> ByteString # | |
ToQuery GetWebACL Source # | |
Defined in Amazonka.WAF.GetWebACL toQuery :: GetWebACL -> QueryString # | |
type Rep GetWebACL Source # | |
Defined in Amazonka.WAF.GetWebACL | |
type AWSResponse GetWebACL Source # | |
Defined in Amazonka.WAF.GetWebACL |
Create a value of GetWebACL
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:webACLId:GetWebACL'
, getWebACL_webACLId
- The WebACLId
of the WebACL that you want to get. WebACLId
is
returned by CreateWebACL and by ListWebACLs.
Request Lenses
getWebACL_webACLId :: 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
data GetWebACLResponse Source #
See: newGetWebACLResponse
smart constructor.
GetWebACLResponse' | |
|
Instances
Create a value of GetWebACLResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:webACL:GetWebACLResponse'
, getWebACLResponse_webACL
- 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 ofRule
objects, andWebACLId
DefaultAction
(Data type is WafAction): ContainsType
Rules
: Contains an array ofActivatedRule
objects, which containAction
,Priority
, andRuleId
Action
: ContainsType
$sel:httpStatus:GetWebACLResponse'
, getWebACLResponse_httpStatus
- The response's http status code.
Response Lenses
getWebACLResponse_webACL :: 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 ofRule
objects, andWebACLId
DefaultAction
(Data type is WafAction): ContainsType
Rules
: Contains an array ofActivatedRule
objects, which containAction
,Priority
, andRuleId
Action
: ContainsType
getWebACLResponse_httpStatus :: Lens' GetWebACLResponse Int Source #
The response's http status code.