delete_workflow
¶
delete_workflow(
id: WorkflowId, *, config_overrides: Optional[OmicsClientConfig] = None
) -> None
Deletes a workflow by specifying its ID. This operation returns a response with no body if the deletion is successful.
To verify that the workflow is deleted:
-
Use
ListWorkflowsto confirm the workflow no longer appears in the list. -
Use
GetWorkflowto verify the workflow cannot be found.
Parameters:
-
id(WorkflowId) –The workflow's ID.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request cannot be applied to the target resource in its current state.
-
InternalServerException–An unexpected error occurred. Try the request again.
-
RequestTimeoutException–The request timed out.
-
ResourceNotFoundException–The target resource was not found in the current Region.
-
ServiceQuotaExceededException–The request exceeds a service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.