getMedicalTranscriptionJob method
Future<GetMedicalTranscriptionJobResponse>
getMedicalTranscriptionJob({
- required String medicalTranscriptionJobName,
Provides information about the specified medical transcription job.
To view the status of the specified medical transcription job, check the
TranscriptionJobStatus field. If the status is
COMPLETED, the job is finished. You can find the results at
the location specified in TranscriptFileUri. If the status is
FAILED, FailureReason provides details on why
your transcription job failed.
To get a list of your medical transcription jobs, use the operation.
May throw BadRequestException.
May throw InternalFailureException.
May throw LimitExceededException.
May throw NotFoundException.
Parameter medicalTranscriptionJobName :
The name of the medical transcription job you want information about. Job
names are case sensitive.
Implementation
Future<GetMedicalTranscriptionJobResponse> getMedicalTranscriptionJob({
required String medicalTranscriptionJobName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'Transcribe.GetMedicalTranscriptionJob'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'MedicalTranscriptionJobName': medicalTranscriptionJobName,
},
);
return GetMedicalTranscriptionJobResponse.fromJson(jsonResponse.body);
}