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