Skip to content

Bedrock Agentcore  >  Structures  >  ContentStopEvent

ContentStopEvent

Structure Class

ContentStopEvent dataclass

An event that signals the completion of a command execution. This event contains the final status and exit code of the executed command.

Attributes

exit_code instance-attribute
exit_code: int

The exit code returned by the executed command. An exit code of 0 indicates successful execution, -1 indicates a platform error, and values greater than 0 indicate command-specific errors.

status instance-attribute

The final status of the command execution. Valid values are COMPLETED for successful completion or TIMED_OUT if the command exceeded the specified timeout.