libZSservicesZSamazonka-wafZSamazonka-waf
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WAF.GetPermissionPolicy

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.

Returns the IAM policy attached to the RuleGroup.

Synopsis

Creating a Request

data GetPermissionPolicy Source #

See: newGetPermissionPolicy smart constructor.

Constructors

GetPermissionPolicy' 

Fields

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the RuleGroup for which you want to get the policy.

Instances

Instances details
Eq GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

Read GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

Show GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

Generic GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

Associated Types

type Rep GetPermissionPolicy :: Type -> Type #

NFData GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

Methods

rnf :: GetPermissionPolicy -> () #

Hashable GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

ToJSON GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

AWSRequest GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

Associated Types

type AWSResponse GetPermissionPolicy #

ToHeaders GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

ToPath GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

ToQuery GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

type Rep GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

type Rep GetPermissionPolicy = D1 ('MetaData "GetPermissionPolicy" "Amazonka.WAF.GetPermissionPolicy" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "GetPermissionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetPermissionPolicy Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

newGetPermissionPolicy Source #

Create a value of GetPermissionPolicy 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:GetPermissionPolicy', getPermissionPolicy_resourceArn - The Amazon Resource Name (ARN) of the RuleGroup for which you want to get the policy.

Request Lenses

getPermissionPolicy_resourceArn :: Lens' GetPermissionPolicy Text Source #

The Amazon Resource Name (ARN) of the RuleGroup for which you want to get the policy.

Destructuring the Response

data GetPermissionPolicyResponse Source #

See: newGetPermissionPolicyResponse smart constructor.

Constructors

GetPermissionPolicyResponse' 

Fields

Instances

Instances details
Eq GetPermissionPolicyResponse Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

Read GetPermissionPolicyResponse Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

Show GetPermissionPolicyResponse Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

Generic GetPermissionPolicyResponse Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

Associated Types

type Rep GetPermissionPolicyResponse :: Type -> Type #

NFData GetPermissionPolicyResponse Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

type Rep GetPermissionPolicyResponse Source # 
Instance details

Defined in Amazonka.WAF.GetPermissionPolicy

type Rep GetPermissionPolicyResponse = D1 ('MetaData "GetPermissionPolicyResponse" "Amazonka.WAF.GetPermissionPolicy" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "GetPermissionPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetPermissionPolicyResponse Source #

Create a value of GetPermissionPolicyResponse 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:policy:GetPermissionPolicyResponse', getPermissionPolicyResponse_policy - The IAM policy attached to the specified RuleGroup.

$sel:httpStatus:GetPermissionPolicyResponse', getPermissionPolicyResponse_httpStatus - The response's http status code.

Response Lenses

getPermissionPolicyResponse_policy :: Lens' GetPermissionPolicyResponse (Maybe Text) Source #

The IAM policy attached to the specified RuleGroup.