class Amazonite::Lambda::CallbackStartedDetails

Overview

Contains details about a callback operation that has started, including timing information and callback metadata.

Included Modules

Defined in:

lambda/callback_started_details.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(callback_id : String, heartbeat_timeout : Int32 | Nil = nil, timeout : Int32 | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[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 callback_id : String #

The callback ID. Callback IDs are generated by the DurableContext when a durable function calls ctx.waitForCallback.


[View source]
def callback_id=(callback_id : String) #

The callback ID. Callback IDs are generated by the DurableContext when a durable function calls ctx.waitForCallback.


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

See Object#hash(hasher)


def heartbeat_timeout : Int32 | Nil #

The heartbeat timeout value, in seconds.


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

The heartbeat timeout value, in seconds.


[View source]
def timeout : Int32 | Nil #

The timeout value, in seconds.


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

The timeout value, in seconds.


[View source]
def validate! : Nil #

[View source]