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

feat: boto3 sessions in batch, parameters & idempotency #717

Merged
merged 6 commits into from
Oct 1, 2021

Conversation

to-mc
Copy link
Contributor

@to-mc to-mc commented Oct 1, 2021

Issue #, if available: #704

Description of changes:

Updated parameters and batch utilities to allow custom boto3 session to be passed. Standardized documentation of this functionality for idempotency, parameters and batch utilities.

Checklist

Breaking change checklist

RFC issue #:

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

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


View rendered docs/utilities/batch.md
View rendered docs/utilities/idempotency.md
View rendered docs/utilities/parameters.md

@pull-request-size pull-request-size bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 1, 2021
@boring-cyborg boring-cyborg bot added area/utilities documentation Improvements or additions to documentation labels Oct 1, 2021
@to-mc to-mc changed the title Feat: allow custom boto3 sessions feat: allow custom boto3 sessions Oct 1, 2021
@codecov-commenter
Copy link

codecov-commenter commented Oct 1, 2021

Codecov Report

Merging #717 (ff12e15) into develop (68e2c8e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #717   +/-   ##
========================================
  Coverage    99.97%   99.97%           
========================================
  Files          116      116           
  Lines         4866     4872    +6     
  Branches       267      267           
========================================
+ Hits          4865     4871    +6     
  Partials         1        1           
Impacted Files Coverage Δ
aws_lambda_powertools/utilities/batch/sqs.py 100.00% <100.00%> (ø)
...ambda_powertools/utilities/parameters/appconfig.py 100.00% <100.00%> (ø)
...lambda_powertools/utilities/parameters/dynamodb.py 100.00% <100.00%> (ø)
..._lambda_powertools/utilities/parameters/secrets.py 100.00% <100.00%> (ø)
aws_lambda_powertools/utilities/parameters/ssm.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 68e2c8e...ff12e15. Read the comment docs.

@heitorlessa heitorlessa changed the title feat: allow custom boto3 sessions feat: allow custom boto3 sessions in batch, parameters & idempotency Oct 1, 2021
@heitorlessa heitorlessa changed the title feat: allow custom boto3 sessions in batch, parameters & idempotency feat: boto3 sessions in batch, parameters & idempotency Oct 1, 2021
@heitorlessa heitorlessa merged commit c21ba45 into develop Oct 1, 2021
@heitorlessa heitorlessa deleted the feat/allow_custom_boto_sessions branch October 1, 2021 14:29
heitorlessa added a commit to heitorlessa/aws-lambda-powertools-python that referenced this pull request Oct 1, 2021
heitorlessa added a commit to gwlester/aws-lambda-powertools-python that referenced this pull request Oct 1, 2021
* develop:
  feat(feature-flags): improve "IN/NOT_IN"; new rule actions (aws-powertools#710)
  feat(idempotency): makes customers unit testing easier (aws-powertools#719)
  feat(feature-flags): get_raw_configuration property in Store (aws-powertools#720)
  feat: boto3 sessions in batch, parameters & idempotency (aws-powertools#717)
  feat: add get_raw_configuration property in store; expose store
  fix(mypy): a few return types, type signatures, and untyped areas (aws-powertools#718)
  docs: Terraform reference for SAR Lambda Layer (aws-powertools#716)
  chore(deps-dev): bump flake8-bugbear from 21.9.1 to 21.9.2 (aws-powertools#712)
  chore(deps): bump boto3 from 1.18.49 to 1.18.51 (aws-powertools#713)
  fix(idempotency): sorting keys before hashing
@heitorlessa heitorlessa added feature New feature or functionality and removed documentation Improvements or additions to documentation labels Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or functionality 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.

3 participants