listEventSourceMappings (original) (raw)
lambda/aws.sdk.kotlin.services.lambda/LambdaClient/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
}
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.Generated by dokka