aws_sdk_datazone/client/stop_notebook_run.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 [`StopNotebookRun`](crate::operation::stop_notebook_run::builders::StopNotebookRunFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_identifier(impl Into<String>)`](crate::operation::stop_notebook_run::builders::StopNotebookRunFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::stop_notebook_run::builders::StopNotebookRunFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon SageMaker Unified Studio domain in which the notebook run is stopped.</p><br>
7 /// - [`identifier(impl Into<String>)`](crate::operation::stop_notebook_run::builders::StopNotebookRunFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::stop_notebook_run::builders::StopNotebookRunFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the notebook run to stop.</p><br>
8 /// - [`client_token(impl Into<String>)`](crate::operation::stop_notebook_run::builders::StopNotebookRunFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::stop_notebook_run::builders::StopNotebookRunFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.</p><br>
9 /// - On success, responds with [`StopNotebookRunOutput`](crate::operation::stop_notebook_run::StopNotebookRunOutput) with field(s):
10 /// - [`id(String)`](crate::operation::stop_notebook_run::StopNotebookRunOutput::id): <p>The identifier of the notebook run.</p>
11 /// - [`domain_id(String)`](crate::operation::stop_notebook_run::StopNotebookRunOutput::domain_id): <p>The identifier of the Amazon SageMaker Unified Studio domain.</p>
12 /// - [`owning_project_id(String)`](crate::operation::stop_notebook_run::StopNotebookRunOutput::owning_project_id): <p>The identifier of the project that owns the notebook run.</p>
13 /// - [`status(NotebookRunStatus)`](crate::operation::stop_notebook_run::StopNotebookRunOutput::status): <p>The status of the notebook run.</p>
14 /// - On failure, responds with [`SdkError<StopNotebookRunError>`](crate::operation::stop_notebook_run::StopNotebookRunError)
15 pub fn stop_notebook_run(&self) -> crate::operation::stop_notebook_run::builders::StopNotebookRunFluentBuilder {
16 crate::operation::stop_notebook_run::builders::StopNotebookRunFluentBuilder::new(self.handle.clone())
17 }
18}