Bedrock AgentCore > Structures > HarnessMessageStopEvent HarnessMessageStopEvent¶ Structure Class¶ HarnessMessageStopEvent dataclass ¶ Event indicating the end of a message. Attributes¶ stop_reason instance-attribute ¶ stop_reason: str The reason the agent stopped generating.