Skip to content

/AWS1/CL_DPLLAMBDAFUNCTIONINFO

Information about a Lambda function specified in a deployment.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_functionname TYPE /AWS1/DPLLAMBDAFUNCTIONNAME /AWS1/DPLLAMBDAFUNCTIONNAME

The name of a Lambda function.

iv_functionalias TYPE /AWS1/DPLLAMBDAFUNCTIONALIAS /AWS1/DPLLAMBDAFUNCTIONALIAS

The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer Guide.

iv_currentversion TYPE /AWS1/DPLVERSION /AWS1/DPLVERSION

The version of a Lambda function that production traffic points to.

iv_targetversion TYPE /AWS1/DPLVERSION /AWS1/DPLVERSION

The version of a Lambda function that production traffic points to after the Lambda function is deployed.

iv_targetversionweight TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The percentage of production traffic that the target version of a Lambda function receives.


Queryable Attributes

functionName

The name of a Lambda function.

Accessible with the following methods

Method Description
GET_FUNCTIONNAME() Getter for FUNCTIONNAME, with configurable default
ASK_FUNCTIONNAME() Getter for FUNCTIONNAME w/ exceptions if field has no value
HAS_FUNCTIONNAME() Determine if FUNCTIONNAME has a value

functionAlias

The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer Guide.

Accessible with the following methods

Method Description
GET_FUNCTIONALIAS() Getter for FUNCTIONALIAS, with configurable default
ASK_FUNCTIONALIAS() Getter for FUNCTIONALIAS w/ exceptions if field has no value
HAS_FUNCTIONALIAS() Determine if FUNCTIONALIAS has a value

currentVersion

The version of a Lambda function that production traffic points to.

Accessible with the following methods

Method Description
GET_CURRENTVERSION() Getter for CURRENTVERSION, with configurable default
ASK_CURRENTVERSION() Getter for CURRENTVERSION w/ exceptions if field has no valu
HAS_CURRENTVERSION() Determine if CURRENTVERSION has a value

targetVersion

The version of a Lambda function that production traffic points to after the Lambda function is deployed.

Accessible with the following methods

Method Description
GET_TARGETVERSION() Getter for TARGETVERSION, with configurable default
ASK_TARGETVERSION() Getter for TARGETVERSION w/ exceptions if field has no value
HAS_TARGETVERSION() Determine if TARGETVERSION has a value

targetVersionWeight

The percentage of production traffic that the target version of a Lambda function receives.

Accessible with the following methods

Method Description
GET_TARGETVERSIONWEIGHT() Getter for TARGETVERSIONWEIGHT
ASK_TARGETVERSIONWEIGHT() Getter for TARGETVERSIONWEIGHT w/ exceptions if field has no
STR_TARGETVERSIONWEIGHT() String format for TARGETVERSIONWEIGHT