getMatchingJob method
Returns the status, metrics, and errors (if there are any) that are associated with a job.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter jobId :
The ID of the job.
Parameter workflowName :
The name of the workflow.
Implementation
Future<GetMatchingJobOutput> getMatchingJob({
required String jobId,
required String workflowName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/matchingworkflows/${Uri.encodeComponent(workflowName)}/jobs/${Uri.encodeComponent(jobId)}',
exceptionFnMap: _exceptionFns,
);
return GetMatchingJobOutput.fromJson(response);
}