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
7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 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 | |