ml-archive / aws

Swift wrapper around AWS API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation is out of date

bikisDesign-zz opened this issue · comments

The supplied documentation for submitting to S3 does not reflect that of the S3 module.

i.e. init:
The documented:
S3( accessKey: "my-key", secretKey: "my-secret", region: "my-region", bucket: "my-s3-bucket")
The actual:
S3(host: "foo", accessKey: "bar", secretKey: "bar", region: .usWest2)

i.e. upload:
The documented:
.uploadFile("/path/to/local/file", "/folder/in/s3/bucket")

The actual:
upload(bytes: [UInt8(1)], path: "f", access: .authenticatedRead)