describeWorkspace method

Future<DescribeWorkspaceResponse> describeWorkspace({
  1. required String workspaceId,
})

Displays information about one Amazon Managed Grafana workspace.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter workspaceId : The ID of the workspace to display information about.

Implementation

Future<DescribeWorkspaceResponse> describeWorkspace({
  required String workspaceId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/workspaces/${Uri.encodeComponent(workspaceId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeWorkspaceResponse.fromJson(response);
}