delete_data_product
¶
delete_data_product(
domain_identifier: DomainId,
identifier: DataProductId,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 | |