@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-es/Omics.js
CHANGED
|
@@ -16,6 +16,7 @@ import { CreateSequenceStoreCommand, } from "./commands/CreateSequenceStoreComma
|
|
|
16
16
|
import { CreateShareCommand } from "./commands/CreateShareCommand";
|
|
17
17
|
import { CreateVariantStoreCommand, } from "./commands/CreateVariantStoreCommand";
|
|
18
18
|
import { CreateWorkflowCommand, } from "./commands/CreateWorkflowCommand";
|
|
19
|
+
import { CreateWorkflowVersionCommand, } from "./commands/CreateWorkflowVersionCommand";
|
|
19
20
|
import { DeleteAnnotationStoreCommand, } from "./commands/DeleteAnnotationStoreCommand";
|
|
20
21
|
import { DeleteAnnotationStoreVersionsCommand, } from "./commands/DeleteAnnotationStoreVersionsCommand";
|
|
21
22
|
import { DeleteReferenceCommand, } from "./commands/DeleteReferenceCommand";
|
|
@@ -28,6 +29,7 @@ import { DeleteSequenceStoreCommand, } from "./commands/DeleteSequenceStoreComma
|
|
|
28
29
|
import { DeleteShareCommand } from "./commands/DeleteShareCommand";
|
|
29
30
|
import { DeleteVariantStoreCommand, } from "./commands/DeleteVariantStoreCommand";
|
|
30
31
|
import { DeleteWorkflowCommand, } from "./commands/DeleteWorkflowCommand";
|
|
32
|
+
import { DeleteWorkflowVersionCommand, } from "./commands/DeleteWorkflowVersionCommand";
|
|
31
33
|
import { GetAnnotationImportJobCommand, } from "./commands/GetAnnotationImportJobCommand";
|
|
32
34
|
import { GetAnnotationStoreCommand, } from "./commands/GetAnnotationStoreCommand";
|
|
33
35
|
import { GetAnnotationStoreVersionCommand, } from "./commands/GetAnnotationStoreVersionCommand";
|
|
@@ -50,6 +52,7 @@ import { GetShareCommand } from "./commands/GetShareCommand";
|
|
|
50
52
|
import { GetVariantImportJobCommand, } from "./commands/GetVariantImportJobCommand";
|
|
51
53
|
import { GetVariantStoreCommand, } from "./commands/GetVariantStoreCommand";
|
|
52
54
|
import { GetWorkflowCommand } from "./commands/GetWorkflowCommand";
|
|
55
|
+
import { GetWorkflowVersionCommand, } from "./commands/GetWorkflowVersionCommand";
|
|
53
56
|
import { ListAnnotationImportJobsCommand, } from "./commands/ListAnnotationImportJobsCommand";
|
|
54
57
|
import { ListAnnotationStoresCommand, } from "./commands/ListAnnotationStoresCommand";
|
|
55
58
|
import { ListAnnotationStoreVersionsCommand, } from "./commands/ListAnnotationStoreVersionsCommand";
|
|
@@ -72,6 +75,7 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
72
75
|
import { ListVariantImportJobsCommand, } from "./commands/ListVariantImportJobsCommand";
|
|
73
76
|
import { ListVariantStoresCommand, } from "./commands/ListVariantStoresCommand";
|
|
74
77
|
import { ListWorkflowsCommand, } from "./commands/ListWorkflowsCommand";
|
|
78
|
+
import { ListWorkflowVersionsCommand, } from "./commands/ListWorkflowVersionsCommand";
|
|
75
79
|
import { PutS3AccessPolicyCommand, } from "./commands/PutS3AccessPolicyCommand";
|
|
76
80
|
import { StartAnnotationImportJobCommand, } from "./commands/StartAnnotationImportJobCommand";
|
|
77
81
|
import { StartReadSetActivationJobCommand, } from "./commands/StartReadSetActivationJobCommand";
|
|
@@ -89,6 +93,7 @@ import { UpdateRunGroupCommand, } from "./commands/UpdateRunGroupCommand";
|
|
|
89
93
|
import { UpdateSequenceStoreCommand, } from "./commands/UpdateSequenceStoreCommand";
|
|
90
94
|
import { UpdateVariantStoreCommand, } from "./commands/UpdateVariantStoreCommand";
|
|
91
95
|
import { UpdateWorkflowCommand, } from "./commands/UpdateWorkflowCommand";
|
|
96
|
+
import { UpdateWorkflowVersionCommand, } from "./commands/UpdateWorkflowVersionCommand";
|
|
92
97
|
import { UploadReadSetPartCommand, } from "./commands/UploadReadSetPartCommand";
|
|
93
98
|
import { OmicsClient } from "./OmicsClient";
|
|
94
99
|
const commands = {
|
|
@@ -109,6 +114,7 @@ const commands = {
|
|
|
109
114
|
CreateShareCommand,
|
|
110
115
|
CreateVariantStoreCommand,
|
|
111
116
|
CreateWorkflowCommand,
|
|
117
|
+
CreateWorkflowVersionCommand,
|
|
112
118
|
DeleteAnnotationStoreCommand,
|
|
113
119
|
DeleteAnnotationStoreVersionsCommand,
|
|
114
120
|
DeleteReferenceCommand,
|
|
@@ -121,6 +127,7 @@ const commands = {
|
|
|
121
127
|
DeleteShareCommand,
|
|
122
128
|
DeleteVariantStoreCommand,
|
|
123
129
|
DeleteWorkflowCommand,
|
|
130
|
+
DeleteWorkflowVersionCommand,
|
|
124
131
|
GetAnnotationImportJobCommand,
|
|
125
132
|
GetAnnotationStoreCommand,
|
|
126
133
|
GetAnnotationStoreVersionCommand,
|
|
@@ -143,6 +150,7 @@ const commands = {
|
|
|
143
150
|
GetVariantImportJobCommand,
|
|
144
151
|
GetVariantStoreCommand,
|
|
145
152
|
GetWorkflowCommand,
|
|
153
|
+
GetWorkflowVersionCommand,
|
|
146
154
|
ListAnnotationImportJobsCommand,
|
|
147
155
|
ListAnnotationStoresCommand,
|
|
148
156
|
ListAnnotationStoreVersionsCommand,
|
|
@@ -165,6 +173,7 @@ const commands = {
|
|
|
165
173
|
ListVariantImportJobsCommand,
|
|
166
174
|
ListVariantStoresCommand,
|
|
167
175
|
ListWorkflowsCommand,
|
|
176
|
+
ListWorkflowVersionsCommand,
|
|
168
177
|
PutS3AccessPolicyCommand,
|
|
169
178
|
StartAnnotationImportJobCommand,
|
|
170
179
|
StartReadSetActivationJobCommand,
|
|
@@ -182,6 +191,7 @@ const commands = {
|
|
|
182
191
|
UpdateSequenceStoreCommand,
|
|
183
192
|
UpdateVariantStoreCommand,
|
|
184
193
|
UpdateWorkflowCommand,
|
|
194
|
+
UpdateWorkflowVersionCommand,
|
|
185
195
|
UploadReadSetPartCommand,
|
|
186
196
|
};
|
|
187
197
|
export class Omics extends OmicsClient {
|
|
@@ -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_CreateWorkflowVersionCommand, se_CreateWorkflowVersionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateWorkflowVersionCommand 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", "CreateWorkflowVersion", {})
|
|
17
|
+
.n("OmicsClient", "CreateWorkflowVersionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateWorkflowVersionCommand)
|
|
20
|
+
.de(de_CreateWorkflowVersionCommand)
|
|
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_DeleteWorkflowVersionCommand, se_DeleteWorkflowVersionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteWorkflowVersionCommand 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", "DeleteWorkflowVersion", {})
|
|
17
|
+
.n("OmicsClient", "DeleteWorkflowVersionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteWorkflowVersionCommand)
|
|
20
|
+
.de(de_DeleteWorkflowVersionCommand)
|
|
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_GetWorkflowVersionCommand, se_GetWorkflowVersionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetWorkflowVersionCommand 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", "GetWorkflowVersion", {})
|
|
17
|
+
.n("OmicsClient", "GetWorkflowVersionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetWorkflowVersionCommand)
|
|
20
|
+
.de(de_GetWorkflowVersionCommand)
|
|
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_ListWorkflowVersionsCommand, se_ListWorkflowVersionsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListWorkflowVersionsCommand 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", "ListWorkflowVersions", {})
|
|
17
|
+
.n("OmicsClient", "ListWorkflowVersionsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListWorkflowVersionsCommand)
|
|
20
|
+
.de(de_ListWorkflowVersionsCommand)
|
|
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_UpdateWorkflowVersionCommand, se_UpdateWorkflowVersionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateWorkflowVersionCommand 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", "UpdateWorkflowVersion", {})
|
|
17
|
+
.n("OmicsClient", "UpdateWorkflowVersionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateWorkflowVersionCommand)
|
|
20
|
+
.de(de_UpdateWorkflowVersionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -15,6 +15,7 @@ export * from "./CreateSequenceStoreCommand";
|
|
|
15
15
|
export * from "./CreateShareCommand";
|
|
16
16
|
export * from "./CreateVariantStoreCommand";
|
|
17
17
|
export * from "./CreateWorkflowCommand";
|
|
18
|
+
export * from "./CreateWorkflowVersionCommand";
|
|
18
19
|
export * from "./DeleteAnnotationStoreCommand";
|
|
19
20
|
export * from "./DeleteAnnotationStoreVersionsCommand";
|
|
20
21
|
export * from "./DeleteReferenceCommand";
|
|
@@ -27,6 +28,7 @@ export * from "./DeleteSequenceStoreCommand";
|
|
|
27
28
|
export * from "./DeleteShareCommand";
|
|
28
29
|
export * from "./DeleteVariantStoreCommand";
|
|
29
30
|
export * from "./DeleteWorkflowCommand";
|
|
31
|
+
export * from "./DeleteWorkflowVersionCommand";
|
|
30
32
|
export * from "./GetAnnotationImportJobCommand";
|
|
31
33
|
export * from "./GetAnnotationStoreCommand";
|
|
32
34
|
export * from "./GetAnnotationStoreVersionCommand";
|
|
@@ -49,6 +51,7 @@ export * from "./GetShareCommand";
|
|
|
49
51
|
export * from "./GetVariantImportJobCommand";
|
|
50
52
|
export * from "./GetVariantStoreCommand";
|
|
51
53
|
export * from "./GetWorkflowCommand";
|
|
54
|
+
export * from "./GetWorkflowVersionCommand";
|
|
52
55
|
export * from "./ListAnnotationImportJobsCommand";
|
|
53
56
|
export * from "./ListAnnotationStoreVersionsCommand";
|
|
54
57
|
export * from "./ListAnnotationStoresCommand";
|
|
@@ -70,6 +73,7 @@ export * from "./ListSharesCommand";
|
|
|
70
73
|
export * from "./ListTagsForResourceCommand";
|
|
71
74
|
export * from "./ListVariantImportJobsCommand";
|
|
72
75
|
export * from "./ListVariantStoresCommand";
|
|
76
|
+
export * from "./ListWorkflowVersionsCommand";
|
|
73
77
|
export * from "./ListWorkflowsCommand";
|
|
74
78
|
export * from "./PutS3AccessPolicyCommand";
|
|
75
79
|
export * from "./StartAnnotationImportJobCommand";
|
|
@@ -88,4 +92,5 @@ export * from "./UpdateRunGroupCommand";
|
|
|
88
92
|
export * from "./UpdateSequenceStoreCommand";
|
|
89
93
|
export * from "./UpdateVariantStoreCommand";
|
|
90
94
|
export * from "./UpdateWorkflowCommand";
|
|
95
|
+
export * from "./UpdateWorkflowVersionCommand";
|
|
91
96
|
export * from "./UploadReadSetPartCommand";
|
package/dist-es/models/index.js
CHANGED
|
@@ -262,6 +262,10 @@ export const WorkflowEngine = {
|
|
|
262
262
|
NEXTFLOW: "NEXTFLOW",
|
|
263
263
|
WDL: "WDL",
|
|
264
264
|
};
|
|
265
|
+
export const StorageType = {
|
|
266
|
+
DYNAMIC: "DYNAMIC",
|
|
267
|
+
STATIC: "STATIC",
|
|
268
|
+
};
|
|
265
269
|
export const WorkflowStatus = {
|
|
266
270
|
ACTIVE: "ACTIVE",
|
|
267
271
|
CREATING: "CREATING",
|
|
@@ -397,10 +401,6 @@ export const RunStatus = {
|
|
|
397
401
|
STARTING: "STARTING",
|
|
398
402
|
STOPPING: "STOPPING",
|
|
399
403
|
};
|
|
400
|
-
export const StorageType = {
|
|
401
|
-
DYNAMIC: "DYNAMIC",
|
|
402
|
-
STATIC: "STATIC",
|
|
403
|
-
};
|
|
404
404
|
export const WorkflowType = {
|
|
405
405
|
PRIVATE: "PRIVATE",
|
|
406
406
|
READY2RUN: "READY2RUN",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListWorkflowVersionsCommand, } from "../commands/ListWorkflowVersionsCommand";
|
|
3
|
+
import { OmicsClient } from "../OmicsClient";
|
|
4
|
+
export const paginateListWorkflowVersions = createPaginator(OmicsClient, ListWorkflowVersionsCommand, "startingToken", "nextToken", "maxResults");
|
|
@@ -19,4 +19,5 @@ export * from "./ListSequenceStoresPaginator";
|
|
|
19
19
|
export * from "./ListSharesPaginator";
|
|
20
20
|
export * from "./ListVariantImportJobsPaginator";
|
|
21
21
|
export * from "./ListVariantStoresPaginator";
|
|
22
|
+
export * from "./ListWorkflowVersionsPaginator";
|
|
22
23
|
export * from "./ListWorkflowsPaginator";
|
|
@@ -393,6 +393,7 @@ export const se_CreateWorkflowCommand = async (input, context) => {
|
|
|
393
393
|
parameterTemplate: (_) => _json(_),
|
|
394
394
|
requestId: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
395
395
|
storageCapacity: [],
|
|
396
|
+
storageType: [],
|
|
396
397
|
tags: (_) => _json(_),
|
|
397
398
|
}));
|
|
398
399
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -406,6 +407,40 @@ export const se_CreateWorkflowCommand = async (input, context) => {
|
|
|
406
407
|
b.m("POST").h(headers).b(body);
|
|
407
408
|
return b.build();
|
|
408
409
|
};
|
|
410
|
+
export const se_CreateWorkflowVersionCommand = async (input, context) => {
|
|
411
|
+
const b = rb(input, context);
|
|
412
|
+
const headers = {
|
|
413
|
+
"content-type": "application/json",
|
|
414
|
+
};
|
|
415
|
+
b.bp("/workflow/{workflowId}/version");
|
|
416
|
+
b.p("workflowId", () => input.workflowId, "{workflowId}", false);
|
|
417
|
+
let body;
|
|
418
|
+
body = JSON.stringify(take(input, {
|
|
419
|
+
accelerators: [],
|
|
420
|
+
definitionUri: [],
|
|
421
|
+
definitionZip: (_) => context.base64Encoder(_),
|
|
422
|
+
description: [],
|
|
423
|
+
engine: [],
|
|
424
|
+
main: [],
|
|
425
|
+
parameterTemplate: (_) => _json(_),
|
|
426
|
+
requestId: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
427
|
+
storageCapacity: [],
|
|
428
|
+
storageType: [],
|
|
429
|
+
tags: (_) => _json(_),
|
|
430
|
+
versionName: [],
|
|
431
|
+
workflowBucketOwnerId: [],
|
|
432
|
+
}));
|
|
433
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
434
|
+
if (context.disableHostPrefix !== true) {
|
|
435
|
+
resolvedHostname = "workflows-" + resolvedHostname;
|
|
436
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
437
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
b.hn(resolvedHostname);
|
|
441
|
+
b.m("POST").h(headers).b(body);
|
|
442
|
+
return b.build();
|
|
443
|
+
};
|
|
409
444
|
export const se_DeleteAnnotationStoreCommand = async (input, context) => {
|
|
410
445
|
const b = rb(input, context);
|
|
411
446
|
const headers = {};
|
|
@@ -625,6 +660,24 @@ export const se_DeleteWorkflowCommand = async (input, context) => {
|
|
|
625
660
|
b.m("DELETE").h(headers).b(body);
|
|
626
661
|
return b.build();
|
|
627
662
|
};
|
|
663
|
+
export const se_DeleteWorkflowVersionCommand = async (input, context) => {
|
|
664
|
+
const b = rb(input, context);
|
|
665
|
+
const headers = {};
|
|
666
|
+
b.bp("/workflow/{workflowId}/version/{versionName}");
|
|
667
|
+
b.p("workflowId", () => input.workflowId, "{workflowId}", false);
|
|
668
|
+
b.p("versionName", () => input.versionName, "{versionName}", false);
|
|
669
|
+
let body;
|
|
670
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
671
|
+
if (context.disableHostPrefix !== true) {
|
|
672
|
+
resolvedHostname = "workflows-" + resolvedHostname;
|
|
673
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
674
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
b.hn(resolvedHostname);
|
|
678
|
+
b.m("DELETE").h(headers).b(body);
|
|
679
|
+
return b.build();
|
|
680
|
+
};
|
|
628
681
|
export const se_GetAnnotationImportJobCommand = async (input, context) => {
|
|
629
682
|
const b = rb(input, context);
|
|
630
683
|
const headers = {};
|
|
@@ -1027,6 +1080,29 @@ export const se_GetWorkflowCommand = async (input, context) => {
|
|
|
1027
1080
|
b.m("GET").h(headers).q(query).b(body);
|
|
1028
1081
|
return b.build();
|
|
1029
1082
|
};
|
|
1083
|
+
export const se_GetWorkflowVersionCommand = async (input, context) => {
|
|
1084
|
+
const b = rb(input, context);
|
|
1085
|
+
const headers = {};
|
|
1086
|
+
b.bp("/workflow/{workflowId}/version/{versionName}");
|
|
1087
|
+
b.p("workflowId", () => input.workflowId, "{workflowId}", false);
|
|
1088
|
+
b.p("versionName", () => input.versionName, "{versionName}", false);
|
|
1089
|
+
const query = map({
|
|
1090
|
+
[_t]: [, input[_t]],
|
|
1091
|
+
[_e]: [() => input.export !== void 0, () => input[_e] || []],
|
|
1092
|
+
[_wOI]: [, input[_wOI]],
|
|
1093
|
+
});
|
|
1094
|
+
let body;
|
|
1095
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1096
|
+
if (context.disableHostPrefix !== true) {
|
|
1097
|
+
resolvedHostname = "workflows-" + resolvedHostname;
|
|
1098
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1099
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
b.hn(resolvedHostname);
|
|
1103
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1104
|
+
return b.build();
|
|
1105
|
+
};
|
|
1030
1106
|
export const se_ListAnnotationImportJobsCommand = async (input, context) => {
|
|
1031
1107
|
const b = rb(input, context);
|
|
1032
1108
|
const headers = {
|
|
@@ -1563,6 +1639,29 @@ export const se_ListWorkflowsCommand = async (input, context) => {
|
|
|
1563
1639
|
b.m("GET").h(headers).q(query).b(body);
|
|
1564
1640
|
return b.build();
|
|
1565
1641
|
};
|
|
1642
|
+
export const se_ListWorkflowVersionsCommand = async (input, context) => {
|
|
1643
|
+
const b = rb(input, context);
|
|
1644
|
+
const headers = {};
|
|
1645
|
+
b.bp("/workflow/{workflowId}/version");
|
|
1646
|
+
b.p("workflowId", () => input.workflowId, "{workflowId}", false);
|
|
1647
|
+
const query = map({
|
|
1648
|
+
[_t]: [, input[_t]],
|
|
1649
|
+
[_wOI]: [, input[_wOI]],
|
|
1650
|
+
[_sT]: [, input[_sT]],
|
|
1651
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1652
|
+
});
|
|
1653
|
+
let body;
|
|
1654
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1655
|
+
if (context.disableHostPrefix !== true) {
|
|
1656
|
+
resolvedHostname = "workflows-" + resolvedHostname;
|
|
1657
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1658
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
b.hn(resolvedHostname);
|
|
1662
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1663
|
+
return b.build();
|
|
1664
|
+
};
|
|
1566
1665
|
export const se_PutS3AccessPolicyCommand = async (input, context) => {
|
|
1567
1666
|
const b = rb(input, context);
|
|
1568
1667
|
const headers = {
|
|
@@ -1734,6 +1833,7 @@ export const se_StartRunCommand = async (input, context) => {
|
|
|
1734
1833
|
workflowId: [],
|
|
1735
1834
|
workflowOwnerId: [],
|
|
1736
1835
|
workflowType: [],
|
|
1836
|
+
workflowVersionName: [],
|
|
1737
1837
|
}));
|
|
1738
1838
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1739
1839
|
if (context.disableHostPrefix !== true) {
|
|
@@ -1968,6 +2068,33 @@ export const se_UpdateWorkflowCommand = async (input, context) => {
|
|
|
1968
2068
|
body = JSON.stringify(take(input, {
|
|
1969
2069
|
description: [],
|
|
1970
2070
|
name: [],
|
|
2071
|
+
storageCapacity: [],
|
|
2072
|
+
storageType: [],
|
|
2073
|
+
}));
|
|
2074
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2075
|
+
if (context.disableHostPrefix !== true) {
|
|
2076
|
+
resolvedHostname = "workflows-" + resolvedHostname;
|
|
2077
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
2078
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
b.hn(resolvedHostname);
|
|
2082
|
+
b.m("POST").h(headers).b(body);
|
|
2083
|
+
return b.build();
|
|
2084
|
+
};
|
|
2085
|
+
export const se_UpdateWorkflowVersionCommand = async (input, context) => {
|
|
2086
|
+
const b = rb(input, context);
|
|
2087
|
+
const headers = {
|
|
2088
|
+
"content-type": "application/json",
|
|
2089
|
+
};
|
|
2090
|
+
b.bp("/workflow/{workflowId}/version/{versionName}");
|
|
2091
|
+
b.p("workflowId", () => input.workflowId, "{workflowId}", false);
|
|
2092
|
+
b.p("versionName", () => input.versionName, "{versionName}", false);
|
|
2093
|
+
let body;
|
|
2094
|
+
body = JSON.stringify(take(input, {
|
|
2095
|
+
description: [],
|
|
2096
|
+
storageCapacity: [],
|
|
2097
|
+
storageType: [],
|
|
1971
2098
|
}));
|
|
1972
2099
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1973
2100
|
if (context.disableHostPrefix !== true) {
|
|
@@ -2279,6 +2406,26 @@ export const de_CreateWorkflowCommand = async (output, context) => {
|
|
|
2279
2406
|
id: __expectString,
|
|
2280
2407
|
status: __expectString,
|
|
2281
2408
|
tags: _json,
|
|
2409
|
+
uuid: __expectString,
|
|
2410
|
+
});
|
|
2411
|
+
Object.assign(contents, doc);
|
|
2412
|
+
return contents;
|
|
2413
|
+
};
|
|
2414
|
+
export const de_CreateWorkflowVersionCommand = async (output, context) => {
|
|
2415
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2416
|
+
return de_CommandError(output, context);
|
|
2417
|
+
}
|
|
2418
|
+
const contents = map({
|
|
2419
|
+
$metadata: deserializeMetadata(output),
|
|
2420
|
+
});
|
|
2421
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2422
|
+
const doc = take(data, {
|
|
2423
|
+
arn: __expectString,
|
|
2424
|
+
status: __expectString,
|
|
2425
|
+
tags: _json,
|
|
2426
|
+
uuid: __expectString,
|
|
2427
|
+
versionName: __expectString,
|
|
2428
|
+
workflowId: __expectString,
|
|
2282
2429
|
});
|
|
2283
2430
|
Object.assign(contents, doc);
|
|
2284
2431
|
return contents;
|
|
@@ -2419,6 +2566,16 @@ export const de_DeleteWorkflowCommand = async (output, context) => {
|
|
|
2419
2566
|
await collectBody(output.body, context);
|
|
2420
2567
|
return contents;
|
|
2421
2568
|
};
|
|
2569
|
+
export const de_DeleteWorkflowVersionCommand = async (output, context) => {
|
|
2570
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2571
|
+
return de_CommandError(output, context);
|
|
2572
|
+
}
|
|
2573
|
+
const contents = map({
|
|
2574
|
+
$metadata: deserializeMetadata(output),
|
|
2575
|
+
});
|
|
2576
|
+
await collectBody(output.body, context);
|
|
2577
|
+
return contents;
|
|
2578
|
+
};
|
|
2422
2579
|
export const de_GetAnnotationImportJobCommand = async (output, context) => {
|
|
2423
2580
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2424
2581
|
return de_CommandError(output, context);
|
|
@@ -2723,6 +2880,8 @@ export const de_GetRunCommand = async (output, context) => {
|
|
|
2723
2880
|
workflowId: __expectString,
|
|
2724
2881
|
workflowOwnerId: __expectString,
|
|
2725
2882
|
workflowType: __expectString,
|
|
2883
|
+
workflowUuid: __expectString,
|
|
2884
|
+
workflowVersionName: __expectString,
|
|
2726
2885
|
});
|
|
2727
2886
|
Object.assign(contents, doc);
|
|
2728
2887
|
return contents;
|
|
@@ -2931,8 +3090,43 @@ export const de_GetWorkflowCommand = async (output, context) => {
|
|
|
2931
3090
|
status: __expectString,
|
|
2932
3091
|
statusMessage: __expectString,
|
|
2933
3092
|
storageCapacity: __expectInt32,
|
|
3093
|
+
storageType: __expectString,
|
|
2934
3094
|
tags: _json,
|
|
2935
3095
|
type: __expectString,
|
|
3096
|
+
uuid: __expectString,
|
|
3097
|
+
});
|
|
3098
|
+
Object.assign(contents, doc);
|
|
3099
|
+
return contents;
|
|
3100
|
+
};
|
|
3101
|
+
export const de_GetWorkflowVersionCommand = async (output, context) => {
|
|
3102
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3103
|
+
return de_CommandError(output, context);
|
|
3104
|
+
}
|
|
3105
|
+
const contents = map({
|
|
3106
|
+
$metadata: deserializeMetadata(output),
|
|
3107
|
+
});
|
|
3108
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3109
|
+
const doc = take(data, {
|
|
3110
|
+
accelerators: __expectString,
|
|
3111
|
+
arn: __expectString,
|
|
3112
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3113
|
+
definition: __expectString,
|
|
3114
|
+
description: __expectString,
|
|
3115
|
+
digest: __expectString,
|
|
3116
|
+
engine: __expectString,
|
|
3117
|
+
main: __expectString,
|
|
3118
|
+
metadata: _json,
|
|
3119
|
+
parameterTemplate: _json,
|
|
3120
|
+
status: __expectString,
|
|
3121
|
+
statusMessage: __expectString,
|
|
3122
|
+
storageCapacity: __expectInt32,
|
|
3123
|
+
storageType: __expectString,
|
|
3124
|
+
tags: _json,
|
|
3125
|
+
type: __expectString,
|
|
3126
|
+
uuid: __expectString,
|
|
3127
|
+
versionName: __expectString,
|
|
3128
|
+
workflowBucketOwnerId: __expectString,
|
|
3129
|
+
workflowId: __expectString,
|
|
2936
3130
|
});
|
|
2937
3131
|
Object.assign(contents, doc);
|
|
2938
3132
|
return contents;
|
|
@@ -3266,6 +3460,21 @@ export const de_ListWorkflowsCommand = async (output, context) => {
|
|
|
3266
3460
|
Object.assign(contents, doc);
|
|
3267
3461
|
return contents;
|
|
3268
3462
|
};
|
|
3463
|
+
export const de_ListWorkflowVersionsCommand = async (output, context) => {
|
|
3464
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3465
|
+
return de_CommandError(output, context);
|
|
3466
|
+
}
|
|
3467
|
+
const contents = map({
|
|
3468
|
+
$metadata: deserializeMetadata(output),
|
|
3469
|
+
});
|
|
3470
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3471
|
+
const doc = take(data, {
|
|
3472
|
+
items: (_) => de_WorkflowVersionList(_, context),
|
|
3473
|
+
nextToken: __expectString,
|
|
3474
|
+
});
|
|
3475
|
+
Object.assign(contents, doc);
|
|
3476
|
+
return contents;
|
|
3477
|
+
};
|
|
3269
3478
|
export const de_PutS3AccessPolicyCommand = async (output, context) => {
|
|
3270
3479
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3271
3480
|
return de_CommandError(output, context);
|
|
@@ -3539,6 +3748,16 @@ export const de_UpdateWorkflowCommand = async (output, context) => {
|
|
|
3539
3748
|
await collectBody(output.body, context);
|
|
3540
3749
|
return contents;
|
|
3541
3750
|
};
|
|
3751
|
+
export const de_UpdateWorkflowVersionCommand = async (output, context) => {
|
|
3752
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
3753
|
+
return de_CommandError(output, context);
|
|
3754
|
+
}
|
|
3755
|
+
const contents = map({
|
|
3756
|
+
$metadata: deserializeMetadata(output),
|
|
3757
|
+
});
|
|
3758
|
+
await collectBody(output.body, context);
|
|
3759
|
+
return contents;
|
|
3760
|
+
};
|
|
3542
3761
|
export const de_UploadReadSetPartCommand = async (output, context) => {
|
|
3543
3762
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3544
3763
|
return de_CommandError(output, context);
|
|
@@ -4112,6 +4331,7 @@ const de_RunListItem = (output, context) => {
|
|
|
4112
4331
|
storageCapacity: __expectInt32,
|
|
4113
4332
|
storageType: __expectString,
|
|
4114
4333
|
workflowId: __expectString,
|
|
4334
|
+
workflowVersionName: __expectString,
|
|
4115
4335
|
});
|
|
4116
4336
|
};
|
|
4117
4337
|
const de_RunParameters = (output, context) => {
|
|
@@ -4250,6 +4470,27 @@ const de_WorkflowListItem = (output, context) => {
|
|
|
4250
4470
|
type: __expectString,
|
|
4251
4471
|
});
|
|
4252
4472
|
};
|
|
4473
|
+
const de_WorkflowVersionList = (output, context) => {
|
|
4474
|
+
const retVal = (output || [])
|
|
4475
|
+
.filter((e) => e != null)
|
|
4476
|
+
.map((entry) => {
|
|
4477
|
+
return de_WorkflowVersionListItem(entry, context);
|
|
4478
|
+
});
|
|
4479
|
+
return retVal;
|
|
4480
|
+
};
|
|
4481
|
+
const de_WorkflowVersionListItem = (output, context) => {
|
|
4482
|
+
return take(output, {
|
|
4483
|
+
arn: __expectString,
|
|
4484
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
4485
|
+
description: __expectString,
|
|
4486
|
+
digest: __expectString,
|
|
4487
|
+
metadata: _json,
|
|
4488
|
+
status: __expectString,
|
|
4489
|
+
type: __expectString,
|
|
4490
|
+
versionName: __expectString,
|
|
4491
|
+
workflowId: __expectString,
|
|
4492
|
+
});
|
|
4493
|
+
};
|
|
4253
4494
|
const deserializeMetadata = (output) => ({
|
|
4254
4495
|
httpStatusCode: output.statusCode,
|
|
4255
4496
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
package/dist-es/waiters/index.js
CHANGED