delete_attachment
¶
delete_attachment(
asset_identifier: AssetId,
attachment_name: AttachmentName,
*,
config_overrides: Optional[GlueClientConfig] = None,
iterable_form_name: Optional[IterableFormName] = None,
item_identifier: Optional[ItemIdentifier] = None,
) -> DeleteAttachmentResponse
Deletes a form attachment from an asset in Glue Data Catalog.
Parameters:
-
asset_identifier(AssetId) –The unique identifier of the asset from which to delete the attachment.
-
iterable_form_name(Optional[IterableFormName], default:None) –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(Optional[ItemIdentifier], default:None) –The identifier of the item within the iterable form. Required when
iterableFormNameis specified. -
attachment_name(AttachmentName) –The name of the attachment to delete.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
EntityNotFoundException–A specified entity does not exist
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
ThrottlingException–The throttling threshhold was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 | |