| 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 |
Network.AWS.WAF.GetGeoMatchSet
Description
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
Arguments
| :: Text | |
| -> GetGeoMatchSet |
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- TheGeoMatchSetIdof theGeoMatchSetthat you want to get.GeoMatchSetIdis returned byCreateGeoMatchSetand 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 #
Arguments
| :: Int | |
| -> GetGeoMatchSetResponse |
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 theGeoMatchSetthat you specified in theGetGeoMatchSetrequest. This includes theType, which for aGeoMatchContraintis 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.