@aws-sdk/client-ivs-realtime 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/ListCompositionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEncoderConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListParticipantEventsPaginator.js +2 -24
- package/dist-cjs/pagination/ListParticipantsPaginator.js +2 -24
- package/dist-cjs/pagination/ListStageSessionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListStagesPaginator.js +2 -24
- package/dist-cjs/pagination/ListStorageConfigurationsPaginator.js +2 -24
- package/dist-es/pagination/ListCompositionsPaginator.js +2 -23
- package/dist-es/pagination/ListEncoderConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListParticipantEventsPaginator.js +2 -23
- package/dist-es/pagination/ListParticipantsPaginator.js +2 -23
- package/dist-es/pagination/ListStageSessionsPaginator.js +2 -23
- package/dist-es/pagination/ListStagesPaginator.js +2 -23
- package/dist-es/pagination/ListStorageConfigurationsPaginator.js +2 -23
- package/dist-types/pagination/ListCompositionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEncoderConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListParticipantEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListParticipantsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStageSessionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStagesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStorageConfigurationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListCompositionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEncoderConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListParticipantEventsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListParticipantsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListStageSessionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListStagesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListStorageConfigurationsPaginator.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.paginateListCompositions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCompositionsCommand_1 = require("../commands/ListCompositionsCommand");
|
|
5
6
|
const IVSRealTimeClient_1 = require("../IVSRealTimeClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCompositionsCommand_1.ListCompositionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCompositions(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["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IVSRealTimeClient_1.IVSRealTimeClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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.paginateListCompositions = paginateListCompositions;
|
|
7
|
+
exports.paginateListCompositions = (0, core_1.createPaginator)(IVSRealTimeClient_1.IVSRealTimeClient, ListCompositionsCommand_1.ListCompositionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEncoderConfigurations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListEncoderConfigurationsCommand_1 = require("../commands/ListEncoderConfigurationsCommand");
|
|
5
6
|
const IVSRealTimeClient_1 = require("../IVSRealTimeClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEncoderConfigurationsCommand_1.ListEncoderConfigurationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEncoderConfigurations(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["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IVSRealTimeClient_1.IVSRealTimeClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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.paginateListEncoderConfigurations = paginateListEncoderConfigurations;
|
|
7
|
+
exports.paginateListEncoderConfigurations = (0, core_1.createPaginator)(IVSRealTimeClient_1.IVSRealTimeClient, ListEncoderConfigurationsCommand_1.ListEncoderConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListParticipantEvents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListParticipantEventsCommand_1 = require("../commands/ListParticipantEventsCommand");
|
|
5
6
|
const IVSRealTimeClient_1 = require("../IVSRealTimeClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListParticipantEventsCommand_1.ListParticipantEventsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListParticipantEvents(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["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IVSRealTimeClient_1.IVSRealTimeClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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.paginateListParticipantEvents = paginateListParticipantEvents;
|
|
7
|
+
exports.paginateListParticipantEvents = (0, core_1.createPaginator)(IVSRealTimeClient_1.IVSRealTimeClient, ListParticipantEventsCommand_1.ListParticipantEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListParticipants = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListParticipantsCommand_1 = require("../commands/ListParticipantsCommand");
|
|
5
6
|
const IVSRealTimeClient_1 = require("../IVSRealTimeClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListParticipantsCommand_1.ListParticipantsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListParticipants(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["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IVSRealTimeClient_1.IVSRealTimeClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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.paginateListParticipants = paginateListParticipants;
|
|
7
|
+
exports.paginateListParticipants = (0, core_1.createPaginator)(IVSRealTimeClient_1.IVSRealTimeClient, ListParticipantsCommand_1.ListParticipantsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListStageSessions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListStageSessionsCommand_1 = require("../commands/ListStageSessionsCommand");
|
|
5
6
|
const IVSRealTimeClient_1 = require("../IVSRealTimeClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListStageSessionsCommand_1.ListStageSessionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListStageSessions(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["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IVSRealTimeClient_1.IVSRealTimeClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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.paginateListStageSessions = paginateListStageSessions;
|
|
7
|
+
exports.paginateListStageSessions = (0, core_1.createPaginator)(IVSRealTimeClient_1.IVSRealTimeClient, ListStageSessionsCommand_1.ListStageSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListStages = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListStagesCommand_1 = require("../commands/ListStagesCommand");
|
|
5
6
|
const IVSRealTimeClient_1 = require("../IVSRealTimeClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListStagesCommand_1.ListStagesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListStages(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["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IVSRealTimeClient_1.IVSRealTimeClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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.paginateListStages = paginateListStages;
|
|
7
|
+
exports.paginateListStages = (0, core_1.createPaginator)(IVSRealTimeClient_1.IVSRealTimeClient, ListStagesCommand_1.ListStagesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListStorageConfigurations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListStorageConfigurationsCommand_1 = require("../commands/ListStorageConfigurationsCommand");
|
|
5
6
|
const IVSRealTimeClient_1 = require("../IVSRealTimeClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListStorageConfigurationsCommand_1.ListStorageConfigurationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListStorageConfigurations(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["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof IVSRealTimeClient_1.IVSRealTimeClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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.paginateListStorageConfigurations = paginateListStorageConfigurations;
|
|
7
|
+
exports.paginateListStorageConfigurations = (0, core_1.createPaginator)(IVSRealTimeClient_1.IVSRealTimeClient, ListStorageConfigurationsCommand_1.ListStorageConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCompositionsCommand, } from "../commands/ListCompositionsCommand";
|
|
2
3
|
import { IVSRealTimeClient } from "../IVSRealTimeClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCompositionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCompositions(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 IVSRealTimeClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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 paginateListCompositions = createPaginator(IVSRealTimeClient, ListCompositionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListEncoderConfigurationsCommand, } from "../commands/ListEncoderConfigurationsCommand";
|
|
2
3
|
import { IVSRealTimeClient } from "../IVSRealTimeClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEncoderConfigurationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEncoderConfigurations(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 IVSRealTimeClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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 paginateListEncoderConfigurations = createPaginator(IVSRealTimeClient, ListEncoderConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListParticipantEventsCommand, } from "../commands/ListParticipantEventsCommand";
|
|
2
3
|
import { IVSRealTimeClient } from "../IVSRealTimeClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListParticipantEventsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListParticipantEvents(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 IVSRealTimeClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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 paginateListParticipantEvents = createPaginator(IVSRealTimeClient, ListParticipantEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListParticipantsCommand, } from "../commands/ListParticipantsCommand";
|
|
2
3
|
import { IVSRealTimeClient } from "../IVSRealTimeClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListParticipantsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListParticipants(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 IVSRealTimeClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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 paginateListParticipants = createPaginator(IVSRealTimeClient, ListParticipantsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListStageSessionsCommand, } from "../commands/ListStageSessionsCommand";
|
|
2
3
|
import { IVSRealTimeClient } from "../IVSRealTimeClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListStageSessionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListStageSessions(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 IVSRealTimeClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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 paginateListStageSessions = createPaginator(IVSRealTimeClient, ListStageSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListStagesCommand } from "../commands/ListStagesCommand";
|
|
2
3
|
import { IVSRealTimeClient } from "../IVSRealTimeClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListStagesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListStages(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 IVSRealTimeClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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 paginateListStages = createPaginator(IVSRealTimeClient, ListStagesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListStorageConfigurationsCommand, } from "../commands/ListStorageConfigurationsCommand";
|
|
2
3
|
import { IVSRealTimeClient } from "../IVSRealTimeClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListStorageConfigurationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListStorageConfigurations(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 IVSRealTimeClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IVSRealTime | IVSRealTimeClient");
|
|
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 paginateListStorageConfigurations = createPaginator(IVSRealTimeClient, ListStorageConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4,4 +4,4 @@ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCompositions: (config: IVSRealTimePaginationConfiguration, input: ListCompositionsCommandInput, ...rest: any[]) => Paginator<ListCompositionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEncoderConfigurations: (config: IVSRealTimePaginationConfiguration, input: ListEncoderConfigurationsCommandInput, ...rest: any[]) => Paginator<ListEncoderConfigurationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListParticipantEvents: (config: IVSRealTimePaginationConfiguration, input: ListParticipantEventsCommandInput, ...rest: any[]) => Paginator<ListParticipantEventsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListParticipants: (config: IVSRealTimePaginationConfiguration, input: ListParticipantsCommandInput, ...rest: any[]) => Paginator<ListParticipantsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListStageSessions: (config: IVSRealTimePaginationConfiguration, input: ListStageSessionsCommandInput, ...rest: any[]) => Paginator<ListStageSessionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListStages: (config: IVSRealTimePaginationConfiguration, input: ListStagesCommandInput, ...rest: any[]) => Paginator<ListStagesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListStorageConfigurations: (config: IVSRealTimePaginationConfiguration, input: ListStorageConfigurationsCommandInput, ...rest: any[]) => Paginator<ListStorageConfigurationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListCompositionsCommandOutput,
|
|
5
5
|
} from "../commands/ListCompositionsCommand";
|
|
6
6
|
import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCompositions: (
|
|
8
8
|
config: IVSRealTimePaginationConfiguration,
|
|
9
9
|
input: ListCompositionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListCompositionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListEncoderConfigurationsCommandOutput,
|
|
5
5
|
} from "../commands/ListEncoderConfigurationsCommand";
|
|
6
6
|
import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEncoderConfigurations: (
|
|
8
8
|
config: IVSRealTimePaginationConfiguration,
|
|
9
9
|
input: ListEncoderConfigurationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListEncoderConfigurationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListParticipantEventsCommandOutput,
|
|
5
5
|
} from "../commands/ListParticipantEventsCommand";
|
|
6
6
|
import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListParticipantEvents: (
|
|
8
8
|
config: IVSRealTimePaginationConfiguration,
|
|
9
9
|
input: ListParticipantEventsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListParticipantEventsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListParticipantsCommandOutput,
|
|
5
5
|
} from "../commands/ListParticipantsCommand";
|
|
6
6
|
import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListParticipants: (
|
|
8
8
|
config: IVSRealTimePaginationConfiguration,
|
|
9
9
|
input: ListParticipantsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListParticipantsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListStageSessionsCommandOutput,
|
|
5
5
|
} from "../commands/ListStageSessionsCommand";
|
|
6
6
|
import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListStageSessions: (
|
|
8
8
|
config: IVSRealTimePaginationConfiguration,
|
|
9
9
|
input: ListStageSessionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListStageSessionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListStagesCommandOutput,
|
|
5
5
|
} from "../commands/ListStagesCommand";
|
|
6
6
|
import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListStages: (
|
|
8
8
|
config: IVSRealTimePaginationConfiguration,
|
|
9
9
|
input: ListStagesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListStagesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListStorageConfigurationsCommandOutput,
|
|
5
5
|
} from "../commands/ListStorageConfigurationsCommand";
|
|
6
6
|
import { IVSRealTimePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListStorageConfigurations: (
|
|
8
8
|
config: IVSRealTimePaginationConfiguration,
|
|
9
9
|
input: ListStorageConfigurationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListStorageConfigurationsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivs-realtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ivs Realtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.478.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.478.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|