@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
package/dist-es/Omics.js CHANGED
@@ -10,6 +10,7 @@ import { CreateAnnotationStoreCommand, } from "./commands/CreateAnnotationStoreC
10
10
  import { CreateAnnotationStoreVersionCommand, } from "./commands/CreateAnnotationStoreVersionCommand";
11
11
  import { CreateMultipartReadSetUploadCommand, } from "./commands/CreateMultipartReadSetUploadCommand";
12
12
  import { CreateReferenceStoreCommand, } from "./commands/CreateReferenceStoreCommand";
13
+ import { CreateRunCacheCommand, } from "./commands/CreateRunCacheCommand";
13
14
  import { CreateRunGroupCommand, } from "./commands/CreateRunGroupCommand";
14
15
  import { CreateSequenceStoreCommand, } from "./commands/CreateSequenceStoreCommand";
15
16
  import { CreateShareCommand } from "./commands/CreateShareCommand";
@@ -19,6 +20,7 @@ import { DeleteAnnotationStoreCommand, } from "./commands/DeleteAnnotationStoreC
19
20
  import { DeleteAnnotationStoreVersionsCommand, } from "./commands/DeleteAnnotationStoreVersionsCommand";
20
21
  import { DeleteReferenceCommand, } from "./commands/DeleteReferenceCommand";
21
22
  import { DeleteReferenceStoreCommand, } from "./commands/DeleteReferenceStoreCommand";
23
+ import { DeleteRunCacheCommand, } from "./commands/DeleteRunCacheCommand";
22
24
  import { DeleteRunCommand } from "./commands/DeleteRunCommand";
23
25
  import { DeleteRunGroupCommand, } from "./commands/DeleteRunGroupCommand";
24
26
  import { DeleteSequenceStoreCommand, } from "./commands/DeleteSequenceStoreCommand";
@@ -37,6 +39,7 @@ import { GetReferenceCommand, } from "./commands/GetReferenceCommand";
37
39
  import { GetReferenceImportJobCommand, } from "./commands/GetReferenceImportJobCommand";
38
40
  import { GetReferenceMetadataCommand, } from "./commands/GetReferenceMetadataCommand";
39
41
  import { GetReferenceStoreCommand, } from "./commands/GetReferenceStoreCommand";
42
+ import { GetRunCacheCommand } from "./commands/GetRunCacheCommand";
40
43
  import { GetRunCommand } from "./commands/GetRunCommand";
41
44
  import { GetRunGroupCommand } from "./commands/GetRunGroupCommand";
42
45
  import { GetRunTaskCommand } from "./commands/GetRunTaskCommand";
@@ -57,6 +60,7 @@ import { ListReadSetUploadPartsCommand, } from "./commands/ListReadSetUploadPart
57
60
  import { ListReferenceImportJobsCommand, } from "./commands/ListReferenceImportJobsCommand";
58
61
  import { ListReferencesCommand, } from "./commands/ListReferencesCommand";
59
62
  import { ListReferenceStoresCommand, } from "./commands/ListReferenceStoresCommand";
63
+ import { ListRunCachesCommand, } from "./commands/ListRunCachesCommand";
60
64
  import { ListRunGroupsCommand, } from "./commands/ListRunGroupsCommand";
61
65
  import { ListRunsCommand } from "./commands/ListRunsCommand";
62
66
  import { ListRunTasksCommand, } from "./commands/ListRunTasksCommand";
@@ -77,6 +81,7 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
77
81
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
78
82
  import { UpdateAnnotationStoreCommand, } from "./commands/UpdateAnnotationStoreCommand";
79
83
  import { UpdateAnnotationStoreVersionCommand, } from "./commands/UpdateAnnotationStoreVersionCommand";
84
+ import { UpdateRunCacheCommand, } from "./commands/UpdateRunCacheCommand";
80
85
  import { UpdateRunGroupCommand, } from "./commands/UpdateRunGroupCommand";
81
86
  import { UpdateVariantStoreCommand, } from "./commands/UpdateVariantStoreCommand";
82
87
  import { UpdateWorkflowCommand, } from "./commands/UpdateWorkflowCommand";
