Skip to content

DeleteLabelsRequest

Source code in docs_src/capo_workdocs/types/delete_labels_request.py
class DeleteLabelsRequest(TypedDict, closed=True):
    resource_id: "capo_workdocs.types.resource_id_type.ResourceIdType"
    """<p>The ID of the resource.</p>"""
    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>"""
    labels: NotRequired["capo_workdocs.types.shared_labels.SharedLabels"]
    """<p>List of labels to delete from the resource.</p>"""
    delete_all: "capo_workdocs.types.boolean_type.BooleanType"
    """<p>Flag to request removal of all labels from the specified resource.</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_all instance-attribute

delete_all: BooleanType

Flag to request removal of all labels from the specified resource.

labels instance-attribute

labels: NotRequired[SharedLabels]

List of labels to delete from the resource.

resource_id instance-attribute

resource_id: ResourceIdType

The ID of the resource.