BedrockGuardrailDetails¶
Structure Class¶
BedrockGuardrailDetails
dataclass
¶
Contains information about the Bedrock guardrail that was involved in a finding.
Attributes¶
content_policy_filters
class-attribute
instance-attribute
¶
content_policy_filters: list[ContentPolicyFilter] | None = None
The list of content policy filters that matched during the guardrail evaluation.
guardrail_action
class-attribute
instance-attribute
¶
guardrail_action: GuardrailAction | None = None
Indicates whether the guardrail intervened or not.
guardrail_arn
class-attribute
instance-attribute
¶
guardrail_arn: str | None = None
The ARN of the Bedrock guardrail. This field is deprecated. Use the
guardrails list instead.
guardrail_source
class-attribute
instance-attribute
¶
guardrail_source: GuardrailSource | None = None
Indicates whether the guardrail was applied on the input or output of the model invocation.
guardrail_version
class-attribute
instance-attribute
¶
guardrail_version: str | None = None
The version of the Bedrock guardrail. This field is deprecated. Use the
guardrails list instead.
guardrails
class-attribute
instance-attribute
¶
guardrails: list[BedrockGuardrail] | None = None
The list of Bedrock guardrails associated with the finding.