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 |
Returns a list of the dashboards for your account. If you include
DashboardNamePrefix
, only those dashboards with names starting with
the prefix are listed. Otherwise, all dashboards in your account are
listed.
ListDashboards
returns up to 1000 results on one page. If there are
more than 1000 dashboards, you can call ListDashboards
again and
include the value you received for NextToken
in the first call, to
receive the next 1000 results.
This operation returns paginated results.
Synopsis
- data ListDashboards = ListDashboards' {}
- newListDashboards :: ListDashboards
- listDashboards_dashboardNamePrefix :: Lens' ListDashboards (Maybe Text)
- listDashboards_nextToken :: Lens' ListDashboards (Maybe Text)
- data ListDashboardsResponse = ListDashboardsResponse' {}
- newListDashboardsResponse :: Int -> ListDashboardsResponse
- listDashboardsResponse_dashboardEntries :: Lens' ListDashboardsResponse (Maybe [DashboardEntry])
- listDashboardsResponse_nextToken :: Lens' ListDashboardsResponse (Maybe Text)
- listDashboardsResponse_httpStatus :: Lens' ListDashboardsResponse Int
Creating a Request
data ListDashboards Source #
See: newListDashboards
smart constructor.
ListDashboards' | |
|
Instances
newListDashboards :: ListDashboards Source #
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:dashboardNamePrefix:ListDashboards'
, listDashboards_dashboardNamePrefix
- If you specify this parameter, only the dashboards with names starting
with the specified string are listed. The maximum length is 255, and
valid characters are A-Z, a-z, 0-9, ".", "-", and "_".
$sel:nextToken:ListDashboards'
, listDashboards_nextToken
- The token returned by a previous call to indicate that there is more
data available.
Request Lenses
listDashboards_dashboardNamePrefix :: Lens' ListDashboards (Maybe Text) Source #
If you specify this parameter, only the dashboards with names starting with the specified string are listed. The maximum length is 255, and valid characters are A-Z, a-z, 0-9, ".", "-", and "_".
listDashboards_nextToken :: Lens' ListDashboards (Maybe Text) Source #
The token returned by a previous call to indicate that there is more data available.
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:dashboardEntries:ListDashboardsResponse'
, listDashboardsResponse_dashboardEntries
- The list of matching dashboards.
$sel:nextToken:ListDashboards'
, listDashboardsResponse_nextToken
- The token that marks the start of the next batch of returned results.
$sel:httpStatus:ListDashboardsResponse'
, listDashboardsResponse_httpStatus
- The response's http status code.
Response Lenses
listDashboardsResponse_dashboardEntries :: Lens' ListDashboardsResponse (Maybe [DashboardEntry]) Source #
The list of matching dashboards.
listDashboardsResponse_nextToken :: Lens' ListDashboardsResponse (Maybe Text) Source #
The token that marks the start of the next batch of returned results.
listDashboardsResponse_httpStatus :: Lens' ListDashboardsResponse Int Source #
The response's http status code.