| 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.Personalize.ListFilters
Description
Lists all filters that belong to a given dataset group.
This operation returns paginated results.
Synopsis
- data ListFilters = ListFilters' {}
- newListFilters :: ListFilters
- listFilters_datasetGroupArn :: Lens' ListFilters (Maybe Text)
- listFilters_maxResults :: Lens' ListFilters (Maybe Natural)
- listFilters_nextToken :: Lens' ListFilters (Maybe Text)
- data ListFiltersResponse = ListFiltersResponse' {
- filters :: Maybe [FilterSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListFiltersResponse :: Int -> ListFiltersResponse
- listFiltersResponse_filters :: Lens' ListFiltersResponse (Maybe [FilterSummary])
- listFiltersResponse_nextToken :: Lens' ListFiltersResponse (Maybe Text)
- listFiltersResponse_httpStatus :: Lens' ListFiltersResponse Int
Creating a Request
data ListFilters Source #
See: newListFilters smart constructor.
Constructors
| ListFilters' | |
Fields
| |
Instances
newListFilters :: ListFilters Source #
Create a value of ListFilters 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:
ListFilters, listFilters_datasetGroupArn - The ARN of the dataset group that contains the filters.
$sel:maxResults:ListFilters', listFilters_maxResults - The maximum number of filters to return.
ListFilters, listFilters_nextToken - A token returned from the previous call to ListFilters for getting the
next set of filters (if they exist).
Request Lenses
listFilters_datasetGroupArn :: Lens' ListFilters (Maybe Text) Source #
The ARN of the dataset group that contains the filters.
listFilters_maxResults :: Lens' ListFilters (Maybe Natural) Source #
The maximum number of filters to return.
listFilters_nextToken :: Lens' ListFilters (Maybe Text) Source #
A token returned from the previous call to ListFilters for getting the
next set of filters (if they exist).
Destructuring the Response
data ListFiltersResponse Source #
See: newListFiltersResponse smart constructor.
Constructors
| ListFiltersResponse' | |
Fields
| |
Instances
newListFiltersResponse Source #
Arguments
| :: Int | |
| -> ListFiltersResponse |
Create a value of ListFiltersResponse 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:filters:ListFiltersResponse', listFiltersResponse_filters - A list of returned filters.
ListFilters, listFiltersResponse_nextToken - A token for getting the next set of filters (if they exist).
$sel:httpStatus:ListFiltersResponse', listFiltersResponse_httpStatus - The response's http status code.
Response Lenses
listFiltersResponse_filters :: Lens' ListFiltersResponse (Maybe [FilterSummary]) Source #
A list of returned filters.
listFiltersResponse_nextToken :: Lens' ListFiltersResponse (Maybe Text) Source #
A token for getting the next set of filters (if they exist).
listFiltersResponse_httpStatus :: Lens' ListFiltersResponse Int Source #
The response's http status code.