#[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 ==
.