Skip to content

GuardrailStreamConfiguration

Structure Class

GuardrailStreamConfiguration dataclass

Bases: _SerdeShape

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

Attributes

guardrail_identifier class-attribute instance-attribute
guardrail_identifier: str = ...

The identifier for the guardrail.

guardrail_version class-attribute instance-attribute
guardrail_version: str = ...

The version of the guardrail.

stream_processing_mode class-attribute instance-attribute
stream_processing_mode: str = ...

The processing mode.

The processing mode. For more information, see Configure streaming response behavior in the Amazon Bedrock User Guide.

trace class-attribute instance-attribute
trace: str = ...

The trace behavior for the guardrail.