class Amazonite::Lambda::InvocationCompletedDetails

Overview

Details about a function invocation that completed.

Included Modules

Defined in:

lambda/invocation_completed_details.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(start_timestamp : Time, end_timestamp : Time, request_id : String, error : EventError | 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 end_timestamp : Time #

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


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

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


[View source]
def error : EventError | Nil #

Details about the invocation failure.


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

Details about the invocation failure.


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

See Object#hash(hasher)


def request_id : String #

The request ID for the invocation.


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

The request ID for the invocation.


[View source]
def start_timestamp : Time #

The date and time when the invocation 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 invocation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).


[View source]
def validate! : Nil #

[View source]