getFunction
Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are returned.
Samples
fun main() {
//sampleStart
// The following example returns code and configuration details for version 1 of a function named my
// function.
val resp = lambdaClient.getFunction {
functionName = "my-function"
qualifier = "1"
}
//sampleEnd
}