Class: Aws::BedrockAgentCore::Types::MemoryRecord

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

Overview

Contains information about a memory record in an AgentCore Memory resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content ⇒ Types::MemoryContent

The content of the memory record.



8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8915

class MemoryRecord < Struct.new(
  :memory_record_id,
  :content,
  :memory_strategy_id,
  :namespaces,
  :created_at,
  :timestamp,
  :metadata,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#created_at ⇒ Time

The timestamp when the memory record was created.

Returns:

  • (Time)


8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8915

class MemoryRecord < Struct.new(
  :memory_record_id,
  :content,
  :memory_strategy_id,
  :namespaces,
  :created_at,
  :timestamp,
  :metadata,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#expires_at ⇒ Time

The timestamp at which the memory record expires and becomes eligible for deletion. This value is set when a record expiry (long-term memory time-to-live) applies to the record, either from the strategy the record belongs to or from a record expiry provided on the batch request that created or updated it. If the record has no expiry configured, this value is not present and the record does not expire.

Returns:

  • (Time)


8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8915

class MemoryRecord < Struct.new(
  :memory_record_id,
  :content,
  :memory_strategy_id,
  :namespaces,
  :created_at,
  :timestamp,
  :metadata,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#memory_record_id ⇒ String

The unique identifier of the memory record.

Returns:

  • (String)


8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8915

class MemoryRecord < Struct.new(
  :memory_record_id,
  :content,
  :memory_strategy_id,
  :namespaces,
  :created_at,
  :timestamp,
  :metadata,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#memory_strategy_id ⇒ String

The identifier of the memory strategy associated with this record.

Returns:

  • (String)


8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8915

class MemoryRecord < Struct.new(
  :memory_record_id,
  :content,
  :memory_strategy_id,
  :namespaces,
  :created_at,
  :timestamp,
  :metadata,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#metadata ⇒ Hash<String,Types::MemoryRecordMetadataValue>

A map of metadata key-value pairs associated with a memory record.

Returns:



8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8915

class MemoryRecord < Struct.new(
  :memory_record_id,
  :content,
  :memory_strategy_id,
  :namespaces,
  :created_at,
  :timestamp,
  :metadata,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#namespaces ⇒ Array<String>

The namespaces associated with this memory record. Namespaces help organize and categorize memory records.

Returns:

  • (Array<String>)


8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8915

class MemoryRecord < Struct.new(
  :memory_record_id,
  :content,
  :memory_strategy_id,
  :namespaces,
  :created_at,
  :timestamp,
  :metadata,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#timestamp ⇒ Time

The timestamp based on which the memory record was ingested. This reflects the time of the source content that the record was derived from, which can differ from createdAt, the time the record itself was written.

Returns:

  • (Time)


8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8915

class MemoryRecord < Struct.new(
  :memory_record_id,
  :content,
  :memory_strategy_id,
  :namespaces,
  :created_at,
  :timestamp,
  :metadata,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end