Skip to content

Add AWS documentation for Swift Lambda runtime - #692

Open
sebsto wants to merge 5 commits into
mainfrom
doc/aws
Open

Add AWS documentation for Swift Lambda runtime#692
sebsto wants to merge 5 commits into
mainfrom
doc/aws

Conversation

@sebsto

@sebsto sebsto commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Adds the aws-doc/ directory with documentation pages for the AWS Lambda Developer Guide covering handlers, context, HTTP events, deployment/packaging, logging, and layers.

Cross-checked all content against the actual source code (Plugins/, Sources/AWSLambdaRuntime/, and Examples/). Fixed a few inaccuracies along the way:

  • LambdaContext.deadline type was listed as DispatchWallTime, corrected to LambdaClock.Instant
  • Added missing context properties (tenantID, logGroupName, logStreamName)
  • Removed reference to nonexistent LambdaInitializationContext
  • Fixed protocol-based handler examples that used @main without a static func main() (won't compile), replaced with the correct LambdaRuntime wiring pattern from the Examples/ directory

Sébastien Stormacq added 2 commits July 29, 2026 07:22
Cross-checked against source code in Plugins/, Sources/AWSLambdaRuntime/,
and Examples/. Fixed inaccuracies found during review:

- swift-context.md: deadline type corrected to LambdaClock.Instant (was
  DispatchWallTime), added missing tenantID/logGroupName/logStreamName
- swift-handler.md: removed nonexistent LambdaInitializationContext, fixed
  protocol-based handler examples to use correct LambdaRuntime wiring
- swift-http-events.md: same protocol-based handler fix
@sebsto sebsto self-assigned this Jul 29, 2026
@sebsto sebsto added the semver/none No version bump required. label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant