| 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.WAFRegional.AssociateWebACL
Description
Associates a web ACL with a resource.
Synopsis
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> AssociateWebACL |
Creates a value of AssociateWebACL with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
awaWebACLId- A unique identifier (ID) for the web ACL.awaResourceARN- The ARN (Amazon Resource Name) of the resource to be protected.
data AssociateWebACL Source #
See: associateWebACL smart constructor.
Instances
Request Lenses
awaWebACLId :: Lens' AssociateWebACL Text Source #
A unique identifier (ID) for the web ACL.
awaResourceARN :: Lens' AssociateWebACL Text Source #
The ARN (Amazon Resource Name) of the resource to be protected.
Destructuring the Response
associateWebACLResponse Source #
Arguments
| :: Int | |
| -> AssociateWebACLResponse |
Creates a value of AssociateWebACLResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
awarsResponseStatus- -- | The response status code.
data AssociateWebACLResponse Source #
See: associateWebACLResponse smart constructor.
Instances
Response Lenses
awarsResponseStatus :: Lens' AssociateWebACLResponse Int Source #
- - | The response status code.