deleteNotebookInstanceLifecycleConfig method
Future<void>
deleteNotebookInstanceLifecycleConfig({
- required String notebookInstanceLifecycleConfigName,
Deletes a notebook instance lifecycle configuration.
Parameter notebookInstanceLifecycleConfigName :
The name of the lifecycle configuration to delete.
Implementation
Future<void> deleteNotebookInstanceLifecycleConfig({
required String notebookInstanceLifecycleConfigName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DeleteNotebookInstanceLifecycleConfig'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'NotebookInstanceLifecycleConfigName':
notebookInstanceLifecycleConfigName,
},
);
}