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.Types.ByteMatchSetUpdate

Description

 
Synopsis

Documentation

data ByteMatchSetUpdate Source #

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.

In an UpdateByteMatchSet request, ByteMatchSetUpdate specifies whether to insert or delete a ByteMatchTuple and includes the settings for the ByteMatchTuple.

See: newByteMatchSetUpdate smart constructor.

Constructors

ByteMatchSetUpdate' 

Fields

  • action :: ChangeAction

    Specifies whether to insert or delete a ByteMatchTuple.

  • byteMatchTuple :: ByteMatchTuple

    Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.

Instances

Instances details
Eq ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

Read ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

Show ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

Generic ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

Associated Types

type Rep ByteMatchSetUpdate :: Type -> Type #

NFData ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

Methods

rnf :: ByteMatchSetUpdate -> () #

Hashable ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

ToJSON ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

type Rep ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

type Rep ByteMatchSetUpdate = D1 ('MetaData "ByteMatchSetUpdate" "Amazonka.WAF.Types.ByteMatchSetUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "ByteMatchSetUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "byteMatchTuple") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteMatchTuple)))

newByteMatchSetUpdate Source #

Create a value of ByteMatchSetUpdate 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:action:ByteMatchSetUpdate', byteMatchSetUpdate_action - Specifies whether to insert or delete a ByteMatchTuple.

$sel:byteMatchTuple:ByteMatchSetUpdate', byteMatchSetUpdate_byteMatchTuple - Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.

byteMatchSetUpdate_action :: Lens' ByteMatchSetUpdate ChangeAction Source #

Specifies whether to insert or delete a ByteMatchTuple.

byteMatchSetUpdate_byteMatchTuple :: Lens' ByteMatchSetUpdate ByteMatchTuple Source #

Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.