S3

S3

Mixin that adds a video preprocessor which creates an image from a given video

Methods

extractInput(operation) → {Promise.<{bucket: string, key: string}>}

Extracts bucket name and key for a given operation
Parameters:
Name Type Description
operation FlamingoOperation
Source:
Returns:
Type
Promise.<{bucket: string, key: string}>

extractReader(bucket, key) → {Promise.<function(): Promise.<ReadResult>>}

Creates a s3 reader for the given bucket and key
Parameters:
Name Type Description
bucket string
key string
Source:
Returns:
Type
Promise.<function(): Promise.<ReadResult>>