GetOntologyResponse
¶
Source code in docs_src/capo_context/types/get_ontology_response.py
arn
instance-attribute
¶
arn: OntologyArn
The ARN of the ontology. It has no account for an AWS managed ontology, and includes the account for a customer-owned one. Use it to address the same ontology again.
created_at
instance-attribute
¶
created_at: NotRequired[datetime]
When this version was created. Absent when the stored version carries no creation time.
derivation_version
instance-attribute
¶
derivation_version: NotRequired[str]
Identifies the derivation rules that produced this template. Node ID formulas don't change after a version is published.
description
instance-attribute
¶
description: NotRequired[UserDefinedString]
The ontology's description. The same for every version. Absent when the ontology has none.
name
instance-attribute
¶
name: NotRequired[OntologyName]
The ontology's current display name. The same for every version. Absent for an AWS managed ontology, which has no name, and for a customer-owned ontology that was created without a name and hasn't been named since.
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]
Publish time of the DEFAULT version. Absent for non-default versions, and while the ontology is DRAFT: a DRAFT ontology stays a draft until you publish it in the AWS Context console.
revision_id
instance-attribute
¶
revision_id: NotRequired[OntologyDraftRevision]
The revision of the draft. Set only for a DRAFT ontology.
source
instance-attribute
¶
source: NotRequired[OntologySource]
The source document of the returned version, or the draft of a DRAFT ontology, with or without version. Set only when the request set sourceFormat. Absent otherwise.
source_format
instance-attribute
¶
source_format: NotRequired[OntologySourceFormat]
The format of the version's source document. On a DRAFT, TURTLE, the format of the draft. Set whether or not the request asked for source, and a source in the response is in this format. On an AWS managed ontology, it names the format that its template was derived from, but its source is never returned (see sourceFormat on the request).
status
instance-attribute
¶
status: OntologyStatus
The ontology's status. PUBLISHED for every ontology CreateOntology made. Check it before using the template: a DRAFT ontology stays a draft until you publish it in the AWS Context console, and until then its template is the empty template of version 1.0.0 and GetOntology returns the draft.
template
instance-attribute
¶
template: NotRequired[OntologyTemplate]
The serialized template JSON for this version (see OntologyTemplate).
updated_at
instance-attribute
¶
updated_at: datetime
When the ontology itself last changed. Equal to the ontology's creation time until the first update. The top-level createdAt (from the version fields) is the returned version's creation time, not the ontology's.
validation_issues
instance-attribute
¶
validation_issues: NotRequired[OntologyValidationIssues]
Non-fatal warnings raised while deriving the returned version. On a DRAFT, the warnings from deriving the draft.
version
instance-attribute
¶
version: OntologyVersionString
The version of the ontology, in MAJOR.MINOR.PATCH form, for example 1.0.0.