Skip to content

OntologySummary

Source code in docs_src/capo_context/types/ontology_summary.py
class OntologySummary(TypedDict, closed=True):
    id: "capo_context.types.ontology_identifier.OntologyIdentifier"
    """<p>The ID of the ontology, assigned by AWS Context.</p>"""
    arn: "capo_context.types.ontology_arn.OntologyArn"
    """<p>The ARN of the ontology. Always present: every listed ontology is customer-owned, so its ARN includes the account.</p>"""
    name: NotRequired["capo_context.types.ontology_name.OntologyName"]
    """<p>The ontology's current display name. Present on every summary: only customer-owned ontologies are listed, and each has a name.</p>"""
    description: NotRequired["capo_context.types.user_defined_string.UserDefinedString"]
    """<p>The description. Absent when the ontology has none.</p>"""
    status: "capo_context.types.ontology_status.OntologyStatus"
    """<p>The ontology's status. PUBLISHED for every ontology CreateOntology made.</p>"""
    updated_at: "datetime.datetime"
    """<p>When the ontology last changed. Equal to its creation time until the first update.</p>"""
    ontology_induction_id: NotRequired[
        "capo_context.types.ontology_induction_identifier.OntologyInductionIdentifier"
    ]
    """<p>The induction that made the ontology. Absent for an ontology CreateOntology made.</p>"""
    default_version: NotRequired[
        "capo_context.types.ontology_version_string.OntologyVersionString"
    ]
    """<p>The current DEFAULT version. While an induced ontology is DRAFT, its version 1.0.0, which has an empty template and no source until you publish the ontology in the AWS Context console.</p>"""
    published_at: NotRequired["datetime.datetime"]
    """<p>When that version was published as the DEFAULT. Absent while the ontology is DRAFT: a DRAFT ontology stays a draft until you publish it in the AWS Context console.</p>"""
    node_type_count: NotRequired["int"]
    """<p>Number of node types in the DEFAULT version's template. Absent for an ontology created before counts were stored.</p>"""
    edge_type_count: NotRequired["int"]
    """<p>Number of edge types in the DEFAULT version's template. Absent for an ontology created before counts were stored.</p>"""

arn instance-attribute

The ARN of the ontology. Always present: every listed ontology is customer-owned, so its ARN includes the account.

default_version instance-attribute

default_version: NotRequired[OntologyVersionString]

The current DEFAULT version. While an induced ontology is DRAFT, its version 1.0.0, which has an empty template and no source until you publish the ontology in the AWS Context console.

description instance-attribute

description: NotRequired[UserDefinedString]

The description. Absent when the ontology has none.

edge_type_count instance-attribute

edge_type_count: NotRequired[int]

Number of edge types in the DEFAULT version's template. Absent for an ontology created before counts were stored.

id instance-attribute

The ID of the ontology, assigned by AWS Context.

name instance-attribute

name: NotRequired[OntologyName]

The ontology's current display name. Present on every summary: only customer-owned ontologies are listed, and each has a name.

node_type_count instance-attribute

node_type_count: NotRequired[int]

Number of node types in the DEFAULT version's template. Absent for an ontology created before counts were stored.

ontology_induction_id instance-attribute

ontology_induction_id: NotRequired[OntologyInductionIdentifier]

The induction that made the ontology. Absent for an ontology CreateOntology made.

published_at instance-attribute

published_at: NotRequired[datetime]

When that version was published as the DEFAULT. Absent while the ontology is DRAFT: a DRAFT ontology stays a draft until you publish it in the AWS Context console.

status instance-attribute

The ontology's status. PUBLISHED for every ontology CreateOntology made.

updated_at instance-attribute

updated_at: datetime

When the ontology last changed. Equal to its creation time until the first update.