AmazonS3read()

Amazon S3: Reads the remote file sitting on S3 copying to the local file system or reading the file into memory and returning its content

Usage

STRING = AmazonS3read( datasource, bucket, key, file )
Argument Summary
datasource Amazon datasource
bucket Amazon bucket
key Full key
file Path to local file where this remote object will be saved. If not specified then the contents of the remote file is returned from this function [optional]

Calling

Supports named-parameter calling allowing you to use the function like:

AmazonS3read(
   datasource=?, 
   bucket=?, 
   key=?, 
   file=?
);

Supports passing parameters as a structure using ArgumentCollection:

AmazonS3read( ArgumentCollection={
   datasource : ?, 
   bucket : ?, 
   key : ?, 
   file : ?
} );