feat! REQUIRED: Docs update for: Added option to pass existing boto3 … #143
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds comprehensive documentation for Memory Tool Session Management, including detailed session injection capabilities for the Strands memory tool. The changes provide users with complete guidance on using custom boto3 sessions for flexible AWS authentication patterns when accessing Amazon Bedrock Knowledge Bases.
Type of Change
[x] New content addition
[x] Content update/revision
[x] Structure/organization improvement
[x] Typo/formatting fix
Motivation and Context
The memory tool previously lacked detailed documentation on its session injection capabilities, which are crucial for:
Multi-environment deployments (dev/staging/prod)
Cross-account AWS access
Role-based access control
Regional data compliance requirements
Advanced authentication scenarios
This documentation fills that gap by providing comprehensive guidance on session management patterns that enable flexible and secure AWS authentication.
Areas Affected
New Documentation:
Updated Documentation:
Key Features Added
Session Management Functions
Authentication Patterns
Comprehensive Examples
Best Practices & Security
Quality Assurance Completed
Code Validation ✅
Link Validation ✅
Consistency Review ✅
Checklist
[x] I have read the CONTRIBUTING document
[x] My changes follow the project's documentation style
[x] I have tested the documentation locally using validation scripts
[x] Links in the documentation are valid and working
[x] All code examples are syntactically correct and functional
[x] Documentation structure and formatting are consistent
Additional Notes
This documentation significantly enhances the memory tool's usability by providing clear guidance on advanced authentication scenarios. The comprehensive examples and troubleshooting sections will help users implement secure, production-ready session management patterns for their Strands agents.
The documentation is designed to be both a tutorial for new users and a reference guide for advanced use cases, supporting the full spectrum of AWS authentication patterns commonly needed in enterprise environments.