Struct aws_sdk_sagemaker::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigInput
source · #[non_exhaustive]pub struct CreateNotebookInstanceLifecycleConfigInput { /* private fields */ }
Implementations§
source§impl CreateNotebookInstanceLifecycleConfigInput
impl CreateNotebookInstanceLifecycleConfigInput
sourcepub fn notebook_instance_lifecycle_config_name(&self) -> Option<&str>
pub fn notebook_instance_lifecycle_config_name(&self) -> Option<&str>
The name of the lifecycle configuration.
sourcepub fn on_create(&self) -> Option<&[NotebookInstanceLifecycleHook]>
pub fn on_create(&self) -> Option<&[NotebookInstanceLifecycleHook]>
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
sourcepub fn on_start(&self) -> Option<&[NotebookInstanceLifecycleHook]>
pub fn on_start(&self) -> Option<&[NotebookInstanceLifecycleHook]>
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.
source§impl CreateNotebookInstanceLifecycleConfigInput
impl CreateNotebookInstanceLifecycleConfigInput
sourcepub fn builder() -> CreateNotebookInstanceLifecycleConfigInputBuilder
pub fn builder() -> CreateNotebookInstanceLifecycleConfigInputBuilder
Creates a new builder-style object to manufacture CreateNotebookInstanceLifecycleConfigInput
.
source§impl CreateNotebookInstanceLifecycleConfigInput
impl CreateNotebookInstanceLifecycleConfigInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateNotebookInstanceLifecycleConfig, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<CreateNotebookInstanceLifecycleConfig, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateNotebookInstanceLifecycleConfig
>
Trait Implementations§
source§impl Clone for CreateNotebookInstanceLifecycleConfigInput
impl Clone for CreateNotebookInstanceLifecycleConfigInput
source§fn clone(&self) -> CreateNotebookInstanceLifecycleConfigInput
fn clone(&self) -> CreateNotebookInstanceLifecycleConfigInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<CreateNotebookInstanceLifecycleConfigInput> for CreateNotebookInstanceLifecycleConfigInput
impl PartialEq<CreateNotebookInstanceLifecycleConfigInput> for CreateNotebookInstanceLifecycleConfigInput
source§fn eq(&self, other: &CreateNotebookInstanceLifecycleConfigInput) -> bool
fn eq(&self, other: &CreateNotebookInstanceLifecycleConfigInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.