amazonka-waf-2.0: Amazon WAF SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WAF.DeletePermissionPolicy

Description

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

Creating a Request

data DeletePermissionPolicy Source #

See: newDeletePermissionPolicy smart constructor.

Constructors

DeletePermissionPolicy' 

Fields

  • resourceArn :: 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.

Instances

Instances details
ToJSON DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

ToHeaders DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

ToPath DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

ToQuery DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

AWSRequest DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

Associated Types

type AWSResponse DeletePermissionPolicy #

Generic DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

Associated Types

type Rep DeletePermissionPolicy :: Type -> Type #

Read DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

Show DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

NFData DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

Methods

rnf :: DeletePermissionPolicy -> () #

Eq DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

Hashable DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

type AWSResponse DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

type Rep DeletePermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

type Rep DeletePermissionPolicy = D1 ('MetaData "DeletePermissionPolicy" "Amazonka.WAF.DeletePermissionPolicy" "amazonka-waf-2.0-7D7QOxIEZeF1ayfX9AzEZC" 'False) (C1 ('MetaCons "DeletePermissionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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 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.

Constructors

DeletePermissionPolicyResponse' 

Fields

Instances

Instances details
Generic DeletePermissionPolicyResponse Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

Associated Types

type Rep DeletePermissionPolicyResponse :: Type -> Type #

Read DeletePermissionPolicyResponse Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

Show DeletePermissionPolicyResponse Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

NFData DeletePermissionPolicyResponse Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

Eq DeletePermissionPolicyResponse Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

type Rep DeletePermissionPolicyResponse Source # 
Instance details

Defined in Amazonka.WAF.DeletePermissionPolicy

type Rep DeletePermissionPolicyResponse = D1 ('MetaData "DeletePermissionPolicyResponse" "Amazonka.WAF.DeletePermissionPolicy" "amazonka-waf-2.0-7D7QOxIEZeF1ayfX9AzEZC" '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