struct AwsLambdaRuntime::Invocation

Overview

Invocation provides the event payload, the context and meta information of a lambda invocation.

Defined in:

aws_lambda_runtime/invocation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(next_invocation_response) #

[View source]

Instance Method Detail

def aws_request_id : String #

[View source]
def client_context : JSON::Any #

[View source]
def context : LambdaContext #

[View source]
def deadline_ms : Int64 #

[View source]
def event : String #

[View source]
def get_remaining_time_in_millis #

FIXME not correct, deadline ms is a date


[View source]
def identity : JSON::Any #

[View source]
def invoked_function_arn : String #

[View source]
def trace_id : String #

[View source]