Îõ³h*& ¨   0.4.0.0(C) 2021, 2024 Bellroy Pty Ltd BSD-3-Clause'Bellroy Tech Team  experimental Safe-Inferred"'ÕØÝäð Ž wai-handler-hal7Options that can be used to customize the behaviour of .  provides sensible defaults.wai-handler-halÖVault of values to share between the application and any middleware. You can pass in Data.Vault.Lazy. , or   if you don't want to depend on vault directly.wai-handler-hal‰API Gateway doesn't tell us the port it's listening on, so you have to tell it yourself. This is almost always going to be 443 (HTTPS).wai-handler-halÂTo return binary data, API Gateway requires you to configure the binaryMediaTypesÄ setting on your API, and then base64-encode your binary responses.If the  Content-Type header in the wai  0 matches any of the media types in this field, wai-handler-hal5 will base64-encode its response to the API Gateway. If you set binaryMediaTypesÅ in your API, you should override the default (empty) list to match.See:  èhttps://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-payload-encodings-workflow.html&Content type conversion in API Gateway in the  =https://docs.aws.amazon.com/apigateway/latest/developerguide/"Amazon API Gateway Developer Guide.wai-handler-halConvert a WAI + into a function that can be run by hal's Å. This is the simplest form, and probably all that you'll need. See ! if you have more complex needs.wai-handler-halDefault options for running  s on Lambda.wai-handler-hal A variant of  with configurable +. Useful if you just want to override the % setting but don't need the rest of runWithContext' s features.wai-handler-halConvert a WAI + into a function that can be run by hal's 4. This function exposes all the configurable knobs. wai-handler-halâConvert the request sent to a Lambda serving an API Gateway proxy integration into a WAI request.Note:Í We aren't told the HTTP version the client is using, so we assume HTTP 1.1.wai-handler-halUnpack a lazy Ý into its chunks, and return an IO action which returns each chunk in sequence, and returns , forever after the bytestring is exhausted. wai-handler-halConvert a WAI   into a hal .wai-handler-halÝTry to find the content-type of a response, given the response headers. If we can't, return "application/octet-stream".wai-handler-halConfiguration options.  provides sensible defaults.wai-handler-halConfiguration options.  provides sensible defaults.wai-handler-hal We pass two ) keys to the callback that provides the 0. This allows the application to look into the  part of each request and read hal data structures, if necessary:The  á provides information about the Lambda invocation, function, and execution environment; andThe  ( )É provides the unmodified API Gateway representation of the HTTP request.wai-handler-hal We force  because it's a type alias for à (i.e., should always parse), and it avoids an "ambiguous type variable" error at the use site.         !"#$%&'"()"*+"*,-.wai-handler-hal-0.4.0.0-H1NybmjqZG7G1RCYm8lJ2oNetwork.Wai.Handler.Halwai-handler-halAWS.Lambda.RuntimemRuntimemRuntimeWithContext Data.AesonValueOptionsvault portNumberbinaryMediaTypesrundefaultOptionsrunWithOptionsrunWithContext toWaiRequestfromWaiResponse$vault-0.3.1.5-D74jSdkgLuuGxUfSnTYIfeData.Vault.LazyemptybaseGHC.Basemempty wai-3.2.4-9Rvl8IwZnPnCdzFsZVqO4CNetwork.Wai.InternalResponse Network.Wai Application returnChunksbytestring-0.11.5.2Data.ByteString.Lazy.Internal ByteStringData.ByteString.Internal.Typehal-1.1-34DylOwVgEvLbb4GJenN0C*AWS.Lambda.Events.ApiGateway.ProxyResponse ProxyResponsegetContentTypeVaultKeyAWS.Lambda.Context LambdaContext)AWS.Lambda.Events.ApiGateway.ProxyRequest ProxyRequest NoAuthorizer