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

Read GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

Show GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

Generic GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

Associated Types

type Rep GetGeoMatchSet :: Type -> Type #

NFData GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

Methods

rnf :: GetGeoMatchSet -> () #

Hashable GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

ToJSON GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

AWSRequest GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

Associated Types

type AWSResponse GetGeoMatchSet #

ToHeaders GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

ToPath GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

ToQuery GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

type Rep GetGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

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

Defined in Amazonka.WAF.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.WAF.GetGeoMatchSet

Read GetGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

Show GetGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

Generic GetGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

Associated Types

type Rep GetGeoMatchSetResponse :: Type -> Type #

NFData GetGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

Methods

rnf :: GetGeoMatchSetResponse -> () #

type Rep GetGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.GetGeoMatchSet

type Rep GetGeoMatchSetResponse = D1 ('MetaData "GetGeoMatchSetResponse" "Amazonka.WAF.GetGeoMatchSet" "libZSservicesZSamazonka-wafZSamazonka-waf" '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.