Skip to content

Feat/update lambda events for more ergonomic apis#26

Merged
jeastham1993 merged 1 commit into
feat/update-reqwest-0-13from
feat/update-lambda-events-for-more-ergonomic-apis
Jan 22, 2026
Merged

Feat/update lambda events for more ergonomic apis#26
jeastham1993 merged 1 commit into
feat/update-reqwest-0-13from
feat/update-lambda-events-for-more-ergonomic-apis

Conversation

@lmammino
Copy link
Copy Markdown
Contributor

@lmammino lmammino commented Jan 18, 2026

Note

This should be merged after

And it might require changing the PR base back to main and possibly rebasing

@lmammino lmammino changed the base branch from feat/chapter-09-observability to feat/update-reqwest-0-13 January 18, 2026 14:09
@lmammino lmammino requested a review from Copilot January 18, 2026 14:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the aws_lambda_events library from version 1.0.0 to 1.0.3 to introduce more ergonomic APIs for handling batch failures in AWS Lambda functions that process SQS and Kinesis events.

Changes:

  • Updated aws_lambda_events dependency from 1.0.0 to 1.0.3 across multiple Cargo.toml files
  • Replaced manual BatchItemFailure construction with add_failure() and set_failures() helper methods
  • Removed unnecessary imports of BatchItemFailure and KinesisBatchItemFailure

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
chapter-09/lambdas/process_link_created/Cargo.toml Updated aws_lambda_events to 1.0.3
chapter-09/lambdas/process_link_clicked/Cargo.toml Updated aws_lambda_events to 1.0.3
chapter-09/examples/lambda-process-sqs/Cargo.toml Updated aws_lambda_events to 1.0.3
chapter-09/lambdas/process_link_created/src/event_handler.rs Replaced manual BatchItemFailure construction with set_failures() method, removed BatchItemFailure import
chapter-08/lambdas/process_link_created/Cargo.toml Updated aws_lambda_events to 1.0.3
chapter-08/lambdas/process_link_created/src/event_handler.rs Replaced manual BatchItemFailure construction with set_failures() method, removed BatchItemFailure import
chapter-08/examples/lambda-process-sqs-failure/Cargo.toml Updated aws_lambda_events to 1.0.3
chapter-08/examples/lambda-process-sqs-failure/src/event_handler.rs Replaced manual BatchItemFailure construction with add_failure() method, removed BatchItemFailure import
chapter-08/examples/lambda-process-kinesis-failure/Cargo.toml Updated aws_lambda_events to 1.0.3
chapter-08/examples/lambda-process-kinesis-failure/src/event_handler.rs Replaced manual KinesisBatchItemFailure construction with add_failure() method, removed KinesisBatchItemFailure import

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lmammino lmammino requested a review from jeastham1993 January 18, 2026 14:52
@jeastham1993 jeastham1993 merged commit 539c636 into feat/update-reqwest-0-13 Jan 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants