1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateNotebookInstanceLifecycleConfig`](crate::operation::create_notebook_instance_lifecycle_config::builders::CreateNotebookInstanceLifecycleConfigFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`notebook_instance_lifecycle_config_name(impl Into<String>)`](crate::operation::create_notebook_instance_lifecycle_config::builders::CreateNotebookInstanceLifecycleConfigFluentBuilder::notebook_instance_lifecycle_config_name) / [`set_notebook_instance_lifecycle_config_name(Option<String>)`](crate::operation::create_notebook_instance_lifecycle_config::builders::CreateNotebookInstanceLifecycleConfigFluentBuilder::set_notebook_instance_lifecycle_config_name):<br>required: **true**<br><p>The name of the lifecycle configuration.</p><br>
    ///   - [`on_create(NotebookInstanceLifecycleHook)`](crate::operation::create_notebook_instance_lifecycle_config::builders::CreateNotebookInstanceLifecycleConfigFluentBuilder::on_create) / [`set_on_create(Option<Vec::<NotebookInstanceLifecycleHook>>)`](crate::operation::create_notebook_instance_lifecycle_config::builders::CreateNotebookInstanceLifecycleConfigFluentBuilder::set_on_create):<br>required: **false**<br><p>A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.</p><br>
    ///   - [`on_start(NotebookInstanceLifecycleHook)`](crate::operation::create_notebook_instance_lifecycle_config::builders::CreateNotebookInstanceLifecycleConfigFluentBuilder::on_start) / [`set_on_start(Option<Vec::<NotebookInstanceLifecycleHook>>)`](crate::operation::create_notebook_instance_lifecycle_config::builders::CreateNotebookInstanceLifecycleConfigFluentBuilder::set_on_start):<br>required: **false**<br><p>A 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>
    /// - On success, responds with [`CreateNotebookInstanceLifecycleConfigOutput`](crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigOutput) with field(s):
    ///   - [`notebook_instance_lifecycle_config_arn(Option<String>)`](crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigOutput::notebook_instance_lifecycle_config_arn): <p>The Amazon Resource Name (ARN) of the lifecycle configuration.</p>
    /// - On failure, responds with [`SdkError<CreateNotebookInstanceLifecycleConfigError>`](crate::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigError)
    pub fn create_notebook_instance_lifecycle_config(
        &self,
    ) -> crate::operation::create_notebook_instance_lifecycle_config::builders::CreateNotebookInstanceLifecycleConfigFluentBuilder {
        crate::operation::create_notebook_instance_lifecycle_config::builders::CreateNotebookInstanceLifecycleConfigFluentBuilder::new(
            self.handle.clone(),
        )
    }
}