| 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.SearchDashboards
Description
Searches for dashboards that belong to a user.
This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
This operation returns paginated results.
Synopsis
- data SearchDashboards = SearchDashboards' {}
- newSearchDashboards :: Text -> NonEmpty DashboardSearchFilter -> SearchDashboards
- searchDashboards_maxResults :: Lens' SearchDashboards (Maybe Natural)
- searchDashboards_nextToken :: Lens' SearchDashboards (Maybe Text)
- searchDashboards_awsAccountId :: Lens' SearchDashboards Text
- searchDashboards_filters :: Lens' SearchDashboards (NonEmpty DashboardSearchFilter)
- data SearchDashboardsResponse = SearchDashboardsResponse' {}
- newSearchDashboardsResponse :: Int -> SearchDashboardsResponse
- searchDashboardsResponse_dashboardSummaryList :: Lens' SearchDashboardsResponse (Maybe [DashboardSummary])
- searchDashboardsResponse_nextToken :: Lens' SearchDashboardsResponse (Maybe Text)
- searchDashboardsResponse_requestId :: Lens' SearchDashboardsResponse (Maybe Text)
- searchDashboardsResponse_status :: Lens' SearchDashboardsResponse Int
Creating a Request
data SearchDashboards Source #
See: newSearchDashboards smart constructor.
Constructors
| SearchDashboards' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> NonEmpty DashboardSearchFilter | |
| -> SearchDashboards |
Create a value of SearchDashboards 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:SearchDashboards', searchDashboards_maxResults - The maximum number of results to be returned per request.
SearchDashboards, searchDashboards_nextToken - The token for the next set of results, or null if there are no more
results.
SearchDashboards, searchDashboards_awsAccountId - The ID of the Amazon Web Services account that contains the user whose
dashboards you're searching for.
SearchDashboards, searchDashboards_filters - The filters to apply to the search. Currently, you can search only by
user name, for example,
"Filters": [ { "Name": "QUICKSIGHT_USER", "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1" } ]
Request Lenses
searchDashboards_maxResults :: Lens' SearchDashboards (Maybe Natural) Source #
The maximum number of results to be returned per request.
searchDashboards_nextToken :: Lens' SearchDashboards (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
searchDashboards_awsAccountId :: Lens' SearchDashboards Text Source #
The ID of the Amazon Web Services account that contains the user whose dashboards you're searching for.
searchDashboards_filters :: Lens' SearchDashboards (NonEmpty DashboardSearchFilter) Source #
The filters to apply to the search. Currently, you can search only by
user name, for example,
"Filters": [ { "Name": "QUICKSIGHT_USER", "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1" } ]
Destructuring the Response
data SearchDashboardsResponse Source #
See: newSearchDashboardsResponse smart constructor.
Constructors
| SearchDashboardsResponse' | |
Fields
| |
Instances
newSearchDashboardsResponse Source #
Arguments
| :: Int | |
| -> SearchDashboardsResponse |
Create a value of SearchDashboardsResponse 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:dashboardSummaryList:SearchDashboardsResponse', searchDashboardsResponse_dashboardSummaryList - The list of dashboards owned by the user specified in Filters in your
request.
SearchDashboards, searchDashboardsResponse_nextToken - The token for the next set of results, or null if there are no more
results.
$sel:requestId:SearchDashboardsResponse', searchDashboardsResponse_requestId - The Amazon Web Services request ID for this operation.
SearchDashboardsResponse, searchDashboardsResponse_status - The HTTP status of the request.
Response Lenses
searchDashboardsResponse_dashboardSummaryList :: Lens' SearchDashboardsResponse (Maybe [DashboardSummary]) Source #
The list of dashboards owned by the user specified in Filters in your
request.
searchDashboardsResponse_nextToken :: Lens' SearchDashboardsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
searchDashboardsResponse_requestId :: Lens' SearchDashboardsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
searchDashboardsResponse_status :: Lens' SearchDashboardsResponse Int Source #
The HTTP status of the request.