From 7fc4be4d8902953a48a062314ca80f7a9c40b8f9 Mon Sep 17 00:00:00 2001 From: tom-halpin Date: Wed, 23 Oct 2019 15:15:17 +0100 Subject: [PATCH] Update index.js Added OutputKeyPrefix parameter to params array for elasticTranscoder.createJob in order to store transcoded files in a folder to align the code with the code provided as Listing 3.1 in the book. --- chapter-3/Listing 3.1 - 3.4 - Transcode Video Lambda/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chapter-3/Listing 3.1 - 3.4 - Transcode Video Lambda/index.js b/chapter-3/Listing 3.1 - 3.4 - Transcode Video Lambda/index.js index 2f7b59a..ff01284 100644 --- a/chapter-3/Listing 3.1 - 3.4 - Transcode Video Lambda/index.js +++ b/chapter-3/Listing 3.1 - 3.4 - Transcode Video Lambda/index.js @@ -25,6 +25,7 @@ exports.handler = function(event, context, callback){ var params = { PipelineId: '1451470066051-jscnci', + OutputKeyPrefix: outputKey + '/', Input: { Key: sourceKey },