Last active
January 19, 2021 21:41
-
-
Save managedkaos/144fb9218846c0dec9942d0bb8b54513 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "#<LambdaContext:0x000055e3817a4030 @clock_diff=1611091363834, @deadline_ms=1611091662175, @aws_request_id=\"ddd82629-22a9-4e2e-a84d-ad85b359e192\", @invoked_function_arn=\"arn:aws:lambda:us-east-1:388085464911:function:apimachine-staging\", @log_group_name=\"/aws/lambda/apimachine-staging\", @log_stream_name=\"2021/01/19/[$LATEST]a2b2b90da5d146b6a01531ae7cc035c1\", @function_name=\"apimachine-staging\", @memory_limit_in_mb=\"128\", @function_version=\"$LATEST\">" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| event: "{}", | |
| context: ""#<LambdaContext:0x000055e3817a4030 @clock_diff=1611091363834, @deadline_ms=1611091662175, @aws_request_id=\"ddd82629-22a9-4e2e-a84d-ad85b359e192\", @invoked_function_arn=\"arn:aws:lambda:us-east-1:388085464911:function:apimachine-staging\", @log_group_name=\"/aws/lambda/apimachine-staging\", @log_stream_name=\"2021/01/19/[$LATEST]a2b2b90da5d146b6a01531ae7cc035c1\", @function_name=\"apimachine-staging\", @memory_limit_in_mb=\"128\", @function_version=\"$LATEST\">"" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "event": "{}", | |
| "context": { | |
| "@clock_diff": "1611091363834", | |
| "@deadline_ms":"1611091662175", | |
| "@aws_request_id":"ddd82629-22a9-4e2e-a84d-ad85b359e192", | |
| "@invoked_function_arn":"arn:aws:lambda:us-east-1:388085464911:function:apimachine-staging", | |
| "@log_group_name":"/aws/lambda/apimachine-staging", | |
| "@log_stream_name":"2021/01/19/[$LATEST]a2b2b90da5d146b6a01531ae7cc035c1", | |
| "@function_name":"apimachine-staging", | |
| "@memory_limit_in_mb":"128", | |
| "@function_version":"$LATEST" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'json' | |
| def handler(event:, context:) | |
| { event: JSON.generate(event), context: JSON.generate(context.inspect) } | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment