Skip to content

GetSpaceResponse

Source code in docs_src/capo_opensearchmemory/types/get_space_response.py
class GetSpaceResponse(TypedDict, closed=True):
    space_id: "capo_opensearchmemory.types.space_id.SpaceId"
    """<p>The ID of the space.</p>"""
    arn: "capo_opensearchmemory.types.space_arn.SpaceArn"
    """<p>The Amazon Resource Name (ARN) of the space.</p>"""
    name: "capo_opensearchmemory.types.space_name.SpaceName"
    """<p>The name of the space.</p>"""
    status: "capo_opensearchmemory.types.space_status.SpaceStatus"
    """<p>The status of the space.</p>"""
    status_reason: NotRequired["str"]
    """<p>Details about why the space is <code>FAILED</code>. Read it only when <code>status</code> is <code>FAILED</code>: it can still hold the reason for an earlier failure.</p>"""
    created_at: "capo_opensearchmemory.types.timestamp.Timestamp"
    """<p>When the space was created.</p>"""
    memory_strategies: NotRequired[
        "capo_opensearchmemory.types.memory_strategy_list.MemoryStrategyList"
    ]
    """<p>The space's memory strategies, including the names the service generated for strategies created without one. Empty for a space that has no memory strategies.</p>"""
    event_expiry_days: NotRequired[
        "capo_opensearchmemory.types.event_expiry_days.EventExpiryDays"
    ]
    """<p>How many days the space keeps each event. Absent when it was never set, in which case the default of 90 days applies.</p>"""
    memory_expiry_days: NotRequired[
        "capo_opensearchmemory.types.memory_expiry_days.MemoryExpiryDays"
    ]
    """<p>How many days the space keeps each memory. 0 means memories never expire. Absent when it was never set, in which case memories never expire.</p>"""
    extraction_model_id: NotRequired[
        "capo_opensearchmemory.types.extraction_model_id.ExtractionModelId"
    ]
    """<p>The model that extracts and consolidates memories for the space. Absent when it was never set, in which case the service default applies.</p>"""
    encryption_configuration: NotRequired[
        "capo_opensearchmemory.types.encryption_configuration.EncryptionConfiguration"
    ]
    """<p>The AWS KMS key the space was created with. Absent when the space uses an AWS owned key.</p>"""

arn instance-attribute

arn: SpaceArn

The Amazon Resource Name (ARN) of the space.

created_at instance-attribute

created_at: Timestamp

When the space was created.

encryption_configuration instance-attribute

encryption_configuration: NotRequired[EncryptionConfiguration]

The AWS KMS key the space was created with. Absent when the space uses an AWS owned key.

event_expiry_days instance-attribute

event_expiry_days: NotRequired[EventExpiryDays]

How many days the space keeps each event. Absent when it was never set, in which case the default of 90 days applies.

extraction_model_id instance-attribute

extraction_model_id: NotRequired[ExtractionModelId]

The model that extracts and consolidates memories for the space. Absent when it was never set, in which case the service default applies.

memory_expiry_days instance-attribute

memory_expiry_days: NotRequired[MemoryExpiryDays]

How many days the space keeps each memory. 0 means memories never expire. Absent when it was never set, in which case memories never expire.

memory_strategies instance-attribute

memory_strategies: NotRequired[MemoryStrategyList]

The space's memory strategies, including the names the service generated for strategies created without one. Empty for a space that has no memory strategies.

name instance-attribute

name: SpaceName

The name of the space.

space_id instance-attribute

space_id: SpaceId

The ID of the space.

status instance-attribute

status: SpaceStatus

The status of the space.

status_reason instance-attribute

status_reason: NotRequired[str]

Details about why the space is FAILED. Read it only when status is FAILED: it can still hold the reason for an earlier failure.