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 |
Returns a list of recommenders in a given Domain dataset group. When a Domain dataset group is not specified, all the recommenders associated with the account are listed. The response provides the properties for each recommender, including the Amazon Resource Name (ARN). For more information on recommenders, see CreateRecommender.
This operation returns paginated results.
Synopsis
- data ListRecommenders = ListRecommenders' {}
- newListRecommenders :: ListRecommenders
- listRecommenders_datasetGroupArn :: Lens' ListRecommenders (Maybe Text)
- listRecommenders_maxResults :: Lens' ListRecommenders (Maybe Natural)
- listRecommenders_nextToken :: Lens' ListRecommenders (Maybe Text)
- data ListRecommendersResponse = ListRecommendersResponse' {}
- newListRecommendersResponse :: Int -> ListRecommendersResponse
- listRecommendersResponse_nextToken :: Lens' ListRecommendersResponse (Maybe Text)
- listRecommendersResponse_recommenders :: Lens' ListRecommendersResponse (Maybe [RecommenderSummary])
- listRecommendersResponse_httpStatus :: Lens' ListRecommendersResponse Int
Creating a Request
data ListRecommenders Source #
See: newListRecommenders
smart constructor.
ListRecommenders' | |
|
Instances
newListRecommenders :: ListRecommenders Source #
Create a value of ListRecommenders
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:
ListRecommenders
, listRecommenders_datasetGroupArn
- The Amazon Resource Name (ARN) of the Domain dataset group to list the
recommenders for. When a Domain dataset group is not specified, all the
recommenders associated with the account are listed.
$sel:maxResults:ListRecommenders'
, listRecommenders_maxResults
- The maximum number of recommenders to return.
ListRecommenders
, listRecommenders_nextToken
- A token returned from the previous call to ListRecommenders
for
getting the next set of recommenders (if they exist).
Request Lenses
listRecommenders_datasetGroupArn :: Lens' ListRecommenders (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Domain dataset group to list the recommenders for. When a Domain dataset group is not specified, all the recommenders associated with the account are listed.
listRecommenders_maxResults :: Lens' ListRecommenders (Maybe Natural) Source #
The maximum number of recommenders to return.
listRecommenders_nextToken :: Lens' ListRecommenders (Maybe Text) Source #
A token returned from the previous call to ListRecommenders
for
getting the next set of recommenders (if they exist).
Destructuring the Response
data ListRecommendersResponse Source #
See: newListRecommendersResponse
smart constructor.
ListRecommendersResponse' | |
|
Instances
newListRecommendersResponse Source #
Create a value of ListRecommendersResponse
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:
ListRecommenders
, listRecommendersResponse_nextToken
- A token for getting the next set of recommenders (if they exist).
$sel:recommenders:ListRecommendersResponse'
, listRecommendersResponse_recommenders
- A list of the recommenders.
$sel:httpStatus:ListRecommendersResponse'
, listRecommendersResponse_httpStatus
- The response's http status code.
Response Lenses
listRecommendersResponse_nextToken :: Lens' ListRecommendersResponse (Maybe Text) Source #
A token for getting the next set of recommenders (if they exist).
listRecommendersResponse_recommenders :: Lens' ListRecommendersResponse (Maybe [RecommenderSummary]) Source #
A list of the recommenders.
listRecommendersResponse_httpStatus :: Lens' ListRecommendersResponse Int Source #
The response's http status code.