CreateOntologyRequest
¶
Source code in docs_src/capo_context/types/create_ontology_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
Client idempotency token. A reused token with an identical request returns the existing ontology with no second write. A reused token with a different request (any member differs, for example name, description, sourceFormat, or source) is a ValidationException naming clientToken, never a ConflictException. The AWS SDKs generate the token automatically. A request that arrives without a token is a ValidationException.
description
instance-attribute
¶
description: NotRequired[UserDefinedString]
Optional description of the ontology. Part of the idempotency comparison on a replay.
name
instance-attribute
¶
name: OntologyName
Friendly display name for the ontology (for example, "Sales Org"). AWS Context assigns the ontology its opaque ID. This name is a non-unique label. You can rename the ontology in the AWS Context console.
source
instance-attribute
¶
source: OntologySource
An OWL ontology to derive the template from, in sourceFormat.
source_format
instance-attribute
¶
source_format: OntologySourceFormat
The format of source. The only supported value is TURTLE.
tags
instance-attribute
¶
tags: NotRequired[TagMap]
Tags to add to the ontology when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with aws:. To add tags, you also need context:TagResource permission on the new ontology. If you specify more than 50 user tags, the request fails with ServiceQuotaExceededException, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with ValidationException.