class Amazonite::Lambda::CallbackOptions

Overview

Configuration options for callback operations in durable executions, including timeout settings and retry behavior.

Included Modules

Defined in:

lambda/callback_options.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(timeout_seconds : Int32 | Nil = nil, heartbeat_timeout_seconds : 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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def heartbeat_timeout_seconds : Int32 | Nil #

The heartbeat timeout for the callback operation, in seconds. If not specified or set to 0, heartbeat timeout is disabled.


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

The heartbeat timeout for the callback operation, in seconds. If not specified or set to 0, heartbeat timeout is disabled.


[View source]
def timeout_seconds : Int32 | Nil #

The timeout for the callback operation in seconds. If not specified or set to 0, the callback has no timeout.


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

The timeout for the callback operation in seconds. If not specified or set to 0, the callback has no timeout.


[View source]
def validate! : Nil #

[View source]