Skip to content

CreateChangeSetRequest

Source code in docs_src/capo_context/types/create_change_set_request.py
class CreateChangeSetRequest(TypedDict, closed=True):
    client_token: NotRequired["capo_context.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive identifier that you provide to make the request idempotent. A retry with the same token returns the same change set.</p>"""
    access_control_config: NotRequired[
        "capo_context.types.access_control_config.AccessControlConfig"
    ]
    """<p>Who can read the nodes that this change set writes. AWS Context refuses it on a change set that only deletes. If you omit it, every reader of the agent context can read a node that the change creates, and every other node keeps its access control. If you specify it, it replaces the access control of every node that the change set writes, and an absent or empty <code>accessControlList</code> lets nobody read them.</p>"""
    agent_context_id: (
        "capo_context.types.agent_context_identifier.AgentContextIdentifier"
    )
    """<p>The agent context to change, by its ID or ARN.</p>"""
    operations: "capo_context.types.change_set_operation_list.ChangeSetOperationList"
    """<p>The operations to write, each a <code>ChangeSetOperation</code>, from 1 to 1,000. If the list is empty or names the same entity twice, the request fails with <code>ValidationException</code>.</p>"""

access_control_config instance-attribute

access_control_config: NotRequired[AccessControlConfig]

Who can read the nodes that this change set writes. AWS Context refuses it on a change set that only deletes. If you omit it, every reader of the agent context can read a node that the change creates, and every other node keeps its access control. If you specify it, it replaces the access control of every node that the change set writes, and an absent or empty accessControlList lets nobody read them.

agent_context_id instance-attribute

agent_context_id: AgentContextIdentifier

The agent context to change, by its ID or ARN.

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier that you provide to make the request idempotent. A retry with the same token returns the same change set.

operations instance-attribute

The operations to write, each a ChangeSetOperation, from 1 to 1,000. If the list is empty or names the same entity twice, the request fails with ValidationException.