Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns the GeoMatchSet
that is specified by GeoMatchSetId
.
Synopsis
- getGeoMatchSet :: Text -> GetGeoMatchSet
- data GetGeoMatchSet
- ggmsGeoMatchSetId :: Lens' GetGeoMatchSet Text
- getGeoMatchSetResponse :: Int -> GetGeoMatchSetResponse
- data GetGeoMatchSetResponse
- ggmsrsGeoMatchSet :: Lens' GetGeoMatchSetResponse (Maybe GeoMatchSet)
- ggmsrsResponseStatus :: Lens' GetGeoMatchSetResponse Int
Creating a Request
Creates a value of GetGeoMatchSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ggmsGeoMatchSetId
- TheGeoMatchSetId
of theGeoMatchSet
that you want to get.GeoMatchSetId
is returned byCreateGeoMatchSet
and byListGeoMatchSets
.
data GetGeoMatchSet Source #
See: getGeoMatchSet
smart constructor.
Instances
Request Lenses
ggmsGeoMatchSetId :: 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
getGeoMatchSetResponse Source #
Creates a value of GetGeoMatchSetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ggmsrsGeoMatchSet
- Information about theGeoMatchSet
that you specified in theGetGeoMatchSet
request. This includes theType
, which for aGeoMatchContraint
is alwaysCountry
, as well as theValue
, which is the identifier for a specific country.ggmsrsResponseStatus
- -- | The response status code.
data GetGeoMatchSetResponse Source #
See: getGeoMatchSetResponse
smart constructor.
Instances
Response Lenses
ggmsrsGeoMatchSet :: 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.
ggmsrsResponseStatus :: Lens' GetGeoMatchSetResponse Int Source #
- - | The response status code.