Struct aws_sdk_lambda::types::SnapStartResponse
source · #[non_exhaustive]pub struct SnapStartResponse {
pub apply_on: Option<SnapStartApplyOn>,
pub optimization_status: Option<SnapStartOptimizationStatus>,
}
Expand description
The function's SnapStart setting.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.apply_on: Option<SnapStartApplyOn>
When set to PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version.
optimization_status: Option<SnapStartOptimizationStatus>
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
Implementations§
source§impl SnapStartResponse
impl SnapStartResponse
sourcepub fn apply_on(&self) -> Option<&SnapStartApplyOn>
pub fn apply_on(&self) -> Option<&SnapStartApplyOn>
When set to PublishedVersions
, Lambda creates a snapshot of the execution environment when you publish a function version.
sourcepub fn optimization_status(&self) -> Option<&SnapStartOptimizationStatus>
pub fn optimization_status(&self) -> Option<&SnapStartOptimizationStatus>
When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.
source§impl SnapStartResponse
impl SnapStartResponse
sourcepub fn builder() -> SnapStartResponseBuilder
pub fn builder() -> SnapStartResponseBuilder
Creates a new builder-style object to manufacture SnapStartResponse
.
Trait Implementations§
source§impl Clone for SnapStartResponse
impl Clone for SnapStartResponse
source§fn clone(&self) -> SnapStartResponse
fn clone(&self) -> SnapStartResponse
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 Debug for SnapStartResponse
impl Debug for SnapStartResponse
source§impl PartialEq for SnapStartResponse
impl PartialEq for SnapStartResponse
source§fn eq(&self, other: &SnapStartResponse) -> bool
fn eq(&self, other: &SnapStartResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SnapStartResponse
Auto Trait Implementations§
impl Freeze for SnapStartResponse
impl RefUnwindSafe for SnapStartResponse
impl Send for SnapStartResponse
impl Sync for SnapStartResponse
impl Unpin for SnapStartResponse
impl UnwindSafe for SnapStartResponse
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.