v0.4.7
[0.4.7]
Added
- MCP Integration Cross-Region Support for QuickSuite Integration
- Added cross-region support for QuickSuite integration enabling MCP connectivity across multiple AWS regions: us-east-1, us-west-2, eu-west-1, ap-southeast-2
Fixed
-
Stack deployment failure due to MCP Integration IAM Permissions - GitHub Issue #154
- Fixed missing permissions in AgentCoreGatewayManagerFunctionRole by creating the AgentCoreGateway execution role explicitly in the CloudFormation template instead of dynamically in the Lambda function
-
Post-Processing Lambda Hook Compression Handling - GitHub Issue #155
- Added intermediate decompression lambda to handle document decompression before invoking custom post-processing lambdas
- Root Cause: After introducing document compression, the post-processing lambda hook was receiving compressed documents in the EventBridge payload, forcing external lambdas to import
idp_commonpackage and handle decompression manually - Solution: New
PostProcessingDecompressorlambda function intercepts EventBridge events, decompresses documents usingDocument.load_document(), and invokes custom post-processors with decompressed payload - Benefits: Maintains backward compatibility, eliminates external dependencies (no
idp_commonimport needed), keeps compression/decompression logic encapsulated within IDP stack, minimal performance impact (<1s latency)
-
Enhanced Bedrock Error Handling for Agent Companion Chat
- Implemented robust error handling system for Bedrock API errors in Agent Companion Chat feature with automatic retry and graceful degradation
- Automatic Retry with Exponential Backoff: Configured boto3 with adaptive retry mode (3 attempts) and exponential back-off to prevent service overload
- User-Friendly Error Messages: Created
BedrockErrorMessageHandlerto convert technical errors into clear, actionable messages for service unavailable (503), throttling (429), access denied (403), validation errors (400), timeouts (408), and quota exceeded scenarios - Sub-Agent Error Handling: When sub-agents (Analytics, Error Analyzer, Code Intelligence) encounter Bedrock errors, the orchestrator continues gracefully without crashing, only displaying the first error to avoid duplicates while allowing other sub-agents to complete
-
GovCloud Template Generation - Missing AppSync and MCP Resource Removal
- Fixed CloudFormation deployment error "Unresolved resource dependencies [DeleteDocumentResolverFunction]" when deploying GovCloud templates
- Test Studio Resources Added (36 resources): Added all Test Studio Lambda functions, AppSync resolvers, data sources, and supporting infrastructure to removal list (DeleteTestsResolver, TestRunnerResolver, TestResultsResolver, TestSetResolver, and all related functions, queues, and policies)
- MCP/AgentCore Gateway Resources Added (7 resources): Added MCP integration resources that depend on Cognito UserPool to removal list (AgentCoreAnalyticsLambdaFunction, AgentCoreGatewayManagerFunction, AgentCoreGatewayExecutionRole, AgentCoreGateway, ExternalAppClient)
- MCP Outputs Removed (8 outputs): Removed MCP-related outputs that reference deleted resources (MCPServerEndpoint, MCPClientId, MCPClientSecret, MCPUserPool, MCPTokenURL, MCPAuthorizationURL, DynamoDBAgentTableName, DynamoDBAgentTableConsoleURL)
- EnableMCP Default Changed: Set
EnableMCPparameter default to 'false' for GovCloud since MCP integration requires Cognito authentication infrastructure - Impact: GovCloud templates now deploy successfully without dependency errors, maintaining core document processing functionality in headless mode
Templates
- us-west-2:
https://s3.us-west-2.amazonaws.com/aws-ml-blog-us-west-2/artifacts/genai-idp/idp-main_0.4.7.yaml - us-east-1:
https://s3.us-east-1.amazonaws.com/aws-ml-blog-us-east-1/artifacts/genai-idp/idp-main_0.4.7.yaml - eu-central-1:
https://s3.eu-central-1.amazonaws.com/aws-ml-blog-eu-central-1/artifacts/genai-idp/idp-main_0.4.7.yaml