| 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 | 
Amazonka.DataExchange.ListDataSetRevisions
Description
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_maxResults :: Lens' ListDataSetRevisions (Maybe Natural)
 - listDataSetRevisions_nextToken :: Lens' ListDataSetRevisions (Maybe Text)
 - 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.
Constructors
| ListDataSetRevisions' | |
Instances
newListDataSetRevisions Source #
Arguments
| :: Text | |
| -> ListDataSetRevisions | 
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:maxResults:ListDataSetRevisions', listDataSetRevisions_maxResults - The maximum number of results returned by a single call.
ListDataSetRevisions, listDataSetRevisions_nextToken - The token value retrieved from a previous call to access the next page
 of results.
ListDataSetRevisions, listDataSetRevisions_dataSetId - The unique identifier for a data set.
Request Lenses
listDataSetRevisions_maxResults :: Lens' ListDataSetRevisions (Maybe Natural) Source #
The maximum number of results returned by a single call.
listDataSetRevisions_nextToken :: Lens' ListDataSetRevisions (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listDataSetRevisions_dataSetId :: Lens' ListDataSetRevisions Text Source #
The unique identifier for a data set.
Destructuring the Response
data ListDataSetRevisionsResponse Source #
See: newListDataSetRevisionsResponse smart constructor.
Constructors
| ListDataSetRevisionsResponse' | |
Fields 
  | |
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:
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.