AmazonS3write()
Amazon S3: Copies the local file up to Amazon S3
Usage
BOOLEAN = AmazonS3write(
datasource,
bucket,
key,
file,
storageclass,
metadata,
data
)
| Argument | Summary |
|---|---|
| datasource | Amazon datasource |
| bucket | Amazon bucket |
| key | Full key |
| file | Path to local file to send. If not supplied the variable will be used |
| storageclass | Storage class to store this object; STANDARD or REDUCED_REDUNDANCY [optional] |
| metadata | Structure of data that will be stored with the object. Available via AmazonS3GetInfo() or any HTTP header call to the object [optional] |
| data | variable with the object data. Cannot be used with file. If not a string or a binary, it will be encoded into JSON and stored application/json [optional] |
Calling
Supports named-parameter calling allowing you to use the function like:
AmazonS3write( datasource=?, bucket=?, key=?, file=?, storageclass=?, metadata=?, data=? );
Supports passing parameters as a structure using ArgumentCollection:
AmazonS3write( ArgumentCollection={
datasource : ?,
bucket : ?,
key : ?,
file : ?,
storageclass : ?,
metadata : ?,
data : ?
} );
See Also
AmazonRegisterdatasource
AmazonRemovedatasource
AmazonS3delete
AmazonS3getinfo
AmazonS3geturl
AmazonS3list
AmazonS3listbuckets
AmazonS3read
AmazonS3rename
AmazonS3setacl
AmazonS3write
AmazonSimpledbcreatedomain
AmazonSimpledbdeleteattribute
AmazonSimpledbdeletedomain
AmazonSimpledbgetattributes
AmazonSimpledblistdomains
AmazonSimpledbsetattribute
AmazonSimpledbsetstruct
AmazonSqsaddpermission
AmazonSqschangemessagevisibility
AmazonSqscreatequeue
AmazonSqsdeletemessage
AmazonSqsdeletequeue
AmazonSqsgetattributes
AmazonSqslistqueues
AmazonSqsreceivemessage
AmazonSqsremovepermission
AmazonSqssendmessage
