class Amazonite::Lambda::ContextDetails

Overview

Details about a durable execution context.

Included Modules

Defined in:

lambda/context_details.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(replay_children : Bool | Nil = nil, result : String | Nil = nil, error : ErrorObject | 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 error : ErrorObject | Nil #

Details about the context failure.


[View source]
def error=(error : ErrorObject | Nil) #

Details about the context failure.


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

See Object#hash(hasher)


def replay_children : Bool | Nil #

Whether the state data of child operations of this completed context should be included in the invoke payload and GetDurableExecutionState response.


[View source]
def replay_children=(replay_children : Bool | Nil) #

Whether the state data of child operations of this completed context should be included in the invoke payload and GetDurableExecutionState response.


[View source]
def result : String | Nil #

The response payload from the context.


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

The response payload from the context.


[View source]
def validate! : Nil #

[View source]