#[non_exhaustive]pub struct AwsLambdaFunctionDetails {Show 18 fields
pub code: Option<AwsLambdaFunctionCode>,
pub code_sha256: Option<String>,
pub dead_letter_config: Option<AwsLambdaFunctionDeadLetterConfig>,
pub environment: Option<AwsLambdaFunctionEnvironment>,
pub function_name: Option<String>,
pub handler: Option<String>,
pub kms_key_arn: Option<String>,
pub last_modified: Option<String>,
pub layers: Option<Vec<AwsLambdaFunctionLayer>>,
pub master_arn: Option<String>,
pub memory_size: i32,
pub revision_id: Option<String>,
pub role: Option<String>,
pub runtime: Option<String>,
pub timeout: i32,
pub tracing_config: Option<AwsLambdaFunctionTracingConfig>,
pub vpc_config: Option<AwsLambdaFunctionVpcConfig>,
pub version: Option<String>,
}
Expand description
Details about a function's configuration.
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.code: Option<AwsLambdaFunctionCode>
An AwsLambdaFunctionCode
object.
code_sha256: Option<String>
The SHA256 hash of the function's deployment package.
dead_letter_config: Option<AwsLambdaFunctionDeadLetterConfig>
The function's dead letter queue.
environment: Option<AwsLambdaFunctionEnvironment>
The function's environment variables.
function_name: Option<String>
The name of the function.
handler: Option<String>
The function that Lambda calls to begin executing your function.
kms_key_arn: Option<String>
The KMS key that is used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed customer managed key.
last_modified: Option<String>
Indicates when the function was last updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
layers: Option<Vec<AwsLambdaFunctionLayer>>
The function's layers.
master_arn: Option<String>
For Lambda@Edge functions, the ARN of the master function.
memory_size: i32
The memory that is allocated to the function.
revision_id: Option<String>
The latest updated revision of the function or alias.
role: Option<String>
The function's execution role.
runtime: Option<String>
The runtime environment for the Lambda function.
timeout: i32
The amount of time that Lambda allows a function to run before stopping it.
tracing_config: Option<AwsLambdaFunctionTracingConfig>
The function's X-Ray tracing configuration.
vpc_config: Option<AwsLambdaFunctionVpcConfig>
The function's networking configuration.
version: Option<String>
The version of the Lambda function.
Implementations
sourceimpl AwsLambdaFunctionDetails
impl AwsLambdaFunctionDetails
sourcepub fn code(&self) -> Option<&AwsLambdaFunctionCode>
pub fn code(&self) -> Option<&AwsLambdaFunctionCode>
An AwsLambdaFunctionCode
object.
sourcepub fn code_sha256(&self) -> Option<&str>
pub fn code_sha256(&self) -> Option<&str>
The SHA256 hash of the function's deployment package.
sourcepub fn dead_letter_config(&self) -> Option<&AwsLambdaFunctionDeadLetterConfig>
pub fn dead_letter_config(&self) -> Option<&AwsLambdaFunctionDeadLetterConfig>
The function's dead letter queue.
sourcepub fn environment(&self) -> Option<&AwsLambdaFunctionEnvironment>
pub fn environment(&self) -> Option<&AwsLambdaFunctionEnvironment>
The function's environment variables.
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
The name of the function.
sourcepub fn handler(&self) -> Option<&str>
pub fn handler(&self) -> Option<&str>
The function that Lambda calls to begin executing your function.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The KMS key that is used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed customer managed key.
sourcepub fn last_modified(&self) -> Option<&str>
pub fn last_modified(&self) -> Option<&str>
Indicates when the function was last updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn master_arn(&self) -> Option<&str>
pub fn master_arn(&self) -> Option<&str>
For Lambda@Edge functions, the ARN of the master function.
sourcepub fn memory_size(&self) -> i32
pub fn memory_size(&self) -> i32
The memory that is allocated to the function.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
The latest updated revision of the function or alias.
sourcepub fn timeout(&self) -> i32
pub fn timeout(&self) -> i32
The amount of time that Lambda allows a function to run before stopping it.
sourcepub fn tracing_config(&self) -> Option<&AwsLambdaFunctionTracingConfig>
pub fn tracing_config(&self) -> Option<&AwsLambdaFunctionTracingConfig>
The function's X-Ray tracing configuration.
sourcepub fn vpc_config(&self) -> Option<&AwsLambdaFunctionVpcConfig>
pub fn vpc_config(&self) -> Option<&AwsLambdaFunctionVpcConfig>
The function's networking configuration.
sourceimpl AwsLambdaFunctionDetails
impl AwsLambdaFunctionDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsLambdaFunctionDetails
Trait Implementations
sourceimpl Clone for AwsLambdaFunctionDetails
impl Clone for AwsLambdaFunctionDetails
sourcefn clone(&self) -> AwsLambdaFunctionDetails
fn clone(&self) -> AwsLambdaFunctionDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AwsLambdaFunctionDetails
impl Debug for AwsLambdaFunctionDetails
sourceimpl PartialEq<AwsLambdaFunctionDetails> for AwsLambdaFunctionDetails
impl PartialEq<AwsLambdaFunctionDetails> for AwsLambdaFunctionDetails
sourcefn eq(&self, other: &AwsLambdaFunctionDetails) -> bool
fn eq(&self, other: &AwsLambdaFunctionDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsLambdaFunctionDetails) -> bool
fn ne(&self, other: &AwsLambdaFunctionDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsLambdaFunctionDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsLambdaFunctionDetails
impl Send for AwsLambdaFunctionDetails
impl Sync for AwsLambdaFunctionDetails
impl Unpin for AwsLambdaFunctionDetails
impl UnwindSafe for AwsLambdaFunctionDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more