| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WAF.GetWebACL
Description
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.
Constructors
| GetWebACL' | |
Instances
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:
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.
Constructors
| GetWebACLResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetWebACLResponse |
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 ofRuleobjects, andWebACLId DefaultAction(Data type is WafAction): ContainsTypeRules: Contains an array ofActivatedRuleobjects, which containAction,Priority, andRuleIdAction: 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 ofRuleobjects, andWebACLId DefaultAction(Data type is WafAction): ContainsTypeRules: Contains an array ofActivatedRuleobjects, which containAction,Priority, andRuleIdAction: ContainsType
getWebACLResponse_httpStatus :: Lens' GetWebACLResponse Int Source #
The response's http status code.