@aws-sdk/client-omics 3.1014.0 → 3.1015.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/README.md +56 -7
  2. package/dist-cjs/index.js +141 -14
  3. package/dist-cjs/schemas/schemas_0.js +230 -32
  4. package/dist-es/Omics.js +18 -0
  5. package/dist-es/commands/CancelRunBatchCommand.js +16 -0
  6. package/dist-es/commands/DeleteBatchCommand.js +16 -0
  7. package/dist-es/commands/DeleteRunBatchCommand.js +16 -0
  8. package/dist-es/commands/GetBatchCommand.js +16 -0
  9. package/dist-es/commands/ListBatchCommand.js +16 -0
  10. package/dist-es/commands/ListRunsInBatchCommand.js +16 -0
  11. package/dist-es/commands/StartRunBatchCommand.js +16 -0
  12. package/dist-es/commands/index.js +7 -0
  13. package/dist-es/models/enums.js +33 -14
  14. package/dist-es/pagination/ListBatchPaginator.js +4 -0
  15. package/dist-es/pagination/ListRunsInBatchPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +2 -0
  17. package/dist-es/schemas/schemas_0.js +222 -24
  18. package/dist-types/Omics.d.ts +64 -0
  19. package/dist-types/OmicsClient.d.ts +9 -2
  20. package/dist-types/commands/CancelAnnotationImportJobCommand.d.ts +1 -1
  21. package/dist-types/commands/CancelRunBatchCommand.d.ts +96 -0
  22. package/dist-types/commands/CancelVariantImportJobCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateAnnotationStoreCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateVariantStoreCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteAnnotationStoreCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteBatchCommand.d.ts +96 -0
  27. package/dist-types/commands/DeleteRunBatchCommand.d.ts +96 -0
  28. package/dist-types/commands/DeleteVariantStoreCommand.d.ts +1 -1
  29. package/dist-types/commands/GetAnnotationImportJobCommand.d.ts +1 -1
  30. package/dist-types/commands/GetAnnotationStoreCommand.d.ts +1 -1
  31. package/dist-types/commands/GetBatchCommand.d.ts +146 -0
  32. package/dist-types/commands/GetRunCommand.d.ts +1 -0
  33. package/dist-types/commands/GetVariantImportJobCommand.d.ts +1 -1
  34. package/dist-types/commands/GetVariantStoreCommand.d.ts +1 -1
  35. package/dist-types/commands/ListAnnotationImportJobsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListAnnotationStoresCommand.d.ts +1 -1
  37. package/dist-types/commands/ListBatchCommand.d.ts +103 -0
  38. package/dist-types/commands/ListRunsCommand.d.ts +2 -0
  39. package/dist-types/commands/ListRunsInBatchCommand.d.ts +114 -0
  40. package/dist-types/commands/ListVariantImportJobsCommand.d.ts +1 -1
  41. package/dist-types/commands/ListVariantStoresCommand.d.ts +1 -1
  42. package/dist-types/commands/StartAnnotationImportJobCommand.d.ts +1 -1
  43. package/dist-types/commands/StartRunBatchCommand.d.ts +144 -0
  44. package/dist-types/commands/StartVariantImportJobCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateAnnotationStoreCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateVariantStoreCommand.d.ts +1 -1
  47. package/dist-types/commands/index.d.ts +7 -0
  48. package/dist-types/models/enums.d.ts +73 -38
  49. package/dist-types/models/models_0.d.ts +648 -2
  50. package/dist-types/pagination/ListBatchPaginator.d.ts +7 -0
  51. package/dist-types/pagination/ListRunsInBatchPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +2 -0
  53. package/dist-types/schemas/schemas_0.d.ts +27 -0
  54. package/dist-types/ts3.4/Omics.d.ts +134 -0
  55. package/dist-types/ts3.4/OmicsClient.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/CancelRunBatchCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/DeleteBatchCommand.d.ts +45 -0
  58. package/dist-types/ts3.4/commands/DeleteRunBatchCommand.d.ts +50 -0
  59. package/dist-types/ts3.4/commands/GetBatchCommand.d.ts +47 -0
  60. package/dist-types/ts3.4/commands/ListBatchCommand.d.ts +47 -0
  61. package/dist-types/ts3.4/commands/ListRunsInBatchCommand.d.ts +50 -0
  62. package/dist-types/ts3.4/commands/StartRunBatchCommand.d.ts +50 -0
  63. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  64. package/dist-types/ts3.4/models/enums.d.ts +40 -18
  65. package/dist-types/ts3.4/models/models_0.d.ts +164 -0
  66. package/dist-types/ts3.4/pagination/ListBatchPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/ListRunsInBatchPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  69. package/dist-types/ts3.4/schemas/schemas_0.d.ts +27 -0
  70. package/package.json +5 -5
