@aws-sdk/client-omics 3.331.0 → 3.335.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 (88) hide show
  1. package/README.md +56 -8
  2. package/dist-cjs/Omics.js +12 -0
  3. package/dist-cjs/commands/AbortMultipartReadSetUploadCommand.js +45 -0
  4. package/dist-cjs/commands/CompleteMultipartReadSetUploadCommand.js +45 -0
  5. package/dist-cjs/commands/CreateMultipartReadSetUploadCommand.js +45 -0
  6. package/dist-cjs/commands/ListMultipartReadSetUploadsCommand.js +45 -0
  7. package/dist-cjs/commands/ListReadSetUploadPartsCommand.js +45 -0
  8. package/dist-cjs/commands/UploadReadSetPartCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/models/models_0.js +83 -55
  11. package/dist-cjs/pagination/ListMultipartReadSetUploadsPaginator.js +29 -0
  12. package/dist-cjs/pagination/ListReadSetUploadPartsPaginator.js +29 -0
  13. package/dist-cjs/pagination/index.js +2 -0
  14. package/dist-cjs/protocols/Aws_restJson1.js +626 -4
  15. package/dist-es/Omics.js +12 -0
  16. package/dist-es/commands/AbortMultipartReadSetUploadCommand.js +41 -0
  17. package/dist-es/commands/CompleteMultipartReadSetUploadCommand.js +41 -0
  18. package/dist-es/commands/CreateMultipartReadSetUploadCommand.js +41 -0
  19. package/dist-es/commands/ListMultipartReadSetUploadsCommand.js +41 -0
  20. package/dist-es/commands/ListReadSetUploadPartsCommand.js +41 -0
  21. package/dist-es/commands/UploadReadSetPartCommand.js +42 -0
  22. package/dist-es/commands/index.js +6 -0
  23. package/dist-es/models/models_0.js +78 -52
  24. package/dist-es/pagination/ListMultipartReadSetUploadsPaginator.js +25 -0
  25. package/dist-es/pagination/ListReadSetUploadPartsPaginator.js +25 -0
  26. package/dist-es/pagination/index.js +2 -0
  27. package/dist-es/protocols/Aws_restJson1.js +612 -2
  28. package/dist-types/Omics.d.ts +43 -1
  29. package/dist-types/OmicsClient.d.ts +12 -5
  30. package/dist-types/commands/AbortMultipartReadSetUploadCommand.d.ts +96 -0
  31. package/dist-types/commands/CompleteMultipartReadSetUploadCommand.d.ts +105 -0
  32. package/dist-types/commands/CreateMultipartReadSetUploadCommand.d.ts +120 -0
  33. package/dist-types/commands/CreateRunGroupCommand.d.ts +1 -0
  34. package/dist-types/commands/CreateSequenceStoreCommand.d.ts +2 -0
  35. package/dist-types/commands/CreateWorkflowCommand.d.ts +1 -0
  36. package/dist-types/commands/GetAnnotationImportJobCommand.d.ts +3 -0
  37. package/dist-types/commands/GetReadSetMetadataCommand.d.ts +1 -0
  38. package/dist-types/commands/GetRunCommand.d.ts +1 -0
  39. package/dist-types/commands/GetRunGroupCommand.d.ts +1 -0
  40. package/dist-types/commands/GetRunTaskCommand.d.ts +1 -0
  41. package/dist-types/commands/GetSequenceStoreCommand.d.ts +1 -0
  42. package/dist-types/commands/GetVariantImportJobCommand.d.ts +3 -0
  43. package/dist-types/commands/GetWorkflowCommand.d.ts +4 -0
  44. package/dist-types/commands/ListAnnotationImportJobsCommand.d.ts +3 -0
  45. package/dist-types/commands/ListMultipartReadSetUploadsCommand.d.ts +116 -0
  46. package/dist-types/commands/ListReadSetUploadPartsCommand.d.ts +115 -0
  47. package/dist-types/commands/ListReadSetsCommand.d.ts +4 -0
  48. package/dist-types/commands/ListRunGroupsCommand.d.ts +1 -0
  49. package/dist-types/commands/ListRunTasksCommand.d.ts +1 -0
  50. package/dist-types/commands/ListRunsCommand.d.ts +1 -0
  51. package/dist-types/commands/ListSequenceStoresCommand.d.ts +1 -0
  52. package/dist-types/commands/ListVariantImportJobsCommand.d.ts +3 -0
  53. package/dist-types/commands/ListWorkflowsCommand.d.ts +3 -0
  54. package/dist-types/commands/StartAnnotationImportJobCommand.d.ts +3 -0
  55. package/dist-types/commands/StartVariantImportJobCommand.d.ts +3 -0
  56. package/dist-types/commands/UpdateRunGroupCommand.d.ts +1 -0
  57. package/dist-types/commands/UploadReadSetPartCommand.d.ts +111 -0
  58. package/dist-types/commands/index.d.ts +6 -0
  59. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  60. package/dist-types/models/models_0.d.ts +825 -119
  61. package/dist-types/pagination/ListMultipartReadSetUploadsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/ListReadSetUploadPartsPaginator.d.ts +7 -0
  63. package/dist-types/pagination/index.d.ts +2 -0
  64. package/dist-types/protocols/Aws_restJson1.d.ts +57 -2
  65. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  66. package/dist-types/runtimeConfig.d.ts +9 -9
  67. package/dist-types/runtimeConfig.native.d.ts +13 -13
  68. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  69. package/dist-types/ts3.4/Omics.d.ts +102 -0
  70. package/dist-types/ts3.4/OmicsClient.d.ts +45 -7
  71. package/dist-types/ts3.4/commands/AbortMultipartReadSetUploadCommand.d.ts +41 -0
  72. package/dist-types/ts3.4/commands/CompleteMultipartReadSetUploadCommand.d.ts +41 -0
  73. package/dist-types/ts3.4/commands/CreateMultipartReadSetUploadCommand.d.ts +41 -0
  74. package/dist-types/ts3.4/commands/ListMultipartReadSetUploadsCommand.d.ts +41 -0
  75. package/dist-types/ts3.4/commands/ListReadSetUploadPartsCommand.d.ts +41 -0
  76. package/dist-types/ts3.4/commands/UploadReadSetPartCommand.d.ts +44 -0
  77. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  78. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  79. package/dist-types/ts3.4/models/models_0.d.ts +202 -52
  80. package/dist-types/ts3.4/pagination/ListMultipartReadSetUploadsPaginator.d.ts +11 -0
  81. package/dist-types/ts3.4/pagination/ListReadSetUploadPartsPaginator.d.ts +11 -0
  82. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  83. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +74 -4
  84. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
  85. package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
  86. package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
  87. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  88. package/package.json +7 -6
