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 |
Lists all of the datasets belonging to the current Amazon Web Services account in an Amazon Web Services Region.
The permissions resource is
arn:aws:quicksight:region:aws-account-id:dataset/*
.
This operation returns paginated results.
Synopsis
- data ListDataSets = ListDataSets' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- awsAccountId :: Text
- newListDataSets :: Text -> ListDataSets
- listDataSets_nextToken :: Lens' ListDataSets (Maybe Text)
- listDataSets_maxResults :: Lens' ListDataSets (Maybe Natural)
- listDataSets_awsAccountId :: Lens' ListDataSets Text
- data ListDataSetsResponse = ListDataSetsResponse' {}
- newListDataSetsResponse :: Int -> ListDataSetsResponse
- listDataSetsResponse_requestId :: Lens' ListDataSetsResponse (Maybe Text)
- listDataSetsResponse_nextToken :: Lens' ListDataSetsResponse (Maybe Text)
- listDataSetsResponse_dataSetSummaries :: Lens' ListDataSetsResponse (Maybe [DataSetSummary])
- listDataSetsResponse_status :: Lens' ListDataSetsResponse Int
Creating a Request
data ListDataSets Source #
See: newListDataSets
smart constructor.
ListDataSets' | |
|
Instances
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:nextToken:ListDataSets'
, listDataSets_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:maxResults:ListDataSets'
, listDataSets_maxResults
- The maximum number of results to be returned per request.
$sel:awsAccountId:ListDataSets'
, listDataSets_awsAccountId
- The Amazon Web Services account ID.
Request Lenses
listDataSets_nextToken :: Lens' ListDataSets (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listDataSets_maxResults :: Lens' ListDataSets (Maybe Natural) Source #
The maximum number of results to be returned per request.
listDataSets_awsAccountId :: Lens' ListDataSets Text Source #
The Amazon Web Services account ID.
Destructuring the Response
data ListDataSetsResponse Source #
See: newListDataSetsResponse
smart constructor.
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:requestId:ListDataSetsResponse'
, listDataSetsResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:nextToken:ListDataSets'
, listDataSetsResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:dataSetSummaries:ListDataSetsResponse'
, listDataSetsResponse_dataSetSummaries
- The list of dataset summaries.
$sel:status:ListDataSetsResponse'
, listDataSetsResponse_status
- The HTTP status of the request.
Response Lenses
listDataSetsResponse_requestId :: Lens' ListDataSetsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listDataSetsResponse_nextToken :: Lens' ListDataSetsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listDataSetsResponse_dataSetSummaries :: Lens' ListDataSetsResponse (Maybe [DataSetSummary]) Source #
The list of dataset summaries.
listDataSetsResponse_status :: Lens' ListDataSetsResponse Int Source #
The HTTP status of the request.