@aws-sdk/client-device-farm 3.477.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/GetOfferingStatusPaginator.js +2 -23
- package/dist-cjs/pagination/ListArtifactsPaginator.js +2 -23
- package/dist-cjs/pagination/ListDevicePoolsPaginator.js +2 -23
- package/dist-cjs/pagination/ListDevicesPaginator.js +2 -23
- package/dist-cjs/pagination/ListJobsPaginator.js +2 -23
- package/dist-cjs/pagination/ListOfferingTransactionsPaginator.js +2 -23
- package/dist-cjs/pagination/ListOfferingsPaginator.js +2 -23
- package/dist-cjs/pagination/ListProjectsPaginator.js +2 -23
- package/dist-cjs/pagination/ListRunsPaginator.js +2 -23
- package/dist-cjs/pagination/ListSamplesPaginator.js +2 -23
- package/dist-cjs/pagination/ListSuitesPaginator.js +2 -23
- package/dist-cjs/pagination/ListTestGridProjectsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTestGridSessionActionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTestGridSessionArtifactsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTestGridSessionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTestsPaginator.js +2 -23
- package/dist-cjs/pagination/ListUniqueProblemsPaginator.js +2 -23
- package/dist-cjs/pagination/ListUploadsPaginator.js +2 -23
- package/dist-es/pagination/GetOfferingStatusPaginator.js +2 -22
- package/dist-es/pagination/ListArtifactsPaginator.js +2 -22
- package/dist-es/pagination/ListDevicePoolsPaginator.js +2 -22
- package/dist-es/pagination/ListDevicesPaginator.js +2 -22
- package/dist-es/pagination/ListJobsPaginator.js +2 -22
- package/dist-es/pagination/ListOfferingTransactionsPaginator.js +2 -22
- package/dist-es/pagination/ListOfferingsPaginator.js +2 -22
- package/dist-es/pagination/ListProjectsPaginator.js +2 -22
- package/dist-es/pagination/ListRunsPaginator.js +2 -22
- package/dist-es/pagination/ListSamplesPaginator.js +2 -22
- package/dist-es/pagination/ListSuitesPaginator.js +2 -22
- package/dist-es/pagination/ListTestGridProjectsPaginator.js +2 -23
- package/dist-es/pagination/ListTestGridSessionActionsPaginator.js +2 -23
- package/dist-es/pagination/ListTestGridSessionArtifactsPaginator.js +2 -23
- package/dist-es/pagination/ListTestGridSessionsPaginator.js +2 -23
- package/dist-es/pagination/ListTestsPaginator.js +2 -22
- package/dist-es/pagination/ListUniqueProblemsPaginator.js +2 -22
- package/dist-es/pagination/ListUploadsPaginator.js +2 -22
- package/dist-types/pagination/GetOfferingStatusPaginator.d.ts +1 -1
- package/dist-types/pagination/ListArtifactsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDevicePoolsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDevicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOfferingTransactionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOfferingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRunsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSamplesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSuitesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTestGridProjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTestGridSessionActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTestGridSessionArtifactsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTestGridSessionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTestsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUniqueProblemsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUploadsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/GetOfferingStatusPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListArtifactsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDevicePoolsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDevicesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOfferingTransactionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOfferingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRunsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSamplesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSuitesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTestGridProjectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTestGridSessionActionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTestGridSessionArtifactsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTestGridSessionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTestsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUniqueProblemsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUploadsPaginator.d.ts +3 -3
- package/package.json +6 -5
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetOfferingStatus = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetOfferingStatusCommand_1 = require("../commands/GetOfferingStatusCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetOfferingStatusCommand_1.GetOfferingStatusCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetOfferingStatus(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateGetOfferingStatus = paginateGetOfferingStatus;
|
|
7
|
+
exports.paginateGetOfferingStatus = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, GetOfferingStatusCommand_1.GetOfferingStatusCommand, "nextToken", "nextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListArtifacts = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListArtifactsCommand_1 = require("../commands/ListArtifactsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListArtifactsCommand_1.ListArtifactsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListArtifacts(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListArtifacts = paginateListArtifacts;
|
|
7
|
+
exports.paginateListArtifacts = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListArtifactsCommand_1.ListArtifactsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDevicePools = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDevicePoolsCommand_1 = require("../commands/ListDevicePoolsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDevicePoolsCommand_1.ListDevicePoolsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDevicePools(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListDevicePools = paginateListDevicePools;
|
|
7
|
+
exports.paginateListDevicePools = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListDevicePoolsCommand_1.ListDevicePoolsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDevices = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDevicesCommand_1 = require("../commands/ListDevicesCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDevicesCommand_1.ListDevicesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDevices(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListDevices = paginateListDevices;
|
|
7
|
+
exports.paginateListDevices = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListDevicesCommand_1.ListDevicesCommand, "nextToken", "nextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListJobsCommand_1 = require("../commands/ListJobsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListJobsCommand_1.ListJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListJobs = paginateListJobs;
|
|
7
|
+
exports.paginateListJobs = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListJobsCommand_1.ListJobsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListOfferingTransactions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListOfferingTransactionsCommand_1 = require("../commands/ListOfferingTransactionsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListOfferingTransactionsCommand_1.ListOfferingTransactionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListOfferingTransactions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListOfferingTransactions = paginateListOfferingTransactions;
|
|
7
|
+
exports.paginateListOfferingTransactions = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListOfferingTransactionsCommand_1.ListOfferingTransactionsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListOfferings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListOfferingsCommand_1 = require("../commands/ListOfferingsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListOfferingsCommand_1.ListOfferingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListOfferings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListOfferings = paginateListOfferings;
|
|
7
|
+
exports.paginateListOfferings = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListOfferingsCommand_1.ListOfferingsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListProjects = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListProjectsCommand_1 = require("../commands/ListProjectsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListProjectsCommand_1.ListProjectsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListProjects(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListProjects = paginateListProjects;
|
|
7
|
+
exports.paginateListProjects = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListProjectsCommand_1.ListProjectsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRuns = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRunsCommand_1 = require("../commands/ListRunsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRunsCommand_1.ListRunsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRuns(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListRuns = paginateListRuns;
|
|
7
|
+
exports.paginateListRuns = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListRunsCommand_1.ListRunsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSamples = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSamplesCommand_1 = require("../commands/ListSamplesCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSamplesCommand_1.ListSamplesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSamples(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListSamples = paginateListSamples;
|
|
7
|
+
exports.paginateListSamples = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListSamplesCommand_1.ListSamplesCommand, "nextToken", "nextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSuites = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSuitesCommand_1 = require("../commands/ListSuitesCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSuitesCommand_1.ListSuitesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSuites(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListSuites = paginateListSuites;
|
|
7
|
+
exports.paginateListSuites = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListSuitesCommand_1.ListSuitesCommand, "nextToken", "nextToken", "");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTestGridProjects = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTestGridProjectsCommand_1 = require("../commands/ListTestGridProjectsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTestGridProjectsCommand_1.ListTestGridProjectsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTestGridProjects(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResult"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
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.paginateListTestGridProjects = paginateListTestGridProjects;
|
|
7
|
+
exports.paginateListTestGridProjects = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListTestGridProjectsCommand_1.ListTestGridProjectsCommand, "nextToken", "nextToken", "maxResult");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTestGridSessionActions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTestGridSessionActionsCommand_1 = require("../commands/ListTestGridSessionActionsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTestGridSessionActionsCommand_1.ListTestGridSessionActionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTestGridSessionActions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResult"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
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.paginateListTestGridSessionActions = paginateListTestGridSessionActions;
|
|
7
|
+
exports.paginateListTestGridSessionActions = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListTestGridSessionActionsCommand_1.ListTestGridSessionActionsCommand, "nextToken", "nextToken", "maxResult");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTestGridSessionArtifacts = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTestGridSessionArtifactsCommand_1 = require("../commands/ListTestGridSessionArtifactsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTestGridSessionArtifactsCommand_1.ListTestGridSessionArtifactsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTestGridSessionArtifacts(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResult"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
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.paginateListTestGridSessionArtifacts = paginateListTestGridSessionArtifacts;
|
|
7
|
+
exports.paginateListTestGridSessionArtifacts = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListTestGridSessionArtifactsCommand_1.ListTestGridSessionArtifactsCommand, "nextToken", "nextToken", "maxResult");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTestGridSessions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTestGridSessionsCommand_1 = require("../commands/ListTestGridSessionsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTestGridSessionsCommand_1.ListTestGridSessionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTestGridSessions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResult"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
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.paginateListTestGridSessions = paginateListTestGridSessions;
|
|
7
|
+
exports.paginateListTestGridSessions = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListTestGridSessionsCommand_1.ListTestGridSessionsCommand, "nextToken", "nextToken", "maxResult");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTests = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTestsCommand_1 = require("../commands/ListTestsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTestsCommand_1.ListTestsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTests(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListTests = paginateListTests;
|
|
7
|
+
exports.paginateListTests = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListTestsCommand_1.ListTestsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListUniqueProblems = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListUniqueProblemsCommand_1 = require("../commands/ListUniqueProblemsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListUniqueProblemsCommand_1.ListUniqueProblemsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListUniqueProblems(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListUniqueProblems = paginateListUniqueProblems;
|
|
7
|
+
exports.paginateListUniqueProblems = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListUniqueProblemsCommand_1.ListUniqueProblemsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListUploads = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListUploadsCommand_1 = require("../commands/ListUploadsCommand");
|
|
5
6
|
const DeviceFarmClient_1 = require("../DeviceFarmClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListUploadsCommand_1.ListUploadsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListUploads(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof DeviceFarmClient_1.DeviceFarmClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListUploads = paginateListUploads;
|
|
7
|
+
exports.paginateListUploads = (0, core_1.createPaginator)(DeviceFarmClient_1.DeviceFarmClient, ListUploadsCommand_1.ListUploadsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetOfferingStatusCommand, } from "../commands/GetOfferingStatusCommand";
|
|
2
3
|
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetOfferingStatusCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetOfferingStatus(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
if (config.client instanceof DeviceFarmClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.nextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateGetOfferingStatus = createPaginator(DeviceFarmClient, GetOfferingStatusCommand, "nextToken", "nextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListArtifactsCommand, } from "../commands/ListArtifactsCommand";
|
|
2
3
|
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListArtifactsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListArtifacts(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
if (config.client instanceof DeviceFarmClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.nextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListArtifacts = createPaginator(DeviceFarmClient, ListArtifactsCommand, "nextToken", "nextToken", "");
|