| 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.ListFacetAttributes
Description
Retrieves attributes attached to the facet.
This operation returns paginated results.
Synopsis
- data ListFacetAttributes = ListFacetAttributes' {}
- newListFacetAttributes :: Text -> Text -> ListFacetAttributes
- listFacetAttributes_maxResults :: Lens' ListFacetAttributes (Maybe Natural)
- listFacetAttributes_nextToken :: Lens' ListFacetAttributes (Maybe Text)
- listFacetAttributes_schemaArn :: Lens' ListFacetAttributes Text
- listFacetAttributes_name :: Lens' ListFacetAttributes Text
- data ListFacetAttributesResponse = ListFacetAttributesResponse' {
- attributes :: Maybe [FacetAttribute]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListFacetAttributesResponse :: Int -> ListFacetAttributesResponse
- listFacetAttributesResponse_attributes :: Lens' ListFacetAttributesResponse (Maybe [FacetAttribute])
- listFacetAttributesResponse_nextToken :: Lens' ListFacetAttributesResponse (Maybe Text)
- listFacetAttributesResponse_httpStatus :: Lens' ListFacetAttributesResponse Int
Creating a Request
data ListFacetAttributes Source #
See: newListFacetAttributes smart constructor.
Constructors
| ListFacetAttributes' | |
Instances
newListFacetAttributes Source #
Arguments
| :: Text | |
| -> Text | |
| -> ListFacetAttributes |
Create a value of ListFacetAttributes 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:
ListFacetAttributes, listFacetAttributes_maxResults - The maximum number of results to retrieve.
ListFacetAttributes, listFacetAttributes_nextToken - The pagination token.
ListFacetAttributes, listFacetAttributes_schemaArn - The ARN of the schema where the facet resides.
ListFacetAttributes, listFacetAttributes_name - The name of the facet whose attributes will be retrieved.
Request Lenses
listFacetAttributes_maxResults :: Lens' ListFacetAttributes (Maybe Natural) Source #
The maximum number of results to retrieve.
listFacetAttributes_nextToken :: Lens' ListFacetAttributes (Maybe Text) Source #
The pagination token.
listFacetAttributes_schemaArn :: Lens' ListFacetAttributes Text Source #
The ARN of the schema where the facet resides.
listFacetAttributes_name :: Lens' ListFacetAttributes Text Source #
The name of the facet whose attributes will be retrieved.
Destructuring the Response
data ListFacetAttributesResponse Source #
See: newListFacetAttributesResponse smart constructor.
Constructors
| ListFacetAttributesResponse' | |
Fields
| |
Instances
newListFacetAttributesResponse Source #
Create a value of ListFacetAttributesResponse 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:
ListFacetAttributesResponse, listFacetAttributesResponse_attributes - The attributes attached to the facet.
ListFacetAttributes, listFacetAttributesResponse_nextToken - The pagination token.
$sel:httpStatus:ListFacetAttributesResponse', listFacetAttributesResponse_httpStatus - The response's http status code.
Response Lenses
listFacetAttributesResponse_attributes :: Lens' ListFacetAttributesResponse (Maybe [FacetAttribute]) Source #
The attributes attached to the facet.
listFacetAttributesResponse_nextToken :: Lens' ListFacetAttributesResponse (Maybe Text) Source #
The pagination token.
listFacetAttributesResponse_httpStatus :: Lens' ListFacetAttributesResponse Int Source #
The response's http status code.