Skip to content

/AWS1/CL_LMD=>LISTEVENTSOURCEMAPPINGS()

About ListEventSourceMappings

Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a single event source.

Method Signature

IMPORTING

Optional arguments:

IV_EVENTSOURCEARN TYPE /AWS1/LMDARN /AWS1/LMDARN

The Amazon Resource Name (ARN) of the event source.

  • Amazon Kinesis – The ARN of the data stream or a stream consumer.

  • Amazon DynamoDB Streams – The ARN of the stream.

  • Amazon Simple Queue Service – The ARN of the queue.

  • Amazon Managed Streaming for Apache Kafka – The ARN of the cluster or the ARN of the VPC connection (for cross-account event source mappings).

  • Amazon MQ – The ARN of the broker.

  • Amazon DocumentDB – The ARN of the DocumentDB change stream.

IV_FUNCTIONNAME TYPE /AWS1/LMDFUNCTIONNAME /AWS1/LMDFUNCTIONNAME

The name or ARN of the Lambda function.

Name formats

  • Function nameMyFunction.

  • Function ARNarn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Version or Alias ARNarn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

  • Partial ARN123456789012: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_MARKER TYPE /AWS1/LMDSTRING /AWS1/LMDSTRING

A pagination token returned by a previous call.

IV_MAXITEMS TYPE /AWS1/LMDMAXLISTITEMS /AWS1/LMDMAXLISTITEMS

The maximum number of event source mappings to return. Note that ListEventSourceMappings returns a maximum of 100 items in each response, even if you set the number higher.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LMDLISTEVSRCMAPSRSP /AWS1/CL_LMDLISTEVSRCMAPSRSP