Skip to content

Bedrock Agentcore  >  Unions  >  InvokeHarnessStreamOutput

InvokeHarnessStreamOutput

Union Type

Union Member Types

InvokeHarnessStreamOutputMessageStart dataclass

Indicates the start of a new message from the agent.

Attributes

value instance-attribute

InvokeHarnessStreamOutputContentBlockStart dataclass

Indicates the start of a new content block.

Attributes

value instance-attribute

InvokeHarnessStreamOutputContentBlockDelta dataclass

A delta update to the current content block.

Attributes

value instance-attribute

InvokeHarnessStreamOutputContentBlockStop dataclass

Indicates the end of the current content block.

Attributes

value instance-attribute

InvokeHarnessStreamOutputMessageStop dataclass

Indicates the end of the current message.

Attributes

value instance-attribute

InvokeHarnessStreamOutputMetadata dataclass

Token usage and latency metrics for the invocation.

Attributes

value instance-attribute

InvokeHarnessStreamOutputInternalServerException dataclass

The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.

Attributes

value instance-attribute

InvokeHarnessStreamOutputValidationException dataclass

The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.

Attributes

value instance-attribute

InvokeHarnessStreamOutputRuntimeClientError dataclass

An error returned by the runtime container during agent execution.

Attributes

value instance-attribute

InvokeHarnessStreamOutputUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str