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

Description

 
Synopsis

Documentation

data GeoMatchConstraint 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.

The country from which web requests originate that you want AWS WAF to search for.

See: newGeoMatchConstraint smart constructor.

Constructors

GeoMatchConstraint' 

Fields

Instances

Instances details
FromJSON GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

ToJSON GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

Generic GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

Associated Types

type Rep GeoMatchConstraint :: Type -> Type #

Read GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

Show GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

NFData GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

Methods

rnf :: GeoMatchConstraint -> () #

Eq GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

Hashable GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

type Rep GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

type Rep GeoMatchConstraint = D1 ('MetaData "GeoMatchConstraint" "Amazonka.WAF.Types.GeoMatchConstraint" "amazonka-waf-2.0-7D7QOxIEZeF1ayfX9AzEZC" 'False) (C1 ('MetaCons "GeoMatchConstraint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeoMatchConstraintType) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeoMatchConstraintValue)))

newGeoMatchConstraint Source #

Create a value of GeoMatchConstraint 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:type':GeoMatchConstraint', geoMatchConstraint_type - The type of geographical area you want AWS WAF to search for. Currently Country is the only valid value.

$sel:value:GeoMatchConstraint', geoMatchConstraint_value - The country that you want AWS WAF to search for.

geoMatchConstraint_type :: Lens' GeoMatchConstraint GeoMatchConstraintType Source #

The type of geographical area you want AWS WAF to search for. Currently Country is the only valid value.

geoMatchConstraint_value :: Lens' GeoMatchConstraint GeoMatchConstraintValue Source #

The country that you want AWS WAF to search for.