Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon AWS SDK using Swift and Perfect?

Is it possible to leverage the Amazon Web Services SDK for iOS in a server-side Swift app developed using the Perfect framework? I'd like to be able to deploy my Perfect app to AWS and make calls to DynamoDB, S3, etc. from the app. However, I haven't found any examples showing if that is even possible. Can the AWS SDK be used server-side, even though it says "for iOS"? Does it support the Swift Package Manager, which Perfect seems to use for integrating with 3rd party libraries? If not, does Perfect support CocoaPods for dependency management?

If what I'm attempting feasible, or would I have to write my own integration code using Amazon's RESTful services directly?

like image 866
Shadowman Avatar asked Oct 29 '22 09:10

Shadowman


1 Answers

"Original" AWS library does not support Swift Package Manager in that moment, and also uses some Obj-c code (as far as I know), so you can't use it on linux. But there is feature suggestion, so maybe it would be there in future

Now you can use AWS services with that library: https://github.com/noppoMan/aws-sdk-swift though its a bit hacky :)

I use that one in my current projects and it's look like all the basic needs are implemented :)

like image 195
Alexey Lysenko Avatar answered Nov 15 '22 06:11

Alexey Lysenko