1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateEventSourceMapping`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`event_source_arn(impl Into<String>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::event_source_arn) / [`set_event_source_arn(Option<String>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_event_source_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the event source.</p> <ul>  <li>   <p><b>Amazon Kinesis</b> – The ARN of the data stream or a stream consumer.</p></li>  <li>   <p><b>Amazon DynamoDB Streams</b> – The ARN of the stream.</p></li>  <li>   <p><b>Amazon Simple Queue Service</b> – The ARN of the queue.</p></li>  <li>   <p><b>Amazon Managed Streaming for Apache Kafka</b> – The ARN of the cluster or the ARN of the VPC connection (for <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc">cross-account event source mappings</a>).</p></li>  <li>   <p><b>Amazon MQ</b> – The ARN of the broker.</p></li>  <li>   <p><b>Amazon DocumentDB</b> – The ARN of the DocumentDB change stream.</p></li> </ul><br>
    ///   - [`function_name(impl Into<String>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::function_name) / [`set_function_name(Option<String>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_function_name):<br>required: **true**<br><p>The name or ARN of the Lambda function.</p> <p class="title"><b>Name formats</b></p> <ul>  <li>   <p><b>Function name</b> – <code>MyFunction</code>.</p></li>  <li>   <p><b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction</code>.</p></li>  <li>   <p><b>Version or Alias ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD</code>.</p></li>  <li>   <p><b>Partial ARN</b> – <code>123456789012:function:MyFunction</code>.</p></li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.</p><br>
    ///   - [`enabled(bool)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::enabled) / [`set_enabled(Option<bool>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_enabled):<br>required: **false**<br><p>When true, the event source mapping is active. When false, Lambda pauses polling and invocation.</p> <p>Default: True</p><br>
    ///   - [`batch_size(i32)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::batch_size) / [`set_batch_size(Option<i32>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_batch_size):<br>required: **false**<br><p>The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).</p> <ul>  <li>   <p><b>Amazon Kinesis</b> – Default 100. Max 10,000.</p></li>  <li>   <p><b>Amazon DynamoDB Streams</b> – Default 100. Max 10,000.</p></li>  <li>   <p><b>Amazon Simple Queue Service</b> – Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.</p></li>  <li>   <p><b>Amazon Managed Streaming for Apache Kafka</b> – Default 100. Max 10,000.</p></li>  <li>   <p><b>Self-managed Apache Kafka</b> – Default 100. Max 10,000.</p></li>  <li>   <p><b>Amazon MQ (ActiveMQ and RabbitMQ)</b> – Default 100. Max 10,000.</p></li>  <li>   <p><b>DocumentDB</b> – Default 100. Max 10,000.</p></li> </ul><br>
    ///   - [`filter_criteria(FilterCriteria)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::filter_criteria) / [`set_filter_criteria(Option<FilterCriteria>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_filter_criteria):<br>required: **false**<br><p>An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event filtering</a>.</p><br>
    ///   - [`maximum_batching_window_in_seconds(i32)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::maximum_batching_window_in_seconds) / [`set_maximum_batching_window_in_seconds(Option<i32>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_maximum_batching_window_in_seconds):<br>required: **false**<br><p>The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You can configure <code>MaximumBatchingWindowInSeconds</code> to any value from 0 seconds to 300 seconds in increments of seconds.</p> <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because you can only change <code>MaximumBatchingWindowInSeconds</code> in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To restore the default batching window, you must create a new event source mapping.</p> <p>Related setting: For streams and Amazon SQS event sources, when you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</p><br>
    ///   - [`parallelization_factor(i32)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::parallelization_factor) / [`set_parallelization_factor(Option<i32>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_parallelization_factor):<br>required: **false**<br><p>(Kinesis and DynamoDB Streams only) The number of batches to process from each shard concurrently.</p><br>
    ///   - [`starting_position(EventSourcePosition)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::starting_position) / [`set_starting_position(Option<EventSourcePosition>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_starting_position):<br>required: **false**<br><p>The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB Stream event sources. <code>AT_TIMESTAMP</code> is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon MSK, and self-managed Apache Kafka.</p><br>
    ///   - [`starting_position_timestamp(DateTime)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::starting_position_timestamp) / [`set_starting_position_timestamp(Option<DateTime>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_starting_position_timestamp):<br>required: **false**<br><p>With <code>StartingPosition</code> set to <code>AT_TIMESTAMP</code>, the time from which to start reading. <code>StartingPositionTimestamp</code> cannot be in the future.</p><br>
    ///   - [`destination_config(DestinationConfig)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::destination_config) / [`set_destination_config(Option<DestinationConfig>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_destination_config):<br>required: **false**<br><p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A configuration object that specifies the destination of an event after Lambda processes it.</p><br>
    ///   - [`maximum_record_age_in_seconds(i32)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::maximum_record_age_in_seconds) / [`set_maximum_record_age_in_seconds(Option<i32>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_maximum_record_age_in_seconds):<br>required: **false**<br><p>(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is infinite (-1).</p><br>
    ///   - [`bisect_batch_on_function_error(bool)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::bisect_batch_on_function_error) / [`set_bisect_batch_on_function_error(Option<bool>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_bisect_batch_on_function_error):<br>required: **false**<br><p>(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.</p><br>
    ///   - [`maximum_retry_attempts(i32)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::maximum_retry_attempts) / [`set_maximum_retry_attempts(Option<i32>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_maximum_retry_attempts):<br>required: **false**<br><p>(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p><br>
    ///   - [`tumbling_window_in_seconds(i32)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::tumbling_window_in_seconds) / [`set_tumbling_window_in_seconds(Option<i32>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_tumbling_window_in_seconds):<br>required: **false**<br><p>(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.</p><br>
    ///   - [`topics(impl Into<String>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::topics) / [`set_topics(Option<Vec::<String>>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_topics):<br>required: **false**<br><p>The name of the Kafka topic.</p><br>
    ///   - [`queues(impl Into<String>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::queues) / [`set_queues(Option<Vec::<String>>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_queues):<br>required: **false**<br><p>(MQ) The name of the Amazon MQ broker destination queue to consume.</p><br>
    ///   - [`source_access_configurations(SourceAccessConfiguration)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::source_access_configurations) / [`set_source_access_configurations(Option<Vec::<SourceAccessConfiguration>>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_source_access_configurations):<br>required: **false**<br><p>An array of authentication protocols or VPC components required to secure your event source.</p><br>
    ///   - [`self_managed_event_source(SelfManagedEventSource)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::self_managed_event_source) / [`set_self_managed_event_source(Option<SelfManagedEventSource>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_self_managed_event_source):<br>required: **false**<br><p>The self-managed Apache Kafka cluster to receive records from.</p><br>
    ///   - [`function_response_types(FunctionResponseType)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::function_response_types) / [`set_function_response_types(Option<Vec::<FunctionResponseType>>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_function_response_types):<br>required: **false**<br><p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p><br>
    ///   - [`amazon_managed_kafka_event_source_config(AmazonManagedKafkaEventSourceConfig)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::amazon_managed_kafka_event_source_config) / [`set_amazon_managed_kafka_event_source_config(Option<AmazonManagedKafkaEventSourceConfig>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_amazon_managed_kafka_event_source_config):<br>required: **false**<br><p>Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.</p><br>
    ///   - [`self_managed_kafka_event_source_config(SelfManagedKafkaEventSourceConfig)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::self_managed_kafka_event_source_config) / [`set_self_managed_kafka_event_source_config(Option<SelfManagedKafkaEventSourceConfig>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_self_managed_kafka_event_source_config):<br>required: **false**<br><p>Specific configuration settings for a self-managed Apache Kafka event source.</p><br>
    ///   - [`scaling_config(ScalingConfig)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::scaling_config) / [`set_scaling_config(Option<ScalingConfig>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_scaling_config):<br>required: **false**<br><p>(Amazon SQS only) The scaling configuration for the event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency">Configuring maximum concurrency for Amazon SQS event sources</a>.</p><br>
    ///   - [`document_db_event_source_config(DocumentDbEventSourceConfig)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::document_db_event_source_config) / [`set_document_db_event_source_config(Option<DocumentDbEventSourceConfig>)`](crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::set_document_db_event_source_config):<br>required: **false**<br><p>Specific configuration settings for a DocumentDB event source.</p><br>
    /// - On success, responds with [`CreateEventSourceMappingOutput`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput) with field(s):
    ///   - [`uuid(Option<String>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::uuid): <p>The identifier of the event source mapping.</p>
    ///   - [`starting_position(Option<EventSourcePosition>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::starting_position): <p>The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB Stream event sources. <code>AT_TIMESTAMP</code> is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon MSK, and self-managed Apache Kafka.</p>
    ///   - [`starting_position_timestamp(Option<DateTime>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::starting_position_timestamp): <p>With <code>StartingPosition</code> set to <code>AT_TIMESTAMP</code>, the time from which to start reading. <code>StartingPositionTimestamp</code> cannot be in the future.</p>
    ///   - [`batch_size(Option<i32>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::batch_size): <p>The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).</p> <p>Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.</p> <p>Related setting: When you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</p>
    ///   - [`maximum_batching_window_in_seconds(Option<i32>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::maximum_batching_window_in_seconds): <p>The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You can configure <code>MaximumBatchingWindowInSeconds</code> to any value from 0 seconds to 300 seconds in increments of seconds.</p> <p>For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because you can only change <code>MaximumBatchingWindowInSeconds</code> in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To restore the default batching window, you must create a new event source mapping.</p> <p>Related setting: For streams and Amazon SQS event sources, when you set <code>BatchSize</code> to a value greater than 10, you must set <code>MaximumBatchingWindowInSeconds</code> to at least 1.</p>
    ///   - [`parallelization_factor(Option<i32>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::parallelization_factor): <p>(Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.</p>
    ///   - [`event_source_arn(Option<String>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::event_source_arn): <p>The Amazon Resource Name (ARN) of the event source.</p>
    ///   - [`filter_criteria(Option<FilterCriteria>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::filter_criteria): <p>An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event filtering</a>.</p>
    ///   - [`function_arn(Option<String>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::function_arn): <p>The ARN of the Lambda function.</p>
    ///   - [`last_modified(Option<DateTime>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::last_modified): <p>The date that the event source mapping was last updated or that its state changed.</p>
    ///   - [`last_processing_result(Option<String>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::last_processing_result): <p>The result of the last Lambda invocation of your function.</p>
    ///   - [`state(Option<String>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::state): <p>The state of the event source mapping. It can be one of the following: <code>Creating</code>, <code>Enabling</code>, <code>Enabled</code>, <code>Disabling</code>, <code>Disabled</code>, <code>Updating</code>, or <code>Deleting</code>.</p>
    ///   - [`state_transition_reason(Option<String>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::state_transition_reason): <p>Indicates whether a user or Lambda made the last change to the event source mapping.</p>
    ///   - [`destination_config(Option<DestinationConfig>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::destination_config): <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object that specifies the destination of an event after Lambda processes it.</p>
    ///   - [`topics(Option<Vec::<String>>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::topics): <p>The name of the Kafka topic.</p>
    ///   - [`queues(Option<Vec::<String>>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::queues): <p>(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.</p>
    ///   - [`source_access_configurations(Option<Vec::<SourceAccessConfiguration>>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::source_access_configurations): <p>An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.</p>
    ///   - [`self_managed_event_source(Option<SelfManagedEventSource>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::self_managed_event_source): <p>The self-managed Apache Kafka cluster for your event source.</p>
    ///   - [`maximum_record_age_in_seconds(Option<i32>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::maximum_record_age_in_seconds): <p>(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.</p><note>  <p>The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed</p> </note>
    ///   - [`bisect_batch_on_function_error(Option<bool>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::bisect_batch_on_function_error): <p>(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.</p>
    ///   - [`maximum_retry_attempts(Option<i32>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::maximum_retry_attempts): <p>(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.</p>
    ///   - [`tumbling_window_in_seconds(Option<i32>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::tumbling_window_in_seconds): <p>(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.</p>
    ///   - [`function_response_types(Option<Vec::<FunctionResponseType>>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::function_response_types): <p>(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
    ///   - [`amazon_managed_kafka_event_source_config(Option<AmazonManagedKafkaEventSourceConfig>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::amazon_managed_kafka_event_source_config): <p>Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.</p>
    ///   - [`self_managed_kafka_event_source_config(Option<SelfManagedKafkaEventSourceConfig>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::self_managed_kafka_event_source_config): <p>Specific configuration settings for a self-managed Apache Kafka event source.</p>
    ///   - [`scaling_config(Option<ScalingConfig>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::scaling_config): <p>(Amazon SQS only) The scaling configuration for the event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency">Configuring maximum concurrency for Amazon SQS event sources</a>.</p>
    ///   - [`document_db_event_source_config(Option<DocumentDbEventSourceConfig>)`](crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput::document_db_event_source_config): <p>Specific configuration settings for a DocumentDB event source.</p>
    /// - On failure, responds with [`SdkError<CreateEventSourceMappingError>`](crate::operation::create_event_source_mapping::CreateEventSourceMappingError)
    pub fn create_event_source_mapping(&self) -> crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder {
        crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingFluentBuilder::new(self.handle.clone())
    }
}