PayloadPart

data class PayloadPart(val value: PayloadPart) : ResponseStream

A wrapper for pieces of the payload that's returned in response to a streaming inference request. A streaming inference response consists of one or more payload parts.

Constructors

Link copied to clipboard
constructor(value: PayloadPart)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this ResponseStream as a PayloadPart and retrieves its aws.sdk.kotlin.services.sagemakerruntime.model.PayloadPart value. Throws an exception if the ResponseStream is not a PayloadPart.

Link copied to clipboard