Skip to content

Instantly share code, notes, and snippets.

@bcambel
Created August 23, 2018 11:14
Show Gist options
  • Save bcambel/40c901f37ef4551157f24e1b80869922 to your computer and use it in GitHub Desktop.
Save bcambel/40c901f37ef4551157f24e1b80869922 to your computer and use it in GitHub Desktop.
Step Functions Workflow
{
"config": {
"audio-wf-arn": "arn:aws:states:eu-west-1:XXXX:stateMachine:AudioWorkflow",
"transcription-service": "https://NNNNN.execute-api.eu-west-1.amazonaws.com/dev/transcribe",
"transcription-service-poll": "https://NNNNN.execute-api.eu-west-1.amazonaws.com/dev/transcribe/status",
"transcription-service-poll-stepfn": "arn:aws:states:eu-west-1:XXXX:stateMachine:PollTranslation",
"audio-service": "http://172.31.110.201",
"tagger-service": "http://172.31.103.39/predict",
"datadog-api": {
"api_key": "",
"app_key": ""
}
},
"transcribe": "no",
"audio": "20180723.110000.wav",
"media": "",
"bucket": "newsboss-dev",
"transcription_job": {
"result": {
"file": "s3://s3-location/audio/2018/07/23/transcription/5b55a7d40f89e5cfefb3cf8c.transcription.json"
}
},
"dest": "audio/2018/07/23"
}
{
"tag-records": {
"s3-data-file": "audio/2018/07/23/workflow/ef178594-df45-4860-8ef0-390b4a4d8640.json"
},
"transcript-segments": {
"count": 27,
"s3-data-file": "audio/2018/07/23/workflow/8939c778-afb0-424f-abb2-306e8ba2b7e7.json"
},
"segment-tags": {
"s3-data-file": "audio/2018/07/23/workflow/f9880453-8256-418b-ac8f-ce43f3dd8880.json"
},
"segment-records": [
{
"duration": 124,
"show_name": "Zakendoen",
"id": 1,
"show_time": "2018-07-23 11:00:00",
"audio_location": "s3://s3-location/audio/2018/07/23/segments/23-07-2018_11....mp3"
},...]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment