describeDeviceJob method

Future<DescribeDeviceJobResponse> describeDeviceJob({
  1. required String jobId,
})

Returns information about a device job.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter jobId : The job's ID.

Implementation

Future<DescribeDeviceJobResponse> describeDeviceJob({
  required String jobId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/jobs/${Uri.encodeComponent(jobId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeDeviceJobResponse.fromJson(response);
}