Struct aws_sdk_sagemaker::operation::describe_notebook_instance_lifecycle_config::DescribeNotebookInstanceLifecycleConfigOutput
source · #[non_exhaustive]pub struct DescribeNotebookInstanceLifecycleConfigOutput {
pub notebook_instance_lifecycle_config_arn: Option<String>,
pub notebook_instance_lifecycle_config_name: Option<String>,
pub on_create: Option<Vec<NotebookInstanceLifecycleHook>>,
pub on_start: Option<Vec<NotebookInstanceLifecycleHook>>,
pub last_modified_time: Option<DateTime>,
pub creation_time: Option<DateTime>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.notebook_instance_lifecycle_config_arn: Option<String>The Amazon Resource Name (ARN) of the lifecycle configuration.
notebook_instance_lifecycle_config_name: Option<String>The name of the lifecycle configuration.
on_create: Option<Vec<NotebookInstanceLifecycleHook>>The shell script that runs only once, when you create a notebook instance.
on_start: Option<Vec<NotebookInstanceLifecycleHook>>The shell script that runs every time you start a notebook instance, including when you create the notebook instance.
last_modified_time: Option<DateTime>A timestamp that tells when the lifecycle configuration was last modified.
creation_time: Option<DateTime>A timestamp that tells when the lifecycle configuration was created.
Implementations§
source§impl DescribeNotebookInstanceLifecycleConfigOutput
impl DescribeNotebookInstanceLifecycleConfigOutput
sourcepub fn notebook_instance_lifecycle_config_arn(&self) -> Option<&str>
pub fn notebook_instance_lifecycle_config_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the lifecycle configuration.
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) -> &[NotebookInstanceLifecycleHook]
pub fn on_create(&self) -> &[NotebookInstanceLifecycleHook]
The shell script that runs only once, when you create a notebook instance.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .on_create.is_none().
sourcepub fn on_start(&self) -> &[NotebookInstanceLifecycleHook]
pub fn on_start(&self) -> &[NotebookInstanceLifecycleHook]
The shell script that runs every time you start a notebook instance, including when you create the notebook instance.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .on_start.is_none().
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
A timestamp that tells when the lifecycle configuration was last modified.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
A timestamp that tells when the lifecycle configuration was created.
source§impl DescribeNotebookInstanceLifecycleConfigOutput
impl DescribeNotebookInstanceLifecycleConfigOutput
sourcepub fn builder() -> DescribeNotebookInstanceLifecycleConfigOutputBuilder
pub fn builder() -> DescribeNotebookInstanceLifecycleConfigOutputBuilder
Creates a new builder-style object to manufacture DescribeNotebookInstanceLifecycleConfigOutput.
Trait Implementations§
source§impl Clone for DescribeNotebookInstanceLifecycleConfigOutput
impl Clone for DescribeNotebookInstanceLifecycleConfigOutput
source§fn clone(&self) -> DescribeNotebookInstanceLifecycleConfigOutput
fn clone(&self) -> DescribeNotebookInstanceLifecycleConfigOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DescribeNotebookInstanceLifecycleConfigOutput
impl PartialEq for DescribeNotebookInstanceLifecycleConfigOutput
source§fn eq(&self, other: &DescribeNotebookInstanceLifecycleConfigOutput) -> bool
fn eq(&self, other: &DescribeNotebookInstanceLifecycleConfigOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribeNotebookInstanceLifecycleConfigOutput
impl RequestId for DescribeNotebookInstanceLifecycleConfigOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.