Struct aws_sdk_lambda::types::RuntimeVersionConfig
source · #[non_exhaustive]pub struct RuntimeVersionConfig {
pub runtime_version_arn: Option<String>,
pub error: Option<RuntimeVersionError>,
}
Expand description
The ARN of the runtime and any errors that occured.
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.runtime_version_arn: Option<String>
The ARN of the runtime version you want the function to use.
error: Option<RuntimeVersionError>
Error response when Lambda is unable to retrieve the runtime version for a function.
Implementations§
source§impl RuntimeVersionConfig
impl RuntimeVersionConfig
sourcepub fn runtime_version_arn(&self) -> Option<&str>
pub fn runtime_version_arn(&self) -> Option<&str>
The ARN of the runtime version you want the function to use.
sourcepub fn error(&self) -> Option<&RuntimeVersionError>
pub fn error(&self) -> Option<&RuntimeVersionError>
Error response when Lambda is unable to retrieve the runtime version for a function.
source§impl RuntimeVersionConfig
impl RuntimeVersionConfig
sourcepub fn builder() -> RuntimeVersionConfigBuilder
pub fn builder() -> RuntimeVersionConfigBuilder
Creates a new builder-style object to manufacture RuntimeVersionConfig
.
Trait Implementations§
source§impl Clone for RuntimeVersionConfig
impl Clone for RuntimeVersionConfig
source§fn clone(&self) -> RuntimeVersionConfig
fn clone(&self) -> RuntimeVersionConfig
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 RuntimeVersionConfig
impl Debug for RuntimeVersionConfig
source§impl PartialEq for RuntimeVersionConfig
impl PartialEq for RuntimeVersionConfig
source§fn eq(&self, other: &RuntimeVersionConfig) -> bool
fn eq(&self, other: &RuntimeVersionConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuntimeVersionConfig
Auto Trait Implementations§
impl RefUnwindSafe for RuntimeVersionConfig
impl Send for RuntimeVersionConfig
impl Sync for RuntimeVersionConfig
impl Unpin for RuntimeVersionConfig
impl UnwindSafe for RuntimeVersionConfig
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> 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>
Creates a shared type from an unshared type.