Class: Aws::BedrockAgent::Types::ToolInputSchema

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

Overview

Note:

ToolInputSchema is a union - when making an API calls you must set exactly one of the members.

Note:

ToolInputSchema is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ToolInputSchema corresponding to the set member.

The input schema for the tool. For more information, see Use a tool to complete an Amazon Bedrock model response.

Direct Known Subclasses

Json, Unknown

Defined Under Namespace

Classes: Json, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#jsonHash, ...

A JSON object defining the input schema for the tool.

Returns:

  • (Hash, Array, String, Numeric, Boolean)


7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 7885

class ToolInputSchema < Struct.new(
  :json,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Json < ToolInputSchema; end
  class Unknown < ToolInputSchema; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



7885
7886
7887
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 7885

def unknown
  @unknown
end