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 all available Dataviews for a Dataset.
This operation returns paginated results.
Synopsis
- data ListDataViews = ListDataViews' {}
- newListDataViews :: Text -> ListDataViews
- listDataViews_maxResults :: Lens' ListDataViews (Maybe Natural)
- listDataViews_nextToken :: Lens' ListDataViews (Maybe Text)
- listDataViews_datasetId :: Lens' ListDataViews Text
- data ListDataViewsResponse = ListDataViewsResponse' {
- dataViews :: Maybe [DataViewSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDataViewsResponse :: Int -> ListDataViewsResponse
- listDataViewsResponse_dataViews :: Lens' ListDataViewsResponse (Maybe [DataViewSummary])
- listDataViewsResponse_nextToken :: Lens' ListDataViewsResponse (Maybe Text)
- listDataViewsResponse_httpStatus :: Lens' ListDataViewsResponse Int
Creating a Request
data ListDataViews Source #
Request for a list data views.
See: newListDataViews
smart constructor.
Instances
Create a value of ListDataViews
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:ListDataViews'
, listDataViews_maxResults
- The maximum number of results per page.
ListDataViews
, listDataViews_nextToken
- A token that indicates where a results page should begin.
ListDataViews
, listDataViews_datasetId
- The unique identifier of the Dataset for which to retrieve Dataviews.
Request Lenses
listDataViews_maxResults :: Lens' ListDataViews (Maybe Natural) Source #
The maximum number of results per page.
listDataViews_nextToken :: Lens' ListDataViews (Maybe Text) Source #
A token that indicates where a results page should begin.
listDataViews_datasetId :: Lens' ListDataViews Text Source #
The unique identifier of the Dataset for which to retrieve Dataviews.
Destructuring the Response
data ListDataViewsResponse Source #
See: newListDataViewsResponse
smart constructor.
ListDataViewsResponse' | |
|
Instances
newListDataViewsResponse Source #
Create a value of ListDataViewsResponse
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:dataViews:ListDataViewsResponse'
, listDataViewsResponse_dataViews
- A list of Dataviews.
ListDataViews
, listDataViewsResponse_nextToken
- A token that indicates where a results page should begin.
$sel:httpStatus:ListDataViewsResponse'
, listDataViewsResponse_httpStatus
- The response's http status code.
Response Lenses
listDataViewsResponse_dataViews :: Lens' ListDataViewsResponse (Maybe [DataViewSummary]) Source #
A list of Dataviews.
listDataViewsResponse_nextToken :: Lens' ListDataViewsResponse (Maybe Text) Source #
A token that indicates where a results page should begin.
listDataViewsResponse_httpStatus :: Lens' ListDataViewsResponse Int Source #
The response's http status code.