update_run_group
async
¶
update_run_group(
id: RunGroupId,
*,
config_overrides: Optional[AsyncOmicsClientConfig] = 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/async_omics.py
3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 | |