pub struct EventSourceMapping {
pub uuid: Option<String>,
pub event_source_arn: Option<String>,
pub function_arn: Option<String>,
pub batch_size: Option<i32>,
pub last_modified: Option<f64>,
pub last_processing_result: Option<String>,
pub state: Option<String>,
pub state_transition_reason: Option<String>,
pub maximum_batching_window_in_seconds: Option<i32>,
pub function_response_types: Option<Vec<String>>,
pub filter_criteria: Option<FilterCriteria>,
pub scaling_config: Option<ScalingConfig>,
}Expand description
Represents an event source mapping
Fields§
§uuid: Option<String>The identifier of the event source mapping
event_source_arn: Option<String>The Amazon Resource Name (ARN) of the event source
function_arn: Option<String>The ARN of the Lambda function
batch_size: Option<i32>The maximum number of records in each batch that Lambda pulls from your queue and sends to your function
last_modified: Option<f64>The date that the event source mapping was last updated or that its state changed
last_processing_result: Option<String>The result of the last AWS Lambda invocation of your Lambda function
state: Option<String>The state of the event source mapping
state_transition_reason: Option<String>Indicates whether a user or Lambda made the last change to the event source mapping
maximum_batching_window_in_seconds: Option<i32>The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function
function_response_types: Option<Vec<String>>A list of current response type enums applied to the event source mapping
filter_criteria: Option<FilterCriteria>An object that defines the filter criteria that determine whether Lambda should process an event
scaling_config: Option<ScalingConfig>The maximum concurrency setting limits the number of concurrent instances of the function that an Amazon SQS event source can invoke
Trait Implementations§
Source§impl Clone for EventSourceMapping
impl Clone for EventSourceMapping
Source§fn clone(&self) -> EventSourceMapping
fn clone(&self) -> EventSourceMapping
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EventSourceMapping
impl Debug for EventSourceMapping
Source§impl<'de> Deserialize<'de> for EventSourceMapping
impl<'de> Deserialize<'de> for EventSourceMapping
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>,
Auto Trait Implementations§
impl Freeze for EventSourceMapping
impl RefUnwindSafe for EventSourceMapping
impl Send for EventSourceMapping
impl Sync for EventSourceMapping
impl Unpin for EventSourceMapping
impl UnsafeUnpin for EventSourceMapping
impl UnwindSafe for EventSourceMapping
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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