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
15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 | |