Skip to content

/AWS1/CL_QQCSPANGDRAILASSMNT

Result of a single guardrail assessment, covering either the input (customer/user message) or the output (LLM response) of a Bedrock Converse call.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_guardrailid TYPE /AWS1/QQCNONEMPTYSTRING /AWS1/QQCNONEMPTYSTRING

Unique AI Guardrail identifier.

iv_guardrailname TYPE /AWS1/QQCNONEMPTYSTRING /AWS1/QQCNONEMPTYSTRING

Customer-defined display name of the AI Guardrail resource.

iv_source TYPE /AWS1/QQCGUARDRAILSOURCE /AWS1/QQCGUARDRAILSOURCE

Content source the guardrail was evaluated against.

iv_action TYPE /AWS1/QQCGUARDRAILACTION /AWS1/QQCGUARDRAILACTION

Outcome of the guardrail assessment.

Optional arguments:

it_policies TYPE /AWS1/CL_QQCGDRAILPOLICYRESULT=>TT_GUARDRAILPOLICYRESULTLIST TT_GUARDRAILPOLICYRESULTLIST

Per-policy assessment results. Absent or empty when action is NONE.


Queryable Attributes

guardrailId

Unique AI Guardrail identifier.

Accessible with the following methods

Method Description
GET_GUARDRAILID() Getter for GUARDRAILID, with configurable default
ASK_GUARDRAILID() Getter for GUARDRAILID w/ exceptions if field has no value
HAS_GUARDRAILID() Determine if GUARDRAILID has a value

guardrailName

Customer-defined display name of the AI Guardrail resource.

Accessible with the following methods

Method Description
GET_GUARDRAILNAME() Getter for GUARDRAILNAME, with configurable default
ASK_GUARDRAILNAME() Getter for GUARDRAILNAME w/ exceptions if field has no value
HAS_GUARDRAILNAME() Determine if GUARDRAILNAME has a value

source

Content source the guardrail was evaluated against.

Accessible with the following methods

Method Description
GET_SOURCE() Getter for SOURCE, with configurable default
ASK_SOURCE() Getter for SOURCE w/ exceptions if field has no value
HAS_SOURCE() Determine if SOURCE has a value

action

Outcome of the guardrail assessment.

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

policies

Per-policy assessment results. Absent or empty when action is NONE.

Accessible with the following methods

Method Description
GET_POLICIES() Getter for POLICIES, with configurable default
ASK_POLICIES() Getter for POLICIES w/ exceptions if field has no value
HAS_POLICIES() Determine if POLICIES has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_SPANGUARDRAILASSESSMENTLIST

TYPES TT_SPANGUARDRAILASSESSMENTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_QQCSPANGDRAILASSMNT WITH DEFAULT KEY
.