@@ -1,13 +1,39 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_ListTagsForResourceCommand = exports.se_ListSequenceStoresCommand = exports.se_ListRunTasksCommand = exports.se_ListRunsCommand = exports.se_ListRunGroupsCommand = exports.se_ListReferenceStoresCommand = exports.se_ListReferencesCommand = exports.se_ListReferenceImportJobsCommand = exports.se_ListReadSetsCommand = exports.se_ListReadSetImportJobsCommand = exports.se_ListReadSetExportJobsCommand = exports.se_ListReadSetActivationJobsCommand = exports.se_ListAnnotationStoresCommand = exports.se_ListAnnotationImportJobsCommand = exports.se_GetWorkflowCommand = exports.se_GetVariantStoreCommand = exports.se_GetVariantImportJobCommand = exports.se_GetSequenceStoreCommand = exports.se_GetRunTaskCommand = exports.se_GetRunGroupCommand = exports.se_GetRunCommand = exports.se_GetReferenceStoreCommand = exports.se_GetReferenceMetadataCommand = exports.se_GetReferenceImportJobCommand = exports.se_GetReferenceCommand = exports.se_GetReadSetMetadataCommand = exports.se_GetReadSetImportJobCommand = exports.se_GetReadSetExportJobCommand = exports.se_GetReadSetActivationJobCommand = exports.se_GetReadSetCommand = exports.se_GetAnnotationStoreCommand = exports.se_GetAnnotationImportJobCommand = exports.se_DeleteWorkflowCommand = exports.se_DeleteVariantStoreCommand = exports.se_DeleteSequenceStoreCommand = exports.se_DeleteRunGroupCommand = exports.se_DeleteRunCommand = exports.se_DeleteReferenceStoreCommand = exports.se_DeleteReferenceCommand = exports.se_DeleteAnnotationStoreCommand = exports.se_CreateWorkflowCommand = exports.se_CreateVariantStoreCommand = exports.se_CreateSequenceStoreCommand = exports.se_CreateRunGroupCommand = exports.se_CreateReferenceStoreCommand = exports.se_CreateAnnotationStoreCommand = exports.se_CancelVariantImportJobCommand = exports.se_CancelRunCommand = exports.se_CancelAnnotationImportJobCommand = exports.se_BatchDeleteReadSetCommand = void 0;
4
- exports.de_GetVariantImportJobCommand = exports.de_GetSequenceStoreCommand = exports.de_GetRunTaskCommand = exports.de_GetRunGroupCommand = exports.de_GetRunCommand = exports.de_GetReferenceStoreCommand = exports.de_GetReferenceMetadataCommand = exports.de_GetReferenceImportJobCommand = exports.de_GetReferenceCommand = exports.de_GetReadSetMetadataCommand = exports.de_GetReadSetImportJobCommand = exports.de_GetReadSetExportJobCommand = exports.de_GetReadSetActivationJobCommand = exports.de_GetReadSetCommand = exports.de_GetAnnotationStoreCommand = exports.de_GetAnnotationImportJobCommand = exports.de_DeleteWorkflowCommand = exports.de_DeleteVariantStoreCommand = exports.de_DeleteSequenceStoreCommand = exports.de_DeleteRunGroupCommand = exports.de_DeleteRunCommand = exports.de_DeleteReferenceStoreCommand = exports.de_DeleteReferenceCommand = exports.de_DeleteAnnotationStoreCommand = exports.de_CreateWorkflowCommand = exports.de_CreateVariantStoreCommand = exports.de_CreateSequenceStoreCommand = exports.de_CreateRunGroupCommand = exports.de_CreateReferenceStoreCommand = exports.de_CreateAnnotationStoreCommand = exports.de_CancelVariantImportJobCommand = exports.de_CancelRunCommand = exports.de_CancelAnnotationImportJobCommand = exports.de_BatchDeleteReadSetCommand = exports.se_UpdateWorkflowCommand = exports.se_UpdateVariantStoreCommand = exports.se_UpdateRunGroupCommand = exports.se_UpdateAnnotationStoreCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartVariantImportJobCommand = exports.se_StartRunCommand = exports.se_StartReferenceImportJobCommand = exports.se_StartReadSetImportJobCommand = exports.se_StartReadSetExportJobCommand = exports.se_StartReadSetActivationJobCommand = exports.se_StartAnnotationImportJobCommand = exports.se_ListWorkflowsCommand = exports.se_ListVariantStoresCommand = exports.se_ListVariantImportJobsCommand = void 0;
5
- exports.de_UpdateWorkflowCommand = exports.de_UpdateVariantStoreCommand = exports.de_UpdateRunGroupCommand = exports.de_UpdateAnnotationStoreCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartVariantImportJobCommand = exports.de_StartRunCommand = exports.de_StartReferenceImportJobCommand = exports.de_StartReadSetImportJobCommand = exports.de_StartReadSetExportJobCommand = exports.de_StartReadSetActivationJobCommand = exports.de_StartAnnotationImportJobCommand = exports.de_ListWorkflowsCommand = exports.de_ListVariantStoresCommand = exports.de_ListVariantImportJobsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSequenceStoresCommand = exports.de_ListRunTasksCommand = exports.de_ListRunsCommand = exports.de_ListRunGroupsCommand = exports.de_ListReferenceStoresCommand = exports.de_ListReferencesCommand = exports.de_ListReferenceImportJobsCommand = exports.de_ListReadSetsCommand = exports.de_ListReadSetImportJobsCommand = exports.de_ListReadSetExportJobsCommand = exports.de_ListReadSetActivationJobsCommand = exports.de_ListAnnotationStoresCommand = exports.de_ListAnnotationImportJobsCommand = exports.de_GetWorkflowCommand = exports.de_GetVariantStoreCommand = void 0;
6
- const protocol_http_1 = require("@aws-sdk/protocol-http");
3
+ exports.se_ListReferenceStoresCommand = exports.se_ListReferencesCommand = exports.se_ListReferenceImportJobsCommand = exports.se_ListReadSetUploadPartsCommand = exports.se_ListReadSetsCommand = exports.se_ListReadSetImportJobsCommand = exports.se_ListReadSetExportJobsCommand = exports.se_ListReadSetActivationJobsCommand = exports.se_ListMultipartReadSetUploadsCommand = exports.se_ListAnnotationStoresCommand = exports.se_ListAnnotationImportJobsCommand = exports.se_GetWorkflowCommand = exports.se_GetVariantStoreCommand = exports.se_GetVariantImportJobCommand = exports.se_GetSequenceStoreCommand = exports.se_GetRunTaskCommand = exports.se_GetRunGroupCommand = exports.se_GetRunCommand = exports.se_GetReferenceStoreCommand = exports.se_GetReferenceMetadataCommand = exports.se_GetReferenceImportJobCommand = exports.se_GetReferenceCommand = exports.se_GetReadSetMetadataCommand = exports.se_GetReadSetImportJobCommand = exports.se_GetReadSetExportJobCommand = exports.se_GetReadSetActivationJobCommand = exports.se_GetReadSetCommand = exports.se_GetAnnotationStoreCommand = exports.se_GetAnnotationImportJobCommand = exports.se_DeleteWorkflowCommand = exports.se_DeleteVariantStoreCommand = exports.se_DeleteSequenceStoreCommand = exports.se_DeleteRunGroupCommand = exports.se_DeleteRunCommand = exports.se_DeleteReferenceStoreCommand = exports.se_DeleteReferenceCommand = exports.se_DeleteAnnotationStoreCommand = exports.se_CreateWorkflowCommand = exports.se_CreateVariantStoreCommand = exports.se_CreateSequenceStoreCommand = exports.se_CreateRunGroupCommand = exports.se_CreateReferenceStoreCommand = exports.se_CreateMultipartReadSetUploadCommand = exports.se_CreateAnnotationStoreCommand = exports.se_CompleteMultipartReadSetUploadCommand = exports.se_CancelVariantImportJobCommand = exports.se_CancelRunCommand = exports.se_CancelAnnotationImportJobCommand = exports.se_BatchDeleteReadSetCommand = exports.se_AbortMultipartReadSetUploadCommand = void 0;
4
+ exports.de_GetReadSetMetadataCommand = exports.de_GetReadSetImportJobCommand = exports.de_GetReadSetExportJobCommand = exports.de_GetReadSetActivationJobCommand = exports.de_GetReadSetCommand = exports.de_GetAnnotationStoreCommand = exports.de_GetAnnotationImportJobCommand = exports.de_DeleteWorkflowCommand = exports.de_DeleteVariantStoreCommand = exports.de_DeleteSequenceStoreCommand = exports.de_DeleteRunGroupCommand = exports.de_DeleteRunCommand = exports.de_DeleteReferenceStoreCommand = exports.de_DeleteReferenceCommand = exports.de_DeleteAnnotationStoreCommand = exports.de_CreateWorkflowCommand = exports.de_CreateVariantStoreCommand = exports.de_CreateSequenceStoreCommand = exports.de_CreateRunGroupCommand = exports.de_CreateReferenceStoreCommand = exports.de_CreateMultipartReadSetUploadCommand = exports.de_CreateAnnotationStoreCommand = exports.de_CompleteMultipartReadSetUploadCommand = exports.de_CancelVariantImportJobCommand = exports.de_CancelRunCommand = exports.de_CancelAnnotationImportJobCommand = exports.de_BatchDeleteReadSetCommand = exports.de_AbortMultipartReadSetUploadCommand = exports.se_UploadReadSetPartCommand = exports.se_UpdateWorkflowCommand = exports.se_UpdateVariantStoreCommand = exports.se_UpdateRunGroupCommand = exports.se_UpdateAnnotationStoreCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartVariantImportJobCommand = exports.se_StartRunCommand = exports.se_StartReferenceImportJobCommand = exports.se_StartReadSetImportJobCommand = exports.se_StartReadSetExportJobCommand = exports.se_StartReadSetActivationJobCommand = exports.se_StartAnnotationImportJobCommand = exports.se_ListWorkflowsCommand = exports.se_ListVariantStoresCommand = exports.se_ListVariantImportJobsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSequenceStoresCommand = exports.se_ListRunTasksCommand = exports.se_ListRunsCommand = exports.se_ListRunGroupsCommand = void 0;
5
+ exports.de_UploadReadSetPartCommand = exports.de_UpdateWorkflowCommand = exports.de_UpdateVariantStoreCommand = exports.de_UpdateRunGroupCommand = exports.de_UpdateAnnotationStoreCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartVariantImportJobCommand = exports.de_StartRunCommand = exports.de_StartReferenceImportJobCommand = exports.de_StartReadSetImportJobCommand = exports.de_StartReadSetExportJobCommand = exports.de_StartReadSetActivationJobCommand = exports.de_StartAnnotationImportJobCommand = exports.de_ListWorkflowsCommand = exports.de_ListVariantStoresCommand = exports.de_ListVariantImportJobsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSequenceStoresCommand = exports.de_ListRunTasksCommand = exports.de_ListRunsCommand = exports.de_ListRunGroupsCommand = exports.de_ListReferenceStoresCommand = exports.de_ListReferencesCommand = exports.de_ListReferenceImportJobsCommand = exports.de_ListReadSetUploadPartsCommand = exports.de_ListReadSetsCommand = exports.de_ListReadSetImportJobsCommand = exports.de_ListReadSetExportJobsCommand = exports.de_ListReadSetActivationJobsCommand = exports.de_ListMultipartReadSetUploadsCommand = exports.de_ListAnnotationStoresCommand = exports.de_ListAnnotationImportJobsCommand = exports.de_GetWorkflowCommand = exports.de_GetVariantStoreCommand = exports.de_GetVariantImportJobCommand = exports.de_GetSequenceStoreCommand = exports.de_GetRunTaskCommand = exports.de_GetRunGroupCommand = exports.de_GetRunCommand = exports.de_GetReferenceStoreCommand = exports.de_GetReferenceMetadataCommand = exports.de_GetReferenceImportJobCommand = exports.de_GetReferenceCommand = void 0;
7
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const protocol_http_1 = require("@smithy/protocol-http");
8
8
  const uuid_1 = require("uuid");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const OmicsServiceException_1 = require("../models/OmicsServiceException");
