describeWorkspace method

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

Returns information about an existing workspace.

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

Parameter workspaceId : The ID of the workspace to describe.

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);
}