| 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.QuickSight.ListDataSets
Description
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' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- awsAccountId :: Text
- newListDataSets :: Text -> ListDataSets
- listDataSets_maxResults :: Lens' ListDataSets (Maybe Natural)
- listDataSets_nextToken :: Lens' ListDataSets (Maybe Text)
- listDataSets_awsAccountId :: Lens' ListDataSets Text
- data ListDataSetsResponse = ListDataSetsResponse' {}
- newListDataSetsResponse :: Int -> ListDataSetsResponse
- listDataSetsResponse_dataSetSummaries :: Lens' ListDataSetsResponse (Maybe [DataSetSummary])
- listDataSetsResponse_nextToken :: Lens' ListDataSetsResponse (Maybe Text)
- listDataSetsResponse_requestId :: Lens' ListDataSetsResponse (Maybe Text)
- listDataSetsResponse_status :: Lens' ListDataSetsResponse Int
Creating a Request
data ListDataSets Source #
See: newListDataSets smart constructor.
Constructors
| ListDataSets' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListDataSets |
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:maxResults:ListDataSets', listDataSets_maxResults - The maximum number of results to be returned per request.
ListDataSets, listDataSets_nextToken - The token for the next set of results, or null if there are no more
results.
ListDataSets, listDataSets_awsAccountId - The Amazon Web Services account ID.
Request Lenses
listDataSets_maxResults :: Lens' ListDataSets (Maybe Natural) Source #
The maximum number of results to be returned per request.
listDataSets_nextToken :: Lens' ListDataSets (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listDataSets_awsAccountId :: Lens' ListDataSets Text Source #
The Amazon Web Services account ID.
Destructuring the Response
data ListDataSetsResponse Source #
See: newListDataSetsResponse smart constructor.
Constructors
| ListDataSetsResponse' | |
Instances
newListDataSetsResponse Source #
Arguments
| :: Int | |
| -> ListDataSetsResponse |
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:dataSetSummaries:ListDataSetsResponse', listDataSetsResponse_dataSetSummaries - The list of dataset summaries.
ListDataSets, listDataSetsResponse_nextToken - The token for the next set of results, or null if there are no more
results.
$sel:requestId:ListDataSetsResponse', listDataSetsResponse_requestId - The Amazon Web Services request ID for this operation.
ListDataSetsResponse, listDataSetsResponse_status - The HTTP status of the request.
Response Lenses
listDataSetsResponse_dataSetSummaries :: Lens' ListDataSetsResponse (Maybe [DataSetSummary]) Source #
The list of dataset summaries.
listDataSetsResponse_nextToken :: Lens' ListDataSetsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listDataSetsResponse_requestId :: Lens' ListDataSetsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listDataSetsResponse_status :: Lens' ListDataSetsResponse Int Source #
The HTTP status of the request.