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.ListDatasetGroups
Description
Returns a list of dataset groups. The response provides the properties for each dataset group, including the Amazon Resource Name (ARN). For more information on dataset groups, see CreateDatasetGroup.
This operation returns paginated results.
Synopsis
- data ListDatasetGroups = ListDatasetGroups' {}
- newListDatasetGroups :: ListDatasetGroups
- listDatasetGroups_maxResults :: Lens' ListDatasetGroups (Maybe Natural)
- listDatasetGroups_nextToken :: Lens' ListDatasetGroups (Maybe Text)
- data ListDatasetGroupsResponse = ListDatasetGroupsResponse' {}
- newListDatasetGroupsResponse :: Int -> ListDatasetGroupsResponse
- listDatasetGroupsResponse_datasetGroups :: Lens' ListDatasetGroupsResponse (Maybe [DatasetGroupSummary])
- listDatasetGroupsResponse_nextToken :: Lens' ListDatasetGroupsResponse (Maybe Text)
- listDatasetGroupsResponse_httpStatus :: Lens' ListDatasetGroupsResponse Int
Creating a Request
data ListDatasetGroups Source #
See: newListDatasetGroups
smart constructor.
Constructors
ListDatasetGroups' | |
Instances
newListDatasetGroups :: ListDatasetGroups Source #
Create a value of ListDatasetGroups
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:maxResults:ListDatasetGroups'
, listDatasetGroups_maxResults
- The maximum number of dataset groups to return.
ListDatasetGroups
, listDatasetGroups_nextToken
- A token returned from the previous call to ListDatasetGroups
for
getting the next set of dataset groups (if they exist).
Request Lenses
listDatasetGroups_maxResults :: Lens' ListDatasetGroups (Maybe Natural) Source #
The maximum number of dataset groups to return.
listDatasetGroups_nextToken :: Lens' ListDatasetGroups (Maybe Text) Source #
A token returned from the previous call to ListDatasetGroups
for
getting the next set of dataset groups (if they exist).
Destructuring the Response
data ListDatasetGroupsResponse Source #
See: newListDatasetGroupsResponse
smart constructor.
Constructors
ListDatasetGroupsResponse' | |
Fields
|
Instances
newListDatasetGroupsResponse Source #
Create a value of ListDatasetGroupsResponse
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:datasetGroups:ListDatasetGroupsResponse'
, listDatasetGroupsResponse_datasetGroups
- The list of your dataset groups.
ListDatasetGroups
, listDatasetGroupsResponse_nextToken
- A token for getting the next set of dataset groups (if they exist).
$sel:httpStatus:ListDatasetGroupsResponse'
, listDatasetGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listDatasetGroupsResponse_datasetGroups :: Lens' ListDatasetGroupsResponse (Maybe [DatasetGroupSummary]) Source #
The list of your dataset groups.
listDatasetGroupsResponse_nextToken :: Lens' ListDatasetGroupsResponse (Maybe Text) Source #
A token for getting the next set of dataset groups (if they exist).
listDatasetGroupsResponse_httpStatus :: Lens' ListDatasetGroupsResponse Int Source #
The response's http status code.