GuardrailPolicyResult
Per-policy guardrail assessment result. Captures which policy triggered, its outcome, and a policy-specific detail string.
Contents
- action
-
Outcome of this specific policy.
Type: String
Valid Values:
NONE | BLOCKED | MASKEDRequired: Yes
- policyType
-
The type of guardrail policy that was evaluated.
Type: String
Valid Values:
CONTENT_FILTER | TOPIC | WORD | SENSITIVE_INFORMATION_PII | SENSITIVE_INFORMATION_REGEX | CONTEXTUAL_GROUNDINGRequired: Yes
- details
-
Policy-specific detail.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 4096.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: