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 ==
.impl StructuralPartialEq for FunctionEventInvokeConfig
Auto Trait Implementations§
impl Freeze for FunctionEventInvokeConfig
impl RefUnwindSafe for FunctionEventInvokeConfig
impl Send for FunctionEventInvokeConfig
impl Sync for FunctionEventInvokeConfig
impl Unpin for FunctionEventInvokeConfig
impl UnwindSafe for FunctionEventInvokeConfig
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