getWorkspace method
Retrieves information about a workspace.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ThrottlingException.
May throw ValidationException.
Parameter workspaceId :
The ID of the workspace.
Implementation
Future<GetWorkspaceResponse> getWorkspace({
required String workspaceId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/workspaces/${Uri.encodeComponent(workspaceId)}',
exceptionFnMap: _exceptionFns,
);
return GetWorkspaceResponse.fromJson(response);
}