getJob method
This operation returns information about a job.
May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException. May throw InternalServerException.
Parameter jobId
:
The unique identifier for a job.
Implementation
Future<GetJobResponse> getJob({
required String jobId,
}) async {
ArgumentError.checkNotNull(jobId, 'jobId');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/v1/jobs/${Uri.encodeComponent(jobId)}',
exceptionFnMap: _exceptionFns,
);
return GetJobResponse.fromJson(response);
}