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 |
Lists dashboards in an Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListDashboards = ListDashboards' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- awsAccountId :: Text
- newListDashboards :: Text -> ListDashboards
- listDashboards_nextToken :: Lens' ListDashboards (Maybe Text)
- listDashboards_maxResults :: Lens' ListDashboards (Maybe Natural)
- listDashboards_awsAccountId :: Lens' ListDashboards Text
- data ListDashboardsResponse = ListDashboardsResponse' {}
- newListDashboardsResponse :: Int -> ListDashboardsResponse
- listDashboardsResponse_requestId :: Lens' ListDashboardsResponse (Maybe Text)
- listDashboardsResponse_nextToken :: Lens' ListDashboardsResponse (Maybe Text)
- listDashboardsResponse_dashboardSummaryList :: Lens' ListDashboardsResponse (Maybe [DashboardSummary])
- listDashboardsResponse_status :: Lens' ListDashboardsResponse Int
Creating a Request
data ListDashboards Source #
See: newListDashboards
smart constructor.
ListDashboards' | |
|
Instances
Create a value of ListDashboards
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:ListDashboards'
, listDashboards_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:maxResults:ListDashboards'
, listDashboards_maxResults
- The maximum number of results to be returned per request.
$sel:awsAccountId:ListDashboards'
, listDashboards_awsAccountId
- The ID of the Amazon Web Services account that contains the dashboards
that you're listing.
Request Lenses
listDashboards_nextToken :: Lens' ListDashboards (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listDashboards_maxResults :: Lens' ListDashboards (Maybe Natural) Source #
The maximum number of results to be returned per request.
listDashboards_awsAccountId :: Lens' ListDashboards Text Source #
The ID of the Amazon Web Services account that contains the dashboards that you're listing.
Destructuring the Response
data ListDashboardsResponse Source #
See: newListDashboardsResponse
smart constructor.
ListDashboardsResponse' | |
|
Instances
newListDashboardsResponse Source #
Create a value of ListDashboardsResponse
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:ListDashboardsResponse'
, listDashboardsResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:nextToken:ListDashboards'
, listDashboardsResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:dashboardSummaryList:ListDashboardsResponse'
, listDashboardsResponse_dashboardSummaryList
- A structure that contains all of the dashboards in your Amazon Web
Services account. This structure provides basic information about the
dashboards.
$sel:status:ListDashboardsResponse'
, listDashboardsResponse_status
- The HTTP status of the request.
Response Lenses
listDashboardsResponse_requestId :: Lens' ListDashboardsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listDashboardsResponse_nextToken :: Lens' ListDashboardsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listDashboardsResponse_dashboardSummaryList :: Lens' ListDashboardsResponse (Maybe [DashboardSummary]) Source #
A structure that contains all of the dashboards in your Amazon Web Services account. This structure provides basic information about the dashboards.
listDashboardsResponse_status :: Lens' ListDashboardsResponse Int Source #
The HTTP status of the request.