Skip to content

GuardrailStreamConfiguration

Source code in docs_src/capo_bedrock_runtime/types/guardrail_stream_configuration.py
class GuardrailStreamConfiguration(TypedDict, closed=True):
    guardrail_identifier: (
        "capo_bedrock_runtime.types.guardrail_identifier.GuardrailIdentifier"
    )
    """<p>The identifier for the guardrail.</p>"""
    guardrail_version: "capo_bedrock_runtime.types.guardrail_version.GuardrailVersion"
    """<p>The version of the guardrail.</p>"""
    trace: "capo_bedrock_runtime.types.guardrail_trace.GuardrailTrace"
    """<p>The trace behavior for the guardrail.</p>"""
    stream_processing_mode: "capo_bedrock_runtime.types.guardrail_stream_processing_mode.GuardrailStreamProcessingMode"
    """<p>The processing mode. </p> <p>The processing mode. For more information, see <i>Configure streaming response behavior</i> in the <i>Amazon Bedrock User Guide</i>. </p>"""

guardrail_identifier instance-attribute

guardrail_identifier: GuardrailIdentifier

The identifier for the guardrail.

guardrail_version instance-attribute

guardrail_version: GuardrailVersion

The version of the guardrail.

stream_processing_mode instance-attribute

stream_processing_mode: GuardrailStreamProcessingMode

The processing mode.

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

trace instance-attribute

The trace behavior for the guardrail.