Class: Aws::BedrockRuntime::Types::ToolInputSchema

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-bedrockruntime/types.rb

Overview

Note:

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

The schema for the tool. The top level schema type must be ‘object`.

Direct Known Subclasses

Json, Unknown

Defined Under Namespace

Classes: Json, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#jsonHash, ...

The JSON schema for the tool. For more information, see [JSON Schema Reference].

[1]: json-schema.org/understanding-json-schema/reference

Returns:

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


2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2180

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



2180
2181
2182
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2180

def unknown
  @unknown
end