Bedrock Runtime Structures GuardrailCustomWord¶ Structure Class¶ GuardrailCustomWord dataclass ¶ Bases: _SerdeShape A custom word configured in a guardrail. Attributes¶ action instance-attribute ¶ action: str The action for the custom word. detected class-attribute instance-attribute ¶ detected: bool | None = ... Indicates whether custom word content that breaches the guardrail configuration is detected. match instance-attribute ¶ match: str The match for the custom word.