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

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 WebACL that is specified by WebACLId.

Synopsis

Creating a Request

data GetWebACL Source #

See: newGetWebACL smart constructor.

Constructors

GetWebACL' 

Fields

  • webACLId :: Text

    The WebACLId of the WebACL that you want to get. WebACLId is returned by CreateWebACL and by ListWebACLs.

Instances

Instances details
Eq GetWebACL Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

Read GetWebACL Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

Show GetWebACL Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

Generic GetWebACL Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

Associated Types

type Rep GetWebACL :: Type -> Type #

NFData GetWebACL Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

Methods

rnf :: GetWebACL -> () #

Hashable GetWebACL Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

ToJSON GetWebACL Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

AWSRequest GetWebACL Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

Associated Types

type AWSResponse GetWebACL #

ToHeaders GetWebACL Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

Methods

toHeaders :: GetWebACL -> [Header] #

ToPath GetWebACL Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

ToQuery GetWebACL Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

type Rep GetWebACL Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

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

Defined in Amazonka.WAF.GetWebACL

newGetWebACL Source #

Create a value of GetWebACL 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:webACLId:GetWebACL', getWebACL_webACLId - The WebACLId of the WebACL that you want to get. WebACLId is returned by CreateWebACL and by ListWebACLs.

Request Lenses

getWebACL_webACLId :: Lens' GetWebACL Text Source #

The WebACLId of the WebACL that you want to get. WebACLId is returned by CreateWebACL and by ListWebACLs.

Destructuring the Response

data GetWebACLResponse Source #

See: newGetWebACLResponse smart constructor.

Constructors

GetWebACLResponse' 

Fields

  • webACL :: Maybe WebACL

    Information about the WebACL that you specified in the GetWebACL request. For more information, see the following topics:

    • WebACL: Contains DefaultAction, MetricName, Name, an array of Rule objects, and WebACLId
    • DefaultAction (Data type is WafAction): Contains Type
    • Rules: Contains an array of ActivatedRule objects, which contain Action, Priority, and RuleId
    • Action: Contains Type
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetWebACLResponse Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

Read GetWebACLResponse Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

Show GetWebACLResponse Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

Generic GetWebACLResponse Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

Associated Types

type Rep GetWebACLResponse :: Type -> Type #

NFData GetWebACLResponse Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

Methods

rnf :: GetWebACLResponse -> () #

type Rep GetWebACLResponse Source # 
Instance details

Defined in Amazonka.WAF.GetWebACL

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

newGetWebACLResponse Source #

Create a value of GetWebACLResponse 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:webACL:GetWebACLResponse', getWebACLResponse_webACL - Information about the WebACL that you specified in the GetWebACL request. For more information, see the following topics:

  • WebACL: Contains DefaultAction, MetricName, Name, an array of Rule objects, and WebACLId
  • DefaultAction (Data type is WafAction): Contains Type
  • Rules: Contains an array of ActivatedRule objects, which contain Action, Priority, and RuleId
  • Action: Contains Type

$sel:httpStatus:GetWebACLResponse', getWebACLResponse_httpStatus - The response's http status code.

Response Lenses

getWebACLResponse_webACL :: Lens' GetWebACLResponse (Maybe WebACL) Source #

Information about the WebACL that you specified in the GetWebACL request. For more information, see the following topics:

  • WebACL: Contains DefaultAction, MetricName, Name, an array of Rule objects, and WebACLId
  • DefaultAction (Data type is WafAction): Contains Type
  • Rules: Contains an array of ActivatedRule objects, which contain Action, Priority, and RuleId
  • Action: Contains Type

getWebACLResponse_httpStatus :: Lens' GetWebACLResponse Int Source #

The response's http status code.