Skip to content

docs(metadata): clarify public import path for get_lambda_metadata#8349

Open
leiwilson wants to merge 1 commit into
aws-powertools:developfrom
leiwilson:docs/clarify-metadata-import-path
Open

docs(metadata): clarify public import path for get_lambda_metadata#8349
leiwilson wants to merge 1 commit into
aws-powertools:developfrom
leiwilson:docs/clarify-metadata-import-path

Conversation

@leiwilson

@leiwilson leiwilson commented Jul 20, 2026

Copy link
Copy Markdown

Summary

Clarifies the public import path for the Metadata utility so it matches the code (aws_lambda_powertools.utilities.metadata), and warns against the incorrect utilities.lambda_metadata module path.

Fixes #8056 (Powertools docs clarification; AWS Lambda developer guide example may still need a separate docs-team update).

Changes

  • docs/utilities/metadata.md: show the correct import snippet and add a warning callout about the wrong path

Test plan

  • Skim Metadata docs page for accuracy vs aws_lambda_powertools/utilities/metadata/
  • Confirm examples still use from aws_lambda_powertools.utilities.metadata import ...

Docs-only; no AWS credentials required.


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

@leiwilson
leiwilson requested a review from a team as a code owner July 20, 2026 16:40
@leiwilson
leiwilson requested a review from hjgraca July 20, 2026 16:40
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 20, 2026
@boring-cyborg boring-cyborg Bot added the documentation Improvements or additions to documentation label Jul 20, 2026
@boring-cyborg

boring-cyborg Bot commented Jul 20, 2026

Copy link
Copy Markdown

Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link

@sonarqubecloud

Copy link
Copy Markdown

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/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Lamba metadata path discrepency

1 participant