Class: Aws::OpenSearchMemory::Types::Memory

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

Overview

A memory, as returned by GetMemory and UpdateMemory. Unlike MemoryListSummary it includes content, and unlike MemorySearchSummary it has no relevance score.

Constant Summary collapse

SENSITIVE =
[:content]

Instance Attribute Summary collapse

Instance Attribute Details

#content ⇒ String

The memory text.

Returns:

  • (String)


1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 1291

class Memory < Struct.new(
  :memory_id,
  :memory_type,
  :strategy_name,
  :content,
  :system_metadata,
  :metadata)
  SENSITIVE = [:content]
  include Aws::Structure
end

#memory_id ⇒ String

The memory's ID, assigned by the service.

Returns:

  • (String)


1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 1291

class Memory < Struct.new(
  :memory_id,
  :memory_type,
  :strategy_name,
  :content,
  :system_metadata,
  :metadata)
  SENSITIVE = [:content]
  include Aws::Structure
end

#memory_type ⇒ String

The memory type.

Returns:

  • (String)


1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 1291

class Memory < Struct.new(
  :memory_id,
  :memory_type,
  :strategy_name,
  :content,
  :system_metadata,
  :metadata)
  SENSITIVE = [:content]
  include Aws::Structure
end

#metadata ⇒ Hash<String,String>

The memory's metadata tags. All values are strings. May be empty.

Returns:

  • (Hash<String,String>)


1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 1291

class Memory < Struct.new(
  :memory_id,
  :memory_type,
  :strategy_name,
  :content,
  :system_metadata,
  :metadata)
  SENSITIVE = [:content]
  include Aws::Structure
end

#strategy_name ⇒ String

The name of the strategy the memory belongs to, for example user-facts. A space can hold several strategies of the same type, so this tells them apart. Absent when the memory's strategy is no longer declared on the space, for example right after the strategy is deleted.

Returns:

  • (String)


1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 1291

class Memory < Struct.new(
  :memory_id,
  :memory_type,
  :strategy_name,
  :content,
  :system_metadata,
  :metadata)
  SENSITIVE = [:content]
  include Aws::Structure
end

#system_metadata ⇒ Types::SystemMetadata

Provenance for the memory: the owning actor and session, and when it was created and last updated. Always present. updatedAt equals createdAt for a memory that has never been updated.



1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/types.rb', line 1291

class Memory < Struct.new(
  :memory_id,
  :memory_type,
  :strategy_name,
  :content,
  :system_metadata,
  :metadata)
  SENSITIVE = [:content]
  include Aws::Structure
end