pub struct DeleteNotebookInstance { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteNotebookInstance
.
Deletes an 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. SageMaker removes the ML compute instance, and deletes the ML storage volume and the network interface associated with the notebook instance.
Implementations§
source§impl DeleteNotebookInstance
impl DeleteNotebookInstance
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteNotebookInstance, AwsResponseRetryClassifier>, SdkError<DeleteNotebookInstanceError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteNotebookInstance, AwsResponseRetryClassifier>, SdkError<DeleteNotebookInstanceError>>
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<DeleteNotebookInstanceOutput, SdkError<DeleteNotebookInstanceError>>
pub async fn send(
self
) -> Result<DeleteNotebookInstanceOutput, SdkError<DeleteNotebookInstanceError>>
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 SageMaker notebook instance to delete.
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 SageMaker notebook instance to delete.
Trait Implementations§
source§impl Clone for DeleteNotebookInstance
impl Clone for DeleteNotebookInstance
source§fn clone(&self) -> DeleteNotebookInstance
fn clone(&self) -> DeleteNotebookInstance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more