anchor.diff:  +
   ```
   {
  -    "status": 200, 
  -    "body": "Empty", 
  -    "log": "Execution log for request test-request\nSat Dec 31 09:07:48 UTC 2016 : Starting execution for request: test-invoke-request\nSat Dec 31 09:07:48 UTC 2016 : HTTP Method: GET, Resource Path: /books\nSat Dec 31 09:07:48 UTC 2016 : Method request path: {}\nSat Dec 31 09:07:48 UTC 2016 : Method request query string: {}\nSat Dec 31 09:07:48 UTC 2016 : Method request headers: {}\nSat Dec 31 09:07:48 UTC 2016 : Method request body before transformations: \nSat Dec 31 09:07:48 UTC 2016 : Endpoint request URI: https://lambda.us-west-1.amazonaws.com/2015-03-31/functions/arn:aws:lambda:us-west-1:598307997273:function:MicroserviceGetAll/invocations\nSat Dec 31 09:07:48 UTC 2016 : Endpoint request headers: {x-amzn-lambda-integration-tag=test-request, Authorization=******************************************************************************************************************************************************************************************************************************************************************************************************6de147, X-Amz-Date=20161231T090748Z, x-amzn-apigateway-api-id=lb2qgujjif, X-Amz-Source-Arn=arn:aws:execute-api:us-west-1:598307997273:lb2qgujjif/null/GET/books, Accept=application/json, User-Agent=AmazonAPIGateway_lb2qgujjif, X-Amz-Security-Token=FQoDYXdzEHEaDEILpsKTo45Ys1LrFCK3A+KOe5HXOSP3GfVAaRYHe1pDUJGHL9MtkFiPjORLFT+UCKjRqE7UFaGscTVG6PZXTuSyQev4XTyROfPylCrtDomGsoZF/iwy4rlJQIJ7elBceyeKu1OVdaT1A99PVeliaCAiDL6Veo1viWOnP+7c72nAaJ5jnyF/nHl/OLhFdFv4t/hnx3JePMk5YM89/6ofxUEVDNfzXxbZHRpTrG/4TPHwjPdoR5i9dEzWMU6Eo5xD4ldQ/m5B3RmrwpaPOuEq39LhJ8k/Vzo+pAfgJTq5ssbNwYOgh0RPSGVNMcoTkCwk0EMMT5vDbmQqZ2dW1a1tmQg9N2xR+QQy+RKMFgO5YY8fMxHnRSdMuuipxl79G1pktc [TRUNCATED]\nSat Dec 31 09:07:48 UTC 2016 : Endpoint request body after transformations: \nSat Dec 31 09:07:53 UTC 2016 : Endpoint response body before transformations: \"[{\\\"default\\\":{\\\"cost\\\":\\\"1.23\\\",\\\"id\\\":\\\"1\\\",\\\"bookname\\\":\\\"test book\\\",\\\"isbn\\\":\\\"123\\\"}}]\"\nSat Dec 31 09:07:53 UTC 2016 : Endpoint response headers: {x-amzn-Remapped-Content-Length=0, x-amzn-RequestId=99ab09b2-cf38-11e6-996f-f5f07af431af, Connection=keep-alive, Content-Length=94, Date=Sat, 31 Dec 2016 09:07:52 GMT, Content-Type=application/json}\nSat Dec 31 09:07:53 UTC 2016 : Method response body after transformations: Empty\nSat Dec 31 09:07:53 UTC 2016 : Method response headers: {X-Amzn-Trace-Id=Root=1-58677564-66f1e96642b16d2db703126e, Content-Type=application/json}\nSat Dec 31 09:07:53 UTC 2016 : Successfully completed execution\nSat Dec 31 09:07:53 UTC 2016 : Method completed with status: 200\n", 
  -    "latency": 4744, 
  -    "headers": {
  -        "X-Amzn-Trace-Id": "Root=1-58677564-66f1e96642b16d2db703126e", 
  -        "Content-Type": "application/json"
  -    }
  -}
  -```
  -+
  -. Get detailed logs using `aws logs filter-log-events --log-group /aws/lambda/MicroserviceGetAll`.+    "status": 500, 
  +    "body": "{\"message\": \"Internal server error\"}", 
  +    "log": "Execution log for request test-request\nThu Jan 05 00:26:27 UTC 2017 : Starting execution for request: test-invoke-request\nThu Jan 05 00:26:27 UTC 2017 : HTTP Method: GET, Resource Path: /books\nThu Jan 05 00:26:27 UTC 2017 : Method request path: {}\nThu Jan 05 00:26:27 UTC 2017 : Method request query string: {}\nThu Jan 05 00:26:27 UTC 2017 : Method request headers: {}\nThu Jan 05 00:26:27 UTC 2017 : Method request body before transformations: \nThu Jan 05 00:26:27 UTC 2017 : Endpoint request URI: https://lambda.us-west-2.amazonaws.com/2015-03-31/functions/arn:aws:lambda:us-west-2:598307997273:function:MicroserviceGetAll/invocations\nThu Jan 05 00:26:27 UTC 2017 : Endpoint request headers: {x-amzn-lambda-integration-tag=test-request, Authorization=******************************************************************************************************************************************************************************************************************************************************************************************************b9199d, X-Amz-Date=20170105T002627Z, x-amzn-apigateway-api-id=3fsnu7i9k5, X-Amz-Source-Arn=arn:aws:execute-api:us-west-2:598307997273:3fsnu7i9k5/null/GET/books, Accept=application/json, User-Agent=AmazonAPIGateway_3fsnu7i9k5, X-Amz-Security-Token=FQoDYXdzEOD//////////wEaDCH64uXvIvkyvuwcYyK3AzMXVe76QGF0uZ9itgHSFXvuSloZ4YO/SzRecOCAf/Bgwn+VnAWz2Aq1kO8eRfaD4SwsBUqRcnKqOnMtdR+qjtbp60vxTKvFvpK/dL9Y8/9b4V/EKy4qnfUY1A9HYUTU3vUvxATn8+9SaMp64b8ayPVrFrsN6XZ9u8AiwGpdGsx407mo2L3S7RW1uOBHPdRNjlRW9w2tz1okToFRei/7DkmDpjTLiccGc8SzLU0yWEd/8nMtkpC3O5OL0sZ/qNqsCUlRyBtrPz/hYyfx0lqjauig2rWjwdqb8bF9HmoLEc4T2UiS5TetEbadT7iTSfdVIGyKI3Bxkt9mF6LeSETrG3U2Cs2T9mrcUd [TRUNCATED]\nThu Jan 05 00:26:27 UTC 2017 : Endpoint request body after transformations: \nThu Jan 05 00:26:27 UTC 2017 : Execution failed due to configuration error: Invalid permissions on Lambda function\nThu Jan 05 00:26:27 UTC 2017 : Method completed with status: 500\n", 
  +    "latency": 18
  +}
  +```
  ++
  +. Get detailed logs using `aws logs filter-log-events --log-group /aws/lambda/MicroserviceGetAll`.
  
positive.code: aws lambda create-function \
  --function-name MicroserviceGetAll \
  --role arn:aws:iam::598307997273:role/microserviceRole \
  --handler org.sample.serverless.aws.couchbase.BucketGetAll \
  --zip-file fileb:///Users/arungupta/workspaces/serverless/aws/microservice/microservice-http-endpoint/target/microservice-http-endpoint-1.0-SNAPSHOT.jar \
  --description "Microservice HTTP Endpoint - Get All" \
  --runtime java8 \
  --region us-west-1 \
  --timeout 30 \
  --memory-size 1024 \
  --environment Variables={COUCHBASE_HOST=ec2-52-53-193-176.us-west-1.compute.amazonaws.com} \
  --publish
  ```
  +
  
negative.code: +
  ```
  aws apigateway create-resource \
  --rest-api-id 3fsnu7i9k5 \
  --parent-id s0oun9kp76 \
  --path-part books
  ```
  +
  