DataZone / Client / delete_data_product
delete_data_product¶
- DataZone.Client.delete_data_product(**kwargs)¶
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.
Ensure there are no active dependencies (e.g., published links, assets using the product).
Domain and project must be active.
See also: AWS API Documentation
Request Syntax
response = client.delete_data_product( domainIdentifier='string', identifier='string' )
- Parameters:
domainIdentifier (string) –
[REQUIRED]
The ID of the Amazon DataZone domain in which the data product is deleted.
identifier (string) –
[REQUIRED]
The identifier of the data product that is deleted.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
DataZone.Client.exceptions.InternalServerException
DataZone.Client.exceptions.ResourceNotFoundException
DataZone.Client.exceptions.AccessDeniedException
DataZone.Client.exceptions.ThrottlingException
DataZone.Client.exceptions.ConflictException
DataZone.Client.exceptions.ValidationException
DataZone.Client.exceptions.UnauthorizedException