Skip to content

BedrockGuardrailResource

Source code in docs_src/capo_guardduty/types/bedrock_guardrail_resource.py
class BedrockGuardrailResource(TypedDict, closed=True):
    version: NotRequired["capo_guardduty.types.string.String"]
    """<p>The version of the Amazon Bedrock guardrail. Valid values are a numeric version, <code>DRAFT</code>, or <code>ENFORCED</code>.</p>"""
    guardrail_action: NotRequired[
        "capo_guardduty.types.guardrail_action.GuardrailAction"
    ]
    """<p>Indicates whether the guardrail intervened during the model invocation.</p>"""
    guardrail_source: NotRequired[
        "capo_guardduty.types.guardrail_source.GuardrailSource"
    ]
    """<p>Indicates whether the guardrail was applied on the input or output of the model invocation.</p>"""

guardrail_action instance-attribute

guardrail_action: NotRequired[GuardrailAction]

Indicates whether the guardrail intervened during the model invocation.

guardrail_source instance-attribute

guardrail_source: NotRequired[GuardrailSource]

Indicates whether the guardrail was applied on the input or output of the model invocation.

version instance-attribute

version: NotRequired[String]

The version of the Amazon Bedrock guardrail. Valid values are a numeric version, DRAFT, or ENFORCED.