PayloadPart
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.
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
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.