IoTSiteWise.Client.
create_dashboard
(**kwargs)¶Creates a dashboard in an IoT SiteWise Monitor project.
See also: AWS API Documentation
Request Syntax
response = client.create_dashboard(
projectId='string',
dashboardName='string',
dashboardDescription='string',
dashboardDefinition='string',
clientToken='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The ID of the project in which to create the dashboard.
[REQUIRED]
A friendly name for the dashboard.
[REQUIRED]
The dashboard definition specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide .
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
This field is autopopulated if not provided.
A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide .
dict
Response Syntax
{
'dashboardId': 'string',
'dashboardArn': 'string'
}
Response Structure
(dict) --
dashboardId (string) --
The ID of the dashboard.
dashboardArn (string) --
The ARN of the dashboard, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}
Exceptions
IoTSiteWise.Client.exceptions.InvalidRequestException
IoTSiteWise.Client.exceptions.ResourceNotFoundException
IoTSiteWise.Client.exceptions.InternalFailureException
IoTSiteWise.Client.exceptions.ThrottlingException
IoTSiteWise.Client.exceptions.LimitExceededException