delete_attachment
async
¶
delete_attachment(
asset_identifier: AssetId,
attachment_name: AttachmentName,
*,
config_overrides: Optional[AsyncGlueClientConfig] = 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/async_glue.py
5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 | |