Skip to content

ApplyGuardrailRequest

rboto-bedrock-runtime==0.4.0 · Service index · Types

Public import: from rboto_bedrock_runtime.types import ApplyGuardrailRequest.

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

ApplyGuardrailRequest = TypedDict(
    "ApplyGuardrailRequest",
    {
        "guardrail_identifier": Required['str'],
        "guardrail_version": Required['str'],
        "source": Required['GuardrailContentSource'],
        "content": Required['Sequence[GuardrailContentBlock]'],
        "output_scope": NotRequired['GuardrailOutputScope'],
    },
)

GuardrailContentBlock, GuardrailContentSource, GuardrailOutputScope