Class: Aws::OpenSearchMemory::Types::Memory
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpenSearchMemory::Types::Memory
- 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
-
#content ⇒ String
The memory text.
-
#memory_id ⇒ String
The memory's ID, assigned by the service.
-
#memory_type ⇒ String
The memory type.
-
#metadata ⇒ Hash<String,String>
The memory's metadata tags.
-
#strategy_name ⇒ String
The name of the strategy the memory belongs to, for example
user-facts. -
#system_metadata ⇒ Types::SystemMetadata
Provenance for the memory: the owning actor and session, and when it was created and last updated.
Instance Attribute Details
#content ⇒ String
The memory text.
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.
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.
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.
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.
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 |