class Amazonite::Lambda::StepDetails

Overview

Details about a step operation.

Included Modules

Defined in:

lambda/step_details.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(attempt : Int32 | Nil = nil, next_attempt_timestamp : Time | Nil = nil, result : String | Nil = nil, error : ErrorObject | Nil = nil) #

[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 attempt : Int32 | Nil #

The current attempt number for this step.


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

The current attempt number for this step.


[View source]
def error : ErrorObject | Nil #

Details about the step failure.


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

Details about the step failure.


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

See Object#hash(hasher)


def next_attempt_timestamp : Time | Nil #

The date and time when the next attempt is scheduled, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). Only populated when the step is in a pending state.


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

The date and time when the next attempt is scheduled, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). Only populated when the step is in a pending state.


[View source]
def result : String | Nil #

The JSON response payload from the step operation.


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

The JSON response payload from the step operation.


[View source]
def validate! : Nil #

[View source]