UpdateChangeSetResponse
¶
Source code in docs_src/capo_context/types/update_change_set_response.py
access_control
instance-attribute
¶
access_control: NotRequired[AccessControl]
See AccessControl. The service returns it on every item.
Valid values:
-
ACL_RESTRICTED- Only an allowed end user can read the content (its operations), and the change set can't be edited. Every caller can read its metadata, and its proposal'stitlenames no nodes or edges. -
NO_ACL- Every caller can read the content.
agent_context_id
instance-attribute
¶
agent_context_id: AgentContextIdentifier
The agent context's ID.
change_set_version
instance-attribute
¶
change_set_version: ChangeSetVersionInteger
The version the edit created. Pass it to the next UpdateChangeSet.
created_at
instance-attribute
¶
created_at: datetime
The date and time when the change set was created.
generated_by
instance-attribute
¶
generated_by: NotRequired[Activity]
The activity that generated the change set. A change set that an IMPORT_ONTOLOGY task writes carries IMPORT_ONTOLOGY_TASK, and one that a CreateChangeSet call makes carries DIRECT_MODIFICATION. A sync of a connected data source's own metadata, such as an AWS Glue Data Catalog sync, carries DATA_SOURCE_INGESTION. To list the change sets that carry a value, filter ListChangeSets on it.
This member can be absent, so handle a change set that has no activity. For example, it's absent on a change set that records a connection's removal, on a change set that AWS Context wrote when it loaded an ontology's schema, and on a change set whose activity this API version doesn't recognize.
id
instance-attribute
¶
id: ChangeSetId
The change set's opaque instance ID. Requests take it as changeSetId.
status
instance-attribute
¶
status: ChangeSetStatus
The status of the change set. Valid values:
-
DRAFT- AWS Context is evaluating the change set against the agent context's curation policies. -
PENDING- Held for review as a curation proposal. While the change set isPENDING, you can remove operations from it withUpdateChangeSet. -
AUTHORIZED- The change set is approved, and AWS Context is applying it. -
SUPPRESSED- AWS Context won't apply the change set, because a curation policy denied it or its curation proposal was closed without approval. -
PUBLISHED- AWS Context applied the change set to the agent context. -
FAILED- AWS Context couldn't apply the change set.
SUPPRESSED and PUBLISHED are final. A FAILED change set can still change to PUBLISHED or PENDING if AWS Context retries applying it. New values can be added, so handle a status that you don't recognize.
status_reason
instance-attribute
¶
status_reason: NotRequired[StatusReason]
Why AWS Context created or closed the change set, for example because a connection was removed from the agent context. AWS Context keeps it across later status changes, including a curator's decision. Absent when AWS Context gave no reason.