swift-aws-lambda-events

0.4.0

Swift implementation of AWS Lambda Events
swift-server/swift-aws-lambda-events

What's New

0.4.0

2024-06-12T07:40:19Z

This releases prepares support for Swift 6, drops support of Swift <= 5.6, adds more support for Cognito triggers and introduces support for Bedrock agents

What's Changed

  • remove support for versions of Swift <= 5.6 by @sebsto in #49
  • addopt strict concurrency by @sebsto in #50
  • cleanup pre Swift 5.6 code by @sebsto in #51
  • Add support for multi-resource statements by @Buratti in #52
  • add support for BedrockAgents by @sebsto in #55
  • Cognito Triggers - PreSignUp, PostConfirmation, PostAuthentication, CustomMessage by @jsonfry in #57

Full Changelog: 0.3.0...0.4.0

Swift AWS Lambda Events

Overview

Swift AWS Lambda Runtime was designed to make building Lambda functions in Swift simple and safe. The library is an implementation of the AWS Lambda Runtime API and uses an embedded asynchronous HTTP Client based on SwiftNIO that is fine-tuned for performance in the AWS Runtime context. The library provides a multi-tier API that allows building a range of Lambda functions: From quick and simple closures to complex, performance-sensitive event handlers.

Swift AWS Lambda Events is a supporting library for the Swift AWS Lambda Runtime library, providing abstractions for popular AWS events.

Integration with AWS Platform Events

AWS Lambda functions can be invoked directly from the AWS Lambda console UI, AWS Lambda API, AWS SDKs, AWS CLI, and AWS toolkits. More commonly, they are invoked as a reaction to an events coming from the AWS platform. To make it easier to integrate with AWS platform events, this library includes an AWSLambdaEvents target which provides abstractions for many commonly used events. Additional events can be easily modeled when needed following the same patterns set by AWSLambdaEvents. Integration points with the AWS Platform include:

Note: Each one of the integration points mentioned above includes a set of Codable structs that mirror AWS' data model for these APIs.

Getting started

If you have never used AWS Lambda or Docker before, check out this getting started guide which helps you with every step from zero to a running Lambda.

Swift AWS Lambda Events is a supporting library for the Swift AWS Lambda Runtime library, where you can find further documentation and examples.

Project status

This is the beginning of a community-driven open-source project actively seeking contributions. While the core API is considered stable, the API may still evolve as we get closer to a 1.0 version. There are several areas which need additional attention, including but not limited to:

  • Additional events
  • Additional documentation and best practices
  • Additional examples

Security

Please see SECURITY.md for details on the security process.

Description

  • Swift Tools 5.8.0
View More Packages from this Author

Dependencies

Last updated: Sat Dec 21 2024 15:09:38 GMT-1000 (Hawaii-Aleutian Standard Time)