class Aws::Lambda::Client
def create_event_source_mapping(params = {}, options = {})
-
params
(Hash
) -- ({})
Overloads:
-
create_event_source_mapping(params = {})
Other tags:
- See: http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping - AWS API Documentation
Other tags:
- Example: Response structure -
Example: Request syntax with placeholder values -
Example: Example: To create a mapping between an event source and an AWS Lambda function -
Returns:
-
(Types::EventSourceMappingConfiguration)
- Returns a {Seahorse::Client::Response response} object which responds to the following methods:
Options Hash:
(**params)
-
:provisioned_poller_config
(Types::ProvisionedPollerConfig
) -- -
:metrics_config
(Types::EventSourceMappingMetricsConfig
) -- -
:kms_key_arn
(String
) -- -
:document_db_event_source_config
(Types::DocumentDBEventSourceConfig
) -- -
:scaling_config
(Types::ScalingConfig
) -- -
:self_managed_kafka_event_source_config
(Types::SelfManagedKafkaEventSourceConfig
) -- -
:amazon_managed_kafka_event_source_config
(Types::AmazonManagedKafkaEventSourceConfig
) -- -
:function_response_types
(Array
) -- -
:self_managed_event_source
(Types::SelfManagedEventSource
) -- -
:source_access_configurations
(Array
) -- -
:queues
(Array
) -- -
:topics
(Array
) -- -
:tumbling_window_in_seconds
(Integer
) -- -
:tags
(Hash
) -- -
:maximum_retry_attempts
(Integer
) -- -
:bisect_batch_on_function_error
(Boolean
) -- -
:maximum_record_age_in_seconds
(Integer
) -- -
:destination_config
(Types::DestinationConfig
) -- -
:starting_position_timestamp
(Time, DateTime, Date, Integer, String
) -- -
:starting_position
(String
) -- -
:parallelization_factor
(Integer
) -- -
:maximum_batching_window_in_seconds
(Integer
) -- -
:filter_criteria
(Types::FilterCriteria
) -- -
:batch_size
(Integer
) -- -
:enabled
(Boolean
) -- -
:function_name
(required, String
) -- -
:event_source_arn
(String
) --
def create_event_source_mapping(params = {}, options = {}) req = build_request(:create_event_source_mapping, params) req.send_request(options) end