@aws-sdk/client-omics 3.696.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 +1 -1
package/README.md CHANGED
@@ -291,6 +291,14 @@ CreateReferenceStore
291
291
 
292
292
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/omics/command/CreateReferenceStoreCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/CreateReferenceStoreCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/CreateReferenceStoreCommandOutput/)
293
293
 
294
+ </details>
295
+ <details>
296
+ <summary>
297
+ CreateRunCache
298
+ </summary>
299
+
300
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/omics/command/CreateRunCacheCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/CreateRunCacheCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/CreateRunCacheCommandOutput/)
301
+
294
302
  </details>
295
303
  <details>
296
304
  <summary>
@@ -371,6 +379,14 @@ DeleteRun
371
379
 
372
380
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/omics/command/DeleteRunCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/DeleteRunCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/DeleteRunCommandOutput/)
373
381
 
382
+ </details>
383
+ <details>
384
+ <summary>
385
+ DeleteRunCache
386
+ </summary>
387
+
388
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/omics/command/DeleteRunCacheCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/DeleteRunCacheCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/DeleteRunCacheCommandOutput/)
389
+
374
390
  </details>
375
391
  <details>
376
392
  <summary>
@@ -515,6 +531,14 @@ GetRun
515
531
 
516
532
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/omics/command/GetRunCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/GetRunCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/GetRunCommandOutput/)
517
533
 
534
+ </details>
535
+ <details>
536
+ <summary>
537
+ GetRunCache
538
+ </summary>
539
+
540
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/omics/command/GetRunCacheCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/GetRunCacheCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/GetRunCacheCommandOutput/)
541
+
518
542
  </details>
519
543
  <details>
520
544
  <summary>
@@ -667,6 +691,14 @@ ListReferenceStores
667
691
 
668
692
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/omics/command/ListReferenceStoresCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/ListReferenceStoresCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/ListReferenceStoresCommandOutput/)
669
693
 
694
+ </details>
695
+ <details>
696
+ <summary>
697
+ ListRunCaches
698
+ </summary>
699
+
700
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/omics/command/ListRunCachesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/ListRunCachesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/ListRunCachesCommandOutput/)
701
+
670
702
  </details>
671
703
  <details>
672
704
  <summary>
@@ -827,6 +859,14 @@ UpdateAnnotationStoreVersion
827
859
 
828
860
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/omics/command/UpdateAnnotationStoreVersionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/UpdateAnnotationStoreVersionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/UpdateAnnotationStoreVersionCommandOutput/)
829
861
 
862
+ </details>
863
+ <details>
864
+ <summary>
865
+ UpdateRunCache
866
+ </summary>
867
+
868
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/omics/command/UpdateRunCacheCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/UpdateRunCacheCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-omics/Interface/UpdateRunCacheCommandOutput/)
869
+
830
870
  </details>
831
871
  <details>
832
872
  <summary>
