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 |
Retrieves the names of facets that exist in a schema.
This operation returns paginated results.
- listFacetNames :: Text -> ListFacetNames
- data ListFacetNames
- lfnNextToken :: Lens' ListFacetNames (Maybe Text)
- lfnMaxResults :: Lens' ListFacetNames (Maybe Natural)
- lfnSchemaARN :: Lens' ListFacetNames Text
- listFacetNamesResponse :: Int -> ListFacetNamesResponse
- data ListFacetNamesResponse
- lfnrsNextToken :: Lens' ListFacetNamesResponse (Maybe Text)
- lfnrsFacetNames :: Lens' ListFacetNamesResponse [Text]
- lfnrsResponseStatus :: Lens' ListFacetNamesResponse Int
Creating a Request
Creates a value of ListFacetNames
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfnNextToken
- The pagination token.lfnMaxResults
- The maximum number of results to retrieve.lfnSchemaARN
- The Amazon Resource Name (ARN) to retrieve facet names from.
data ListFacetNames Source #
See: listFacetNames
smart constructor.
Request Lenses
lfnNextToken :: Lens' ListFacetNames (Maybe Text) Source #
The pagination token.
lfnMaxResults :: Lens' ListFacetNames (Maybe Natural) Source #
The maximum number of results to retrieve.
lfnSchemaARN :: Lens' ListFacetNames Text Source #
The Amazon Resource Name (ARN) to retrieve facet names from.
Destructuring the Response
listFacetNamesResponse Source #
Creates a value of ListFacetNamesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfnrsNextToken
- The pagination token.lfnrsFacetNames
- The names of facets that exist within the schema.lfnrsResponseStatus
- -- | The response status code.
data ListFacetNamesResponse Source #
See: listFacetNamesResponse
smart constructor.
Response Lenses
lfnrsNextToken :: Lens' ListFacetNamesResponse (Maybe Text) Source #
The pagination token.
lfnrsFacetNames :: Lens' ListFacetNamesResponse [Text] Source #
The names of facets that exist within the schema.
lfnrsResponseStatus :: Lens' ListFacetNamesResponse Int Source #
- - | The response status code.