| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudDirectory.ListFacetNames
Description
Retrieves the names of facets that exist in a schema.
This operation returns paginated results.
Synopsis
- data ListFacetNames = ListFacetNames' {}
- newListFacetNames :: Text -> ListFacetNames
- listFacetNames_maxResults :: Lens' ListFacetNames (Maybe Natural)
- listFacetNames_nextToken :: Lens' ListFacetNames (Maybe Text)
- listFacetNames_schemaArn :: Lens' ListFacetNames Text
- data ListFacetNamesResponse = ListFacetNamesResponse' {
- facetNames :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListFacetNamesResponse :: Int -> ListFacetNamesResponse
- listFacetNamesResponse_facetNames :: Lens' ListFacetNamesResponse (Maybe [Text])
- listFacetNamesResponse_nextToken :: Lens' ListFacetNamesResponse (Maybe Text)
- listFacetNamesResponse_httpStatus :: Lens' ListFacetNamesResponse Int
Creating a Request
data ListFacetNames Source #
See: newListFacetNames smart constructor.
Constructors
| ListFacetNames' | |
Instances
Arguments
| :: Text | |
| -> ListFacetNames |
Create a value of ListFacetNames 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:
ListFacetNames, listFacetNames_maxResults - The maximum number of results to retrieve.
ListFacetNames, listFacetNames_nextToken - The pagination token.
ListFacetNames, listFacetNames_schemaArn - The Amazon Resource Name (ARN) to retrieve facet names from.
Request Lenses
listFacetNames_maxResults :: Lens' ListFacetNames (Maybe Natural) Source #
The maximum number of results to retrieve.
listFacetNames_nextToken :: Lens' ListFacetNames (Maybe Text) Source #
The pagination token.
listFacetNames_schemaArn :: Lens' ListFacetNames Text Source #
The Amazon Resource Name (ARN) to retrieve facet names from.
Destructuring the Response
data ListFacetNamesResponse Source #
See: newListFacetNamesResponse smart constructor.
Constructors
| ListFacetNamesResponse' | |
Fields
| |
Instances
newListFacetNamesResponse Source #
Create a value of ListFacetNamesResponse 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:facetNames:ListFacetNamesResponse', listFacetNamesResponse_facetNames - The names of facets that exist within the schema.
ListFacetNames, listFacetNamesResponse_nextToken - The pagination token.
$sel:httpStatus:ListFacetNamesResponse', listFacetNamesResponse_httpStatus - The response's http status code.
Response Lenses
listFacetNamesResponse_facetNames :: Lens' ListFacetNamesResponse (Maybe [Text]) Source #
The names of facets that exist within the schema.
listFacetNamesResponse_nextToken :: Lens' ListFacetNamesResponse (Maybe Text) Source #
The pagination token.
listFacetNamesResponse_httpStatus :: Lens' ListFacetNamesResponse Int Source #
The response's http status code.