11
+ const se_AbortMultipartReadSetUploadCommand = async (input, context) => {
12
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
13
+ const headers = {};
14
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
15
+ "/sequencestore/{sequenceStoreId}/upload/{uploadId}/abort";
16
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "sequenceStoreId", () => input.sequenceStoreId, "{sequenceStoreId}", false);
17
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "uploadId", () => input.uploadId, "{uploadId}", false);
18
+ let body;
19
+ let { hostname: resolvedHostname } = await context.endpoint();
20
+ if (context.disableHostPrefix !== true) {
21
+ resolvedHostname = "control-storage-" + resolvedHostname;
22
+ if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
23
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
24
+ }
25
+ }
26
+ return new protocol_http_1.HttpRequest({
27
+ protocol,
28
+ hostname: resolvedHostname,
29
+ port,
30
+ method: "DELETE",
31
+ headers,
32
+ path: resolvedPath,
33
+ body,
34
+ });
35
+ };
36
+ exports.se_AbortMultipartReadSetUploadCommand = se_AbortMultipartReadSetUploadCommand;
11
37
  const se_BatchDeleteReadSetCommand = async (input, context) => {
12
38
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
13
39
  const headers = {
@@ -110,6 +136,37 @@ const se_CancelVariantImportJobCommand = async (input, context) => {
110
136
  });
111
137
  };
112
138
  exports.se_CancelVariantImportJobCommand = se_CancelVariantImportJobCommand;
139
+ const se_CompleteMultipartReadSetUploadCommand = async (input, context) => {
140
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
141
+ const headers = {
142
+ "content-type": "application/json",
143
+ };
144
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
145
+ "/sequencestore/{sequenceStoreId}/upload/{uploadId}/complete";
146
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "sequenceStoreId", () => input.sequenceStoreId, "{sequenceStoreId}", false);
147
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "uploadId", () => input.uploadId, "{uploadId}", false);
148
+ let body;
149
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
150
+ parts: (_) => (0, smithy_client_1._json)(_),
151
+ }));
152
+ let { hostname: resolvedHostname } = await context.endpoint();
153
+ if (context.disableHostPrefix !== true) {
154
+ resolvedHostname = "storage-" + resolvedHostname;
155
+ if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
156
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
157
+ }
158
+ }
159
+ return new protocol_http_1.HttpRequest({
160
+ protocol,
161
+ hostname: resolvedHostname,
162
+ port,
163
+ method: "POST",
164
+ headers,
165
+ path: resolvedPath,
166
+ body,
167
+ });
168
+ };
169
+ exports.se_CompleteMultipartReadSetUploadCommand = se_CompleteMultipartReadSetUploadCommand;
113
170
  const se_CreateAnnotationStoreCommand = async (input, context) => {
114
171
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
115
172
  const headers = {
@@ -144,6 +201,43 @@ const se_CreateAnnotationStoreCommand = async (input, context) => {
144
201
  });
145
202
  };
146
203
  exports.se_CreateAnnotationStoreCommand = se_CreateAnnotationStoreCommand;
