deleteAlgorithm method
Removes the specified algorithm from your account.
Parameter algorithmName
:
The name of the algorithm to delete.
Implementation
Future<void> deleteAlgorithm({
required String algorithmName,
}) async {
ArgumentError.checkNotNull(algorithmName, 'algorithmName');
_s.validateStringLength(
'algorithmName',
algorithmName,
1,
63,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DeleteAlgorithm'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'AlgorithmName': algorithmName,
},
);
}