Skip to content

/AWS1/CL_BDZAGTCRTVGDRLWARNING

A warning generated by a guardrail during agentic retrieval.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_id TYPE /AWS1/BDZSTRING /AWS1/BDZSTRING

The unique identifier of the guardrail.

iv_version TYPE /AWS1/BDZSTRING /AWS1/BDZSTRING

The version of the guardrail.

iv_action TYPE /AWS1/BDZGUARDRAILACTION /AWS1/BDZGUARDRAILACTION

The action taken by the guardrail.

Optional arguments:

iv_message TYPE /AWS1/BDZSTRING /AWS1/BDZSTRING

A message describing the guardrail evaluation result.


Queryable Attributes

id

The unique identifier of the guardrail.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

version

The version of the guardrail.

Accessible with the following methods

Method Description
GET_VERSION() Getter for VERSION, with configurable default
ASK_VERSION() Getter for VERSION w/ exceptions if field has no value
HAS_VERSION() Determine if VERSION has a value

action

The action taken by the guardrail.

Accessible with the following methods

Method Description
GET_ACTION() Getter for ACTION, with configurable default
ASK_ACTION() Getter for ACTION w/ exceptions if field has no value
HAS_ACTION() Determine if ACTION has a value

message

A message describing the guardrail evaluation result.

Accessible with the following methods

Method Description
GET_MESSAGE() Getter for MESSAGE, with configurable default
ASK_MESSAGE() Getter for MESSAGE w/ exceptions if field has no value
HAS_MESSAGE() Determine if MESSAGE has a value