Skip to content

InvokeFlowRequest

Source code in docs_src/capo_bedrock_agent_runtime/types/invoke_flow_request.py
class InvokeFlowRequest(TypedDict, closed=True):
    flow_identifier: "capo_bedrock_agent_runtime.types.flow_identifier.FlowIdentifier"
    """<p>The unique identifier of the flow.</p>"""
    flow_alias_identifier: (
        "capo_bedrock_agent_runtime.types.flow_alias_identifier.FlowAliasIdentifier"
    )
    """<p>The unique identifier of the flow alias.</p>"""
    inputs: "capo_bedrock_agent_runtime.types.flow_inputs.FlowInputs"
    """<p>A list of objects, each containing information about an input into the flow.</p>"""
    enable_trace: NotRequired["bool"]
    """<p>Specifies whether to return the trace for the flow or not. Traces track inputs and outputs for nodes in the flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html">Track each step in your prompt flow by viewing its trace in Amazon Bedrock</a>.</p>"""
    model_performance_configuration: NotRequired[
        "capo_bedrock_agent_runtime.types.model_performance_configuration.ModelPerformanceConfiguration"
    ]
    """<p>Model performance settings for the request.</p>"""
    execution_id: NotRequired[
        "capo_bedrock_agent_runtime.types.flow_execution_id.FlowExecutionId"
    ]
    """<p>The unique identifier for the current flow execution. If you don't provide a value, Amazon Bedrock creates the identifier for you. </p>"""

enable_trace instance-attribute

enable_trace: NotRequired[bool]

Specifies whether to return the trace for the flow or not. Traces track inputs and outputs for nodes in the flow. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.

execution_id instance-attribute

execution_id: NotRequired[FlowExecutionId]

The unique identifier for the current flow execution. If you don't provide a value, Amazon Bedrock creates the identifier for you.

flow_alias_identifier instance-attribute

flow_alias_identifier: FlowAliasIdentifier

The unique identifier of the flow alias.

flow_identifier instance-attribute

flow_identifier: FlowIdentifier

The unique identifier of the flow.

inputs instance-attribute

inputs: FlowInputs

A list of objects, each containing information about an input into the flow.

model_performance_configuration instance-attribute

model_performance_configuration: NotRequired[ModelPerformanceConfiguration]

Model performance settings for the request.