listVersionsByFunction

Returns a list of versions, with the version-specific configuration of each. Lambda returns up to 50 versions per call.

Samples


fun main() { 
   //sampleStart 
   // The following example returns a list of versions of a function named my function
val resp = lambdaClient.listVersionsByFunction {
    functionName = "my-function"
} 
   //sampleEnd
}