describePredictorBacktestExportJob method
Future<DescribePredictorBacktestExportJobResponse>
describePredictorBacktestExportJob({
- required String predictorBacktestExportJobArn,
Describes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation.
In addition to listing the properties provided by the user in the
CreatePredictorBacktestExportJob
request, this operation
lists the following properties:
-
CreationTime
-
LastModificationTime
-
Status
-
Message
(if an error occurred)
May throw InvalidInputException. May throw ResourceNotFoundException.
Parameter predictorBacktestExportJobArn
:
The Amazon Resource Name (ARN) of the predictor backtest export job.
Implementation
Future<DescribePredictorBacktestExportJobResponse>
describePredictorBacktestExportJob({
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.DescribePredictorBacktestExportJob'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'PredictorBacktestExportJobArn': predictorBacktestExportJobArn,
},
);
return DescribePredictorBacktestExportJobResponse.fromJson(
jsonResponse.body);
}