Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_nextToken :: Lens' SearchDashboards (Maybe Text)
- searchDashboards_maxResults :: Lens' SearchDashboards (Maybe Natural)
- searchDashboards_awsAccountId :: Lens' SearchDashboards Text
- searchDashboards_filters :: Lens' SearchDashboards (NonEmpty DashboardSearchFilter)
- data SearchDashboardsResponse = SearchDashboardsResponse' {}
- newSearchDashboardsResponse :: Int -> SearchDashboardsResponse
- searchDashboardsResponse_requestId :: Lens' SearchDashboardsResponse (Maybe Text)
- searchDashboardsResponse_nextToken :: Lens' SearchDashboardsResponse (Maybe Text)
- searchDashboardsResponse_dashboardSummaryList :: Lens' SearchDashboardsResponse (Maybe [DashboardSummary])
- searchDashboardsResponse_status :: Lens' SearchDashboardsResponse Int
Creating a Request
data SearchDashboards Source #
See: newSearchDashboards
smart constructor.
SearchDashboards' | |
|
Instances
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:nextToken:SearchDashboards'
, searchDashboards_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:maxResults:SearchDashboards'
, searchDashboards_maxResults
- The maximum number of results to be returned per request.
$sel:awsAccountId:SearchDashboards'
, searchDashboards_awsAccountId
- The ID of the Amazon Web Services account that contains the user whose
dashboards you're searching for.
$sel:filters: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_nextToken :: Lens' SearchDashboards (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
searchDashboards_maxResults :: Lens' SearchDashboards (Maybe Natural) Source #
The maximum number of results to be returned per request.
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.
SearchDashboardsResponse' | |
|
Instances
newSearchDashboardsResponse Source #
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:requestId:SearchDashboardsResponse'
, searchDashboardsResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:nextToken:SearchDashboards'
, searchDashboardsResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:dashboardSummaryList:SearchDashboardsResponse'
, searchDashboardsResponse_dashboardSummaryList
- The list of dashboards owned by the user specified in Filters
in your
request.
$sel:status:SearchDashboardsResponse'
, searchDashboardsResponse_status
- The HTTP status of the request.
Response Lenses
searchDashboardsResponse_requestId :: Lens' SearchDashboardsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
searchDashboardsResponse_nextToken :: Lens' SearchDashboardsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
searchDashboardsResponse_dashboardSummaryList :: Lens' SearchDashboardsResponse (Maybe [DashboardSummary]) Source #
The list of dashboards owned by the user specified in Filters
in your
request.
searchDashboardsResponse_status :: Lens' SearchDashboardsResponse Int Source #
The HTTP status of the request.