AmazonS3copy()
Amazon S3: Copies the file from the given bucket/key to a new bucket/key
Usage
BOOLEAN = AmazonS3copy(
datasource,
srcbucket,
srckey,
destbucket,
destkey,
srcaes256key,
destaes256key,
deststorageclass,
destacl
)
Argument | Summary |
---|---|
datasource | Amazon datasource |
srcbucket | source bucket |
srckey | source key |
destbucket | destination bucket |
destkey | destination key |
srcaes256key | source aes256key - see AmazonS3Write() [optional] |
destaes256key | optional - destination aes256key - see AmazonS3Write() [optional] |
deststorageclass | optional - destination storage class - Standard or ReducedRedundancy [optional] |
destacl | optional - destination ACL to set: private | public-read | public-read-write | authenticated-read | bucket-owner-read | bucket-owner-full-control | log-delivery-write [optional] |
Calling
Supports named-parameter calling allowing you to use the function like:
AmazonS3copy( datasource=?, srcbucket=?, srckey=?, destbucket=?, destkey=?, srcaes256key=?, destaes256key=?, deststorageclass=?, destacl=? );
Supports passing parameters as a structure using ArgumentCollection:
AmazonS3copy( ArgumentCollection={ datasource : ?, srcbucket : ?, srckey : ?, destbucket : ?, destkey : ?, srcaes256key : ?, destaes256key : ?, deststorageclass : ?, destacl : ? } );
See Also
AmazonEtjobcancel
AmazonEtjobcreate
AmazonEtjoblist
AmazonEtjobread
AmazonEtpipelinecreate
AmazonEtpipelinedelete
AmazonEtpipelinelist
AmazonEtpipelineread
AmazonEtpipelineupdatestatus
AmazonEtpresetslist
AmazonLambdaexecute
AmazonLambdaexecuteasync
AmazonRegisterdatasource
AmazonRemovedatasource
AmazonS3bucketexists
AmazonS3bucketrequesterpays
AmazonS3bucketsetacl
AmazonS3changestorageclass
AmazonS3copy
AmazonS3createbucket
AmazonS3delete
AmazonS3deletebucket
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