getWorkflow method
Get details of specified workflow.
May throw AccessDeniedException.
May throw BadRequestException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter domainName :
The unique name of the domain.
Parameter workflowId :
Unique identifier for the workflow.
Implementation
Future<GetWorkflowResponse> getWorkflow({
required String domainName,
required String workflowId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/domains/${Uri.encodeComponent(domainName)}/workflows/${Uri.encodeComponent(workflowId)}',
exceptionFnMap: _exceptionFns,
);
return GetWorkflowResponse.fromJson(response);
}