refactor(apigw) analyse logs from log group subscription with lambda and put 400 errors in cloudwatch metrics