ResponseStream
A stream of payload parts. Each part contains a portion of the response for a streaming inference request.
Inheritors
Types
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
Casts this ResponseStream as a PayloadPart and retrieves its aws.sdk.kotlin.services.sagemakerruntime.model.PayloadPart value. Returns null if the ResponseStream is not a PayloadPart.