Skip to content

BedrockAgentRuntimeClient.start_flow_execution

rboto-bedrock-agent-runtime==0.4.0 · Service index · Types

Model summary (excerpt): Starts an execution of an Amazon Bedrock flow. Unlike flows that run until completion or time out after five minutes, flow executions let you run flows asynchronously for longer durations. Flow executions also yield control so that your application can perform other tasks. This operation returns an Amazon Resource Name (ARN) that you can use to track and manage your flow execution. Flow...

Install and imports

python -m pip install "rboto[bedrock-agent-runtime]==0.4.0"
from rboto import BedrockAgentRuntimeClient
from collections.abc import Sequence
from rboto_bedrock_agent_runtime.types import (
    FlowInput,
    ModelPerformanceConfiguration,
    StartFlowExecutionOutput,
)

Signature

async def start_flow_execution(
    *,
    flow_identifier: str,
    flow_alias_identifier: str,
    inputs: Sequence[FlowInput],
    flow_execution_name: str | None = None,
    model_performance_configuration: ModelPerformanceConfiguration | None = None,
) -> StartFlowExecutionOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
flow_identifier Yes The unique identifier of the flow to execute.
flow_alias_identifier Yes The unique identifier of the flow alias to use for the flow execution.
inputs Yes The input data required for the flow execution. This must match the input schema defined in the flow.
flow_execution_name No The unique name for the flow execution. If you don't provide one, a system-generated name is used.
model_performance_configuration No The performance settings for the foundation model used in the flow execution.

Output

StartFlowExecutionOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
execution_arn str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

FlowInput, ModelPerformanceConfiguration, StartFlowExecutionOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_bedrock_agent_runtime.exceptions:

AccessDeniedError, BadGatewayError, ConflictError, DependencyFailedError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model