Struct aws_sdk_sagemaker::operation::stop_notebook_instance::builders::StopNotebookInstanceFluentBuilder
source · pub struct StopNotebookInstanceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StopNotebookInstance
.
Terminates the ML compute instance. Before terminating the instance, SageMaker disconnects the ML storage volume from it. SageMaker preserves the ML storage volume. SageMaker stops charging you for the ML compute instance when you call StopNotebookInstance
.
To access data on the ML storage volume for a notebook instance that has been terminated, call the StartNotebookInstance
API. StartNotebookInstance
launches another ML compute instance, configures it, and attaches the preserved ML storage volume so you can continue your work.
Implementations§
source§impl StopNotebookInstanceFluentBuilder
impl StopNotebookInstanceFluentBuilder
sourcepub fn as_input(&self) -> &StopNotebookInstanceInputBuilder
pub fn as_input(&self) -> &StopNotebookInstanceInputBuilder
Access the StopNotebookInstance as a reference.
sourcepub async fn send(
self
) -> Result<StopNotebookInstanceOutput, SdkError<StopNotebookInstanceError, HttpResponse>>
pub async fn send( self ) -> Result<StopNotebookInstanceOutput, SdkError<StopNotebookInstanceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StopNotebookInstanceOutput, StopNotebookInstanceError, Self>
pub fn customize( self ) -> CustomizableOperation<StopNotebookInstanceOutput, StopNotebookInstanceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn notebook_instance_name(self, input: impl Into<String>) -> Self
pub fn notebook_instance_name(self, input: impl Into<String>) -> Self
The name of the notebook instance to terminate.
sourcepub fn set_notebook_instance_name(self, input: Option<String>) -> Self
pub fn set_notebook_instance_name(self, input: Option<String>) -> Self
The name of the notebook instance to terminate.
sourcepub fn get_notebook_instance_name(&self) -> &Option<String>
pub fn get_notebook_instance_name(&self) -> &Option<String>
The name of the notebook instance to terminate.
Trait Implementations§
source§impl Clone for StopNotebookInstanceFluentBuilder
impl Clone for StopNotebookInstanceFluentBuilder
source§fn clone(&self) -> StopNotebookInstanceFluentBuilder
fn clone(&self) -> StopNotebookInstanceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more