Struct aws_sdk_sagemaker::operation::create_notebook_instance_lifecycle_config::CreateNotebookInstanceLifecycleConfigInput
source · #[non_exhaustive]pub struct CreateNotebookInstanceLifecycleConfigInput {
pub notebook_instance_lifecycle_config_name: Option<String>,
pub on_create: Option<Vec<NotebookInstanceLifecycleHook>>,
pub on_start: Option<Vec<NotebookInstanceLifecycleHook>>,
}
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_name: Option<String>
The name of the lifecycle configuration.
on_create: Option<Vec<NotebookInstanceLifecycleHook>>
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
on_start: Option<Vec<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.
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) -> &[NotebookInstanceLifecycleHook]
pub fn on_create(&self) -> &[NotebookInstanceLifecycleHook]
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
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]
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.
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()
.
source§impl CreateNotebookInstanceLifecycleConfigInput
impl CreateNotebookInstanceLifecycleConfigInput
sourcepub fn builder() -> CreateNotebookInstanceLifecycleConfigInputBuilder
pub fn builder() -> CreateNotebookInstanceLifecycleConfigInputBuilder
Creates a new builder-style object to manufacture CreateNotebookInstanceLifecycleConfigInput
.
Trait Implementations§
source§impl Clone for CreateNotebookInstanceLifecycleConfigInput
impl Clone for CreateNotebookInstanceLifecycleConfigInput
source§fn clone(&self) -> CreateNotebookInstanceLifecycleConfigInput
fn clone(&self) -> CreateNotebookInstanceLifecycleConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateNotebookInstanceLifecycleConfigInput
impl PartialEq for CreateNotebookInstanceLifecycleConfigInput
source§fn eq(&self, other: &CreateNotebookInstanceLifecycleConfigInput) -> bool
fn eq(&self, other: &CreateNotebookInstanceLifecycleConfigInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateNotebookInstanceLifecycleConfigInput
Auto Trait Implementations§
impl Freeze for CreateNotebookInstanceLifecycleConfigInput
impl RefUnwindSafe for CreateNotebookInstanceLifecycleConfigInput
impl Send for CreateNotebookInstanceLifecycleConfigInput
impl Sync for CreateNotebookInstanceLifecycleConfigInput
impl Unpin for CreateNotebookInstanceLifecycleConfigInput
impl UnwindSafe for CreateNotebookInstanceLifecycleConfigInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more