Skip to content

GetChangeSetResponse

Source code in docs_src/capo_context/types/get_change_set_response.py
class GetChangeSetResponse(TypedDict, closed=True):
    agent_context_id: (
        "capo_context.types.agent_context_identifier.AgentContextIdentifier"
    )
    """<p>The agent context's ID.</p>"""
    status: "capo_context.types.change_set_status.ChangeSetStatus"
    """<p>The status of the change set. Valid values:</p> <ul> <li> <p> <code>DRAFT</code> - AWS Context is evaluating the change set against the agent context's curation policies.</p> </li> <li> <p> <code>PENDING</code> - Held for review as a curation proposal. While the change set is <code>PENDING</code>, you can remove operations from it with <code>UpdateChangeSet</code>.</p> </li> <li> <p> <code>AUTHORIZED</code> - The change set is approved, and AWS Context is applying it.</p> </li> <li> <p> <code>SUPPRESSED</code> - AWS Context won't apply the change set, because a curation policy denied it or its curation proposal was closed without approval.</p> </li> <li> <p> <code>PUBLISHED</code> - AWS Context applied the change set to the agent context.</p> </li> <li> <p> <code>FAILED</code> - AWS Context couldn't apply the change set.</p> </li> </ul> <p> <code>SUPPRESSED</code> and <code>PUBLISHED</code> are final. A <code>FAILED</code> change set can still change to <code>PUBLISHED</code> or <code>PENDING</code> if AWS Context retries applying it. New values can be added, so handle a status that you don't recognize.</p>"""
    created_at: "datetime.datetime"
    """<p>The date and time when the change set was created.</p>"""
    updated_at: "datetime.datetime"
    """<p>The date and time when the change set was last updated, such as when its status changed or its operations were edited.</p>"""
    access_control: NotRequired["capo_context.types.access_control.AccessControl"]
    """<p>See <code>AccessControl</code>. The service returns it on every item.</p> <p>Valid values:</p> <ul> <li> <p> <code>ACL_RESTRICTED</code> - 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's <code>title</code> names no nodes or edges.</p> </li> <li> <p> <code>NO_ACL</code> - Every caller can read the content.</p> </li> </ul>"""
    generated_by: NotRequired["capo_context.types.activity.Activity"]
    """<p>The activity that generated the change set. A change set that an <code>IMPORT_ONTOLOGY</code> task writes carries <code>IMPORT_ONTOLOGY_TASK</code>, and one that a <code>CreateChangeSet</code> call makes carries <code>DIRECT_MODIFICATION</code>. A sync of a connected data source's own metadata, such as an AWS Glue Data Catalog sync, carries <code>DATA_SOURCE_INGESTION</code>. To list the change sets that carry a value, filter <code>ListChangeSets</code> on it.</p> <p>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.</p>"""
    status_reason: NotRequired["capo_context.types.status_reason.StatusReason"]
    """<p>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.</p>"""
    id: "capo_context.types.change_set_id.ChangeSetId"
    """<p>The change set's opaque instance ID. Requests take it as <code>changeSetId</code>.</p>"""
    change_set_version: NotRequired[
        "capo_context.types.change_set_version_integer.ChangeSetVersionInteger"
    ]
    """<p>The change set's latest version. Pass it to <code>UpdateChangeSet</code>. Each version is immutable. The number increases by one on each edit and each status change.</p>"""
    connection_arn: NotRequired["capo_context.types.connection_arn.ConnectionArn"]
    """<p>The ARN of the connection that produced this change set. Absent for a change that no connection produced, such as a direct <code>CreateChangeSet</code> call, and for every <code>ACL_RESTRICTED</code> change set, because the connection would identify the source of the restricted content.</p>"""

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's title names 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: NotRequired[ChangeSetVersionInteger]

The change set's latest version. Pass it to UpdateChangeSet. Each version is immutable. The number increases by one on each edit and each status change.

connection_arn instance-attribute

connection_arn: NotRequired[ConnectionArn]

The ARN of the connection that produced this change set. Absent for a change that no connection produced, such as a direct CreateChangeSet call, and for every ACL_RESTRICTED change set, because the connection would identify the source of the restricted content.

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

The change set's opaque instance ID. Requests take it as changeSetId.

status instance-attribute

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 is PENDING, you can remove operations from it with UpdateChangeSet.

  • 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.

updated_at instance-attribute

updated_at: datetime

The date and time when the change set was last updated, such as when its status changed or its operations were edited.