update_workflow
¶
update_workflow(
id: WorkflowId,
*,
config_overrides: Optional[OmicsClientConfig] = 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/omics.py
7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 | |