View a markdown version of this page

BedrockGuardrailResource - Amazon GuardDuty
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 | NONE

Required: No

guardrailSource

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

Type: String

Valid Values: INPUT | OUTPUT

Required: No

version

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

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: