Skip to content

GuardrailTopic

rboto-bedrock==0.4.0 · Service index · Types

Public import: from rboto_bedrock.types import GuardrailTopic.

Used in: not referenced by operation signatures. Typed dictionary. Presence and nullability are separate: NotRequired permits omission; | None permits a null value.

GuardrailTopic = TypedDict(
    "GuardrailTopic",
    {
        "name": Required['str'],
        "definition": Required['str'],
        "examples": NotRequired['Sequence[str]'],
        "type": NotRequired['GuardrailTopicType'],
        "input_action": NotRequired['GuardrailTopicAction'],
        "output_action": NotRequired['GuardrailTopicAction'],
        "input_enabled": NotRequired['bool'],
        "output_enabled": NotRequired['bool'],
    },
)

GuardrailTopicAction, GuardrailTopicType