@aws-sdk/client-omics 3.693.0 → 3.697.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 (43) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +314 -0
  3. package/dist-es/Omics.js +10 -0
  4. package/dist-es/commands/CreateRunCacheCommand.js +22 -0
  5. package/dist-es/commands/DeleteRunCacheCommand.js +22 -0
  6. package/dist-es/commands/GetRunCacheCommand.js +22 -0
  7. package/dist-es/commands/ListRunCachesCommand.js +22 -0
  8. package/dist-es/commands/UpdateRunCacheCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +9 -0
  11. package/dist-es/pagination/ListRunCachesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +208 -0
  14. package/dist-types/Omics.d.ts +36 -0
  15. package/dist-types/OmicsClient.d.ts +7 -2
  16. package/dist-types/commands/CreateRunCacheCommand.d.ts +112 -0
  17. package/dist-types/commands/DeleteRunCacheCommand.d.ts +98 -0
  18. package/dist-types/commands/GetRunCacheCommand.d.ts +107 -0
  19. package/dist-types/commands/GetRunCommand.d.ts +7 -0
  20. package/dist-types/commands/GetRunTaskCommand.d.ts +2 -0
  21. package/dist-types/commands/ListRunCachesCommand.d.ts +107 -0
  22. package/dist-types/commands/ListRunTasksCommand.d.ts +2 -0
  23. package/dist-types/commands/ListRunsCommand.d.ts +4 -0
  24. package/dist-types/commands/StartRunCommand.d.ts +6 -3
  25. package/dist-types/commands/UpdateRunCacheCommand.d.ts +96 -0
  26. package/dist-types/commands/index.d.ts +5 -0
  27. package/dist-types/models/models_0.d.ts +333 -2
  28. package/dist-types/pagination/ListRunCachesPaginator.d.ts +7 -0
  29. package/dist-types/pagination/index.d.ts +1 -0
  30. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  31. package/dist-types/ts3.4/Omics.d.ts +86 -0
  32. package/dist-types/ts3.4/OmicsClient.d.ts +30 -0
  33. package/dist-types/ts3.4/commands/CreateRunCacheCommand.d.ts +50 -0
  34. package/dist-types/ts3.4/commands/DeleteRunCacheCommand.d.ts +45 -0
  35. package/dist-types/ts3.4/commands/GetRunCacheCommand.d.ts +47 -0
  36. package/dist-types/ts3.4/commands/ListRunCachesCommand.d.ts +50 -0
  37. package/dist-types/ts3.4/commands/UpdateRunCacheCommand.d.ts +45 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +77 -0
  40. package/dist-types/ts3.4/pagination/ListRunCachesPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  43. package/package.json +37 -37
@@ -28,6 +28,10 @@ declare const ListRunsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Retrieves a list of runs.</p>
31
+ * <p>HealthOmics stores a fixed number of runs that are available to the console and API. If
32
+ * the ListRuns response doesn't include specific runs that you expected, you can find run logs
33
+ * for all runs in the CloudWatch logs. For more information about viewing the run logs, see <a href="https://docs.aws.amazon.com/omics/latest/dev/cloudwatch-logs.html">CloudWatch logs</a>
34
+ * in the <i>AWS HealthOmics User Guide</i>.</p>
31
35
  * @example
32
36
  * Use a bare-bones client and the command you need to make an API call.
33
37
  * ```javascript
@@ -30,9 +30,10 @@ declare const StartRunCommand_base: {
30
30
  * <p>Starts a workflow run. To duplicate a run, specify the run's ID and a role ARN. The
31
31
  * remaining parameters are copied from the previous run.</p>
32
32
  * <p>StartRun will not support re-run for a workflow that is shared with you.</p>
33
- * <p>The total number of runs in your account is subject to a quota per Region. To avoid
34
- * needing to delete runs manually, you can set the retention mode to <code>REMOVE</code>.
35
- * Runs with this setting are deleted automatically when the run quoata is exceeded.</p>
33
+ * <p>HealthOmics stores a fixed number of runs that are available to the console and API.
34
+ * By default, HealthOmics doesn't any remove any runs. If HealthOmics reaches the maximum
35
+ * number of runs, you must manually remove runs. To have older runs removed automatically,
36
+ * set the retention mode to <code>REMOVE</code>.</p>
36
37
  * <p>By default, the run uses STATIC storage. For STATIC storage, set the <code>storageCapacity</code> field.
37
38
  * You can set the storage type to DYNAMIC. You do not set <code>storageCapacity</code>,
38
39
  * because HealthOmics dynamically scales the storage up or down as required.
@@ -50,6 +51,8 @@ declare const StartRunCommand_base: {
50
51
  * runId: "STRING_VALUE",
51
52
  * roleArn: "STRING_VALUE", // required
52
53
  * name: "STRING_VALUE",
54
+ * cacheId: "STRING_VALUE",
55
+ * cacheBehavior: "STRING_VALUE",
53
56
  * runGroupId: "STRING_VALUE",
54
57
  * priority: Number("int"),
55
58
  * parameters: "DOCUMENT_VALUE",
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateRunCacheRequest } from "../models/models_0";
4
+ import { OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OmicsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateRunCacheCommand}.
14
+ */
15
+ export interface UpdateRunCacheCommandInput extends UpdateRunCacheRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateRunCacheCommand}.
21
+ */
22
+ export interface UpdateRunCacheCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const UpdateRunCacheCommand_base: {
25
+ new (input: UpdateRunCacheCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRunCacheCommandInput, UpdateRunCacheCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateRunCacheCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRunCacheCommandInput, UpdateRunCacheCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update a run cache. </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OmicsClient, UpdateRunCacheCommand } from "@aws-sdk/client-omics"; // ES Modules import
35
+ * // const { OmicsClient, UpdateRunCacheCommand } = require("@aws-sdk/client-omics"); // CommonJS import
36
+ * const client = new OmicsClient(config);
37
+ * const input = { // UpdateRunCacheRequest
38
+ * cacheBehavior: "STRING_VALUE",
39
+ * description: "STRING_VALUE",
40
+ * id: "STRING_VALUE", // required
41
+ * name: "STRING_VALUE",
42
+ * };
43
+ * const command = new UpdateRunCacheCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param UpdateRunCacheCommandInput - {@link UpdateRunCacheCommandInput}
50
+ * @returns {@link UpdateRunCacheCommandOutput}
51
+ * @see {@link UpdateRunCacheCommandInput} for command's `input` shape.
52
+ * @see {@link UpdateRunCacheCommandOutput} for command's `response` shape.
53
+ * @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient access to perform this action.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>The request cannot be applied to the target resource in its current state.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>An unexpected error occurred. Try the request again.</p>
63
+ *
64
+ * @throws {@link RequestTimeoutException} (client fault)
65
+ * <p>The request timed out.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The target resource was not found in the current Region.</p>
69
+ *
70
+ * @throws {@link ServiceQuotaExceededException} (client fault)
71
+ * <p>The request exceeds a service quota.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request was denied due to request throttling.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
78
+ *
79
+ * @throws {@link OmicsServiceException}
80
+ * <p>Base exception class for all service exceptions from Omics service.</p>
81
+ *
82
+ * @public
83
+ */
84
+ export declare class UpdateRunCacheCommand extends UpdateRunCacheCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: UpdateRunCacheRequest;
89
+ output: {};
90
+ };
91
+ sdk: {
92
+ input: UpdateRunCacheCommandInput;
93
+ output: UpdateRunCacheCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -9,6 +9,7 @@ export * from "./CreateAnnotationStoreCommand";
9
9
  export * from "./CreateAnnotationStoreVersionCommand";
10
10
  export * from "./CreateMultipartReadSetUploadCommand";
11
11
  export * from "./CreateReferenceStoreCommand";
12
+ export * from "./CreateRunCacheCommand";
12
13
  export * from "./CreateRunGroupCommand";
13
14
  export * from "./CreateSequenceStoreCommand";
14
15
  export * from "./CreateShareCommand";
@@ -18,6 +19,7 @@ export * from "./DeleteAnnotationStoreCommand";
18
19
  export * from "./DeleteAnnotationStoreVersionsCommand";
19
20
  export * from "./DeleteReferenceCommand";
20
21
  export * from "./DeleteReferenceStoreCommand";
22
+ export * from "./DeleteRunCacheCommand";
21
23
  export * from "./DeleteRunCommand";
22
24
  export * from "./DeleteRunGroupCommand";
23
25
  export * from "./DeleteSequenceStoreCommand";
@@ -36,6 +38,7 @@ export * from "./GetReferenceCommand";
36
38
  export * from "./GetReferenceImportJobCommand";
37
39
  export * from "./GetReferenceMetadataCommand";
38
40
  export * from "./GetReferenceStoreCommand";
41
+ export * from "./GetRunCacheCommand";
39
42
  export * from "./GetRunCommand";
40
43
  export * from "./GetRunGroupCommand";
41
44
  export * from "./GetRunTaskCommand";
@@ -56,6 +59,7 @@ export * from "./ListReadSetsCommand";
56
59
  export * from "./ListReferenceImportJobsCommand";
57
60
  export * from "./ListReferenceStoresCommand";
58
61
  export * from "./ListReferencesCommand";
62
+ export * from "./ListRunCachesCommand";
59
63
  export * from "./ListRunGroupsCommand";
60
64
  export * from "./ListRunTasksCommand";
61
65
  export * from "./ListRunsCommand";
@@ -76,6 +80,7 @@ export * from "./TagResourceCommand";
76
80
  export * from "./UntagResourceCommand";
77
81
  export * from "./UpdateAnnotationStoreCommand";
78
82
  export * from "./UpdateAnnotationStoreVersionCommand";
83
+ export * from "./UpdateRunCacheCommand";
79
84
  export * from "./UpdateRunGroupCommand";
80
85
  export * from "./UpdateVariantStoreCommand";
81
86
  export * from "./UpdateWorkflowCommand";
@@ -2037,6 +2037,18 @@ export interface BatchDeleteReadSetResponse {
2037
2037
  */
2038
2038
  errors?: ReadSetBatchError[] | undefined;
2039
2039
  }
2040
+ /**
2041
+ * @public
2042
+ * @enum
2043
+ */
2044
+ export declare const CacheBehavior: {
2045
+ readonly CACHE_ALWAYS: "CACHE_ALWAYS";
2046
+ readonly CACHE_ON_FAILURE: "CACHE_ON_FAILURE";
2047
+ };
2048
+ /**
2049
+ * @public
2050
+ */
2051
+ export type CacheBehavior = (typeof CacheBehavior)[keyof typeof CacheBehavior];
2040
2052
  /**
2041
2053
  * @public
2042
2054
  */
@@ -2327,6 +2339,98 @@ export interface CreateReferenceStoreResponse {
2327
2339
  */
2328
2340
  creationTime: Date | undefined;
2329
2341
  }
2342
+ /**
2343
+ * @public
2344
+ */
2345
+ export interface CreateRunCacheRequest {
2346
+ /**
2347
+ * <p>Default cache behavior for runs that use this cache. Supported values are:</p>
2348
+ * <p>
2349
+ * <code>CACHE_ON_FAILURE</code>: Caches task outputs from completed tasks for runs that fail. This setting is
2350
+ * useful if you're debugging a workflow that fails after several
2351
+ * tasks completed successfully. The subsequent run uses the cache outputs for previously-completed tasks if the task definition,
2352
+ * inputs, and container in ECR are identical to the prior run.</p>
2353
+ * <p>
2354
+ * <code>CACHE_ALWAYS</code>: Caches task outputs from completed tasks for all runs. This setting
2355
+ * is useful in development mode, but do not use it in a production setting.</p>
2356
+ * <p>If you don't specify a value, the default behavior is CACHE_ON_FAILURE.
2357
+ * When you start a run that uses this cache, you can override the default cache behavior.</p>
2358
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html#run-cache-behavior">Run cache behavior</a> in the AWS HealthOmics User Guide.</p>
2359
+ * @public
2360
+ */
2361
+ cacheBehavior?: CacheBehavior | undefined;
2362
+ /**
2363
+ * <p>Specify the S3 location for storing the cached task outputs.
2364
+ * This data must be immediately accessible (not in an archived state).</p>
2365
+ * @public
2366
+ */
2367
+ cacheS3Location: string | undefined;
2368
+ /**
2369
+ * <p>Enter a description of the run cache.</p>
2370
+ * @public
2371
+ */
2372
+ description?: string | undefined;
2373
+ /**
2374
+ * <p>Enter a user-friendly name for the run cache.</p>
2375
+ * @public
2376
+ */
2377
+ name?: string | undefined;
2378
+ /**
2379
+ * <p>A unique request token, to ensure idempotency. If you don't specify a token,
2380
+ * HealthOmics automatically generates a universally unique identifier (UUID) for the request.</p>
2381
+ * @public
2382
+ */
2383
+ requestId?: string | undefined;
2384
+ /**
2385
+ * <p>Specify one or more tags to associate with this run cache.</p>
2386
+ * @public
2387
+ */
2388
+ tags?: Record<string, string> | undefined;
2389
+ /**
2390
+ * <p>The AWS account ID of the expected owner of the S3 bucket for the run cache.
2391
+ * If not provided, your account ID is set as the owner of the bucket.</p>
2392
+ * @public
2393
+ */
2394
+ cacheBucketOwnerId?: string | undefined;
2395
+ }
2396
+ /**
2397
+ * @public
2398
+ * @enum
2399
+ */
2400
+ export declare const RunCacheStatus: {
2401
+ readonly ACTIVE: "ACTIVE";
2402
+ readonly DELETED: "DELETED";
2403
+ readonly FAILED: "FAILED";
2404
+ };
2405
+ /**
2406
+ * @public
2407
+ */
2408
+ export type RunCacheStatus = (typeof RunCacheStatus)[keyof typeof RunCacheStatus];
2409
+ /**
2410
+ * @public
2411
+ */
2412
+ export interface CreateRunCacheResponse {
2413
+ /**
2414
+ * <p>Unique resource identifier for the run cache.</p>
2415
+ * @public
2416
+ */
2417
+ arn?: string | undefined;
2418
+ /**
2419
+ * <p>Identifier for the run cache.</p>
2420
+ * @public
2421
+ */
2422
+ id?: string | undefined;
2423
+ /**
2424
+ * <p>Run cache status.</p>
2425
+ * @public
2426
+ */
2427
+ status?: RunCacheStatus | undefined;
2428
+ /**
2429
+ * <p>The tags associated with this run cache.</p>
2430
+ * @public
2431
+ */
2432
+ tags?: Record<string, string> | undefined;
2433
+ }
2330
2434
  /**
2331
2435
  * @public
2332
2436
  */
@@ -2775,6 +2879,16 @@ export interface DeleteRunRequest {
2775
2879
  */
2776
2880
  id: string | undefined;
2777
2881
  }
2882
+ /**
2883
+ * @public
2884
+ */
2885
+ export interface DeleteRunCacheRequest {
2886
+ /**
2887
+ * <p>Run cache identifier for the cache you want to delete.</p>
2888
+ * @public
2889
+ */
2890
+ id: string | undefined;
2891
+ }
2778
2892
  /**
2779
2893
  * @public
2780
2894
  */
@@ -4089,6 +4203,21 @@ export interface GetRunResponse {
4089
4203
  * @public
4090
4204
  */
4091
4205
  id?: string | undefined;
4206
+ /**
4207
+ * <p>The run cache associated with the run.</p>
4208
+ * @public
4209
+ */
4210
+ cacheId?: string | undefined;
4211
+ /**
4212
+ * <p>The run cache behavior for the run.</p>
4213
+ * @public
4214
+ */
4215
+ cacheBehavior?: CacheBehavior | undefined;
4216
+ /**
4217
+ * <p>The workflow engine version.</p>
4218
+ * @public
4219
+ */
4220
+ engineVersion?: string | undefined;
4092
4221
  /**
4093
4222
  * <p>The run's status.</p>
4094
4223
  * @public
@@ -4237,6 +4366,71 @@ export interface GetRunResponse {
4237
4366
  */
4238
4367
  workflowOwnerId?: string | undefined;
4239
4368
  }
4369
+ /**
4370
+ * @public
4371
+ */
4372
+ export interface GetRunCacheRequest {
4373
+ /**
4374
+ * <p>The identifier of the run cache to retrieve.</p>
4375
+ * @public
4376
+ */
4377
+ id: string | undefined;
4378
+ }
4379
+ /**
4380
+ * @public
4381
+ */
4382
+ export interface GetRunCacheResponse {
4383
+ /**
4384
+ * <p>Unique resource identifier for the run cache.</p>
4385
+ * @public
4386
+ */
4387
+ arn?: string | undefined;
4388
+ /**
4389
+ * <p>The default cache behavior for runs using this cache.</p>
4390
+ * @public
4391
+ */
4392
+ cacheBehavior?: CacheBehavior | undefined;
4393
+ /**
4394
+ * <p>The identifier of the bucket owner.</p>
4395
+ * @public
4396
+ */
4397
+ cacheBucketOwnerId?: string | undefined;
4398
+ /**
4399
+ * <p>The S3 URI where the cache data is stored.</p>
4400
+ * @public
4401
+ */
4402
+ cacheS3Uri?: string | undefined;
4403
+ /**
4404
+ * <p>Creation time of the run cache (an ISO 8601 formatted string).</p>
4405
+ * @public
4406
+ */
4407
+ creationTime?: Date | undefined;
4408
+ /**
4409
+ * <p>The run cache description.</p>
4410
+ * @public
4411
+ */
4412
+ description?: string | undefined;
4413
+ /**
4414
+ * <p>The run cache ID.</p>
4415
+ * @public
4416
+ */
4417
+ id?: string | undefined;
4418
+ /**
4419
+ * <p>The run cache name.</p>
4420
+ * @public
4421
+ */
4422
+ name?: string | undefined;
4423
+ /**
4424
+ * <p>The run cache status.</p>
4425
+ * @public
4426
+ */
4427
+ status?: RunCacheStatus | undefined;
4428
+ /**
4429
+ * <p>The tags associated with the run cache.</p>
4430
+ * @public
4431
+ */
4432
+ tags?: Record<string, string> | undefined;
4433
+ }
4240
4434
  /**
4241
4435
  * @public
4242
4436
  */
@@ -4353,6 +4547,16 @@ export interface GetRunTaskResponse {
4353
4547
  * @public
4354
4548
  */
4355
4549
  cpus?: number | undefined;
4550
+ /**
4551
+ * <p>Set to true if AWS HealthOmics found a matching entry in the run cache for this task.</p>
4552
+ * @public
4553
+ */
4554
+ cacheHit?: boolean | undefined;
4555
+ /**
4556
+ * <p>The S3 URI of the cache location.</p>
4557
+ * @public
4558
+ */
4559
+ cacheS3Uri?: string | undefined;
4356
4560
  /**
4357
4561
  * <p>The task's memory use in gigabytes.</p>
4358
4562
  * @public
@@ -5756,6 +5960,78 @@ export interface ListReferenceStoresResponse {
5756
5960
  */
5757
5961
  referenceStores: ReferenceStoreDetail[] | undefined;
5758
5962
  }
5963
+ /**
5964
+ * @public
5965
+ */
5966
+ export interface ListRunCachesRequest {
5967
+ /**
5968
+ * <p>The maximum number of results to return.</p>
5969
+ * @public
5970
+ */
5971
+ maxResults?: number | undefined;
5972
+ /**
5973
+ * <p>Optional pagination token returned from a prior call to the <code>ListRunCaches</code> API operation.</p>
5974
+ * @public
5975
+ */
5976
+ startingToken?: string | undefined;
5977
+ }
5978
+ /**
5979
+ * <p>List entry for one run cache.</p>
5980
+ * @public
5981
+ */
5982
+ export interface RunCacheListItem {
5983
+ /**
5984
+ * <p>Unique resource identifier for the run cache.</p>
5985
+ * @public
5986
+ */
5987
+ arn?: string | undefined;
5988
+ /**
5989
+ * <p>Default cache behavior for the run cache.</p>
5990
+ * @public
5991
+ */
5992
+ cacheBehavior?: CacheBehavior | undefined;
5993
+ /**
5994
+ * <p>The S3 uri for the run cache data.</p>
5995
+ * @public
5996
+ */
5997
+ cacheS3Uri?: string | undefined;
5998
+ /**
5999
+ * <p>The time that this run cache was created (an ISO 8601 formatted string).</p>
6000
+ * @public
6001
+ */
6002
+ creationTime?: Date | undefined;
6003
+ /**
6004
+ * <p>The identifier for this run cache.</p>
6005
+ * @public
6006
+ */
6007
+ id?: string | undefined;
6008
+ /**
6009
+ * <p>The name of the run cache.</p>
6010
+ * @public
6011
+ */
6012
+ name?: string | undefined;
6013
+ /**
6014
+ * <p>The run cache status.</p>
6015
+ * @public
6016
+ */
6017
+ status?: RunCacheStatus | undefined;
6018
+ }
6019
+ /**
6020
+ * @public
6021
+ */
6022
+ export interface ListRunCachesResponse {
6023
+ /**
6024
+ * <p>Details about each run cache in the response.</p>
6025
+ * @public
6026
+ */
6027
+ items?: RunCacheListItem[] | undefined;
6028
+ /**
6029
+ * <p>Pagination token to retrieve additional run caches. If the response does not have a
6030
+ * <code>nextToken</code>value, you have reached to the end of the list.</p>
6031
+ * @public
6032
+ */
6033
+ nextToken?: string | undefined;
6034
+ }
5759
6035
  /**
5760
6036
  * @public
5761
6037
  */
@@ -5997,6 +6273,16 @@ export interface TaskListItem {
5997
6273
  * @public
5998
6274
  */
5999
6275
  cpus?: number | undefined;
6276
+ /**
6277
+ * <p>Set to true if AWS HealthOmics found a matching entry in the run cache for this task.</p>
6278
+ * @public
6279
+ */
6280
+ cacheHit?: boolean | undefined;
6281
+ /**
6282
+ * <p>The S3 URI of the cache location.</p>
6283
+ * @public
6284
+ */
6285
+ cacheS3Uri?: string | undefined;
6000
6286
  /**
6001
6287
  * <p>The task's memory use in gigabyes.</p>
6002
6288
  * @public
@@ -6620,6 +6906,31 @@ export interface StartReferenceImportJobResponse {
6620
6906
  */
6621
6907
  creationTime: Date | undefined;
6622
6908
  }
6909
+ /**
6910
+ * @public
6911
+ */
6912
+ export interface UpdateRunCacheRequest {
6913
+ /**
6914
+ * <p>Update the default run cache behavior.</p>
6915
+ * @public
6916
+ */
6917
+ cacheBehavior?: CacheBehavior | undefined;
6918
+ /**
6919
+ * <p>Update the run cache description.</p>
6920
+ * @public
6921
+ */
6922
+ description?: string | undefined;
6923
+ /**
6924
+ * <p>The identifier of the run cache you want to update.</p>
6925
+ * @public
6926
+ */
6927
+ id: string | undefined;
6928
+ /**
6929
+ * <p>Update the name of the run cache.</p>
6930
+ * @public
6931
+ */
6932
+ name?: string | undefined;
6933
+ }
6623
6934
  /**
6624
6935
  * @public
6625
6936
  */
@@ -6684,6 +6995,19 @@ export interface StartRunRequest {
6684
6995
  * @public
6685
6996
  */
6686
6997
  name?: string | undefined;
6998
+ /**
6999
+ * <p>Identifier of the cache associated with this run. If you don't specify a cache ID, no task outputs are cached
7000
+ * for this run.</p>
7001
+ * @public
7002
+ */
7003
+ cacheId?: string | undefined;
7004
+ /**
7005
+ * <p>The cache behavior for the run. You specify this value if you want to override
7006
+ * the default behavior for the cache. You had set the default value when you created the cache.
7007
+ * For more information, see <a href="https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html#run-cache-behavior">Run cache behavior</a> in the AWS HealthOmics User Guide.</p>
7008
+ * @public
7009
+ */
7010
+ cacheBehavior?: CacheBehavior | undefined;
6687
7011
  /**
6688
7012
  * <p>The run's group ID.</p>
6689
7013
  * @public
@@ -6726,7 +7050,14 @@ export interface StartRunRequest {
6726
7050
  */
6727
7051
  requestId?: string | undefined;
6728
7052
  /**
6729
- * <p>The retention mode for the run.</p>
7053
+ * <p>The retention mode for the run. The default value is RETAIN. </p>
7054
+ * <p>HealthOmics stores a fixed number of runs that are available to the console and API.
7055
+ * In the default mode (RETAIN), you need to remove runs manually when the number of run exceeds the maximum.
7056
+ * If you set the retention mode to <code>REMOVE</code>, HealthOmics automatically
7057
+ * removes runs (that have mode set to REMOVE) when the number of run exceeds the maximum.
7058
+ * All run logs are available in CloudWatch logs, if you need information about a run that is no longer available to the API.</p>
7059
+ * <p>For more information about retention mode, see <a href="https://docs.aws.amazon.com/omics/latest/dev/starting-a-run.html">Specifying run retention mode</a>
7060
+ * in the <i>AWS HealthOmics User Guide</i>.</p>
6730
7061
  * @public
6731
7062
  */
6732
7063
  retentionMode?: RunRetentionMode | undefined;
@@ -6748,7 +7079,7 @@ export interface StartRunRequest {
6748
7079
  */
6749
7080
  export interface StartRunResponse {
6750
7081
  /**
6751
- * <p>The run's ARN.</p>
7082
+ * <p>Unique resource identifier for the run.</p>
6752
7083
  * @public
6753
7084
  */
6754
7085
  arn?: string | undefined;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListRunCachesCommandInput, ListRunCachesCommandOutput } from "../commands/ListRunCachesCommand";
3
+ import { OmicsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListRunCaches: (config: OmicsPaginationConfiguration, input: ListRunCachesCommandInput, ...rest: any[]) => Paginator<ListRunCachesCommandOutput>;
@@ -11,6 +11,7 @@ export * from "./ListReadSetsPaginator";
11
11
  export * from "./ListReferenceImportJobsPaginator";
12
12
  export * from "./ListReferenceStoresPaginator";
13
13
  export * from "./ListReferencesPaginator";
14
+ export * from "./ListRunCachesPaginator";
14
15
  export * from "./ListRunGroupsPaginator";
15
16
  export * from "./ListRunTasksPaginator";
16
17
  export * from "./ListRunsPaginator";