Invoking com.gralll.sam.App::handleRequest (java11)
Fetching lambci/lambda:java11 Docker container image......
Mounting F:\aws\projects\contact-us-sam-app\.aws-sam\build\ContactUsFunction as /var/task:ro,delegated inside runtime container
?[32mSTART RequestId: 27868750-3637-1f80-3d80-53a724da16ef Version: $LATEST?[0m
2020-01-06 19:28:09 27868750-3637-1f80-3d80-53a724da16ef INFO App - Request was received
2020-01-06 19:28:09 27868750-3637-1f80-3d80-53a724da16ef DEBUG App - {
"body" : "{\r\n \"subject\": \"Question\",\r\n \"question\": \"How much does it cost\",\r\n \"username\": \"Alex\",\r\n \"phone\": \"+79999999999\",\r\n \"email\": \"alex@gmail.com\"\r\n}",
"resource" : "/contact",
"requestContext" : {
"resourceId" : "123456",
"apiId" : "1234567890",
"resourcePath" : "/contact",
"httpMethod" : "POST",
"requestId" : "c6af9ac6-7b61-11e6-9a41-93e8deadbeef",
"extendedRequestId" : null,
"accountId" : "123456789012",
"identity" : {
"apiKey" : null,
"apiKeyId" : null,
"userArn" : null,
"cognitoAuthenticationType" : null,
"caller" : null,
"userAgent" : "Custom User Agent String",
"user" : null,
"cognitoIdentityPoolId" : null,
"cognitoIdentityId" : null,
"cognitoAuthenticationProvider" : null,
"sourceIp" : "127.0.0.1",
"accountId" : null,
"accessKey" : null
},
"authorizer" : null,
"stage" : "Prod",
"path" : "/contact",
"protocol" : null,
"requestTime" : null,
"requestTimeEpoch" : 0,
"elb" : null
},
"multiValueQueryStringParameters" : null,
"multiValueHeaders" : {
"Accept" : [ "application/json" ],
"Accept-Encoding" : [ "gzip, deflate, br" ],
"Accept-Language" : [ "ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7" ],
"Cache-Control" : [ "no-cache" ],
"Connection" : [ "keep-alive" ],
"Content-Length" : [ "150" ],
"Content-Type" : [ "text/plain;charset=UTF-8" ],
"Host" : [ "127.0.0.1:3000" ],
"Origin" : [ "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop" ],
"Postman-Token" : [ "5cadaccd-6fae-5bc2-b4ef-63900a1725ff" ],
"Sec-Fetch-Mode" : [ "cors" ],
"Sec-Fetch-Site" : [ "cross-site" ],
"User-Agent" : [ "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36" ],
"X-Forwarded-Port" : [ "3000" ],
"X-Forwarded-Proto" : [ "http" ],
"X-Warm-Up" : [ "123" ]
},
"pathParameters" : null,
"httpMethod" : "POST",
"stageVariables" : null,
"path" : "/contact",
"isBase64Encoded" : false,
"requestSource" : "API_GATEWAY"
}
2020-01-06 19:28:09 27868750-3637-1f80-3d80-53a724da16ef INFO App - Lambda was warmed up
?[32mEND RequestId: 27868750-3637-1f80-3d80-53a724da16ef?[0m
?[32mREPORT RequestId: 27868750-3637-1f80-3d80-53a724da16ef Init Duration: 1951.87 ms Duration: 42.91 ms Billed Duration: 100 ms Memory Size: 256 MB Max Memory Used: 102 MB ?[0m
2020-01-06 22:28:11 127.0.0.1 - - [06/Jan/2020 22:28:11] "POST /contact HTTP/1.1" 201 -