@aws-sdk/client-omics 3.696.0 → 3.699.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 (58) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +575 -5
  3. package/dist-es/Omics.js +18 -0
  4. package/dist-es/commands/CreateRunCacheCommand.js +22 -0
  5. package/dist-es/commands/DeleteRunCacheCommand.js +22 -0
  6. package/dist-es/commands/DeleteS3AccessPolicyCommand.js +22 -0
  7. package/dist-es/commands/GetRunCacheCommand.js +22 -0
  8. package/dist-es/commands/GetS3AccessPolicyCommand.js +22 -0
  9. package/dist-es/commands/ListRunCachesCommand.js +22 -0
  10. package/dist-es/commands/PutS3AccessPolicyCommand.js +22 -0
  11. package/dist-es/commands/UpdateRunCacheCommand.js +22 -0
  12. package/dist-es/commands/UpdateSequenceStoreCommand.js +22 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/models_0.js +20 -0
  15. package/dist-es/pagination/ListRunCachesPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_restJson1.js +379 -2
  18. package/dist-types/Omics.d.ts +64 -0
  19. package/dist-types/OmicsClient.d.ts +11 -2
  20. package/dist-types/commands/CreateRunCacheCommand.d.ts +112 -0
  21. package/dist-types/commands/CreateSequenceStoreCommand.d.ts +16 -0
  22. package/dist-types/commands/DeleteRunCacheCommand.d.ts +98 -0
  23. package/dist-types/commands/DeleteS3AccessPolicyCommand.d.ts +92 -0
  24. package/dist-types/commands/GetRunCacheCommand.d.ts +107 -0
  25. package/dist-types/commands/GetRunCommand.d.ts +7 -0
  26. package/dist-types/commands/GetRunTaskCommand.d.ts +2 -0
  27. package/dist-types/commands/GetS3AccessPolicyCommand.d.ts +101 -0
  28. package/dist-types/commands/GetSequenceStoreCommand.d.ts +7 -0
  29. package/dist-types/commands/ListRunCachesCommand.d.ts +107 -0
  30. package/dist-types/commands/ListRunTasksCommand.d.ts +2 -0
  31. package/dist-types/commands/ListRunsCommand.d.ts +4 -0
  32. package/dist-types/commands/ListSequenceStoresCommand.d.ts +6 -0
  33. package/dist-types/commands/PutS3AccessPolicyCommand.d.ts +97 -0
  34. package/dist-types/commands/StartRunCommand.d.ts +6 -3
  35. package/dist-types/commands/UpdateRunCacheCommand.d.ts +96 -0
  36. package/dist-types/commands/UpdateSequenceStoreCommand.d.ts +123 -0
  37. package/dist-types/commands/index.d.ts +9 -0
  38. package/dist-types/models/models_0.d.ts +666 -12
  39. package/dist-types/pagination/ListRunCachesPaginator.d.ts +7 -0
  40. package/dist-types/pagination/index.d.ts +1 -0
  41. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  42. package/dist-types/ts3.4/Omics.d.ts +154 -0
  43. package/dist-types/ts3.4/OmicsClient.d.ts +54 -0
  44. package/dist-types/ts3.4/commands/CreateRunCacheCommand.d.ts +50 -0
  45. package/dist-types/ts3.4/commands/DeleteRunCacheCommand.d.ts +45 -0
  46. package/dist-types/ts3.4/commands/DeleteS3AccessPolicyCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/GetRunCacheCommand.d.ts +47 -0
  48. package/dist-types/ts3.4/commands/GetS3AccessPolicyCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/ListRunCachesCommand.d.ts +50 -0
  50. package/dist-types/ts3.4/commands/PutS3AccessPolicyCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/UpdateRunCacheCommand.d.ts +45 -0
  52. package/dist-types/ts3.4/commands/UpdateSequenceStoreCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +166 -5
  55. package/dist-types/ts3.4/pagination/ListRunCachesPaginator.d.ts +11 -0
  56. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  57. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  58. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
