paws.compute (version 0.1.0)

lambda_get_function: Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes

Description

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.

Usage

lambda_get_function(FunctionName, Qualifier)

Arguments

FunctionName

[required] The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Qualifier

Specify a version or alias to get details about a published version of the function.

Request syntax

svc$get_function(
  FunctionName = "string",
  Qualifier = "string"
)

Examples

Run this code
# NOT RUN {
# This operation retrieves a Lambda function's event source mapping
# }
# NOT RUN {
svc$get_function(
  FunctionName = "myFunction",
  Qualifier = "1"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab