deleteNotebookInstance method
Deletes an SageMaker AI notebook instance. Before you can delete a
notebook instance, you must call the StopNotebookInstance
API.
Parameter notebookInstanceName :
The name of the SageMaker AI notebook instance to delete.
Implementation
Future<void> deleteNotebookInstance({
required String notebookInstanceName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DeleteNotebookInstance'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'NotebookInstanceName': notebookInstanceName,
},
);
}