Class: Aws::BedrockAgentCore::Types::ContentStopEvent

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#exit_code ⇒ Integer

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.

Returns:

  • (Integer)


1504
1505
1506
1507
1508
1509
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1504

class ContentStopEvent < Struct.new(
  :exit_code,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

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

Returns:

  • (String)


1504
1505
1506
1507
1508
1509
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1504

class ContentStopEvent < Struct.new(
  :exit_code,
  :status)
  SENSITIVE = []
  include Aws::Structure
end