amazonka-waf-regional-2.0: Amazon WAF Regional 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.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
ToJSON GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.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

AWSRequest GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Associated Types

type AWSResponse GetRegexPatternSet #

Generic GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Associated Types

type Rep GetRegexPatternSet :: Type -> Type #

Read GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Show GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

NFData GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Methods

rnf :: GetRegexPatternSet -> () #

Eq GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Hashable GetRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

type AWSResponse 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" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" 'False) (C1 ('MetaCons "GetRegexPatternSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regexPatternSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic GetRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Associated Types

type Rep GetRegexPatternSetResponse :: Type -> Type #

Read GetRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Show GetRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

NFData GetRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetRegexPatternSet

Eq 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" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" '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.