Learn R Programming

paws.compute (version 0.1.12)

lambda_get_layer_version: Returns information about a version of an AWS Lambda layer, with a link to download the layer archive that's valid for 10 minutes

Description

Returns information about a version of an AWS Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

Usage

lambda_get_layer_version(LayerName, VersionNumber)

Value

A list with the following syntax:

list(
  Content = list(
    Location = "string",
    CodeSha256 = "string",
    CodeSize = 123,
    SigningProfileVersionArn = "string",
    SigningJobArn = "string"
  ),
  LayerArn = "string",
  LayerVersionArn = "string",
  Description = "string",
  CreatedDate = "string",
  Version = 123,
  CompatibleRuntimes = list(
    "nodejs"|"nodejs4.3"|"nodejs6.10"|"nodejs8.10"|"nodejs10.x"|"nodejs12.x"|"java8"|"java8.al2"|"java11"|"python2.7"|"python3.6"|"python3.7"|"python3.8"|"dotnetcore1.0"|"dotnetcore2.0"|"dotnetcore2.1"|"dotnetcore3.1"|"nodejs4.3-edge"|"go1.x"|"ruby2.5"|"ruby2.7"|"provided"|"provided.al2"
  ),
  LicenseInfo = "string"
)

Arguments

LayerName

[required] The name or Amazon Resource Name (ARN) of the layer.

VersionNumber

[required] The version number.

Request syntax

svc$get_layer_version(
  LayerName = "string",
  VersionNumber = 123
)

Examples

Run this code
if (FALSE) {
# The following example returns information for version 1 of a layer named
# my-layer.
svc$get_layer_version(
  LayerName = "my-layer",
  VersionNumber = 1L
)
}

Run the code above in your browser using DataLab