getIdMappingJob method

Future<GetIdMappingJobOutput> getIdMappingJob({
  1. required String jobId,
  2. required String workflowName,
})

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<GetIdMappingJobOutput> getIdMappingJob({
  required String jobId,
  required String workflowName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/idmappingworkflows/${Uri.encodeComponent(workflowName)}/jobs/${Uri.encodeComponent(jobId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetIdMappingJobOutput.fromJson(response);
}