Skip to content

DeleteAttachmentRequest

Source code in docs_src/capo_glue/types/delete_attachment_request.py
class DeleteAttachmentRequest(TypedDict, closed=True):
    asset_identifier: "capo_glue.types.asset_id.AssetId"
    """<p>The unique identifier of the asset from which to delete the attachment.</p>"""
    iterable_form_name: NotRequired[
        "capo_glue.types.iterable_form_name.IterableFormName"
    ]
    """<p>The name of the iterable form. When specified along with <code>itemIdentifier</code>, the attachment is deleted from an item within the iterable form rather than from the asset itself.</p>"""
    item_identifier: NotRequired["capo_glue.types.item_identifier.ItemIdentifier"]
    """<p>The identifier of the item within the iterable form. Required when <code>iterableFormName</code> is specified.</p>"""
    attachment_name: "capo_glue.types.attachment_name.AttachmentName"
    """<p>The name of the attachment to delete.</p>"""

asset_identifier instance-attribute

asset_identifier: AssetId

The unique identifier of the asset from which to delete the attachment.

attachment_name instance-attribute

attachment_name: AttachmentName

The name of the attachment to delete.

item_identifier instance-attribute

item_identifier: NotRequired[ItemIdentifier]

The identifier of the item within the iterable form. Required when iterableFormName is specified.

iterable_form_name instance-attribute

iterable_form_name: NotRequired[IterableFormName]

The name of the iterable form. When specified along with itemIdentifier, the attachment is deleted from an item within the iterable form rather than from the asset itself.