| 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.SearchDataSources
Description
Use the SearchDataSources operation to search for data sources that
belong to an account.
This operation returns paginated results.
Synopsis
- data SearchDataSources = SearchDataSources' {}
- newSearchDataSources :: Text -> NonEmpty DataSourceSearchFilter -> SearchDataSources
- searchDataSources_maxResults :: Lens' SearchDataSources (Maybe Natural)
- searchDataSources_nextToken :: Lens' SearchDataSources (Maybe Text)
- searchDataSources_awsAccountId :: Lens' SearchDataSources Text
- searchDataSources_filters :: Lens' SearchDataSources (NonEmpty DataSourceSearchFilter)
- data SearchDataSourcesResponse = SearchDataSourcesResponse' {}
- newSearchDataSourcesResponse :: Int -> SearchDataSourcesResponse
- searchDataSourcesResponse_dataSourceSummaries :: Lens' SearchDataSourcesResponse (Maybe [DataSourceSummary])
- searchDataSourcesResponse_nextToken :: Lens' SearchDataSourcesResponse (Maybe Text)
- searchDataSourcesResponse_requestId :: Lens' SearchDataSourcesResponse (Maybe Text)
- searchDataSourcesResponse_status :: Lens' SearchDataSourcesResponse Int
Creating a Request
data SearchDataSources Source #
See: newSearchDataSources smart constructor.
Constructors
| SearchDataSources' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> NonEmpty DataSourceSearchFilter | |
| -> SearchDataSources |
Create a value of SearchDataSources 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:SearchDataSources', searchDataSources_maxResults - The maximum number of results to be returned per request.
SearchDataSources, searchDataSources_nextToken - A pagination token that can be used in a subsequent request.
SearchDataSources, searchDataSources_awsAccountId - The Amazon Web Services account ID.
SearchDataSources, searchDataSources_filters - The filters to apply to the search.
Request Lenses
searchDataSources_maxResults :: Lens' SearchDataSources (Maybe Natural) Source #
The maximum number of results to be returned per request.
searchDataSources_nextToken :: Lens' SearchDataSources (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
searchDataSources_awsAccountId :: Lens' SearchDataSources Text Source #
The Amazon Web Services account ID.
searchDataSources_filters :: Lens' SearchDataSources (NonEmpty DataSourceSearchFilter) Source #
The filters to apply to the search.
Destructuring the Response
data SearchDataSourcesResponse Source #
See: newSearchDataSourcesResponse smart constructor.
Constructors
| SearchDataSourcesResponse' | |
Fields
| |
Instances
newSearchDataSourcesResponse Source #
Arguments
| :: Int | |
| -> SearchDataSourcesResponse |
Create a value of SearchDataSourcesResponse 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:dataSourceSummaries:SearchDataSourcesResponse', searchDataSourcesResponse_dataSourceSummaries - A DataSourceSummaries object that returns a summary of a data source.
SearchDataSources, searchDataSourcesResponse_nextToken - A pagination token that can be used in a subsequent request.
$sel:requestId:SearchDataSourcesResponse', searchDataSourcesResponse_requestId - The Amazon Web Services request ID for this operation.
SearchDataSourcesResponse, searchDataSourcesResponse_status - The HTTP status of the request.
Response Lenses
searchDataSourcesResponse_dataSourceSummaries :: Lens' SearchDataSourcesResponse (Maybe [DataSourceSummary]) Source #
A DataSourceSummaries object that returns a summary of a data source.
searchDataSourcesResponse_nextToken :: Lens' SearchDataSourcesResponse (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
searchDataSourcesResponse_requestId :: Lens' SearchDataSourcesResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
searchDataSourcesResponse_status :: Lens' SearchDataSourcesResponse Int Source #
The HTTP status of the request.