Skip to content

HansOspina/Perfect-AWS-S3-Express

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS S3 Express in Perfect

let access = AWS.Access(accessKey: "you-access-key", accessSecret: "you-access-secret")
// upload
try AWS.S3.upload(access, bucket: "myFirstBucket", region: "us-east-1", file: "file-in-current-pty", contentType: "text/plain")

// download
let bytes = try AWS.S3.download(access, bucket: bucket, region: region, file: fileName, contentType: contentType)

// delete
try AWS.S3.delete(access, bucket: bucket, region: region, file: fileName, contentType: contentType)

You can use Threading.dispatch { } if need.

About

Experimental S3 in Server Side Swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%