pub struct StopNotebookInstance { /* 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 StopNotebookInstance
impl StopNotebookInstance
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StopNotebookInstance, AwsResponseRetryClassifier>, SdkError<StopNotebookInstanceError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StopNotebookInstance, AwsResponseRetryClassifier>, SdkError<StopNotebookInstanceError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<StopNotebookInstanceOutput, SdkError<StopNotebookInstanceError>>
pub async fn send(
self
) -> Result<StopNotebookInstanceOutput, SdkError<StopNotebookInstanceError>>
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 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.
Trait Implementations§
source§impl Clone for StopNotebookInstance
impl Clone for StopNotebookInstance
source§fn clone(&self) -> StopNotebookInstance
fn clone(&self) -> StopNotebookInstance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more