Struct aws_sdk_lambda::types::FunctionEventInvokeConfig
source · #[non_exhaustive]pub struct FunctionEventInvokeConfig {
pub last_modified: Option<DateTime>,
pub function_arn: Option<String>,
pub maximum_retry_attempts: Option<i32>,
pub maximum_event_age_in_seconds: Option<i32>,
pub destination_config: Option<DestinationConfig>,
}
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.last_modified: Option<DateTime>
The date and time that the configuration was last updated.
function_arn: Option<String>
The Amazon Resource Name (ARN) of the function.
maximum_retry_attempts: Option<i32>
The maximum number of times to retry when the function returns an error.
maximum_event_age_in_seconds: Option<i32>
The maximum age of a request that Lambda sends to a function for processing.
destination_config: Option<DestinationConfig>
A destination for events after they have been sent to a function for processing.
Destinations
-
Function - The Amazon Resource Name (ARN) of a Lambda function.
-
Queue - The ARN of a standard SQS queue.
-
Topic - The ARN of a standard SNS topic.
-
Event Bus - The ARN of an Amazon EventBridge event bus.
Implementations§
source§impl FunctionEventInvokeConfig
impl FunctionEventInvokeConfig
sourcepub fn last_modified(&self) -> Option<&DateTime>
pub fn last_modified(&self) -> Option<&DateTime>
The date and time that the configuration was last updated.
sourcepub fn function_arn(&self) -> Option<&str>
pub fn function_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the function.
sourcepub fn maximum_retry_attempts(&self) -> Option<i32>
pub fn maximum_retry_attempts(&self) -> Option<i32>
The maximum number of times to retry when the function returns an error.
sourcepub fn maximum_event_age_in_seconds(&self) -> Option<i32>
pub fn maximum_event_age_in_seconds(&self) -> Option<i32>
The maximum age of a request that Lambda sends to a function for processing.
sourcepub fn destination_config(&self) -> Option<&DestinationConfig>
pub fn destination_config(&self) -> Option<&DestinationConfig>
A destination for events after they have been sent to a function for processing.
Destinations
-
Function - The Amazon Resource Name (ARN) of a Lambda function.
-
Queue - The ARN of a standard SQS queue.
-
Topic - The ARN of a standard SNS topic.
-
Event Bus - The ARN of an Amazon EventBridge event bus.
source§impl FunctionEventInvokeConfig
impl FunctionEventInvokeConfig
sourcepub fn builder() -> FunctionEventInvokeConfigBuilder
pub fn builder() -> FunctionEventInvokeConfigBuilder
Creates a new builder-style object to manufacture FunctionEventInvokeConfig
.
Trait Implementations§
source§impl Clone for FunctionEventInvokeConfig
impl Clone for FunctionEventInvokeConfig
source§fn clone(&self) -> FunctionEventInvokeConfig
fn clone(&self) -> FunctionEventInvokeConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FunctionEventInvokeConfig
impl Debug for FunctionEventInvokeConfig
source§impl PartialEq for FunctionEventInvokeConfig
impl PartialEq for FunctionEventInvokeConfig
source§fn eq(&self, other: &FunctionEventInvokeConfig) -> bool
fn eq(&self, other: &FunctionEventInvokeConfig) -> bool
self
and other
values to be equal, and is used
by ==
.