class Amazonite::Lambda::Operation

Overview

Information about an operation within a durable execution.

Included Modules

Defined in:

lambda/operation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, type : OperationType, start_timestamp : Time, status : OperationStatus, parent_id : String | Nil = nil, name : String | Nil = nil, sub_type : String | Nil = nil, end_timestamp : Time | Nil = nil, execution_details : ExecutionDetails | Nil = nil, context_details : ContextDetails | Nil = nil, step_details : StepDetails | Nil = nil, wait_details : WaitDetails | Nil = nil, callback_details : CallbackDetails | Nil = nil, chained_invoke_details : ChainedInvokeDetails | Nil = nil) #

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

[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_details : CallbackDetails | Nil #

[View source]
def callback_details=(callback_details : CallbackDetails | Nil) #

[View source]
def chained_invoke_details : ChainedInvokeDetails | Nil #

[View source]
def chained_invoke_details=(chained_invoke_details : ChainedInvokeDetails | Nil) #

[View source]
def context_details : ContextDetails | Nil #

Details about the context, if this operation represents a context.


[View source]
def context_details=(context_details : ContextDetails | Nil) #

Details about the context, if this operation represents a context.


[View source]
def end_timestamp : Time | Nil #

The date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).


[View source]
def end_timestamp=(end_timestamp : Time | Nil) #

The date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).


[View source]
def execution_details : ExecutionDetails | Nil #

Details about the execution, if this operation represents an execution.


[View source]
def execution_details=(execution_details : ExecutionDetails | Nil) #

Details about the execution, if this operation represents an execution.


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

See Object#hash(hasher)


def id : String #

The unique identifier for this operation.


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

The unique identifier for this operation.


[View source]
def name : String | Nil #

The customer-provided name for this operation.


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

The customer-provided name for this operation.


[View source]
def parent_id : String | Nil #

The unique identifier of the parent operation, if this operation is running within a child context.


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

The unique identifier of the parent operation, if this operation is running within a child context.


[View source]
def start_timestamp : Time #

The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).


[View source]
def start_timestamp=(start_timestamp : Time) #

The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).


[View source]
def status : OperationStatus #

The current status of the operation.


[View source]
def status=(status : OperationStatus) #

The current status of the operation.


[View source]
def step_details : StepDetails | Nil #

Details about the step, if this operation represents a step.


[View source]
def step_details=(step_details : StepDetails | Nil) #

Details about the step, if this operation represents a step.


[View source]
def sub_type : String | Nil #

The subtype of the operation, providing additional categorization.


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

The subtype of the operation, providing additional categorization.


[View source]
def type : OperationType #

The type of operation.


[View source]
def type=(type : OperationType) #

The type of operation.


[View source]
def validate! : Nil #

[View source]
def wait_details : WaitDetails | Nil #

Details about the wait operation, if this operation represents a wait.


[View source]
def wait_details=(wait_details : WaitDetails | Nil) #

Details about the wait operation, if this operation represents a wait.


[View source]