module MineTrain

Defined in:

mine_train.cr
mine_train/lambda/context.cr
mine_train/lambda/event.cr

Constant Summary

API_VERSION = "2018-06-01"
INVOCATION_URL = "http://#{ENV["AWS_LAMBDA_RUNTIME_API"]}/#{API_VERSION}/runtime"

Class Method Summary

Class Method Detail

def self.fetch_event : HTTP::Client::Response #

[View source]
def self.send_error_response(event : HTTP::Client::Response, ex : Exception) #

[View source]
def self.send_initialization_error_response(ex : Exception) #

[View source]
def self.send_response(event : HTTP::Client::Response, result) #

[View source]