@@ -1,6 +1,6 @@
1
1
  import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
2
2
  import { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
3
- import { Accelerators, AnnotationType, CacheBehavior, CreationType, EncryptionType, ETagAlgorithm, ETagAlgorithmFamily, FileType, FormatToHeaderKey, JobStatus, ReadSetActivationJobItemStatus, ReadSetActivationJobStatus, ReadSetExportJobItemStatus, ReadSetExportJobStatus, ReadSetFile, ReadSetImportJobItemStatus, ReadSetImportJobStatus, ReadSetPartSource, ReadSetStatus, ReferenceCreationType, ReferenceFile, ReferenceImportJobItemStatus, ReferenceImportJobStatus, ReferenceStatus, ResourceOwner, RunCacheStatus, RunExport, RunLogLevel, RunRetentionMode, RunStatus, SchemaValueType, SequenceStoreStatus, ShareResourceType, ShareStatus, SourceReferenceType, StorageType, StoreFormat, StoreStatus, StoreType, TaskStatus, VersionStatus, WorkflowEngine, WorkflowExport, WorkflowStatus, WorkflowType } from "./enums";
3
+ import { Accelerators, AnnotationType, BatchStatus, CacheBehavior, CreationType, EncryptionType, ETagAlgorithm, ETagAlgorithmFamily, FileType, FormatToHeaderKey, JobStatus, ReadSetActivationJobItemStatus, ReadSetActivationJobStatus, ReadSetExportJobItemStatus, ReadSetExportJobStatus, ReadSetFile, ReadSetImportJobItemStatus, ReadSetImportJobStatus, ReadSetPartSource, ReadSetStatus, ReferenceCreationType, ReferenceFile, ReferenceImportJobItemStatus, ReferenceImportJobStatus, ReferenceStatus, ResourceOwner, RunCacheStatus, RunExport, RunLogLevel, RunRetentionMode, RunStatus, SchemaValueType, SequenceStoreStatus, ShareResourceType, ShareStatus, SourceReferenceType, StorageType, StoreFormat, StoreStatus, StoreType, SubmissionStatus, TaskStatus, VersionStatus, WorkflowEngine, WorkflowExport, WorkflowStatus, WorkflowType } from "./enums";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1489,6 +1489,128 @@ export interface BatchDeleteReadSetResponse {
1489
1489
  */
1490
1490
  errors?: ReadSetBatchError[] | undefined;
1491
1491
  }
1492
+ /**
1493
+ * <p>A summary of a batch returned by <code>ListBatch</code>.</p>
1494
+ * @public
1495
+ */
1496
+ export interface BatchListItem {
1497
+ /**
1498
+ * <p>The batch identifier.</p>
1499
+ * @public
1500
+ */
1501
+ id?: string | undefined;
1502
+ /**
1503
+ * <p>The batch name.</p>
1504
+ * @public
1505
+ */
1506
+ name?: string | undefined;
1507
+ /**
1508
+ * <p>The current batch status.</p>
1509
+ * @public
1510
+ */
1511
+ status?: BatchStatus | undefined;
1512
+ /**
1513
+ * <p>The timestamp when the batch was created.</p>
1514
+ * @public
1515
+ */
1516
+ createdAt?: Date | undefined;
1517
+ /**
1518
+ * <p>The total number of runs in the batch.</p>
1519
+ * @public
1520
+ */
1521
+ totalRuns?: number | undefined;
1522
+ /**
1523
+ * <p>The identifier of the workflow used for the batch.</p>
1524
+ * @public
1525
+ */
1526
+ workflowId?: string | undefined;
1527
+ }
1528
+ /**
1529
+ * <p>A per-run configuration that overrides or merges with fields from <code>DefaultRunSetting</code> for a specific run.</p>
1530
+ * @public
1531
+ */
1532
+ export interface InlineSetting {
1533
+ /**
1534
+ * <p>A customer-provided unique identifier for this run configuration within the batch. After submission, use <code>ListRunsInBatch</code> to map each <code>runSettingId</code> to the HealthOmics-generated <code>runId</code>.</p>
1535
+ * @public
1536
+ */
1537
+ runSettingId: string | undefined;
1538
+ /**
1539
+ * <p>An optional user-friendly name for this run.</p>
1540
+ * @public
1541
+ */
1542
+ name?: string | undefined;
1543
+ /**
1544
+ * <p>Override the destination S3 URI for this run's outputs.</p>
1545
+ * @public
1546
+ */
1547
+ outputUri?: string | undefined;
1548
+ /**
1549
+ * <p>Override the priority for this run.</p>
1550
+ * @public
1551
+ */
1552
+ priority?: number | undefined;
1553
+ /**
1554
+ * <p>Per-run workflow parameters. Merged with <code>defaultRunSetting.parameters</code>; values in this object take precedence when keys overlap.</p>
1555
+ * @public
1556
+ */
1557
+ parameters?: __DocumentType | undefined;
1558
+ /**
1559
+ * <p>The expected AWS account ID of the owner of the output S3 bucket for this run.</p>
1560
+ * @public
1561
+ */
1562
+ outputBucketOwnerId?: string | undefined;
1563
+ /**
1564
+ * <p>Per-run AWS tags. Merged with <code>defaultRunSetting.runTags</code>; values in this object take precedence when keys overlap.</p>
1565
+ * @public
1566
+ */
1567
+ runTags?: Record<string, string> | undefined;
1568
+ }
1569
+ /**
1570
+ * <p>A union type representing per-run configurations for the batch. Specify exactly one of the following members.</p>
1571
+ * @public
1572
+ */
1573
+ export type BatchRunSettings = BatchRunSettings.InlineSettingsMember | BatchRunSettings.S3UriSettingsMember | BatchRunSettings.$UnknownMember;
1574
+ /**
1575
+ * @public
1576
+ */
1577
+ export declare namespace BatchRunSettings {
1578
+ /**
1579
+ * <p>A list of per-run configurations provided inline in the request. Each entry must include a unique <code>runSettingId</code>. Supports up to 100 entries. For batches with more than 100 runs, use <code>s3UriSettings</code>.</p>
1580
+ * @public
1581
+ */
1582
+ interface InlineSettingsMember {
1583
+ inlineSettings: InlineSetting[];
1584
+ s3UriSettings?: never;
1585
+ $unknown?: never;
1586
+ }
1587
+ /**
1588
+ * <p>An Amazon S3 URI pointing to a JSON file containing per-run configurations. The file must be a JSON array in the same format as <code>inlineSettings</code>. Supports up to 100,000 run configurations. The maximum file size is 6 GB.</p> <p>The IAM service role in <code>roleArn</code> must have read access to this S3 object. HealthOmics validates access to the file during the synchronous API call and records the file's ETag. If the file is modified after submission, the batch fails.</p>
1589
+ * @public
1590
+ */
1591
+ interface S3UriSettingsMember {
1592
+ inlineSettings?: never;
1593
+ s3UriSettings: string;
1594
+ $unknown?: never;
1595
+ }
1596
+ /**
1597
+ * @public
1598
+ */
1599
+ interface $UnknownMember {
1600
+ inlineSettings?: never;
1601
+ s3UriSettings?: never;
1602
+ $unknown: [string, any];
1603
+ }
1604
+ /**
1605
+ * @deprecated unused in schema-serde mode.
1606
+ *
1607
+ */
1608
+ interface Visitor<T> {
1609
+ inlineSettings: (value: InlineSetting[]) => T;
1610
+ s3UriSettings: (value: string) => T;
1611
+ _: (name: string, value: any) => T;
1612
+ }
1613
+ }
1492
1614
  /**
1493
1615
  * @public
1494
1616
  */
@@ -1499,6 +1621,21 @@ export interface CancelRunRequest {
1499
1621
  */
1500
1622
  id: string | undefined;
1501
1623
  }
1624
+ /**
1625
+ * @public
1626
+ */
1627
+ export interface CancelRunBatchRequest {
1628
+ /**
1629
+ * <p>The identifier portion of the run batch ARN.</p>
1630
+ * @public
1631
+ */
1632
+ batchId: string | undefined;
1633
+ }
1634
+ /**
1635
+ * @public
1636
+ */
1637
+ export interface CancelRunBatchResponse {
1638
+ }
1502
1639
  /**
1503
1640
  * @public
1504
1641
  */
@@ -2248,7 +2385,7 @@ export interface CreateWorkflowRequest {
2248
2385
  */
2249
2386
  description?: string | undefined;
2250
2387
  /**
2251
- * <p>The workflow engine for the workflow. This is only required if you have workflow definition files from more than one engine in your zip file. Otherwise, the service can detect the engine automatically from your workflow definition.</p>
2388
+ * <p>The workflow engine for the workflow. By default, Amazon Web Services HealthOmics detects the engine automatically from your workflow definition. Provide a value if you have workflow definition files from more than one engine in your zip file, or to use WDL lenient.</p> <p>WDL lenient is designed to handle workflows migrated from Cromwell. It supports customer Cromwell directives and some non-conformant logic. For details, see <a href="https://docs.aws.amazon.com/omics/latest/dev/workflow-wdl-type-conversion.html">Implicit type conversion in WDL lenient</a> in the <i>Amazon Web Services HealthOmics User Guide</i>.</p>
2252
2389
  * @public
2253
2390
  */
2254
2391
  engine?: WorkflowEngine | undefined;
@@ -2513,6 +2650,102 @@ export interface CreateWorkflowVersionResponse {
2513
2650
  */
2514
2651
  uuid?: string | undefined;
2515
2652
  }
2653
+ /**
2654
+ * <p>Shared configuration applied to all runs in a batch. Fields specified in a per-run <code>InlineSetting</code> entry override the corresponding fields in this object for that run. The <code>parameters</code> and <code>runTags</code> fields are merged rather than replaced — run-specific values take precedence when keys overlap.</p>
2655
+ * @public
2656
+ */
2657
+ export interface DefaultRunSetting {
2658
+ /**
2659
+ * <p>The identifier of the workflow to run.</p>
2660
+ * @public
2661
+ */
2662
+ workflowId: string | undefined;
2663
+ /**
2664
+ * <p>The type of the originating workflow. Batch runs are not supported with <code>READY2RUN</code> workflows.</p>
2665
+ * @public
2666
+ */
2667
+ workflowType?: WorkflowType | undefined;
2668
+ /**
2669
+ * <p>The IAM role ARN that grants HealthOmics permissions to access required AWS resources such as Amazon S3 and CloudWatch. The role must have the same permissions required for individual <code>StartRun</code> calls.</p>
2670
+ * @public
2671
+ */
2672
+ roleArn: string | undefined;
2673
+ /**
2674
+ * <p>An optional user-friendly name applied to each workflow run. Can be overridden per run.</p>
2675
+ * @public
2676
+ */
2677
+ name?: string | undefined;
2678
+ /**
2679
+ * <p>The identifier of the run cache to associate with the runs.</p>
2680
+ * @public
2681
+ */
2682
+ cacheId?: string | undefined;
2683
+ /**
2684
+ * <p>The cache behavior for the runs. Requires <code>cacheId</code> to be set.</p>
2685
+ * @public
2686
+ */
2687
+ cacheBehavior?: CacheBehavior | undefined;
2688
+ /**
2689
+ * <p>The ID of the run group to contain all workflow runs in the batch.</p>
2690
+ * @public
2691
+ */
2692
+ runGroupId?: string | undefined;
2693
+ /**
2694
+ * <p>An integer priority for the workflow runs. Higher values correspond to higher priority. A value of 0 corresponds to the lowest priority. Can be overridden per run.</p>
2695
+ * @public
2696
+ */
2697
+ priority?: number | undefined;
2698
+ /**
2699
+ * <p>Workflow parameter names and values shared across all runs. Merged with per-run parameters; run-specific values take precedence when keys overlap. Can be overridden per run.</p>
2700
+ * @public
2701
+ */
2702
+ parameters?: __DocumentType | undefined;
2703
+ /**
2704
+ * <p>The filesystem size in gibibytes (GiB) provisioned for each workflow run and shared by all tasks in that run. Defaults to 1200 GiB if not specified.</p>
2705
+ * @public
2706
+ */
2707
+ storageCapacity?: number | undefined;
2708
+ /**
2709
+ * <p>The destination S3 URI for workflow outputs. Must begin with <code>s3://</code>. The <code>roleArn</code> must grant write permissions to this bucket. Can be overridden per run.</p>
2710
+ * @public
2711
+ */
2712
+ outputUri?: string | undefined;
2713
+ /**
2714
+ * <p>The verbosity level for CloudWatch Logs emitted during each run.</p>
2715
+ * @public
2716
+ */
2717
+ logLevel?: RunLogLevel | undefined;
2718
+ /**
2719
+ * <p>AWS tags to associate with each workflow run. Merged with per-run <code>runTags</code>; run-specific values take precedence when keys overlap.</p>
2720
+ * @public
2721
+ */
2722
+ runTags?: Record<string, string> | undefined;
2723
+ /**
2724
+ * <p>The retention behavior for runs after completion.</p>
2725
+ * @public
2726
+ */
2727
+ retentionMode?: RunRetentionMode | undefined;
2728
+ /**
2729
+ * <p>The storage type for the workflow runs.</p>
2730
+ * @public
2731
+ */
2732
+ storageType?: StorageType | undefined;
2733
+ /**
2734
+ * <p>The AWS account ID of the workflow owner, used for cross-account workflow sharing.</p>
2735
+ * @public
2736
+ */
2737
+ workflowOwnerId?: string | undefined;
2738
+ /**
2739
+ * <p>The expected AWS account ID of the owner of the output S3 bucket. Can be overridden per run.</p>
2740
+ * @public
2741
+ */
2742
+ outputBucketOwnerId?: string | undefined;
2743
+ /**
2744
+ * <p>The version name of the specified workflow.</p>
2745
+ * @public
2746
+ */
2747
+ workflowVersionName?: string | undefined;
2748
+ }
2516
2749
  /**
2517
2750
  * <p>Contains detailed information about the source code repository that hosts the workflow definition files.</p>
2518
2751
  * @public
@@ -2544,6 +2777,16 @@ export interface DefinitionRepositoryDetails {
2544
2777
  */
2545
2778
  providerEndpoint?: string | undefined;
2546
2779
  }
2780
+ /**
2781
+ * @public
2782
+ */
2783
+ export interface DeleteBatchRequest {
2784
+ /**
2785
+ * <p>The identifier portion of the run batch ARN.</p>
2786
+ * @public
2787
+ */
2788
+ batchId: string | undefined;
2789
+ }
2547
2790
  /**
2548
2791
  * @public
2549
2792
  */
@@ -2589,6 +2832,21 @@ export interface DeleteRunRequest {
2589
2832
  */
2590
2833
  id: string | undefined;
2591
2834
  }
2835
+ /**
2836
+ * @public
2837
+ */
2838
+ export interface DeleteRunBatchRequest {
2839
+ /**
2840
+ * <p>The identifier portion of the run batch ARN.</p>
2841
+ * @public
2842
+ */
2843
+ batchId: string | undefined;
2844
+ }
2845
+ /**
2846
+ * @public
2847
+ */
2848
+ export interface DeleteRunBatchResponse {
2849
+ }
2592
2850
  /**
2593
2851
  * @public
2594
2852
  */
@@ -2877,6 +3135,183 @@ export interface Filter {
2877
3135
  */
2878
3136
  type?: ShareResourceType[] | undefined;
2879
3137
  }
3138
+ /**
3139
+ * @public
3140
+ */
3141
+ export interface GetBatchRequest {
3142
+ /**
3143
+ * <p>The identifier portion of the run batch ARN.</p>
3144
+ * @public
3145
+ */
3146
+ batchId: string | undefined;
3147
+ }
3148
+ /**
3149
+ * <p>A summary of the runs in a batch.</p>
3150
+ * @public
3151
+ */
3152
+ export interface RunSummary {
3153
+ /**
3154
+ * <p>The number of pending runs.</p>
3155
+ * @public
3156
+ */
3157
+ pendingRunCount?: number | undefined;
3158
+ /**
3159
+ * <p>The number of starting runs.</p>
3160
+ * @public
3161
+ */
3162
+ startingRunCount?: number | undefined;
3163
+ /**
3164
+ * <p>The number of running runs.</p>
3165
+ * @public
3166
+ */
3167
+ runningRunCount?: number | undefined;
3168
+ /**
3169
+ * <p>The number of stopping runs.</p>
3170
+ * @public
3171
+ */
3172
+ stoppingRunCount?: number | undefined;
3173
+ /**
3174
+ * <p>The number of completed runs.</p>
3175
+ * @public
3176
+ */
3177
+ completedRunCount?: number | undefined;
3178
+ /**
3179
+ * <p>The number of deleted runs.</p>
3180
+ * @public
3181
+ */
3182
+ deletedRunCount?: number | undefined;
3183
+ /**
3184
+ * <p>The number of failed runs.</p>
3185
+ * @public
3186
+ */
3187
+ failedRunCount?: number | undefined;
3188
+ /**
3189
+ * <p>The number of cancelled runs.</p>
3190
+ * @public
3191
+ */
3192
+ cancelledRunCount?: number | undefined;
3193
+ }
3194
+ /**
3195
+ * <p>A summary of the submissions in a batch.</p>
3196
+ * @public
3197
+ */
3198
+ export interface SubmissionSummary {
3199
+ /**
3200
+ * <p>The number of successful start submissions.</p>
3201
+ * @public
3202
+ */
3203
+ successfulStartSubmissionCount?: number | undefined;
3204
+ /**
3205
+ * <p>The number of failed start submissions.</p>
3206
+ * @public
3207
+ */
3208
+ failedStartSubmissionCount?: number | undefined;
3209
+ /**
3210
+ * <p>The number of pending start submissions.</p>
3211
+ * @public
3212
+ */
3213
+ pendingStartSubmissionCount?: number | undefined;
3214
+ /**
3215
+ * <p>The number of successful cancel submissions.</p>
3216
+ * @public
3217
+ */
3218
+ successfulCancelSubmissionCount?: number | undefined;
3219
+ /**
3220
+ * <p>The number of failed cancel submissions.</p>
3221
+ * @public
3222
+ */
3223
+ failedCancelSubmissionCount?: number | undefined;
3224
+ /**
3225
+ * <p>The number of successful delete submissions.</p>
3226
+ * @public
3227
+ */
3228
+ successfulDeleteSubmissionCount?: number | undefined;
3229
+ /**
3230
+ * <p>The number of failed delete submissions.</p>
3231
+ * @public
3232
+ */
3233
+ failedDeleteSubmissionCount?: number | undefined;
3234
+ }
3235
+ /**
3236
+ * @public
3237
+ */
3238
+ export interface GetBatchResponse {
3239
+ /**
3240
+ * <p>The identifier portion of the run batch ARN.</p>
3241
+ * @public
3242
+ */
3243
+ id?: string | undefined;
3244
+ /**
3245
+ * <p>The unique ARN of the run batch.</p>
3246
+ * @public
3247
+ */
3248
+ arn?: string | undefined;
3249
+ /**
3250
+ * <p>The universally unique identifier (UUID) for the run batch.</p>
3251
+ * @public
3252
+ */
3253
+ uuid?: string | undefined;
3254
+ /**
3255
+ * <p>The optional user-friendly name of the batch.</p>
3256
+ * @public
3257
+ */
3258
+ name?: string | undefined;
3259
+ /**
3260
+ * <p>The current status of the run batch.</p>
3261
+ * @public
3262
+ */
3263
+ status?: BatchStatus | undefined;
3264
+ /**
3265
+ * <p>AWS tags associated with the run batch.</p>
3266
+ * @public
3267
+ */
3268
+ tags?: Record<string, string> | undefined;
3269
+ /**
3270
+ * <p>The total number of runs in the batch.</p>
3271
+ * @public
3272
+ */
3273
+ totalRuns?: number | undefined;
3274
+ /**
3275
+ * <p>The shared configuration applied to all runs in the batch. See <code>DefaultRunSetting</code>.</p>
3276
+ * @public
3277
+ */
3278
+ defaultRunSetting?: DefaultRunSetting | undefined;
3279
+ /**
3280
+ * <p>A summary of run submission outcomes. See <code>SubmissionSummary</code>.</p>
3281
+ * @public
3282
+ */
3283
+ submissionSummary?: SubmissionSummary | undefined;
3284
+ /**
3285
+ * <p>A summary of run execution states. Run execution counts are eventually consistent and may lag behind actual run states. Final counts are accurate once the batch reaches <code>PROCESSED</code> status. See <code>RunSummary</code>.</p>
3286
+ * @public
3287
+ */
3288
+ runSummary?: RunSummary | undefined;
3289
+ /**
3290
+ * <p>The timestamp when the batch was created.</p>
3291
+ * @public
3292
+ */
3293
+ creationTime?: Date | undefined;
3294
+ /**
3295
+ * <p>The timestamp when all run submissions completed.</p>
3296
+ * @public
3297
+ */
3298
+ submittedTime?: Date | undefined;
3299
+ /**
3300
+ * <p>The timestamp when all run executions completed.</p>
3301
+ * @public
3302
+ */
3303
+ processedTime?: Date | undefined;
3304
+ /**
3305
+ * <p>The timestamp when the batch transitioned to a <code>FAILED</code> status.</p>
3306
+ * @public
3307
+ */
3308
+ failedTime?: Date | undefined;
3309
+ /**
3310
+ * <p>A description of the batch failure. Present only when status is <code>FAILED</code>.</p>
3311
+ * @public
3312
+ */
3313
+ failureReason?: string | undefined;
3314
+ }
2880
3315
  /**
2881
3316
  * @public
2882
3317
  */
@@ -3698,6 +4133,11 @@ export interface GetRunResponse {
3698
4133
  * @public
3699
4134
  */
3700
4135
  runGroupId?: string | undefined;
4136
+ /**
4137
+ * <p>The run's batch ID.</p>
4138
+ * @public
4139
+ */
4140
+ batchId?: string | undefined;
3701
4141
  /**
3702
4142
  * <p>The run's priority.</p>
3703
4143
  * @public
@@ -4841,6 +5281,51 @@ export interface ImportReferenceJobItem {
4841
5281
  */
4842
5282
  completionTime?: Date | undefined;
4843
5283
  }
5284
+ /**
5285
+ * @public
5286
+ */
5287
+ export interface ListBatchRequest {
5288
+ /**
5289
+ * <p>The maximum number of batches to return. If not specified, defaults to 100.</p>
5290
+ * @public
5291
+ */
5292
+ maxItems?: number | undefined;
5293
+ /**
5294
+ * <p>A pagination token returned from a prior <code>ListBatch</code> call.</p>
5295
+ * @public
5296
+ */
5297
+ startingToken?: string | undefined;
5298
+ /**
5299
+ * <p>Filter batches by status.</p>
5300
+ * @public
5301
+ */
5302
+ status?: BatchStatus | undefined;
5303
+ /**
5304
+ * <p>Filter batches by name.</p>
5305
+ * @public
5306
+ */
5307
+ name?: string | undefined;
5308
+ /**
5309
+ * <p>Filter batches by run group ID.</p>
5310
+ * @public
5311
+ */
5312
+ runGroupId?: string | undefined;
5313
+ }
5314
+ /**
5315
+ * @public
5316
+ */
5317
+ export interface ListBatchResponse {
5318
+ /**
5319
+ * <p>A list of batch summary objects. See <code>BatchListItem</code>.</p>
5320
+ * @public
5321
+ */
5322
+ items?: BatchListItem[] | undefined;
5323
+ /**
5324
+ * <p>A pagination token to retrieve the next page of results. Absent when no further results are available.</p>
5325
+ * @public
5326
+ */
5327
+ nextToken?: string | undefined;
5328
+ }
4844
5329
  /**
4845
5330
  * @public
4846
5331
  */
@@ -5746,6 +6231,11 @@ export interface ListRunsRequest {
5746
6231
  * @public
5747
6232
  */
5748
6233
  runGroupId?: string | undefined;
6234
+ /**
6235
+ * <p>Filter by batch ID.</p>
6236
+ * @public
6237
+ */
6238
+ batchId?: string | undefined;
5749
6239
  /**
5750
6240
  * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
5751
6241
  * @public
@@ -5787,6 +6277,11 @@ export interface RunListItem {
5787
6277
  * @public
5788
6278
  */
5789
6279
  workflowId?: string | undefined;
6280
+ /**
6281
+ * <p>The run's batch ID.</p>
6282
+ * @public
6283
+ */
6284
+ batchId?: string | undefined;
5790
6285
  /**
5791
6286
  * <p>The run's name.</p>
5792
6287
  * @public
@@ -5843,6 +6338,97 @@ export interface ListRunsResponse {
5843
6338
  */
5844
6339
  nextToken?: string | undefined;
5845
6340
  }
6341
+ /**
6342
+ * @public
6343
+ */
6344
+ export interface ListRunsInBatchRequest {
6345
+ /**
6346
+ * <p>The identifier portion of the run batch ARN.</p>
6347
+ * @public
6348
+ */
6349
+ batchId: string | undefined;
6350
+ /**
6351
+ * <p>The maximum number of runs to return.</p>
6352
+ * @public
6353
+ */
6354
+ maxItems?: number | undefined;
6355
+ /**
6356
+ * <p>A pagination token returned from a prior <code>ListRunsInBatch</code> call.</p>
6357
+ * @public
6358
+ */
6359
+ startingToken?: string | undefined;
6360
+ /**
6361
+ * <p>Filter runs by submission status.</p>
6362
+ * @public
6363
+ */
6364
+ submissionStatus?: SubmissionStatus | undefined;
6365
+ /**
6366
+ * <p>Filter runs by the customer-provided run setting ID.</p>
6367
+ * @public
6368
+ */
6369
+ runSettingId?: string | undefined;
6370
+ /**
6371
+ * <p>Filter runs by the HealthOmics-generated run ID.</p>
6372
+ * @public
6373
+ */
6374
+ runId?: string | undefined;
6375
+ }
6376
+ /**
6377
+ * <p>A single run entry returned by <code>ListRunsInBatch</code>.</p>
6378
+ * @public
6379
+ */
6380
+ export interface RunBatchListItem {
6381
+ /**
6382
+ * <p>The customer-provided identifier for the run configuration. Use this to correlate results back to the input configuration provided in <code>inlineSettings</code> or <code>s3UriSettings</code>.</p>
6383
+ * @public
6384
+ */
6385
+ runSettingId?: string | undefined;
6386
+ /**
6387
+ * <p>The HealthOmics-generated identifier for the workflow run. Empty if submission failed.</p>
6388
+ * @public
6389
+ */
6390
+ runId?: string | undefined;
6391
+ /**
6392
+ * <p>The universally unique identifier (UUID) for the run.</p>
6393
+ * @public
6394
+ */
6395
+ runInternalUuid?: string | undefined;
6396
+ /**
6397
+ * <p>The unique ARN of the workflow run.</p>
6398
+ * @public
6399
+ */
6400
+ runArn?: string | undefined;
6401
+ /**
6402
+ * <p>The submission outcome for this run.</p>
6403
+ * @public
6404
+ */
6405
+ submissionStatus?: SubmissionStatus | undefined;
6406
+ /**
6407
+ * <p>The error category for a failed submission. See the run-level failure table in the HealthOmics User Guide for details on each value.</p>
6408
+ * @public
6409
+ */
6410
+ submissionFailureReason?: string | undefined;
6411
+ /**
6412
+ * <p>A detailed message describing the submission failure.</p>
6413
+ * @public
6414
+ */
6415
+ submissionFailureMessage?: string | undefined;
6416
+ }
6417
+ /**
6418
+ * @public
6419
+ */
6420
+ export interface ListRunsInBatchResponse {
6421
+ /**
6422
+ * <p>A list of run entries in the batch. See <code>RunBatchListItem</code>.</p>
6423
+ * @public
6424
+ */
6425
+ runs?: RunBatchListItem[] | undefined;
6426
+ /**
6427
+ * <p>A pagination token to retrieve the next page of results. Absent when the last run has been returned.</p>
6428
+ * @public
6429
+ */
6430
+ nextToken?: string | undefined;
6431
+ }
5846
6432
  /**
5847
6433
  * @public
5848
6434
  */
@@ -6658,6 +7244,66 @@ export interface StartReferenceImportJobResponse {
6658
7244
  */
6659
7245
  creationTime: Date | undefined;
6660
7246
  }
7247
+ /**
7248
+ * @public
7249
+ */
7250
+ export interface StartRunBatchRequest {
7251
+ /**
7252
+ * <p>An optional user-friendly name for the run batch.</p>
7253
+ * @public
7254
+ */
7255
+ batchName?: string | undefined;
7256
+ /**
7257
+ * <p>A client token used to deduplicate retry requests and prevent duplicate batches from being created.</p>
7258
+ * @public
7259
+ */
7260
+ requestId?: string | undefined;
7261
+ /**
7262
+ * <p>AWS tags to associate with the batch resource. These tags are not inherited by individual runs. To tag individual runs, use <code>defaultRunSetting.runTags</code>.</p>
7263
+ * @public
7264
+ */
7265
+ tags?: Record<string, string> | undefined;
7266
+ /**
7267
+ * <p>Shared configuration applied to all runs in the batch. See <code>DefaultRunSetting</code>.</p>
7268
+ * @public
7269
+ */
7270
+ defaultRunSetting: DefaultRunSetting | undefined;
7271
+ /**
7272
+ * <p>The individual run configurations. Specify exactly one of <code>inlineSettings</code> or <code>s3UriSettings</code>. See <code>BatchRunSettings</code>.</p>
7273
+ * @public
7274
+ */
7275
+ batchRunSettings: BatchRunSettings | undefined;
7276
+ }
7277
+ /**
7278
+ * @public
7279
+ */
7280
+ export interface StartRunBatchResponse {
7281
+ /**
7282
+ * <p>The identifier portion of the run batch ARN.</p>
7283
+ * @public
7284
+ */
7285
+ id?: string | undefined;
7286
+ /**
7287
+ * <p>The unique ARN of the run batch.</p>
7288
+ * @public
7289
+ */
7290
+ arn?: string | undefined;
7291
+ /**
7292
+ * <p>The initial status of the run batch.</p>
7293
+ * @public
7294
+ */
7295
+ status?: BatchStatus | undefined;
7296
+ /**
7297
+ * <p>The universally unique identifier (UUID) for the run batch.</p>
7298
+ * @public
7299
+ */
7300
+ uuid?: string | undefined;
7301
+ /**
7302
+ * <p>AWS tags associated with the run batch.</p>
7303
+ * @public
7304
+ */
7305
+ tags?: Record<string, string> | undefined;
7306
+ }
6661
7307
  /**
6662
7308
  * @public
6663
7309
  */