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 a data set's revisions sorted by CreatedAt in descending order.
This operation returns paginated results.
Synopsis
- data ListDataSetRevisions = ListDataSetRevisions' {}
- newListDataSetRevisions :: Text -> ListDataSetRevisions
- listDataSetRevisions_nextToken :: Lens' ListDataSetRevisions (Maybe Text)
- listDataSetRevisions_maxResults :: Lens' ListDataSetRevisions (Maybe Natural)
- listDataSetRevisions_dataSetId :: Lens' ListDataSetRevisions Text
- data ListDataSetRevisionsResponse = ListDataSetRevisionsResponse' {
- nextToken :: Maybe Text
- revisions :: Maybe [RevisionEntry]
- httpStatus :: Int
- newListDataSetRevisionsResponse :: Int -> ListDataSetRevisionsResponse
- listDataSetRevisionsResponse_nextToken :: Lens' ListDataSetRevisionsResponse (Maybe Text)
- listDataSetRevisionsResponse_revisions :: Lens' ListDataSetRevisionsResponse (Maybe [RevisionEntry])
- listDataSetRevisionsResponse_httpStatus :: Lens' ListDataSetRevisionsResponse Int
Creating a Request
data ListDataSetRevisions Source #
See: newListDataSetRevisions
smart constructor.
Instances
newListDataSetRevisions Source #
Create a value of ListDataSetRevisions
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:ListDataSetRevisions'
, listDataSetRevisions_nextToken
- The token value retrieved from a previous call to access the next page
of results.
$sel:maxResults:ListDataSetRevisions'
, listDataSetRevisions_maxResults
- The maximum number of results returned by a single call.
$sel:dataSetId:ListDataSetRevisions'
, listDataSetRevisions_dataSetId
- The unique identifier for a data set.
Request Lenses
listDataSetRevisions_nextToken :: Lens' ListDataSetRevisions (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listDataSetRevisions_maxResults :: Lens' ListDataSetRevisions (Maybe Natural) Source #
The maximum number of results returned by a single call.
listDataSetRevisions_dataSetId :: Lens' ListDataSetRevisions Text Source #
The unique identifier for a data set.
Destructuring the Response
data ListDataSetRevisionsResponse Source #
See: newListDataSetRevisionsResponse
smart constructor.
ListDataSetRevisionsResponse' | |
|
Instances
newListDataSetRevisionsResponse Source #
Create a value of ListDataSetRevisionsResponse
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:ListDataSetRevisions'
, listDataSetRevisionsResponse_nextToken
- The token value retrieved from a previous call to access the next page
of results.
$sel:revisions:ListDataSetRevisionsResponse'
, listDataSetRevisionsResponse_revisions
- The asset objects listed by the request.
$sel:httpStatus:ListDataSetRevisionsResponse'
, listDataSetRevisionsResponse_httpStatus
- The response's http status code.
Response Lenses
listDataSetRevisionsResponse_nextToken :: Lens' ListDataSetRevisionsResponse (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listDataSetRevisionsResponse_revisions :: Lens' ListDataSetRevisionsResponse (Maybe [RevisionEntry]) Source #
The asset objects listed by the request.
listDataSetRevisionsResponse_httpStatus :: Lens' ListDataSetRevisionsResponse Int Source #
The response's http status code.