class Amazonite::Lambda::InvokeWithResponseStreamResponse

Included Modules

Defined in:

lambda/invoke_with_response_stream_response.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(status_code : Int32 | Nil = nil, executed_version : String | Nil = nil, event_stream : InvokeWithResponseStreamResponseEvent | Nil = nil, response_stream_content_type : String | 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 event_stream : InvokeWithResponseStreamResponseEvent | Nil #

The stream of response payloads.


[View source]
def event_stream=(event_stream : InvokeWithResponseStreamResponseEvent | Nil) #

The stream of response payloads.


[View source]
def executed_version : String | Nil #

The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.


[View source]
def executed_version=(executed_version : String | Nil) #

The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def response_stream_content_type : String | Nil #

The type of data the stream is returning.


[View source]
def response_stream_content_type=(response_stream_content_type : String | Nil) #

The type of data the stream is returning.


[View source]
def status_code : Int32 | Nil #

For a successful request, the HTTP status code is in the 200 range. For the RequestResponse invocation type, this status code is 200. For the DryRun invocation type, this status code is 204.


[View source]
def status_code=(status_code : Int32 | Nil) #

For a successful request, the HTTP status code is in the 200 range. For the RequestResponse invocation type, this status code is 200. For the DryRun invocation type, this status code is 204.


[View source]
def validate! : Nil #

[View source]