Skip to content

DeleteDocumentVersionRequest

Source code in docs_src/capo_workdocs/types/delete_document_version_request.py
class DeleteDocumentVersionRequest(TypedDict, closed=True):
    authentication_token: NotRequired[
        "capo_workdocs.types.authentication_header_type.AuthenticationHeaderType"
    ]
    """<p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>"""
    document_id: "capo_workdocs.types.resource_id_type.ResourceIdType"
    """<p>The ID of the document associated with the version being deleted.</p>"""
    version_id: "capo_workdocs.types.document_version_id_type.DocumentVersionIdType"
    """<p>The ID of the version being deleted.</p>"""
    delete_prior_versions: "capo_workdocs.types.boolean_type.BooleanType"
    """<p>Deletes all versions of a document prior to the current version.</p>"""

authentication_token instance-attribute

authentication_token: NotRequired[AuthenticationHeaderType]

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

delete_prior_versions instance-attribute

delete_prior_versions: BooleanType

Deletes all versions of a document prior to the current version.

document_id instance-attribute

document_id: ResourceIdType

The ID of the document associated with the version being deleted.

version_id instance-attribute

The ID of the version being deleted.