[][src]Struct rusoto_lambda::EventSourceMappingConfiguration

pub struct EventSourceMappingConfiguration {
    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>,
}

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

impl Clone for EventSourceMappingConfiguration[src]

impl Debug for EventSourceMappingConfiguration[src]

impl Default for EventSourceMappingConfiguration[src]

impl<'de> Deserialize<'de> for EventSourceMappingConfiguration[src]

impl PartialEq<EventSourceMappingConfiguration> for EventSourceMappingConfiguration[src]

impl StructuralPartialEq for EventSourceMappingConfiguration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.