| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTSiteWise.DescribeDashboard
Description
Retrieves information about a dashboard.
Synopsis
- data DescribeDashboard = DescribeDashboard' {
- dashboardId :: Text
- newDescribeDashboard :: Text -> DescribeDashboard
- describeDashboard_dashboardId :: Lens' DescribeDashboard Text
- data DescribeDashboardResponse = DescribeDashboardResponse' {}
- newDescribeDashboardResponse :: Int -> Text -> Text -> Text -> Text -> Text -> UTCTime -> UTCTime -> DescribeDashboardResponse
- describeDashboardResponse_dashboardDescription :: Lens' DescribeDashboardResponse (Maybe Text)
- describeDashboardResponse_httpStatus :: Lens' DescribeDashboardResponse Int
- describeDashboardResponse_dashboardId :: Lens' DescribeDashboardResponse Text
- describeDashboardResponse_dashboardArn :: Lens' DescribeDashboardResponse Text
- describeDashboardResponse_dashboardName :: Lens' DescribeDashboardResponse Text
- describeDashboardResponse_projectId :: Lens' DescribeDashboardResponse Text
- describeDashboardResponse_dashboardDefinition :: Lens' DescribeDashboardResponse Text
- describeDashboardResponse_dashboardCreationDate :: Lens' DescribeDashboardResponse UTCTime
- describeDashboardResponse_dashboardLastUpdateDate :: Lens' DescribeDashboardResponse UTCTime
Creating a Request
data DescribeDashboard Source #
See: newDescribeDashboard smart constructor.
Constructors
| DescribeDashboard' | |
Fields
| |
Instances
Arguments
| :: 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:
DescribeDashboard, describeDashboard_dashboardId - The ID of the dashboard.
Request Lenses
describeDashboard_dashboardId :: Lens' DescribeDashboard Text Source #
The ID of the dashboard.
Destructuring the Response
data DescribeDashboardResponse Source #
See: newDescribeDashboardResponse smart constructor.
Constructors
| DescribeDashboardResponse' | |
Fields
| |
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:dashboardDescription:DescribeDashboardResponse', describeDashboardResponse_dashboardDescription - The dashboard's description.
$sel:httpStatus:DescribeDashboardResponse', describeDashboardResponse_httpStatus - The response's http status code.
DescribeDashboard, describeDashboardResponse_dashboardId - The ID of the dashboard.
$sel:dashboardArn:DescribeDashboardResponse', describeDashboardResponse_dashboardArn - The
ARN
of the dashboard, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}$sel:dashboardName:DescribeDashboardResponse', describeDashboardResponse_dashboardName - The name of the dashboard.
$sel:projectId:DescribeDashboardResponse', describeDashboardResponse_projectId - The ID of the project that the dashboard is in.
$sel:dashboardDefinition:DescribeDashboardResponse', describeDashboardResponse_dashboardDefinition - The dashboard's definition JSON literal. For detailed information, see
Creating dashboards (CLI)
in the IoT SiteWise User Guide.
$sel:dashboardCreationDate:DescribeDashboardResponse', describeDashboardResponse_dashboardCreationDate - The date the dashboard was created, in Unix epoch time.
$sel:dashboardLastUpdateDate:DescribeDashboardResponse', describeDashboardResponse_dashboardLastUpdateDate - The date the dashboard was last updated, in Unix epoch time.
Response Lenses
describeDashboardResponse_dashboardDescription :: Lens' DescribeDashboardResponse (Maybe Text) Source #
The dashboard's description.
describeDashboardResponse_httpStatus :: Lens' DescribeDashboardResponse Int Source #
The response's http status code.
describeDashboardResponse_dashboardId :: Lens' DescribeDashboardResponse Text Source #
The ID of the dashboard.
describeDashboardResponse_dashboardArn :: Lens' DescribeDashboardResponse Text Source #
The ARN of the dashboard, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}describeDashboardResponse_dashboardName :: Lens' DescribeDashboardResponse Text Source #
The name of the dashboard.
describeDashboardResponse_projectId :: Lens' DescribeDashboardResponse Text Source #
The ID of the project that the dashboard is in.
describeDashboardResponse_dashboardDefinition :: Lens' DescribeDashboardResponse Text Source #
The dashboard's definition JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
describeDashboardResponse_dashboardCreationDate :: Lens' DescribeDashboardResponse UTCTime Source #
The date the dashboard was created, in Unix epoch time.
describeDashboardResponse_dashboardLastUpdateDate :: Lens' DescribeDashboardResponse UTCTime Source #
The date the dashboard was last updated, in Unix epoch time.