Class: Aws::BedrockRuntime::Types::OutputFormatStructure

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

Overview

Note:

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

The structure that the model’s output must adhere to.

Direct Known Subclasses

JsonSchema, Unknown

Defined Under Namespace

Classes: JsonSchema, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#json_schemaTypes::JsonSchemaDefinition

A JSON schema structure that the model’s output must adhere to.



3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3902

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

  class JsonSchema < OutputFormatStructure; end
  class Unknown < OutputFormatStructure; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3902
3903
3904
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3902

def unknown
  @unknown
end