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.GeoMatchSet

Description

 
Synopsis

Documentation

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

Contains one or more countries that AWS WAF will search for.

See: newGeoMatchSet smart constructor.

Constructors

GeoMatchSet' 

Fields

  • name :: Maybe Text

    A friendly name or description of the GeoMatchSet. You can't change the name of an GeoMatchSet after you create it.

  • geoMatchSetId :: Text

    The GeoMatchSetId for an GeoMatchSet. You use GeoMatchSetId to get information about a GeoMatchSet (see GeoMatchSet), update a GeoMatchSet (see UpdateGeoMatchSet), insert a GeoMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a GeoMatchSet from AWS WAF (see DeleteGeoMatchSet).

    GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

  • geoMatchConstraints :: [GeoMatchConstraint]

    An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.

Instances

Instances details
Eq GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchSet

Read GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchSet

Show GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchSet

Generic GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchSet

Associated Types

type Rep GeoMatchSet :: Type -> Type #

NFData GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchSet

Methods

rnf :: GeoMatchSet -> () #

Hashable GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchSet

FromJSON GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchSet

type Rep GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.GeoMatchSet

type Rep GeoMatchSet = D1 ('MetaData "GeoMatchSet" "Amazonka.WAFRegional.Types.GeoMatchSet" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "GeoMatchSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "geoMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "geoMatchConstraints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [GeoMatchConstraint]))))

newGeoMatchSet Source #

Create a value of GeoMatchSet 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:name:GeoMatchSet', geoMatchSet_name - A friendly name or description of the GeoMatchSet. You can't change the name of an GeoMatchSet after you create it.

$sel:geoMatchSetId:GeoMatchSet', geoMatchSet_geoMatchSetId - The GeoMatchSetId for an GeoMatchSet. You use GeoMatchSetId to get information about a GeoMatchSet (see GeoMatchSet), update a GeoMatchSet (see UpdateGeoMatchSet), insert a GeoMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a GeoMatchSet from AWS WAF (see DeleteGeoMatchSet).

GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

$sel:geoMatchConstraints:GeoMatchSet', geoMatchSet_geoMatchConstraints - An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.

geoMatchSet_name :: Lens' GeoMatchSet (Maybe Text) Source #

A friendly name or description of the GeoMatchSet. You can't change the name of an GeoMatchSet after you create it.

geoMatchSet_geoMatchSetId :: Lens' GeoMatchSet Text Source #

The GeoMatchSetId for an GeoMatchSet. You use GeoMatchSetId to get information about a GeoMatchSet (see GeoMatchSet), update a GeoMatchSet (see UpdateGeoMatchSet), insert a GeoMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a GeoMatchSet from AWS WAF (see DeleteGeoMatchSet).

GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

geoMatchSet_geoMatchConstraints :: Lens' GeoMatchSet [GeoMatchConstraint] Source #

An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.