package/dist-cjs/index.js CHANGED
@@ -27,6 +27,7 @@ __export(src_exports, {
27
27
  AccessDeniedException: () => AccessDeniedException,
28
28
  AnnotationType: () => AnnotationType,
29
29
  BatchDeleteReadSetCommand: () => BatchDeleteReadSetCommand,
30
+ CacheBehavior: () => CacheBehavior,
30
31
  CancelAnnotationImportJobCommand: () => CancelAnnotationImportJobCommand,
31
32
  CancelRunCommand: () => CancelRunCommand,
32
33
  CancelVariantImportJobCommand: () => CancelVariantImportJobCommand,
@@ -36,6 +37,7 @@ __export(src_exports, {
36
37
  CreateAnnotationStoreVersionCommand: () => CreateAnnotationStoreVersionCommand,
37
38
  CreateMultipartReadSetUploadCommand: () => CreateMultipartReadSetUploadCommand,
38
39
  CreateReferenceStoreCommand: () => CreateReferenceStoreCommand,
40
+ CreateRunCacheCommand: () => CreateRunCacheCommand,
39
41
  CreateRunGroupCommand: () => CreateRunGroupCommand,
40
42
  CreateSequenceStoreCommand: () => CreateSequenceStoreCommand,
41
43
  CreateShareCommand: () => CreateShareCommand,
@@ -46,6 +48,7 @@ __export(src_exports, {
46
48
  DeleteAnnotationStoreVersionsCommand: () => DeleteAnnotationStoreVersionsCommand,
47
49
  DeleteReferenceCommand: () => DeleteReferenceCommand,
48
50
  DeleteReferenceStoreCommand: () => DeleteReferenceStoreCommand,
51
+ DeleteRunCacheCommand: () => DeleteRunCacheCommand,
49
52
  DeleteRunCommand: () => DeleteRunCommand,
50
53
  DeleteRunGroupCommand: () => DeleteRunGroupCommand,
51
54
  DeleteSequenceStoreCommand: () => DeleteSequenceStoreCommand,
@@ -72,6 +75,7 @@ __export(src_exports, {
72
75
  GetReferenceMetadataCommand: () => GetReferenceMetadataCommand,
73
76
  GetReferenceResponseFilterSensitiveLog: () => GetReferenceResponseFilterSensitiveLog,
74
77
  GetReferenceStoreCommand: () => GetReferenceStoreCommand,
78
+ GetRunCacheCommand: () => GetRunCacheCommand,
75
79
  GetRunCommand: () => GetRunCommand,
76
80
  GetRunGroupCommand: () => GetRunGroupCommand,
77
81
  GetRunTaskCommand: () => GetRunTaskCommand,
@@ -94,6 +98,7 @@ __export(src_exports, {
94
98
  ListReferenceImportJobsCommand: () => ListReferenceImportJobsCommand,
95
99
  ListReferenceStoresCommand: () => ListReferenceStoresCommand,
96
100
  ListReferencesCommand: () => ListReferencesCommand,
101
+ ListRunCachesCommand: () => ListRunCachesCommand,
97
102
  ListRunGroupsCommand: () => ListRunGroupsCommand,
98
103
  ListRunTasksCommand: () => ListRunTasksCommand,
99
104
  ListRunsCommand: () => ListRunsCommand,
@@ -126,6 +131,7 @@ __export(src_exports, {
126
131
  RequestTimeoutException: () => RequestTimeoutException,
127
132
  ResourceNotFoundException: () => ResourceNotFoundException,
128
133
  ResourceOwner: () => ResourceOwner,
134
+ RunCacheStatus: () => RunCacheStatus,
129
135
  RunExport: () => RunExport,
130
136
  RunLogLevel: () => RunLogLevel,
131
137
  RunRetentionMode: () => RunRetentionMode,
@@ -151,6 +157,7 @@ __export(src_exports, {
151
157
  UntagResourceCommand: () => UntagResourceCommand,
152
158
  UpdateAnnotationStoreCommand: () => UpdateAnnotationStoreCommand,
153
159
  UpdateAnnotationStoreVersionCommand: () => UpdateAnnotationStoreVersionCommand,
160
+ UpdateRunCacheCommand: () => UpdateRunCacheCommand,
154
161
  UpdateRunGroupCommand: () => UpdateRunGroupCommand,
155
162
  UpdateVariantStoreCommand: () => UpdateVariantStoreCommand,
156
163
  UpdateWorkflowCommand: () => UpdateWorkflowCommand,
@@ -176,6 +183,7 @@ __export(src_exports, {
176
183
  paginateListReferenceImportJobs: () => paginateListReferenceImportJobs,
177
184
  paginateListReferenceStores: () => paginateListReferenceStores,
178
185
  paginateListReferences: () => paginateListReferences,
186
+ paginateListRunCaches: () => paginateListRunCaches,
179
187
  paginateListRunGroups: () => paginateListRunGroups,
180
188
  paginateListRunTasks: () => paginateListRunTasks,
181
189
  paginateListRuns: () => paginateListRuns,
@@ -777,6 +785,10 @@ var VersionStatus = {
777
785
  */
778
786
  UPDATING: "UPDATING"
779
787
  };
788
+ var CacheBehavior = {
789
+ CACHE_ALWAYS: "CACHE_ALWAYS",
790
+ CACHE_ON_FAILURE: "CACHE_ON_FAILURE"
791
+ };
780
792
  var ReadSetPartSource = {
781
793
  SOURCE1: "SOURCE1",
782
794
  SOURCE2: "SOURCE2"
@@ -787,6 +799,11 @@ var FileType = {
787
799
  FASTQ: "FASTQ",
788
800
  UBAM: "UBAM"
789
801
  };
802
+ var RunCacheStatus = {
803
+ ACTIVE: "ACTIVE",
804
+ DELETED: "DELETED",
805
+ FAILED: "FAILED"
806
+ };
790
807
  var ETagAlgorithmFamily = {
791
808
  MD5UP: "MD5up",
792
809
  SHA256UP: "SHA256up",
@@ -1238,6 +1255,35 @@ var se_CreateReferenceStoreCommand = /* @__PURE__ */ __name(async (input, contex
1238
1255
  b.m("POST").h(headers).b(body);
1239
1256
  return b.build();
1240
1257
  }, "se_CreateReferenceStoreCommand");
1258
+ var se_CreateRunCacheCommand = /* @__PURE__ */ __name(async (input, context) => {
1259
+ const b = (0, import_core.requestBuilder)(input, context);
1260
+ const headers = {
1261
+ "content-type": "application/json"
1262
+ };
1263
+ b.bp("/runCache");
1264
+ let body;
1265
+ body = JSON.stringify(
1266
+ (0, import_smithy_client.take)(input, {
1267
+ cacheBehavior: [],
1268
+ cacheBucketOwnerId: [],
1269
+ cacheS3Location: [],
1270
+ description: [],
1271
+ name: [],
1272
+ requestId: [true, (_) => _ ?? (0, import_uuid.v4)()],
1273
+ tags: (_) => (0, import_smithy_client._json)(_)
1274
+ })
1275
+ );
1276
+ let { hostname: resolvedHostname } = await context.endpoint();
1277
+ if (context.disableHostPrefix !== true) {
1278
+ resolvedHostname = "workflows-" + resolvedHostname;
1279
+ if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
1280
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1281
+ }
1282
+ }
1283
+ b.hn(resolvedHostname);
1284
+ b.m("POST").h(headers).b(body);
1285
+ return b.build();
1286
+ }, "se_CreateRunCacheCommand");
1241
1287
  var se_CreateRunGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
1242
1288
  const b = (0, import_core.requestBuilder)(input, context);
1243
1289
  const headers = {
@@ -1480,6 +1526,23 @@ var se_DeleteRunCommand = /* @__PURE__ */ __name(async (input, context) => {
1480
1526
  b.m("DELETE").h(headers).b(body);
1481
1527
  return b.build();
1482
1528
  }, "se_DeleteRunCommand");
1529
+ var se_DeleteRunCacheCommand = /* @__PURE__ */ __name(async (input, context) => {
1530
+ const b = (0, import_core.requestBuilder)(input, context);
1531
+ const headers = {};
1532
+ b.bp("/runCache/{id}");
1533
+ b.p("id", () => input.id, "{id}", false);
1534
+ let body;
1535
+ let { hostname: resolvedHostname } = await context.endpoint();
1536
+ if (context.disableHostPrefix !== true) {
1537
+ resolvedHostname = "workflows-" + resolvedHostname;
1538
+ if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
1539
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1540
+ }
1541
+ }
1542
+ b.hn(resolvedHostname);
1543
+ b.m("DELETE").h(headers).b(body);
1544
+ return b.build();
1545
+ }, "se_DeleteRunCacheCommand");
1483
1546
  var se_DeleteRunGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
1484
1547
  const b = (0, import_core.requestBuilder)(input, context);
1485
1548
  const headers = {};
@@ -1811,6 +1874,23 @@ var se_GetRunCommand = /* @__PURE__ */ __name(async (input, context) => {
1811
1874
  b.m("GET").h(headers).q(query).b(body);
1812
1875
  return b.build();
1813
1876
  }, "se_GetRunCommand");
1877
+ var se_GetRunCacheCommand = /* @__PURE__ */ __name(async (input, context) => {
1878
+ const b = (0, import_core.requestBuilder)(input, context);
1879
+ const headers = {};
1880
+ b.bp("/runCache/{id}");
1881
+ b.p("id", () => input.id, "{id}", false);
1882
+ let body;
1883
+ let { hostname: resolvedHostname } = await context.endpoint();
1884
+ if (context.disableHostPrefix !== true) {
1885
+ resolvedHostname = "workflows-" + resolvedHostname;
1886
+ if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
1887
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1888
+ }
1889
+ }
1890
+ b.hn(resolvedHostname);
1891
+ b.m("GET").h(headers).b(body);
1892
+ return b.build();
1893
+ }, "se_GetRunCacheCommand");
1814
1894
  var se_GetRunGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
1815
1895
  const b = (0, import_core.requestBuilder)(input, context);
1816
1896
  const headers = {};
@@ -2266,6 +2346,26 @@ var se_ListReferenceStoresCommand = /* @__PURE__ */ __name(async (input, context
2266
2346
  b.m("POST").h(headers).q(query).b(body);
2267
2347
  return b.build();
2268
2348
  }, "se_ListReferenceStoresCommand");
2349
+ var se_ListRunCachesCommand = /* @__PURE__ */ __name(async (input, context) => {
2350
+ const b = (0, import_core.requestBuilder)(input, context);
2351
+ const headers = {};
2352
+ b.bp("/runCache");
2353
+ const query = (0, import_smithy_client.map)({
2354
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
2355
+ [_sT]: [, input[_sT]]
2356
+ });
2357
+ let body;
2358
+ let { hostname: resolvedHostname } = await context.endpoint();
2359
+ if (context.disableHostPrefix !== true) {
2360
+ resolvedHostname = "workflows-" + resolvedHostname;
2361
+ if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
2362
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2363
+ }
2364
+ }
2365
+ b.hn(resolvedHostname);
2366
+ b.m("GET").h(headers).q(query).b(body);
2367
+ return b.build();
2368
+ }, "se_ListRunCachesCommand");
2269
2369
  var se_ListRunGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
2270
2370
  const b = (0, import_core.requestBuilder)(input, context);
2271
2371
  const headers = {};
@@ -2624,6 +2724,8 @@ var se_StartRunCommand = /* @__PURE__ */ __name(async (input, context) => {
2624
2724
  let body;
2625
2725
  body = JSON.stringify(
2626
2726
  (0, import_smithy_client.take)(input, {
2727
+ cacheBehavior: [],
2728
+ cacheId: [],
2627
2729
  logLevel: [],
2628
2730
  name: [],
2629
2731
  outputUri: [],
@@ -2773,6 +2875,32 @@ var se_UpdateAnnotationStoreVersionCommand = /* @__PURE__ */ __name(async (input
2773
2875
  b.m("POST").h(headers).b(body);
2774
2876
  return b.build();
2775
2877
  }, "se_UpdateAnnotationStoreVersionCommand");
2878
+ var se_UpdateRunCacheCommand = /* @__PURE__ */ __name(async (input, context) => {
2879
+ const b = (0, import_core.requestBuilder)(input, context);
2880
+ const headers = {
2881
+ "content-type": "application/json"
2882
+ };
2883
+ b.bp("/runCache/{id}");
2884
+ b.p("id", () => input.id, "{id}", false);
2885
+ let body;
2886
+ body = JSON.stringify(
2887
+ (0, import_smithy_client.take)(input, {
2888
+ cacheBehavior: [],
2889
+ description: [],
2890
+ name: []
2891
+ })
2892
+ );
2893
+ let { hostname: resolvedHostname } = await context.endpoint();
2894
+ if (context.disableHostPrefix !== true) {
2895
+ resolvedHostname = "workflows-" + resolvedHostname;
2896
+ if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
2897
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2898
+ }
2899
+ }
2900
+ b.hn(resolvedHostname);
2901
+ b.m("POST").h(headers).b(body);
2902
+ return b.build();
2903
+ }, "se_UpdateRunCacheCommand");
2776
2904
  var se_UpdateRunGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
2777
2905
  const b = (0, import_core.requestBuilder)(input, context);
2778
2906
  const headers = {
@@ -3044,6 +3172,23 @@ var de_CreateReferenceStoreCommand = /* @__PURE__ */ __name(async (output, conte
3044
3172
  Object.assign(contents, doc);
3045
3173
  return contents;
3046
3174
  }, "de_CreateReferenceStoreCommand");
3175
+ var de_CreateRunCacheCommand = /* @__PURE__ */ __name(async (output, context) => {
3176
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
3177
+ return de_CommandError(output, context);
3178
+ }
3179
+ const contents = (0, import_smithy_client.map)({
3180
+ $metadata: deserializeMetadata(output)
3181
+ });
3182
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3183
+ const doc = (0, import_smithy_client.take)(data, {
3184
+ arn: import_smithy_client.expectString,
3185
+ id: import_smithy_client.expectString,
3186
+ status: import_smithy_client.expectString,
3187
+ tags: import_smithy_client._json
3188
+ });
3189
+ Object.assign(contents, doc);
3190
+ return contents;
3191
+ }, "de_CreateRunCacheCommand");
3047
3192
  var de_CreateRunGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
3048
3193
  if (output.statusCode !== 201 && output.statusCode >= 300) {
3049
3194
  return de_CommandError(output, context);
@@ -3190,6 +3335,16 @@ var de_DeleteRunCommand = /* @__PURE__ */ __name(async (output, context) => {
3190
3335
  await (0, import_smithy_client.collectBody)(output.body, context);
3191
3336
  return contents;
3192
3337
  }, "de_DeleteRunCommand");
3338
+ var de_DeleteRunCacheCommand = /* @__PURE__ */ __name(async (output, context) => {
3339
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
3340
+ return de_CommandError(output, context);
3341
+ }
3342
+ const contents = (0, import_smithy_client.map)({
3343
+ $metadata: deserializeMetadata(output)
3344
+ });
3345
+ await (0, import_smithy_client.collectBody)(output.body, context);
3346
+ return contents;
3347
+ }, "de_DeleteRunCacheCommand");
3193
3348
  var de_DeleteRunGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
3194
3349
  if (output.statusCode !== 202 && output.statusCode >= 300) {
3195
3350
  return de_CommandError(output, context);
@@ -3520,9 +3675,12 @@ var de_GetRunCommand = /* @__PURE__ */ __name(async (output, context) => {
3520
3675
  const doc = (0, import_smithy_client.take)(data, {
3521
3676
  accelerators: import_smithy_client.expectString,
3522
3677
  arn: import_smithy_client.expectString,
3678
+ cacheBehavior: import_smithy_client.expectString,
3679
+ cacheId: import_smithy_client.expectString,
3523
3680
  creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3524
3681
  definition: import_smithy_client.expectString,
3525
3682
  digest: import_smithy_client.expectString,
3683
+ engineVersion: import_smithy_client.expectString,
3526
3684
  failureReason: import_smithy_client.expectString,
3527
3685
  id: import_smithy_client.expectString,
3528
3686
  logLevel: import_smithy_client.expectString,
@@ -3553,6 +3711,29 @@ var de_GetRunCommand = /* @__PURE__ */ __name(async (output, context) => {
3553
3711
  Object.assign(contents, doc);
3554
3712
  return contents;
3555
3713
  }, "de_GetRunCommand");
3714
+ var de_GetRunCacheCommand = /* @__PURE__ */ __name(async (output, context) => {
3715
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3716
+ return de_CommandError(output, context);
3717
+ }
3718
+ const contents = (0, import_smithy_client.map)({
3719
+ $metadata: deserializeMetadata(output)
3720
+ });
3721
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3722
+ const doc = (0, import_smithy_client.take)(data, {
3723
+ arn: import_smithy_client.expectString,
3724
+ cacheBehavior: import_smithy_client.expectString,
3725
+ cacheBucketOwnerId: import_smithy_client.expectString,
3726
+ cacheS3Uri: import_smithy_client.expectString,
3727
+ creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3728
+ description: import_smithy_client.expectString,
3729
+ id: import_smithy_client.expectString,
3730
+ name: import_smithy_client.expectString,
3731
+ status: import_smithy_client.expectString,
3732
+ tags: import_smithy_client._json
3733
+ });
3734
+ Object.assign(contents, doc);
3735
+ return contents;
3736
+ }, "de_GetRunCacheCommand");
3556
3737
  var de_GetRunGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
3557
3738
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3558
3739
  return de_CommandError(output, context);
@@ -3584,6 +3765,8 @@ var de_GetRunTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
3584
3765
  });
3585
3766
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3586
3767
  const doc = (0, import_smithy_client.take)(data, {
3768
+ cacheHit: import_smithy_client.expectBoolean,
3769
+ cacheS3Uri: import_smithy_client.expectString,
3587
3770
  cpus: import_smithy_client.expectInt32,
3588
3771
  creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3589
3772
  failureReason: import_smithy_client.expectString,
@@ -3896,6 +4079,21 @@ var de_ListReferenceStoresCommand = /* @__PURE__ */ __name(async (output, contex
3896
4079
  Object.assign(contents, doc);
3897
4080
  return contents;
3898
4081
  }, "de_ListReferenceStoresCommand");
4082
+ var de_ListRunCachesCommand = /* @__PURE__ */ __name(async (output, context) => {
4083
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4084
+ return de_CommandError(output, context);
4085
+ }
4086
+ const contents = (0, import_smithy_client.map)({
4087
+ $metadata: deserializeMetadata(output)
4088
+ });
4089
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
4090
+ const doc = (0, import_smithy_client.take)(data, {
4091
+ items: (_) => de_RunCacheList(_, context),
4092
+ nextToken: import_smithy_client.expectString
4093
+ });
4094
+ Object.assign(contents, doc);
4095
+ return contents;
4096
+ }, "de_ListRunCachesCommand");
3899
4097
  var de_ListRunGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
3900
4098
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3901
4099
  return de_CommandError(output, context);
@@ -4211,6 +4409,16 @@ var de_UpdateAnnotationStoreVersionCommand = /* @__PURE__ */ __name(async (outpu
4211
4409
  Object.assign(contents, doc);
4212
4410
  return contents;
4213
4411
  }, "de_UpdateAnnotationStoreVersionCommand");
4412
+ var de_UpdateRunCacheCommand = /* @__PURE__ */ __name(async (output, context) => {
4413
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
4414
+ return de_CommandError(output, context);
4415
+ }
4416
+ const contents = (0, import_smithy_client.map)({
4417
+ $metadata: deserializeMetadata(output)
4418
+ });
4419
+ await (0, import_smithy_client.collectBody)(output.body, context);
4420
+ return contents;
4421
+ }, "de_UpdateRunCacheCommand");
4214
4422
  var de_UpdateRunGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
4215
4423
  if (output.statusCode !== 202 && output.statusCode >= 300) {
4216
4424
  return de_CommandError(output, context);
@@ -4737,6 +4945,23 @@ var de_ReferenceStoreDetailList = /* @__PURE__ */ __name((output, context) => {
4737
4945
  });
4738
4946
  return retVal;
4739
4947
  }, "de_ReferenceStoreDetailList");
4948
+ var de_RunCacheList = /* @__PURE__ */ __name((output, context) => {
4949
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4950
+ return de_RunCacheListItem(entry, context);
4951
+ });
4952
+ return retVal;
4953
+ }, "de_RunCacheList");
4954
+ var de_RunCacheListItem = /* @__PURE__ */ __name((output, context) => {
4955
+ return (0, import_smithy_client.take)(output, {
4956
+ arn: import_smithy_client.expectString,
4957
+ cacheBehavior: import_smithy_client.expectString,
4958
+ cacheS3Uri: import_smithy_client.expectString,
4959
+ creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4960
+ id: import_smithy_client.expectString,
4961
+ name: import_smithy_client.expectString,
4962
+ status: import_smithy_client.expectString
4963
+ });
4964
+ }, "de_RunCacheListItem");
4740
4965
  var de_RunGroupList = /* @__PURE__ */ __name((output, context) => {
4741
4966
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
4742
4967
  return de_RunGroupListItem(entry, context);
@@ -4825,6 +5050,8 @@ var de_TaskList = /* @__PURE__ */ __name((output, context) => {
4825
5050
  }, "de_TaskList");
4826
5051
  var de_TaskListItem = /* @__PURE__ */ __name((output, context) => {
4827
5052
  return (0, import_smithy_client.take)(output, {
5053
+ cacheHit: import_smithy_client.expectBoolean,
5054
+ cacheS3Uri: import_smithy_client.expectString,
4828
5055
  cpus: import_smithy_client.expectInt32,
4829
5056
  creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4830
5057
  gpus: import_smithy_client.expectInt32,
@@ -5068,6 +5295,20 @@ var _CreateReferenceStoreCommand = class _CreateReferenceStoreCommand extends im
5068
5295
  __name(_CreateReferenceStoreCommand, "CreateReferenceStoreCommand");
5069
5296
  var CreateReferenceStoreCommand = _CreateReferenceStoreCommand;
5070
5297
 
5298
+ // src/commands/CreateRunCacheCommand.ts
5299
+
5300
+
5301
+
5302
+ var _CreateRunCacheCommand = class _CreateRunCacheCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5303
+ return [
5304
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5305
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5306
+ ];
5307
+ }).s("Omics", "CreateRunCache", {}).n("OmicsClient", "CreateRunCacheCommand").f(void 0, void 0).ser(se_CreateRunCacheCommand).de(de_CreateRunCacheCommand).build() {
5308
+ };
5309
+ __name(_CreateRunCacheCommand, "CreateRunCacheCommand");
5310
+ var CreateRunCacheCommand = _CreateRunCacheCommand;
5311
+
5071
5312
  // src/commands/CreateRunGroupCommand.ts
5072
5313
 
5073
5314
 
@@ -5194,6 +5435,20 @@ var _DeleteReferenceStoreCommand = class _DeleteReferenceStoreCommand extends im
5194
5435
  __name(_DeleteReferenceStoreCommand, "DeleteReferenceStoreCommand");
5195
5436
  var DeleteReferenceStoreCommand = _DeleteReferenceStoreCommand;
5196
5437
 
5438
+ // src/commands/DeleteRunCacheCommand.ts
5439
+
5440
+
5441
+
5442
+ var _DeleteRunCacheCommand = class _DeleteRunCacheCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5443
+ return [
5444
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5445
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5446
+ ];
5447
+ }).s("Omics", "DeleteRunCache", {}).n("OmicsClient", "DeleteRunCacheCommand").f(void 0, void 0).ser(se_DeleteRunCacheCommand).de(de_DeleteRunCacheCommand).build() {
5448
+ };
5449
+ __name(_DeleteRunCacheCommand, "DeleteRunCacheCommand");
5450
+ var DeleteRunCacheCommand = _DeleteRunCacheCommand;
5451
+
5197
5452
  // src/commands/DeleteRunCommand.ts
5198
5453
 
5199
5454
 
@@ -5446,6 +5701,20 @@ var _GetReferenceStoreCommand = class _GetReferenceStoreCommand extends import_s
5446
5701
  __name(_GetReferenceStoreCommand, "GetReferenceStoreCommand");
5447
5702
  var GetReferenceStoreCommand = _GetReferenceStoreCommand;
5448
5703
 
5704
+ // src/commands/GetRunCacheCommand.ts
5705
+
5706
+
5707
+
5708
+ var _GetRunCacheCommand = class _GetRunCacheCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5709
+ return [
5710
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5711
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5712
+ ];
5713
+ }).s("Omics", "GetRunCache", {}).n("OmicsClient", "GetRunCacheCommand").f(void 0, void 0).ser(se_GetRunCacheCommand).de(de_GetRunCacheCommand).build() {
5714
+ };
5715
+ __name(_GetRunCacheCommand, "GetRunCacheCommand");
5716
+ var GetRunCacheCommand = _GetRunCacheCommand;
5717
+
5449
5718
  // src/commands/GetRunCommand.ts
5450
5719
 
5451
5720
 
@@ -5726,6 +5995,20 @@ var _ListReferenceStoresCommand = class _ListReferenceStoresCommand extends impo
5726
5995
  __name(_ListReferenceStoresCommand, "ListReferenceStoresCommand");
5727
5996
  var ListReferenceStoresCommand = _ListReferenceStoresCommand;
5728
5997
 
5998
+ // src/commands/ListRunCachesCommand.ts
5999
+
6000
+
6001
+
6002
+ var _ListRunCachesCommand = class _ListRunCachesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
6003
+ return [
6004
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
6005
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
6006
+ ];
6007
+ }).s("Omics", "ListRunCaches", {}).n("OmicsClient", "ListRunCachesCommand").f(void 0, void 0).ser(se_ListRunCachesCommand).de(de_ListRunCachesCommand).build() {
6008
+ };
6009
+ __name(_ListRunCachesCommand, "ListRunCachesCommand");
6010
+ var ListRunCachesCommand = _ListRunCachesCommand;
6011
+
5729
6012
  // src/commands/ListRunGroupsCommand.ts
5730
6013
 
5731
6014
 
@@ -6006,6 +6289,20 @@ var _UpdateAnnotationStoreVersionCommand = class _UpdateAnnotationStoreVersionCo
6006
6289
  __name(_UpdateAnnotationStoreVersionCommand, "UpdateAnnotationStoreVersionCommand");
6007
6290
  var UpdateAnnotationStoreVersionCommand = _UpdateAnnotationStoreVersionCommand;
6008
6291
 
6292
+ // src/commands/UpdateRunCacheCommand.ts
6293
+
6294
+
6295
+
6296
+ var _UpdateRunCacheCommand = class _UpdateRunCacheCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
6297
+ return [
6298
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
6299
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
6300
+ ];
6301
+ }).s("Omics", "UpdateRunCache", {}).n("OmicsClient", "UpdateRunCacheCommand").f(void 0, void 0).ser(se_UpdateRunCacheCommand).de(de_UpdateRunCacheCommand).build() {
6302
+ };
6303
+ __name(_UpdateRunCacheCommand, "UpdateRunCacheCommand");
6304
+ var UpdateRunCacheCommand = _UpdateRunCacheCommand;
6305
+
6009
6306
  // src/commands/UpdateRunGroupCommand.ts
6010
6307
 
6011
6308
 
@@ -6075,6 +6372,7 @@ var commands = {
6075
6372
  CreateAnnotationStoreVersionCommand,
6076
6373
  CreateMultipartReadSetUploadCommand,
6077
6374
  CreateReferenceStoreCommand,
6375
+ CreateRunCacheCommand,
6078
6376
  CreateRunGroupCommand,
6079
6377
  CreateSequenceStoreCommand,
6080
6378
  CreateShareCommand,
@@ -6085,6 +6383,7 @@ var commands = {
6085
6383
  DeleteReferenceCommand,
6086
6384
  DeleteReferenceStoreCommand,
6087
6385
  DeleteRunCommand,
6386
+ DeleteRunCacheCommand,
6088
6387
  DeleteRunGroupCommand,
6089
6388
  DeleteSequenceStoreCommand,
6090
6389
  DeleteShareCommand,
@@ -6103,6 +6402,7 @@ var commands = {
6103
6402
  GetReferenceMetadataCommand,
6104
6403
  GetReferenceStoreCommand,
6105
6404
  GetRunCommand,
6405
+ GetRunCacheCommand,
6106
6406
  GetRunGroupCommand,
6107
6407
  GetRunTaskCommand,
6108
6408
  GetSequenceStoreCommand,
@@ -6122,6 +6422,7 @@ var commands = {
6122
6422
  ListReferenceImportJobsCommand,
6123
6423
  ListReferencesCommand,
6124
6424
  ListReferenceStoresCommand,
6425
+ ListRunCachesCommand,
6125
6426
  ListRunGroupsCommand,
6126
6427
  ListRunsCommand,
6127
6428
  ListRunTasksCommand,
@@ -6142,6 +6443,7 @@ var commands = {
6142
6443
  UntagResourceCommand,
6143
6444
  UpdateAnnotationStoreCommand,
6144
6445
  UpdateAnnotationStoreVersionCommand,
6446
+ UpdateRunCacheCommand,
6145
6447
  UpdateRunGroupCommand,
6146
6448
  UpdateVariantStoreCommand,
6147
6449
  UpdateWorkflowCommand,
@@ -6201,6 +6503,10 @@ var paginateListReferenceStores = (0, import_core.createPaginator)(OmicsClient,
6201
6503
 
6202
6504
  var paginateListReferences = (0, import_core.createPaginator)(OmicsClient, ListReferencesCommand, "nextToken", "nextToken", "maxResults");
6203
6505
 
6506
+ // src/pagination/ListRunCachesPaginator.ts
6507
+
6508
+ var paginateListRunCaches = (0, import_core.createPaginator)(OmicsClient, ListRunCachesCommand, "startingToken", "nextToken", "maxResults");
6509
+
6204
6510
  // src/pagination/ListRunGroupsPaginator.ts
6205
6511
 
6206
6512
  var paginateListRunGroups = (0, import_core.createPaginator)(OmicsClient, ListRunGroupsCommand, "startingToken", "nextToken", "maxResults");
@@ -7372,6 +7678,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
7372
7678
  CreateAnnotationStoreVersionCommand,
7373
7679
  CreateMultipartReadSetUploadCommand,
7374
7680
  CreateReferenceStoreCommand,
7681
+ CreateRunCacheCommand,
7375
7682
  CreateRunGroupCommand,
7376
7683
  CreateSequenceStoreCommand,
7377
7684
  CreateShareCommand,
@@ -7381,6 +7688,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
7381
7688
  DeleteAnnotationStoreVersionsCommand,
7382
7689
  DeleteReferenceCommand,
7383
7690
  DeleteReferenceStoreCommand,
7691
+ DeleteRunCacheCommand,
7384
7692
  DeleteRunCommand,
7385
7693
  DeleteRunGroupCommand,
7386
7694
  DeleteSequenceStoreCommand,
@@ -7399,6 +7707,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
7399
7707
  GetReferenceImportJobCommand,
7400
7708
  GetReferenceMetadataCommand,
7401
7709
  GetReferenceStoreCommand,
7710
+ GetRunCacheCommand,
7402
7711
  GetRunCommand,
7403
7712
  GetRunGroupCommand,
7404
7713
  GetRunTaskCommand,
@@ -7419,6 +7728,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
7419
7728
  ListReferenceImportJobsCommand,
7420
7729
  ListReferenceStoresCommand,
7421
7730
  ListReferencesCommand,
7731
+ ListRunCachesCommand,
7422
7732
  ListRunGroupsCommand,
7423
7733
  ListRunTasksCommand,
7424
7734
  ListRunsCommand,
@@ -7439,6 +7749,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
7439
7749
  UntagResourceCommand,
7440
7750
  UpdateAnnotationStoreCommand,
7441
7751
  UpdateAnnotationStoreVersionCommand,
7752
+ UpdateRunCacheCommand,
7442
7753
  UpdateRunGroupCommand,
7443
7754
  UpdateVariantStoreCommand,
7444
7755
  UpdateWorkflowCommand,
@@ -7455,6 +7766,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
7455
7766
  paginateListReferenceImportJobs,
7456
7767
  paginateListReferenceStores,
7457
7768
  paginateListReferences,
7769
+ paginateListRunCaches,
7458
7770
  paginateListRunGroups,
7459
7771
  paginateListRunTasks,
7460
7772
  paginateListRuns,
@@ -7522,8 +7834,10 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
7522
7834
  StoreStatus,
7523
7835
  VersionOptions,
7524
7836
  VersionStatus,
7837
+ CacheBehavior,
7525
7838
  ReadSetPartSource,
7526
7839
  FileType,
7840
+ RunCacheStatus,
7527
7841
  ETagAlgorithmFamily,
7528
7842
  WorkflowEngine,
7529
7843
  WorkflowStatus,