deleteInferenceScheduler method
Deletes an inference scheduler that has been set up. Prior inference results will not be deleted.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter inferenceSchedulerName :
The name of the inference scheduler to be deleted.
Implementation
Future<void> deleteInferenceScheduler({
required String inferenceSchedulerName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target':
'AWSLookoutEquipmentFrontendService.DeleteInferenceScheduler'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'InferenceSchedulerName': inferenceSchedulerName,
},
);
}