BedrockGuardrailResource
Contains details about an Amazon Bedrock guardrail evaluated during a model invocation.
Contents
- guardrailAction
-
Indicates whether the guardrail intervened during the model invocation.
Type: String
Valid Values:
GUARDRAIL_INTERVENED | NONERequired: No
- guardrailSource
-
Indicates whether the guardrail was applied on the input or output of the model invocation.
Type: String
Valid Values:
INPUT | OUTPUTRequired: No
- version
-
The version of the Amazon Bedrock guardrail. Valid values are a numeric version,
DRAFT, orENFORCED.Type: String
Length Constraints: Minimum length of 1. Maximum length of 8.
Pattern:
(([1-9][0-9]{0,7})|(DRAFT)|(ENFORCED))Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: