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.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
Eq GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Read GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Show GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Generic GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Associated Types

type Rep GetByteMatchSet :: Type -> Type #

NFData GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Methods

rnf :: GetByteMatchSet -> () #

Hashable GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

ToJSON GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

AWSRequest GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Associated Types

type AWSResponse 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

type Rep GetByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

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

Defined in Amazonka.WAF.GetByteMatchSet

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:

$sel:byteMatchSetId: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
Eq GetByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Read GetByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Show GetByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Generic GetByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Associated Types

type Rep GetByteMatchSetResponse :: Type -> Type #

NFData GetByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

Methods

rnf :: GetByteMatchSetResponse -> () #

type Rep GetByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetByteMatchSet

type Rep GetByteMatchSetResponse = D1 ('MetaData "GetByteMatchSetResponse" "Amazonka.WAF.GetByteMatchSet" "libZSservicesZSamazonka-wafZSamazonka-waf" '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