@aws-sdk/client-omics 3.389.0 → 3.391.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 +80 -0
- package/dist-cjs/Omics.js +20 -0
- package/dist-cjs/commands/AcceptShareCommand.js +46 -0
- package/dist-cjs/commands/CreateAnnotationStoreVersionCommand.js +46 -0
- package/dist-cjs/commands/CreateShareCommand.js +46 -0
- package/dist-cjs/commands/DeleteAnnotationStoreVersionsCommand.js +46 -0
- package/dist-cjs/commands/DeleteShareCommand.js +46 -0
- package/dist-cjs/commands/GetAnnotationStoreVersionCommand.js +46 -0
- package/dist-cjs/commands/GetShareCommand.js +46 -0
- package/dist-cjs/commands/ListAnnotationStoreVersionsCommand.js +46 -0
- package/dist-cjs/commands/ListSharesCommand.js +46 -0
- package/dist-cjs/commands/UpdateAnnotationStoreVersionCommand.js +46 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +42 -14
- package/dist-cjs/pagination/ListAnnotationStoreVersionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListSharesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +909 -38
- package/dist-cjs/waiters/index.js +2 -0
- package/dist-cjs/waiters/waitForAnnotationStoreVersionCreated.js +63 -0
- package/dist-cjs/waiters/waitForAnnotationStoreVersionDeleted.js +48 -0
- package/dist-es/Omics.js +20 -0
- package/dist-es/commands/AcceptShareCommand.js +42 -0
- package/dist-es/commands/CreateAnnotationStoreVersionCommand.js +42 -0
- package/dist-es/commands/CreateShareCommand.js +42 -0
- package/dist-es/commands/DeleteAnnotationStoreVersionsCommand.js +42 -0
- package/dist-es/commands/DeleteShareCommand.js +42 -0
- package/dist-es/commands/GetAnnotationStoreVersionCommand.js +42 -0
- package/dist-es/commands/GetShareCommand.js +42 -0
- package/dist-es/commands/ListAnnotationStoreVersionsCommand.js +42 -0
- package/dist-es/commands/ListSharesCommand.js +42 -0
- package/dist-es/commands/UpdateAnnotationStoreVersionCommand.js +42 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +39 -12
- package/dist-es/pagination/ListAnnotationStoreVersionsPaginator.js +25 -0
- package/dist-es/pagination/ListSharesPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +884 -34
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForAnnotationStoreVersionCreated.js +58 -0
- package/dist-es/waiters/waitForAnnotationStoreVersionDeleted.js +43 -0
- package/dist-types/Omics.d.ts +70 -0
- package/dist-types/OmicsClient.d.ts +12 -2
- package/dist-types/commands/AcceptShareCommand.d.ts +96 -0
- package/dist-types/commands/CreateAnnotationStoreCommand.d.ts +2 -0
- package/dist-types/commands/CreateAnnotationStoreVersionCommand.d.ts +132 -0
- package/dist-types/commands/CreateShareCommand.d.ts +100 -0
- package/dist-types/commands/DeleteAnnotationStoreVersionsCommand.d.ts +102 -0
- package/dist-types/commands/DeleteShareCommand.d.ts +96 -0
- package/dist-types/commands/GetAnnotationImportJobCommand.d.ts +1 -0
- package/dist-types/commands/GetAnnotationStoreCommand.d.ts +1 -0
- package/dist-types/commands/GetAnnotationStoreVersionCommand.d.ts +117 -0
- package/dist-types/commands/GetShareCommand.d.ts +106 -0
- package/dist-types/commands/ListAnnotationImportJobsCommand.d.ts +1 -0
- package/dist-types/commands/ListAnnotationStoreVersionsCommand.d.ts +110 -0
- package/dist-types/commands/ListSharesCommand.d.ts +119 -0
- package/dist-types/commands/StartAnnotationImportJobCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAnnotationStoreVersionCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1011 -48
- package/dist-types/pagination/ListAnnotationStoreVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSharesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/Omics.d.ts +170 -0
- package/dist-types/ts3.4/OmicsClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/AcceptShareCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateAnnotationStoreVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateShareCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteAnnotationStoreVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteShareCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetAnnotationStoreVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetShareCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListAnnotationStoreVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListSharesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateAnnotationStoreVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +197 -5
- package/dist-types/ts3.4/pagination/ListAnnotationStoreVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSharesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForAnnotationStoreVersionCreated.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForAnnotationStoreVersionDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForAnnotationStoreVersionCreated.d.ts +14 -0
- package/dist-types/waiters/waitForAnnotationStoreVersionDeleted.d.ts +14 -0
- package/package.json +30 -30
|
@@ -28,6 +28,29 @@ export const se_AbortMultipartReadSetUploadCommand = async (input, context) => {
|
|
|
28
28
|
body,
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
|
+
export const se_AcceptShareCommand = async (input, context) => {
|
|
32
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
33
|
+
const headers = {};
|
|
34
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/share/{shareId}";
|
|
35
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "shareId", () => input.shareId, "{shareId}", false);
|
|
36
|
+
let body;
|
|
37
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
38
|
+
if (context.disableHostPrefix !== true) {
|
|
39
|
+
resolvedHostname = "analytics-" + resolvedHostname;
|
|
40
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
41
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return new __HttpRequest({
|
|
45
|
+
protocol,
|
|
46
|
+
hostname: resolvedHostname,
|
|
47
|
+
port,
|
|
48
|
+
method: "POST",
|
|
49
|
+
headers,
|
|
50
|
+
path: resolvedPath,
|
|
51
|
+
body,
|
|
52
|
+
});
|
|
53
|
+
};
|
|
31
54
|
export const se_BatchDeleteReadSetCommand = async (input, context) => {
|
|
32
55
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
33
56
|
const headers = {
|
|
@@ -171,6 +194,38 @@ export const se_CreateAnnotationStoreCommand = async (input, context) => {
|
|
|
171
194
|
storeFormat: [],
|
|
172
195
|
storeOptions: (_) => _json(_),
|
|
173
196
|
tags: (_) => _json(_),
|
|
197
|
+
versionName: [],
|
|
198
|
+
}));
|
|
199
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
200
|
+
if (context.disableHostPrefix !== true) {
|
|
201
|
+
resolvedHostname = "analytics-" + resolvedHostname;
|
|
202
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
203
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
return new __HttpRequest({
|
|
207
|
+
protocol,
|
|
208
|
+
hostname: resolvedHostname,
|
|
209
|
+
port,
|
|
210
|
+
method: "POST",
|
|
211
|
+
headers,
|
|
212
|
+
path: resolvedPath,
|
|
213
|
+
body,
|
|
214
|
+
});
|
|
215
|
+
};
|
|
216
|
+
export const se_CreateAnnotationStoreVersionCommand = async (input, context) => {
|
|
217
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
218
|
+
const headers = {
|
|
219
|
+
"content-type": "application/json",
|
|
220
|
+
};
|
|
221
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/annotationStore/{name}/version";
|
|
222
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "name", () => input.name, "{name}", false);
|
|
223
|
+
let body;
|
|
224
|
+
body = JSON.stringify(take(input, {
|
|
225
|
+
description: [],
|
|
226
|
+
tags: (_) => _json(_),
|
|
227
|
+
versionName: [],
|
|
228
|
+
versionOptions: (_) => _json(_),
|
|
174
229
|
}));
|
|
175
230
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
176
231
|
if (context.disableHostPrefix !== true) {
|
|
@@ -321,6 +376,35 @@ export const se_CreateSequenceStoreCommand = async (input, context) => {
|
|
|
321
376
|
body,
|
|
322
377
|
});
|
|
323
378
|
};
|
|
379
|
+
export const se_CreateShareCommand = async (input, context) => {
|
|
380
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
381
|
+
const headers = {
|
|
382
|
+
"content-type": "application/json",
|
|
383
|
+
};
|
|
384
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/share";
|
|
385
|
+
let body;
|
|
386
|
+
body = JSON.stringify(take(input, {
|
|
387
|
+
principalSubscriber: [],
|
|
388
|
+
resourceArn: [],
|
|
389
|
+
shareName: [],
|
|
390
|
+
}));
|
|
391
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
392
|
+
if (context.disableHostPrefix !== true) {
|
|
393
|
+
resolvedHostname = "analytics-" + resolvedHostname;
|
|
394
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
395
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
return new __HttpRequest({
|
|
399
|
+
protocol,
|
|
400
|
+
hostname: resolvedHostname,
|
|
401
|
+
port,
|
|
402
|
+
method: "POST",
|
|
403
|
+
headers,
|
|
404
|
+
path: resolvedPath,
|
|
405
|
+
body,
|
|
406
|
+
});
|
|
407
|
+
};
|
|
324
408
|
export const se_CreateVariantStoreCommand = async (input, context) => {
|
|
325
409
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
326
410
|
const headers = {
|
|
@@ -416,6 +500,38 @@ export const se_DeleteAnnotationStoreCommand = async (input, context) => {
|
|
|
416
500
|
body,
|
|
417
501
|
});
|
|
418
502
|
};
|
|
503
|
+
export const se_DeleteAnnotationStoreVersionsCommand = async (input, context) => {
|
|
504
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
505
|
+
const headers = {
|
|
506
|
+
"content-type": "application/json",
|
|
507
|
+
};
|
|
508
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/annotationStore/{name}/versions/delete";
|
|
509
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "name", () => input.name, "{name}", false);
|
|
510
|
+
const query = map({
|
|
511
|
+
force: [() => input.force !== void 0, () => input.force.toString()],
|
|
512
|
+
});
|
|
513
|
+
let body;
|
|
514
|
+
body = JSON.stringify(take(input, {
|
|
515
|
+
versions: (_) => _json(_),
|
|
516
|
+
}));
|
|
517
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
518
|
+
if (context.disableHostPrefix !== true) {
|
|
519
|
+
resolvedHostname = "analytics-" + resolvedHostname;
|
|
520
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
521
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
return new __HttpRequest({
|
|
525
|
+
protocol,
|
|
526
|
+
hostname: resolvedHostname,
|
|
527
|
+
port,
|
|
528
|
+
method: "POST",
|
|
529
|
+
headers,
|
|
530
|
+
path: resolvedPath,
|
|
531
|
+
query,
|
|
532
|
+
body,
|
|
533
|
+
});
|
|
534
|
+
};
|
|
419
535
|
export const se_DeleteReferenceCommand = async (input, context) => {
|
|
420
536
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
421
537
|
const headers = {};
|
|
@@ -533,6 +649,29 @@ export const se_DeleteSequenceStoreCommand = async (input, context) => {
|
|
|
533
649
|
body,
|
|
534
650
|
});
|
|
535
651
|
};
|
|
652
|
+
export const se_DeleteShareCommand = async (input, context) => {
|
|
653
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
654
|
+
const headers = {};
|
|
655
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/share/{shareId}";
|
|
656
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "shareId", () => input.shareId, "{shareId}", false);
|
|
657
|
+
let body;
|
|
658
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
659
|
+
if (context.disableHostPrefix !== true) {
|
|
660
|
+
resolvedHostname = "analytics-" + resolvedHostname;
|
|
661
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
662
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
return new __HttpRequest({
|
|
666
|
+
protocol,
|
|
667
|
+
hostname: resolvedHostname,
|
|
668
|
+
port,
|
|
669
|
+
method: "DELETE",
|
|
670
|
+
headers,
|
|
671
|
+
path: resolvedPath,
|
|
672
|
+
body,
|
|
673
|
+
});
|
|
674
|
+
};
|
|
536
675
|
export const se_DeleteVariantStoreCommand = async (input, context) => {
|
|
537
676
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
538
677
|
const headers = {};
|
|
@@ -629,6 +768,31 @@ export const se_GetAnnotationStoreCommand = async (input, context) => {
|
|
|
629
768
|
body,
|
|
630
769
|
});
|
|
631
770
|
};
|
|
771
|
+
export const se_GetAnnotationStoreVersionCommand = async (input, context) => {
|
|
772
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
773
|
+
const headers = {};
|
|
774
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
775
|
+
"/annotationStore/{name}/version/{versionName}";
|
|
776
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "name", () => input.name, "{name}", false);
|
|
777
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "versionName", () => input.versionName, "{versionName}", false);
|
|
778
|
+
let body;
|
|
779
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
780
|
+
if (context.disableHostPrefix !== true) {
|
|
781
|
+
resolvedHostname = "analytics-" + resolvedHostname;
|
|
782
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
783
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
return new __HttpRequest({
|
|
787
|
+
protocol,
|
|
788
|
+
hostname: resolvedHostname,
|
|
789
|
+
port,
|
|
790
|
+
method: "GET",
|
|
791
|
+
headers,
|
|
792
|
+
path: resolvedPath,
|
|
793
|
+
body,
|
|
794
|
+
});
|
|
795
|
+
};
|
|
632
796
|
export const se_GetReadSetCommand = async (input, context) => {
|
|
633
797
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
634
798
|
const headers = {};
|
|
@@ -961,6 +1125,29 @@ export const se_GetSequenceStoreCommand = async (input, context) => {
|
|
|
961
1125
|
body,
|
|
962
1126
|
});
|
|
963
1127
|
};
|
|
1128
|
+
export const se_GetShareCommand = async (input, context) => {
|
|
1129
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1130
|
+
const headers = {};
|
|
1131
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/share/{shareId}";
|
|
1132
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "shareId", () => input.shareId, "{shareId}", false);
|
|
1133
|
+
let body;
|
|
1134
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1135
|
+
if (context.disableHostPrefix !== true) {
|
|
1136
|
+
resolvedHostname = "analytics-" + resolvedHostname;
|
|
1137
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1138
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
return new __HttpRequest({
|
|
1142
|
+
protocol,
|
|
1143
|
+
hostname: resolvedHostname,
|
|
1144
|
+
port,
|
|
1145
|
+
method: "GET",
|
|
1146
|
+
headers,
|
|
1147
|
+
path: resolvedPath,
|
|
1148
|
+
body,
|
|
1149
|
+
});
|
|
1150
|
+
};
|
|
964
1151
|
export const se_GetVariantImportJobCommand = async (input, context) => {
|
|
965
1152
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
966
1153
|
const headers = {};
|
|
@@ -1101,6 +1288,39 @@ export const se_ListAnnotationStoresCommand = async (input, context) => {
|
|
|
1101
1288
|
body,
|
|
1102
1289
|
});
|
|
1103
1290
|
};
|
|
1291
|
+
export const se_ListAnnotationStoreVersionsCommand = async (input, context) => {
|
|
1292
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1293
|
+
const headers = {
|
|
1294
|
+
"content-type": "application/json",
|
|
1295
|
+
};
|
|
1296
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/annotationStore/{name}/versions";
|
|
1297
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "name", () => input.name, "{name}", false);
|
|
1298
|
+
const query = map({
|
|
1299
|
+
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
1300
|
+
nextToken: [, input.nextToken],
|
|
1301
|
+
});
|
|
1302
|
+
let body;
|
|
1303
|
+
body = JSON.stringify(take(input, {
|
|
1304
|
+
filter: (_) => _json(_),
|
|
1305
|
+
}));
|
|
1306
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1307
|
+
if (context.disableHostPrefix !== true) {
|
|
1308
|
+
resolvedHostname = "analytics-" + resolvedHostname;
|
|
1309
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1310
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
return new __HttpRequest({
|
|
1314
|
+
protocol,
|
|
1315
|
+
hostname: resolvedHostname,
|
|
1316
|
+
port,
|
|
1317
|
+
method: "POST",
|
|
1318
|
+
headers,
|
|
1319
|
+
path: resolvedPath,
|
|
1320
|
+
query,
|
|
1321
|
+
body,
|
|
1322
|
+
});
|
|
1323
|
+
};
|
|
1104
1324
|
export const se_ListMultipartReadSetUploadsCommand = async (input, context) => {
|
|
1105
1325
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1106
1326
|
const headers = {};
|
|
@@ -1519,6 +1739,39 @@ export const se_ListSequenceStoresCommand = async (input, context) => {
|
|
|
1519
1739
|
body,
|
|
1520
1740
|
});
|
|
1521
1741
|
};
|
|
1742
|
+
export const se_ListSharesCommand = async (input, context) => {
|
|
1743
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1744
|
+
const headers = {
|
|
1745
|
+
"content-type": "application/json",
|
|
1746
|
+
};
|
|
1747
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/shares";
|
|
1748
|
+
const query = map({
|
|
1749
|
+
nextToken: [, input.nextToken],
|
|
1750
|
+
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
1751
|
+
});
|
|
1752
|
+
let body;
|
|
1753
|
+
body = JSON.stringify(take(input, {
|
|
1754
|
+
filter: (_) => _json(_),
|
|
1755
|
+
resourceOwner: [],
|
|
1756
|
+
}));
|
|
1757
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1758
|
+
if (context.disableHostPrefix !== true) {
|
|
1759
|
+
resolvedHostname = "analytics-" + resolvedHostname;
|
|
1760
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1761
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
return new __HttpRequest({
|
|
1765
|
+
protocol,
|
|
1766
|
+
hostname: resolvedHostname,
|
|
1767
|
+
port,
|
|
1768
|
+
method: "POST",
|
|
1769
|
+
headers,
|
|
1770
|
+
path: resolvedPath,
|
|
1771
|
+
query,
|
|
1772
|
+
body,
|
|
1773
|
+
});
|
|
1774
|
+
};
|
|
1522
1775
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
1523
1776
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1524
1777
|
const headers = {};
|
|
@@ -1651,6 +1904,7 @@ export const se_StartAnnotationImportJobCommand = async (input, context) => {
|
|
|
1651
1904
|
items: (_) => _json(_),
|
|
1652
1905
|
roleArn: [],
|
|
1653
1906
|
runLeftNormalization: [],
|
|
1907
|
+
versionName: [],
|
|
1654
1908
|
}));
|
|
1655
1909
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1656
1910
|
if (context.disableHostPrefix !== true) {
|
|
@@ -1949,6 +2203,36 @@ export const se_UpdateAnnotationStoreCommand = async (input, context) => {
|
|
|
1949
2203
|
body,
|
|
1950
2204
|
});
|
|
1951
2205
|
};
|
|
2206
|
+
export const se_UpdateAnnotationStoreVersionCommand = async (input, context) => {
|
|
2207
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2208
|
+
const headers = {
|
|
2209
|
+
"content-type": "application/json",
|
|
2210
|
+
};
|
|
2211
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2212
|
+
"/annotationStore/{name}/version/{versionName}";
|
|
2213
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "name", () => input.name, "{name}", false);
|
|
2214
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "versionName", () => input.versionName, "{versionName}", false);
|
|
2215
|
+
let body;
|
|
2216
|
+
body = JSON.stringify(take(input, {
|
|
2217
|
+
description: [],
|
|
2218
|
+
}));
|
|
2219
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2220
|
+
if (context.disableHostPrefix !== true) {
|
|
2221
|
+
resolvedHostname = "analytics-" + resolvedHostname;
|
|
2222
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
2223
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
return new __HttpRequest({
|
|
2227
|
+
protocol,
|
|
2228
|
+
hostname: resolvedHostname,
|
|
2229
|
+
port,
|
|
2230
|
+
method: "POST",
|
|
2231
|
+
headers,
|
|
2232
|
+
path: resolvedPath,
|
|
2233
|
+
body,
|
|
2234
|
+
});
|
|
2235
|
+
};
|
|
1952
2236
|
export const se_UpdateRunGroupCommand = async (input, context) => {
|
|
1953
2237
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1954
2238
|
const headers = {
|
|
@@ -2124,21 +2408,21 @@ const de_AbortMultipartReadSetUploadCommandError = async (output, context) => {
|
|
|
2124
2408
|
});
|
|
2125
2409
|
}
|
|
2126
2410
|
};
|
|
2127
|
-
export const
|
|
2411
|
+
export const de_AcceptShareCommand = async (output, context) => {
|
|
2128
2412
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2129
|
-
return
|
|
2413
|
+
return de_AcceptShareCommandError(output, context);
|
|
2130
2414
|
}
|
|
2131
2415
|
const contents = map({
|
|
2132
2416
|
$metadata: deserializeMetadata(output),
|
|
2133
2417
|
});
|
|
2134
2418
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2135
2419
|
const doc = take(data, {
|
|
2136
|
-
|
|
2420
|
+
status: __expectString,
|
|
2137
2421
|
});
|
|
2138
2422
|
Object.assign(contents, doc);
|
|
2139
2423
|
return contents;
|
|
2140
2424
|
};
|
|
2141
|
-
const
|
|
2425
|
+
const de_AcceptShareCommandError = async (output, context) => {
|
|
2142
2426
|
const parsedOutput = {
|
|
2143
2427
|
...output,
|
|
2144
2428
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2148,7 +2432,58 @@ const de_BatchDeleteReadSetCommandError = async (output, context) => {
|
|
|
2148
2432
|
case "AccessDeniedException":
|
|
2149
2433
|
case "com.amazonaws.omics#AccessDeniedException":
|
|
2150
2434
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2151
|
-
case "
|
|
2435
|
+
case "ConflictException":
|
|
2436
|
+
case "com.amazonaws.omics#ConflictException":
|
|
2437
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2438
|
+
case "InternalServerException":
|
|
2439
|
+
case "com.amazonaws.omics#InternalServerException":
|
|
2440
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2441
|
+
case "ResourceNotFoundException":
|
|
2442
|
+
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
2443
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2444
|
+
case "ServiceQuotaExceededException":
|
|
2445
|
+
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
2446
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2447
|
+
case "ThrottlingException":
|
|
2448
|
+
case "com.amazonaws.omics#ThrottlingException":
|
|
2449
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2450
|
+
case "ValidationException":
|
|
2451
|
+
case "com.amazonaws.omics#ValidationException":
|
|
2452
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2453
|
+
default:
|
|
2454
|
+
const parsedBody = parsedOutput.body;
|
|
2455
|
+
return throwDefaultError({
|
|
2456
|
+
output,
|
|
2457
|
+
parsedBody,
|
|
2458
|
+
errorCode,
|
|
2459
|
+
});
|
|
2460
|
+
}
|
|
2461
|
+
};
|
|
2462
|
+
export const de_BatchDeleteReadSetCommand = async (output, context) => {
|
|
2463
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2464
|
+
return de_BatchDeleteReadSetCommandError(output, context);
|
|
2465
|
+
}
|
|
2466
|
+
const contents = map({
|
|
2467
|
+
$metadata: deserializeMetadata(output),
|
|
2468
|
+
});
|
|
2469
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2470
|
+
const doc = take(data, {
|
|
2471
|
+
errors: _json,
|
|
2472
|
+
});
|
|
2473
|
+
Object.assign(contents, doc);
|
|
2474
|
+
return contents;
|
|
2475
|
+
};
|
|
2476
|
+
const de_BatchDeleteReadSetCommandError = async (output, context) => {
|
|
2477
|
+
const parsedOutput = {
|
|
2478
|
+
...output,
|
|
2479
|
+
body: await parseErrorBody(output.body, context),
|
|
2480
|
+
};
|
|
2481
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2482
|
+
switch (errorCode) {
|
|
2483
|
+
case "AccessDeniedException":
|
|
2484
|
+
case "com.amazonaws.omics#AccessDeniedException":
|
|
2485
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2486
|
+
case "InternalServerException":
|
|
2152
2487
|
case "com.amazonaws.omics#InternalServerException":
|
|
2153
2488
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2154
2489
|
case "RequestTimeoutException":
|
|
@@ -2374,6 +2709,7 @@ export const de_CreateAnnotationStoreCommand = async (output, context) => {
|
|
|
2374
2709
|
status: __expectString,
|
|
2375
2710
|
storeFormat: __expectString,
|
|
2376
2711
|
storeOptions: (_) => _json(__expectUnion(_)),
|
|
2712
|
+
versionName: __expectString,
|
|
2377
2713
|
});
|
|
2378
2714
|
Object.assign(contents, doc);
|
|
2379
2715
|
return contents;
|
|
@@ -2415,6 +2751,63 @@ const de_CreateAnnotationStoreCommandError = async (output, context) => {
|
|
|
2415
2751
|
});
|
|
2416
2752
|
}
|
|
2417
2753
|
};
|
|
2754
|
+
export const de_CreateAnnotationStoreVersionCommand = async (output, context) => {
|
|
2755
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2756
|
+
return de_CreateAnnotationStoreVersionCommandError(output, context);
|
|
2757
|
+
}
|
|
2758
|
+
const contents = map({
|
|
2759
|
+
$metadata: deserializeMetadata(output),
|
|
2760
|
+
});
|
|
2761
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2762
|
+
const doc = take(data, {
|
|
2763
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2764
|
+
id: __expectString,
|
|
2765
|
+
name: __expectString,
|
|
2766
|
+
status: __expectString,
|
|
2767
|
+
storeId: __expectString,
|
|
2768
|
+
versionName: __expectString,
|
|
2769
|
+
versionOptions: (_) => _json(__expectUnion(_)),
|
|
2770
|
+
});
|
|
2771
|
+
Object.assign(contents, doc);
|
|
2772
|
+
return contents;
|
|
2773
|
+
};
|
|
2774
|
+
const de_CreateAnnotationStoreVersionCommandError = async (output, context) => {
|
|
2775
|
+
const parsedOutput = {
|
|
2776
|
+
...output,
|
|
2777
|
+
body: await parseErrorBody(output.body, context),
|
|
2778
|
+
};
|
|
2779
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2780
|
+
switch (errorCode) {
|
|
2781
|
+
case "AccessDeniedException":
|
|
2782
|
+
case "com.amazonaws.omics#AccessDeniedException":
|
|
2783
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2784
|
+
case "ConflictException":
|
|
2785
|
+
case "com.amazonaws.omics#ConflictException":
|
|
2786
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2787
|
+
case "InternalServerException":
|
|
2788
|
+
case "com.amazonaws.omics#InternalServerException":
|
|
2789
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2790
|
+
case "ResourceNotFoundException":
|
|
2791
|
+
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
2792
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2793
|
+
case "ServiceQuotaExceededException":
|
|
2794
|
+
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
2795
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2796
|
+
case "ThrottlingException":
|
|
2797
|
+
case "com.amazonaws.omics#ThrottlingException":
|
|
2798
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2799
|
+
case "ValidationException":
|
|
2800
|
+
case "com.amazonaws.omics#ValidationException":
|
|
2801
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2802
|
+
default:
|
|
2803
|
+
const parsedBody = parsedOutput.body;
|
|
2804
|
+
return throwDefaultError({
|
|
2805
|
+
output,
|
|
2806
|
+
parsedBody,
|
|
2807
|
+
errorCode,
|
|
2808
|
+
});
|
|
2809
|
+
}
|
|
2810
|
+
};
|
|
2418
2811
|
export const de_CreateMultipartReadSetUploadCommand = async (output, context) => {
|
|
2419
2812
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2420
2813
|
return de_CreateMultipartReadSetUploadCommandError(output, context);
|
|
@@ -2642,6 +3035,59 @@ const de_CreateSequenceStoreCommandError = async (output, context) => {
|
|
|
2642
3035
|
});
|
|
2643
3036
|
}
|
|
2644
3037
|
};
|
|
3038
|
+
export const de_CreateShareCommand = async (output, context) => {
|
|
3039
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3040
|
+
return de_CreateShareCommandError(output, context);
|
|
3041
|
+
}
|
|
3042
|
+
const contents = map({
|
|
3043
|
+
$metadata: deserializeMetadata(output),
|
|
3044
|
+
});
|
|
3045
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3046
|
+
const doc = take(data, {
|
|
3047
|
+
shareId: __expectString,
|
|
3048
|
+
shareName: __expectString,
|
|
3049
|
+
status: __expectString,
|
|
3050
|
+
});
|
|
3051
|
+
Object.assign(contents, doc);
|
|
3052
|
+
return contents;
|
|
3053
|
+
};
|
|
3054
|
+
const de_CreateShareCommandError = async (output, context) => {
|
|
3055
|
+
const parsedOutput = {
|
|
3056
|
+
...output,
|
|
3057
|
+
body: await parseErrorBody(output.body, context),
|
|
3058
|
+
};
|
|
3059
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3060
|
+
switch (errorCode) {
|
|
3061
|
+
case "AccessDeniedException":
|
|
3062
|
+
case "com.amazonaws.omics#AccessDeniedException":
|
|
3063
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3064
|
+
case "ConflictException":
|
|
3065
|
+
case "com.amazonaws.omics#ConflictException":
|
|
3066
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3067
|
+
case "InternalServerException":
|
|
3068
|
+
case "com.amazonaws.omics#InternalServerException":
|
|
3069
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3070
|
+
case "ResourceNotFoundException":
|
|
3071
|
+
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3072
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3073
|
+
case "ServiceQuotaExceededException":
|
|
3074
|
+
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3075
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3076
|
+
case "ThrottlingException":
|
|
3077
|
+
case "com.amazonaws.omics#ThrottlingException":
|
|
3078
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3079
|
+
case "ValidationException":
|
|
3080
|
+
case "com.amazonaws.omics#ValidationException":
|
|
3081
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3082
|
+
default:
|
|
3083
|
+
const parsedBody = parsedOutput.body;
|
|
3084
|
+
return throwDefaultError({
|
|
3085
|
+
output,
|
|
3086
|
+
parsedBody,
|
|
3087
|
+
errorCode,
|
|
3088
|
+
});
|
|
3089
|
+
}
|
|
3090
|
+
};
|
|
2645
3091
|
export const de_CreateVariantStoreCommand = async (output, context) => {
|
|
2646
3092
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2647
3093
|
return de_CreateVariantStoreCommandError(output, context);
|
|
@@ -2802,6 +3248,54 @@ const de_DeleteAnnotationStoreCommandError = async (output, context) => {
|
|
|
2802
3248
|
});
|
|
2803
3249
|
}
|
|
2804
3250
|
};
|
|
3251
|
+
export const de_DeleteAnnotationStoreVersionsCommand = async (output, context) => {
|
|
3252
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3253
|
+
return de_DeleteAnnotationStoreVersionsCommandError(output, context);
|
|
3254
|
+
}
|
|
3255
|
+
const contents = map({
|
|
3256
|
+
$metadata: deserializeMetadata(output),
|
|
3257
|
+
});
|
|
3258
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3259
|
+
const doc = take(data, {
|
|
3260
|
+
errors: _json,
|
|
3261
|
+
});
|
|
3262
|
+
Object.assign(contents, doc);
|
|
3263
|
+
return contents;
|
|
3264
|
+
};
|
|
3265
|
+
const de_DeleteAnnotationStoreVersionsCommandError = async (output, context) => {
|
|
3266
|
+
const parsedOutput = {
|
|
3267
|
+
...output,
|
|
3268
|
+
body: await parseErrorBody(output.body, context),
|
|
3269
|
+
};
|
|
3270
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3271
|
+
switch (errorCode) {
|
|
3272
|
+
case "AccessDeniedException":
|
|
3273
|
+
case "com.amazonaws.omics#AccessDeniedException":
|
|
3274
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3275
|
+
case "ConflictException":
|
|
3276
|
+
case "com.amazonaws.omics#ConflictException":
|
|
3277
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3278
|
+
case "InternalServerException":
|
|
3279
|
+
case "com.amazonaws.omics#InternalServerException":
|
|
3280
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3281
|
+
case "ResourceNotFoundException":
|
|
3282
|
+
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3283
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3284
|
+
case "ThrottlingException":
|
|
3285
|
+
case "com.amazonaws.omics#ThrottlingException":
|
|
3286
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3287
|
+
case "ValidationException":
|
|
3288
|
+
case "com.amazonaws.omics#ValidationException":
|
|
3289
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3290
|
+
default:
|
|
3291
|
+
const parsedBody = parsedOutput.body;
|
|
3292
|
+
return throwDefaultError({
|
|
3293
|
+
output,
|
|
3294
|
+
parsedBody,
|
|
3295
|
+
errorCode,
|
|
3296
|
+
});
|
|
3297
|
+
}
|
|
3298
|
+
};
|
|
2805
3299
|
export const de_DeleteReferenceCommand = async (output, context) => {
|
|
2806
3300
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2807
3301
|
return de_DeleteReferenceCommandError(output, context);
|
|
@@ -3043,6 +3537,57 @@ const de_DeleteSequenceStoreCommandError = async (output, context) => {
|
|
|
3043
3537
|
});
|
|
3044
3538
|
}
|
|
3045
3539
|
};
|
|
3540
|
+
export const de_DeleteShareCommand = async (output, context) => {
|
|
3541
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3542
|
+
return de_DeleteShareCommandError(output, context);
|
|
3543
|
+
}
|
|
3544
|
+
const contents = map({
|
|
3545
|
+
$metadata: deserializeMetadata(output),
|
|
3546
|
+
});
|
|
3547
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3548
|
+
const doc = take(data, {
|
|
3549
|
+
status: __expectString,
|
|
3550
|
+
});
|
|
3551
|
+
Object.assign(contents, doc);
|
|
3552
|
+
return contents;
|
|
3553
|
+
};
|
|
3554
|
+
const de_DeleteShareCommandError = async (output, context) => {
|
|
3555
|
+
const parsedOutput = {
|
|
3556
|
+
...output,
|
|
3557
|
+
body: await parseErrorBody(output.body, context),
|
|
3558
|
+
};
|
|
3559
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3560
|
+
switch (errorCode) {
|
|
3561
|
+
case "AccessDeniedException":
|
|
3562
|
+
case "com.amazonaws.omics#AccessDeniedException":
|
|
3563
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3564
|
+
case "ConflictException":
|
|
3565
|
+
case "com.amazonaws.omics#ConflictException":
|
|
3566
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3567
|
+
case "InternalServerException":
|
|
3568
|
+
case "com.amazonaws.omics#InternalServerException":
|
|
3569
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3570
|
+
case "ResourceNotFoundException":
|
|
3571
|
+
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3572
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3573
|
+
case "ServiceQuotaExceededException":
|
|
3574
|
+
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3575
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3576
|
+
case "ThrottlingException":
|
|
3577
|
+
case "com.amazonaws.omics#ThrottlingException":
|
|
3578
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3579
|
+
case "ValidationException":
|
|
3580
|
+
case "com.amazonaws.omics#ValidationException":
|
|
3581
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3582
|
+
default:
|
|
3583
|
+
const parsedBody = parsedOutput.body;
|
|
3584
|
+
return throwDefaultError({
|
|
3585
|
+
output,
|
|
3586
|
+
parsedBody,
|
|
3587
|
+
errorCode,
|
|
3588
|
+
});
|
|
3589
|
+
}
|
|
3590
|
+
};
|
|
3046
3591
|
export const de_DeleteVariantStoreCommand = async (output, context) => {
|
|
3047
3592
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3048
3593
|
return de_DeleteVariantStoreCommandError(output, context);
|
|
@@ -3101,7 +3646,73 @@ export const de_DeleteWorkflowCommand = async (output, context) => {
|
|
|
3101
3646
|
await collectBody(output.body, context);
|
|
3102
3647
|
return contents;
|
|
3103
3648
|
};
|
|
3104
|
-
const de_DeleteWorkflowCommandError = async (output, context) => {
|
|
3649
|
+
const de_DeleteWorkflowCommandError = async (output, context) => {
|
|
3650
|
+
const parsedOutput = {
|
|
3651
|
+
...output,
|
|
3652
|
+
body: await parseErrorBody(output.body, context),
|
|
3653
|
+
};
|
|
3654
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3655
|
+
switch (errorCode) {
|
|
3656
|
+
case "AccessDeniedException":
|
|
3657
|
+
case "com.amazonaws.omics#AccessDeniedException":
|
|
3658
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3659
|
+
case "ConflictException":
|
|
3660
|
+
case "com.amazonaws.omics#ConflictException":
|
|
3661
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3662
|
+
case "InternalServerException":
|
|
3663
|
+
case "com.amazonaws.omics#InternalServerException":
|
|
3664
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3665
|
+
case "RequestTimeoutException":
|
|
3666
|
+
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3667
|
+
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3668
|
+
case "ResourceNotFoundException":
|
|
3669
|
+
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3670
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3671
|
+
case "ServiceQuotaExceededException":
|
|
3672
|
+
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3673
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3674
|
+
case "ThrottlingException":
|
|
3675
|
+
case "com.amazonaws.omics#ThrottlingException":
|
|
3676
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3677
|
+
case "ValidationException":
|
|
3678
|
+
case "com.amazonaws.omics#ValidationException":
|
|
3679
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3680
|
+
default:
|
|
3681
|
+
const parsedBody = parsedOutput.body;
|
|
3682
|
+
return throwDefaultError({
|
|
3683
|
+
output,
|
|
3684
|
+
parsedBody,
|
|
3685
|
+
errorCode,
|
|
3686
|
+
});
|
|
3687
|
+
}
|
|
3688
|
+
};
|
|
3689
|
+
export const de_GetAnnotationImportJobCommand = async (output, context) => {
|
|
3690
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3691
|
+
return de_GetAnnotationImportJobCommandError(output, context);
|
|
3692
|
+
}
|
|
3693
|
+
const contents = map({
|
|
3694
|
+
$metadata: deserializeMetadata(output),
|
|
3695
|
+
});
|
|
3696
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3697
|
+
const doc = take(data, {
|
|
3698
|
+
annotationFields: _json,
|
|
3699
|
+
completionTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3700
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3701
|
+
destinationName: __expectString,
|
|
3702
|
+
formatOptions: (_) => _json(__expectUnion(_)),
|
|
3703
|
+
id: __expectString,
|
|
3704
|
+
items: _json,
|
|
3705
|
+
roleArn: __expectString,
|
|
3706
|
+
runLeftNormalization: __expectBoolean,
|
|
3707
|
+
status: __expectString,
|
|
3708
|
+
statusMessage: __expectString,
|
|
3709
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3710
|
+
versionName: __expectString,
|
|
3711
|
+
});
|
|
3712
|
+
Object.assign(contents, doc);
|
|
3713
|
+
return contents;
|
|
3714
|
+
};
|
|
3715
|
+
const de_GetAnnotationImportJobCommandError = async (output, context) => {
|
|
3105
3716
|
const parsedOutput = {
|
|
3106
3717
|
...output,
|
|
3107
3718
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3111,21 +3722,12 @@ const de_DeleteWorkflowCommandError = async (output, context) => {
|
|
|
3111
3722
|
case "AccessDeniedException":
|
|
3112
3723
|
case "com.amazonaws.omics#AccessDeniedException":
|
|
3113
3724
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3114
|
-
case "ConflictException":
|
|
3115
|
-
case "com.amazonaws.omics#ConflictException":
|
|
3116
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3117
3725
|
case "InternalServerException":
|
|
3118
3726
|
case "com.amazonaws.omics#InternalServerException":
|
|
3119
3727
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3120
|
-
case "RequestTimeoutException":
|
|
3121
|
-
case "com.amazonaws.omics#RequestTimeoutException":
|
|
3122
|
-
throw await de_RequestTimeoutExceptionRes(parsedOutput, context);
|
|
3123
3728
|
case "ResourceNotFoundException":
|
|
3124
3729
|
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
3125
3730
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3126
|
-
case "ServiceQuotaExceededException":
|
|
3127
|
-
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
3128
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3129
3731
|
case "ThrottlingException":
|
|
3130
3732
|
case "com.amazonaws.omics#ThrottlingException":
|
|
3131
3733
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -3141,32 +3743,35 @@ const de_DeleteWorkflowCommandError = async (output, context) => {
|
|
|
3141
3743
|
});
|
|
3142
3744
|
}
|
|
3143
3745
|
};
|
|
3144
|
-
export const
|
|
3746
|
+
export const de_GetAnnotationStoreCommand = async (output, context) => {
|
|
3145
3747
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3146
|
-
return
|
|
3748
|
+
return de_GetAnnotationStoreCommandError(output, context);
|
|
3147
3749
|
}
|
|
3148
3750
|
const contents = map({
|
|
3149
3751
|
$metadata: deserializeMetadata(output),
|
|
3150
3752
|
});
|
|
3151
3753
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3152
3754
|
const doc = take(data, {
|
|
3153
|
-
annotationFields: _json,
|
|
3154
|
-
completionTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3155
3755
|
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3156
|
-
|
|
3157
|
-
formatOptions: (_) => _json(__expectUnion(_)),
|
|
3756
|
+
description: __expectString,
|
|
3158
3757
|
id: __expectString,
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3758
|
+
name: __expectString,
|
|
3759
|
+
numVersions: __expectInt32,
|
|
3760
|
+
reference: (_) => _json(__expectUnion(_)),
|
|
3761
|
+
sseConfig: _json,
|
|
3162
3762
|
status: __expectString,
|
|
3163
3763
|
statusMessage: __expectString,
|
|
3764
|
+
storeArn: __expectString,
|
|
3765
|
+
storeFormat: __expectString,
|
|
3766
|
+
storeOptions: (_) => _json(__expectUnion(_)),
|
|
3767
|
+
storeSizeBytes: __expectLong,
|
|
3768
|
+
tags: _json,
|
|
3164
3769
|
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3165
3770
|
});
|
|
3166
3771
|
Object.assign(contents, doc);
|
|
3167
3772
|
return contents;
|
|
3168
3773
|
};
|
|
3169
|
-
const
|
|
3774
|
+
const de_GetAnnotationStoreCommandError = async (output, context) => {
|
|
3170
3775
|
const parsedOutput = {
|
|
3171
3776
|
...output,
|
|
3172
3777
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3197,9 +3802,9 @@ const de_GetAnnotationImportJobCommandError = async (output, context) => {
|
|
|
3197
3802
|
});
|
|
3198
3803
|
}
|
|
3199
3804
|
};
|
|
3200
|
-
export const
|
|
3805
|
+
export const de_GetAnnotationStoreVersionCommand = async (output, context) => {
|
|
3201
3806
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3202
|
-
return
|
|
3807
|
+
return de_GetAnnotationStoreVersionCommandError(output, context);
|
|
3203
3808
|
}
|
|
3204
3809
|
const contents = map({
|
|
3205
3810
|
$metadata: deserializeMetadata(output),
|
|
@@ -3210,21 +3815,20 @@ export const de_GetAnnotationStoreCommand = async (output, context) => {
|
|
|
3210
3815
|
description: __expectString,
|
|
3211
3816
|
id: __expectString,
|
|
3212
3817
|
name: __expectString,
|
|
3213
|
-
reference: (_) => _json(__expectUnion(_)),
|
|
3214
|
-
sseConfig: _json,
|
|
3215
3818
|
status: __expectString,
|
|
3216
3819
|
statusMessage: __expectString,
|
|
3217
|
-
|
|
3218
|
-
storeFormat: __expectString,
|
|
3219
|
-
storeOptions: (_) => _json(__expectUnion(_)),
|
|
3220
|
-
storeSizeBytes: __expectLong,
|
|
3820
|
+
storeId: __expectString,
|
|
3221
3821
|
tags: _json,
|
|
3222
3822
|
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3823
|
+
versionArn: __expectString,
|
|
3824
|
+
versionName: __expectString,
|
|
3825
|
+
versionOptions: (_) => _json(__expectUnion(_)),
|
|
3826
|
+
versionSizeBytes: __expectLong,
|
|
3223
3827
|
});
|
|
3224
3828
|
Object.assign(contents, doc);
|
|
3225
3829
|
return contents;
|
|
3226
3830
|
};
|
|
3227
|
-
const
|
|
3831
|
+
const de_GetAnnotationStoreVersionCommandError = async (output, context) => {
|
|
3228
3832
|
const parsedOutput = {
|
|
3229
3833
|
...output,
|
|
3230
3834
|
body: await parseErrorBody(output.body, context),
|
|
@@ -4005,6 +4609,57 @@ const de_GetSequenceStoreCommandError = async (output, context) => {
|
|
|
4005
4609
|
});
|
|
4006
4610
|
}
|
|
4007
4611
|
};
|
|
4612
|
+
export const de_GetShareCommand = async (output, context) => {
|
|
4613
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4614
|
+
return de_GetShareCommandError(output, context);
|
|
4615
|
+
}
|
|
4616
|
+
const contents = map({
|
|
4617
|
+
$metadata: deserializeMetadata(output),
|
|
4618
|
+
});
|
|
4619
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4620
|
+
const doc = take(data, {
|
|
4621
|
+
share: (_) => de_ShareDetails(_, context),
|
|
4622
|
+
});
|
|
4623
|
+
Object.assign(contents, doc);
|
|
4624
|
+
return contents;
|
|
4625
|
+
};
|
|
4626
|
+
const de_GetShareCommandError = async (output, context) => {
|
|
4627
|
+
const parsedOutput = {
|
|
4628
|
+
...output,
|
|
4629
|
+
body: await parseErrorBody(output.body, context),
|
|
4630
|
+
};
|
|
4631
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4632
|
+
switch (errorCode) {
|
|
4633
|
+
case "AccessDeniedException":
|
|
4634
|
+
case "com.amazonaws.omics#AccessDeniedException":
|
|
4635
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4636
|
+
case "ConflictException":
|
|
4637
|
+
case "com.amazonaws.omics#ConflictException":
|
|
4638
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4639
|
+
case "InternalServerException":
|
|
4640
|
+
case "com.amazonaws.omics#InternalServerException":
|
|
4641
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4642
|
+
case "ResourceNotFoundException":
|
|
4643
|
+
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4644
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4645
|
+
case "ServiceQuotaExceededException":
|
|
4646
|
+
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
4647
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
4648
|
+
case "ThrottlingException":
|
|
4649
|
+
case "com.amazonaws.omics#ThrottlingException":
|
|
4650
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4651
|
+
case "ValidationException":
|
|
4652
|
+
case "com.amazonaws.omics#ValidationException":
|
|
4653
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4654
|
+
default:
|
|
4655
|
+
const parsedBody = parsedOutput.body;
|
|
4656
|
+
return throwDefaultError({
|
|
4657
|
+
output,
|
|
4658
|
+
parsedBody,
|
|
4659
|
+
errorCode,
|
|
4660
|
+
});
|
|
4661
|
+
}
|
|
4662
|
+
};
|
|
4008
4663
|
export const de_GetVariantImportJobCommand = async (output, context) => {
|
|
4009
4664
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4010
4665
|
return de_GetVariantImportJobCommandError(output, context);
|
|
@@ -4278,6 +4933,52 @@ const de_ListAnnotationStoresCommandError = async (output, context) => {
|
|
|
4278
4933
|
});
|
|
4279
4934
|
}
|
|
4280
4935
|
};
|
|
4936
|
+
export const de_ListAnnotationStoreVersionsCommand = async (output, context) => {
|
|
4937
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4938
|
+
return de_ListAnnotationStoreVersionsCommandError(output, context);
|
|
4939
|
+
}
|
|
4940
|
+
const contents = map({
|
|
4941
|
+
$metadata: deserializeMetadata(output),
|
|
4942
|
+
});
|
|
4943
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4944
|
+
const doc = take(data, {
|
|
4945
|
+
annotationStoreVersions: (_) => de_AnnotationStoreVersionItems(_, context),
|
|
4946
|
+
nextToken: __expectString,
|
|
4947
|
+
});
|
|
4948
|
+
Object.assign(contents, doc);
|
|
4949
|
+
return contents;
|
|
4950
|
+
};
|
|
4951
|
+
const de_ListAnnotationStoreVersionsCommandError = async (output, context) => {
|
|
4952
|
+
const parsedOutput = {
|
|
4953
|
+
...output,
|
|
4954
|
+
body: await parseErrorBody(output.body, context),
|
|
4955
|
+
};
|
|
4956
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4957
|
+
switch (errorCode) {
|
|
4958
|
+
case "AccessDeniedException":
|
|
4959
|
+
case "com.amazonaws.omics#AccessDeniedException":
|
|
4960
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4961
|
+
case "InternalServerException":
|
|
4962
|
+
case "com.amazonaws.omics#InternalServerException":
|
|
4963
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4964
|
+
case "ResourceNotFoundException":
|
|
4965
|
+
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
4966
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4967
|
+
case "ThrottlingException":
|
|
4968
|
+
case "com.amazonaws.omics#ThrottlingException":
|
|
4969
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4970
|
+
case "ValidationException":
|
|
4971
|
+
case "com.amazonaws.omics#ValidationException":
|
|
4972
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4973
|
+
default:
|
|
4974
|
+
const parsedBody = parsedOutput.body;
|
|
4975
|
+
return throwDefaultError({
|
|
4976
|
+
output,
|
|
4977
|
+
parsedBody,
|
|
4978
|
+
errorCode,
|
|
4979
|
+
});
|
|
4980
|
+
}
|
|
4981
|
+
};
|
|
4281
4982
|
export const de_ListMultipartReadSetUploadsCommand = async (output, context) => {
|
|
4282
4983
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4283
4984
|
return de_ListMultipartReadSetUploadsCommandError(output, context);
|
|
@@ -4939,6 +5640,58 @@ const de_ListSequenceStoresCommandError = async (output, context) => {
|
|
|
4939
5640
|
});
|
|
4940
5641
|
}
|
|
4941
5642
|
};
|
|
5643
|
+
export const de_ListSharesCommand = async (output, context) => {
|
|
5644
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5645
|
+
return de_ListSharesCommandError(output, context);
|
|
5646
|
+
}
|
|
5647
|
+
const contents = map({
|
|
5648
|
+
$metadata: deserializeMetadata(output),
|
|
5649
|
+
});
|
|
5650
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5651
|
+
const doc = take(data, {
|
|
5652
|
+
nextToken: __expectString,
|
|
5653
|
+
shares: (_) => de_ShareDetailsList(_, context),
|
|
5654
|
+
});
|
|
5655
|
+
Object.assign(contents, doc);
|
|
5656
|
+
return contents;
|
|
5657
|
+
};
|
|
5658
|
+
const de_ListSharesCommandError = async (output, context) => {
|
|
5659
|
+
const parsedOutput = {
|
|
5660
|
+
...output,
|
|
5661
|
+
body: await parseErrorBody(output.body, context),
|
|
5662
|
+
};
|
|
5663
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5664
|
+
switch (errorCode) {
|
|
5665
|
+
case "AccessDeniedException":
|
|
5666
|
+
case "com.amazonaws.omics#AccessDeniedException":
|
|
5667
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
5668
|
+
case "ConflictException":
|
|
5669
|
+
case "com.amazonaws.omics#ConflictException":
|
|
5670
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
5671
|
+
case "InternalServerException":
|
|
5672
|
+
case "com.amazonaws.omics#InternalServerException":
|
|
5673
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
5674
|
+
case "ResourceNotFoundException":
|
|
5675
|
+
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
5676
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
5677
|
+
case "ServiceQuotaExceededException":
|
|
5678
|
+
case "com.amazonaws.omics#ServiceQuotaExceededException":
|
|
5679
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
5680
|
+
case "ThrottlingException":
|
|
5681
|
+
case "com.amazonaws.omics#ThrottlingException":
|
|
5682
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5683
|
+
case "ValidationException":
|
|
5684
|
+
case "com.amazonaws.omics#ValidationException":
|
|
5685
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5686
|
+
default:
|
|
5687
|
+
const parsedBody = parsedOutput.body;
|
|
5688
|
+
return throwDefaultError({
|
|
5689
|
+
output,
|
|
5690
|
+
parsedBody,
|
|
5691
|
+
errorCode,
|
|
5692
|
+
});
|
|
5693
|
+
}
|
|
5694
|
+
};
|
|
4942
5695
|
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
4943
5696
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4944
5697
|
return de_ListTagsForResourceCommandError(output, context);
|
|
@@ -5665,6 +6418,58 @@ const de_UpdateAnnotationStoreCommandError = async (output, context) => {
|
|
|
5665
6418
|
});
|
|
5666
6419
|
}
|
|
5667
6420
|
};
|
|
6421
|
+
export const de_UpdateAnnotationStoreVersionCommand = async (output, context) => {
|
|
6422
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6423
|
+
return de_UpdateAnnotationStoreVersionCommandError(output, context);
|
|
6424
|
+
}
|
|
6425
|
+
const contents = map({
|
|
6426
|
+
$metadata: deserializeMetadata(output),
|
|
6427
|
+
});
|
|
6428
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6429
|
+
const doc = take(data, {
|
|
6430
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
6431
|
+
description: __expectString,
|
|
6432
|
+
id: __expectString,
|
|
6433
|
+
name: __expectString,
|
|
6434
|
+
status: __expectString,
|
|
6435
|
+
storeId: __expectString,
|
|
6436
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
6437
|
+
versionName: __expectString,
|
|
6438
|
+
});
|
|
6439
|
+
Object.assign(contents, doc);
|
|
6440
|
+
return contents;
|
|
6441
|
+
};
|
|
6442
|
+
const de_UpdateAnnotationStoreVersionCommandError = async (output, context) => {
|
|
6443
|
+
const parsedOutput = {
|
|
6444
|
+
...output,
|
|
6445
|
+
body: await parseErrorBody(output.body, context),
|
|
6446
|
+
};
|
|
6447
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6448
|
+
switch (errorCode) {
|
|
6449
|
+
case "AccessDeniedException":
|
|
6450
|
+
case "com.amazonaws.omics#AccessDeniedException":
|
|
6451
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
6452
|
+
case "InternalServerException":
|
|
6453
|
+
case "com.amazonaws.omics#InternalServerException":
|
|
6454
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
6455
|
+
case "ResourceNotFoundException":
|
|
6456
|
+
case "com.amazonaws.omics#ResourceNotFoundException":
|
|
6457
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
6458
|
+
case "ThrottlingException":
|
|
6459
|
+
case "com.amazonaws.omics#ThrottlingException":
|
|
6460
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
6461
|
+
case "ValidationException":
|
|
6462
|
+
case "com.amazonaws.omics#ValidationException":
|
|
6463
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
6464
|
+
default:
|
|
6465
|
+
const parsedBody = parsedOutput.body;
|
|
6466
|
+
return throwDefaultError({
|
|
6467
|
+
output,
|
|
6468
|
+
parsedBody,
|
|
6469
|
+
errorCode,
|
|
6470
|
+
});
|
|
6471
|
+
}
|
|
6472
|
+
};
|
|
5668
6473
|
export const de_UpdateRunGroupCommand = async (output, context) => {
|
|
5669
6474
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
5670
6475
|
return de_UpdateRunGroupCommandError(output, context);
|
|
@@ -6101,6 +6906,7 @@ const de_AnnotationImportJobItem = (output, context) => {
|
|
|
6101
6906
|
runLeftNormalization: __expectBoolean,
|
|
6102
6907
|
status: __expectString,
|
|
6103
6908
|
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
6909
|
+
versionName: __expectString,
|
|
6104
6910
|
});
|
|
6105
6911
|
};
|
|
6106
6912
|
const de_AnnotationImportJobItems = (output, context) => {
|
|
@@ -6135,6 +6941,29 @@ const de_AnnotationStoreItems = (output, context) => {
|
|
|
6135
6941
|
});
|
|
6136
6942
|
return retVal;
|
|
6137
6943
|
};
|
|
6944
|
+
const de_AnnotationStoreVersionItem = (output, context) => {
|
|
6945
|
+
return take(output, {
|
|
6946
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
6947
|
+
description: __expectString,
|
|
6948
|
+
id: __expectString,
|
|
6949
|
+
name: __expectString,
|
|
6950
|
+
status: __expectString,
|
|
6951
|
+
statusMessage: __expectString,
|
|
6952
|
+
storeId: __expectString,
|
|
6953
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
6954
|
+
versionArn: __expectString,
|
|
6955
|
+
versionName: __expectString,
|
|
6956
|
+
versionSizeBytes: __expectLong,
|
|
6957
|
+
});
|
|
6958
|
+
};
|
|
6959
|
+
const de_AnnotationStoreVersionItems = (output, context) => {
|
|
6960
|
+
const retVal = (output || [])
|
|
6961
|
+
.filter((e) => e != null)
|
|
6962
|
+
.map((entry) => {
|
|
6963
|
+
return de_AnnotationStoreVersionItem(entry, context);
|
|
6964
|
+
});
|
|
6965
|
+
return retVal;
|
|
6966
|
+
};
|
|
6138
6967
|
const de_ExportReadSetJobDetail = (output, context) => {
|
|
6139
6968
|
return take(output, {
|
|
6140
6969
|
completionTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
@@ -6359,6 +7188,27 @@ const de_SequenceStoreDetailList = (output, context) => {
|
|
|
6359
7188
|
});
|
|
6360
7189
|
return retVal;
|
|
6361
7190
|
};
|
|
7191
|
+
const de_ShareDetails = (output, context) => {
|
|
7192
|
+
return take(output, {
|
|
7193
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
7194
|
+
ownerId: __expectString,
|
|
7195
|
+
principalSubscriber: __expectString,
|
|
7196
|
+
resourceArn: __expectString,
|
|
7197
|
+
shareId: __expectString,
|
|
7198
|
+
shareName: __expectString,
|
|
7199
|
+
status: __expectString,
|
|
7200
|
+
statusMessage: __expectString,
|
|
7201
|
+
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
7202
|
+
});
|
|
7203
|
+
};
|
|
7204
|
+
const de_ShareDetailsList = (output, context) => {
|
|
7205
|
+
const retVal = (output || [])
|
|
7206
|
+
.filter((e) => e != null)
|
|
7207
|
+
.map((entry) => {
|
|
7208
|
+
return de_ShareDetails(entry, context);
|
|
7209
|
+
});
|
|
7210
|
+
return retVal;
|
|
7211
|
+
};
|
|
6362
7212
|
const de_TaskList = (output, context) => {
|
|
6363
7213
|
const retVal = (output || [])
|
|
6364
7214
|
.filter((e) => e != null)
|