AWS_ACCESS_KEY_ID
ASIA4RRTJOIHYO5EYPF6
AWS_DEFAULT_REGION
ap-southeast-1
AWS_EXECUTION_ENV
AWS_Lambda_nodejs10.x
AWS_LAMBDA_FUNCTION_MEMORY_SIZE
512
AWS_LAMBDA_FUNCTION_NAME
count
AWS_LAMBDA_FUNCTION_VERSION
173
AWS_LAMBDA_INITIALIZATION_TYPE
on-demand
AWS_LAMBDA_LOG_GROUP_NAME
/aws/lambda/count
AWS_LAMBDA_LOG_STREAM_NAME
2021/12/06/[173]36509b3ba8b74f389bd605435ef4e568
AWS_LAMBDA_RUNTIME_API
127.0.0.1:9001
AWS_PROFILE
gosls
AWS_REGION
ap-southeast-1
AWS_XRAY_CONTEXT_MISSING
LOG_ERROR
AWS_XRAY_DAEMON_ADDRESS
169.254.79.129:2000
CONTENTLENGTH
0
COUNTVERSION
HOST
count.goserverless.sg
LAMBDA_RUNTIME_DIR
/var/runtime
LAMBDA_TASK_ROOT
/var/task
LANG
en_US.UTF-8
LD_LIBRARY_PATH
/var/lang/lib:/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib:/opt/lib
METHOD
GET
NODE_ENV
staging
NODE_EXTRA_CA_CERTS
/etc/pki/tls/certs/ca-bundle.crt
NODE_PATH
/opt/nodejs/node10/node_modules:/opt/nodejs/node_modules:/var/runtime/node_modules:/var/runtime:/var/task
PATH
node_modules/.bin:/var/lang/bin:/usr/local/bin:/usr/bin/:/bin:/opt/bin
PORT
45277
PROTO
HTTP/1.1
PWD
/var/task
REMOTEADDR
127.0.0.1:55512
REQUESTURI
/
SHLVL
1
TRANSFERENCODING
TZ
:UTC
UP_AUTHOR
Kai Hendry
UP_COMMIT
3978b30
UP_RESTARTS
0
UP_STAGE
staging
_
./server
_AWS_XRAY_DAEMON_ADDRESS
169.254.79.129
_AWS_XRAY_DAEMON_PORT
2000
_HANDLER
_proxy.handle

Request Header

Accept
[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Accept-Encoding
[br,gzip]
Accept-Language
[en-US,en;q=0.5]
Cloudfront-Forwarded-Proto
[https]
Cloudfront-Is-Desktop-Viewer
[true]
Cloudfront-Is-Mobile-Viewer
[false]
Cloudfront-Is-Smarttv-Viewer
[false]
Cloudfront-Is-Tablet-Viewer
[false]
Cloudfront-Viewer-Country
[US]
Connection
[close]
If-Modified-Since
[Tue, 26 Oct 2021 07:52:47 GMT]
User-Agent
[CCBot/2.0 (https://commoncrawl.org/faq/)]
Via
[1.1 868d1895b58e93fcf6e7e7f5b421f2ad.cloudfront.net (CloudFront)]
X-Amz-Cf-Id
[4kyT_8ZD8OY71uxo1d3EjdXE-iClLwU1SKI8YjB52TWMvz5Tg9E7Rg==]
X-Amzn-Trace-Id
[Root=1-61ad6a6c-4254d7921d3b3b6a3728f325]
X-Context
[{"apiId":"nfmu0f3g7g","resourceId":"kmq9s586el","requestId":"ce4414c4-d072-448a-9c89-02c5d0e470e7","accountId":"862322258447","stage":"staging","identity":{"apiKey":"","accountId":"","userAgent":"CCBot/2.0 (https://commoncrawl.org/faq/)","sourceIp":"54.80.173.217","accessKey":"","caller":"","user":"","userARN":"","cognitoIdentityId":"","cognitoIdentityPoolId":"","cognitoAuthenticationType":"","cognitoAuthenticationProvider":""},"authorizer":null}]
X-Forwarded-For
[54.80.173.217, 64.252.147.76]
X-Forwarded-Port
[443]
X-Forwarded-Proto
[https]
X-Request-Id
[ce4414c4-d072-448a-9c89-02c5d0e470e7]
X-Stage
[staging]

Source code