Amazon S3 overhaul for OpenBD

Building on last weeks work with AmazonS3Write() function, I have just released a slew of updates and changes to the whole range of OpenBD functions designed to make it easier to work with Amazon’s S3.

The following functions have been updated with new functionality:

  • AmazonS3Write()
    Supports background uploads. Multi-part uploads (for larger files). Set storage class and ACL as part of same call.  Retry logic.  Callback CFC uploads. Amazon Server Side Encryption support.
  • AmazonS3Read()
    Amazon Server Side Encryption support.
  • AmazonS3Delete()
    Supports deleting of multiple files in a single request.

The below functions are new to the suite:

  • AmazonS3Copy()
    Copy a file to another location (including another bucket), setting the storage class and ACL in the process.
  • AmazonS3ChangeStorageClass()
    Changes the storage class of the given file.
  • AmazonS3BucketExists()
    Checks to see if a given bucket exists.
  • AmazonS3CreateBucket()
    Creates a new bucket.
  • AmazonS3DeleteBucket()
    Deletes a given bucket.
  • AmazonS3BucketSetACL()
    Sets the default ACL for the objects in this bucket.
  • AmazonS3BucketRequestPays()
    Flips the flag on who pays for the access to the files in the bucket.

These are available now as part of the OpenBD nightly release.

Amazon S3 overhaul for OpenBD