getLayerVersion (original) (raw)
lambda/aws.sdk.kotlin.services.lambda/LambdaClient/getLayerVersion
abstract suspend fun getLayerVersion(input: GetLayerVersionRequest): GetLayerVersionResponse
Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.
Samples
fun main() {
//sampleStart
// The following example returns information for version 1 of a layer named my layer.
val resp = lambdaClient.getLayerVersion {
layerName = "my-layer"
versionNumber = 1
}
//sampleEnd
}
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.Generated by dokka