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 |
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_origin :: Lens' ListDataSets (Maybe Text)
- listDataSets_nextToken :: Lens' ListDataSets (Maybe Text)
- listDataSets_maxResults :: Lens' ListDataSets (Maybe Natural)
- data ListDataSetsResponse = ListDataSetsResponse' {
- nextToken :: Maybe Text
- dataSets :: Maybe [DataSetEntry]
- httpStatus :: Int
- newListDataSetsResponse :: Int -> ListDataSetsResponse
- listDataSetsResponse_nextToken :: Lens' ListDataSetsResponse (Maybe Text)
- listDataSetsResponse_dataSets :: Lens' ListDataSetsResponse (Maybe [DataSetEntry])
- 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:origin:ListDataSets'
, listDataSets_origin
- A property that defines the data set as OWNED by the account (for
providers) or ENTITLED to the account (for subscribers).
$sel:nextToken:ListDataSets'
, listDataSets_nextToken
- The token value retrieved from a previous call to access the next page
of results.
$sel:maxResults:ListDataSets'
, listDataSets_maxResults
- The maximum number of results returned by a single call.
Request Lenses
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).
listDataSets_nextToken :: Lens' ListDataSets (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listDataSets_maxResults :: Lens' ListDataSets (Maybe Natural) Source #
The maximum number of results returned by a single call.
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:nextToken:ListDataSets'
, listDataSetsResponse_nextToken
- The token value retrieved from a previous call to access the next page
of results.
$sel:dataSets:ListDataSetsResponse'
, listDataSetsResponse_dataSets
- The data set objects listed by the request.
$sel:httpStatus:ListDataSetsResponse'
, listDataSetsResponse_httpStatus
- The response's http status code.
Response Lenses
listDataSetsResponse_nextToken :: Lens' ListDataSetsResponse (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listDataSetsResponse_dataSets :: Lens' ListDataSetsResponse (Maybe [DataSetEntry]) Source #
The data set objects listed by the request.
listDataSetsResponse_httpStatus :: Lens' ListDataSetsResponse Int Source #
The response's http status code.