Class: Aws::BedrockAgentCore::Types::MemoryContent

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

Overview

Note:

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

Note:

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

Contains the content of a memory record.

Defined Under Namespace

Classes: Text, Unknown

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#text ⇒ String

The text content of the memory record.

Returns:

  • (String)


7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 7358

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

  class Text < MemoryContent; end
  class Unknown < MemoryContent; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



7358
7359
7360
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 7358

def unknown
  @unknown
end