class Amazonite::Lambda::OperationUpdate

Overview

An update to be applied to an operation during checkpointing.

Included Modules

Defined in:

lambda/operation_update.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, type : OperationType, action : OperationAction, parent_id : String | Nil = nil, name : String | Nil = nil, sub_type : String | Nil = nil, payload : String | Nil = nil, error : ErrorObject | Nil = nil, context_options : ContextOptions | Nil = nil, step_options : StepOptions | Nil = nil, wait_options : WaitOptions | Nil = nil, callback_options : CallbackOptions | Nil = nil, chained_invoke_options : ChainedInvokeOptions | 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 action : OperationAction #

The action to take on the operation.


[View source]
def action=(action : OperationAction) #

The action to take on the operation.


[View source]
def callback_options : CallbackOptions | Nil #

[View source]
def callback_options=(callback_options : CallbackOptions | Nil) #

[View source]
def chained_invoke_options : ChainedInvokeOptions | Nil #

[View source]
def chained_invoke_options=(chained_invoke_options : ChainedInvokeOptions | Nil) #

[View source]
def context_options : ContextOptions | Nil #

Options for context operations.


[View source]
def context_options=(context_options : ContextOptions | Nil) #

Options for context operations.


[View source]
def error : ErrorObject | Nil #

The error information for failed operations.


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

The error information for failed operations.


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

The payload for successful operations. The maximum payload size is 6 MB for synchronous EXECUTION operations (RequestResponse invocationType), 1 MB for asynchronous EXECUTION (Event invocationType) and CHAINED_INVOKE operations, and 256 KB for CONTEXT, STEP, WAIT, and CALLBACK operations.


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

The payload for successful operations. The maximum payload size is 6 MB for synchronous EXECUTION operations (RequestResponse invocationType), 1 MB for asynchronous EXECUTION (Event invocationType) and CHAINED_INVOKE operations, and 256 KB for CONTEXT, STEP, WAIT, and CALLBACK operations.


[View source]
def step_options : StepOptions | Nil #

Options for step operations.


[View source]
def step_options=(step_options : StepOptions | Nil) #

Options for step operations.


[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 to update.


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

The type of operation to update.


[View source]
def validate! : Nil #

[View source]
def wait_options : WaitOptions | Nil #

Options for wait operations.


[View source]
def wait_options=(wait_options : WaitOptions | Nil) #

Options for wait operations.


[View source]