Skip to content

BedrockGuardrailDetails

Source code in docs_src/capo_guardduty/types/bedrock_guardrail_details.py
class BedrockGuardrailDetails(TypedDict, closed=True):
    guardrail_arn: NotRequired["capo_guardduty.types.string.String"]
    """<p>The ARN of the Bedrock guardrail. This field is deprecated. Use the <code>guardrails</code> list instead.</p>"""
    guardrail_version: NotRequired["capo_guardduty.types.string.String"]
    """<p>The version of the Bedrock guardrail. This field is deprecated. Use the <code>guardrails</code> list instead.</p>"""
    guardrails: NotRequired["capo_guardduty.types.bedrock_guardrails.BedrockGuardrails"]
    """<p>The list of Bedrock guardrails associated with the finding.</p>"""
    guardrail_action: NotRequired[
        "capo_guardduty.types.guardrail_action.GuardrailAction"
    ]
    """<p>Indicates whether the guardrail intervened or not.</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>"""
    content_policy_filters: NotRequired[
        "capo_guardduty.types.content_policy_filters.ContentPolicyFilters"
    ]
    """<p>The list of content policy filters that matched during the guardrail evaluation.</p>"""

content_policy_filters instance-attribute

content_policy_filters: NotRequired[ContentPolicyFilters]

The list of content policy filters that matched during the guardrail evaluation.

guardrail_action instance-attribute

guardrail_action: NotRequired[GuardrailAction]

Indicates whether the guardrail intervened or not.

guardrail_arn instance-attribute

guardrail_arn: NotRequired[String]

The ARN of the Bedrock guardrail. This field is deprecated. Use the guardrails list instead.

guardrail_source instance-attribute

guardrail_source: NotRequired[GuardrailSource]

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

guardrail_version instance-attribute

guardrail_version: NotRequired[String]

The version of the Bedrock guardrail. This field is deprecated. Use the guardrails list instead.

guardrails instance-attribute

guardrails: NotRequired[BedrockGuardrails]

The list of Bedrock guardrails associated with the finding.