Skip to content

RejectCurationProposalRequest

Source code in docs_src/capo_context/types/reject_curation_proposal_request.py
class RejectCurationProposalRequest(TypedDict, closed=True):
    curation_proposal_id: "capo_context.types.curation_proposal_id.CurationProposalId"
    """<p>The ID of the proposal to reject.</p>"""
    agent_context_id: (
        "capo_context.types.agent_context_identifier.AgentContextIdentifier"
    )
    """<p>The agent context that the proposal belongs to, by its ID or ARN. If the proposal belongs to another agent context, the request fails with <code>ResourceNotFoundException</code>.</p>"""
    revision_id: (
        "capo_context.types.curation_proposal_revision.CurationProposalRevision"
    )
    """<p>The revisionId the curator observed. A mismatch means a stale view.</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 with the same token returns the rejected proposal, and the same token used with another proposal returns a <code>ValidationException</code>.</p>"""

agent_context_id instance-attribute

agent_context_id: AgentContextIdentifier

The agent context that the proposal belongs to, by its ID or ARN. If the proposal belongs to another agent context, the request fails with ResourceNotFoundException.

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 with the same token returns the rejected proposal, and the same token used with another proposal returns a ValidationException.

curation_proposal_id instance-attribute

curation_proposal_id: CurationProposalId

The ID of the proposal to reject.

revision_id instance-attribute

The revisionId the curator observed. A mismatch means a stale view.