describeDataIngestionJob method
Provides information on a specific data ingestion job such as creation time, dataset ARN, and status.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter jobId :
The job ID of the data ingestion job.
Implementation
Future<DescribeDataIngestionJobResponse> describeDataIngestionJob({
required String jobId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target':
'AWSLookoutEquipmentFrontendService.DescribeDataIngestionJob'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'JobId': jobId,
},
);
return DescribeDataIngestionJobResponse.fromJson(jsonResponse.body);
}