libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional
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.WAFRegional.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
Eq GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchConstraint

Read GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchConstraint

Show GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchConstraint

Generic GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchConstraint

Associated Types

type Rep GeoMatchConstraint :: Type -> Type #

NFData GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchConstraint

Methods

rnf :: GeoMatchConstraint -> () #

Hashable GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchConstraint

ToJSON GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchConstraint

FromJSON GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchConstraint

type Rep GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchConstraint

type Rep GeoMatchConstraint = D1 ('MetaData "GeoMatchConstraint" "Amazonka.WAFRegional.Types.GeoMatchConstraint" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" '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.