@aws-sdk/client-omics 3.476.0 → 3.478.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-cjs/protocols/Aws_restJson1.js +565 -1096
- 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-es/protocols/Aws_restJson1.js +567 -1098
- 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 +7 -6
|
@@ -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");
|