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.WAF.DeletePermissionPolicy
Description
Permanently deletes an IAM policy from the specified RuleGroup.
The user making the request must be the owner of the RuleGroup.
- deletePermissionPolicy :: Text -> DeletePermissionPolicy
- data DeletePermissionPolicy
- dppResourceARN :: Lens' DeletePermissionPolicy Text
- deletePermissionPolicyResponse :: Int -> DeletePermissionPolicyResponse
- data DeletePermissionPolicyResponse
- dpprsResponseStatus :: Lens' DeletePermissionPolicyResponse Int
Creating a Request
Arguments
:: Text | |
-> DeletePermissionPolicy |
Creates a value of DeletePermissionPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dppResourceARN
- The Amazon Resource Name (ARN) of the RuleGroup from which you want to delete the policy. The user making the request must be the owner of the RuleGroup.
data DeletePermissionPolicy #
See: deletePermissionPolicy
smart constructor.
Instances
Request Lenses
dppResourceARN :: Lens' DeletePermissionPolicy Text #
The Amazon Resource Name (ARN) of the RuleGroup from which you want to delete the policy. The user making the request must be the owner of the RuleGroup.
Destructuring the Response
deletePermissionPolicyResponse #
Arguments
:: Int | |
-> DeletePermissionPolicyResponse |
Creates a value of DeletePermissionPolicyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpprsResponseStatus
- -- | The response status code.
data DeletePermissionPolicyResponse #
See: deletePermissionPolicyResponse
smart constructor.
Response Lenses
dpprsResponseStatus :: Lens' DeletePermissionPolicyResponse Int #
- - | The response status code.