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 |
Lists the FinSpace Changesets for a Dataset.
This operation returns paginated results.
Synopsis
- data ListChangesets = ListChangesets' {}
- newListChangesets :: Text -> ListChangesets
- listChangesets_maxResults :: Lens' ListChangesets (Maybe Natural)
- listChangesets_nextToken :: Lens' ListChangesets (Maybe Text)
- listChangesets_datasetId :: Lens' ListChangesets Text
- data ListChangesetsResponse = ListChangesetsResponse' {
- changesets :: Maybe [ChangesetSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListChangesetsResponse :: Int -> ListChangesetsResponse
- listChangesetsResponse_changesets :: Lens' ListChangesetsResponse (Maybe [ChangesetSummary])
- listChangesetsResponse_nextToken :: Lens' ListChangesetsResponse (Maybe Text)
- listChangesetsResponse_httpStatus :: Lens' ListChangesetsResponse Int
Creating a Request
data ListChangesets Source #
Request to ListChangesetsRequest. It exposes minimal query filters.
See: newListChangesets
smart constructor.
Instances
Create a value of ListChangesets
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:ListChangesets'
, listChangesets_maxResults
- The maximum number of results per page.
ListChangesets
, listChangesets_nextToken
- A token that indicates where a results page should begin.
ListChangesets
, listChangesets_datasetId
- The unique identifier for the FinSpace Dataset to which the Changeset
belongs.
Request Lenses
listChangesets_maxResults :: Lens' ListChangesets (Maybe Natural) Source #
The maximum number of results per page.
listChangesets_nextToken :: Lens' ListChangesets (Maybe Text) Source #
A token that indicates where a results page should begin.
listChangesets_datasetId :: Lens' ListChangesets Text Source #
The unique identifier for the FinSpace Dataset to which the Changeset belongs.
Destructuring the Response
data ListChangesetsResponse Source #
Response to ListChangesetsResponse. This returns a list of dataset changesets that match the query criteria.
See: newListChangesetsResponse
smart constructor.
ListChangesetsResponse' | |
|
Instances
newListChangesetsResponse Source #
Create a value of ListChangesetsResponse
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:changesets:ListChangesetsResponse'
, listChangesetsResponse_changesets
- List of Changesets found.
ListChangesets
, listChangesetsResponse_nextToken
- A token that indicates where a results page should begin.
$sel:httpStatus:ListChangesetsResponse'
, listChangesetsResponse_httpStatus
- The response's http status code.
Response Lenses
listChangesetsResponse_changesets :: Lens' ListChangesetsResponse (Maybe [ChangesetSummary]) Source #
List of Changesets found.
listChangesetsResponse_nextToken :: Lens' ListChangesetsResponse (Maybe Text) Source #
A token that indicates where a results page should begin.
listChangesetsResponse_httpStatus :: Lens' ListChangesetsResponse Int Source #
The response's http status code.