204
+ const se_CreateMultipartReadSetUploadCommand = async (input, context) => {
205
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
206
+ const headers = {
207
+ "content-type": "application/json",
208
+ };
209
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sequencestore/{sequenceStoreId}/upload";
210
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "sequenceStoreId", () => input.sequenceStoreId, "{sequenceStoreId}", false);
211
+ let body;
212
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
213
+ clientToken: [],
214
+ description: [],
215
+ generatedFrom: [],
216
+ name: [],
217
+ referenceArn: [],
218
+ sampleId: [],
219
+ sourceFileType: [],
220
+ subjectId: [],
221
+ tags: (_) => (0, smithy_client_1._json)(_),
222
+ }));
223
+ let { hostname: resolvedHostname } = await context.endpoint();
224
+ if (context.disableHostPrefix !== true) {
225
+ resolvedHostname = "control-storage-" + resolvedHostname;
226
+ if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
227
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
228
+ }
229
+ }
230
+ return new protocol_http_1.HttpRequest({
231
+ protocol,
232
+ hostname: resolvedHostname,
233
+ port,
234
+ method: "POST",
235
+ headers,
236
+ path: resolvedPath,
237
+ body,
238
+ });
239
+ };
240
+ exports.se_CreateMultipartReadSetUploadCommand = se_CreateMultipartReadSetUploadCommand;
147
241
  const se_CreateReferenceStoreCommand = async (input, context) => {
148
242
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
149
243
  const headers = {
@@ -186,6 +280,7 @@ const se_CreateRunGroupCommand = async (input, context) => {
186
280
  body = JSON.stringify((0, smithy_client_1.take)(input, {
187
281
  maxCpus: [],
188
282
  maxDuration: [],
283
+ maxGpus: [],
189
284
  maxRuns: [],
190
285
  name: [],
191
286
  requestId: [true, (_) => _ ?? (0, uuid_1.v4)()],
@@ -219,6 +314,7 @@ const se_CreateSequenceStoreCommand = async (input, context) => {
219
314
  body = JSON.stringify((0, smithy_client_1.take)(input, {
220
315
  clientToken: [],
221
316
  description: [],
317
+ fallbackLocation: [],
222
318
  name: [],
223
319
  sseConfig: (_) => (0, smithy_client_1._json)(_),
224
320
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -281,6 +377,7 @@ const se_CreateWorkflowCommand = async (input, context) => {
281
377
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workflow";
282
378
  let body;
283
379
  body = JSON.stringify((0, smithy_client_1.take)(input, {
380
+ accelerators: [],
284
381
  definitionUri: [],
285
382
  definitionZip: (_) => context.base64Encoder(_),
286
383
  description: [],
@@ -1050,6 +1147,35 @@ const se_ListAnnotationStoresCommand = async (input, context) => {
1050
1147
  });
1051
1148
  };
1052
1149
  exports.se_ListAnnotationStoresCommand = se_ListAnnotationStoresCommand;
1150
+ const se_ListMultipartReadSetUploadsCommand = async (input, context) => {
1151
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1152
+ const headers = {};
1153
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sequencestore/{sequenceStoreId}/uploads";
1154
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "sequenceStoreId", () => input.sequenceStoreId, "{sequenceStoreId}", false);
1155
+ const query = (0, smithy_client_1.map)({
1156
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
1157
+ nextToken: [, input.nextToken],
1158
+ });
1159
+ let body;
1160
+ let { hostname: resolvedHostname } = await context.endpoint();
1161
+ if (context.disableHostPrefix !== true) {
1162
+ resolvedHostname = "control-storage-" + resolvedHostname;
1163
+ if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1164
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1165
+ }
1166
+ }
1167
+ return new protocol_http_1.HttpRequest({
1168
+ protocol,
1169
+ hostname: resolvedHostname,
1170
+ port,
1171
+ method: "POST",
1172
+ headers,
1173
+ path: resolvedPath,
1174
+ query,
1175
+ body,
1176
+ });
1177
+ };
1178
+ exports.se_ListMultipartReadSetUploadsCommand = se_ListMultipartReadSetUploadsCommand;
1053
1179
  const se_ListReadSetActivationJobsCommand = async (input, context) => {
1054
1180
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1055
1181
  const headers = {
@@ -1189,6 +1315,43 @@ const se_ListReadSetsCommand = async (input, context) => {
1189
1315
  });
1190
1316
  };
1191
1317
  exports.se_ListReadSetsCommand = se_ListReadSetsCommand;
1318
+ const se_ListReadSetUploadPartsCommand = async (input, context) => {
1319
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1320
+ const headers = {
1321
+ "content-type": "application/json",
1322
+ };
1323
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1324
+ "/sequencestore/{sequenceStoreId}/upload/{uploadId}/parts";
1325
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "sequenceStoreId", () => input.sequenceStoreId, "{sequenceStoreId}", false);
1326
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "uploadId", () => input.uploadId, "{uploadId}", false);
1327
+ const query = (0, smithy_client_1.map)({
1328
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
1329
+ nextToken: [, input.nextToken],
1330
+ });
1331
+ let body;
1332
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1333
+ filter: (_) => se_ReadSetUploadPartListFilter(_, context),
1334
+ partSource: [],
1335
+ }));
1336
+ let { hostname: resolvedHostname } = await context.endpoint();
1337
+ if (context.disableHostPrefix !== true) {
1338
+ resolvedHostname = "control-storage-" + resolvedHostname;
1339
+ if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1340
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1341
+ }
1342
+ }
1343
+ return new protocol_http_1.HttpRequest({
1344
+ protocol,
1345
+ hostname: resolvedHostname,
1346
+ port,
1347
+ method: "POST",
1348
+ headers,
1349
+ path: resolvedPath,
1350
+ query,
1351
+ body,
1352
+ });
1353
+ };
1354
+ exports.se_ListReadSetUploadPartsCommand = se_ListReadSetUploadPartsCommand;
1192
1355
  const se_ListReferenceImportJobsCommand = async (input, context) => {
1193
1356
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1194
1357
  const headers = {
@@ -1330,6 +1493,7 @@ const se_ListRunsCommand = async (input, context) => {
1330
1493
  runGroupId: [, input.runGroupId],
1331
1494
  startingToken: [, input.startingToken],
1332
1495
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
1496
+ status: [, input.status],
1333
1497
  });
1334
1498
  let body;
1335
1499
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -1544,6 +1708,7 @@ const se_StartAnnotationImportJobCommand = async (input, context) => {
1544
1708
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/import/annotation";
1545
1709
  let body;
1546
1710
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1711
+ annotationFields: (_) => (0, smithy_client_1._json)(_),
1547
1712
  destinationName: [],
1548
1713
  formatOptions: (_) => (0, smithy_client_1._json)(_),
1549
1714
  items: (_) => (0, smithy_client_1._json)(_),
@@ -1744,6 +1909,7 @@ const se_StartVariantImportJobCommand = async (input, context) => {
1744
1909
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/import/variant";
1745
1910
  let body;
1746
1911
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1912
+ annotationFields: (_) => (0, smithy_client_1._json)(_),
1747
1913
  destinationName: [],
1748
1914
  items: (_) => (0, smithy_client_1._json)(_),
1749
1915
  roleArn: [],
@@ -1867,6 +2033,7 @@ const se_UpdateRunGroupCommand = async (input, context) => {
1867
2033
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1868
2034
  maxCpus: [],
1869
2035
  maxDuration: [],
2036
+ maxGpus: [],
1870
2037
  maxRuns: [],
1871
2038
  name: [],
1872
2039
  }));
@@ -1947,6 +2114,94 @@ const se_UpdateWorkflowCommand = async (input, context) => {
1947
2114
  });
1948
2115
  };
1949
2116
  exports.se_UpdateWorkflowCommand = se_UpdateWorkflowCommand;
2117
+ const se_UploadReadSetPartCommand = async (input, context) => {
2118
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2119
+ const headers = {
2120
+ "x-amz-content-sha256": "UNSIGNED-PAYLOAD",
2121
+ "content-type": "application/octet-stream",
2122
+ };
2123
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
2124
+ "/sequencestore/{sequenceStoreId}/upload/{uploadId}/part";
2125
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "sequenceStoreId", () => input.sequenceStoreId, "{sequenceStoreId}", false);
2126
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "uploadId", () => input.uploadId, "{uploadId}", false);
2127
+ const query = (0, smithy_client_1.map)({
2128
+ partSource: [, (0, smithy_client_1.expectNonNull)(input.partSource, `partSource`)],
2129
+ partNumber: [(0, smithy_client_1.expectNonNull)(input.partNumber, `partNumber`) != null, () => input.partNumber.toString()],
2130
+ });
2131
+ let body;
2132
+ if (input.payload !== undefined) {
2133
+ body = input.payload;
2134
+ }
2135
+ let { hostname: resolvedHostname } = await context.endpoint();
2136
+ if (context.disableHostPrefix !== true) {
2137
+ resolvedHostname = "storage-" + resolvedHostname;
2138
+ if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
2139
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2140
+ }
2141
+ }
2142
+ return new protocol_http_1.HttpRequest({
2143
+ protocol,
2144
+ hostname: resolvedHostname,
2145
+ port,
2146
+ method: "PUT",
2147
+ headers,
2148
+ path: resolvedPath,
2149
+ query,
2150
+ body,
2151
+ });
2152
+ };
2153
+ exports.se_UploadReadSetPartCommand = se_UploadReadSetPartCommand;
2154
+ const de_AbortMultipartReadSetUploadCommand = async (output, context) => {
2155
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2156
+ return de_AbortMultipartReadSetUploadCommandError(output, context);
2157
+ }
2158
+ const contents = (0, smithy_client_1.map)({
2159
+ $metadata: deserializeMetadata(output),
2160
+ });
2161
+ await collectBody(output.body, context);
2162
+ return contents;
2163
+ };
2164
+ exports.de_AbortMultipartReadSetUploadCommand = de_AbortMultipartReadSetUploadCommand;
2165
+ const de_AbortMultipartReadSetUploadCommandError = async (output, context) => {
2166
+ const parsedOutput = {
2167
+ ...output,
2168
+ body: await parseErrorBody(output.body, context),
2169
+ };
2170
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2171
+ switch (errorCode) {
2172
+ case "AccessDeniedException":
2173
+ case "com.amazonaws.omics#AccessDeniedException":
2174
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2175
+ case "InternalServerException":
2176
+ case "com.amazonaws.omics#InternalServerException":
2177
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2178
+ case "NotSupportedOperationException":
2179
+ case "com.amazonaws.omics#NotSupportedOperationException":
2180
+ throw await de_NotSupportedOperationExceptionRes(parsedOutput, context);
2181
+ case "RequestTimeoutException":
2182
+ case "com.amazonaws.omics#RequestTimeoutException":
2183
+ throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
2184
+ case "ResourceNotFoundException":
2185
+ case "com.amazonaws.omics#ResourceNotFoundException":
2186
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2187
+ case "ServiceQuotaExceededException":
2188
+ case "com.amazonaws.omics#ServiceQuotaExceededException":
2189
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2190
+ case "ThrottlingException":
2191
+ case "com.amazonaws.omics#ThrottlingException":
2192
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2193
+ case "ValidationException":
2194
+ case "com.amazonaws.omics#ValidationException":
2195
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2196
+ default:
2197
+ const parsedBody = parsedOutput.body;
2198
+ return throwDefaultError({
2199
+ output,
2200
+ parsedBody,
2201
+ errorCode,
2202
+ });
2203
+ }
2204
+ };
1950
2205
  const de_BatchDeleteReadSetCommand = async (output, context) => {
1951
2206
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1952
2207
  return de_BatchDeleteReadSetCommandError(output, context);
@@ -2131,6 +2386,61 @@ const de_CancelVariantImportJobCommandError = async (output, context) => {
2131
2386
  });
