IoTSiteWise / Client / create_dashboard
create_dashboard#
- 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' } )
- Parameters:
projectId (string) –
[REQUIRED]
The ID of the project in which to create the dashboard.
dashboardName (string) –
[REQUIRED]
A friendly name for the dashboard.
dashboardDescription (string) – A description for the dashboard.
dashboardDefinition (string) –
[REQUIRED]
The dashboard definition specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
clientToken (string) –
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.
tags (dict) –
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.
(string) –
(string) –
- Return type:
dict
- Returns:
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