Skip to content

/AWS1/CL_LMD=>UPDATEALIAS()

About UpdateAlias

Updates the configuration of a Lambda function alias.

Method Signature

IMPORTING

Required arguments:

IV_FUNCTIONNAME TYPE /AWS1/LMDFUNCTIONNAME /AWS1/LMDFUNCTIONNAME

The name or ARN 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.

IV_NAME TYPE /AWS1/LMDALIAS /AWS1/LMDALIAS

The name of the alias.

Optional arguments:

IV_FUNCTIONVERSION TYPE /AWS1/LMDVERSION /AWS1/LMDVERSION

The function version that the alias invokes.

IV_DESCRIPTION TYPE /AWS1/LMDDESCRIPTION /AWS1/LMDDESCRIPTION

A description of the alias.

IO_ROUTINGCONFIG TYPE REF TO /AWS1/CL_LMDALIASROUTINGCONF /AWS1/CL_LMDALIASROUTINGCONF

The routing configuration of the alias.

IV_REVISIONID TYPE /AWS1/LMDSTRING /AWS1/LMDSTRING

Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LMDALIASCONFIGURATION /AWS1/CL_LMDALIASCONFIGURATION