ml-archive / aws

Swift wrapper around AWS API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unknown service error

johnrickman opened this issue · comments

Im receiving Socket failed with code 0 ("Success") [ipAddressValidationFailed("Name or service not known")]

let s3 = S3(host:"bucket.s3.amazonaws.com", accessKey: accessKey, secretKey: secretKey, region: .usEast1)
try s3.upload(bytes:file.part.body, path:filePath, access:.privateAccess)