Skip to content

UpdateChangeSetRequest

Source code in docs_src/capo_context/types/update_change_set_request.py
class UpdateChangeSetRequest(TypedDict, closed=True):
    change_set_id: "capo_context.types.change_set_id.ChangeSetId"
    """<p>The change set to edit: the <code>changeSetId</code> that GetCurationProposal returns.</p>"""
    agent_context_id: (
        "capo_context.types.agent_context_identifier.AgentContextIdentifier"
    )
    """<p>The agent context that the change set belongs to, by its ID or ARN. AWS Context authorizes the request on this agent context's ARN. If the change set belongs to another agent context, the request fails with <code>ResourceNotFoundException</code>.</p>"""
    change_set_version: (
        "capo_context.types.change_set_version_integer.ChangeSetVersionInteger"
    )
    """<p>The change set version that you read with GetChangeSet. The edit applies only if it's still the latest version. Otherwise, the request fails with <code>ConflictException</code>.</p>"""
    client_token: NotRequired["capo_context.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive identifier that you provide to make the request idempotent. For 8 hours, a retry of the same request with the same token returns the change set's latest version without writing again, and the same token used for another change set or a different request returns a <code>ValidationException</code>.</p>"""
    operations_to_remove: (
        "capo_context.types.change_set_operation_list.ChangeSetOperationList"
    )
    """<p>Operations to remove, copied unchanged from <code>ListChangeSetOperations</code>. A retry must resend the same list with the same clientToken.</p>"""

agent_context_id instance-attribute

agent_context_id: AgentContextIdentifier

The agent context that the change set belongs to, by its ID or ARN. AWS Context authorizes the request on this agent context's ARN. If the change set belongs to another agent context, the request fails with ResourceNotFoundException.

change_set_id instance-attribute

change_set_id: ChangeSetId

The change set to edit: the changeSetId that GetCurationProposal returns.

change_set_version instance-attribute

change_set_version: ChangeSetVersionInteger

The change set version that you read with GetChangeSet. The edit applies only if it's still the latest version. Otherwise, the request fails with ConflictException.

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier that you provide to make the request idempotent. For 8 hours, a retry of the same request with the same token returns the change set's latest version without writing again, and the same token used for another change set or a different request returns a ValidationException.

operations_to_remove instance-attribute

operations_to_remove: ChangeSetOperationList

Operations to remove, copied unchanged from ListChangeSetOperations. A retry must resend the same list with the same clientToken.