GuardrailStreamConfiguration - Amazon Bedrock

GuardrailStreamConfiguration

Configuration information for a guardrail that you use with the ConverseStream action.

Contents

guardrailIdentifier

The identifier for the guardrail.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Pattern: ^(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))$

Required: Yes

guardrailVersion

The version of the guardrail.

Type: String

Pattern: ^(([1-9][0-9]{0,7})|(DRAFT))$

Required: Yes

streamProcessingMode

The processing mode.

The processing mode. For more information, see Configure streaming response behavior.

Type: String

Valid Values: sync | async

Required: No

trace

The trace behavior for the guardrail.

Type: String

Valid Values: enabled | disabled

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: