79125236

Date: 2024-10-25 10:22:27
Score: 1
Natty:
Report link

The invoke_agent API is under AgentsforBedrockRuntime (see API doc). So changing your bedrock_client would resolve the error.

bedrock_client = boto3.client("bedrock-agent-runtime")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: lsc