AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Displays the details of the dashboard that you specify.
To copy an existing dashboard, use GetDashboard, and then use the data returned
within DashboardBody as the template for the new dashboard when you call PutDashboard
to create the copy.
You might have recently enabled an opt-in
Region (Region that is disabled by default) for your account. In that Region,
GetDashboard can 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
call GetDashboard in any other enabled Region, or retry after propagation completes.
This is an asynchronous operation using the standard naming convention for .NET 4.7.2 or higher.
Namespace: Amazon.CloudWatch
Assembly: AWSSDK.CloudWatch.dll
Version: 3.x.y.z
public virtual Task<GetDashboardResponse> GetDashboardAsync( GetDashboardRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the GetDashboard service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
| Exception | Condition |
|---|---|
| DashboardNotFoundErrorException | The specified dashboard does not exist. |
| InternalServiceException | Request processing has failed due to some unknown error, exception, or failure. |
| InvalidParameterValueException | The value of an input parameter is bad or out-of-range. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer