InvokeWithResponseStreamResponseEvent
An object that includes a chunk of the response payload. When the stream has ended, Lambda includes a InvokeComplete
object.
Inheritors
Types
An object that's returned when the stream has ended and all the payload chunks have been returned.
A chunk of the streamed response payload.
Functions
Casts this InvokeWithResponseStreamResponseEvent as a InvokeComplete and retrieves its aws.sdk.kotlin.services.lambda.model.InvokeWithResponseStreamCompleteEvent value. Throws an exception if the InvokeWithResponseStreamResponseEvent is not a InvokeComplete.
Casts this InvokeWithResponseStreamResponseEvent as a InvokeComplete and retrieves its aws.sdk.kotlin.services.lambda.model.InvokeWithResponseStreamCompleteEvent value. Returns null if the InvokeWithResponseStreamResponseEvent is not a InvokeComplete.
Casts this InvokeWithResponseStreamResponseEvent as a PayloadChunk and retrieves its aws.sdk.kotlin.services.lambda.model.InvokeResponseStreamUpdate value. Throws an exception if the InvokeWithResponseStreamResponseEvent is not a PayloadChunk.
Casts this InvokeWithResponseStreamResponseEvent as a PayloadChunk and retrieves its aws.sdk.kotlin.services.lambda.model.InvokeResponseStreamUpdate value. Returns null if the InvokeWithResponseStreamResponseEvent is not a PayloadChunk.