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 |
Retrieves attributes attached to the facet.
- listFacetAttributes :: Text -> Text -> ListFacetAttributes
- data ListFacetAttributes
- lfaNextToken :: Lens' ListFacetAttributes (Maybe Text)
- lfaMaxResults :: Lens' ListFacetAttributes (Maybe Natural)
- lfaSchemaARN :: Lens' ListFacetAttributes Text
- lfaName :: Lens' ListFacetAttributes Text
- listFacetAttributesResponse :: Int -> ListFacetAttributesResponse
- data ListFacetAttributesResponse
- lfarsNextToken :: Lens' ListFacetAttributesResponse (Maybe Text)
- lfarsAttributes :: Lens' ListFacetAttributesResponse [FacetAttribute]
- lfarsResponseStatus :: Lens' ListFacetAttributesResponse Int
Creating a Request
Creates a value of ListFacetAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfaNextToken
- The pagination token.lfaMaxResults
- The maximum number of results to retrieve.lfaSchemaARN
- The ARN of the schema where the facet resides.lfaName
- The name of the facet whose attributes will be retrieved.
data ListFacetAttributes Source #
See: listFacetAttributes
smart constructor.
Request Lenses
lfaNextToken :: Lens' ListFacetAttributes (Maybe Text) Source #
The pagination token.
lfaMaxResults :: Lens' ListFacetAttributes (Maybe Natural) Source #
The maximum number of results to retrieve.
lfaSchemaARN :: Lens' ListFacetAttributes Text Source #
The ARN of the schema where the facet resides.
lfaName :: Lens' ListFacetAttributes Text Source #
The name of the facet whose attributes will be retrieved.
Destructuring the Response
listFacetAttributesResponse Source #
Creates a value of ListFacetAttributesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfarsNextToken
- The pagination token.lfarsAttributes
- The attributes attached to the facet.lfarsResponseStatus
- -- | The response status code.
data ListFacetAttributesResponse Source #
See: listFacetAttributesResponse
smart constructor.
Response Lenses
lfarsNextToken :: Lens' ListFacetAttributesResponse (Maybe Text) Source #
The pagination token.
lfarsAttributes :: Lens' ListFacetAttributesResponse [FacetAttribute] Source #
The attributes attached to the facet.
lfarsResponseStatus :: Lens' ListFacetAttributesResponse Int Source #
- - | The response status code.