Amazon AWS S3 convenience
Create a bucket with your bucket name and region
let bucket = AWSBucket(name: "", region: "")
Crete a request for a particular action using one of the method listed below
Sign the request with your AWSAccount
let awsAccount = AWSAccount(serviceName: "s3", region: "", accessKeyID: "", secretAccessKey: "")
Do whatever it is you do to use a URLRequest
URLRequestfor a particular object name, including the leading
guard var request:URLRequest = bucket.requestToGETObjectNamed("") else ...
S3PutComponentsinstance with the bucket, object name and data
Add optional properties, like an acl, mimetype or server side encryption
.requestproperty to get a
AWSBucketinstance, create a request to delete an object.
guard var request:URLRequest = bucket.requestToDELETEObjectNamed("my object name ") else ...
Please make feature requests or pull requests as needed