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 |
Permanently deletes an AWS Firewall Manager policy.
Creating a Request
Creates a value of DeletePolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpPolicyId
- The ID of the policy that you want to delete.PolicyId
is returned byPutPolicy
and byListPolicies
.
data DeletePolicy Source #
See: deletePolicy
smart constructor.
Request Lenses
dpPolicyId :: Lens' DeletePolicy Text Source #
The ID of the policy that you want to delete. PolicyId
is returned by PutPolicy
and by ListPolicies
.
Destructuring the Response
deletePolicyResponse :: DeletePolicyResponse Source #
Creates a value of DeletePolicyResponse
with the minimum fields required to make a request.
data DeletePolicyResponse Source #
See: deletePolicyResponse
smart constructor.