Initialize connection to S3
options parameter must include values for :aws_access_key_id and :aws_secret_access_key in order to create a connection
s3 = Fog::Storage.new( :provider => "AWS", :aws_access_key_id => your_aws_access_key_id, :aws_secret_access_key => your_aws_secret_access_key )
Abort a multipart upload
docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadAbort.html
Complete a multipart upload
docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadComplete.html
Copy an object from one S3 bucket to another
docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectCOPY.html
Delete an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETE.html
Delete lifecycle configuration for a bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETElifecycle.html
Delete policy for a bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETEpolicy.html
Delete website configuration for a bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETEwebsite.html
Delete an object from S3
docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectDELETE.html
List information about objects in an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGET.html
Get access control list for an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETacl.html
Get bucket lifecycle configuration
* 'ID'<~String> - Unique identifier for the rule * 'Prefix'<~String> - Prefix identifying one or more objects to which the rule applies * 'Enabled'<~Boolean> - if rule is currently being applied * 'Days'<~Integer> - lifetime, in days, of the objects that are subject to the rule
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETlifecycle.html
Get location constraint for an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETlocation.html
Get logging status for an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETlogging.html
List information about object versions in an S3 bucket
* 'DeleteMarker'<~Hash>: * 'IsLatest'<~Boolean> - Whether or not this is the latest version * 'Key'<~String> - Name of object * 'LastModified'<~String>: Timestamp of last modification of object * 'Owner'<~Hash>: * 'DisplayName'<~String> - Display name of object owner * 'ID'<~String> - Id of object owner * 'VersionId'<~String> - The id of this version
or
* 'Version'<~Hash>: * 'ETag'<~String>: Etag of object * 'IsLatest'<~Boolean> - Whether or not this is the latest version * 'Key'<~String> - Name of object * 'LastModified'<~String>: Timestamp of last modification of object * 'Owner'<~Hash>: * 'DisplayName'<~String> - Display name of object owner * 'ID'<~String> - Id of object owner * 'Size'<~Integer> - Size of object * 'StorageClass'<~String> - Storage class of object * 'VersionId'<~String> - The id of this version
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETVersion.html
Get bucket policy for an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETpolicy.html
Get versioning status for an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETversioningStatus.html
Get website configuration for an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETwebsite.html
Get an object from S3
docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGET.html
Get access control list for an S3 object
docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGETacl.html
Get torrent for an S3 object
docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGETtorrent.html
Get configured payer for an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTrequestPaymentGET.html
List information about S3 buckets for authorized user
docs.amazonwebservices.com/AmazonS3/latest/API/RESTServiceGET.html
Get headers for an object from S3
docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectHEAD.html
Initiate a multipart upload to an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadInitiate.html
List multipart uploads for a bucket
docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadListMPUpload.html
List parts for a multipart upload
docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadListParts.html
Get a hash of hidden fields for form uploading to S3, in the form {:field_name => :field_value} Form should look like: <form action="#{bucket_name}.s3.amazonaws.com/" method="post" enctype="multipart/form-data"> These hidden fields should then appear, followed by a field named ‘file’ which is either a textarea or file input.
docs.amazonwebservices.com/AmazonS3/latest/dev/HTTPPOSTForms.html
Create an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUT.html
Change access control list for an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTacl.html
Change lifecycle configuration for an S3 bucket
* 'ID'<~String> - Unique identifier for the rule * 'Prefix'<~String> - Prefix identifying one or more objects to which the rule applies * 'Enabled'<~Boolean> - if rule is currently being applied * 'Days'<~Integer> - lifetime, in days, of the objects that are subject to the rule
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html
Change logging status for an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTlogging.html
Change bucket policy for an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTpolicy.html
Change versioning status for an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html
Change website configuration for an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketPUTwebsite.html
Create an object in an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPUT.html
Change access control list for an S3 object
docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPUTacl.html
Change who pays for requests to an S3 bucket
docs.amazonwebservices.com/AmazonS3/latest/API/RESTrequestPaymentPUT.html
Upload a part for a multipart upload
docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadUploadPart.html