2132
2387
  }
2133
2388
  };
2389
+ const de_CompleteMultipartReadSetUploadCommand = async (output, context) => {
2390
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2391
+ return de_CompleteMultipartReadSetUploadCommandError(output, context);
2392
+ }
2393
+ const contents = (0, smithy_client_1.map)({
2394
+ $metadata: deserializeMetadata(output),
2395
+ });
2396
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2397
+ const doc = (0, smithy_client_1.take)(data, {
2398
+ readSetId: smithy_client_1.expectString,
2399
+ });
2400
+ Object.assign(contents, doc);
2401
+ return contents;
2402
+ };
2403
+ exports.de_CompleteMultipartReadSetUploadCommand = de_CompleteMultipartReadSetUploadCommand;
2404
+ const de_CompleteMultipartReadSetUploadCommandError = async (output, context) => {
2405
+ const parsedOutput = {
2406
+ ...output,
2407
+ body: await parseErrorBody(output.body, context),
2408
+ };
2409
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2410
+ switch (errorCode) {
2411
+ case "AccessDeniedException":
2412
+ case "com.amazonaws.omics#AccessDeniedException":
2413
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2414
+ case "InternalServerException":
2415
+ case "com.amazonaws.omics#InternalServerException":
2416
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2417
+ case "NotSupportedOperationException":
2418
+ case "com.amazonaws.omics#NotSupportedOperationException":
2419
+ throw await de_NotSupportedOperationExceptionRes(parsedOutput, context);
2420
+ case "RequestTimeoutException":
2421
+ case "com.amazonaws.omics#RequestTimeoutException":
2422
+ throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
2423
+ case "ResourceNotFoundException":
2424
+ case "com.amazonaws.omics#ResourceNotFoundException":
2425
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2426
+ case "ServiceQuotaExceededException":
2427
+ case "com.amazonaws.omics#ServiceQuotaExceededException":
2428
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2429
+ case "ThrottlingException":
2430
+ case "com.amazonaws.omics#ThrottlingException":
2431
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2432
+ case "ValidationException":
2433
+ case "com.amazonaws.omics#ValidationException":
2434
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2435
+ default:
2436
+ const parsedBody = parsedOutput.body;
2437
+ return throwDefaultError({
2438
+ output,
2439
+ parsedBody,
2440
+ errorCode,
2441
+ });
2442
+ }
2443
+ };
2134
2444
  const de_CreateAnnotationStoreCommand = async (output, context) => {
2135
2445
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2136
2446
  return de_CreateAnnotationStoreCommandError(output, context);
@@ -2189,6 +2499,71 @@ const de_CreateAnnotationStoreCommandError = async (output, context) => {
2189
2499
  });
2190
2500
  }
2191
2501
  };
