| 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.ListDataSources
Description
Lists data sources in current Amazon Web Services Region that belong to this Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListDataSources = ListDataSources' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- awsAccountId :: Text
- newListDataSources :: Text -> ListDataSources
- listDataSources_maxResults :: Lens' ListDataSources (Maybe Natural)
- listDataSources_nextToken :: Lens' ListDataSources (Maybe Text)
- listDataSources_awsAccountId :: Lens' ListDataSources Text
- data ListDataSourcesResponse = ListDataSourcesResponse' {}
- newListDataSourcesResponse :: Int -> ListDataSourcesResponse
- listDataSourcesResponse_dataSources :: Lens' ListDataSourcesResponse (Maybe [DataSource])
- listDataSourcesResponse_nextToken :: Lens' ListDataSourcesResponse (Maybe Text)
- listDataSourcesResponse_requestId :: Lens' ListDataSourcesResponse (Maybe Text)
- listDataSourcesResponse_status :: Lens' ListDataSourcesResponse Int
Creating a Request
data ListDataSources Source #
See: newListDataSources smart constructor.
Constructors
| ListDataSources' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListDataSources |
Create a value of ListDataSources 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:ListDataSources', listDataSources_maxResults - The maximum number of results to be returned per request.
ListDataSources, listDataSources_nextToken - The token for the next set of results, or null if there are no more
results.
ListDataSources, listDataSources_awsAccountId - The Amazon Web Services account ID.
Request Lenses
listDataSources_maxResults :: Lens' ListDataSources (Maybe Natural) Source #
The maximum number of results to be returned per request.
listDataSources_nextToken :: Lens' ListDataSources (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listDataSources_awsAccountId :: Lens' ListDataSources Text Source #
The Amazon Web Services account ID.
Destructuring the Response
data ListDataSourcesResponse Source #
See: newListDataSourcesResponse smart constructor.
Constructors
| ListDataSourcesResponse' | |
Instances
newListDataSourcesResponse Source #
Arguments
| :: Int | |
| -> ListDataSourcesResponse |
Create a value of ListDataSourcesResponse 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:dataSources:ListDataSourcesResponse', listDataSourcesResponse_dataSources - A list of data sources.
ListDataSources, listDataSourcesResponse_nextToken - The token for the next set of results, or null if there are no more
results.
$sel:requestId:ListDataSourcesResponse', listDataSourcesResponse_requestId - The Amazon Web Services request ID for this operation.
ListDataSourcesResponse, listDataSourcesResponse_status - The HTTP status of the request.
Response Lenses
listDataSourcesResponse_dataSources :: Lens' ListDataSourcesResponse (Maybe [DataSource]) Source #
A list of data sources.
listDataSourcesResponse_nextToken :: Lens' ListDataSourcesResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listDataSourcesResponse_requestId :: Lens' ListDataSourcesResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listDataSourcesResponse_status :: Lens' ListDataSourcesResponse Int Source #
The HTTP status of the request.