@@ -94,6 +99,7 @@ const commands = {
94
99
  CreateAnnotationStoreVersionCommand,
95
100
  CreateMultipartReadSetUploadCommand,
96
101
  CreateReferenceStoreCommand,
102
+ CreateRunCacheCommand,
97
103
  CreateRunGroupCommand,
98
104
  CreateSequenceStoreCommand,
99
105
  CreateShareCommand,
@@ -104,6 +110,7 @@ const commands = {
104
110
  DeleteReferenceCommand,
105
111
  DeleteReferenceStoreCommand,
106
112
  DeleteRunCommand,
113
+ DeleteRunCacheCommand,
107
114
  DeleteRunGroupCommand,
108
115
  DeleteSequenceStoreCommand,
109
116
  DeleteShareCommand,
@@ -122,6 +129,7 @@ const commands = {
122
129
  GetReferenceMetadataCommand,
123
130
  GetReferenceStoreCommand,
124
131
  GetRunCommand,
132
+ GetRunCacheCommand,
125
133
  GetRunGroupCommand,
126
134
  GetRunTaskCommand,
127
135
  GetSequenceStoreCommand,
@@ -141,6 +149,7 @@ const commands = {
141
149
  ListReferenceImportJobsCommand,
142
150
  ListReferencesCommand,
143
151
  ListReferenceStoresCommand,
152
+ ListRunCachesCommand,
144
153
  ListRunGroupsCommand,
145
154
  ListRunsCommand,
146
155
  ListRunTasksCommand,
@@ -161,6 +170,7 @@ const commands = {
161
170
  UntagResourceCommand,
162
171
  UpdateAnnotationStoreCommand,
163
172
  UpdateAnnotationStoreVersionCommand,
173
+ UpdateRunCacheCommand,
164
174
  UpdateRunGroupCommand,
165
175
  UpdateVariantStoreCommand,
166
176
  UpdateWorkflowCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateRunCacheCommand, se_CreateRunCacheCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateRunCacheCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Omics", "CreateRunCache", {})
17
+ .n("OmicsClient", "CreateRunCacheCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateRunCacheCommand)
20
+ .de(de_CreateRunCacheCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteRunCacheCommand, se_DeleteRunCacheCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteRunCacheCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Omics", "DeleteRunCache", {})
17
+ .n("OmicsClient", "DeleteRunCacheCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteRunCacheCommand)
20
+ .de(de_DeleteRunCacheCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetRunCacheCommand, se_GetRunCacheCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetRunCacheCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Omics", "GetRunCache", {})
17
+ .n("OmicsClient", "GetRunCacheCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetRunCacheCommand)
20
+ .de(de_GetRunCacheCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListRunCachesCommand, se_ListRunCachesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListRunCachesCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Omics", "ListRunCaches", {})
17
+ .n("OmicsClient", "ListRunCachesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListRunCachesCommand)
20
+ .de(de_ListRunCachesCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateRunCacheCommand, se_UpdateRunCacheCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateRunCacheCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Omics", "UpdateRunCache", {})
17
+ .n("OmicsClient", "UpdateRunCacheCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateRunCacheCommand)
20
+ .de(de_UpdateRunCacheCommand)
21
+ .build() {
22
+ }
@@ -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";
@@ -226,6 +226,10 @@ export const VersionStatus = {
226
226
  FAILED: "FAILED",
227
227
  UPDATING: "UPDATING",
228
228
  };
229
+ export const CacheBehavior = {
230
+ CACHE_ALWAYS: "CACHE_ALWAYS",
231
+ CACHE_ON_FAILURE: "CACHE_ON_FAILURE",
232
+ };
229
233
  export const ReadSetPartSource = {
230
234
  SOURCE1: "SOURCE1",
231
235
  SOURCE2: "SOURCE2",
@@ -236,6 +240,11 @@ export const FileType = {
236
240
  FASTQ: "FASTQ",
237
241
  UBAM: "UBAM",
238
242
  };
243
+ export const RunCacheStatus = {
244
+ ACTIVE: "ACTIVE",
245
+ DELETED: "DELETED",
246
+ FAILED: "FAILED",
247
+ };
239
248
  export const ETagAlgorithmFamily = {
240
249
  MD5UP: "MD5up",
241
250
  SHA256UP: "SHA256up",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListRunCachesCommand, } from "../commands/ListRunCachesCommand";
3
+ import { OmicsClient } from "../OmicsClient";
4
+ export const paginateListRunCaches = createPaginator(OmicsClient, ListRunCachesCommand, "startingToken", "nextToken", "maxResults");
@@ -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";
@@ -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 = {
@@ -474,6 +501,23 @@ export const se_DeleteRunCommand = async (input, context) => {
474
501
  b.m("DELETE").h(headers).b(body);
475
502
  return b.build();
476
503
  };
504
+ export const se_DeleteRunCacheCommand = async (input, context) => {
505
+ const b = rb(input, context);
506
+ const headers = {};
507
+ b.bp("/runCache/{id}");
508
+ b.p("id", () => input.id, "{id}", false);
509
+ let body;
510
+ let { hostname: resolvedHostname } = await context.endpoint();
511
+ if (context.disableHostPrefix !== true) {
512
+ resolvedHostname = "workflows-" + resolvedHostname;
513
+ if (!__isValidHostname(resolvedHostname)) {
514
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
515
+ }
516
+ }
517
+ b.hn(resolvedHostname);
518
+ b.m("DELETE").h(headers).b(body);
519
+ return b.build();
520
+ };
477
521
  export const se_DeleteRunGroupCommand = async (input, context) => {
478
522
  const b = rb(input, context);
479
523
  const headers = {};
@@ -805,6 +849,23 @@ export const se_GetRunCommand = async (input, context) => {
805
849
  b.m("GET").h(headers).q(query).b(body);
806
850
  return b.build();
807
851
  };
852
+ export const se_GetRunCacheCommand = async (input, context) => {
853
+ const b = rb(input, context);
854
+ const headers = {};
855
+ b.bp("/runCache/{id}");
856
+ b.p("id", () => input.id, "{id}", false);
857
+ let body;
858
+ let { hostname: resolvedHostname } = await context.endpoint();
859
+ if (context.disableHostPrefix !== true) {
860
+ resolvedHostname = "workflows-" + resolvedHostname;
861
+ if (!__isValidHostname(resolvedHostname)) {
862
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
863
+ }
864
+ }
865
+ b.hn(resolvedHostname);
866
+ b.m("GET").h(headers).b(body);
867
+ return b.build();
868
+ };
808
869
  export const se_GetRunGroupCommand = async (input, context) => {
809
870
  const b = rb(input, context);
810
871
  const headers = {};
@@ -1238,6 +1299,26 @@ export const se_ListReferenceStoresCommand = async (input, context) => {
1238
1299
  b.m("POST").h(headers).q(query).b(body);
1239
1300
  return b.build();
1240
1301
  };
1302
+ export const se_ListRunCachesCommand = async (input, context) => {
1303
+ const b = rb(input, context);
1304
+ const headers = {};
1305
+ b.bp("/runCache");
1306
+ const query = map({
1307
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1308
+ [_sT]: [, input[_sT]],
1309
+ });
1310
+ let body;
1311
+ let { hostname: resolvedHostname } = await context.endpoint();
1312
+ if (context.disableHostPrefix !== true) {
1313
+ resolvedHostname = "workflows-" + resolvedHostname;
1314
+ if (!__isValidHostname(resolvedHostname)) {
1315
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1316
+ }
1317
+ }
1318
+ b.hn(resolvedHostname);
1319
+ b.m("GET").h(headers).q(query).b(body);
1320
+ return b.build();
1321
+ };
1241
1322
  export const se_ListRunGroupsCommand = async (input, context) => {
1242
1323
  const b = rb(input, context);
1243
1324
  const headers = {};
@@ -1577,6 +1658,8 @@ export const se_StartRunCommand = async (input, context) => {
1577
1658
  b.bp("/run");
1578
1659
  let body;
1579
1660
  body = JSON.stringify(take(input, {
1661
+ cacheBehavior: [],
1662
+ cacheId: [],
1580
1663
  logLevel: [],
1581
1664
  name: [],
1582
1665
  outputUri: [],
@@ -1717,6 +1800,30 @@ export const se_UpdateAnnotationStoreVersionCommand = async (input, context) =>
1717
1800
  b.m("POST").h(headers).b(body);
1718
1801
  return b.build();
1719
1802
  };
1803
+ export const se_UpdateRunCacheCommand = async (input, context) => {
1804
+ const b = rb(input, context);
1805
+ const headers = {
1806
+ "content-type": "application/json",
1807
+ };
1808
+ b.bp("/runCache/{id}");
1809
+ b.p("id", () => input.id, "{id}", false);
1810
+ let body;
1811
+ body = JSON.stringify(take(input, {
1812
+ cacheBehavior: [],
1813
+ description: [],
1814
+ name: [],
1815
+ }));
1816
+ let { hostname: resolvedHostname } = await context.endpoint();
1817
+ if (context.disableHostPrefix !== true) {
1818
+ resolvedHostname = "workflows-" + resolvedHostname;
1819
+ if (!__isValidHostname(resolvedHostname)) {
1820
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1821
+ }
1822
+ }
1823
+ b.hn(resolvedHostname);
1824
+ b.m("POST").h(headers).b(body);
1825
+ return b.build();
1826
+ };
1720
1827
  export const se_UpdateRunGroupCommand = async (input, context) => {
1721
1828
  const b = rb(input, context);
1722
1829
  const headers = {
@@ -1982,6 +2089,23 @@ export const de_CreateReferenceStoreCommand = async (output, context) => {
1982
2089
  Object.assign(contents, doc);
1983
2090
  return contents;
1984
2091
  };
2092
+ export const de_CreateRunCacheCommand = async (output, context) => {
2093
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
2094
+ return de_CommandError(output, context);
2095
+ }
2096
+ const contents = map({
2097
+ $metadata: deserializeMetadata(output),
2098
+ });
2099
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2100
+ const doc = take(data, {
2101
+ arn: __expectString,
2102
+ id: __expectString,
2103
+ status: __expectString,
2104
+ tags: _json,
2105
+ });
2106
+ Object.assign(contents, doc);
2107
+ return contents;
2108
+ };
1985
2109
  export const de_CreateRunGroupCommand = async (output, context) => {
1986
2110
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1987
2111
  return de_CommandError(output, context);
@@ -2128,6 +2252,16 @@ export const de_DeleteRunCommand = async (output, context) => {
2128
2252
  await collectBody(output.body, context);
2129
2253
  return contents;
2130
2254
  };
2255
+ export const de_DeleteRunCacheCommand = async (output, context) => {
2256
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
2257
+ return de_CommandError(output, context);
2258
+ }
2259
+ const contents = map({
2260
+ $metadata: deserializeMetadata(output),
2261
+ });
2262
+ await collectBody(output.body, context);
2263
+ return contents;
2264
+ };
2131
2265
  export const de_DeleteRunGroupCommand = async (output, context) => {
2132
2266
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2133
2267
  return de_CommandError(output, context);
@@ -2458,9 +2592,12 @@ export const de_GetRunCommand = async (output, context) => {
2458
2592
  const doc = take(data, {
2459
2593
  accelerators: __expectString,
2460
2594
  arn: __expectString,
2595
+ cacheBehavior: __expectString,
2596
+ cacheId: __expectString,
2461
2597
  creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2462
2598
  definition: __expectString,
2463
2599
  digest: __expectString,
2600
+ engineVersion: __expectString,
2464
2601
  failureReason: __expectString,
2465
2602
  id: __expectString,
2466
2603
  logLevel: __expectString,
@@ -2491,6 +2628,29 @@ export const de_GetRunCommand = async (output, context) => {
2491
2628
  Object.assign(contents, doc);
2492
2629
  return contents;
2493
2630
  };
2631
+ export const de_GetRunCacheCommand = async (output, context) => {
2632
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2633
+ return de_CommandError(output, context);
2634
+ }
2635
+ const contents = map({
2636
+ $metadata: deserializeMetadata(output),
2637
+ });
2638
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2639
+ const doc = take(data, {
2640
+ arn: __expectString,
2641
+ cacheBehavior: __expectString,
2642
+ cacheBucketOwnerId: __expectString,
2643
+ cacheS3Uri: __expectString,
2644
+ creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2645
+ description: __expectString,
2646
+ id: __expectString,
2647
+ name: __expectString,
2648
+ status: __expectString,
2649
+ tags: _json,
2650
+ });
2651
+ Object.assign(contents, doc);
2652
+ return contents;
2653
+ };
2494
2654
  export const de_GetRunGroupCommand = async (output, context) => {
2495
2655
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2496
2656
  return de_CommandError(output, context);
@@ -2522,6 +2682,8 @@ export const de_GetRunTaskCommand = async (output, context) => {
2522
2682
  });
2523
2683
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2524
2684
  const doc = take(data, {
2685
+ cacheHit: __expectBoolean,
2686
+ cacheS3Uri: __expectString,
2525
2687
  cpus: __expectInt32,
2526
2688
  creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
2527
2689
  failureReason: __expectString,
@@ -2834,6 +2996,21 @@ export const de_ListReferenceStoresCommand = async (output, context) => {
2834
2996
  Object.assign(contents, doc);
2835
2997
  return contents;
2836
2998
  };
2999
+ export const de_ListRunCachesCommand = async (output, context) => {
3000
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3001
+ return de_CommandError(output, context);
3002
+ }
3003
+ const contents = map({
3004
+ $metadata: deserializeMetadata(output),
3005
+ });
3006
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3007
+ const doc = take(data, {
3008
+ items: (_) => de_RunCacheList(_, context),
3009
+ nextToken: __expectString,
3010
+ });
3011
+ Object.assign(contents, doc);
3012
+ return contents;
3013
+ };
2837
3014
  export const de_ListRunGroupsCommand = async (output, context) => {
2838
3015
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2839
3016
  return de_CommandError(output, context);
@@ -3149,6 +3326,16 @@ export const de_UpdateAnnotationStoreVersionCommand = async (output, context) =>
3149
3326
  Object.assign(contents, doc);
3150
3327
  return contents;
3151
3328
  };
3329
+ export const de_UpdateRunCacheCommand = async (output, context) => {
3330
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
3331
+ return de_CommandError(output, context);
3332
+ }
3333
+ const contents = map({
3334
+ $metadata: deserializeMetadata(output),
3335
+ });
3336
+ await collectBody(output.body, context);
3337
+ return contents;
3338
+ };
3152
3339
  export const de_UpdateRunGroupCommand = async (output, context) => {
3153
3340
  if (output.statusCode !== 202 && output.statusCode >= 300) {
3154
3341
  return de_CommandError(output, context);
@@ -3699,6 +3886,25 @@ const de_ReferenceStoreDetailList = (output, context) => {
3699
3886
  });
3700
3887
  return retVal;
3701
3888
  };
3889
+ const de_RunCacheList = (output, context) => {
3890
+ const retVal = (output || [])
3891
+ .filter((e) => e != null)
3892
+ .map((entry) => {
3893
+ return de_RunCacheListItem(entry, context);
3894
+ });
3895
+ return retVal;
3896
+ };
3897
+ const de_RunCacheListItem = (output, context) => {
3898
+ return take(output, {
3899
+ arn: __expectString,
3900
+ cacheBehavior: __expectString,
3901
+ cacheS3Uri: __expectString,
3902
+ creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
3903
+ id: __expectString,
3904
+ name: __expectString,
3905
+ status: __expectString,
3906
+ });
3907
+ };
3702
3908
  const de_RunGroupList = (output, context) => {
3703
3909
  const retVal = (output || [])
3704
3910
  .filter((e) => e != null)
@@ -3797,6 +4003,8 @@ const de_TaskList = (output, context) => {
3797
4003
  };
3798
4004
  const de_TaskListItem = (output, context) => {
3799
4005
  return take(output, {
4006
+ cacheHit: __expectBoolean,
4007
+ cacheS3Uri: __expectString,
3800
4008
  cpus: __expectInt32,
3801
4009
  creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
3802
4010
  gpus: __expectInt32,