amazonka-waf-2.0: Amazon WAF 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.WAF.GetByteMatchSet

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 ByteMatchSet specified by ByteMatchSetId.

Synopsis

Creating a Request

data GetByteMatchSet Source #

See: newGetByteMatchSet smart constructor.

Constructors

GetByteMatchSet' 

Fields

  • byteMatchSetId :: Text

    The ByteMatchSetId of the ByteMatchSet that you want to get. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

Instances

Instances details
ToJSON GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

ToHeaders GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

ToPath GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

ToQuery GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

AWSRequest GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Associated Types

type AWSResponse GetByteMatchSet #

Generic GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Associated Types

type Rep GetByteMatchSet :: Type -> Type #

Read GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Show GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

NFData GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Methods

rnf :: GetByteMatchSet -> () #

Eq GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Hashable GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

type AWSResponse GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

type Rep GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

type Rep GetByteMatchSet = D1 ('MetaData "GetByteMatchSet" "Amazonka.WAF.GetByteMatchSet" "amazonka-waf-2.0-7D7QOxIEZeF1ayfX9AzEZC" 'False) (C1 ('MetaCons "GetByteMatchSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "byteMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetByteMatchSet Source #

Create a value of GetByteMatchSet 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:

GetByteMatchSet, getByteMatchSet_byteMatchSetId - The ByteMatchSetId of the ByteMatchSet that you want to get. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

Request Lenses

getByteMatchSet_byteMatchSetId :: Lens' GetByteMatchSet Text Source #

The ByteMatchSetId of the ByteMatchSet that you want to get. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

Destructuring the Response

data GetByteMatchSetResponse Source #

See: newGetByteMatchSetResponse smart constructor.

Constructors

GetByteMatchSetResponse' 

Fields

  • byteMatchSet :: Maybe ByteMatchSet

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

    • ByteMatchSet: Contains ByteMatchSetId, ByteMatchTuples, and Name
    • ByteMatchTuples: Contains an array of ByteMatchTuple objects. Each ByteMatchTuple object contains FieldToMatch, PositionalConstraint, TargetString, and TextTransformation
    • FieldToMatch: Contains Data and Type
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Associated Types

type Rep GetByteMatchSetResponse :: Type -> Type #

Read GetByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Show GetByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

NFData GetByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Methods

rnf :: GetByteMatchSetResponse -> () #

Eq GetByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

type Rep GetByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

type Rep GetByteMatchSetResponse = D1 ('MetaData "GetByteMatchSetResponse" "Amazonka.WAF.GetByteMatchSet" "amazonka-waf-2.0-7D7QOxIEZeF1ayfX9AzEZC" 'False) (C1 ('MetaCons "GetByteMatchSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "byteMatchSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteMatchSet)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetByteMatchSetResponse Source #

Create a value of GetByteMatchSetResponse 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:byteMatchSet:GetByteMatchSetResponse', getByteMatchSetResponse_byteMatchSet - Information about the ByteMatchSet that you specified in the GetByteMatchSet request. For more information, see the following topics:

  • ByteMatchSet: Contains ByteMatchSetId, ByteMatchTuples, and Name
  • ByteMatchTuples: Contains an array of ByteMatchTuple objects. Each ByteMatchTuple object contains FieldToMatch, PositionalConstraint, TargetString, and TextTransformation
  • FieldToMatch: Contains Data and Type

$sel:httpStatus:GetByteMatchSetResponse', getByteMatchSetResponse_httpStatus - The response's http status code.

Response Lenses

getByteMatchSetResponse_byteMatchSet :: Lens' GetByteMatchSetResponse (Maybe ByteMatchSet) Source #

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

  • ByteMatchSet: Contains ByteMatchSetId, ByteMatchTuples, and Name
  • ByteMatchTuples: Contains an array of ByteMatchTuple objects. Each ByteMatchTuple object contains FieldToMatch, PositionalConstraint, TargetString, and TextTransformation
  • FieldToMatch: Contains Data and Type