Skip to content

Memory

Source code in docs_src/capo_bedrock_agentcore_control/types/memory.py
class Memory(TypedDict, closed=True):
    arn: "capo_bedrock_agentcore_control.types.memory_arn.MemoryArn"
    """<p>The Amazon Resource Name (ARN) of the memory.</p>"""
    id: "capo_bedrock_agentcore_control.types.memory_id.MemoryId"
    """<p>The unique identifier of the memory.</p>"""
    name: "capo_bedrock_agentcore_control.types.name.Name"
    """<p>The name of the memory.</p>"""
    description: NotRequired[
        "capo_bedrock_agentcore_control.types.description.Description"
    ]
    """<p>The description of the memory.</p>"""
    encryption_key_arn: NotRequired["capo_bedrock_agentcore_control.types.arn.Arn"]
    """<p>The ARN of the KMS key used to encrypt the memory.</p>"""
    memory_execution_role_arn: NotRequired[
        "capo_bedrock_agentcore_control.types.arn.Arn"
    ]
    """<p>The ARN of the IAM role that provides permissions for the memory.</p>"""
    event_expiry_duration: "int"
    """<p>The number of days after which memory events will expire.</p>"""
    status: "capo_bedrock_agentcore_control.types.memory_status.MemoryStatus"
    """<p>The current status of the memory.</p>"""
    failure_reason: NotRequired["str"]
    """<p>The reason for failure if the memory is in a failed state.</p>"""
    created_at: "datetime.datetime"
    """<p>The timestamp when the memory was created.</p>"""
    updated_at: "datetime.datetime"
    """<p>The timestamp when the memory was last updated.</p>"""
    strategies: NotRequired[
        "capo_bedrock_agentcore_control.types.memory_strategy_list.MemoryStrategyList"
    ]
    """<p>The list of memory strategies associated with this memory.</p>"""
    indexed_keys: NotRequired[
        "capo_bedrock_agentcore_control.types.indexed_keys_list.IndexedKeysList"
    ]
    """<p>The indexed metadata keys for this memory. Only indexed keys can be used in metadata filters.</p>"""
    namespace_keys: NotRequired[
        "capo_bedrock_agentcore_control.types.namespace_keys_list.NamespaceKeysList"
    ]
    """<p>The namespace variable key definitions for this memory. Namespace keys define custom variables used in <code>namespaceTemplates</code> with optional validation rules.</p>"""
    stream_delivery_resources: NotRequired[
        "capo_bedrock_agentcore_control.types.stream_delivery_resources.StreamDeliveryResources"
    ]
    """<p>Configuration for streaming memory record data to external resources.</p>"""
    managed_by_resource_arn: NotRequired["capo_bedrock_agentcore_control.types.arn.Arn"]
    """<p>ARN of the resource managing this memory (e.g. a harness). When set, strategy modifications and deletion are only allowed through the managing resource.</p>"""

arn instance-attribute

arn: MemoryArn

The Amazon Resource Name (ARN) of the memory.

created_at instance-attribute

created_at: datetime

The timestamp when the memory was created.

description instance-attribute

description: NotRequired[Description]

The description of the memory.

encryption_key_arn instance-attribute

encryption_key_arn: NotRequired[Arn]

The ARN of the KMS key used to encrypt the memory.

event_expiry_duration instance-attribute

event_expiry_duration: int

The number of days after which memory events will expire.

failure_reason instance-attribute

failure_reason: NotRequired[str]

The reason for failure if the memory is in a failed state.

id instance-attribute

The unique identifier of the memory.

indexed_keys instance-attribute

indexed_keys: NotRequired[IndexedKeysList]

The indexed metadata keys for this memory. Only indexed keys can be used in metadata filters.

managed_by_resource_arn instance-attribute

managed_by_resource_arn: NotRequired[Arn]

ARN of the resource managing this memory (e.g. a harness). When set, strategy modifications and deletion are only allowed through the managing resource.

memory_execution_role_arn instance-attribute

memory_execution_role_arn: NotRequired[Arn]

The ARN of the IAM role that provides permissions for the memory.

name instance-attribute

name: Name

The name of the memory.

namespace_keys instance-attribute

namespace_keys: NotRequired[NamespaceKeysList]

The namespace variable key definitions for this memory. Namespace keys define custom variables used in namespaceTemplates with optional validation rules.

status instance-attribute

status: MemoryStatus

The current status of the memory.

strategies instance-attribute

strategies: NotRequired[MemoryStrategyList]

The list of memory strategies associated with this memory.

stream_delivery_resources instance-attribute

stream_delivery_resources: NotRequired[StreamDeliveryResources]

Configuration for streaming memory record data to external resources.

updated_at instance-attribute

updated_at: datetime

The timestamp when the memory was last updated.