Copyright | (c) 2013-2021 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 |
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Permanently deletes an IAM policy from the specified RuleGroup.
The user making the request must be the owner of the RuleGroup.
Synopsis
- data DeletePermissionPolicy = DeletePermissionPolicy' {
- resourceArn :: Text
- newDeletePermissionPolicy :: Text -> DeletePermissionPolicy
- deletePermissionPolicy_resourceArn :: Lens' DeletePermissionPolicy Text
- data DeletePermissionPolicyResponse = DeletePermissionPolicyResponse' {
- httpStatus :: Int
- newDeletePermissionPolicyResponse :: Int -> DeletePermissionPolicyResponse
- deletePermissionPolicyResponse_httpStatus :: Lens' DeletePermissionPolicyResponse Int
Creating a Request
data DeletePermissionPolicy Source #
See: newDeletePermissionPolicy
smart constructor.
DeletePermissionPolicy' | |
|
Instances
newDeletePermissionPolicy Source #
Create a value of DeletePermissionPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:DeletePermissionPolicy'
, deletePermissionPolicy_resourceArn
- 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.
Request Lenses
deletePermissionPolicy_resourceArn :: Lens' DeletePermissionPolicy Text Source #
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
data DeletePermissionPolicyResponse Source #
See: newDeletePermissionPolicyResponse
smart constructor.
DeletePermissionPolicyResponse' | |
|
Instances
Eq DeletePermissionPolicyResponse Source # | |
Read DeletePermissionPolicyResponse Source # | |
Show DeletePermissionPolicyResponse Source # | |
Defined in Amazonka.WAF.DeletePermissionPolicy | |
Generic DeletePermissionPolicyResponse Source # | |
NFData DeletePermissionPolicyResponse Source # | |
Defined in Amazonka.WAF.DeletePermissionPolicy rnf :: DeletePermissionPolicyResponse -> () # | |
type Rep DeletePermissionPolicyResponse Source # | |
Defined in Amazonka.WAF.DeletePermissionPolicy type Rep DeletePermissionPolicyResponse = D1 ('MetaData "DeletePermissionPolicyResponse" "Amazonka.WAF.DeletePermissionPolicy" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "DeletePermissionPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeletePermissionPolicyResponse Source #
Create a value of DeletePermissionPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeletePermissionPolicyResponse'
, deletePermissionPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
deletePermissionPolicyResponse_httpStatus :: Lens' DeletePermissionPolicyResponse Int Source #
The response's http status code.