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 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_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.
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 number of items to return in the response.
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.
Request Lenses
listDatasetGroups_maxResults :: Lens' ListDatasetGroups (Maybe Natural) Source #
The number of items to return in the response.
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.
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:datasetGroups:ListDatasetGroupsResponse'
, listDatasetGroupsResponse_datasetGroups
- An array of objects that summarize each dataset group's properties.
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:httpStatus:ListDatasetGroupsResponse'
, listDatasetGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listDatasetGroupsResponse_datasetGroups :: Lens' ListDatasetGroupsResponse (Maybe [DatasetGroupSummary]) Source #
An array of objects that summarize each dataset group's properties.
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_httpStatus :: Lens' ListDatasetGroupsResponse Int Source #
The response's http status code.