Class: Aws::BedrockAgentRuntime::Types::CodeInterpreterInvocationOutput

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

Overview

Contains the JSON-formatted string returned by the API invoked by the code interpreter.

Constant Summary collapse

SENSITIVE =
[:metadata]

Instance Attribute Summary collapse

Instance Attribute Details

#execution_errorString

Contains the error returned from code execution.

Returns:

  • (String)


918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 918

class CodeInterpreterInvocationOutput < Struct.new(
  :execution_error,
  :execution_output,
  :execution_timeout,
  :files,
  :metadata)
  SENSITIVE = [:metadata]
  include Aws::Structure
end

#execution_outputString

Contains the successful output returned from code execution

Returns:

  • (String)


918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 918

class CodeInterpreterInvocationOutput < Struct.new(
  :execution_error,
  :execution_output,
  :execution_timeout,
  :files,
  :metadata)
  SENSITIVE = [:metadata]
  include Aws::Structure
end

#execution_timeoutBoolean

Indicates if the execution of the code timed out.

Returns:

  • (Boolean)


918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 918

class CodeInterpreterInvocationOutput < Struct.new(
  :execution_error,
  :execution_output,
  :execution_timeout,
  :files,
  :metadata)
  SENSITIVE = [:metadata]
  include Aws::Structure
end

#filesArray<String>

Contains output files, if generated by code execution.

Returns:

  • (Array<String>)


918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 918

class CodeInterpreterInvocationOutput < Struct.new(
  :execution_error,
  :execution_output,
  :execution_timeout,
  :files,
  :metadata)
  SENSITIVE = [:metadata]
  include Aws::Structure
end

#metadataTypes::Metadata

Contains information about the output from the code interpreter.

Returns:



918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 918

class CodeInterpreterInvocationOutput < Struct.new(
  :execution_error,
  :execution_output,
  :execution_timeout,
  :files,
  :metadata)
  SENSITIVE = [:metadata]
  include Aws::Structure
end