3
  import { isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
4
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
4
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, LazyJsonString as __LazyJsonString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
5
5
  import { v4 as generateIdempotencyToken } from "uuid";
6
6
  import { AccessDeniedException, ConflictException, InternalServerException, NotSupportedOperationException, RangeNotSatisfiableException, RequestTimeoutException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
7
7
  import { OmicsServiceException as __BaseException } from "../models/OmicsServiceException";
@@ -244,6 +244,33 @@ export const se_CreateReferenceStoreCommand = async (input, context) => {
244
244
  b.m("POST").h(headers).b(body);
245
245
  return b.build();
246
246
  };
247
+ export const se_CreateRunCacheCommand = async (input, context) => {
248
+ const b = rb(input, context);
249
+ const headers = {
250
+ "content-type": "application/json",
251
+ };
252
+ b.bp("/runCache");
253
+ let body;
254
+ body = JSON.stringify(take(input, {
255
+ cacheBehavior: [],
256
+ cacheBucketOwnerId: [],
257
+ cacheS3Location: [],
258
+ description: [],
259
+ name: [],
260
+ requestId: [true, (_) => _ ?? generateIdempotencyToken()],
261
+ tags: (_) => _json(_),
262
+ }));
263
+ let { hostname: resolvedHostname } = await context.endpoint();
264
+ if (context.disableHostPrefix !== true) {
265
+ resolvedHostname = "workflows-" + resolvedHostname;
266
+ if (!__isValidHostname(resolvedHostname)) {
267
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
268
+ }
269
+ }
270
+ b.hn(resolvedHostname);
271
+ b.m("POST").h(headers).b(body);
272
+ return b.build();
273
+ };
247
274
  export const se_CreateRunGroupCommand = async (input, context) => {
248
275
  const b = rb(input, context);
249
276
  const headers = {
@@ -279,11 +306,13 @@ export const se_CreateSequenceStoreCommand = async (input, context) => {
279
306
  b.bp("/sequencestore");
280
307
  let body;
281
308
  body = JSON.stringify(take(input, {
282
- clientToken: [],
309
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
283
310
  description: [],
284
311
  eTagAlgorithmFamily: [],
285
312
  fallbackLocation: [],
286
313
  name: [],
314
+ propagatedSetLevelTags: (_) => _json(_),
315
+ s3AccessConfig: (_) => _json(_),
287
316
  sseConfig: (_) => _json(_),
288
317
  tags: (_) => _json(_),
289
318
  }));
@@ -474,6 +503,23 @@ export const se_DeleteRunCommand = async (input, context) => {
474
503
  b.m("DELETE").h(headers).b(body);
475
504
  return b.build();
476
505
  };
506
+ export const se_DeleteRunCacheCommand = async (input, context) => {
507
+ const b = rb(input, context);
508
+ const headers = {};
509
+ b.bp("/runCache/{id}");
510
+ b.p("id", () => input.id, "{id}", false);
511
+ let body;
512
+ let { hostname: resolvedHostname } = await context.endpoint();
513
+ if (context.disableHostPrefix !== true) {
514
+ resolvedHostname = "workflows-" + resolvedHostname;
515
+ if (!__isValidHostname(resolvedHostname)) {
516
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
517
+ }
518
+ }
519
+ b.hn(resolvedHostname);
520
+ b.m("DELETE").h(headers).b(body);
521
+ return b.build();
522
+ };
477
523
  export const se_DeleteRunGroupCommand = async (input, context) => {
478
524
  const b = rb(input, context);
479
525
  const headers = {};
@@ -491,6 +537,23 @@ export const se_DeleteRunGroupCommand = async (input, context) => {
491
537
  b.m("DELETE").h(headers).b(body);
492
538
  return b.build();
493
539
  };
540
+ export const se_DeleteS3AccessPolicyCommand = async (input, context) => {
541
+ const b = rb(input, context);
542
+ const headers = {};
543
+ b.bp("/s3accesspolicy/{s3AccessPointArn}");
544
+ b.p("s3AccessPointArn", () => input.s3AccessPointArn, "{s3AccessPointArn}", false);
545
+ let body;
546
+ let { hostname: resolvedHostname } = await context.endpoint();
547
+ if (context.disableHostPrefix !== true) {
548
+ resolvedHostname = "control-storage-" + resolvedHostname;
549
+ if (!__isValidHostname(resolvedHostname)) {
550
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
551
+ }
552
+ }
553
+ b.hn(resolvedHostname);
554
+ b.m("DELETE").h(headers).b(body);
555
+ return b.build();
556
+ };
494
557
  export const se_DeleteSequenceStoreCommand = async (input, context) => {
495
558
  const b = rb(input, context);
496
559
  const headers = {};
@@ -805,6 +868,23 @@ export const se_GetRunCommand = async (input, context) => {
805
868
  b.m("GET").h(headers).q(query).b(body);
806
869
  return b.build();
807
870
  };
871
+ export const se_GetRunCacheCommand = async (input, context) => {
872
+ const b = rb(input, context);
873
+ const headers = {};
874
+ b.bp("/runCache/{id}");
875
+ b.p("id", () => input.id, "{id}", false);
876
+ let body;
877
+ let { hostname: resolvedHostname } = await context.endpoint();
878
+ if (context.disableHostPrefix !== true) {
879
+ resolvedHostname = "workflows-" + resolvedHostname;
880
+ if (!__isValidHostname(resolvedHostname)) {
881
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
882
+ }
883
+ }
884
+ b.hn(resolvedHostname);
885
+ b.m("GET").h(headers).b(body);
886
+ return b.build();
887
+ };
808
888
  export const se_GetRunGroupCommand = async (input, context) => {
809
889
  const b = rb(input, context);
810
890
  const headers = {};
@@ -840,6 +920,23 @@ export const se_GetRunTaskCommand = async (input, context) => {
840
920
  b.m("GET").h(headers).b(body);
841
921
  return b.build();
842
922
  };
923
+ export const se_GetS3AccessPolicyCommand = async (input, context) => {
924
+ const b = rb(input, context);
925
+ const headers = {};
926
+ b.bp("/s3accesspolicy/{s3AccessPointArn}");
927
+ b.p("s3AccessPointArn", () => input.s3AccessPointArn, "{s3AccessPointArn}", false);
928
+ let body;
929
+ let { hostname: resolvedHostname } = await context.endpoint();
930
+ if (context.disableHostPrefix !== true) {
931
+ resolvedHostname = "control-storage-" + resolvedHostname;
932
+ if (!__isValidHostname(resolvedHostname)) {
933
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
934
+ }
935
+ }
936
+ b.hn(resolvedHostname);
937
+ b.m("GET").h(headers).b(body);
938
+ return b.build();
939
+ };
843
940
  export const se_GetSequenceStoreCommand = async (input, context) => {
844
941
  const b = rb(input, context);
845
942
  const headers = {};
@@ -1238,6 +1335,26 @@ export const se_ListReferenceStoresCommand = async (input, context) => {
1238
1335
  b.m("POST").h(headers).q(query).b(body);
1239
1336
  return b.build();
1240
1337
  };
1338
+ export const se_ListRunCachesCommand = async (input, context) => {
1339
+ const b = rb(input, context);
1340
+ const headers = {};
1341
+ b.bp("/runCache");
1342
+ const query = map({
1343
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1344
+ [_sT]: [, input[_sT]],
1345
+ });
1346
+ let body;
1347
+ let { hostname: resolvedHostname } = await context.endpoint();
1348
+ if (context.disableHostPrefix !== true) {
1349
+ resolvedHostname = "workflows-" + resolvedHostname;
1350
+ if (!__isValidHostname(resolvedHostname)) {
1351
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1352
+ }
1353
+ }
1354
+ b.hn(resolvedHostname);
1355
+ b.m("GET").h(headers).q(query).b(body);
1356
+ return b.build();
1357
+ };
1241
1358
  export const se_ListRunGroupsCommand = async (input, context) => {
1242
1359
  const b = rb(input, context);
1243
1360
  const headers = {};
@@ -1446,6 +1563,28 @@ export const se_ListWorkflowsCommand = async (input, context) => {
1446
1563
  b.m("GET").h(headers).q(query).b(body);
1447
1564
  return b.build();
1448
1565
  };
1566
+ export const se_PutS3AccessPolicyCommand = async (input, context) => {
1567
+ const b = rb(input, context);
1568
+ const headers = {
1569
+ "content-type": "application/json",
1570
+ };
1571
+ b.bp("/s3accesspolicy/{s3AccessPointArn}");
1572
+ b.p("s3AccessPointArn", () => input.s3AccessPointArn, "{s3AccessPointArn}", false);
1573
+ let body;
1574
+ body = JSON.stringify(take(input, {
1575
+ s3AccessPolicy: (_) => __LazyJsonString.fromObject(_),
1576
+ }));
1577
+ let { hostname: resolvedHostname } = await context.endpoint();
1578
+ if (context.disableHostPrefix !== true) {
1579
+ resolvedHostname = "control-storage-" + resolvedHostname;
1580
+ if (!__isValidHostname(resolvedHostname)) {
1581
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1582
+ }
1583
+ }
1584
+ b.hn(resolvedHostname);
1585
+ b.m("PUT").h(headers).b(body);
1586
+ return b.build();
1587
+ };
1449
1588
  export const se_StartAnnotationImportJobCommand = async (input, context) => {
1450
1589
  const b = rb(input, context);
1451
1590
  const headers = {
@@ -1577,6 +1716,8 @@ export const se_StartRunCommand = async (input, context) => {
1577
1716
  b.bp("/run");
1578
1717
  let body;
1579
1718
  body = JSON.stringify(take(input, {
1719
+ cacheBehavior: [],
1720
+ cacheId: [],
1580
1721
  logLevel: [],
1581
1722
  name: [],
1582
1723
  outputUri: [],
@@ -1717,6 +1858,30 @@ export const se_UpdateAnnotationStoreVersionCommand = async (input, context) =>
1717
1858
  b.m("POST").h(headers).b(body);
1718
1859
  return b.build();
1719
1860
  };
1861
+ export const se_UpdateRunCacheCommand = async (input, context) => {
1862
+ const b = rb(input, context);
1863
+ const headers = {
1864
+ "content-type": "application/json",
1865
+ };
1866
+ b.bp("/runCache/{id}");
1867
+ b.p("id", () => input.id, "{id}", false);
1868
+ let body;
1869
+ body = JSON.stringify(take(input, {
1870
+ cacheBehavior: [],
1871
+ description: [],
1872
+ name: [],
1873
+ }));
1874
+ let { hostname: resolvedHostname } = await context.endpoint();
1875
+ if (context.disableHostPrefix !== true) {
1876
+ resolvedHostname = "workflows-" + resolvedHostname;
1877
+ if (!__isValidHostname(resolvedHostname)) {
1878
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1879
+ }
1880
+ }
1881
+ b.hn(resolvedHostname);
1882
+ b.m("POST").h(headers).b(body);
1883
+ return b.build();
1884
+ };
1720
1885
  export const se_UpdateRunGroupCommand = async (input, context) => {
1721
1886
  const b = rb(input, context);
1722
1887
  const headers = {
@@ -1743,6 +1908,33 @@ export const se_UpdateRunGroupCommand = async (input, context) => {
1743
1908
  b.m("POST").h(headers).b(body);
1744
1909
  return b.build();
1745
1910
  };
1911
+ export const se_UpdateSequenceStoreCommand = async (input, context) => {
1912
+ const b = rb(input, context);
1913
+ const headers = {
1914
+ "content-type": "application/json",
1915
+ };
1916
+ b.bp("/sequencestore/{id}");
1917
+ b.p("id", () => input.id, "{id}", false);
1918
+ let body;
1919
+ body = JSON.stringify(take(input, {
1920
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1921
+ description: [],
1922
+ fallbackLocation: [],
1923
+ name: [],
1924
+ propagatedSetLevelTags: (_) => _json(_),
1925
+ s3AccessConfig: (_) => _json(_),
1926
+ }));
1927
+ let { hostname: resolvedHostname } = await context.endpoint();
1928
+ if (context.disableHostPrefix !== true) {
1929
+ resolvedHostname = "control-storage-" + resolvedHostname;
1930
+ if (!__isValidHostname(resolvedHostname)) {
1931
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1932
+ }
1933
+ }
1934
+ b.hn(resolvedHostname);
1935
+ b.m("PATCH").h(headers).b(body);
1936
+ return b.build();
1937
+ };
1746
1938
  export const se_UpdateVariantStoreCommand = async (input, context) => {
1747
1939
  const b = rb(input, context);
1748
1940
  const headers = {
@@ -1982,6 +2174,23 @@ export const de_CreateReferenceStoreCommand = async (output, context) => {
1982
2174
  Object.assign(contents, doc);
1983
2175
  return contents;
1984
2176
  };
2177
+ export const de_CreateRunCacheCommand = async (output, context) => {
2178
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
2179
+ return de_CommandError(output, context);
2180
+ }
2181
+ const contents = map({
2182
+ $metadata: deserializeMetadata(output),
2183
+ });
2184
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2185
+ const doc = take(data, {
2186
+ arn: __expectString,
2187
+ id: __expectString,
2188
+ status: __expectString,
2189
+ tags: _json,
2190
+ });
2191
+ Object.assign(contents, doc);
2192
+ return contents;
2193
+ };
1985
2194
  export const de_CreateRunGroupCommand = async (output, context) => {
1986
2195
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1987
2196
  return de_CommandError(output, context);
@@ -2014,7 +2223,11 @@ export const de_CreateSequenceStoreCommand = async (output, context) => {
2014
2223
  fallbackLocation: __expectString,
2015
2224
  id: __expectString,
2016
2225
  name: __expectString,
2226
+ propagatedSetLevelTags: _json,
2227
+ s3Access: _json,
2017
2228
  sseConfig: _json,
2229
+ status: __expectString,
2230
+ statusMessage: __expectString,
2018
2231
  });
2019
2232
  Object.assign(contents, doc);
2020
2233
  return contents;
@@ -2128,6 +2341,16 @@ export const de_DeleteRunCommand = async (output, context) => {
2128
2341
  await collectBody(output.body, context);
2129
2342
  return contents;
2130
2343
  };
2344
+ export const de_DeleteRunCacheCommand = async (output, context) => {
2345
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
2346
+ return de_CommandError(output, context);
2347
+ }
2348
+ const contents = map({
2349
+ $metadata: deserializeMetadata(output),
2350
+ });
2351
+ await collectBody(output.body, context);
2352
+ return contents;
2353
+ };
2131
2354
  export const de_DeleteRunGroupCommand = async (output, context) => {
2132
2355
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2133
2356
  return de_CommandError(output, context);
@@ -2138,6 +2361,16 @@ export const de_DeleteRunGroupCommand = async (output, context) => {
2138
2361
  await collectBody(output.body, context);
2139
2362
  return contents;
2140
2363
  };
2364
+ export const de_DeleteS3AccessPolicyCommand = async (output, context) => {
2365
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2366
+ return de_CommandError(output, context);
2367
+ }
2368
+ const contents = map({
2369
+ $metadata: deserializeMetadata(output),
2370
+ });
2371
+ await collectBody(output.body, context);
2372
+ return contents;
2373
+ };
2141
2374
  export const de_DeleteSequenceStoreCommand = async (output, context) => {
2142
2375
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2143
2376
  return de_CommandError(output, context);
@@ -2458,9 +2691,12 @@ export const de_GetRunCommand = async (output, context) => {
2458
2691
  const doc = take(data, {
2459
2692
  accelerators: __expectString,
2460
2693
  arn: __expectString,
2694
+ cacheBehavior: __expectString,
2695
+ cacheId: __expectString,
2461
2696
  creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2462
2697
  definition: __expectString,
2463
2698
  digest: __expectString,
2699
+ engineVersion: __expectString,
2464
2700
  failureReason: __expectString,
2465
2701
  id: __expectString,
2466
2702
  logLevel: __expectString,
@@ -2491,6 +2727,29 @@ export const de_GetRunCommand = async (output, context) => {
2491
2727
  Object.assign(contents, doc);
2492
2728
  return contents;
2493
2729
  };
2730
+ export const de_GetRunCacheCommand = async (output, context) => {
2731
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2732
+ return de_CommandError(output, context);
2733
+ }
2734
+ const contents = map({
2735
+ $metadata: deserializeMetadata(output),
2736
+ });
2737
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2738
+ const doc = take(data, {
2739
+ arn: __expectString,
2740
+ cacheBehavior: __expectString,
2741
+ cacheBucketOwnerId: __expectString,
2742
+ cacheS3Uri: __expectString,
2743
+ creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2744
+ description: __expectString,
2745
+ id: __expectString,
2746
+ name: __expectString,
2747
+ status: __expectString,
2748
+ tags: _json,
2749
+ });
2750
+ Object.assign(contents, doc);
2751
+ return contents;
2752
+ };
2494
2753
  export const de_GetRunGroupCommand = async (output, context) => {
2495
2754
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2496
2755
  return de_CommandError(output, context);
@@ -2522,6 +2781,8 @@ export const de_GetRunTaskCommand = async (output, context) => {
2522
2781
  });
2523
2782
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2524
2783
  const doc = take(data, {
2784
+ cacheHit: __expectBoolean,
2785
+ cacheS3Uri: __expectString,
2525
2786
  cpus: __expectInt32,
2526
2787
  creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2527
2788
  failureReason: __expectString,
@@ -2539,6 +2800,24 @@ export const de_GetRunTaskCommand = async (output, context) => {
2539
2800
  Object.assign(contents, doc);
2540
2801
  return contents;
2541
2802
  };
2803
+ export const de_GetS3AccessPolicyCommand = async (output, context) => {
2804
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2805
+ return de_CommandError(output, context);
2806
+ }
2807
+ const contents = map({
2808
+ $metadata: deserializeMetadata(output),
2809
+ });
2810
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2811
+ const doc = take(data, {
2812
+ s3AccessPointArn: __expectString,
2813
+ s3AccessPolicy: (_) => new __LazyJsonString(_),
2814
+ storeId: __expectString,
2815
+ storeType: __expectString,
2816
+ updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2817
+ });
2818
+ Object.assign(contents, doc);
2819
+ return contents;
2820
+ };
2542
2821
  export const de_GetSequenceStoreCommand = async (output, context) => {
2543
2822
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2544
2823
  return de_CommandError(output, context);
@@ -2555,8 +2834,12 @@ export const de_GetSequenceStoreCommand = async (output, context) => {
2555
2834
  fallbackLocation: __expectString,
2556
2835
  id: __expectString,
2557
2836
  name: __expectString,
2837
+ propagatedSetLevelTags: _json,
2558
2838
  s3Access: _json,
2559
2839
  sseConfig: _json,
2840
+ status: __expectString,
2841
+ statusMessage: __expectString,
2842
+ updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2560
2843
  });
2561
2844
  Object.assign(contents, doc);
2562
2845
  return contents;
@@ -2834,6 +3117,21 @@ export const de_ListReferenceStoresCommand = async (output, context) => {
2834
3117
  Object.assign(contents, doc);
2835
3118
  return contents;
2836
3119
  };
3120
+ export const de_ListRunCachesCommand = async (output, context) => {
3121
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3122
+ return de_CommandError(output, context);
3123
+ }
3124
+ const contents = map({
3125
+ $metadata: deserializeMetadata(output),
3126
+ });
3127
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3128
+ const doc = take(data, {
3129
+ items: (_) => de_RunCacheList(_, context),
3130
+ nextToken: __expectString,
3131
+ });
3132
+ Object.assign(contents, doc);
3133
+ return contents;
3134
+ };
2837
3135
  export const de_ListRunGroupsCommand = async (output, context) => {
2838
3136
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2839
3137
  return de_CommandError(output, context);
@@ -2968,6 +3266,22 @@ export const de_ListWorkflowsCommand = async (output, context) => {
2968
3266
  Object.assign(contents, doc);
2969
3267
  return contents;
2970
3268
  };
3269
+ export const de_PutS3AccessPolicyCommand = async (output, context) => {
3270
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3271
+ return de_CommandError(output, context);
3272
+ }
3273
+ const contents = map({
3274
+ $metadata: deserializeMetadata(output),
3275
+ });
3276
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3277
+ const doc = take(data, {
3278
+ s3AccessPointArn: __expectString,
3279
+ storeId: __expectString,
3280
+ storeType: __expectString,
3281
+ });
3282
+ Object.assign(contents, doc);
3283
+ return contents;
3284
+ };
2971
3285
  export const de_StartAnnotationImportJobCommand = async (output, context) => {
2972
3286
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2973
3287
  return de_CommandError(output, context);
@@ -3149,6 +3463,16 @@ export const de_UpdateAnnotationStoreVersionCommand = async (output, context) =>
3149
3463
  Object.assign(contents, doc);
3150
3464
  return contents;
3151
3465
  };
3466
+ export const de_UpdateRunCacheCommand = async (output, context) => {
3467
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
3468
+ return de_CommandError(output, context);
3469
+ }
3470
+ const contents = map({
3471
+ $metadata: deserializeMetadata(output),
3472
+ });
3473
+ await collectBody(output.body, context);
3474
+ return contents;
3475
+ };
3152
3476
  export const de_UpdateRunGroupCommand = async (output, context) => {
3153
3477
  if (output.statusCode !== 202 && output.statusCode >= 300) {
3154
3478
  return de_CommandError(output, context);
@@ -3159,6 +3483,32 @@ export const de_UpdateRunGroupCommand = async (output, context) => {
3159
3483
  await collectBody(output.body, context);
3160
3484
  return contents;
3161
3485
  };
3486
+ export const de_UpdateSequenceStoreCommand = async (output, context) => {
3487
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3488
+ return de_CommandError(output, context);
3489
+ }
3490
+ const contents = map({
3491
+ $metadata: deserializeMetadata(output),
3492
+ });
3493
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3494
+ const doc = take(data, {
3495
+ arn: __expectString,
3496
+ creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
3497
+ description: __expectString,
3498
+ eTagAlgorithmFamily: __expectString,
3499
+ fallbackLocation: __expectString,
3500
+ id: __expectString,
3501
+ name: __expectString,
3502
+ propagatedSetLevelTags: _json,
3503
+ s3Access: _json,
3504
+ sseConfig: _json,
3505
+ status: __expectString,
3506
+ statusMessage: __expectString,
3507
+ updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
3508
+ });
3509
+ Object.assign(contents, doc);
3510
+ return contents;
3511
+ };
3162
3512
  export const de_UpdateVariantStoreCommand = async (output, context) => {
3163
3513
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3164
3514
  return de_CommandError(output, context);
@@ -3450,6 +3800,9 @@ const se_SequenceStoreFilter = (input, context) => {
3450
3800
  createdAfter: __serializeDateTime,
3451
3801
  createdBefore: __serializeDateTime,
3452
3802
  name: [],
3803
+ status: [],
3804
+ updatedAfter: __serializeDateTime,
3805
+ updatedBefore: __serializeDateTime,
3453
3806
  });
3454
3807
  };
3455
3808
  const de_ActivateReadSetJobItem = (output, context) => {
@@ -3699,6 +4052,25 @@ const de_ReferenceStoreDetailList = (output, context) => {
3699
4052
  });
3700
4053
  return retVal;
3701
4054
  };
4055
+ const de_RunCacheList = (output, context) => {
4056
+ const retVal = (output || [])
4057
+ .filter((e) => e != null)
4058
+ .map((entry) => {
4059
+ return de_RunCacheListItem(entry, context);
4060
+ });
4061
+ return retVal;
4062
+ };
4063
+ const de_RunCacheListItem = (output, context) => {
4064
+ return take(output, {
4065
+ arn: __expectString,
4066
+ cacheBehavior: __expectString,
4067
+ cacheS3Uri: __expectString,
4068
+ creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
4069
+ id: __expectString,
4070
+ name: __expectString,
4071
+ status: __expectString,
4072
+ });
4073
+ };
3702
4074
  const de_RunGroupList = (output, context) => {
3703
4075
  const retVal = (output || [])
3704
4076
  .filter((e) => e != null)
@@ -3755,6 +4127,9 @@ const de_SequenceStoreDetail = (output, context) => {
3755
4127
  id: __expectString,
3756
4128
  name: __expectString,
3757
4129
  sseConfig: _json,
4130
+ status: __expectString,
4131
+ statusMessage: __expectString,
4132
+ updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
3758
4133
  });
3759
4134
  };
3760
4135
  const de_SequenceStoreDetailList = (output, context) => {
@@ -3797,6 +4172,8 @@ const de_TaskList = (output, context) => {
3797
4172
  };
3798
4173
  const de_TaskListItem = (output, context) => {
3799
4174
  return take(output, {
4175
+ cacheHit: __expectBoolean,
4176
+ cacheS3Uri: __expectString,
3800
4177
  cpus: __expectInt32,
3801
4178
  creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
3802
4179
  gpus: __expectInt32,