/AWS1/IF_LMD=>UPDATEEVENTSOURCEMAPPING()¶
About UpdateEventSourceMapping¶
Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.
For details about how to configure different event sources, see the following topics.
The following error handling options are available only for DynamoDB and Kinesis event sources:
-
BisectBatchOnFunctionError– If the function returns an error, split the batch in two and retry. -
MaximumRecordAgeInSeconds– Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires -
MaximumRetryAttempts– 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. -
ParallelizationFactor– Process multiple batches from each shard concurrently.
For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka), the following option is also available:
-
OnFailure– Send discarded records to an Amazon SQS queue, Amazon SNS topic, or Amazon S3 bucket. For more information, see Adding a destination.
For information about which configuration parameters apply to each event source, see the following topics.
Method Signature¶
METHODS /AWS1/IF_LMD~UPDATEEVENTSOURCEMAPPING
IMPORTING
!IV_UUID TYPE /AWS1/LMDSTRING OPTIONAL
!IV_FUNCTIONNAME TYPE /AWS1/LMDFUNCTIONNAME OPTIONAL
!IV_ENABLED TYPE /AWS1/LMDENABLED OPTIONAL
!IV_BATCHSIZE TYPE /AWS1/LMDBATCHSIZE OPTIONAL
!IO_FILTERCRITERIA TYPE REF TO /AWS1/CL_LMDFILTERCRITERIA OPTIONAL
!IV_MAXBATCHINGWINDOWINSECS TYPE /AWS1/LMDMAXBTCINGWINDOWINSECS OPTIONAL
!IO_DESTINATIONCONFIG TYPE REF TO /AWS1/CL_LMDDESTINATIONCONFIG OPTIONAL
!IV_MAXIMUMRECORDAGEINSECONDS TYPE /AWS1/LMDMAXRECORDAGEINSECONDS OPTIONAL
!IV_BISECTBATCHONFUNCERROR TYPE /AWS1/LMDBISECTBTCONFUNCERROR OPTIONAL
!IV_MAXIMUMRETRYATTEMPTS TYPE /AWS1/LMDMAXRETRYATTEMPTSEVS00 OPTIONAL
!IV_PARALLELIZATIONFACTOR TYPE /AWS1/LMDPARALLELIZATIONFACTOR OPTIONAL
!IT_SOURCEACCESSCONFS TYPE /AWS1/CL_LMDSOURCEACCESSCONF=>TT_SOURCEACCESSCONFIGURATIONS OPTIONAL
!IV_TUMBLINGWINDOWINSECONDS TYPE /AWS1/LMDTUMBLINGWINDOWINSECS OPTIONAL
!IT_FUNCTIONRESPONSETYPES TYPE /AWS1/CL_LMDFUNCRSPTYPELIST_W=>TT_FUNCTIONRESPONSETYPELIST OPTIONAL
!IO_SCALINGCONFIG TYPE REF TO /AWS1/CL_LMDSCALINGCONFIG OPTIONAL
!IO_AMAZONMANAGEDKAFKAEVSRC00 TYPE REF TO /AWS1/CL_LMDAMAZONMANAGEDKAF00 OPTIONAL
!IO_SELFMANAGEDKAFKAEVSRCCFG TYPE REF TO /AWS1/CL_LMDSELFMANAGEDKAFKA00 OPTIONAL
!IO_DOCUMENTDBEVSRCCONFIG TYPE REF TO /AWS1/CL_LMDDOCDBEVSRCCONFIG OPTIONAL
!IV_KMSKEYARN TYPE /AWS1/LMDKMSKEYARN OPTIONAL
!IO_METRICSCONFIG TYPE REF TO /AWS1/CL_LMDEVSRCMAPMETCONFIG OPTIONAL
!IO_PROVISIONEDPOLLERCONFIG TYPE REF TO /AWS1/CL_LMDPROVPOLLERCONFIG OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_lmdevsrcmappingconf
RAISING
/AWS1/CX_LMDINVPARAMVALUEEX
/AWS1/CX_LMDRESOURCECONFLICTEX
/AWS1/CX_LMDRESOURCEINUSEEX
/AWS1/CX_LMDRESOURCENOTFOUNDEX
/AWS1/CX_LMDSERVICEEXCEPTION
/AWS1/CX_LMDTOOMANYREQUESTSEX
/AWS1/CX_LMDCLIENTEXC
/AWS1/CX_LMDSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_uuid TYPE /AWS1/LMDSTRING /AWS1/LMDSTRING¶
The identifier of the event source mapping.
Optional arguments:¶
iv_functionname TYPE /AWS1/LMDFUNCTIONNAME /AWS1/LMDFUNCTIONNAME¶
The name or ARN of the Lambda function.
Name formats
Function name –
MyFunction.Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:MyFunction.Version or Alias ARN –
arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.Partial ARN –
123456789012:function:MyFunction.The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
iv_enabled TYPE /AWS1/LMDENABLED /AWS1/LMDENABLED¶
When true, the event source mapping is active. When false, Lambda pauses polling and invocation.
Default: True
iv_batchsize TYPE /AWS1/LMDBATCHSIZE /AWS1/LMDBATCHSIZE¶
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).
Amazon Kinesis – Default 100. Max 10,000.
Amazon DynamoDB Streams – Default 100. Max 10,000.
Amazon Simple Queue Service – Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000.
Self-managed Apache Kafka – Default 100. Max 10,000.
Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000.
DocumentDB – Default 100. Max 10,000.
io_filtercriteria TYPE REF TO /AWS1/CL_LMDFILTERCRITERIA /AWS1/CL_LMDFILTERCRITERIA¶
An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
iv_maxbatchingwindowinsecs TYPE /AWS1/LMDMAXBTCINGWINDOWINSECS /AWS1/LMDMAXBTCINGWINDOWINSECS¶
The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You can configure
MaximumBatchingWindowInSecondsto any value from 0 seconds to 300 seconds in increments of seconds.For Kinesis, DynamoDB, 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
MaximumBatchingWindowInSecondsin 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.Related setting: For Kinesis, DynamoDB, and Amazon SQS event sources, when you set
BatchSizeto a value greater than 10, you must setMaximumBatchingWindowInSecondsto at least 1.
io_destinationconfig TYPE REF TO /AWS1/CL_LMDDESTINATIONCONFIG /AWS1/CL_LMDDESTINATIONCONFIG¶
(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A configuration object that specifies the destination of an event after Lambda processes it.
iv_maximumrecordageinseconds TYPE /AWS1/LMDMAXRECORDAGEINSECONDS /AWS1/LMDMAXRECORDAGEINSECONDS¶
(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is infinite (-1).
iv_bisectbatchonfuncerror TYPE /AWS1/LMDBISECTBTCONFUNCERROR /AWS1/LMDBISECTBTCONFUNCERROR¶
(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.
iv_maximumretryattempts TYPE /AWS1/LMDMAXRETRYATTEMPTSEVS00 /AWS1/LMDMAXRETRYATTEMPTSEVS00¶
(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.
iv_parallelizationfactor TYPE /AWS1/LMDPARALLELIZATIONFACTOR /AWS1/LMDPARALLELIZATIONFACTOR¶
(Kinesis and DynamoDB Streams only) The number of batches to process from each shard concurrently.
it_sourceaccessconfs TYPE /AWS1/CL_LMDSOURCEACCESSCONF=>TT_SOURCEACCESSCONFIGURATIONS TT_SOURCEACCESSCONFIGURATIONS¶
An array of authentication protocols or VPC components required to secure your event source.
iv_tumblingwindowinseconds TYPE /AWS1/LMDTUMBLINGWINDOWINSECS /AWS1/LMDTUMBLINGWINDOWINSECS¶
(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.
it_functionresponsetypes TYPE /AWS1/CL_LMDFUNCRSPTYPELIST_W=>TT_FUNCTIONRESPONSETYPELIST TT_FUNCTIONRESPONSETYPELIST¶
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.
io_scalingconfig TYPE REF TO /AWS1/CL_LMDSCALINGCONFIG /AWS1/CL_LMDSCALINGCONFIG¶
(Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.
io_amazonmanagedkafkaevsrc00 TYPE REF TO /AWS1/CL_LMDAMAZONMANAGEDKAF00 /AWS1/CL_LMDAMAZONMANAGEDKAF00¶
AmazonManagedKafkaEventSourceConfig
io_selfmanagedkafkaevsrccfg TYPE REF TO /AWS1/CL_LMDSELFMANAGEDKAFKA00 /AWS1/CL_LMDSELFMANAGEDKAFKA00¶
SelfManagedKafkaEventSourceConfig
io_documentdbevsrcconfig TYPE REF TO /AWS1/CL_LMDDOCDBEVSRCCONFIG /AWS1/CL_LMDDOCDBEVSRCCONFIG¶
Specific configuration settings for a DocumentDB event source.
iv_kmskeyarn TYPE /AWS1/LMDKMSKEYARN /AWS1/LMDKMSKEYARN¶
The ARN of the Key Management Service (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria. By default, Lambda does not encrypt your filter criteria object. Specify this property to encrypt data using your own customer managed key.
io_metricsconfig TYPE REF TO /AWS1/CL_LMDEVSRCMAPMETCONFIG /AWS1/CL_LMDEVSRCMAPMETCONFIG¶
The metrics configuration for your event source. For more information, see Event source mapping metrics.
io_provisionedpollerconfig TYPE REF TO /AWS1/CL_LMDPROVPOLLERCONFIG /AWS1/CL_LMDPROVPOLLERCONFIG¶
(Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see provisioned mode.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_lmdevsrcmappingconf /AWS1/CL_LMDEVSRCMAPPINGCONF¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->updateeventsourcemapping(
io_amazonmanagedkafkaevsrc00 = new /aws1/cl_lmdamazonmanagedkaf00(
io_schemaregistryconfig = new /aws1/cl_lmdkafkaschregconfig(
it_accessconfigs = VALUE /aws1/cl_lmdkafkaschregacccfg=>tt_kafkaschregaccessconfiglist(
(
new /aws1/cl_lmdkafkaschregacccfg(
iv_type = |string|
iv_uri = |string|
)
)
)
it_schemavalidationconfigs = VALUE /aws1/cl_lmdkafkaschvalidati00=>tt_kafkaschvalidationcfglist(
( new /aws1/cl_lmdkafkaschvalidati00( |string| ) )
)
iv_eventrecordformat = |string|
iv_schemaregistryuri = |string|
)
iv_consumergroupid = |string|
)
io_destinationconfig = new /aws1/cl_lmddestinationconfig(
io_onfailure = new /aws1/cl_lmdonfailure( |string| )
io_onsuccess = new /aws1/cl_lmdonsuccess( |string| )
)
io_documentdbevsrcconfig = new /aws1/cl_lmddocdbevsrcconfig(
iv_collectionname = |string|
iv_databasename = |string|
iv_fulldocument = |string|
)
io_filtercriteria = new /aws1/cl_lmdfiltercriteria(
it_filters = VALUE /aws1/cl_lmdfilter=>tt_filterlist(
( new /aws1/cl_lmdfilter( |string| ) )
)
)
io_metricsconfig = new /aws1/cl_lmdevsrcmapmetconfig(
it_metrics = VALUE /aws1/cl_lmdevsrcmapmetricls00=>tt_evsrcmappingmetriclist(
( new /aws1/cl_lmdevsrcmapmetricls00( |string| ) )
)
)
io_provisionedpollerconfig = new /aws1/cl_lmdprovpollerconfig(
iv_maximumpollers = 123
iv_minimumpollers = 123
)
io_scalingconfig = new /aws1/cl_lmdscalingconfig( 123 )
io_selfmanagedkafkaevsrccfg = new /aws1/cl_lmdselfmanagedkafka00(
io_schemaregistryconfig = new /aws1/cl_lmdkafkaschregconfig(
it_accessconfigs = VALUE /aws1/cl_lmdkafkaschregacccfg=>tt_kafkaschregaccessconfiglist(
(
new /aws1/cl_lmdkafkaschregacccfg(
iv_type = |string|
iv_uri = |string|
)
)
)
it_schemavalidationconfigs = VALUE /aws1/cl_lmdkafkaschvalidati00=>tt_kafkaschvalidationcfglist(
( new /aws1/cl_lmdkafkaschvalidati00( |string| ) )
)
iv_eventrecordformat = |string|
iv_schemaregistryuri = |string|
)
iv_consumergroupid = |string|
)
it_functionresponsetypes = VALUE /aws1/cl_lmdfuncrsptypelist_w=>tt_functionresponsetypelist(
( new /aws1/cl_lmdfuncrsptypelist_w( |string| ) )
)
it_sourceaccessconfs = VALUE /aws1/cl_lmdsourceaccessconf=>tt_sourceaccessconfigurations(
(
new /aws1/cl_lmdsourceaccessconf(
iv_type = |string|
iv_uri = |string|
)
)
)
iv_batchsize = 123
iv_bisectbatchonfuncerror = ABAP_TRUE
iv_enabled = ABAP_TRUE
iv_functionname = |string|
iv_kmskeyarn = |string|
iv_maxbatchingwindowinsecs = 123
iv_maximumrecordageinseconds = 123
iv_maximumretryattempts = 123
iv_parallelizationfactor = 123
iv_tumblingwindowinseconds = 123
iv_uuid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string = lo_result->get_uuid( ).
lv_eventsourceposition = lo_result->get_startingposition( ).
lv_date = lo_result->get_startingpositiontsmp( ).
lv_batchsize = lo_result->get_batchsize( ).
lv_maximumbatchingwindowin = lo_result->get_maxbatchingwindowinsecs( ).
lv_parallelizationfactor = lo_result->get_parallelizationfactor( ).
lv_arn = lo_result->get_eventsourcearn( ).
lo_filtercriteria = lo_result->get_filtercriteria( ).
IF lo_filtercriteria IS NOT INITIAL.
LOOP AT lo_filtercriteria->get_filters( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_pattern = lo_row_1->get_pattern( ).
ENDIF.
ENDLOOP.
ENDIF.
lv_functionarn = lo_result->get_functionarn( ).
lv_date = lo_result->get_lastmodified( ).
lv_string = lo_result->get_lastprocessingresult( ).
lv_string = lo_result->get_state( ).
lv_string = lo_result->get_statetransitionreason( ).
lo_destinationconfig = lo_result->get_destinationconfig( ).
IF lo_destinationconfig IS NOT INITIAL.
lo_onsuccess = lo_destinationconfig->get_onsuccess( ).
IF lo_onsuccess IS NOT INITIAL.
lv_destinationarn = lo_onsuccess->get_destination( ).
ENDIF.
lo_onfailure = lo_destinationconfig->get_onfailure( ).
IF lo_onfailure IS NOT INITIAL.
lv_destinationarn = lo_onfailure->get_destination( ).
ENDIF.
ENDIF.
LOOP AT lo_result->get_topics( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_topic = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_queues( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_queue = lo_row_5->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_sourceaccessconfs( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_sourceaccesstype = lo_row_7->get_type( ).
lv_uri = lo_row_7->get_uri( ).
ENDIF.
ENDLOOP.
lo_selfmanagedeventsource = lo_result->get_selfmanagedeventsource( ).
IF lo_selfmanagedeventsource IS NOT INITIAL.
LOOP AT lo_selfmanagedeventsource->get_endpoints( ) into ls_row_8.
lv_key = ls_row_8-key.
LOOP AT ls_row_8-value into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_endpoint = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
ENDLOOP.
ENDIF.
lv_maximumrecordageinsecon = lo_result->get_maxrecordageinseconds( ).
lv_bisectbatchonfunctioner = lo_result->get_bisectbatchonfuncerror( ).
lv_maximumretryattemptseve = lo_result->get_maximumretryattempts( ).
lv_tumblingwindowinseconds = lo_result->get_tumblingwindowinseconds( ).
LOOP AT lo_result->get_functionresponsetypes( ) into lo_row_11.
lo_row_12 = lo_row_11.
IF lo_row_12 IS NOT INITIAL.
lv_functionresponsetype = lo_row_12->get_value( ).
ENDIF.
ENDLOOP.
lo_amazonmanagedkafkaevent = lo_result->get_amazonmanagedkafkaevsr00( ).
IF lo_amazonmanagedkafkaevent IS NOT INITIAL.
lv_uri = lo_amazonmanagedkafkaevent->get_consumergroupid( ).
lo_kafkaschemaregistryconf = lo_amazonmanagedkafkaevent->get_schemaregistryconfig( ).
IF lo_kafkaschemaregistryconf IS NOT INITIAL.
lv_schemaregistryuri = lo_kafkaschemaregistryconf->get_schemaregistryuri( ).
lv_schemaregistryeventreco = lo_kafkaschemaregistryconf->get_eventrecordformat( ).
LOOP AT lo_kafkaschemaregistryconf->get_accessconfigs( ) into lo_row_13.
lo_row_14 = lo_row_13.
IF lo_row_14 IS NOT INITIAL.
lv_kafkaschemaregistryauth = lo_row_14->get_type( ).
lv_arn = lo_row_14->get_uri( ).
ENDIF.
ENDLOOP.
LOOP AT lo_kafkaschemaregistryconf->get_schemavalidationconfigs( ) into lo_row_15.
lo_row_16 = lo_row_15.
IF lo_row_16 IS NOT INITIAL.
lv_kafkaschemavalidationat = lo_row_16->get_attribute( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lo_selfmanagedkafkaeventso = lo_result->get_selfmanagedkafkaevsrccfg( ).
IF lo_selfmanagedkafkaeventso IS NOT INITIAL.
lv_uri = lo_selfmanagedkafkaeventso->get_consumergroupid( ).
lo_kafkaschemaregistryconf = lo_selfmanagedkafkaeventso->get_schemaregistryconfig( ).
IF lo_kafkaschemaregistryconf IS NOT INITIAL.
lv_schemaregistryuri = lo_kafkaschemaregistryconf->get_schemaregistryuri( ).
lv_schemaregistryeventreco = lo_kafkaschemaregistryconf->get_eventrecordformat( ).
LOOP AT lo_kafkaschemaregistryconf->get_accessconfigs( ) into lo_row_13.
lo_row_14 = lo_row_13.
IF lo_row_14 IS NOT INITIAL.
lv_kafkaschemaregistryauth = lo_row_14->get_type( ).
lv_arn = lo_row_14->get_uri( ).
ENDIF.
ENDLOOP.
LOOP AT lo_kafkaschemaregistryconf->get_schemavalidationconfigs( ) into lo_row_15.
lo_row_16 = lo_row_15.
IF lo_row_16 IS NOT INITIAL.
lv_kafkaschemavalidationat = lo_row_16->get_attribute( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lo_scalingconfig = lo_result->get_scalingconfig( ).
IF lo_scalingconfig IS NOT INITIAL.
lv_maximumconcurrency = lo_scalingconfig->get_maximumconcurrency( ).
ENDIF.
lo_documentdbeventsourceco = lo_result->get_documentdbevsrcconfig( ).
IF lo_documentdbeventsourceco IS NOT INITIAL.
lv_databasename = lo_documentdbeventsourceco->get_databasename( ).
lv_collectionname = lo_documentdbeventsourceco->get_collectionname( ).
lv_fulldocument = lo_documentdbeventsourceco->get_fulldocument( ).
ENDIF.
lv_kmskeyarn = lo_result->get_kmskeyarn( ).
lo_filtercriteriaerror = lo_result->get_filtercriteriaerror( ).
IF lo_filtercriteriaerror IS NOT INITIAL.
lv_filtercriteriaerrorcode = lo_filtercriteriaerror->get_errorcode( ).
lv_filtercriteriaerrormess = lo_filtercriteriaerror->get_message( ).
ENDIF.
lv_eventsourcemappingarn = lo_result->get_eventsourcemappingarn( ).
lo_eventsourcemappingmetri = lo_result->get_metricsconfig( ).
IF lo_eventsourcemappingmetri IS NOT INITIAL.
LOOP AT lo_eventsourcemappingmetri->get_metrics( ) into lo_row_17.
lo_row_18 = lo_row_17.
IF lo_row_18 IS NOT INITIAL.
lv_eventsourcemappingmetri_1 = lo_row_18->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
lo_provisionedpollerconfig = lo_result->get_provisionedpollerconfig( ).
IF lo_provisionedpollerconfig IS NOT INITIAL.
lv_minimumnumberofpollers = lo_provisionedpollerconfig->get_minimumpollers( ).
lv_maximumnumberofpollers = lo_provisionedpollerconfig->get_maximumpollers( ).
ENDIF.
ENDIF.
To update a Lambda function event source mapping¶
This operation updates a Lambda function event source mapping
DATA(lo_result) = lo_client->updateeventsourcemapping(
iv_batchsize = 123
iv_enabled = ABAP_TRUE
iv_functionname = |myFunction|
iv_uuid = |1234xCy789012|
).