describeDataTransformationJob method

Future<DescribeDataTransformationJobResponse> describeDataTransformationJob({
  1. required String jobId,
})

Describes a data transformation job, including its current status, configuration, and progress information.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter jobId : The unique identifier of the data transformation job to describe.

Implementation

Future<DescribeDataTransformationJobResponse> describeDataTransformationJob({
  required String jobId,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.0',
    'X-Amz-Target': 'HealthLake.DescribeDataTransformationJob'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'JobId': jobId,
    },

    hostPrefix: 'datatransformation.',
  );

  return DescribeDataTransformationJobResponse.fromJson(jsonResponse.body);
}