CloudWatch / Client / get_dashboard
get_dashboard¶
- CloudWatch.Client.get_dashboard(**kwargs)¶
Displays the details of the dashboard that you specify.
To copy an existing dashboard, use
GetDashboard, and then use the data returned withinDashboardBodyas the template for the new dashboard when you callPutDashboardto create the copy.You might have recently enabled an opt-in Region (Region that is disabled by default) for your account. In that Region,
GetDashboardcan return an access denied error for up to 24 hours after you enable the Region. This delay occurs while dashboard data propagates. The error does not indicate a problem with your permissions. Because dashboards are global, you can callGetDashboardin any other enabled Region, or retry after propagation completes.See also: AWS API Documentation
Request Syntax
response = client.get_dashboard( DashboardName='string' )
- Parameters:
DashboardName (string) –
[REQUIRED]
The name of the dashboard to be described.
- Return type:
dict
- Returns:
Response Syntax
{ 'DashboardArn': 'string', 'DashboardBody': 'string', 'DashboardName': 'string' }
Response Structure
(dict) –
DashboardArn (string) –
The Amazon Resource Name (ARN) of the dashboard.
DashboardBody (string) –
The detailed information about the dashboard, including what widgets are included and their location on the dashboard. For more information about the
DashboardBodysyntax, see Dashboard Body Structure and Syntax.DashboardName (string) –
The name of the dashboard.
Exceptions