@aws-sdk/client-omics 3.388.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 +911 -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 +886 -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/GetRunTaskCommand.d.ts +1 -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/ListRunTasksCommand.d.ts +1 -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 +1021 -44
- 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 +199 -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
|
@@ -4,6 +4,8 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./waitForAnnotationImportJobCreated"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./waitForAnnotationStoreCreated"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./waitForAnnotationStoreDeleted"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./waitForAnnotationStoreVersionCreated"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./waitForAnnotationStoreVersionDeleted"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./waitForReadSetActivationJobCompleted"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./waitForReadSetExportJobCompleted"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./waitForReadSetImportJobCompleted"), exports);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.waitUntilAnnotationStoreVersionCreated = exports.waitForAnnotationStoreVersionCreated = void 0;
|
|
4
|
+
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
+
const GetAnnotationStoreVersionCommand_1 = require("../commands/GetAnnotationStoreVersionCommand");
|
|
6
|
+
const checkState = async (client, input) => {
|
|
7
|
+
let reason;
|
|
8
|
+
try {
|
|
9
|
+
const result = await client.send(new GetAnnotationStoreVersionCommand_1.GetAnnotationStoreVersionCommand(input));
|
|
10
|
+
reason = result;
|
|
11
|
+
try {
|
|
12
|
+
const returnComparator = () => {
|
|
13
|
+
return result.status;
|
|
14
|
+
};
|
|
15
|
+
if (returnComparator() === "ACTIVE") {
|
|
16
|
+
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
catch (e) { }
|
|
20
|
+
try {
|
|
21
|
+
const returnComparator = () => {
|
|
22
|
+
return result.status;
|
|
23
|
+
};
|
|
24
|
+
if (returnComparator() === "CREATING") {
|
|
25
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
catch (e) { }
|
|
29
|
+
try {
|
|
30
|
+
const returnComparator = () => {
|
|
31
|
+
return result.status;
|
|
32
|
+
};
|
|
33
|
+
if (returnComparator() === "UPDATING") {
|
|
34
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
catch (e) { }
|
|
38
|
+
try {
|
|
39
|
+
const returnComparator = () => {
|
|
40
|
+
return result.status;
|
|
41
|
+
};
|
|
42
|
+
if (returnComparator() === "FAILED") {
|
|
43
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
catch (e) { }
|
|
47
|
+
}
|
|
48
|
+
catch (exception) {
|
|
49
|
+
reason = exception;
|
|
50
|
+
}
|
|
51
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
52
|
+
};
|
|
53
|
+
const waitForAnnotationStoreVersionCreated = async (params, input) => {
|
|
54
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 600 };
|
|
55
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
56
|
+
};
|
|
57
|
+
exports.waitForAnnotationStoreVersionCreated = waitForAnnotationStoreVersionCreated;
|
|
58
|
+
const waitUntilAnnotationStoreVersionCreated = async (params, input) => {
|
|
59
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 600 };
|
|
60
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
61
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
62
|
+
};
|
|
63
|
+
exports.waitUntilAnnotationStoreVersionCreated = waitUntilAnnotationStoreVersionCreated;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.waitUntilAnnotationStoreVersionDeleted = exports.waitForAnnotationStoreVersionDeleted = void 0;
|
|
4
|
+
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
+
const GetAnnotationStoreVersionCommand_1 = require("../commands/GetAnnotationStoreVersionCommand");
|
|
6
|
+
const checkState = async (client, input) => {
|
|
7
|
+
let reason;
|
|
8
|
+
try {
|
|
9
|
+
const result = await client.send(new GetAnnotationStoreVersionCommand_1.GetAnnotationStoreVersionCommand(input));
|
|
10
|
+
reason = result;
|
|
11
|
+
try {
|
|
12
|
+
const returnComparator = () => {
|
|
13
|
+
return result.status;
|
|
14
|
+
};
|
|
15
|
+
if (returnComparator() === "DELETED") {
|
|
16
|
+
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
catch (e) { }
|
|
20
|
+
try {
|
|
21
|
+
const returnComparator = () => {
|
|
22
|
+
return result.status;
|
|
23
|
+
};
|
|
24
|
+
if (returnComparator() === "DELETING") {
|
|
25
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
catch (e) { }
|
|
29
|
+
}
|
|
30
|
+
catch (exception) {
|
|
31
|
+
reason = exception;
|
|
32
|
+
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
33
|
+
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
37
|
+
};
|
|
38
|
+
const waitForAnnotationStoreVersionDeleted = async (params, input) => {
|
|
39
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 600 };
|
|
40
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
41
|
+
};
|
|
42
|
+
exports.waitForAnnotationStoreVersionDeleted = waitForAnnotationStoreVersionDeleted;
|
|
43
|
+
const waitUntilAnnotationStoreVersionDeleted = async (params, input) => {
|
|
44
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 600 };
|
|
45
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
46
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
47
|
+
};
|
|
48
|
+
exports.waitUntilAnnotationStoreVersionDeleted = waitUntilAnnotationStoreVersionDeleted;
|
package/dist-es/Omics.js
CHANGED
|
@@ -1,27 +1,33 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { AbortMultipartReadSetUploadCommand, } from "./commands/AbortMultipartReadSetUploadCommand";
|
|
3
|
+
import { AcceptShareCommand } from "./commands/AcceptShareCommand";
|
|
3
4
|
import { BatchDeleteReadSetCommand, } from "./commands/BatchDeleteReadSetCommand";
|
|
4
5
|
import { CancelAnnotationImportJobCommand, } from "./commands/CancelAnnotationImportJobCommand";
|
|
5
6
|
import { CancelRunCommand } from "./commands/CancelRunCommand";
|
|
6
7
|
import { CancelVariantImportJobCommand, } from "./commands/CancelVariantImportJobCommand";
|
|
7
8
|
import { CompleteMultipartReadSetUploadCommand, } from "./commands/CompleteMultipartReadSetUploadCommand";
|
|
8
9
|
import { CreateAnnotationStoreCommand, } from "./commands/CreateAnnotationStoreCommand";
|
|
10
|
+
import { CreateAnnotationStoreVersionCommand, } from "./commands/CreateAnnotationStoreVersionCommand";
|
|
9
11
|
import { CreateMultipartReadSetUploadCommand, } from "./commands/CreateMultipartReadSetUploadCommand";
|
|
10
12
|
import { CreateReferenceStoreCommand, } from "./commands/CreateReferenceStoreCommand";
|
|
11
13
|
import { CreateRunGroupCommand, } from "./commands/CreateRunGroupCommand";
|
|
12
14
|
import { CreateSequenceStoreCommand, } from "./commands/CreateSequenceStoreCommand";
|
|
15
|
+
import { CreateShareCommand } from "./commands/CreateShareCommand";
|
|
13
16
|
import { CreateVariantStoreCommand, } from "./commands/CreateVariantStoreCommand";
|
|
14
17
|
import { CreateWorkflowCommand, } from "./commands/CreateWorkflowCommand";
|
|
15
18
|
import { DeleteAnnotationStoreCommand, } from "./commands/DeleteAnnotationStoreCommand";
|
|
19
|
+
import { DeleteAnnotationStoreVersionsCommand, } from "./commands/DeleteAnnotationStoreVersionsCommand";
|
|
16
20
|
import { DeleteReferenceCommand, } from "./commands/DeleteReferenceCommand";
|
|
17
21
|
import { DeleteReferenceStoreCommand, } from "./commands/DeleteReferenceStoreCommand";
|
|
18
22
|
import { DeleteRunCommand } from "./commands/DeleteRunCommand";
|
|
19
23
|
import { DeleteRunGroupCommand, } from "./commands/DeleteRunGroupCommand";
|
|
20
24
|
import { DeleteSequenceStoreCommand, } from "./commands/DeleteSequenceStoreCommand";
|
|
25
|
+
import { DeleteShareCommand } from "./commands/DeleteShareCommand";
|
|
21
26
|
import { DeleteVariantStoreCommand, } from "./commands/DeleteVariantStoreCommand";
|
|
22
27
|
import { DeleteWorkflowCommand, } from "./commands/DeleteWorkflowCommand";
|
|
23
28
|
import { GetAnnotationImportJobCommand, } from "./commands/GetAnnotationImportJobCommand";
|
|
24
29
|
import { GetAnnotationStoreCommand, } from "./commands/GetAnnotationStoreCommand";
|
|
30
|
+
import { GetAnnotationStoreVersionCommand, } from "./commands/GetAnnotationStoreVersionCommand";
|
|
25
31
|
import { GetReadSetActivationJobCommand, } from "./commands/GetReadSetActivationJobCommand";
|
|
26
32
|
import { GetReadSetCommand } from "./commands/GetReadSetCommand";
|
|
27
33
|
import { GetReadSetExportJobCommand, } from "./commands/GetReadSetExportJobCommand";
|
|
@@ -35,11 +41,13 @@ import { GetRunCommand } from "./commands/GetRunCommand";
|
|
|
35
41
|
import { GetRunGroupCommand } from "./commands/GetRunGroupCommand";
|
|
36
42
|
import { GetRunTaskCommand } from "./commands/GetRunTaskCommand";
|
|
37
43
|
import { GetSequenceStoreCommand, } from "./commands/GetSequenceStoreCommand";
|
|
44
|
+
import { GetShareCommand } from "./commands/GetShareCommand";
|
|
38
45
|
import { GetVariantImportJobCommand, } from "./commands/GetVariantImportJobCommand";
|
|
39
46
|
import { GetVariantStoreCommand, } from "./commands/GetVariantStoreCommand";
|
|
40
47
|
import { GetWorkflowCommand } from "./commands/GetWorkflowCommand";
|
|
41
48
|
import { ListAnnotationImportJobsCommand, } from "./commands/ListAnnotationImportJobsCommand";
|
|
42
49
|
import { ListAnnotationStoresCommand, } from "./commands/ListAnnotationStoresCommand";
|
|
50
|
+
import { ListAnnotationStoreVersionsCommand, } from "./commands/ListAnnotationStoreVersionsCommand";
|
|
43
51
|
import { ListMultipartReadSetUploadsCommand, } from "./commands/ListMultipartReadSetUploadsCommand";
|
|
44
52
|
import { ListReadSetActivationJobsCommand, } from "./commands/ListReadSetActivationJobsCommand";
|
|
45
53
|
import { ListReadSetExportJobsCommand, } from "./commands/ListReadSetExportJobsCommand";
|
|
@@ -53,6 +61,7 @@ import { ListRunGroupsCommand, } from "./commands/ListRunGroupsCommand";
|
|
|
53
61
|
import { ListRunsCommand } from "./commands/ListRunsCommand";
|
|
54
62
|
import { ListRunTasksCommand, } from "./commands/ListRunTasksCommand";
|
|
55
63
|
import { ListSequenceStoresCommand, } from "./commands/ListSequenceStoresCommand";
|
|
64
|
+
import { ListSharesCommand } from "./commands/ListSharesCommand";
|
|
56
65
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
57
66
|
import { ListVariantImportJobsCommand, } from "./commands/ListVariantImportJobsCommand";
|
|
58
67
|
import { ListVariantStoresCommand, } from "./commands/ListVariantStoresCommand";
|
|
@@ -67,6 +76,7 @@ import { StartVariantImportJobCommand, } from "./commands/StartVariantImportJobC
|
|
|
67
76
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
68
77
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
69
78
|
import { UpdateAnnotationStoreCommand, } from "./commands/UpdateAnnotationStoreCommand";
|
|
79
|
+
import { UpdateAnnotationStoreVersionCommand, } from "./commands/UpdateAnnotationStoreVersionCommand";
|
|
70
80
|
import { UpdateRunGroupCommand, } from "./commands/UpdateRunGroupCommand";
|
|
71
81
|
import { UpdateVariantStoreCommand, } from "./commands/UpdateVariantStoreCommand";
|
|
72
82
|
import { UpdateWorkflowCommand, } from "./commands/UpdateWorkflowCommand";
|
|
@@ -74,28 +84,34 @@ import { UploadReadSetPartCommand, } from "./commands/UploadReadSetPartCommand";
|
|
|
74
84
|
import { OmicsClient } from "./OmicsClient";
|
|
75
85
|
const commands = {
|
|
76
86
|
AbortMultipartReadSetUploadCommand,
|
|
87
|
+
AcceptShareCommand,
|
|
77
88
|
BatchDeleteReadSetCommand,
|
|
78
89
|
CancelAnnotationImportJobCommand,
|
|
79
90
|
CancelRunCommand,
|
|
80
91
|
CancelVariantImportJobCommand,
|
|
81
92
|
CompleteMultipartReadSetUploadCommand,
|
|
82
93
|
CreateAnnotationStoreCommand,
|
|
94
|
+
CreateAnnotationStoreVersionCommand,
|
|
83
95
|
CreateMultipartReadSetUploadCommand,
|
|
84
96
|
CreateReferenceStoreCommand,
|
|
85
97
|
CreateRunGroupCommand,
|
|
86
98
|
CreateSequenceStoreCommand,
|
|
99
|
+
CreateShareCommand,
|
|
87
100
|
CreateVariantStoreCommand,
|
|
88
101
|
CreateWorkflowCommand,
|
|
89
102
|
DeleteAnnotationStoreCommand,
|
|
103
|
+
DeleteAnnotationStoreVersionsCommand,
|
|
90
104
|
DeleteReferenceCommand,
|
|
91
105
|
DeleteReferenceStoreCommand,
|
|
92
106
|
DeleteRunCommand,
|
|
93
107
|
DeleteRunGroupCommand,
|
|
94
108
|
DeleteSequenceStoreCommand,
|
|
109
|
+
DeleteShareCommand,
|
|
95
110
|
DeleteVariantStoreCommand,
|
|
96
111
|
DeleteWorkflowCommand,
|
|
97
112
|
GetAnnotationImportJobCommand,
|
|
98
113
|
GetAnnotationStoreCommand,
|
|
114
|
+
GetAnnotationStoreVersionCommand,
|
|
99
115
|
GetReadSetCommand,
|
|
100
116
|
GetReadSetActivationJobCommand,
|
|
101
117
|
GetReadSetExportJobCommand,
|
|
@@ -109,11 +125,13 @@ const commands = {
|
|
|
109
125
|
GetRunGroupCommand,
|
|
110
126
|
GetRunTaskCommand,
|
|
111
127
|
GetSequenceStoreCommand,
|
|
128
|
+
GetShareCommand,
|
|
112
129
|
GetVariantImportJobCommand,
|
|
113
130
|
GetVariantStoreCommand,
|
|
114
131
|
GetWorkflowCommand,
|
|
115
132
|
ListAnnotationImportJobsCommand,
|
|
116
133
|
ListAnnotationStoresCommand,
|
|
134
|
+
ListAnnotationStoreVersionsCommand,
|
|
117
135
|
ListMultipartReadSetUploadsCommand,
|
|
118
136
|
ListReadSetActivationJobsCommand,
|
|
119
137
|
ListReadSetExportJobsCommand,
|
|
@@ -127,6 +145,7 @@ const commands = {
|
|
|
127
145
|
ListRunsCommand,
|
|
128
146
|
ListRunTasksCommand,
|
|
129
147
|
ListSequenceStoresCommand,
|
|
148
|
+
ListSharesCommand,
|
|
130
149
|
ListTagsForResourceCommand,
|
|
131
150
|
ListVariantImportJobsCommand,
|
|
132
151
|
ListVariantStoresCommand,
|
|
@@ -141,6 +160,7 @@ const commands = {
|
|
|
141
160
|
TagResourceCommand,
|
|
142
161
|
UntagResourceCommand,
|
|
143
162
|
UpdateAnnotationStoreCommand,
|
|
163
|
+
UpdateAnnotationStoreVersionCommand,
|
|
144
164
|
UpdateRunGroupCommand,
|
|
145
165
|
UpdateVariantStoreCommand,
|
|
146
166
|
UpdateWorkflowCommand,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_AcceptShareCommand, se_AcceptShareCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class AcceptShareCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AcceptShareCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "OmicsClient";
|
|
25
|
+
const commandName = "AcceptShareCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_AcceptShareCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_AcceptShareCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_CreateAnnotationStoreVersionCommand, se_CreateAnnotationStoreVersionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateAnnotationStoreVersionCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateAnnotationStoreVersionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "OmicsClient";
|
|
25
|
+
const commandName = "CreateAnnotationStoreVersionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateAnnotationStoreVersionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateAnnotationStoreVersionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_CreateShareCommand, se_CreateShareCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateShareCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateShareCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "OmicsClient";
|
|
25
|
+
const commandName = "CreateShareCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateShareCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateShareCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DeleteAnnotationStoreVersionsCommand, se_DeleteAnnotationStoreVersionsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteAnnotationStoreVersionsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAnnotationStoreVersionsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "OmicsClient";
|
|
25
|
+
const commandName = "DeleteAnnotationStoreVersionsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteAnnotationStoreVersionsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteAnnotationStoreVersionsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DeleteShareCommand, se_DeleteShareCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteShareCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteShareCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "OmicsClient";
|
|
25
|
+
const commandName = "DeleteShareCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteShareCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteShareCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_GetAnnotationStoreVersionCommand, se_GetAnnotationStoreVersionCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetAnnotationStoreVersionCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetAnnotationStoreVersionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "OmicsClient";
|
|
25
|
+
const commandName = "GetAnnotationStoreVersionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_GetAnnotationStoreVersionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_GetAnnotationStoreVersionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_GetShareCommand, se_GetShareCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetShareCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetShareCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "OmicsClient";
|
|
25
|
+
const commandName = "GetShareCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_GetShareCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_GetShareCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListAnnotationStoreVersionsCommand, se_ListAnnotationStoreVersionsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListAnnotationStoreVersionsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListAnnotationStoreVersionsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "OmicsClient";
|
|
25
|
+
const commandName = "ListAnnotationStoreVersionsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListAnnotationStoreVersionsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListAnnotationStoreVersionsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListSharesCommand, se_ListSharesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListSharesCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListSharesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "OmicsClient";
|
|
25
|
+
const commandName = "ListSharesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListSharesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListSharesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|