fn delete_notebook_instance(
        &self,
        input: DeleteNotebookInstanceInput,
    ) -> RusotoFuture<(), DeleteNotebookInstanceError> {
        let mut request = SignedRequest::new("POST", "sagemaker", &self.region, "/");

        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "SageMaker.DeleteNotebookInstance");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded.into_bytes()));

        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(future::ok(::std::mem::drop(response)))
            } else {
                Box::new(
                    response.buffer().from_err().and_then(|response| {
                        Err(DeleteNotebookInstanceError::from_response(response))
                    }),
                )
            }
        })
    }
/// <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>
 Deletes an Amazon SageMaker notebook instance. Before you can delete a notebook instance, you must call the StopNotebookInstance API.   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.
Deletes an Amazon SageMaker notebook instance . Before you can delete a notebook instance you must call the StopNotebookInstance API . 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 .
fn delete_notebook_instance(
        &self,
        input: DeleteNotebookInstanceInput,
    ) -> RusotoFuture<(), DeleteNotebookInstanceError> {
        let mut request = SignedRequest::new("POST", "sagemaker", &self.region, "/");
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "SageMaker.DeleteNotebookInstance");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded.into_bytes()));
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(future::ok(::std::mem::drop(response)))
            } else {
                Box::new(
                    response.buffer().from_err().and_then(|response| {
                        Err(DeleteNotebookInstanceError::from_response(response))
                    }),
                )
            }
        })
    }
fn delete_notebook_instance ( & self , input : DeleteNotebookInstanceInput , ) -> RusotoFuture < ( ) , DeleteNotebookInstanceError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; request . set_content_type ( " " . to_owned ( ) ) ; request . add_header ( " " , " " ) ; let encoded = serde_json :: to_string ( & input ) . unwrap ( ) ; request . set_payload ( Some ( encoded . into_bytes ( ) ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( future :: ok ( :: std :: mem :: drop ( response ) ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( DeleteNotebookInstanceError :: from_response ( response ) ) } ) , ) } } ) }
<p><p> Deletes an Amazon SageMaker notebook instance.
<p > <p > Deletes an Amazon SageMaker notebook instance .
&self
input
DeleteNotebookInstanceInput
&self
input
DeleteNotebookInstanceInput