deleteMedicalTranscriptionJob method
Deletes a transcription job generated by Amazon Transcribe Medical and any related information.
May throw LimitExceededException. May throw BadRequestException. May throw InternalFailureException.
Parameter medicalTranscriptionJobName
:
The name you provide to the DeleteMedicalTranscriptionJob
object to delete a transcription job.
Implementation
Future<void> deleteMedicalTranscriptionJob({
required String medicalTranscriptionJobName,
}) async {
ArgumentError.checkNotNull(
medicalTranscriptionJobName, 'medicalTranscriptionJobName');
_s.validateStringLength(
'medicalTranscriptionJobName',
medicalTranscriptionJobName,
1,
200,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'Transcribe.DeleteMedicalTranscriptionJob'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'MedicalTranscriptionJobName': medicalTranscriptionJobName,
},
);
}