create_run_group
¶
create_run_group(
request_id: RunGroupRequestId,
*,
config_overrides: Optional[OmicsClientConfig] = None,
name: Optional[RunGroupName] = None,
max_cpus: Optional[int] = None,
max_runs: Optional[int] = None,
max_duration: Optional[int] = None,
tags: Optional[TagMap] = None,
max_gpus: Optional[int] = None,
) -> CreateRunGroupResponse
Creates a run group to limit the compute resources for the runs that are added to the group. Returns an ARN, ID, and tags for the run group.
Parameters:
-
name(Optional[RunGroupName], default:None) –A name for the group.
-
max_cpus(Optional[int], default:None) –The maximum number of CPUs that can run concurrently across all active runs in the run group.
-
max_runs(Optional[int], default:None) –The maximum number of runs that can be running at the same time.
-
max_duration(Optional[int], default:None) –The maximum time for each run (in minutes). If a run exceeds the maximum run time, the run fails automatically.
-
tags(Optional[TagMap], default:None) –Tags for the group.
-
request_id(RunGroupRequestId) –To ensure that requests don't run multiple times, specify a unique ID for each request.
-
max_gpus(Optional[int], default:None) –The maximum number of GPUs that can run concurrently across all active runs in the 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
3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 | |