| 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.SearchDataSets
Description
Use the SearchDataSets operation to search for datasets that belong to
 an account.
This operation returns paginated results.
Synopsis
- data SearchDataSets = SearchDataSets' {}
 - newSearchDataSets :: Text -> NonEmpty DataSetSearchFilter -> SearchDataSets
 - searchDataSets_maxResults :: Lens' SearchDataSets (Maybe Natural)
 - searchDataSets_nextToken :: Lens' SearchDataSets (Maybe Text)
 - searchDataSets_awsAccountId :: Lens' SearchDataSets Text
 - searchDataSets_filters :: Lens' SearchDataSets (NonEmpty DataSetSearchFilter)
 - data SearchDataSetsResponse = SearchDataSetsResponse' {}
 - newSearchDataSetsResponse :: Int -> SearchDataSetsResponse
 - searchDataSetsResponse_dataSetSummaries :: Lens' SearchDataSetsResponse (Maybe [DataSetSummary])
 - searchDataSetsResponse_nextToken :: Lens' SearchDataSetsResponse (Maybe Text)
 - searchDataSetsResponse_requestId :: Lens' SearchDataSetsResponse (Maybe Text)
 - searchDataSetsResponse_status :: Lens' SearchDataSetsResponse Int
 
Creating a Request
data SearchDataSets Source #
See: newSearchDataSets smart constructor.
Constructors
| SearchDataSets' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> NonEmpty DataSetSearchFilter | |
| -> SearchDataSets | 
Create a value of SearchDataSets 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:SearchDataSets', searchDataSets_maxResults - The maximum number of results to be returned per request.
SearchDataSets, searchDataSets_nextToken - A pagination token that can be used in a subsequent request.
SearchDataSets, searchDataSets_awsAccountId - The Amazon Web Services account ID.
SearchDataSets, searchDataSets_filters - The filters to apply to the search.
Request Lenses
searchDataSets_maxResults :: Lens' SearchDataSets (Maybe Natural) Source #
The maximum number of results to be returned per request.
searchDataSets_nextToken :: Lens' SearchDataSets (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
searchDataSets_awsAccountId :: Lens' SearchDataSets Text Source #
The Amazon Web Services account ID.
searchDataSets_filters :: Lens' SearchDataSets (NonEmpty DataSetSearchFilter) Source #
The filters to apply to the search.
Destructuring the Response
data SearchDataSetsResponse Source #
See: newSearchDataSetsResponse smart constructor.
Constructors
| SearchDataSetsResponse' | |
Fields 
  | |
Instances
newSearchDataSetsResponse Source #
Arguments
| :: Int | |
| -> SearchDataSetsResponse | 
Create a value of SearchDataSetsResponse 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:SearchDataSetsResponse', searchDataSetsResponse_dataSetSummaries - A DataSetSummaries object that returns a summary of a dataset.
SearchDataSets, searchDataSetsResponse_nextToken - A pagination token that can be used in a subsequent request.
$sel:requestId:SearchDataSetsResponse', searchDataSetsResponse_requestId - The Amazon Web Services request ID for this operation.
SearchDataSetsResponse, searchDataSetsResponse_status - The HTTP status of the request.
Response Lenses
searchDataSetsResponse_dataSetSummaries :: Lens' SearchDataSetsResponse (Maybe [DataSetSummary]) Source #
A DataSetSummaries object that returns a summary of a dataset.
searchDataSetsResponse_nextToken :: Lens' SearchDataSetsResponse (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
searchDataSetsResponse_requestId :: Lens' SearchDataSetsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
searchDataSetsResponse_status :: Lens' SearchDataSetsResponse Int Source #
The HTTP status of the request.