Copyright | (c) 2013-2017 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 |
- getFacet :: Text -> Text -> GetFacet
- data GetFacet
- gfSchemaARN :: Lens' GetFacet Text
- gfName :: Lens' GetFacet Text
- getFacetResponse :: Int -> GetFacetResponse
- data GetFacetResponse
- gfrsFacet :: Lens' GetFacetResponse (Maybe Facet)
- gfrsResponseStatus :: Lens' GetFacetResponse Int
Creating a Request
Creates a value of GetFacet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gfSchemaARN
- The Amazon Resource Name (ARN) that is associated with theFacet
. For more information, seearns
.gfName
- The name of the facet to retrieve.
See: getFacet
smart constructor.
Request Lenses
gfSchemaARN :: Lens' GetFacet Text Source #
The Amazon Resource Name (ARN) that is associated with the Facet
. For more information, see arns
.
Destructuring the Response
Creates a value of GetFacetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gfrsFacet
- TheFacet
structure that is associated with the facet.gfrsResponseStatus
- -- | The response status code.
data GetFacetResponse Source #
See: getFacetResponse
smart constructor.
Response Lenses
gfrsFacet :: Lens' GetFacetResponse (Maybe Facet) Source #
The Facet
structure that is associated with the facet.
gfrsResponseStatus :: Lens' GetFacetResponse Int Source #
- - | The response status code.