úÎ!MQIÉ4      !"#$%&'()*+,-./0123None ,4567;MGæ infernal"Environment variables set by AWS ( ehttps://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtimedocsr). You may not need to read any of these, but the implementation needs the API endpoint var to handle requests.infernal From the AWS_LAMBDA_LOG_GROUP_NAME env varinfernal From the AWS_LAMBDA_LOG_STREAM_NAME env varinfernal From the AWS_LAMBDA_FUNCTION_VERSION env varinfernal From the AWS_LAMBDA_FUNCTION_NAME env varinfernal From the LAMBDA_TASK_ROOT env varinfernal From the AWS_LAMBDA_RUNTIME_API env varinfernal From the AWS_LAMBDA_FUNCTION_MEMORY_SIZE env var infernal From the _HANDLER env var infernal(An error formatted to propagate to AWS ( Whttps://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html#runtimes-api-invokeerrordocs). Note that this is an 4p so you can throw it to short-circuit processing and report useful information. If you throw anything else a - will be reported with no useful information. infernal=The type of error that occurred. In this library is is often  StartCase -formated. infernalA useful error messageinfernal3The request parsed from the "next invocation" API ( Phttps://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html#runtimes-api-nextdocs)infernal From the Lambda-Runtime-Aws-Request-Id headerinfernal From the Lambda-Runtime-Trace-Id headerinfernal From the #Lambda-Runtime-Invoked-Function-Arn headerinfernal From the Lambda-Runtime-Deadline-Ms header, an epoch deadline in msinfernal.The unparsed request body. Typically you will  this.infernal*The UUID associated with a Lambda request.infernalA   that indicates a vague  InternalError to AWS.%infernal3User callbacks to be invoked by the main loop (see 0).'infernalSee ,(infernalSee +)infernalSee **infernal³A handler for otherwise uncaught errors (like failures to fetch next invocation). These happen outside context in which we can report them to AWS, so there is no need to return a  . Exceptions of type 5/ will be rethrown after this callback executes.+infernal7Error mapper for invocation errors. The result will be POST%ed to the invocation error endpoint ( Whttps://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html#runtimes-api-invokeerrordocs). Exceptions of type  % will not trigger this callback, and 5$ will be rethrown after it executes.,infernal‰The "function" part of your Lambda: takes a request with a JSON-encoded body and returns a JSON-encoded response body. You can throw any 4K and the appropriate error callbacks will process it. Most importantly,  . will propagate a formatted error to AWS, and 5# will halt the program. Except for 5D, throwing exceptions here will not terminate the main loop (see 0Ô). Note that the AWS custom runtime loop implemented in this library is single-threaded (as required - we must finish an invocation before fetching the next) but you are free to spawn threads in your callback.-infernal1Error mapper for init errors. The result will be POSTed to the init error endpoint ( Uhttps://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html#runtimes-api-initerrordocs). Exceptions of type  % will not trigger this callback, and 5$ will be rethrown after it executes..infernalA - that always returns ./infernalA % that returns  from all error callbacks.0infernal'The full-powered entrypoint underlying 1 that allows you to use any 6ÿ-capable monad for your callbacks. This runs the main loop of our AWS Lambda Custom Runtime to fetch invocations, process them, and report errors or results. Control will not return from this function, and AWS Lambda will terminate the process at its will.1infernal&A simple entrypoint that delegates to 0. Use this as the body of your mainj function if you want to get a Lambda function up and running quickly. All you need to do is provide a ,R that handles JSON-encoded requests and returns JSON-encoded responses (or throws  B exceptions). Your callback has access to a simple logger (try 7T, for example) whose output will be collected by Lambda and published to CloudWatch.0infernalRuns your monad n in IO (see  MonadUnliftIO from  unliftio-core)infernal%Error mapper for the callback builderinfernaleCallback builder. When possible, do init work here so the framework can propagate init errors to AWS.& %&'()*+,-./01&%&'()-+  ,*/.01None ,4567;MI¤89:;<=>?@      !"#$%&&'()*+,-./01234564789:;<=>?@ABCDEFG%infernal-0.2.0-ArbNqjVbKhC64ON3Ujs82nInfernal Data.AesondecodePaths_infernal LambdaVars_lvLogGroupName_lvLogStreamName_lvFunctionVersion_lvFunctionName _lvTaskRoot_lvApiEndpoint_lvFunctionMemory_lvHandlerName LambdaError_lerrErrorType_lerrErrorMessage LambdaRequest_lreqId _lreqTraceId_lreqFunctionArn_lreqDeadlineMs _lreqBodyLambdaRequestId_unLambdaRequestIddefaultLambdaError$fToJSONLambdaError$fExceptionLambdaError$fEqLambdaRequestId$fShowLambdaRequestId$fOrdLambdaRequestId$fIsStringLambdaRequestId$fHashableLambdaRequestId$fEqLambdaRequest$fShowLambdaRequest$fEqLambdaError$fShowLambdaError$fGenericLambdaErrorCallbackConfig_cbcRunCallback_cbcInvokeErrorCallback_cbcUncaughtErrorCallbackUncaughtErrorCallbackInvokeErrorCallback RunCallbackInitErrorCallbackdefaultInitErrorCallbackdefaultCallbackConfig runLambdarunSimpleLambda$fHasSimpleLogLambdaEnv$fHasLambdaEnvLambdaEnvbaseGHC.Exception.Type ExceptionGHC.IO.ExceptionExitCode,unliftio-core-0.1.2.0-DmlZdkLzX278vkyONsp8WQControl.Monad.IO.UnliftUnliftIO&heart-app-0.1.1-2cdBv0PltOYI5TUjSm5uzsHeart.App.LogginglogDebugversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName