async fn delete_notebook_instance(
        &self,
        input: DeleteNotebookInstanceInput,
    ) -> Result<(), RusotoError<DeleteNotebookInstanceError>> {
        let mut request = self.new_signed_request("POST", "/");
        request.add_header("x-amz-target", "SageMaker.DeleteNotebookInstance");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));

        let response = self
            .sign_and_dispatch(request, DeleteNotebookInstanceError::from_response)
            .await?;
        std::mem::drop(response);
        Ok(())
    }
<p><p> Deletes an Amazon SageMaker notebook instance. Before you can delete a notebook instance, you must call the <code>StopNotebookInstance</code> API. </p> <important> <p>When you delete a notebook instance, you lose all of your data. Amazon SageMaker removes the ML compute instance, and deletes the ML storage volume and the network interface associated with the notebook instance. </p> </important></p>
rusoto/services/sagemaker/src/generated.rs