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 |
Creates an AWS Firewall Manager policy.
- putPolicy :: Policy -> PutPolicy
- data PutPolicy
- ppPolicy :: Lens' PutPolicy Policy
- putPolicyResponse :: Int -> PutPolicyResponse
- data PutPolicyResponse
- pprsPolicyARN :: Lens' PutPolicyResponse (Maybe Text)
- pprsPolicy :: Lens' PutPolicyResponse (Maybe Policy)
- pprsResponseStatus :: Lens' PutPolicyResponse Int
Creating a Request
See: putPolicy
smart constructor.
Request Lenses
ppPolicy :: Lens' PutPolicy Policy Source #
The details of the AWS Firewall Manager policy to be created.
Destructuring the Response
Creates a value of PutPolicyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pprsPolicyARN
- The Amazon Resource Name (ARN) of the policy that was created.pprsPolicy
- The details of the AWS Firewall Manager policy that was created.pprsResponseStatus
- -- | The response status code.
data PutPolicyResponse Source #
See: putPolicyResponse
smart constructor.
Response Lenses
pprsPolicyARN :: Lens' PutPolicyResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the policy that was created.
pprsPolicy :: Lens' PutPolicyResponse (Maybe Policy) Source #
The details of the AWS Firewall Manager policy that was created.
pprsResponseStatus :: Lens' PutPolicyResponse Int Source #
- - | The response status code.