start_run_batch
async
¶
start_run_batch(
request_id: BatchRequestId,
default_run_setting: DefaultRunSetting,
batch_run_settings: BatchRunSettings,
*,
config_overrides: Optional[AsyncOmicsClientConfig] = 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/async_omics.py
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 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 | |