fn start_notebook_instance(
        &self,
        input: StartNotebookInstanceInput,
    ) -> RusotoFuture<(), StartNotebookInstanceError> {
        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.StartNotebookInstance");
        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(StartNotebookInstanceError::from_response(response))
                    }),
                )
            }
        })
    }
/// <p>Launches an ML compute instance with the latest version of the libraries and attaches your ML storage volume. After configuring the notebook instance, Amazon SageMaker sets the notebook instance status to <code>InService</code>. A notebook instance's status must be <code>InService</code> before you can connect to your Jupyter notebook. </p>
Launches an ML compute instance with the latest version of the libraries and attaches your ML storage volume. After configuring the notebook instance, Amazon SageMaker sets the notebook instance status to InService. A notebook instance's status must be InService before you can connect to your Jupyter notebook.
Launches an ML compute instance with the latest version of the libraries and attaches your ML storage volume . After configuring the notebook instance Amazon SageMaker sets the notebook instance status to InService . A notebook instance ' s status must be InService before you can connect to your Jupyter notebook .
fn start_notebook_instance(
        &self,
        input: StartNotebookInstanceInput,
    ) -> RusotoFuture<(), StartNotebookInstanceError> {
        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.StartNotebookInstance");
        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(StartNotebookInstanceError::from_response(response))
                    }),
                )
            }
        })
    }
fn start_notebook_instance ( & self , input : StartNotebookInstanceInput , ) -> RusotoFuture < ( ) , StartNotebookInstanceError > { 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 ( StartNotebookInstanceError :: from_response ( response ) ) } ) , ) } } ) }
<p>Launches an ML compute instance with the latest version of the libraries and attaches your ML storage volume.
<p > Launches an ML compute instance with the latest version of the libraries and attaches your ML storage volume .
&self
input
StartNotebookInstanceInput
&self
input
StartNotebookInstanceInput