Skip to content

Bedrock Runtime  >  Unions  >  ResponseStream

ResponseStream

Union Type

Union Member Types

ResponseStreamChunk dataclass

Content included in the response.

Attributes

value instance-attribute
value: PayloadPart

ResponseStreamInternalServerException dataclass

An internal server error occurred. Retry your request.

Attributes

value instance-attribute

ResponseStreamModelStreamErrorException dataclass

An error occurred while streaming the response. Retry your request.

Attributes

value instance-attribute

ResponseStreamValidationException dataclass

Input validation failed. Check your request parameters and retry the request.

Attributes

value instance-attribute

ResponseStreamThrottlingException dataclass

Your request was throttled because of service-wide limitations. Resubmit your request later or in a different region. You can also purchase Provisioned Throughput to increase the rate or number of tokens you can process.

Attributes

value instance-attribute

ResponseStreamModelTimeoutException dataclass

The request took too long to process. Processing time exceeded the model timeout length.

Attributes

value instance-attribute

ResponseStreamServiceUnavailableException dataclass

The service isn't available. Try again later.

Attributes

value instance-attribute

ResponseStreamUnknown 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