delete_data_product
async
¶
delete_data_product(
domain_identifier: DomainId,
identifier: DataProductId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
) -> DeleteDataProductOutput
Deletes a data product in Amazon DataZone.
Prerequisites:
-
The data product must exist and not be deleted or archived.
-
The user must have delete permissions for the data product.
-
Domain and project must be active.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which the data product is deleted.
-
identifier(DataProductId) –The identifier of the data product that is deleted.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
ConflictException–There is a conflict while performing this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/async_data_zone.py
12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 | |