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 created using the CreateDatasetGroup operation. For each dataset group, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the dataset group ARN with the DescribeDatasetGroup operation.
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
- If the result of the previous request was truncated, the response
includes a NextToken
. To retrieve the next set of results, use the
token in the next request. Tokens expire after 24 hours.
$sel:maxResults:ListDatasetGroups'
, listDatasetGroups_maxResults
- The number of items to return in the response.
Request Lenses
listDatasetGroups_nextToken :: Lens' ListDatasetGroups (Maybe Text) Source #
If the result of the previous request was truncated, the response
includes a NextToken
. To retrieve the next set of results, use the
token in the next request. Tokens expire after 24 hours.
listDatasetGroups_maxResults :: Lens' ListDatasetGroups (Maybe Natural) Source #
The number of items to return in the response.
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
- If the response is truncated, Amazon Forecast returns this token. To
retrieve the next set of results, use the token in the next request.
$sel:datasetGroups:ListDatasetGroupsResponse'
, listDatasetGroupsResponse_datasetGroups
- An array of objects that summarize each dataset group's properties.
$sel:httpStatus:ListDatasetGroupsResponse'
, listDatasetGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listDatasetGroupsResponse_nextToken :: Lens' ListDatasetGroupsResponse (Maybe Text) Source #
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
listDatasetGroupsResponse_datasetGroups :: Lens' ListDatasetGroupsResponse (Maybe [DatasetGroupSummary]) Source #
An array of objects that summarize each dataset group's properties.
listDatasetGroupsResponse_httpStatus :: Lens' ListDatasetGroupsResponse Int Source #
The response's http status code.