| 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.FMS.DeletePolicy
Description
Permanently deletes an AWS Firewall Manager policy.
Synopsis
Creating a Request
Arguments
| :: Text | |
| -> DeletePolicy |
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.PolicyIdis returned byPutPolicyand byListPolicies.
data DeletePolicy Source #
See: deletePolicy smart constructor.
Instances
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.