update_workflow
async
¶
update_workflow(
id: WorkflowId,
*,
config_overrides: Optional[AsyncOmicsClientConfig] = None,
name: Optional[WorkflowName] = None,
description: Optional[WorkflowDescription] = None,
storage_type: Optional[StorageType] = None,
storage_capacity: Optional[int] = None,
readme_markdown: Optional[ReadmeMarkdown] = None,
) -> None
Updates information about a workflow.
You can update the following workflow information:
-
Name
-
Description
-
Default storage type
-
Default storage capacity (with workflow ID)
This operation returns a response with no body if the operation is successful. You can check the workflow updates by calling the GetWorkflow API operation.
For more information, see Update a private workflow in the Amazon Web Services HealthOmics User Guide.
Parameters:
-
id(WorkflowId) –The workflow's ID.
-
name(Optional[WorkflowName], default:None) –A name for the workflow.
-
description(Optional[WorkflowDescription], default:None) –A description for the workflow.
-
storage_type(Optional[StorageType], default:None) –The default storage type for runs that use this workflow. STATIC storage allocates a fixed amount of storage. DYNAMIC storage dynamically scales the storage up or down, based on file system utilization. For more information about static and dynamic storage, see Running workflows in the Amazon Web Services HealthOmics User Guide.
-
storage_capacity(Optional[int], default:None) –The default static storage capacity (in gibibytes) for runs that use this workflow or workflow version.
-
readme_markdown(Optional[ReadmeMarkdown], default:None) –The markdown content for the workflow's README file. This provides documentation and usage information for users of the workflow.
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.
Source code in docs_src/capo_omics/_services/async_omics.py
7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 | |