Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Permanently deletes an IAM policy from the specified rule group.
You must be the owner of the rule group to perform this operation.
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:
DeletePermissionPolicy
, deletePermissionPolicy_resourceArn
- The Amazon Resource Name (ARN) of the rule group from which you want to
delete the policy.
You must be the owner of the rule group to perform this operation.
Request Lenses
deletePermissionPolicy_resourceArn :: Lens' DeletePermissionPolicy Text Source #
The Amazon Resource Name (ARN) of the rule group from which you want to delete the policy.
You must be the owner of the rule group to perform this operation.
Destructuring the Response
data DeletePermissionPolicyResponse Source #
See: newDeletePermissionPolicyResponse
smart constructor.
DeletePermissionPolicyResponse' | |
|
Instances
Generic DeletePermissionPolicyResponse Source # | |
Read DeletePermissionPolicyResponse Source # | |
Show DeletePermissionPolicyResponse Source # | |
Defined in Amazonka.WAFV2.DeletePermissionPolicy | |
NFData DeletePermissionPolicyResponse Source # | |
Defined in Amazonka.WAFV2.DeletePermissionPolicy rnf :: DeletePermissionPolicyResponse -> () # | |
Eq DeletePermissionPolicyResponse Source # | |
type Rep DeletePermissionPolicyResponse Source # | |
Defined in Amazonka.WAFV2.DeletePermissionPolicy type Rep DeletePermissionPolicyResponse = D1 ('MetaData "DeletePermissionPolicyResponse" "Amazonka.WAFV2.DeletePermissionPolicy" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" '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.