Open
Conversation
Add the following SQS data plane operations that were missing: - receiveMessage: Receive messages from a queue - deleteMessage: Delete a single message - deleteMessageBatch: Delete multiple messages - changeMessageVisibility: Change visibility timeout for a message - changeMessageVisibilityBatch: Change visibility for multiple messages - sendMessageBatch: Send multiple messages at once - purgeQueue: Purge all messages from a queue - getQueueAttributes: Get queue attributes at runtime Each operation includes: - A typed Capability interface - A Binding declaration for Lambda functions - An Effect-based function with proper type inference - A provider that sets up environment variables and IAM policies Also adds comprehensive integration tests that deploy a Lambda function to test all SQS operations against real AWS infrastructure. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The DependencyViolation error is not in the typed error union from deleteEgressOnlyInternetGateway, but may still occur at runtime. Cast the error to allow the comparison. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add 8 missing SQS data plane operations that can be used from Lambda functions:
receiveMessage- Receive messages from a queuedeleteMessage- Delete a single messagedeleteMessageBatch- Delete multiple messages at oncechangeMessageVisibility- Change visibility timeout for a messagechangeMessageVisibilityBatch- Change visibility for multiple messagessendMessageBatch- Send multiple messages at oncepurgeQueue- Purge all messages from a queuegetQueueAttributes- Get queue attributes at runtimeEach operation follows the established pattern with:
CapabilityinterfaceBindingdeclaration for Lambda functionsAdd comprehensive integration tests that deploy a Lambda function to test all SQS operations
Test plan
bun run test:live -- -t "SQS data plane"to verify all operations work against real AWSegress-only-igw.provider.tsunrelated to this PR)🤖 Generated with Claude Code