flamingo-s3/src/reader

S3 reader module
Source:

Methods

(inner) s3Reader(bucket, key, s3Client) → {Promise.<ReadResult>}

Reader that creates a stream for a given http/https resource
Parameters:
Name Type Description
bucket string bucket name
key string bucket key
s3Client AWS AWS s3 client
Source:
Returns:
promise that resolves a reader result
Type
Promise.<ReadResult>

Type Definitions

ReadResult

Result of input reading
Type:
  • Object
Properties:
Name Type Description
type string reader result type
stream function function that returns a readable image stream
Source: