cancel_metadata_generation_run
¶
cancel_metadata_generation_run(
domain_identifier: DomainId,
identifier: MetadataGenerationRunIdentifier,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
) -> CancelMetadataGenerationRunOutput
Cancels the metadata generation run.
Prerequisites:
-
The run must exist and be in a cancelable status (e.g., SUBMITTED, IN_PROGRESS).
-
Runs in SUCCEEDED status cannot be cancelled.
-
User must have access to the run and cancel permissions.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which the metadata generation run is to be cancelled.
-
identifier(MetadataGenerationRunIdentifier) –The ID of the metadata generation run.
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
15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 | |