Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data GetGeoMatchSet = GetGeoMatchSet' {}
- newGetGeoMatchSet :: Text -> GetGeoMatchSet
- getGeoMatchSet_geoMatchSetId :: Lens' GetGeoMatchSet Text
- data GetGeoMatchSetResponse = GetGeoMatchSetResponse' {}
- newGetGeoMatchSetResponse :: Int -> GetGeoMatchSetResponse
- getGeoMatchSetResponse_geoMatchSet :: Lens' GetGeoMatchSetResponse (Maybe GeoMatchSet)
- getGeoMatchSetResponse_httpStatus :: Lens' GetGeoMatchSetResponse Int
Creating a Request
data GetGeoMatchSet Source #
See: newGetGeoMatchSet
smart constructor.
GetGeoMatchSet' | |
|
Instances
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.
GetGeoMatchSetResponse' | |
|
Instances
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.
getGeoMatchSetResponse_httpStatus :: Lens' GetGeoMatchSetResponse Int Source #
The response's http status code.