Skip to content

/AWS1/CL_BDOMCPLMDTARGETCONF

The Lambda configuration for a Model Context Protocol target. This structure defines how the gateway uses a Lambda function to communicate with the target.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_lambdaarn TYPE /AWS1/BDOLAMBDAFUNCTIONARN /AWS1/BDOLAMBDAFUNCTIONARN

The Amazon Resource Name (ARN) of the Lambda function. This function is invoked by the gateway to communicate with the target.

io_toolschema TYPE REF TO /AWS1/CL_BDOTOOLSCHEMA /AWS1/CL_BDOTOOLSCHEMA

The tool schema for the Lambda function. This schema defines the structure of the tools that the Lambda function provides.


Queryable Attributes

lambdaArn

The Amazon Resource Name (ARN) of the Lambda function. This function is invoked by the gateway to communicate with the target.

Accessible with the following methods

Method Description
GET_LAMBDAARN() Getter for LAMBDAARN, with configurable default
ASK_LAMBDAARN() Getter for LAMBDAARN w/ exceptions if field has no value
HAS_LAMBDAARN() Determine if LAMBDAARN has a value

toolSchema

The tool schema for the Lambda function. This schema defines the structure of the tools that the Lambda function provides.

Accessible with the following methods

Method Description
GET_TOOLSCHEMA() Getter for TOOLSCHEMA