aws_sdk_emr/client/
stop_notebook_execution.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 [`StopNotebookExecution`](crate::operation::stop_notebook_execution::builders::StopNotebookExecutionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`notebook_execution_id(impl Into<String>)`](crate::operation::stop_notebook_execution::builders::StopNotebookExecutionFluentBuilder::notebook_execution_id) / [`set_notebook_execution_id(Option<String>)`](crate::operation::stop_notebook_execution::builders::StopNotebookExecutionFluentBuilder::set_notebook_execution_id):<br>required: **true**<br><p>The unique identifier of the notebook execution.</p><br>
7    /// - On success, responds with [`StopNotebookExecutionOutput`](crate::operation::stop_notebook_execution::StopNotebookExecutionOutput)
8    /// - On failure, responds with [`SdkError<StopNotebookExecutionError>`](crate::operation::stop_notebook_execution::StopNotebookExecutionError)
9    pub fn stop_notebook_execution(&self) -> crate::operation::stop_notebook_execution::builders::StopNotebookExecutionFluentBuilder {
10        crate::operation::stop_notebook_execution::builders::StopNotebookExecutionFluentBuilder::new(self.handle.clone())
11    }
12}