listEventSourceMappings

abstract suspend fun listEventSourceMappings(input: ListEventSourceMappingsRequest = ListEventSourceMappingsRequest { }): ListEventSourceMappingsResponse

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

Samples


fun main() { 
   //sampleStart 
   // The following example returns a list of the event source mappings for a function named my function.
val resp = lambdaClient.listEventSourceMappings {
    functionName = "my-function"
} 
   //sampleEnd
}