class
Amazonite::Lambda::Operation
- Amazonite::Lambda::Operation
- Reference
- Object
Overview
Information about an operation within a durable execution.
Included Modules
- JSON::Serializable
Defined in:
lambda/operation.crConstructors
- .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)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. - #callback_details : CallbackDetails | Nil
- #callback_details=(callback_details : CallbackDetails | Nil)
- #chained_invoke_details : ChainedInvokeDetails | Nil
- #chained_invoke_details=(chained_invoke_details : ChainedInvokeDetails | Nil)
-
#context_details : ContextDetails | Nil
Details about the context, if this operation represents a context.
-
#context_details=(context_details : ContextDetails | Nil)
Details about the context, if this operation represents a context.
-
#end_timestamp : Time | Nil
The date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
#end_timestamp=(end_timestamp : Time | Nil)
The date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
#execution_details : ExecutionDetails | Nil
Details about the execution, if this operation represents an execution.
-
#execution_details=(execution_details : ExecutionDetails | Nil)
Details about the execution, if this operation represents an execution.
-
#hash(hasher)
See
Object#hash(hasher) -
#id : String
The unique identifier for this operation.
-
#id=(id : String)
The unique identifier for this operation.
-
#name : String | Nil
The customer-provided name for this operation.
-
#name=(name : String | Nil)
The customer-provided name for this operation.
-
#parent_id : String | Nil
The unique identifier of the parent operation, if this operation is running within a child context.
-
#parent_id=(parent_id : String | Nil)
The unique identifier of the parent operation, if this operation is running within a child context.
-
#start_timestamp : Time
The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
#start_timestamp=(start_timestamp : Time)
The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
#status : OperationStatus
The current status of the operation.
-
#status=(status : OperationStatus)
The current status of the operation.
-
#step_details : StepDetails | Nil
Details about the step, if this operation represents a step.
-
#step_details=(step_details : StepDetails | Nil)
Details about the step, if this operation represents a step.
-
#sub_type : String | Nil
The subtype of the operation, providing additional categorization.
-
#sub_type=(sub_type : String | Nil)
The subtype of the operation, providing additional categorization.
-
#type : OperationType
The type of operation.
-
#type=(type : OperationType)
The type of operation.
- #validate! : Nil
-
#wait_details : WaitDetails | Nil
Details about the wait operation, if this operation represents a wait.
-
#wait_details=(wait_details : WaitDetails | Nil)
Details about the wait operation, if this operation represents a wait.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Details about the context, if this operation represents a context.
Details about the context, if this operation represents a context.
The date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
The date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
Details about the execution, if this operation represents an execution.
Details about the execution, if this operation represents an execution.
The unique identifier of the parent operation, if this operation is running within a child context.
The unique identifier of the parent operation, if this operation is running within a child context.
The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
Details about the step, if this operation represents a step.
The subtype of the operation, providing additional categorization.
Details about the wait operation, if this operation represents a wait.
Details about the wait operation, if this operation represents a wait.