Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(idempotency): fix, improve, and increase visibility for batch integration #1776

Conversation

heitorlessa
Copy link
Contributor

Issue number: #1763

Summary

This fixes an incorrect code snippet sample demonstrating how to integrate Idempotency and Batch. It was incorrectly introduced when we added the Lambda Timeout guards for Idempotency.

Changes

Please provide a summary of what's being changed

Batch sample now has a dedicated sub-section to more easily link to it. It uses Batch Context Manager over Decorator for accuracy, since Lambda Context is used earlier within the anti-corruption layer.

User experience

Please share what the user experience looks like before and after this change

image

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@heitorlessa heitorlessa requested a review from a team as a code owner December 13, 2022 11:31
@heitorlessa heitorlessa requested review from leandrodamascena and removed request for a team December 13, 2022 11:31
@pull-request-size pull-request-size bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Dec 13, 2022
@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Dec 13, 2022
@heitorlessa heitorlessa linked an issue Dec 13, 2022 that may be closed by this pull request
1 task
@heitorlessa
Copy link
Contributor Author

Merging after due diligence since all maintainers are on PTO

@heitorlessa heitorlessa merged commit b5eb84c into aws-powertools:develop Dec 13, 2022
@heitorlessa heitorlessa deleted the docs/idempotency-batch-lambda-context branch December 13, 2022 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Idempotent Batch Processing example
1 participant