aws_sdk_sagemaker/client/stop_notebook_instance.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`StopNotebookInstance`](crate::operation::stop_notebook_instance::builders::StopNotebookInstanceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`notebook_instance_name(impl Into<String>)`](crate::operation::stop_notebook_instance::builders::StopNotebookInstanceFluentBuilder::notebook_instance_name) / [`set_notebook_instance_name(Option<String>)`](crate::operation::stop_notebook_instance::builders::StopNotebookInstanceFluentBuilder::set_notebook_instance_name):<br>required: **true**<br><p>The name of the notebook instance to terminate.</p><br>
7 /// - On success, responds with [`StopNotebookInstanceOutput`](crate::operation::stop_notebook_instance::StopNotebookInstanceOutput)
8 /// - On failure, responds with [`SdkError<StopNotebookInstanceError>`](crate::operation::stop_notebook_instance::StopNotebookInstanceError)
9 pub fn stop_notebook_instance(&self) -> crate::operation::stop_notebook_instance::builders::StopNotebookInstanceFluentBuilder {
10 crate::operation::stop_notebook_instance::builders::StopNotebookInstanceFluentBuilder::new(self.handle.clone())
11 }
12}