class
Amazonite::Lambda::InvokeWithResponseStreamResponseEvent
- Amazonite::Lambda::InvokeWithResponseStreamResponseEvent
- Reference
- Object
Overview
An object that includes a chunk of the response payload. When the stream has ended, Lambda
includes a InvokeComplete object.
Included Modules
- JSON::Serializable
Defined in:
lambda/invoke_with_response_stream_response_event.crConstructors
- .new(pull : JSON::PullParser)
- .new(payload_chunk : InvokeResponseStreamUpdate | Nil = nil, invoke_complete : InvokeWithResponseStreamCompleteEvent | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#invoke_complete : InvokeWithResponseStreamCompleteEvent | Nil
An object that's returned when the stream has ended and all the payload chunks have been returned.
-
#invoke_complete=(invoke_complete : InvokeWithResponseStreamCompleteEvent | Nil)
An object that's returned when the stream has ended and all the payload chunks have been returned.
-
#payload_chunk : InvokeResponseStreamUpdate | Nil
A chunk of the streamed response payload.
-
#payload_chunk=(payload_chunk : InvokeResponseStreamUpdate | Nil)
A chunk of the streamed response payload.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
An object that's returned when the stream has ended and all the payload chunks have been returned.
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.