getFunction (original) (raw)

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
}

© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.Generated by dokka