2502
+ const de_CreateMultipartReadSetUploadCommand = async (output, context) => {
2503
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2504
+ return de_CreateMultipartReadSetUploadCommandError(output, context);
2505
+ }
2506
+ const contents = (0, smithy_client_1.map)({
2507
+ $metadata: deserializeMetadata(output),
2508
+ });
2509
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2510
+ const doc = (0, smithy_client_1.take)(data, {
2511
+ creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
2512
+ description: smithy_client_1.expectString,
2513
+ generatedFrom: smithy_client_1.expectString,
2514
+ name: smithy_client_1.expectString,
2515
+ referenceArn: smithy_client_1.expectString,
2516
+ sampleId: smithy_client_1.expectString,
2517
+ sequenceStoreId: smithy_client_1.expectString,
2518
+ sourceFileType: smithy_client_1.expectString,
2519
+ subjectId: smithy_client_1.expectString,
2520
+ tags: smithy_client_1._json,
2521
+ uploadId: smithy_client_1.expectString,
2522
+ });
2523
+ Object.assign(contents, doc);
2524
+ return contents;
2525
+ };
2526
+ exports.de_CreateMultipartReadSetUploadCommand = de_CreateMultipartReadSetUploadCommand;
2527
+ const de_CreateMultipartReadSetUploadCommandError = async (output, context) => {
2528
+ const parsedOutput = {
2529
+ ...output,
2530
+ body: await parseErrorBody(output.body, context),
2531
+ };
2532
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2533
+ switch (errorCode) {
2534
+ case "AccessDeniedException":
2535
+ case "com.amazonaws.omics#AccessDeniedException":
2536
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2537
+ case "InternalServerException":
2538
+ case "com.amazonaws.omics#InternalServerException":
2539
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2540
+ case "NotSupportedOperationException":
2541
+ case "com.amazonaws.omics#NotSupportedOperationException":
2542
+ throw await de_NotSupportedOperationExceptionRes(parsedOutput, context);
2543
+ case "RequestTimeoutException":
2544
+ case "com.amazonaws.omics#RequestTimeoutException":
2545
+ throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
2546
+ case "ResourceNotFoundException":
2547
+ case "com.amazonaws.omics#ResourceNotFoundException":
2548
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2549
+ case "ServiceQuotaExceededException":
2550
+ case "com.amazonaws.omics#ServiceQuotaExceededException":
2551
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2552
+ case "ThrottlingException":
2553
+ case "com.amazonaws.omics#ThrottlingException":
2554
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2555
+ case "ValidationException":
2556
+ case "com.amazonaws.omics#ValidationException":
2557
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2558
+ default:
2559
+ const parsedBody = parsedOutput.body;
2560
+ return throwDefaultError({
2561
+ output,
2562
+ parsedBody,
2563
+ errorCode,
2564
+ });
2565
+ }
2566
+ };
2192
2567
  const de_CreateReferenceStoreCommand = async (output, context) => {
2193
2568
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2194
2569
  return de_CreateReferenceStoreCommandError(output, context);
@@ -2312,6 +2687,7 @@ const de_CreateSequenceStoreCommand = async (output, context) => {
2312
2687
  arn: smithy_client_1.expectString,
2313
2688
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
2314
2689
  description: smithy_client_1.expectString,
2690
+ fallbackLocation: smithy_client_1.expectString,
2315
2691
  id: smithy_client_1.expectString,
2316
2692
  name: smithy_client_1.expectString,
2317
2693
  sseConfig: smithy_client_1._json,
@@ -2872,6 +3248,7 @@ const de_GetAnnotationImportJobCommand = async (output, context) => {
2872
3248
  });
2873
3249
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2874
3250
  const doc = (0, smithy_client_1.take)(data, {
3251
+ annotationFields: smithy_client_1._json,
2875
3252
  completionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
2876
3253
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
2877
3254
  destinationName: smithy_client_1.expectString,
@@ -3219,6 +3596,7 @@ const de_GetReadSetMetadataCommand = async (output, context) => {
3219
3596
  sequenceInformation: smithy_client_1._json,
3220
3597
  sequenceStoreId: smithy_client_1.expectString,
3221
3598
  status: smithy_client_1.expectString,
3599
+ statusMessage: smithy_client_1.expectString,
3222
3600
  subjectId: smithy_client_1.expectString,
3223
3601
  });
3224
3602
  Object.assign(contents, doc);
@@ -3486,6 +3864,7 @@ const de_GetRunCommand = async (output, context) => {
3486
3864
  });
3487
3865
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3488
3866
  const doc = (0, smithy_client_1.take)(data, {
3867
+ accelerators: smithy_client_1.expectString,
3489
3868
  arn: smithy_client_1.expectString,
3490
3869
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
3491
3870
  definition: smithy_client_1.expectString,
@@ -3568,6 +3947,7 @@ const de_GetRunGroupCommand = async (output, context) => {
3568
3947
  id: smithy_client_1.expectString,
3569
3948
  maxCpus: smithy_client_1.expectInt32,
3570
3949
  maxDuration: smithy_client_1.expectInt32,
3950
+ maxGpus: smithy_client_1.expectInt32,
3571
3951
  maxRuns: smithy_client_1.expectInt32,
3572
3952
  name: smithy_client_1.expectString,
3573
3953
  tags: smithy_client_1._json,
@@ -3627,6 +4007,7 @@ const de_GetRunTaskCommand = async (output, context) => {
3627
4007
  const doc = (0, smithy_client_1.take)(data, {
3628
4008
  cpus: smithy_client_1.expectInt32,
3629
4009
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
4010
+ gpus: smithy_client_1.expectInt32,
3630
4011
  logStream: smithy_client_1.expectString,
3631
4012
  memory: smithy_client_1.expectInt32,
3632
4013
  name: smithy_client_1.expectString,
@@ -3692,6 +4073,7 @@ const de_GetSequenceStoreCommand = async (output, context) => {
3692
4073
  arn: smithy_client_1.expectString,
3693
4074
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
3694
4075
  description: smithy_client_1.expectString,
4076
+ fallbackLocation: smithy_client_1.expectString,
3695
4077
  id: smithy_client_1.expectString,
3696
4078
  name: smithy_client_1.expectString,
3697
4079
  sseConfig: smithy_client_1._json,
@@ -3743,6 +4125,7 @@ const de_GetVariantImportJobCommand = async (output, context) => {
3743
4125
  });
3744
4126
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3745
4127
  const doc = (0, smithy_client_1.take)(data, {
4128
+ annotationFields: smithy_client_1._json,
3746
4129
  completionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
3747
4130
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
3748
4131
  destinationName: smithy_client_1.expectString,
@@ -3855,6 +4238,7 @@ const de_GetWorkflowCommand = async (output, context) => {
3855
4238
  });
3856
4239
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3857
4240
  const doc = (0, smithy_client_1.take)(data, {
4241
+ accelerators: smithy_client_1.expectString,
3858
4242
  arn: smithy_client_1.expectString,
3859
4243
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
3860
4244
  definition: smithy_client_1.expectString,
@@ -3863,6 +4247,7 @@ const de_GetWorkflowCommand = async (output, context) => {
3863
4247
  engine: smithy_client_1.expectString,
3864
4248
  id: smithy_client_1.expectString,
3865
4249
  main: smithy_client_1.expectString,
4250
+ metadata: smithy_client_1._json,
3866
4251
  name: smithy_client_1.expectString,
3867
4252
  parameterTemplate: smithy_client_1._json,
3868
4253
  status: smithy_client_1.expectString,
@@ -4009,6 +4394,62 @@ const de_ListAnnotationStoresCommandError = async (output, context) => {
4009
4394
  });
4010
4395
  }
4011
4396
  };
4397
+ const de_ListMultipartReadSetUploadsCommand = async (output, context) => {
4398
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4399
+ return de_ListMultipartReadSetUploadsCommandError(output, context);
4400
+ }
4401
+ const contents = (0, smithy_client_1.map)({
4402
+ $metadata: deserializeMetadata(output),
4403
+ });
4404
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4405
+ const doc = (0, smithy_client_1.take)(data, {
4406
+ nextToken: smithy_client_1.expectString,
4407
+ uploads: (_) => de_MultipartReadSetUploadList(_, context),
4408
+ });
4409
+ Object.assign(contents, doc);
4410
+ return contents;
4411
+ };
4412
+ exports.de_ListMultipartReadSetUploadsCommand = de_ListMultipartReadSetUploadsCommand;
4413
+ const de_ListMultipartReadSetUploadsCommandError = async (output, context) => {
4414
+ const parsedOutput = {
4415
+ ...output,
4416
+ body: await parseErrorBody(output.body, context),
4417
+ };
4418
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4419
+ switch (errorCode) {
4420
+ case "AccessDeniedException":
4421
+ case "com.amazonaws.omics#AccessDeniedException":
4422
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4423
+ case "InternalServerException":
4424
+ case "com.amazonaws.omics#InternalServerException":
4425
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
4426
+ case "NotSupportedOperationException":
4427
+ case "com.amazonaws.omics#NotSupportedOperationException":
4428
+ throw await de_NotSupportedOperationExceptionRes(parsedOutput, context);
4429
+ case "RequestTimeoutException":
4430
+ case "com.amazonaws.omics#RequestTimeoutException":
4431
+ throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
4432
+ case "ResourceNotFoundException":
4433
+ case "com.amazonaws.omics#ResourceNotFoundException":
4434
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4435
+ case "ServiceQuotaExceededException":
4436
+ case "com.amazonaws.omics#ServiceQuotaExceededException":
4437
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
4438
+ case "ThrottlingException":
4439
+ case "com.amazonaws.omics#ThrottlingException":
4440
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
4441
+ case "ValidationException":
4442
+ case "com.amazonaws.omics#ValidationException":
4443
+ throw await de_ValidationExceptionRes(parsedOutput, context);
4444
+ default:
4445
+ const parsedBody = parsedOutput.body;
4446
+ return throwDefaultError({
4447
+ output,
4448
+ parsedBody,
4449
+ errorCode,
4450
+ });
4451
+ }
4452
+ };
4012
4453
  const de_ListReadSetActivationJobsCommand = async (output, context) => {
4013
4454
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4014
4455
  return de_ListReadSetActivationJobsCommandError(output, context);
@@ -4209,6 +4650,62 @@ const de_ListReadSetsCommandError = async (output, context) => {
4209
4650
  });
4210
4651
  }
4211
4652
  };
4653
+ const de_ListReadSetUploadPartsCommand = async (output, context) => {
4654
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4655
+ return de_ListReadSetUploadPartsCommandError(output, context);
4656
+ }
4657
+ const contents = (0, smithy_client_1.map)({
4658
+ $metadata: deserializeMetadata(output),
4659
+ });
4660
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4661
+ const doc = (0, smithy_client_1.take)(data, {
4662
+ nextToken: smithy_client_1.expectString,
4663
+ parts: (_) => de_ReadSetUploadPartList(_, context),
4664
+ });
4665
+ Object.assign(contents, doc);
4666
+ return contents;
4667
+ };
4668
+ exports.de_ListReadSetUploadPartsCommand = de_ListReadSetUploadPartsCommand;
4669
+ const de_ListReadSetUploadPartsCommandError = async (output, context) => {
4670
+ const parsedOutput = {
4671
+ ...output,
4672
+ body: await parseErrorBody(output.body, context),
4673
+ };
4674
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4675
+ switch (errorCode) {
4676
+ case "AccessDeniedException":
4677
+ case "com.amazonaws.omics#AccessDeniedException":
4678
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
4679
+ case "InternalServerException":
4680
+ case "com.amazonaws.omics#InternalServerException":
4681
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
4682
+ case "NotSupportedOperationException":
4683
+ case "com.amazonaws.omics#NotSupportedOperationException":
4684
+ throw await de_NotSupportedOperationExceptionRes(parsedOutput, context);
4685
+ case "RequestTimeoutException":
4686
+ case "com.amazonaws.omics#RequestTimeoutException":
4687
+ throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
4688
+ case "ResourceNotFoundException":
4689
+ case "com.amazonaws.omics#ResourceNotFoundException":
4690
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
4691
+ case "ServiceQuotaExceededException":
4692
+ case "com.amazonaws.omics#ServiceQuotaExceededException":
4693
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
4694
+ case "ThrottlingException":
4695
+ case "com.amazonaws.omics#ThrottlingException":
4696
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
4697
+ case "ValidationException":
4698
+ case "com.amazonaws.omics#ValidationException":
4699
+ throw await de_ValidationExceptionRes(parsedOutput, context);
4700
+ default:
4701
+ const parsedBody = parsedOutput.body;
4702
+ return throwDefaultError({
4703
+ output,
4704
+ parsedBody,
4705
+ errorCode,
4706
+ });
4707
+ }
4708
+ };
4212
4709
  const de_ListReferenceImportJobsCommand = async (output, context) => {
4213
4710
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4214
4711
  return de_ListReferenceImportJobsCommandError(output, context);
@@ -5465,6 +5962,61 @@ const de_UpdateWorkflowCommandError = async (output, context) => {
5465
5962
  });
5466
5963
  }
5467
5964
  };
5965
+ const de_UploadReadSetPartCommand = async (output, context) => {
5966
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5967
+ return de_UploadReadSetPartCommandError(output, context);
5968
+ }
5969
+ const contents = (0, smithy_client_1.map)({
5970
+ $metadata: deserializeMetadata(output),
5971
+ });
5972
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5973
+ const doc = (0, smithy_client_1.take)(data, {
5974
+ checksum: smithy_client_1.expectString,
5975
+ });
5976
+ Object.assign(contents, doc);
5977
+ return contents;
5978
+ };
5979
+ exports.de_UploadReadSetPartCommand = de_UploadReadSetPartCommand;
5980
+ const de_UploadReadSetPartCommandError = async (output, context) => {
5981
+ const parsedOutput = {
5982
+ ...output,
5983
+ body: await parseErrorBody(output.body, context),
5984
+ };
5985
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5986
+ switch (errorCode) {
5987
+ case "AccessDeniedException":
5988
+ case "com.amazonaws.omics#AccessDeniedException":
5989
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
5990
+ case "InternalServerException":
5991
+ case "com.amazonaws.omics#InternalServerException":
5992
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
5993
+ case "NotSupportedOperationException":
5994
+ case "com.amazonaws.omics#NotSupportedOperationException":
5995
+ throw await de_NotSupportedOperationExceptionRes(parsedOutput, context);
5996
+ case "RequestTimeoutException":
5997
+ case "com.amazonaws.omics#RequestTimeoutException":
5998
+ throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
5999
+ case "ResourceNotFoundException":
6000
+ case "com.amazonaws.omics#ResourceNotFoundException":
6001
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
6002
+ case "ServiceQuotaExceededException":
6003
+ case "com.amazonaws.omics#ServiceQuotaExceededException":
6004
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
6005
+ case "ThrottlingException":
6006
+ case "com.amazonaws.omics#ThrottlingException":
6007
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
6008
+ case "ValidationException":
6009
+ case "com.amazonaws.omics#ValidationException":
6010
+ throw await de_ValidationExceptionRes(parsedOutput, context);
6011
+ default:
6012
+ const parsedBody = parsedOutput.body;
6013
+ return throwDefaultError({
6014
+ output,
6015
+ parsedBody,
6016
+ errorCode,
6017
+ });
6018
+ }
6019
+ };
5468
6020
  const throwDefaultError = (0, smithy_client_1.withBaseException)(OmicsServiceException_1.OmicsServiceException);
5469
6021
  const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
5470
6022
  const contents = (0, smithy_client_1.map)({});
@@ -5505,6 +6057,19 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
5505
6057
  });
