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

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 GeoMatchSet that is specified by GeoMatchSetId.

Synopsis

Creating a Request

data GetGeoMatchSet Source #

See: newGetGeoMatchSet smart constructor.

Constructors

GetGeoMatchSet' 

Fields

  • geoMatchSetId :: Text

    The GeoMatchSetId of the GeoMatchSet that you want to get. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

Instances

Instances details
Eq GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

Read GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

Show GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

Generic GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

Associated Types

type Rep GetGeoMatchSet :: Type -> Type #

NFData GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

Methods

rnf :: GetGeoMatchSet -> () #

Hashable GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

ToJSON GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

AWSRequest GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

Associated Types

type AWSResponse GetGeoMatchSet #

ToHeaders GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

ToPath GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

ToQuery GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

type Rep GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

type Rep GetGeoMatchSet = D1 ('MetaData "GetGeoMatchSet" "Amazonka.WAFRegional.GetGeoMatchSet" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "GetGeoMatchSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "geoMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

newGetGeoMatchSet Source #

Create a value of GetGeoMatchSet 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:geoMatchSetId:GetGeoMatchSet', getGeoMatchSet_geoMatchSetId - The GeoMatchSetId of the GeoMatchSet that you want to get. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

Request Lenses

getGeoMatchSet_geoMatchSetId :: Lens' GetGeoMatchSet Text Source #

The GeoMatchSetId of the GeoMatchSet that you want to get. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

Destructuring the Response

data GetGeoMatchSetResponse Source #

See: newGetGeoMatchSetResponse smart constructor.

Constructors

GetGeoMatchSetResponse' 

Fields

  • geoMatchSet :: Maybe GeoMatchSet

    Information about the GeoMatchSet that you specified in the GetGeoMatchSet request. This includes the Type, which for a GeoMatchContraint is always Country, as well as the Value, which is the identifier for a specific country.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

Read GetGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

Show GetGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

Generic GetGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

Associated Types

type Rep GetGeoMatchSetResponse :: Type -> Type #

NFData GetGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

Methods

rnf :: GetGeoMatchSetResponse -> () #

type Rep GetGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetGeoMatchSet

type Rep GetGeoMatchSetResponse = D1 ('MetaData "GetGeoMatchSetResponse" "Amazonka.WAFRegional.GetGeoMatchSet" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "GetGeoMatchSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "geoMatchSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GeoMatchSet)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetGeoMatchSetResponse Source #

Create a value of GetGeoMatchSetResponse 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:geoMatchSet:GetGeoMatchSetResponse', getGeoMatchSetResponse_geoMatchSet - Information about the GeoMatchSet that you specified in the GetGeoMatchSet request. This includes the Type, which for a GeoMatchContraint is always Country, as well as the Value, which is the identifier for a specific country.

$sel:httpStatus:GetGeoMatchSetResponse', getGeoMatchSetResponse_httpStatus - The response's http status code.

Response Lenses

getGeoMatchSetResponse_geoMatchSet :: Lens' GetGeoMatchSetResponse (Maybe GeoMatchSet) Source #

Information about the GeoMatchSet that you specified in the GetGeoMatchSet request. This includes the Type, which for a GeoMatchContraint is always Country, as well as the Value, which is the identifier for a specific country.