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 |
This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.
This operation returns paginated results.
Synopsis
- data ListDataSets = ListDataSets' {}
- newListDataSets :: ListDataSets
- listDataSets_maxResults :: Lens' ListDataSets (Maybe Natural)
- listDataSets_nextToken :: Lens' ListDataSets (Maybe Text)
- listDataSets_origin :: Lens' ListDataSets (Maybe Text)
- data ListDataSetsResponse = ListDataSetsResponse' {
- dataSets :: Maybe [DataSetEntry]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDataSetsResponse :: Int -> ListDataSetsResponse
- listDataSetsResponse_dataSets :: Lens' ListDataSetsResponse (Maybe [DataSetEntry])
- listDataSetsResponse_nextToken :: Lens' ListDataSetsResponse (Maybe Text)
- listDataSetsResponse_httpStatus :: Lens' ListDataSetsResponse Int
Creating a Request
data ListDataSets Source #
See: newListDataSets
smart constructor.
ListDataSets' | |
|
Instances
newListDataSets :: ListDataSets Source #
Create a value of ListDataSets
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:ListDataSets'
, listDataSets_maxResults
- The maximum number of results returned by a single call.
ListDataSets
, listDataSets_nextToken
- The token value retrieved from a previous call to access the next page
of results.
ListDataSets
, listDataSets_origin
- A property that defines the data set as OWNED by the account (for
providers) or ENTITLED to the account (for subscribers).
Request Lenses
listDataSets_maxResults :: Lens' ListDataSets (Maybe Natural) Source #
The maximum number of results returned by a single call.
listDataSets_nextToken :: Lens' ListDataSets (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listDataSets_origin :: Lens' ListDataSets (Maybe Text) Source #
A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
Destructuring the Response
data ListDataSetsResponse Source #
See: newListDataSetsResponse
smart constructor.
ListDataSetsResponse' | |
|
Instances
newListDataSetsResponse Source #
Create a value of ListDataSetsResponse
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:dataSets:ListDataSetsResponse'
, listDataSetsResponse_dataSets
- The data set objects listed by the request.
ListDataSets
, listDataSetsResponse_nextToken
- The token value retrieved from a previous call to access the next page
of results.
$sel:httpStatus:ListDataSetsResponse'
, listDataSetsResponse_httpStatus
- The response's http status code.
Response Lenses
listDataSetsResponse_dataSets :: Lens' ListDataSetsResponse (Maybe [DataSetEntry]) Source #
The data set objects listed by the request.
listDataSetsResponse_nextToken :: Lens' ListDataSetsResponse (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listDataSetsResponse_httpStatus :: Lens' ListDataSetsResponse Int Source #
The response's http status code.