deletePredictorBacktestExportJob method
Deletes a predictor backtest export job.
May throw InvalidInputException. May throw ResourceNotFoundException. May throw ResourceInUseException.
Parameter predictorBacktestExportJobArn
:
The Amazon Resource Name (ARN) of the predictor backtest export job to
delete.
Implementation
Future<void> deletePredictorBacktestExportJob({
required String predictorBacktestExportJobArn,
}) async {
ArgumentError.checkNotNull(
predictorBacktestExportJobArn, 'predictorBacktestExportJobArn');
_s.validateStringLength(
'predictorBacktestExportJobArn',
predictorBacktestExportJobArn,
0,
256,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AmazonForecast.DeletePredictorBacktestExportJob'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'PredictorBacktestExportJobArn': predictorBacktestExportJobArn,
},
);
}