@aws-sdk/client-omics 3.477.0 → 3.480.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/dist-cjs/pagination/ListAnnotationImportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAnnotationStoreVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAnnotationStoresPaginator.js +2 -24
- package/dist-cjs/pagination/ListMultipartReadSetUploadsPaginator.js +2 -24
- package/dist-cjs/pagination/ListReadSetActivationJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListReadSetExportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListReadSetImportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListReadSetUploadPartsPaginator.js +2 -24
- package/dist-cjs/pagination/ListReadSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListReferenceImportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListReferenceStoresPaginator.js +2 -24
- package/dist-cjs/pagination/ListReferencesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRunGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRunTasksPaginator.js +2 -24
- package/dist-cjs/pagination/ListRunsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSequenceStoresPaginator.js +2 -24
- package/dist-cjs/pagination/ListSharesPaginator.js +2 -24
- package/dist-cjs/pagination/ListVariantImportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListVariantStoresPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +2 -24
- package/dist-es/pagination/ListAnnotationImportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListAnnotationStoreVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListAnnotationStoresPaginator.js +2 -23
- package/dist-es/pagination/ListMultipartReadSetUploadsPaginator.js +2 -23
- package/dist-es/pagination/ListReadSetActivationJobsPaginator.js +2 -23
- package/dist-es/pagination/ListReadSetExportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListReadSetImportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListReadSetUploadPartsPaginator.js +2 -23
- package/dist-es/pagination/ListReadSetsPaginator.js +2 -23
- package/dist-es/pagination/ListReferenceImportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListReferenceStoresPaginator.js +2 -23
- package/dist-es/pagination/ListReferencesPaginator.js +2 -23
- package/dist-es/pagination/ListRunGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListRunTasksPaginator.js +2 -23
- package/dist-es/pagination/ListRunsPaginator.js +2 -23
- package/dist-es/pagination/ListSequenceStoresPaginator.js +2 -23
- package/dist-es/pagination/ListSharesPaginator.js +2 -23
- package/dist-es/pagination/ListVariantImportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListVariantStoresPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowsPaginator.js +2 -23
- package/dist-types/commands/ListMultipartReadSetUploadsCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/pagination/ListAnnotationImportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAnnotationStoreVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAnnotationStoresPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMultipartReadSetUploadsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReadSetActivationJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReadSetExportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReadSetImportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReadSetUploadPartsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReadSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReferenceImportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReferenceStoresPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReferencesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRunGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRunTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSequenceStoresPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSharesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVariantImportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVariantStoresPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListAnnotationImportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAnnotationStoreVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAnnotationStoresPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMultipartReadSetUploadsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReadSetActivationJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReadSetExportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReadSetImportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReadSetUploadPartsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReadSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReferenceImportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReferenceStoresPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReferencesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRunGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRunTasksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSequenceStoresPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSharesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVariantImportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVariantStoresPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListWorkflows = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListWorkflowsCommand_1 = require("../commands/ListWorkflowsCommand");
|
|
5
6
|
const OmicsClient_1 = require("../OmicsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListWorkflowsCommand_1.ListWorkflowsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListWorkflows(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.startingToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof OmicsClient_1.OmicsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListWorkflows = paginateListWorkflows;
|
|
7
|
+
exports.paginateListWorkflows = (0, core_1.createPaginator)(OmicsClient_1.OmicsClient, ListWorkflowsCommand_1.ListWorkflowsCommand, "startingToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAnnotationImportJobsCommand, } from "../commands/ListAnnotationImportJobsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAnnotationImportJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAnnotationImportJobs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAnnotationImportJobs = createPaginator(OmicsClient, ListAnnotationImportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAnnotationStoreVersionsCommand, } from "../commands/ListAnnotationStoreVersionsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAnnotationStoreVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAnnotationStoreVersions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAnnotationStoreVersions = createPaginator(OmicsClient, ListAnnotationStoreVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAnnotationStoresCommand, } from "../commands/ListAnnotationStoresCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAnnotationStoresCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAnnotationStores(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAnnotationStores = createPaginator(OmicsClient, ListAnnotationStoresCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMultipartReadSetUploadsCommand, } from "../commands/ListMultipartReadSetUploadsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMultipartReadSetUploadsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMultipartReadSetUploads(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListMultipartReadSetUploads = createPaginator(OmicsClient, ListMultipartReadSetUploadsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListReadSetActivationJobsCommand, } from "../commands/ListReadSetActivationJobsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListReadSetActivationJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListReadSetActivationJobs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListReadSetActivationJobs = createPaginator(OmicsClient, ListReadSetActivationJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListReadSetExportJobsCommand, } from "../commands/ListReadSetExportJobsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListReadSetExportJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListReadSetExportJobs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListReadSetExportJobs = createPaginator(OmicsClient, ListReadSetExportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListReadSetImportJobsCommand, } from "../commands/ListReadSetImportJobsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListReadSetImportJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListReadSetImportJobs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListReadSetImportJobs = createPaginator(OmicsClient, ListReadSetImportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListReadSetUploadPartsCommand, } from "../commands/ListReadSetUploadPartsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListReadSetUploadPartsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListReadSetUploadParts(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListReadSetUploadParts = createPaginator(OmicsClient, ListReadSetUploadPartsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListReadSetsCommand, } from "../commands/ListReadSetsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListReadSetsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListReadSets(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListReadSets = createPaginator(OmicsClient, ListReadSetsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListReferenceImportJobsCommand, } from "../commands/ListReferenceImportJobsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListReferenceImportJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListReferenceImportJobs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListReferenceImportJobs = createPaginator(OmicsClient, ListReferenceImportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListReferenceStoresCommand, } from "../commands/ListReferenceStoresCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListReferenceStoresCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListReferenceStores(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListReferenceStores = createPaginator(OmicsClient, ListReferenceStoresCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListReferencesCommand, } from "../commands/ListReferencesCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListReferencesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListReferences(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListReferences = createPaginator(OmicsClient, ListReferencesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRunGroupsCommand, } from "../commands/ListRunGroupsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRunGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRunGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.startingToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRunGroups = createPaginator(OmicsClient, ListRunGroupsCommand, "startingToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRunTasksCommand, } from "../commands/ListRunTasksCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRunTasksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRunTasks(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.startingToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRunTasks = createPaginator(OmicsClient, ListRunTasksCommand, "startingToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRunsCommand } from "../commands/ListRunsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRunsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRuns(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.startingToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRuns = createPaginator(OmicsClient, ListRunsCommand, "startingToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListSequenceStoresCommand, } from "../commands/ListSequenceStoresCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSequenceStoresCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSequenceStores(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListSequenceStores = createPaginator(OmicsClient, ListSequenceStoresCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListSharesCommand } from "../commands/ListSharesCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSharesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListShares(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListShares = createPaginator(OmicsClient, ListSharesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListVariantImportJobsCommand, } from "../commands/ListVariantImportJobsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListVariantImportJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListVariantImportJobs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListVariantImportJobs = createPaginator(OmicsClient, ListVariantImportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListVariantStoresCommand, } from "../commands/ListVariantStoresCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListVariantStoresCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListVariantStores(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListVariantStores = createPaginator(OmicsClient, ListVariantStoresCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListWorkflowsCommand, } from "../commands/ListWorkflowsCommand";
|
|
2
3
|
import { OmicsClient } from "../OmicsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListWorkflowsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListWorkflows(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.startingToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof OmicsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Omics | OmicsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListWorkflows = createPaginator(OmicsClient, ListWorkflowsCommand, "startingToken", "nextToken", "maxResults");
|
|
@@ -24,7 +24,7 @@ export interface ListMultipartReadSetUploadsCommandOutput extends ListMultipartR
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>
|
|
27
|
-
* Lists
|
|
27
|
+
* Lists multipart read set uploads and for in progress uploads. Once the upload is completed, a read set is created and the upload will no longer be returned in the respone.
|
|
28
28
|
* </p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -2715,7 +2715,7 @@ export interface CreateWorkflowRequest {
|
|
|
2715
2715
|
parameterTemplate?: Record<string, WorkflowParameter>;
|
|
2716
2716
|
/**
|
|
2717
2717
|
* @public
|
|
2718
|
-
* <p>A storage capacity for the workflow in
|
|
2718
|
+
* <p>A storage capacity for the workflow in gibibytes.</p>
|
|
2719
2719
|
*/
|
|
2720
2720
|
storageCapacity?: number;
|
|
2721
2721
|
/**
|
|
@@ -4,4 +4,4 @@ import { OmicsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAnnotationImportJobs: (config: OmicsPaginationConfiguration, input: ListAnnotationImportJobsCommandInput, ...rest: any[]) => Paginator<ListAnnotationImportJobsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { OmicsPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAnnotationStoreVersions: (config: OmicsPaginationConfiguration, input: ListAnnotationStoreVersionsCommandInput, ...rest: any[]) => Paginator<ListAnnotationStoreVersionsCommandOutput>;
|