Skip to content

CreateCurationPolicyVersionRequest

Source code in docs_src/capo_context/types/create_curation_policy_version_request.py
class CreateCurationPolicyVersionRequest(TypedDict, closed=True):
    client_token: NotRequired["capo_context.types.client_token.ClientToken"]
    """<p>A token that makes a retry safe. A retry with the same token and the same parameters returns the current policy instead of creating another version. A token used with different parameters is a ValidationException, checked first, and a retry with the same parameters after the policy was deleted is a ConflictException. Required at run time. The AWS SDKs generate one.</p>"""
    curation_policy_id: "capo_context.types.curation_policy_id.CurationPolicyId"
    """<p>The ID of the curation policy to publish a new version of.</p>"""
    revision_id: "capo_context.types.curation_policy_revision.CurationPolicyRevision"
    """<p>The <code>revisionId</code> of the working copy to publish, as last read. A working copy whose revision has since advanced is a ConflictException.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

A token that makes a retry safe. A retry with the same token and the same parameters returns the current policy instead of creating another version. A token used with different parameters is a ValidationException, checked first, and a retry with the same parameters after the policy was deleted is a ConflictException. Required at run time. The AWS SDKs generate one.

curation_policy_id instance-attribute

curation_policy_id: CurationPolicyId

The ID of the curation policy to publish a new version of.

revision_id instance-attribute

The revisionId of the working copy to publish, as last read. A working copy whose revision has since advanced is a ConflictException.