#[non_exhaustive]pub struct FunctionEventInvokeConfigBuilder { /* private fields */ }
Expand description
A builder for FunctionEventInvokeConfig
.
Implementations§
source§impl FunctionEventInvokeConfigBuilder
impl FunctionEventInvokeConfigBuilder
sourcepub fn last_modified(self, input: DateTime) -> Self
pub fn last_modified(self, input: DateTime) -> Self
The date and time that the configuration was last updated.
sourcepub fn set_last_modified(self, input: Option<DateTime>) -> Self
pub fn set_last_modified(self, input: Option<DateTime>) -> Self
The date and time that the configuration was last updated.
sourcepub fn get_last_modified(&self) -> &Option<DateTime>
pub fn get_last_modified(&self) -> &Option<DateTime>
The date and time that the configuration was last updated.
sourcepub fn function_arn(self, input: impl Into<String>) -> Self
pub fn function_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the function.
sourcepub fn set_function_arn(self, input: Option<String>) -> Self
pub fn set_function_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the function.
sourcepub fn get_function_arn(&self) -> &Option<String>
pub fn get_function_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the function.
sourcepub fn maximum_retry_attempts(self, input: i32) -> Self
pub fn maximum_retry_attempts(self, input: i32) -> Self
The maximum number of times to retry when the function returns an error.
sourcepub fn set_maximum_retry_attempts(self, input: Option<i32>) -> Self
pub fn set_maximum_retry_attempts(self, input: Option<i32>) -> Self
The maximum number of times to retry when the function returns an error.
sourcepub fn get_maximum_retry_attempts(&self) -> &Option<i32>
pub fn get_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, input: i32) -> Self
pub fn maximum_event_age_in_seconds(self, input: i32) -> Self
The maximum age of a request that Lambda sends to a function for processing.
sourcepub fn set_maximum_event_age_in_seconds(self, input: Option<i32>) -> Self
pub fn set_maximum_event_age_in_seconds(self, input: Option<i32>) -> Self
The maximum age of a request that Lambda sends to a function for processing.
sourcepub fn get_maximum_event_age_in_seconds(&self) -> &Option<i32>
pub fn get_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, input: DestinationConfig) -> Self
pub fn destination_config(self, input: DestinationConfig) -> Self
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.
sourcepub fn set_destination_config(self, input: Option<DestinationConfig>) -> Self
pub fn set_destination_config(self, input: Option<DestinationConfig>) -> Self
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.
sourcepub fn get_destination_config(&self) -> &Option<DestinationConfig>
pub fn get_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.
sourcepub fn build(self) -> FunctionEventInvokeConfig
pub fn build(self) -> FunctionEventInvokeConfig
Consumes the builder and constructs a FunctionEventInvokeConfig
.
Trait Implementations§
source§impl Clone for FunctionEventInvokeConfigBuilder
impl Clone for FunctionEventInvokeConfigBuilder
source§fn clone(&self) -> FunctionEventInvokeConfigBuilder
fn clone(&self) -> FunctionEventInvokeConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FunctionEventInvokeConfigBuilder
impl Default for FunctionEventInvokeConfigBuilder
source§fn default() -> FunctionEventInvokeConfigBuilder
fn default() -> FunctionEventInvokeConfigBuilder
source§impl PartialEq for FunctionEventInvokeConfigBuilder
impl PartialEq for FunctionEventInvokeConfigBuilder
source§fn eq(&self, other: &FunctionEventInvokeConfigBuilder) -> bool
fn eq(&self, other: &FunctionEventInvokeConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FunctionEventInvokeConfigBuilder
Auto Trait Implementations§
impl Freeze for FunctionEventInvokeConfigBuilder
impl RefUnwindSafe for FunctionEventInvokeConfigBuilder
impl Send for FunctionEventInvokeConfigBuilder
impl Sync for FunctionEventInvokeConfigBuilder
impl Unpin for FunctionEventInvokeConfigBuilder
impl UnwindSafe for FunctionEventInvokeConfigBuilder
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