paws.compute (version 0.1.0)

lambda_list_aliases: Returns a list of aliases for a Lambda function

Description

Returns a list of aliases for a Lambda function.

Usage

lambda_list_aliases(FunctionName, FunctionVersion, Marker, MaxItems)

Arguments

FunctionName

[required] The name of the Lambda function.

Name formats

  • Function name - MyFunction.

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

  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

FunctionVersion

Specify a function version to only list aliases that invoke that version.

Marker

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

MaxItems

Limit the number of aliases returned.

Request syntax

svc$list_aliases(
  FunctionName = "string",
  FunctionVersion = "string",
  Marker = "string",
  MaxItems = 123
)

Examples

Run this code
# NOT RUN {
# This operation retrieves a Lambda function's aliases
# }
# NOT RUN {
svc$list_aliases(
  FunctionName = "myFunction",
  FunctionVersion = "1",
  Marker = "",
  MaxItems = 123L
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab