class Amazonite::Lambda::InvokeWithResponseStreamResponseEvent

Overview

An object that includes a chunk of the response payload. When the stream has ended, Lambda includes a InvokeComplete object.

Included Modules

Defined in:

lambda/invoke_with_response_stream_response_event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(payload_chunk : InvokeResponseStreamUpdate | Nil = nil, invoke_complete : InvokeWithResponseStreamCompleteEvent | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def invoke_complete : InvokeWithResponseStreamCompleteEvent | Nil #

An object that's returned when the stream has ended and all the payload chunks have been returned.


[View source]
def invoke_complete=(invoke_complete : InvokeWithResponseStreamCompleteEvent | Nil) #

An object that's returned when the stream has ended and all the payload chunks have been returned.


[View source]
def payload_chunk : InvokeResponseStreamUpdate | Nil #

A chunk of the streamed response payload.


[View source]
def payload_chunk=(payload_chunk : InvokeResponseStreamUpdate | Nil) #

A chunk of the streamed response payload.


[View source]
def validate! : Nil #

[View source]