getLayerVersionByArn
abstract suspend fun getLayerVersionByArn(input: GetLayerVersionByArnRequest): GetLayerVersionByArnResponse
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 about the layer version with the specified Amazon Resource
// Name (ARN).
val resp = lambdaClient.getLayerVersionByArn {
arn = "arn:aws:lambda:ca-central-1:123456789012:layer:blank-python-lib:3"
}
//sampleEnd
}