Include Soto for AWS in the official and recommended SSWG projects.
Amazon Web Services (AWS) is the largest provider of cloud services. Many companies rely on the systems and automation they provide. These include storage, security, identity, messaging, databases, compute, machine learning and analytics to mention a few.
There are many Swift libraries that provide access to one or maybe two AWS services. Many teams working in the AWS ecosystem leverage multiple services, typically within the same application codebase. Having to deal with multiple libraries with different APIs, signing and serialisation code is not ideal.
The main purpose of the Soto project is to rectify these issues. The project provides access to all AWS services through a consistent API that is closely integrated with Swift NIO.
Soto is a Swift-based interface to Amazon Web Services. It supports Linux, macOS and iOS. It is split into three sections.
The core functionality repository soto-core. This is a NIO 2.0 based module. Requests to the core return an
EventLoopFuturethat will be populated with results at a later point. The core module encodes requests, signs requests using credentials, sends them to AWS and then decodes the response.
Soto contains the service API files. Each AWS service has its own target which contains a service client object along with its operations and their input and output structures. The operations map to the REST api of the AWS service.
The Code Generator which builds the service API files mentioned in section 2. This uses the JSON model files Amazon provides (which are synced from Amazon's aws-sdk-go repository) to generate Swift versions of the service APIs.
Is this something that people would be interested in including as a SSWG project?