libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall
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.NetworkFirewall.DescribeResourcePolicy

Description

Retrieves a resource policy that you created in a PutResourcePolicy request.

Synopsis

Creating a Request

data DescribeResourcePolicy Source #

See: newDescribeResourcePolicy smart constructor.

Constructors

DescribeResourcePolicy' 

Fields

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to retrieve.

Instances

Instances details
Eq DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

Read DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

Show DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

Generic DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

Associated Types

type Rep DescribeResourcePolicy :: Type -> Type #

NFData DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

Methods

rnf :: DescribeResourcePolicy -> () #

Hashable DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

ToJSON DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

AWSRequest DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

Associated Types

type AWSResponse DescribeResourcePolicy #

ToHeaders DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

ToPath DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

ToQuery DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

type Rep DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

type Rep DescribeResourcePolicy = D1 ('MetaData "DescribeResourcePolicy" "Amazonka.NetworkFirewall.DescribeResourcePolicy" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "DescribeResourcePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

newDescribeResourcePolicy Source #

Create a value of DescribeResourcePolicy 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:DescribeResourcePolicy', describeResourcePolicy_resourceArn - The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to retrieve.

Request Lenses

describeResourcePolicy_resourceArn :: Lens' DescribeResourcePolicy Text Source #

The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to retrieve.

Destructuring the Response

data DescribeResourcePolicyResponse Source #

See: newDescribeResourcePolicyResponse smart constructor.

Constructors

DescribeResourcePolicyResponse' 

Fields

Instances

Instances details
Eq DescribeResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

Read DescribeResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

Show DescribeResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

Generic DescribeResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

Associated Types

type Rep DescribeResourcePolicyResponse :: Type -> Type #

NFData DescribeResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

type Rep DescribeResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DescribeResourcePolicy

type Rep DescribeResourcePolicyResponse = D1 ('MetaData "DescribeResourcePolicyResponse" "Amazonka.NetworkFirewall.DescribeResourcePolicy" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "DescribeResourcePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeResourcePolicyResponse Source #

Create a value of DescribeResourcePolicyResponse 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:DescribeResourcePolicyResponse', describeResourcePolicyResponse_policy - The AWS Identity and Access Management policy for the resource.

$sel:httpStatus:DescribeResourcePolicyResponse', describeResourcePolicyResponse_httpStatus - The response's http status code.

Response Lenses

describeResourcePolicyResponse_policy :: Lens' DescribeResourcePolicyResponse (Maybe Text) Source #

The AWS Identity and Access Management policy for the resource.