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.



3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3892

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



3892
3893
3894
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3892

def unknown
  @unknown
end