Skip to content

/AWS1/CL_BDCGETRECRESPONSE

GetRecommendationResponse

CONSTRUCTOR

IMPORTING

Required arguments:

iv_recommendationid TYPE /AWS1/BDCRECOMMENDATIONID /AWS1/BDCRECOMMENDATIONID

The unique identifier of the recommendation.

iv_recommendationarn TYPE /AWS1/BDCRECOMMENDATIONARN /AWS1/BDCRECOMMENDATIONARN

The Amazon Resource Name (ARN) of the recommendation.

iv_name TYPE /AWS1/BDCRECOMMENDATIONNAME /AWS1/BDCRECOMMENDATIONNAME

The name of the recommendation.

iv_type TYPE /AWS1/BDCRECOMMENDATIONTYPE /AWS1/BDCRECOMMENDATIONTYPE

The type of recommendation.

io_recommendationconfig TYPE REF TO /AWS1/CL_BDCRECCONFIG /AWS1/CL_BDCRECCONFIG

The configuration for the recommendation.

iv_status TYPE /AWS1/BDCRECOMMENDATIONSTATUS /AWS1/BDCRECOMMENDATIONSTATUS

The current status of the recommendation.

iv_createdat TYPE /AWS1/BDCTIMESTAMP /AWS1/BDCTIMESTAMP

The timestamp when the recommendation was created.

iv_updatedat TYPE /AWS1/BDCTIMESTAMP /AWS1/BDCTIMESTAMP

The timestamp when the recommendation was last updated.

Optional arguments:

iv_description TYPE /AWS1/BDCRECDESCRIPTION /AWS1/BDCRECDESCRIPTION

The description of the recommendation.

io_recommendationresult TYPE REF TO /AWS1/CL_BDCRECRESULT /AWS1/CL_BDCRECRESULT

The result of the recommendation, containing the optimized system prompt or tool descriptions. Only present when the recommendation status is COMPLETED.


Queryable Attributes

recommendationId

The unique identifier of the recommendation.

Accessible with the following methods

Method Description
GET_RECOMMENDATIONID() Getter for RECOMMENDATIONID, with configurable default
ASK_RECOMMENDATIONID() Getter for RECOMMENDATIONID w/ exceptions if field has no va
HAS_RECOMMENDATIONID() Determine if RECOMMENDATIONID has a value

recommendationArn

The Amazon Resource Name (ARN) of the recommendation.

Accessible with the following methods

Method Description
GET_RECOMMENDATIONARN() Getter for RECOMMENDATIONARN, with configurable default
ASK_RECOMMENDATIONARN() Getter for RECOMMENDATIONARN w/ exceptions if field has no v
HAS_RECOMMENDATIONARN() Determine if RECOMMENDATIONARN has a value

name

The name of the recommendation.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

description

The description of the recommendation.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

type

The type of recommendation.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

recommendationConfig

The configuration for the recommendation.

Accessible with the following methods

Method Description
GET_RECOMMENDATIONCONFIG() Getter for RECOMMENDATIONCONFIG

status

The current status of the recommendation.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

createdAt

The timestamp when the recommendation was created.

Accessible with the following methods

Method Description
GET_CREATEDAT() Getter for CREATEDAT, with configurable default
ASK_CREATEDAT() Getter for CREATEDAT w/ exceptions if field has no value
HAS_CREATEDAT() Determine if CREATEDAT has a value

updatedAt

The timestamp when the recommendation was last updated.

Accessible with the following methods

Method Description
GET_UPDATEDAT() Getter for UPDATEDAT, with configurable default
ASK_UPDATEDAT() Getter for UPDATEDAT w/ exceptions if field has no value
HAS_UPDATEDAT() Determine if UPDATEDAT has a value

recommendationResult

The result of the recommendation, containing the optimized system prompt or tool descriptions. Only present when the recommendation status is COMPLETED.

Accessible with the following methods

Method Description
GET_RECOMMENDATIONRESULT() Getter for RECOMMENDATIONRESULT