Skip to content

Commit

Permalink
Merged in dev/serge/allow_parenthesis_s3_key_recording-11182021 (pull…
Browse files Browse the repository at this point in the history
… request elastic#305)

allow parenthesis for s3 recording key

* allow parenthesis for s3 recording key


Approved-by: Nikita Dizhur
Approved-by: Serge Plotkin
  • Loading branch information
Matan Yemini authored and Serge Plotkin committed Nov 18, 2021
1 parent 73057fd commit dc6f27b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aws/vod-lambda-source-code/convert.py
Expand Up @@ -8,6 +8,7 @@
import datetime
import random
from urllib.parse import urlparse
from urllib.parse import unquote
import logging

from botocore.client import ClientError
Expand All @@ -31,7 +32,7 @@ def handler(event, context):

assetID = str(uuid.uuid4())
sourceS3Bucket = event['Records'][0]['s3']['bucket']['name']
sourceS3Key = event['Records'][0]['s3']['object']['key']
sourceS3Key = unquote(event['Records'][0]['s3']['object']['key'])
sourceS3 = 's3://'+ sourceS3Bucket + '/' + sourceS3Key
mediaConvertRole = os.environ['MediaConvertRole']
application = os.environ['Application']
Expand Down

0 comments on commit dc6f27b

Please sign in to comment.