libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional
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.WAFRegional.GetRegexPatternSet

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 RegexPatternSet specified by RegexPatternSetId.

Synopsis

Creating a Request

data GetRegexPatternSet Source #

See: newGetRegexPatternSet smart constructor.

Constructors

GetRegexPatternSet' 

Fields

  • regexPatternSetId :: Text

    The RegexPatternSetId of the RegexPatternSet that you want to get. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

Instances

Instances details
Eq GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Read GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Show GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Generic GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Associated Types

type Rep GetRegexPatternSet :: Type -> Type #

NFData GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Methods

rnf :: GetRegexPatternSet -> () #

Hashable GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

ToJSON GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

AWSRequest GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Associated Types

type AWSResponse GetRegexPatternSet #

ToHeaders GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

ToPath GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

ToQuery GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

type Rep GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

type Rep GetRegexPatternSet = D1 ('MetaData "GetRegexPatternSet" "Amazonka.WAFRegional.GetRegexPatternSet" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "GetRegexPatternSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regexPatternSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

newGetRegexPatternSet Source #

Create a value of GetRegexPatternSet 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:regexPatternSetId:GetRegexPatternSet', getRegexPatternSet_regexPatternSetId - The RegexPatternSetId of the RegexPatternSet that you want to get. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

Request Lenses

getRegexPatternSet_regexPatternSetId :: Lens' GetRegexPatternSet Text Source #

The RegexPatternSetId of the RegexPatternSet that you want to get. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

Destructuring the Response

data GetRegexPatternSetResponse Source #

See: newGetRegexPatternSetResponse smart constructor.

Constructors

GetRegexPatternSetResponse' 

Fields

  • regexPatternSet :: Maybe RegexPatternSet

    Information about the RegexPatternSet that you specified in the GetRegexPatternSet request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Read GetRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Show GetRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Generic GetRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Associated Types

type Rep GetRegexPatternSetResponse :: Type -> Type #

NFData GetRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

type Rep GetRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

type Rep GetRegexPatternSetResponse = D1 ('MetaData "GetRegexPatternSetResponse" "Amazonka.WAFRegional.GetRegexPatternSet" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "GetRegexPatternSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regexPatternSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RegexPatternSet)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetRegexPatternSetResponse Source #

Create a value of GetRegexPatternSetResponse 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:regexPatternSet:GetRegexPatternSetResponse', getRegexPatternSetResponse_regexPatternSet - Information about the RegexPatternSet that you specified in the GetRegexPatternSet request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.

$sel:httpStatus:GetRegexPatternSetResponse', getRegexPatternSetResponse_httpStatus - The response's http status code.

Response Lenses

getRegexPatternSetResponse_regexPatternSet :: Lens' GetRegexPatternSetResponse (Maybe RegexPatternSet) Source #

Information about the RegexPatternSet that you specified in the GetRegexPatternSet request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.