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 |
Displays the details of the dashboard that you specify.
To copy an existing dashboard, use GetDashboard
, and then use the data
returned within DashboardBody
as the template for the new dashboard
when you call PutDashboard
to create the copy.
Synopsis
- data GetDashboard = GetDashboard' {}
- newGetDashboard :: Text -> GetDashboard
- getDashboard_dashboardName :: Lens' GetDashboard Text
- data GetDashboardResponse = GetDashboardResponse' {}
- newGetDashboardResponse :: Int -> GetDashboardResponse
- getDashboardResponse_dashboardName :: Lens' GetDashboardResponse (Maybe Text)
- getDashboardResponse_dashboardBody :: Lens' GetDashboardResponse (Maybe Text)
- getDashboardResponse_dashboardArn :: Lens' GetDashboardResponse (Maybe Text)
- getDashboardResponse_httpStatus :: Lens' GetDashboardResponse Int
Creating a Request
data GetDashboard Source #
See: newGetDashboard
smart constructor.
GetDashboard' | |
|
Instances
Create a value of GetDashboard
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:dashboardName:GetDashboard'
, getDashboard_dashboardName
- The name of the dashboard to be described.
Request Lenses
getDashboard_dashboardName :: Lens' GetDashboard Text Source #
The name of the dashboard to be described.
Destructuring the Response
data GetDashboardResponse Source #
See: newGetDashboardResponse
smart constructor.
GetDashboardResponse' | |
|
Instances
newGetDashboardResponse Source #
Create a value of GetDashboardResponse
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:dashboardName:GetDashboard'
, getDashboardResponse_dashboardName
- The name of the dashboard.
$sel:dashboardBody:GetDashboardResponse'
, getDashboardResponse_dashboardBody
- The detailed information about the dashboard, including what widgets are
included and their location on the dashboard. For more information about
the DashboardBody
syntax, see
Dashboard Body Structure and Syntax.
$sel:dashboardArn:GetDashboardResponse'
, getDashboardResponse_dashboardArn
- The Amazon Resource Name (ARN) of the dashboard.
$sel:httpStatus:GetDashboardResponse'
, getDashboardResponse_httpStatus
- The response's http status code.
Response Lenses
getDashboardResponse_dashboardName :: Lens' GetDashboardResponse (Maybe Text) Source #
The name of the dashboard.
getDashboardResponse_dashboardBody :: Lens' GetDashboardResponse (Maybe Text) Source #
The detailed information about the dashboard, including what widgets are
included and their location on the dashboard. For more information about
the DashboardBody
syntax, see
Dashboard Body Structure and Syntax.
getDashboardResponse_dashboardArn :: Lens' GetDashboardResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dashboard.
getDashboardResponse_httpStatus :: Lens' GetDashboardResponse Int Source #
The response's http status code.