GlueClient.delete_attachment
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): Deletes a form attachment from an asset in Glue Data Catalog.
Install and imports
Signature
async def delete_attachment(
*,
asset_identifier: str,
attachment_name: str,
iterable_form_name: str | None = None,
item_identifier: str | None = None,
) -> DeleteAttachmentOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
asset_identifier |
Yes | The unique identifier of the asset from which to delete the attachment. |
attachment_name |
Yes | The name of the attachment to delete. |
iterable_form_name |
No | 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. |
item_identifier |
No | The identifier of the item within the iterable form. Required when iterableFormName is specified. |
Output
DeleteAttachmentOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
asset_id |
str | None |
Always present | — |
iterable_form_name |
str | None |
Always present | — |
item_id |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_glue.exceptions:
AccessDeniedError, ConcurrentModificationError, EntityNotFoundError, InternalServiceError, InvalidInputError, ThrottlingError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.