Struct aws_sdk_sagemaker::operation::update_notebook_instance_lifecycle_config::UpdateNotebookInstanceLifecycleConfigInput
source · #[non_exhaustive]pub struct UpdateNotebookInstanceLifecycleConfigInput {
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>>
The 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>>
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.
Implementations§
source§impl UpdateNotebookInstanceLifecycleConfigInput
impl UpdateNotebookInstanceLifecycleConfigInput
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. 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]
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.
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 UpdateNotebookInstanceLifecycleConfigInput
impl UpdateNotebookInstanceLifecycleConfigInput
sourcepub fn builder() -> UpdateNotebookInstanceLifecycleConfigInputBuilder
pub fn builder() -> UpdateNotebookInstanceLifecycleConfigInputBuilder
Creates a new builder-style object to manufacture UpdateNotebookInstanceLifecycleConfigInput
.
Trait Implementations§
source§impl Clone for UpdateNotebookInstanceLifecycleConfigInput
impl Clone for UpdateNotebookInstanceLifecycleConfigInput
source§fn clone(&self) -> UpdateNotebookInstanceLifecycleConfigInput
fn clone(&self) -> UpdateNotebookInstanceLifecycleConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateNotebookInstanceLifecycleConfigInput
impl PartialEq for UpdateNotebookInstanceLifecycleConfigInput
source§fn eq(&self, other: &UpdateNotebookInstanceLifecycleConfigInput) -> bool
fn eq(&self, other: &UpdateNotebookInstanceLifecycleConfigInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateNotebookInstanceLifecycleConfigInput
Auto Trait Implementations§
impl Freeze for UpdateNotebookInstanceLifecycleConfigInput
impl RefUnwindSafe for UpdateNotebookInstanceLifecycleConfigInput
impl Send for UpdateNotebookInstanceLifecycleConfigInput
impl Sync for UpdateNotebookInstanceLifecycleConfigInput
impl Unpin for UpdateNotebookInstanceLifecycleConfigInput
impl UnwindSafe for UpdateNotebookInstanceLifecycleConfigInput
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