class Amazonite::Lambda::RetryDetails

Overview

Information about retry attempts for an operation.

Included Modules

Defined in:

lambda/retry_details.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(current_attempt : Int32 | Nil = nil, next_attempt_delay_seconds : Int32 | 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 current_attempt : Int32 | Nil #

The current attempt number for this operation.


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

The current attempt number for this operation.


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

See Object#hash(hasher)


def next_attempt_delay_seconds : Int32 | Nil #

The delay before the next retry attempt, in seconds.


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

The delay before the next retry attempt, in seconds.


[View source]
def validate! : Nil #

[View source]