5506
6058
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
5507
6059
  };
6060
+ const de_NotSupportedOperationExceptionRes = async (parsedOutput, context) => {
6061
+ const contents = (0, smithy_client_1.map)({});
6062
+ const data = parsedOutput.body;
6063
+ const doc = (0, smithy_client_1.take)(data, {
6064
+ message: smithy_client_1.expectString,
6065
+ });
6066
+ Object.assign(contents, doc);
6067
+ const exception = new models_0_1.NotSupportedOperationException({
6068
+ $metadata: deserializeMetadata(parsedOutput),
6069
+ ...contents,
6070
+ });
6071
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
6072
+ };
5508
6073
  const de_RangeNotSatisfiableExceptionRes = async (parsedOutput, context) => {
5509
6074
  const contents = (0, smithy_client_1.map)({});
5510
6075
  const data = parsedOutput.body;
@@ -5615,9 +6180,18 @@ const se_ReadSetFilter = (input, context) => {
5615
6180
  return (0, smithy_client_1.take)(input, {
5616
6181
  createdAfter: (_) => _.toISOString().split(".")[0] + "Z",
5617
6182
  createdBefore: (_) => _.toISOString().split(".")[0] + "Z",
6183
+ generatedFrom: [],
5618
6184
  name: [],
5619
6185
  referenceArn: [],
6186
+ sampleId: [],
5620
6187
  status: [],
6188
+ subjectId: [],
6189
+ });
6190
+ };
6191
+ const se_ReadSetUploadPartListFilter = (input, context) => {
6192
+ return (0, smithy_client_1.take)(input, {
6193
+ createdAfter: (_) => _.toISOString().split(".")[0] + "Z",
6194
+ createdBefore: (_) => _.toISOString().split(".")[0] + "Z",
5621
6195
  });
5622
6196
  };
5623
6197
  const se_ReferenceFilter = (input, context) => {
@@ -5664,6 +6238,7 @@ const de_ActivateReadSetJobList = (output, context) => {
5664
6238
  };
5665
6239
  const de_AnnotationImportJobItem = (output, context) => {
5666
6240
  return (0, smithy_client_1.take)(output, {
6241
+ annotationFields: smithy_client_1._json,
5667
6242
  completionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
5668
6243
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
5669
6244
  destinationName: smithy_client_1.expectString,
@@ -5760,6 +6335,29 @@ const de_ImportReferenceJobList = (output, context) => {
5760
6335
  });
5761
6336
  return retVal;
5762
6337
  };
6338
+ const de_MultipartReadSetUploadList = (output, context) => {
6339
+ const retVal = (output || [])
6340
+ .filter((e) => e != null)
6341
+ .map((entry) => {
6342
+ return de_MultipartReadSetUploadListItem(entry, context);
6343
+ });
6344
+ return retVal;
6345
+ };
6346
+ const de_MultipartReadSetUploadListItem = (output, context) => {
6347
+ return (0, smithy_client_1.take)(output, {
6348
+ creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
6349
+ description: smithy_client_1.expectString,
6350
+ generatedFrom: smithy_client_1.expectString,
6351
+ name: smithy_client_1.expectString,
6352
+ referenceArn: smithy_client_1.expectString,
6353
+ sampleId: smithy_client_1.expectString,
6354
+ sequenceStoreId: smithy_client_1.expectString,
6355
+ sourceFileType: smithy_client_1.expectString,
6356
+ subjectId: smithy_client_1.expectString,
6357
+ tags: smithy_client_1._json,
6358
+ uploadId: smithy_client_1.expectString,
6359
+ });
6360
+ };
5763
6361
  const de_ReadSetList = (output, context) => {
5764
6362
  const retVal = (output || [])
5765
6363
  .filter((e) => e != null)
@@ -5781,9 +6379,28 @@ const de_ReadSetListItem = (output, context) => {
5781
6379
  sequenceInformation: smithy_client_1._json,
5782
6380
  sequenceStoreId: smithy_client_1.expectString,
5783
6381
  status: smithy_client_1.expectString,
6382
+ statusMessage: smithy_client_1.expectString,
5784
6383
  subjectId: smithy_client_1.expectString,
5785
6384
  });
5786
6385
  };
6386
+ const de_ReadSetUploadPartList = (output, context) => {
6387
+ const retVal = (output || [])
6388
+ .filter((e) => e != null)
6389
+ .map((entry) => {
6390
+ return de_ReadSetUploadPartListItem(entry, context);
6391
+ });
6392
+ return retVal;
6393
+ };
6394
+ const de_ReadSetUploadPartListItem = (output, context) => {
6395
+ return (0, smithy_client_1.take)(output, {
6396
+ checksum: smithy_client_1.expectString,
6397
+ creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
6398
+ lastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
6399
+ partNumber: smithy_client_1.expectInt32,
6400
+ partSize: smithy_client_1.expectLong,
6401
+ partSource: smithy_client_1.expectString,
6402
+ });
6403
+ };
5787
6404
  const de_ReferenceList = (output, context) => {
5788
6405
  const retVal = (output || [])
5789
6406
  .filter((e) => e != null)
@@ -5838,6 +6455,7 @@ const de_RunGroupListItem = (output, context) => {
5838
6455
  id: smithy_client_1.expectString,
5839
6456
  maxCpus: smithy_client_1.expectInt32,
5840
6457
  maxDuration: smithy_client_1.expectInt32,
6458
+ maxGpus: smithy_client_1.expectInt32,
5841
6459
  maxRuns: smithy_client_1.expectInt32,
5842
6460
  name: smithy_client_1.expectString,
5843
6461
  });
@@ -5872,6 +6490,7 @@ const de_SequenceStoreDetail = (output, context) => {
5872
6490
  arn: smithy_client_1.expectString,
5873
6491
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
5874
6492
  description: smithy_client_1.expectString,
6493
+ fallbackLocation: smithy_client_1.expectString,
5875
6494
  id: smithy_client_1.expectString,
5876
6495
  name: smithy_client_1.expectString,
5877
6496
  sseConfig: smithy_client_1._json,
@@ -5897,6 +6516,7 @@ const de_TaskListItem = (output, context) => {
5897
6516
  return (0, smithy_client_1.take)(output, {
5898
6517
  cpus: smithy_client_1.expectInt32,
5899
6518
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
6519
+ gpus: smithy_client_1.expectInt32,
5900
6520
  memory: smithy_client_1.expectInt32,
5901
6521
  name: smithy_client_1.expectString,
5902
6522
  startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
@@ -5907,6 +6527,7 @@ const de_TaskListItem = (output, context) => {
5907
6527
  };
5908
6528
  const de_VariantImportJobItem = (output, context) => {
5909
6529
  return (0, smithy_client_1.take)(output, {
6530
+ annotationFields: smithy_client_1._json,
5910
6531
  completionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
5911
6532
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
5912
6533
  destinationName: smithy_client_1.expectString,
@@ -5962,6 +6583,7 @@ const de_WorkflowListItem = (output, context) => {
5962
6583
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
5963
6584
  digest: smithy_client_1.expectString,
5964
6585
  id: smithy_client_1.expectString,
6586
+ metadata: smithy_client_1._json,
5965
6587
  name: smithy_client_1.expectString,
5966
6588
  status: smithy_client_1.expectString,
5967
6589
  type: smithy_client_1.expectString,