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 |
Provides a summary for a dashboard.
Synopsis
- data DescribeDashboard = DescribeDashboard' {}
- newDescribeDashboard :: Text -> Text -> DescribeDashboard
- describeDashboard_aliasName :: Lens' DescribeDashboard (Maybe Text)
- describeDashboard_versionNumber :: Lens' DescribeDashboard (Maybe Natural)
- describeDashboard_awsAccountId :: Lens' DescribeDashboard Text
- describeDashboard_dashboardId :: Lens' DescribeDashboard Text
- data DescribeDashboardResponse = DescribeDashboardResponse' {}
- newDescribeDashboardResponse :: Int -> DescribeDashboardResponse
- describeDashboardResponse_requestId :: Lens' DescribeDashboardResponse (Maybe Text)
- describeDashboardResponse_dashboard :: Lens' DescribeDashboardResponse (Maybe Dashboard)
- describeDashboardResponse_status :: Lens' DescribeDashboardResponse Int
Creating a Request
data DescribeDashboard Source #
See: newDescribeDashboard
smart constructor.
DescribeDashboard' | |
|
Instances
:: Text | |
-> Text | |
-> DescribeDashboard |
Create a value of DescribeDashboard
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:aliasName:DescribeDashboard'
, describeDashboard_aliasName
- The alias name.
$sel:versionNumber:DescribeDashboard'
, describeDashboard_versionNumber
- The version number for the dashboard. If a version number isn't passed,
the latest published dashboard version is described.
$sel:awsAccountId:DescribeDashboard'
, describeDashboard_awsAccountId
- The ID of the Amazon Web Services account that contains the dashboard
that you're describing.
$sel:dashboardId:DescribeDashboard'
, describeDashboard_dashboardId
- The ID for the dashboard.
Request Lenses
describeDashboard_aliasName :: Lens' DescribeDashboard (Maybe Text) Source #
The alias name.
describeDashboard_versionNumber :: Lens' DescribeDashboard (Maybe Natural) Source #
The version number for the dashboard. If a version number isn't passed, the latest published dashboard version is described.
describeDashboard_awsAccountId :: Lens' DescribeDashboard Text Source #
The ID of the Amazon Web Services account that contains the dashboard that you're describing.
describeDashboard_dashboardId :: Lens' DescribeDashboard Text Source #
The ID for the dashboard.
Destructuring the Response
data DescribeDashboardResponse Source #
See: newDescribeDashboardResponse
smart constructor.
Instances
newDescribeDashboardResponse Source #
Create a value of DescribeDashboardResponse
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:DescribeDashboardResponse'
, describeDashboardResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:dashboard:DescribeDashboardResponse'
, describeDashboardResponse_dashboard
- Information about the dashboard.
$sel:status:DescribeDashboardResponse'
, describeDashboardResponse_status
- The HTTP status of this request.
Response Lenses
describeDashboardResponse_requestId :: Lens' DescribeDashboardResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeDashboardResponse_dashboard :: Lens' DescribeDashboardResponse (Maybe Dashboard) Source #
Information about the dashboard.
describeDashboardResponse_status :: Lens' DescribeDashboardResponse Int Source #
The HTTP status of this request.