describeDashboard method

Future<DescribeDashboardResponse> describeDashboard({
  1. required String dashboardId,
})

Retrieves information about a dashboard.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter dashboardId : The ID of the dashboard.

Implementation

Future<DescribeDashboardResponse> describeDashboard({
  required String dashboardId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/dashboards/${Uri.encodeComponent(dashboardId)}',
    hostPrefix: 'monitor.',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeDashboardResponse.fromJson(response);
}