[PR #3047] [MERGED] Add docs for AWS middleware integrations #3127

Closed
opened 2026-06-05 18:21:10 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3047
Author: @michaelnchin
Created: 3/10/2026
Status: Merged
Merged: 3/10/2026
Merged by: @mdrxy

Base: mainHead: python-integrations-middleware-aws


📝 Commits (6)

  • ed81ca5 Add docs for AWS middleware integrations
  • b19e513 Update imports in extended example
  • 628c08a lint prose fix
  • bf26b5e Merge branch 'main' into python-integrations-middleware-aws
  • 0a57f57 fix x-ref
  • 30b910e .

📊 Changes

4 files changed (+166 additions, -0 deletions)

View changed files

📝 pipeline/preprocessors/link_map.py (+2 -0)
📝 src/oss/langchain/middleware/built-in.mdx (+3 -0)
src/oss/python/integrations/middleware/aws.mdx (+160 -0)
📝 src/oss/python/integrations/middleware/index.mdx (+1 -0)

📄 Description

Overview

Adds a new aws.mdx page to the Python middleware integrations, covering BedrockPromptCachingMiddleware in langchain-aws, and updates the index accordingly.

These new docs closely follow those for AnthropicPromptCachingMiddleware, which the Bedrock middleware is based upon.

Type of change

Type: New documentation page

Related issues/PRs

Checklist

  • I have read the contributing guidelines, including the language policy
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

(Internal team members only / optional): Create a preview deployment as necessary using the Create Preview Branch workflow

Additional notes

Contingent on https://github.com/langchain-ai/langchain-aws/pull/913 being merged and included in a langchain-aws release - please do not merge this PR until complete.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3047 **Author:** [@michaelnchin](https://github.com/michaelnchin) **Created:** 3/10/2026 **Status:** ✅ Merged **Merged:** 3/10/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `python-integrations-middleware-aws` --- ### 📝 Commits (6) - [`ed81ca5`](https://github.com/langchain-ai/docs/commit/ed81ca5b9f2b28655e3b40a24701dc5bae2dae26) Add docs for AWS middleware integrations - [`b19e513`](https://github.com/langchain-ai/docs/commit/b19e5136fb046be551c5fb654b8127075ed954d1) Update imports in extended example - [`628c08a`](https://github.com/langchain-ai/docs/commit/628c08a0bf771f89ff3a0a999295c3808bdd0e3a) lint prose fix - [`bf26b5e`](https://github.com/langchain-ai/docs/commit/bf26b5ea2f1a16e152c245c60bacefcf4b663f48) Merge branch 'main' into python-integrations-middleware-aws - [`0a57f57`](https://github.com/langchain-ai/docs/commit/0a57f57e7b3e2dda51a35189756b560c34887d65) fix x-ref - [`30b910e`](https://github.com/langchain-ai/docs/commit/30b910ed357b037e919112cd13d45847138af10d) . ### 📊 Changes **4 files changed** (+166 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pipeline/preprocessors/link_map.py` (+2 -0) 📝 `src/oss/langchain/middleware/built-in.mdx` (+3 -0) ➕ `src/oss/python/integrations/middleware/aws.mdx` (+160 -0) 📝 `src/oss/python/integrations/middleware/index.mdx` (+1 -0) </details> ### 📄 Description ## Overview Adds a new `aws.mdx` page to the Python middleware integrations, covering [BedrockPromptCachingMiddleware](https://github.com/langchain-ai/langchain-aws/blob/main/libs/aws/langchain_aws/middleware/prompt_caching.py) in `langchain-aws`, and updates the index accordingly. These new docs closely follow those for [`AnthropicPromptCachingMiddleware`](https://docs.langchain.com/oss/python/integrations/middleware/anthropic#prompt-caching), which the Bedrock middleware is based upon. ## Type of change **Type:** New documentation page ## Related issues/PRs - GitHub issues: - https://github.com/langchain-ai/langchain-aws/issues/723 - https://github.com/langchain-ai/deepagents/issues/917#issuecomment-3939837776 - Feature PRs: - https://github.com/langchain-ai/langchain-aws/pull/913 - https://github.com/langchain-ai/langchain-aws/pull/839 ## Checklist - [x] I have read the [contributing guidelines](README.md), including the [language policy](https://docs.langchain.com/oss/python/contributing/overview#language-policy) - [ ] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly - [x] I have used **root relative** paths for internal links - [x] I have updated navigation in `src/docs.json` if needed (Internal team members only / optional): Create a preview deployment as necessary using the [Create Preview Branch workflow](https://github.com/langchain-ai/docs/actions/workflows/create-preview-branch.yml) ## Additional notes Contingent on https://github.com/langchain-ai/langchain-aws/pull/913 being merged and included in a langchain-aws release - please do not merge this PR until complete. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:21:10 -04:00
yindo closed this issue 2026-06-05 18:21:10 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3127