getJob method

Future<GetJobResponse> getJob({
  1. required String id,
})

Retrieve the JSON for a specific completed transcoding job.

May throw BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw TooManyRequestsException. May throw ConflictException.

Parameter id : the job ID of the job.

Implementation

Future<GetJobResponse> getJob({
  required String id,
}) async {
  ArgumentError.checkNotNull(id, 'id');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/2017-08-29/jobs/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetJobResponse.fromJson(response);
}