[−][src]Struct rusoto_lambda::CreateEventSourceMappingRequest
Fields
batch_size: Option<i64>
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records. The default for Amazon Kinesis and Amazon DynamoDB is 100 records. For SQS, the default is 1.
enabled: Option<bool>
Indicates whether AWS Lambda should begin polling the event source. By default, Enabled is true.
event_source_arn: String
The Amazon Resource Name (ARN) of the event source. Any record added to this source could cause AWS Lambda to invoke your Lambda function, it depends on the BatchSize. AWS Lambda POSTs the event's records to your Lambda function as JSON.
function_name: String
The Lambda function to invoke when AWS Lambda detects an event on the stream.
You can specify the function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail).
If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases
AWS Lambda also allows you to specify only the function name with the account ID qualifier (for example, account-id:Thumbnail).
Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
starting_position: Option<String>
The position in the DynamoDB or Kinesis stream where AWS Lambda should start reading. For more information, see GetShardIterator in the Amazon Kinesis API Reference Guide or GetShardIterator in the Amazon DynamoDB API Reference Guide. The AT_TIMESTAMP value is supported only for Kinesis streams.
starting_position_timestamp: Option<f64>
The timestamp of the data record from which to start reading. Used with shard iterator type AT_TIMESTAMP. If a record with this exact timestamp does not exist, the iterator returned is for the next (later) record. If the timestamp is older than the current trim horizon, the iterator returned is for the oldest untrimmed data record (TRIM_HORIZON). Valid only for Kinesis streams.
Trait Implementations
impl Clone for CreateEventSourceMappingRequest[src]
impl Clone for CreateEventSourceMappingRequestfn clone(&self) -> CreateEventSourceMappingRequest[src]
fn clone(&self) -> CreateEventSourceMappingRequestReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Default for CreateEventSourceMappingRequest[src]
impl Default for CreateEventSourceMappingRequestfn default() -> CreateEventSourceMappingRequest[src]
fn default() -> CreateEventSourceMappingRequestReturns the "default value" for a type. Read more
impl PartialEq<CreateEventSourceMappingRequest> for CreateEventSourceMappingRequest[src]
impl PartialEq<CreateEventSourceMappingRequest> for CreateEventSourceMappingRequestfn eq(&self, other: &CreateEventSourceMappingRequest) -> bool[src]
fn eq(&self, other: &CreateEventSourceMappingRequest) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &CreateEventSourceMappingRequest) -> bool[src]
fn ne(&self, other: &CreateEventSourceMappingRequest) -> boolThis method tests for !=.
impl Debug for CreateEventSourceMappingRequest[src]
impl Debug for CreateEventSourceMappingRequestfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Serialize for CreateEventSourceMappingRequest[src]
impl Serialize for CreateEventSourceMappingRequestAuto Trait Implementations
impl Send for CreateEventSourceMappingRequest
impl Send for CreateEventSourceMappingRequestimpl Sync for CreateEventSourceMappingRequest
impl Sync for CreateEventSourceMappingRequestBlanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, type Owned = T
fn to_owned(&self) -> T[src]
fn to_owned(&self) -> TCreates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)[src]
fn clone_into(&self, target: &mut T)🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T> Erased for T
impl<T> Erased for Timpl<T> Same for T
impl<T> Same for Ttype Output = T
Should always be Self