Skip to content

Bedrock Runtime  >  Structures  >  GuardrailChecksPromptAttackUsage

GuardrailChecksPromptAttackUsage

Structure Class

GuardrailChecksPromptAttackUsage dataclass

The text unit usage for the prompt attack check.

Attributes

text_units instance-attribute
text_units: int

The number of text units consumed by the prompt attack check.