Skip to content

/AWS1/CL_GDYBDRKGDRAILDETAILS

Contains information about the Bedrock guardrail that was involved in a finding.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_guardrailarn TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The ARN of the Bedrock guardrail. This field is deprecated. Use the guardrails list instead.

iv_guardrailversion TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The version of the Bedrock guardrail. This field is deprecated. Use the guardrails list instead.

it_guardrails TYPE /AWS1/CL_GDYBEDROCKGUARDRAIL=>TT_BEDROCKGUARDRAILS TT_BEDROCKGUARDRAILS

The list of Bedrock guardrails associated with the finding.

iv_guardrailaction TYPE /AWS1/GDYGUARDRAILACTION /AWS1/GDYGUARDRAILACTION

Indicates whether the guardrail intervened or not.

iv_guardrailsource TYPE /AWS1/GDYGUARDRAILSOURCE /AWS1/GDYGUARDRAILSOURCE

Indicates whether the guardrail was applied on the input or output of the model invocation.

it_contentpolicyfilters TYPE /AWS1/CL_GDYCONTPOLICYFILTER=>TT_CONTENTPOLICYFILTERS TT_CONTENTPOLICYFILTERS

The list of content policy filters that matched during the guardrail evaluation.


Queryable Attributes

GuardrailArn

The ARN of the Bedrock guardrail. This field is deprecated. Use the guardrails list instead.

Accessible with the following methods

Method Description
GET_GUARDRAILARN() Getter for GUARDRAILARN, with configurable default
ASK_GUARDRAILARN() Getter for GUARDRAILARN w/ exceptions if field has no value
HAS_GUARDRAILARN() Determine if GUARDRAILARN has a value

GuardrailVersion

The version of the Bedrock guardrail. This field is deprecated. Use the guardrails list instead.

Accessible with the following methods

Method Description
GET_GUARDRAILVERSION() Getter for GUARDRAILVERSION, with configurable default
ASK_GUARDRAILVERSION() Getter for GUARDRAILVERSION w/ exceptions if field has no va
HAS_GUARDRAILVERSION() Determine if GUARDRAILVERSION has a value

Guardrails

The list of Bedrock guardrails associated with the finding.

Accessible with the following methods

Method Description
GET_GUARDRAILS() Getter for GUARDRAILS, with configurable default
ASK_GUARDRAILS() Getter for GUARDRAILS w/ exceptions if field has no value
HAS_GUARDRAILS() Determine if GUARDRAILS has a value

GuardrailAction

Indicates whether the guardrail intervened or not.

Accessible with the following methods

Method Description
GET_GUARDRAILACTION() Getter for GUARDRAILACTION, with configurable default
ASK_GUARDRAILACTION() Getter for GUARDRAILACTION w/ exceptions if field has no val
HAS_GUARDRAILACTION() Determine if GUARDRAILACTION has a value

GuardrailSource

Indicates whether the guardrail was applied on the input or output of the model invocation.

Accessible with the following methods

Method Description
GET_GUARDRAILSOURCE() Getter for GUARDRAILSOURCE, with configurable default
ASK_GUARDRAILSOURCE() Getter for GUARDRAILSOURCE w/ exceptions if field has no val
HAS_GUARDRAILSOURCE() Determine if GUARDRAILSOURCE has a value

ContentPolicyFilters

The list of content policy filters that matched during the guardrail evaluation.

Accessible with the following methods

Method Description
GET_CONTENTPOLICYFILTERS() Getter for CONTENTPOLICYFILTERS, with configurable default
ASK_CONTENTPOLICYFILTERS() Getter for CONTENTPOLICYFILTERS w/ exceptions if field has n
HAS_CONTENTPOLICYFILTERS() Determine if CONTENTPOLICYFILTERS has a value