start_run_batch
¶
start_run_batch(
request_id: BatchRequestId,
default_run_setting: DefaultRunSetting,
batch_run_settings: BatchRunSettings,
*,
config_overrides: Optional[OmicsClientConfig] = None,
batch_name: Optional[BatchName] = None,
tags: Optional[TagMap] = None,
) -> StartRunBatchResponse
Starts a batch of workflow runs. You can group up to 100,000 runs into a single batch that share a common configuration defined in defaultRunSetting. Per-run overrides can be provided either inline via inlineSettings (up to 100 runs) or via a JSON file stored in Amazon S3 via s3UriSettings (up to 100,000 runs).
StartRunBatch validates common fields synchronously and returns immediately with a batch ID and status CREATING. The batch transitions to PENDING once initial setup completes. Runs are then submitted gradually and asynchronously at a rate governed by your StartRun throughput quota.
Parameters:
-
batch_name(Optional[BatchName], default:None) –An optional user-friendly name for the run batch.
-
request_id(BatchRequestId) –A client token used to deduplicate retry requests and prevent duplicate batches from being created.
-
tags(Optional[TagMap], default:None) –Amazon Web Services tags to associate with the batch resource. These tags are not inherited by individual runs. To tag individual runs, use
defaultRunSetting.runTags. -
default_run_setting(DefaultRunSetting) –Shared configuration applied to all runs in the batch. See
DefaultRunSetting. -
batch_run_settings(BatchRunSettings) –The individual run configurations. Specify exactly one of
inlineSettingsors3UriSettings. SeeBatchRunSettings.
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
2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 | |