pub struct EventSourceMappingConfiguration {Show 14 fields
pub batch_size: Option<i64>,
pub bisect_batch_on_function_error: Option<bool>,
pub destination_config: Option<DestinationConfig>,
pub event_source_arn: Option<String>,
pub function_arn: Option<String>,
pub last_modified: Option<f64>,
pub last_processing_result: Option<String>,
pub maximum_batching_window_in_seconds: Option<i64>,
pub maximum_record_age_in_seconds: Option<i64>,
pub maximum_retry_attempts: Option<i64>,
pub parallelization_factor: Option<i64>,
pub state: Option<String>,
pub state_transition_reason: Option<String>,
pub uuid: Option<String>,
}
Expand description
A mapping between an AWS resource and an AWS Lambda function. See CreateEventSourceMapping for details.
Fields§
§batch_size: Option<i64>
The maximum number of items to retrieve in a single batch.
bisect_batch_on_function_error: Option<bool>
(Streams) If the function returns an error, split the batch in two and retry.
destination_config: Option<DestinationConfig>
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
event_source_arn: Option<String>
The Amazon Resource Name (ARN) of the event source.
function_arn: Option<String>
The ARN of the Lambda function.
last_modified: Option<f64>
The date that the event source mapping was last updated, or its state changed.
last_processing_result: Option<String>
The result of the last AWS Lambda invocation of your Lambda function.
maximum_batching_window_in_seconds: Option<i64>
(Streams) The maximum amount of time to gather records before invoking the function, in seconds.
maximum_record_age_in_seconds: Option<i64>
(Streams) The maximum age of a record that Lambda sends to a function for processing.
maximum_retry_attempts: Option<i64>
(Streams) The maximum number of times to retry when the function returns an error.
parallelization_factor: Option<i64>
(Streams) The number of batches to process from each shard concurrently.
state: Option<String>
The state of the event source mapping. It can be one of the following: Creating
, Enabling
, Enabled
, Disabling
, Disabled
, Updating
, or Deleting
.
state_transition_reason: Option<String>
Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.
uuid: Option<String>
The identifier of the event source mapping.
Trait Implementations§
Source§impl Clone for EventSourceMappingConfiguration
impl Clone for EventSourceMappingConfiguration
Source§fn clone(&self) -> EventSourceMappingConfiguration
fn clone(&self) -> EventSourceMappingConfiguration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for EventSourceMappingConfiguration
impl Default for EventSourceMappingConfiguration
Source§fn default() -> EventSourceMappingConfiguration
fn default() -> EventSourceMappingConfiguration
Source§impl<'de> Deserialize<'de> for EventSourceMappingConfiguration
impl<'de> Deserialize<'de> for EventSourceMappingConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for EventSourceMappingConfiguration
impl PartialEq for EventSourceMappingConfiguration
Source§fn eq(&self, other: &EventSourceMappingConfiguration) -> bool
fn eq(&self, other: &EventSourceMappingConfiguration) -> bool
self
and other
values to be equal, and is used by ==
.