update_run_group
¶
update_run_group(
id: RunGroupId,
*,
config_overrides: Optional[OmicsClientConfig] = None,
name: Optional[RunGroupName] = None,
max_cpus: Optional[int] = None,
max_runs: Optional[int] = None,
max_duration: Optional[int] = None,
max_gpus: Optional[int] = None,
) -> None
Updates the settings of a run group and returns a response with no body if the operation is successful.
You can update the following settings with UpdateRunGroup:
-
Maximum number of CPUs
-
Run time (measured in minutes)
-
Number of GPUs
-
Number of concurrent runs
-
Group name
To confirm that the settings have been successfully updated, use the ListRunGroups or GetRunGroup API operations to verify that the desired changes have been made.
Parameters:
-
id(RunGroupId) –The group's ID.
-
name(Optional[RunGroupName], default:None) –A name for the group.
-
max_cpus(Optional[int], default:None) –The maximum number of CPUs to use.
-
max_runs(Optional[int], default:None) –The maximum number of concurrent runs for the group.
-
max_duration(Optional[int], default:None) –A maximum run time for the group in minutes.
-
max_gpus(Optional[int], default:None) –The maximum GPUs that can be used by a run group.
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
3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 | |