cancel_metadata_generation_run
async
¶
cancel_metadata_generation_run(
domain_identifier: DomainId,
identifier: MetadataGenerationRunIdentifier,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 | |