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 |
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_nextToken :: Lens' ListDatasetGroups (Maybe Text)
- listDatasetGroups_maxResults :: Lens' ListDatasetGroups (Maybe Natural)
- data ListDatasetGroupsResponse = ListDatasetGroupsResponse' {}
- newListDatasetGroupsResponse :: Int -> ListDatasetGroupsResponse
- listDatasetGroupsResponse_nextToken :: Lens' ListDatasetGroupsResponse (Maybe Text)
- listDatasetGroupsResponse_datasetGroups :: Lens' ListDatasetGroupsResponse (Maybe [DatasetGroupSummary])
- listDatasetGroupsResponse_httpStatus :: Lens' ListDatasetGroupsResponse Int
Creating a Request
data ListDatasetGroups Source #
See: newListDatasetGroups
smart constructor.
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:nextToken:ListDatasetGroups'
, listDatasetGroups_nextToken
- A token returned from the previous call to ListDatasetGroups
for
getting the next set of dataset groups (if they exist).
$sel:maxResults:ListDatasetGroups'
, listDatasetGroups_maxResults
- The maximum number of dataset groups to return.
Request Lenses
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).
listDatasetGroups_maxResults :: Lens' ListDatasetGroups (Maybe Natural) Source #
The maximum number of dataset groups to return.
Destructuring the Response
data ListDatasetGroupsResponse Source #
See: newListDatasetGroupsResponse
smart constructor.
ListDatasetGroupsResponse' | |
|
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:nextToken:ListDatasetGroups'
, listDatasetGroupsResponse_nextToken
- A token for getting the next set of dataset groups (if they exist).
$sel:datasetGroups:ListDatasetGroupsResponse'
, listDatasetGroupsResponse_datasetGroups
- The list of your dataset groups.
$sel:httpStatus:ListDatasetGroupsResponse'
, listDatasetGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listDatasetGroupsResponse_nextToken :: Lens' ListDatasetGroupsResponse (Maybe Text) Source #
A token for getting the next set of dataset groups (if they exist).
listDatasetGroupsResponse_datasetGroups :: Lens' ListDatasetGroupsResponse (Maybe [DatasetGroupSummary]) Source #
The list of your dataset groups.
listDatasetGroupsResponse_httpStatus :: Lens' ListDatasetGroupsResponse Int Source #
The response's http status code.