Class: Aws::BedrockAgentCore::Types::ToolResultStructuredContent

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

Overview

Contains structured content from a tool result.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#execution_timeFloat

The execution time of the tool operation in milliseconds.

Returns:

  • (Float)


2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2304

class ToolResultStructuredContent < Struct.new(
  :task_id,
  :task_status,
  :stdout,
  :stderr,
  :exit_code,
  :execution_time)
  SENSITIVE = []
  include Aws::Structure
end

#exit_codeInteger

The exit code from the tool execution.

Returns:

  • (Integer)


2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2304

class ToolResultStructuredContent < Struct.new(
  :task_id,
  :task_status,
  :stdout,
  :stderr,
  :exit_code,
  :execution_time)
  SENSITIVE = []
  include Aws::Structure
end

#stderrString

The standard error output from the tool execution.

Returns:

  • (String)


2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2304

class ToolResultStructuredContent < Struct.new(
  :task_id,
  :task_status,
  :stdout,
  :stderr,
  :exit_code,
  :execution_time)
  SENSITIVE = []
  include Aws::Structure
end

#stdoutString

The standard output from the tool execution.

Returns:

  • (String)


2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2304

class ToolResultStructuredContent < Struct.new(
  :task_id,
  :task_status,
  :stdout,
  :stderr,
  :exit_code,
  :execution_time)
  SENSITIVE = []
  include Aws::Structure
end

#task_idString

The identifier of the task that produced the result.

Returns:

  • (String)


2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2304

class ToolResultStructuredContent < Struct.new(
  :task_id,
  :task_status,
  :stdout,
  :stderr,
  :exit_code,
  :execution_time)
  SENSITIVE = []
  include Aws::Structure
end

#task_statusString

The status of the task that produced the result.

Returns:

  • (String)


2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2304

class ToolResultStructuredContent < Struct.new(
  :task_id,
  :task_status,
  :stdout,
  :stderr,
  :exit_code,
  :execution_time)
  SENSITIVE = []
  include Aws::Structure
end