aws.internal.invoke_stream

The streaming entry point: the signed ConverseStream request, wrapped in a TurnStream over the decoded event stream.

Reference version

Signature

function aws.internal.invoke_stream(
input: ai.ModelTurnInput
) -> ai.stream.TurnStream throws baml.errors.InvalidArgument | baml.errors.Io | baml.errors.ParseError | baml.errors.Timeout | baml.json.SerializationError | ai.errors.Failure

The streaming entry point: the signed ConverseStream request, wrapped in a TurnStream over the decoded event stream.

Source:<builtin>/aws/ns_internal/bedrock.bamlbytes 70686–72787