pub struct CreateEventSourceMappingRequest {
pub event_source_arn: String,
pub function_name: String,
pub batch_size: Option<i32>,
pub enabled: Option<bool>,
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
Request to create an event source mapping
Fields§
§event_source_arn: StringThe Amazon Resource Name (ARN) of the event source (e.g., SQS queue)
function_name: StringThe name or 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
enabled: Option<bool>When true, the event source mapping is active. When false, Lambda pauses polling and invocation
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
Implementations§
Source§impl CreateEventSourceMappingRequest
impl CreateEventSourceMappingRequest
Sourcepub fn builder() -> CreateEventSourceMappingRequestBuilder
pub fn builder() -> CreateEventSourceMappingRequestBuilder
Create an instance of CreateEventSourceMappingRequest using the builder syntax
Trait Implementations§
Source§impl Clone for CreateEventSourceMappingRequest
impl Clone for CreateEventSourceMappingRequest
Source§fn clone(&self) -> CreateEventSourceMappingRequest
fn clone(&self) -> CreateEventSourceMappingRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CreateEventSourceMappingRequest
impl RefUnwindSafe for CreateEventSourceMappingRequest
impl Send for CreateEventSourceMappingRequest
impl Sync for CreateEventSourceMappingRequest
impl Unpin for CreateEventSourceMappingRequest
impl UnsafeUnpin for CreateEventSourceMappingRequest
impl UnwindSafe for CreateEventSourceMappingRequest
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,
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