aws_sdk_sagemaker/client/update_notebook_instance_lifecycle_config.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 [`UpdateNotebookInstanceLifecycleConfig`](crate::operation::update_notebook_instance_lifecycle_config::builders::UpdateNotebookInstanceLifecycleConfigFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`notebook_instance_lifecycle_config_name(impl Into<String>)`](crate::operation::update_notebook_instance_lifecycle_config::builders::UpdateNotebookInstanceLifecycleConfigFluentBuilder::notebook_instance_lifecycle_config_name) / [`set_notebook_instance_lifecycle_config_name(Option<String>)`](crate::operation::update_notebook_instance_lifecycle_config::builders::UpdateNotebookInstanceLifecycleConfigFluentBuilder::set_notebook_instance_lifecycle_config_name):<br>required: **true**<br><p>The name of the lifecycle configuration.</p><br>
7 /// - [`on_create(NotebookInstanceLifecycleHook)`](crate::operation::update_notebook_instance_lifecycle_config::builders::UpdateNotebookInstanceLifecycleConfigFluentBuilder::on_create) / [`set_on_create(Option<Vec::<NotebookInstanceLifecycleHook>>)`](crate::operation::update_notebook_instance_lifecycle_config::builders::UpdateNotebookInstanceLifecycleConfigFluentBuilder::set_on_create):<br>required: **false**<br><p>The shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.</p><br>
8 /// - [`on_start(NotebookInstanceLifecycleHook)`](crate::operation::update_notebook_instance_lifecycle_config::builders::UpdateNotebookInstanceLifecycleConfigFluentBuilder::on_start) / [`set_on_start(Option<Vec::<NotebookInstanceLifecycleHook>>)`](crate::operation::update_notebook_instance_lifecycle_config::builders::UpdateNotebookInstanceLifecycleConfigFluentBuilder::set_on_start):<br>required: **false**<br><p>The shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.</p><br>
9 /// - On success, responds with [`UpdateNotebookInstanceLifecycleConfigOutput`](crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigOutput)
10 /// - On failure, responds with [`SdkError<UpdateNotebookInstanceLifecycleConfigError>`](crate::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigError)
11 pub fn update_notebook_instance_lifecycle_config(
12 &self,
13 ) -> crate::operation::update_notebook_instance_lifecycle_config::builders::UpdateNotebookInstanceLifecycleConfigFluentBuilder {
14 crate::operation::update_notebook_instance_lifecycle_config::builders::UpdateNotebookInstanceLifecycleConfigFluentBuilder::new(
15 self.handle.clone(),
16 )
17 }
18}