Skip to content

Commit 3810de5

Browse files
committed
chore: add docs
1 parent a7f4aa3 commit 3810de5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

aws_lambda_powertools/event_handler/bedrock_agent.py

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111

1212

1313
class BedrockResponseBuilder(ResponseBuilder):
14+
"""
15+
Bedrock Response Builder. This builds the response dict to be returned by the lambda when using Bedrock Agents.
16+
17+
Since the payload format is different from the standard API Gateway Proxy event, we override the build method.
18+
"""
19+
1420
@override
1521
def build(self, event: BedrockAgentEvent, cors: Optional[CORSConfig] = None) -> Dict[str, Any]:
1622
"""Build the full response dict to be returned by the lambda"""

0 commit comments

Comments
 (0)