Skip to content

ApplyGuardrailOutput

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

Public import: from rboto_bedrock_runtime.types import ApplyGuardrailOutput.

Used in: output. Read-only native object. Use attributes; to_dict() materializes a dictionary.

class ApplyGuardrailOutput:
    @property
    def usage(self) -> GuardrailUsageOutput | None: ...
    @property
    def action(self) -> GuardrailActionOutput: ...
    @property
    def action_reason(self) -> str | None: ...
    @property
    def outputs(self) -> list[GuardrailOutputContentOutput]: ...
    @property
    def assessments(self) -> list[GuardrailAssessmentOutput]: ...
    @property
    def guardrail_coverage(self) -> GuardrailCoverageOutput | None: ...

GuardrailActionOutput, GuardrailAssessmentOutput, GuardrailCoverageOutput, GuardrailOutputContentOutput, GuardrailUsageOutput