# AWS Lambda for health check

do simple check that dsp source api(from where we are going to download reports) is alive.

payload example:
```
{
  "uow_id": "spotify-20191016-sme-streams-v2",
  "dsp": "spotify",
  "report_type": "sub_30_sec_streams",
  "subtype": null,
  "version": "v2",
  "report_date": "2019-10-16",
  "licensor": "smejpintl",
  "extension": "json",
  "config_bucket": "dev-delphi-configs",
  "ecs_run_config_key": "batch-run-config.json",
  "is_reprocessing": false,
  "contexts": [
    "AD"
  ]
}
```
In case of testing if you don't want to request real dsp api, use dummy dsp s3. 
Set env variable `BUCKET_SOURCE`. Pay attention that in availability check dummy testing only possible for those dsp
which content_name and original_content_name values are equal.(spotify-yes, amazon-no)
