@aws-sdk/client-omics 3.787.0 → 3.796.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.
- package/README.md +41 -2
- package/dist-cjs/index.js +413 -12
- package/dist-es/Omics.js +10 -0
- package/dist-es/commands/CreateWorkflowVersionCommand.js +22 -0
- package/dist-es/commands/DeleteWorkflowVersionCommand.js +22 -0
- package/dist-es/commands/GetWorkflowVersionCommand.js +22 -0
- package/dist-es/commands/ListWorkflowVersionsCommand.js +22 -0
- package/dist-es/commands/UpdateWorkflowVersionCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +4 -4
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListWorkflowVersionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +241 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForWorkflowVersionActive.js +58 -0
- package/dist-types/Omics.d.ts +36 -2
- package/dist-types/OmicsClient.d.ts +8 -4
- package/dist-types/commands/AbortMultipartReadSetUploadCommand.d.ts +1 -3
- package/dist-types/commands/CompleteMultipartReadSetUploadCommand.d.ts +1 -3
- package/dist-types/commands/CreateAnnotationStoreVersionCommand.d.ts +1 -3
- package/dist-types/commands/CreateMultipartReadSetUploadCommand.d.ts +1 -3
- package/dist-types/commands/CreateRunCacheCommand.d.ts +1 -5
- package/dist-types/commands/CreateShareCommand.d.ts +1 -14
- package/dist-types/commands/CreateWorkflowCommand.d.ts +3 -1
- package/dist-types/commands/CreateWorkflowVersionCommand.d.ts +123 -0
- package/dist-types/commands/DeleteAnnotationStoreVersionsCommand.d.ts +1 -3
- package/dist-types/commands/DeleteRunCacheCommand.d.ts +1 -6
- package/dist-types/commands/DeleteS3AccessPolicyCommand.d.ts +1 -3
- package/dist-types/commands/DeleteShareCommand.d.ts +1 -2
- package/dist-types/commands/DeleteWorkflowVersionCommand.d.ts +95 -0
- package/dist-types/commands/GetAnnotationStoreVersionCommand.d.ts +1 -3
- package/dist-types/commands/GetRunCacheCommand.d.ts +1 -2
- package/dist-types/commands/GetRunCommand.d.ts +3 -6
- package/dist-types/commands/GetS3AccessPolicyCommand.d.ts +1 -3
- package/dist-types/commands/GetWorkflowCommand.d.ts +3 -2
- package/dist-types/commands/GetWorkflowVersionCommand.d.ts +130 -0
- package/dist-types/commands/ListAnnotationStoreVersionsCommand.d.ts +1 -3
- package/dist-types/commands/ListMultipartReadSetUploadsCommand.d.ts +2 -5
- package/dist-types/commands/ListReadSetUploadPartsCommand.d.ts +1 -3
- package/dist-types/commands/ListRunsCommand.d.ts +2 -5
- package/dist-types/commands/ListSharesCommand.d.ts +1 -2
- package/dist-types/commands/ListWorkflowVersionsCommand.d.ts +115 -0
- package/dist-types/commands/PutS3AccessPolicyCommand.d.ts +1 -3
- package/dist-types/commands/StartReadSetActivationJobCommand.d.ts +1 -2
- package/dist-types/commands/StartRunCommand.d.ts +2 -12
- package/dist-types/commands/StartVariantImportJobCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAnnotationStoreVersionCommand.d.ts +1 -3
- package/dist-types/commands/UpdateVariantStoreCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWorkflowCommand.d.ts +4 -2
- package/dist-types/commands/UpdateWorkflowVersionCommand.d.ts +98 -0
- package/dist-types/commands/UploadReadSetPartCommand.d.ts +2 -5
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +1 -2
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +555 -578
- package/dist-types/models/models_1.d.ts +187 -0
- package/dist-types/pagination/ListWorkflowVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Omics.d.ts +85 -0
- package/dist-types/ts3.4/OmicsClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateWorkflowVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowVersionCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetWorkflowVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkflowVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartVariantImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateVariantStoreCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateWorkflowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateWorkflowVersionCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +92 -41
- package/dist-types/ts3.4/models/models_1.d.ts +46 -0
- package/dist-types/ts3.4/pagination/ListWorkflowVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForWorkflowVersionActive.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForWorkflowVersionActive.d.ts +14 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -43,6 +43,7 @@ __export(index_exports, {
|
|
|
43
43
|
CreateShareCommand: () => CreateShareCommand,
|
|
44
44
|
CreateVariantStoreCommand: () => CreateVariantStoreCommand,
|
|
45
45
|
CreateWorkflowCommand: () => CreateWorkflowCommand,
|
|
46
|
+
CreateWorkflowVersionCommand: () => CreateWorkflowVersionCommand,
|
|
46
47
|
CreationType: () => CreationType,
|
|
47
48
|
DeleteAnnotationStoreCommand: () => DeleteAnnotationStoreCommand,
|
|
48
49
|
DeleteAnnotationStoreVersionsCommand: () => DeleteAnnotationStoreVersionsCommand,
|
|
@@ -56,6 +57,7 @@ __export(index_exports, {
|
|
|
56
57
|
DeleteShareCommand: () => DeleteShareCommand,
|
|
57
58
|
DeleteVariantStoreCommand: () => DeleteVariantStoreCommand,
|
|
58
59
|
DeleteWorkflowCommand: () => DeleteWorkflowCommand,
|
|
60
|
+
DeleteWorkflowVersionCommand: () => DeleteWorkflowVersionCommand,
|
|
59
61
|
ETagAlgorithm: () => ETagAlgorithm,
|
|
60
62
|
ETagAlgorithmFamily: () => ETagAlgorithmFamily,
|
|
61
63
|
EncryptionType: () => EncryptionType,
|
|
@@ -86,6 +88,7 @@ __export(index_exports, {
|
|
|
86
88
|
GetVariantImportJobCommand: () => GetVariantImportJobCommand,
|
|
87
89
|
GetVariantStoreCommand: () => GetVariantStoreCommand,
|
|
88
90
|
GetWorkflowCommand: () => GetWorkflowCommand,
|
|
91
|
+
GetWorkflowVersionCommand: () => GetWorkflowVersionCommand,
|
|
89
92
|
InternalServerException: () => InternalServerException,
|
|
90
93
|
JobStatus: () => JobStatus,
|
|
91
94
|
ListAnnotationImportJobsCommand: () => ListAnnotationImportJobsCommand,
|
|
@@ -109,6 +112,7 @@ __export(index_exports, {
|
|
|
109
112
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
110
113
|
ListVariantImportJobsCommand: () => ListVariantImportJobsCommand,
|
|
111
114
|
ListVariantStoresCommand: () => ListVariantStoresCommand,
|
|
115
|
+
ListWorkflowVersionsCommand: () => ListWorkflowVersionsCommand,
|
|
112
116
|
ListWorkflowsCommand: () => ListWorkflowsCommand,
|
|
113
117
|
NotSupportedOperationException: () => NotSupportedOperationException,
|
|
114
118
|
Omics: () => Omics,
|
|
@@ -167,6 +171,7 @@ __export(index_exports, {
|
|
|
167
171
|
UpdateSequenceStoreCommand: () => UpdateSequenceStoreCommand,
|
|
168
172
|
UpdateVariantStoreCommand: () => UpdateVariantStoreCommand,
|
|
169
173
|
UpdateWorkflowCommand: () => UpdateWorkflowCommand,
|
|
174
|
+
UpdateWorkflowVersionCommand: () => UpdateWorkflowVersionCommand,
|
|
170
175
|
UploadReadSetPartCommand: () => UploadReadSetPartCommand,
|
|
171
176
|
UploadReadSetPartRequestFilterSensitiveLog: () => UploadReadSetPartRequestFilterSensitiveLog,
|
|
172
177
|
ValidationException: () => ValidationException,
|
|
@@ -197,6 +202,7 @@ __export(index_exports, {
|
|
|
197
202
|
paginateListShares: () => paginateListShares,
|
|
198
203
|
paginateListVariantImportJobs: () => paginateListVariantImportJobs,
|
|
199
204
|
paginateListVariantStores: () => paginateListVariantStores,
|
|
205
|
+
paginateListWorkflowVersions: () => paginateListWorkflowVersions,
|
|
200
206
|
paginateListWorkflows: () => paginateListWorkflows,
|
|
201
207
|
waitForAnnotationImportJobCreated: () => waitForAnnotationImportJobCreated,
|
|
202
208
|
waitForAnnotationStoreCreated: () => waitForAnnotationStoreCreated,
|
|
@@ -215,6 +221,7 @@ __export(index_exports, {
|
|
|
215
221
|
waitForVariantStoreCreated: () => waitForVariantStoreCreated,
|
|
216
222
|
waitForVariantStoreDeleted: () => waitForVariantStoreDeleted,
|
|
217
223
|
waitForWorkflowActive: () => waitForWorkflowActive,
|
|
224
|
+
waitForWorkflowVersionActive: () => waitForWorkflowVersionActive,
|
|
218
225
|
waitUntilAnnotationImportJobCreated: () => waitUntilAnnotationImportJobCreated,
|
|
219
226
|
waitUntilAnnotationStoreCreated: () => waitUntilAnnotationStoreCreated,
|
|
220
227
|
waitUntilAnnotationStoreDeleted: () => waitUntilAnnotationStoreDeleted,
|
|
@@ -231,7 +238,8 @@ __export(index_exports, {
|
|
|
231
238
|
waitUntilVariantImportJobCreated: () => waitUntilVariantImportJobCreated,
|
|
232
239
|
waitUntilVariantStoreCreated: () => waitUntilVariantStoreCreated,
|
|
233
240
|
waitUntilVariantStoreDeleted: () => waitUntilVariantStoreDeleted,
|
|
234
|
-
waitUntilWorkflowActive: () => waitUntilWorkflowActive
|
|
241
|
+
waitUntilWorkflowActive: () => waitUntilWorkflowActive,
|
|
242
|
+
waitUntilWorkflowVersionActive: () => waitUntilWorkflowVersionActive
|
|
235
243
|
});
|
|
236
244
|
module.exports = __toCommonJS(index_exports);
|
|
237
245
|
|
|
@@ -836,6 +844,10 @@ var WorkflowEngine = {
|
|
|
836
844
|
NEXTFLOW: "NEXTFLOW",
|
|
837
845
|
WDL: "WDL"
|
|
838
846
|
};
|
|
847
|
+
var StorageType = {
|
|
848
|
+
DYNAMIC: "DYNAMIC",
|
|
849
|
+
STATIC: "STATIC"
|
|
850
|
+
};
|
|
839
851
|
var WorkflowStatus = {
|
|
840
852
|
ACTIVE: "ACTIVE",
|
|
841
853
|
CREATING: "CREATING",
|
|
@@ -986,10 +998,6 @@ var RunStatus = {
|
|
|
986
998
|
STARTING: "STARTING",
|
|
987
999
|
STOPPING: "STOPPING"
|
|
988
1000
|
};
|
|
989
|
-
var StorageType = {
|
|
990
|
-
DYNAMIC: "DYNAMIC",
|
|
991
|
-
STATIC: "STATIC"
|
|
992
|
-
};
|
|
993
1001
|
var WorkflowType = {
|
|
994
1002
|
PRIVATE: "PRIVATE",
|
|
995
1003
|
READY2RUN: "READY2RUN"
|
|
@@ -1442,6 +1450,7 @@ var se_CreateWorkflowCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1442
1450
|
parameterTemplate: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "parameterTemplate"),
|
|
1443
1451
|
requestId: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1444
1452
|
storageCapacity: [],
|
|
1453
|
+
storageType: [],
|
|
1445
1454
|
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
1446
1455
|
})
|
|
1447
1456
|
);
|
|
@@ -1456,6 +1465,42 @@ var se_CreateWorkflowCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1456
1465
|
b.m("POST").h(headers).b(body);
|
|
1457
1466
|
return b.build();
|
|
1458
1467
|
}, "se_CreateWorkflowCommand");
|
|
1468
|
+
var se_CreateWorkflowVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1469
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1470
|
+
const headers = {
|
|
1471
|
+
"content-type": "application/json"
|
|
1472
|
+
};
|
|
1473
|
+
b.bp("/workflow/{workflowId}/version");
|
|
1474
|
+
b.p("workflowId", () => input.workflowId, "{workflowId}", false);
|
|
1475
|
+
let body;
|
|
1476
|
+
body = JSON.stringify(
|
|
1477
|
+
(0, import_smithy_client.take)(input, {
|
|
1478
|
+
accelerators: [],
|
|
1479
|
+
definitionUri: [],
|
|
1480
|
+
definitionZip: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "definitionZip"),
|
|
1481
|
+
description: [],
|
|
1482
|
+
engine: [],
|
|
1483
|
+
main: [],
|
|
1484
|
+
parameterTemplate: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "parameterTemplate"),
|
|
1485
|
+
requestId: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1486
|
+
storageCapacity: [],
|
|
1487
|
+
storageType: [],
|
|
1488
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
1489
|
+
versionName: [],
|
|
1490
|
+
workflowBucketOwnerId: []
|
|
1491
|
+
})
|
|
1492
|
+
);
|
|
1493
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1494
|
+
if (context.disableHostPrefix !== true) {
|
|
1495
|
+
resolvedHostname = "workflows-" + resolvedHostname;
|
|
1496
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
1497
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
b.hn(resolvedHostname);
|
|
1501
|
+
b.m("POST").h(headers).b(body);
|
|
1502
|
+
return b.build();
|
|
1503
|
+
}, "se_CreateWorkflowVersionCommand");
|
|
1459
1504
|
var se_DeleteAnnotationStoreCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1460
1505
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1461
1506
|
const headers = {};
|
|
@@ -1677,6 +1722,24 @@ var se_DeleteWorkflowCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1677
1722
|
b.m("DELETE").h(headers).b(body);
|
|
1678
1723
|
return b.build();
|
|
1679
1724
|
}, "se_DeleteWorkflowCommand");
|
|
1725
|
+
var se_DeleteWorkflowVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1726
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1727
|
+
const headers = {};
|
|
1728
|
+
b.bp("/workflow/{workflowId}/version/{versionName}");
|
|
1729
|
+
b.p("workflowId", () => input.workflowId, "{workflowId}", false);
|
|
1730
|
+
b.p("versionName", () => input.versionName, "{versionName}", false);
|
|
1731
|
+
let body;
|
|
1732
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1733
|
+
if (context.disableHostPrefix !== true) {
|
|
1734
|
+
resolvedHostname = "workflows-" + resolvedHostname;
|
|
1735
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
1736
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
b.hn(resolvedHostname);
|
|
1740
|
+
b.m("DELETE").h(headers).b(body);
|
|
1741
|
+
return b.build();
|
|
1742
|
+
}, "se_DeleteWorkflowVersionCommand");
|
|
1680
1743
|
var se_GetAnnotationImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1681
1744
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1682
1745
|
const headers = {};
|
|
@@ -2079,6 +2142,29 @@ var se_GetWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
2079
2142
|
b.m("GET").h(headers).q(query).b(body);
|
|
2080
2143
|
return b.build();
|
|
2081
2144
|
}, "se_GetWorkflowCommand");
|
|
2145
|
+
var se_GetWorkflowVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2146
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2147
|
+
const headers = {};
|
|
2148
|
+
b.bp("/workflow/{workflowId}/version/{versionName}");
|
|
2149
|
+
b.p("workflowId", () => input.workflowId, "{workflowId}", false);
|
|
2150
|
+
b.p("versionName", () => input.versionName, "{versionName}", false);
|
|
2151
|
+
const query = (0, import_smithy_client.map)({
|
|
2152
|
+
[_t]: [, input[_t]],
|
|
2153
|
+
[_e]: [() => input.export !== void 0, () => input[_e] || []],
|
|
2154
|
+
[_wOI]: [, input[_wOI]]
|
|
2155
|
+
});
|
|
2156
|
+
let body;
|
|
2157
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2158
|
+
if (context.disableHostPrefix !== true) {
|
|
2159
|
+
resolvedHostname = "workflows-" + resolvedHostname;
|
|
2160
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
2161
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2164
|
+
b.hn(resolvedHostname);
|
|
2165
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
2166
|
+
return b.build();
|
|
2167
|
+
}, "se_GetWorkflowVersionCommand");
|
|
2082
2168
|
var se_ListAnnotationImportJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2083
2169
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2084
2170
|
const headers = {
|
|
@@ -2645,6 +2731,29 @@ var se_ListWorkflowsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
2645
2731
|
b.m("GET").h(headers).q(query).b(body);
|
|
2646
2732
|
return b.build();
|
|
2647
2733
|
}, "se_ListWorkflowsCommand");
|
|
2734
|
+
var se_ListWorkflowVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2735
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2736
|
+
const headers = {};
|
|
2737
|
+
b.bp("/workflow/{workflowId}/version");
|
|
2738
|
+
b.p("workflowId", () => input.workflowId, "{workflowId}", false);
|
|
2739
|
+
const query = (0, import_smithy_client.map)({
|
|
2740
|
+
[_t]: [, input[_t]],
|
|
2741
|
+
[_wOI]: [, input[_wOI]],
|
|
2742
|
+
[_sT]: [, input[_sT]],
|
|
2743
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
2744
|
+
});
|
|
2745
|
+
let body;
|
|
2746
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2747
|
+
if (context.disableHostPrefix !== true) {
|
|
2748
|
+
resolvedHostname = "workflows-" + resolvedHostname;
|
|
2749
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
2750
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2751
|
+
}
|
|
2752
|
+
}
|
|
2753
|
+
b.hn(resolvedHostname);
|
|
2754
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
2755
|
+
return b.build();
|
|
2756
|
+
}, "se_ListWorkflowVersionsCommand");
|
|
2648
2757
|
var se_PutS3AccessPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2649
2758
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2650
2759
|
const headers = {
|
|
@@ -2828,7 +2937,8 @@ var se_StartRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
2828
2937
|
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
2829
2938
|
workflowId: [],
|
|
2830
2939
|
workflowOwnerId: [],
|
|
2831
|
-
workflowType: []
|
|
2940
|
+
workflowType: [],
|
|
2941
|
+
workflowVersionName: []
|
|
2832
2942
|
})
|
|
2833
2943
|
);
|
|
2834
2944
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -3080,7 +3190,9 @@ var se_UpdateWorkflowCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
3080
3190
|
body = JSON.stringify(
|
|
3081
3191
|
(0, import_smithy_client.take)(input, {
|
|
3082
3192
|
description: [],
|
|
3083
|
-
name: []
|
|
3193
|
+
name: [],
|
|
3194
|
+
storageCapacity: [],
|
|
3195
|
+
storageType: []
|
|
3084
3196
|
})
|
|
3085
3197
|
);
|
|
3086
3198
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -3094,6 +3206,33 @@ var se_UpdateWorkflowCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
3094
3206
|
b.m("POST").h(headers).b(body);
|
|
3095
3207
|
return b.build();
|
|
3096
3208
|
}, "se_UpdateWorkflowCommand");
|
|
3209
|
+
var se_UpdateWorkflowVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3210
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
3211
|
+
const headers = {
|
|
3212
|
+
"content-type": "application/json"
|
|
3213
|
+
};
|
|
3214
|
+
b.bp("/workflow/{workflowId}/version/{versionName}");
|
|
3215
|
+
b.p("workflowId", () => input.workflowId, "{workflowId}", false);
|
|
3216
|
+
b.p("versionName", () => input.versionName, "{versionName}", false);
|
|
3217
|
+
let body;
|
|
3218
|
+
body = JSON.stringify(
|
|
3219
|
+
(0, import_smithy_client.take)(input, {
|
|
3220
|
+
description: [],
|
|
3221
|
+
storageCapacity: [],
|
|
3222
|
+
storageType: []
|
|
3223
|
+
})
|
|
3224
|
+
);
|
|
3225
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
3226
|
+
if (context.disableHostPrefix !== true) {
|
|
3227
|
+
resolvedHostname = "workflows-" + resolvedHostname;
|
|
3228
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
3229
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
3230
|
+
}
|
|
3231
|
+
}
|
|
3232
|
+
b.hn(resolvedHostname);
|
|
3233
|
+
b.m("POST").h(headers).b(body);
|
|
3234
|
+
return b.build();
|
|
3235
|
+
}, "se_UpdateWorkflowVersionCommand");
|
|
3097
3236
|
var se_UploadReadSetPartCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3098
3237
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
3099
3238
|
const headers = {
|
|
@@ -3392,11 +3531,31 @@ var de_CreateWorkflowCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3392
3531
|
arn: import_smithy_client.expectString,
|
|
3393
3532
|
id: import_smithy_client.expectString,
|
|
3394
3533
|
status: import_smithy_client.expectString,
|
|
3395
|
-
tags: import_smithy_client._json
|
|
3534
|
+
tags: import_smithy_client._json,
|
|
3535
|
+
uuid: import_smithy_client.expectString
|
|
3396
3536
|
});
|
|
3397
3537
|
Object.assign(contents, doc);
|
|
3398
3538
|
return contents;
|
|
3399
3539
|
}, "de_CreateWorkflowCommand");
|
|
3540
|
+
var de_CreateWorkflowVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3541
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
3542
|
+
return de_CommandError(output, context);
|
|
3543
|
+
}
|
|
3544
|
+
const contents = (0, import_smithy_client.map)({
|
|
3545
|
+
$metadata: deserializeMetadata(output)
|
|
3546
|
+
});
|
|
3547
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3548
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3549
|
+
arn: import_smithy_client.expectString,
|
|
3550
|
+
status: import_smithy_client.expectString,
|
|
3551
|
+
tags: import_smithy_client._json,
|
|
3552
|
+
uuid: import_smithy_client.expectString,
|
|
3553
|
+
versionName: import_smithy_client.expectString,
|
|
3554
|
+
workflowId: import_smithy_client.expectString
|
|
3555
|
+
});
|
|
3556
|
+
Object.assign(contents, doc);
|
|
3557
|
+
return contents;
|
|
3558
|
+
}, "de_CreateWorkflowVersionCommand");
|
|
3400
3559
|
var de_DeleteAnnotationStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3401
3560
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3402
3561
|
return de_CommandError(output, context);
|
|
@@ -3533,6 +3692,16 @@ var de_DeleteWorkflowCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3533
3692
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3534
3693
|
return contents;
|
|
3535
3694
|
}, "de_DeleteWorkflowCommand");
|
|
3695
|
+
var de_DeleteWorkflowVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3696
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
3697
|
+
return de_CommandError(output, context);
|
|
3698
|
+
}
|
|
3699
|
+
const contents = (0, import_smithy_client.map)({
|
|
3700
|
+
$metadata: deserializeMetadata(output)
|
|
3701
|
+
});
|
|
3702
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3703
|
+
return contents;
|
|
3704
|
+
}, "de_DeleteWorkflowVersionCommand");
|
|
3536
3705
|
var de_GetAnnotationImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3537
3706
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3538
3707
|
return de_CommandError(output, context);
|
|
@@ -3836,7 +4005,9 @@ var de_GetRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3836
4005
|
uuid: import_smithy_client.expectString,
|
|
3837
4006
|
workflowId: import_smithy_client.expectString,
|
|
3838
4007
|
workflowOwnerId: import_smithy_client.expectString,
|
|
3839
|
-
workflowType: import_smithy_client.expectString
|
|
4008
|
+
workflowType: import_smithy_client.expectString,
|
|
4009
|
+
workflowUuid: import_smithy_client.expectString,
|
|
4010
|
+
workflowVersionName: import_smithy_client.expectString
|
|
3840
4011
|
});
|
|
3841
4012
|
Object.assign(contents, doc);
|
|
3842
4013
|
return contents;
|
|
@@ -4045,12 +4216,47 @@ var de_GetWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4045
4216
|
status: import_smithy_client.expectString,
|
|
4046
4217
|
statusMessage: import_smithy_client.expectString,
|
|
4047
4218
|
storageCapacity: import_smithy_client.expectInt32,
|
|
4219
|
+
storageType: import_smithy_client.expectString,
|
|
4048
4220
|
tags: import_smithy_client._json,
|
|
4049
|
-
type: import_smithy_client.expectString
|
|
4221
|
+
type: import_smithy_client.expectString,
|
|
4222
|
+
uuid: import_smithy_client.expectString
|
|
4050
4223
|
});
|
|
4051
4224
|
Object.assign(contents, doc);
|
|
4052
4225
|
return contents;
|
|
4053
4226
|
}, "de_GetWorkflowCommand");
|
|
4227
|
+
var de_GetWorkflowVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4228
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4229
|
+
return de_CommandError(output, context);
|
|
4230
|
+
}
|
|
4231
|
+
const contents = (0, import_smithy_client.map)({
|
|
4232
|
+
$metadata: deserializeMetadata(output)
|
|
4233
|
+
});
|
|
4234
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
4235
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4236
|
+
accelerators: import_smithy_client.expectString,
|
|
4237
|
+
arn: import_smithy_client.expectString,
|
|
4238
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
4239
|
+
definition: import_smithy_client.expectString,
|
|
4240
|
+
description: import_smithy_client.expectString,
|
|
4241
|
+
digest: import_smithy_client.expectString,
|
|
4242
|
+
engine: import_smithy_client.expectString,
|
|
4243
|
+
main: import_smithy_client.expectString,
|
|
4244
|
+
metadata: import_smithy_client._json,
|
|
4245
|
+
parameterTemplate: import_smithy_client._json,
|
|
4246
|
+
status: import_smithy_client.expectString,
|
|
4247
|
+
statusMessage: import_smithy_client.expectString,
|
|
4248
|
+
storageCapacity: import_smithy_client.expectInt32,
|
|
4249
|
+
storageType: import_smithy_client.expectString,
|
|
4250
|
+
tags: import_smithy_client._json,
|
|
4251
|
+
type: import_smithy_client.expectString,
|
|
4252
|
+
uuid: import_smithy_client.expectString,
|
|
4253
|
+
versionName: import_smithy_client.expectString,
|
|
4254
|
+
workflowBucketOwnerId: import_smithy_client.expectString,
|
|
4255
|
+
workflowId: import_smithy_client.expectString
|
|
4256
|
+
});
|
|
4257
|
+
Object.assign(contents, doc);
|
|
4258
|
+
return contents;
|
|
4259
|
+
}, "de_GetWorkflowVersionCommand");
|
|
4054
4260
|
var de_ListAnnotationImportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4055
4261
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4056
4262
|
return de_CommandError(output, context);
|
|
@@ -4380,6 +4586,21 @@ var de_ListWorkflowsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
4380
4586
|
Object.assign(contents, doc);
|
|
4381
4587
|
return contents;
|
|
4382
4588
|
}, "de_ListWorkflowsCommand");
|
|
4589
|
+
var de_ListWorkflowVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4590
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4591
|
+
return de_CommandError(output, context);
|
|
4592
|
+
}
|
|
4593
|
+
const contents = (0, import_smithy_client.map)({
|
|
4594
|
+
$metadata: deserializeMetadata(output)
|
|
4595
|
+
});
|
|
4596
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
4597
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4598
|
+
items: /* @__PURE__ */ __name((_) => de_WorkflowVersionList(_, context), "items"),
|
|
4599
|
+
nextToken: import_smithy_client.expectString
|
|
4600
|
+
});
|
|
4601
|
+
Object.assign(contents, doc);
|
|
4602
|
+
return contents;
|
|
4603
|
+
}, "de_ListWorkflowVersionsCommand");
|
|
4383
4604
|
var de_PutS3AccessPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4384
4605
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4385
4606
|
return de_CommandError(output, context);
|
|
@@ -4653,6 +4874,16 @@ var de_UpdateWorkflowCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
4653
4874
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4654
4875
|
return contents;
|
|
4655
4876
|
}, "de_UpdateWorkflowCommand");
|
|
4877
|
+
var de_UpdateWorkflowVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4878
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
4879
|
+
return de_CommandError(output, context);
|
|
4880
|
+
}
|
|
4881
|
+
const contents = (0, import_smithy_client.map)({
|
|
4882
|
+
$metadata: deserializeMetadata(output)
|
|
4883
|
+
});
|
|
4884
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4885
|
+
return contents;
|
|
4886
|
+
}, "de_UpdateWorkflowVersionCommand");
|
|
4656
4887
|
var de_UploadReadSetPartCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4657
4888
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4658
4889
|
return de_CommandError(output, context);
|
|
@@ -5195,7 +5426,8 @@ var de_RunListItem = /* @__PURE__ */ __name((output, context) => {
|
|
|
5195
5426
|
stopTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "stopTime"),
|
|
5196
5427
|
storageCapacity: import_smithy_client.expectInt32,
|
|
5197
5428
|
storageType: import_smithy_client.expectString,
|
|
5198
|
-
workflowId: import_smithy_client.expectString
|
|
5429
|
+
workflowId: import_smithy_client.expectString,
|
|
5430
|
+
workflowVersionName: import_smithy_client.expectString
|
|
5199
5431
|
});
|
|
5200
5432
|
}, "de_RunListItem");
|
|
5201
5433
|
var de_RunParameters = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -5322,6 +5554,25 @@ var de_WorkflowListItem = /* @__PURE__ */ __name((output, context) => {
|
|
|
5322
5554
|
type: import_smithy_client.expectString
|
|
5323
5555
|
});
|
|
5324
5556
|
}, "de_WorkflowListItem");
|
|
5557
|
+
var de_WorkflowVersionList = /* @__PURE__ */ __name((output, context) => {
|
|
5558
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
5559
|
+
return de_WorkflowVersionListItem(entry, context);
|
|
5560
|
+
});
|
|
5561
|
+
return retVal;
|
|
5562
|
+
}, "de_WorkflowVersionList");
|
|
5563
|
+
var de_WorkflowVersionListItem = /* @__PURE__ */ __name((output, context) => {
|
|
5564
|
+
return (0, import_smithy_client.take)(output, {
|
|
5565
|
+
arn: import_smithy_client.expectString,
|
|
5566
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
5567
|
+
description: import_smithy_client.expectString,
|
|
5568
|
+
digest: import_smithy_client.expectString,
|
|
5569
|
+
metadata: import_smithy_client._json,
|
|
5570
|
+
status: import_smithy_client.expectString,
|
|
5571
|
+
type: import_smithy_client.expectString,
|
|
5572
|
+
versionName: import_smithy_client.expectString,
|
|
5573
|
+
workflowId: import_smithy_client.expectString
|
|
5574
|
+
});
|
|
5575
|
+
}, "de_WorkflowVersionListItem");
|
|
5325
5576
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
5326
5577
|
httpStatusCode: output.statusCode,
|
|
5327
5578
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -5596,6 +5847,21 @@ var CreateWorkflowCommand = class extends import_smithy_client.Command.classBuil
|
|
|
5596
5847
|
}
|
|
5597
5848
|
};
|
|
5598
5849
|
|
|
5850
|
+
// src/commands/CreateWorkflowVersionCommand.ts
|
|
5851
|
+
|
|
5852
|
+
|
|
5853
|
+
|
|
5854
|
+
var CreateWorkflowVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5855
|
+
return [
|
|
5856
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5857
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5858
|
+
];
|
|
5859
|
+
}).s("Omics", "CreateWorkflowVersion", {}).n("OmicsClient", "CreateWorkflowVersionCommand").f(void 0, void 0).ser(se_CreateWorkflowVersionCommand).de(de_CreateWorkflowVersionCommand).build() {
|
|
5860
|
+
static {
|
|
5861
|
+
__name(this, "CreateWorkflowVersionCommand");
|
|
5862
|
+
}
|
|
5863
|
+
};
|
|
5864
|
+
|
|
5599
5865
|
// src/commands/DeleteAnnotationStoreCommand.ts
|
|
5600
5866
|
|
|
5601
5867
|
|
|
@@ -5776,6 +6042,21 @@ var DeleteWorkflowCommand = class extends import_smithy_client.Command.classBuil
|
|
|
5776
6042
|
}
|
|
5777
6043
|
};
|
|
5778
6044
|
|
|
6045
|
+
// src/commands/DeleteWorkflowVersionCommand.ts
|
|
6046
|
+
|
|
6047
|
+
|
|
6048
|
+
|
|
6049
|
+
var DeleteWorkflowVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6050
|
+
return [
|
|
6051
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6052
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6053
|
+
];
|
|
6054
|
+
}).s("Omics", "DeleteWorkflowVersion", {}).n("OmicsClient", "DeleteWorkflowVersionCommand").f(void 0, void 0).ser(se_DeleteWorkflowVersionCommand).de(de_DeleteWorkflowVersionCommand).build() {
|
|
6055
|
+
static {
|
|
6056
|
+
__name(this, "DeleteWorkflowVersionCommand");
|
|
6057
|
+
}
|
|
6058
|
+
};
|
|
6059
|
+
|
|
5779
6060
|
// src/commands/GetAnnotationImportJobCommand.ts
|
|
5780
6061
|
|
|
5781
6062
|
|
|
@@ -6106,6 +6387,21 @@ var GetWorkflowCommand = class extends import_smithy_client.Command.classBuilder
|
|
|
6106
6387
|
}
|
|
6107
6388
|
};
|
|
6108
6389
|
|
|
6390
|
+
// src/commands/GetWorkflowVersionCommand.ts
|
|
6391
|
+
|
|
6392
|
+
|
|
6393
|
+
|
|
6394
|
+
var GetWorkflowVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6395
|
+
return [
|
|
6396
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6397
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6398
|
+
];
|
|
6399
|
+
}).s("Omics", "GetWorkflowVersion", {}).n("OmicsClient", "GetWorkflowVersionCommand").f(void 0, void 0).ser(se_GetWorkflowVersionCommand).de(de_GetWorkflowVersionCommand).build() {
|
|
6400
|
+
static {
|
|
6401
|
+
__name(this, "GetWorkflowVersionCommand");
|
|
6402
|
+
}
|
|
6403
|
+
};
|
|
6404
|
+
|
|
6109
6405
|
// src/commands/ListAnnotationImportJobsCommand.ts
|
|
6110
6406
|
|
|
6111
6407
|
|
|
@@ -6436,6 +6732,21 @@ var ListWorkflowsCommand = class extends import_smithy_client.Command.classBuild
|
|
|
6436
6732
|
}
|
|
6437
6733
|
};
|
|
6438
6734
|
|
|
6735
|
+
// src/commands/ListWorkflowVersionsCommand.ts
|
|
6736
|
+
|
|
6737
|
+
|
|
6738
|
+
|
|
6739
|
+
var ListWorkflowVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6740
|
+
return [
|
|
6741
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6742
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6743
|
+
];
|
|
6744
|
+
}).s("Omics", "ListWorkflowVersions", {}).n("OmicsClient", "ListWorkflowVersionsCommand").f(void 0, void 0).ser(se_ListWorkflowVersionsCommand).de(de_ListWorkflowVersionsCommand).build() {
|
|
6745
|
+
static {
|
|
6746
|
+
__name(this, "ListWorkflowVersionsCommand");
|
|
6747
|
+
}
|
|
6748
|
+
};
|
|
6749
|
+
|
|
6439
6750
|
// src/commands/PutS3AccessPolicyCommand.ts
|
|
6440
6751
|
|
|
6441
6752
|
|
|
@@ -6691,6 +7002,21 @@ var UpdateWorkflowCommand = class extends import_smithy_client.Command.classBuil
|
|
|
6691
7002
|
}
|
|
6692
7003
|
};
|
|
6693
7004
|
|
|
7005
|
+
// src/commands/UpdateWorkflowVersionCommand.ts
|
|
7006
|
+
|
|
7007
|
+
|
|
7008
|
+
|
|
7009
|
+
var UpdateWorkflowVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7010
|
+
return [
|
|
7011
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7012
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7013
|
+
];
|
|
7014
|
+
}).s("Omics", "UpdateWorkflowVersion", {}).n("OmicsClient", "UpdateWorkflowVersionCommand").f(void 0, void 0).ser(se_UpdateWorkflowVersionCommand).de(de_UpdateWorkflowVersionCommand).build() {
|
|
7015
|
+
static {
|
|
7016
|
+
__name(this, "UpdateWorkflowVersionCommand");
|
|
7017
|
+
}
|
|
7018
|
+
};
|
|
7019
|
+
|
|
6694
7020
|
// src/commands/UploadReadSetPartCommand.ts
|
|
6695
7021
|
|
|
6696
7022
|
|
|
@@ -6725,6 +7051,7 @@ var commands = {
|
|
|
6725
7051
|
CreateShareCommand,
|
|
6726
7052
|
CreateVariantStoreCommand,
|
|
6727
7053
|
CreateWorkflowCommand,
|
|
7054
|
+
CreateWorkflowVersionCommand,
|
|
6728
7055
|
DeleteAnnotationStoreCommand,
|
|
6729
7056
|
DeleteAnnotationStoreVersionsCommand,
|
|
6730
7057
|
DeleteReferenceCommand,
|
|
@@ -6737,6 +7064,7 @@ var commands = {
|
|
|
6737
7064
|
DeleteShareCommand,
|
|
6738
7065
|
DeleteVariantStoreCommand,
|
|
6739
7066
|
DeleteWorkflowCommand,
|
|
7067
|
+
DeleteWorkflowVersionCommand,
|
|
6740
7068
|
GetAnnotationImportJobCommand,
|
|
6741
7069
|
GetAnnotationStoreCommand,
|
|
6742
7070
|
GetAnnotationStoreVersionCommand,
|
|
@@ -6759,6 +7087,7 @@ var commands = {
|
|
|
6759
7087
|
GetVariantImportJobCommand,
|
|
6760
7088
|
GetVariantStoreCommand,
|
|
6761
7089
|
GetWorkflowCommand,
|
|
7090
|
+
GetWorkflowVersionCommand,
|
|
6762
7091
|
ListAnnotationImportJobsCommand,
|
|
6763
7092
|
ListAnnotationStoresCommand,
|
|
6764
7093
|
ListAnnotationStoreVersionsCommand,
|
|
@@ -6781,6 +7110,7 @@ var commands = {
|
|
|
6781
7110
|
ListVariantImportJobsCommand,
|
|
6782
7111
|
ListVariantStoresCommand,
|
|
6783
7112
|
ListWorkflowsCommand,
|
|
7113
|
+
ListWorkflowVersionsCommand,
|
|
6784
7114
|
PutS3AccessPolicyCommand,
|
|
6785
7115
|
StartAnnotationImportJobCommand,
|
|
6786
7116
|
StartReadSetActivationJobCommand,
|
|
@@ -6798,6 +7128,7 @@ var commands = {
|
|
|
6798
7128
|
UpdateSequenceStoreCommand,
|
|
6799
7129
|
UpdateVariantStoreCommand,
|
|
6800
7130
|
UpdateWorkflowCommand,
|
|
7131
|
+
UpdateWorkflowVersionCommand,
|
|
6801
7132
|
UploadReadSetPartCommand
|
|
6802
7133
|
};
|
|
6803
7134
|
var Omics = class extends OmicsClient {
|
|
@@ -6887,6 +7218,10 @@ var paginateListVariantImportJobs = (0, import_core.createPaginator)(OmicsClient
|
|
|
6887
7218
|
|
|
6888
7219
|
var paginateListVariantStores = (0, import_core.createPaginator)(OmicsClient, ListVariantStoresCommand, "nextToken", "nextToken", "maxResults");
|
|
6889
7220
|
|
|
7221
|
+
// src/pagination/ListWorkflowVersionsPaginator.ts
|
|
7222
|
+
|
|
7223
|
+
var paginateListWorkflowVersions = (0, import_core.createPaginator)(OmicsClient, ListWorkflowVersionsCommand, "startingToken", "nextToken", "maxResults");
|
|
7224
|
+
|
|
6890
7225
|
// src/pagination/ListWorkflowsPaginator.ts
|
|
6891
7226
|
|
|
6892
7227
|
var paginateListWorkflows = (0, import_core.createPaginator)(OmicsClient, ListWorkflowsCommand, "startingToken", "nextToken", "maxResults");
|
|
@@ -8011,6 +8346,64 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8011
8346
|
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState17);
|
|
8012
8347
|
return (0, import_util_waiter.checkExceptions)(result);
|
|
8013
8348
|
}, "waitUntilWorkflowActive");
|
|
8349
|
+
|
|
8350
|
+
// src/waiters/waitForWorkflowVersionActive.ts
|
|
8351
|
+
|
|
8352
|
+
var checkState18 = /* @__PURE__ */ __name(async (client, input) => {
|
|
8353
|
+
let reason;
|
|
8354
|
+
try {
|
|
8355
|
+
const result = await client.send(new GetWorkflowVersionCommand(input));
|
|
8356
|
+
reason = result;
|
|
8357
|
+
try {
|
|
8358
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
8359
|
+
return result.status;
|
|
8360
|
+
}, "returnComparator");
|
|
8361
|
+
if (returnComparator() === "ACTIVE") {
|
|
8362
|
+
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
8363
|
+
}
|
|
8364
|
+
} catch (e) {
|
|
8365
|
+
}
|
|
8366
|
+
try {
|
|
8367
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
8368
|
+
return result.status;
|
|
8369
|
+
}, "returnComparator");
|
|
8370
|
+
if (returnComparator() === "CREATING") {
|
|
8371
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
8372
|
+
}
|
|
8373
|
+
} catch (e) {
|
|
8374
|
+
}
|
|
8375
|
+
try {
|
|
8376
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
8377
|
+
return result.status;
|
|
8378
|
+
}, "returnComparator");
|
|
8379
|
+
if (returnComparator() === "UPDATING") {
|
|
8380
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
8381
|
+
}
|
|
8382
|
+
} catch (e) {
|
|
8383
|
+
}
|
|
8384
|
+
try {
|
|
8385
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
8386
|
+
return result.status;
|
|
8387
|
+
}, "returnComparator");
|
|
8388
|
+
if (returnComparator() === "FAILED") {
|
|
8389
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
8390
|
+
}
|
|
8391
|
+
} catch (e) {
|
|
8392
|
+
}
|
|
8393
|
+
} catch (exception) {
|
|
8394
|
+
reason = exception;
|
|
8395
|
+
}
|
|
8396
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
8397
|
+
}, "checkState");
|
|
8398
|
+
var waitForWorkflowVersionActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
8399
|
+
const serviceDefaults = { minDelay: 3, maxDelay: 30 };
|
|
8400
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState18);
|
|
8401
|
+
}, "waitForWorkflowVersionActive");
|
|
8402
|
+
var waitUntilWorkflowVersionActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
8403
|
+
const serviceDefaults = { minDelay: 3, maxDelay: 30 };
|
|
8404
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState18);
|
|
8405
|
+
return (0, import_util_waiter.checkExceptions)(result);
|
|
8406
|
+
}, "waitUntilWorkflowVersionActive");
|
|
8014
8407
|
// Annotate the CommonJS export names for ESM import in node:
|
|
8015
8408
|
|
|
8016
8409
|
0 && (module.exports = {
|
|
@@ -8036,6 +8429,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8036
8429
|
CreateShareCommand,
|
|
8037
8430
|
CreateVariantStoreCommand,
|
|
8038
8431
|
CreateWorkflowCommand,
|
|
8432
|
+
CreateWorkflowVersionCommand,
|
|
8039
8433
|
DeleteAnnotationStoreCommand,
|
|
8040
8434
|
DeleteAnnotationStoreVersionsCommand,
|
|
8041
8435
|
DeleteReferenceCommand,
|
|
@@ -8048,6 +8442,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8048
8442
|
DeleteShareCommand,
|
|
8049
8443
|
DeleteVariantStoreCommand,
|
|
8050
8444
|
DeleteWorkflowCommand,
|
|
8445
|
+
DeleteWorkflowVersionCommand,
|
|
8051
8446
|
GetAnnotationImportJobCommand,
|
|
8052
8447
|
GetAnnotationStoreCommand,
|
|
8053
8448
|
GetAnnotationStoreVersionCommand,
|
|
@@ -8070,6 +8465,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8070
8465
|
GetVariantImportJobCommand,
|
|
8071
8466
|
GetVariantStoreCommand,
|
|
8072
8467
|
GetWorkflowCommand,
|
|
8468
|
+
GetWorkflowVersionCommand,
|
|
8073
8469
|
ListAnnotationImportJobsCommand,
|
|
8074
8470
|
ListAnnotationStoreVersionsCommand,
|
|
8075
8471
|
ListAnnotationStoresCommand,
|
|
@@ -8091,6 +8487,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8091
8487
|
ListTagsForResourceCommand,
|
|
8092
8488
|
ListVariantImportJobsCommand,
|
|
8093
8489
|
ListVariantStoresCommand,
|
|
8490
|
+
ListWorkflowVersionsCommand,
|
|
8094
8491
|
ListWorkflowsCommand,
|
|
8095
8492
|
PutS3AccessPolicyCommand,
|
|
8096
8493
|
StartAnnotationImportJobCommand,
|
|
@@ -8109,6 +8506,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8109
8506
|
UpdateSequenceStoreCommand,
|
|
8110
8507
|
UpdateVariantStoreCommand,
|
|
8111
8508
|
UpdateWorkflowCommand,
|
|
8509
|
+
UpdateWorkflowVersionCommand,
|
|
8112
8510
|
UploadReadSetPartCommand,
|
|
8113
8511
|
paginateListAnnotationImportJobs,
|
|
8114
8512
|
paginateListAnnotationStoreVersions,
|
|
@@ -8130,6 +8528,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8130
8528
|
paginateListShares,
|
|
8131
8529
|
paginateListVariantImportJobs,
|
|
8132
8530
|
paginateListVariantStores,
|
|
8531
|
+
paginateListWorkflowVersions,
|
|
8133
8532
|
paginateListWorkflows,
|
|
8134
8533
|
waitForAnnotationImportJobCreated,
|
|
8135
8534
|
waitUntilAnnotationImportJobCreated,
|
|
@@ -8165,6 +8564,8 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8165
8564
|
waitUntilVariantStoreDeleted,
|
|
8166
8565
|
waitForWorkflowActive,
|
|
8167
8566
|
waitUntilWorkflowActive,
|
|
8567
|
+
waitForWorkflowVersionActive,
|
|
8568
|
+
waitUntilWorkflowVersionActive,
|
|
8168
8569
|
AccessDeniedException,
|
|
8169
8570
|
InternalServerException,
|
|
8170
8571
|
NotSupportedOperationException,
|
|
@@ -8197,6 +8598,7 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8197
8598
|
ETagAlgorithmFamily,
|
|
8198
8599
|
SequenceStoreStatus,
|
|
8199
8600
|
WorkflowEngine,
|
|
8601
|
+
StorageType,
|
|
8200
8602
|
WorkflowStatus,
|
|
8201
8603
|
CreationType,
|
|
8202
8604
|
ETagAlgorithm,
|
|
@@ -8217,7 +8619,6 @@ var waitUntilWorkflowActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8217
8619
|
RunLogLevel,
|
|
8218
8620
|
RunRetentionMode,
|
|
8219
8621
|
RunStatus,
|
|
8220
|
-
StorageType,
|
|
8221
8622
|
WorkflowType,
|
|
8222
8623
|
TaskStatus,
|
|
8223
8624
|
StoreType,
|