@aws-sdk/client-ivs-realtime 3.477.0 → 3.481.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/commands/CreateEncoderConfigurationCommand.js +18 -41
- package/dist-cjs/commands/CreateParticipantTokenCommand.js +18 -41
- package/dist-cjs/commands/CreateStageCommand.js +18 -41
- package/dist-cjs/commands/CreateStorageConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteEncoderConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteStageCommand.js +18 -41
- package/dist-cjs/commands/DeleteStorageConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DisconnectParticipantCommand.js +18 -41
- package/dist-cjs/commands/GetCompositionCommand.js +18 -41
- package/dist-cjs/commands/GetEncoderConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetParticipantCommand.js +18 -41
- package/dist-cjs/commands/GetStageCommand.js +18 -41
- package/dist-cjs/commands/GetStageSessionCommand.js +18 -41
- package/dist-cjs/commands/GetStorageConfigurationCommand.js +18 -41
- package/dist-cjs/commands/ListCompositionsCommand.js +18 -41
- package/dist-cjs/commands/ListEncoderConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListParticipantEventsCommand.js +18 -41
- package/dist-cjs/commands/ListParticipantsCommand.js +18 -41
- package/dist-cjs/commands/ListStageSessionsCommand.js +18 -41
- package/dist-cjs/commands/ListStagesCommand.js +18 -41
- package/dist-cjs/commands/ListStorageConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/StartCompositionCommand.js +18 -41
- package/dist-cjs/commands/StopCompositionCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateStageCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- 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/commands/CreateEncoderConfigurationCommand.js +18 -41
- package/dist-es/commands/CreateParticipantTokenCommand.js +18 -41
- package/dist-es/commands/CreateStageCommand.js +18 -41
- package/dist-es/commands/CreateStorageConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteEncoderConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteStageCommand.js +18 -41
- package/dist-es/commands/DeleteStorageConfigurationCommand.js +18 -41
- package/dist-es/commands/DisconnectParticipantCommand.js +18 -41
- package/dist-es/commands/GetCompositionCommand.js +18 -41
- package/dist-es/commands/GetEncoderConfigurationCommand.js +18 -41
- package/dist-es/commands/GetParticipantCommand.js +18 -41
- package/dist-es/commands/GetStageCommand.js +18 -41
- package/dist-es/commands/GetStageSessionCommand.js +18 -41
- package/dist-es/commands/GetStorageConfigurationCommand.js +18 -41
- package/dist-es/commands/ListCompositionsCommand.js +18 -41
- package/dist-es/commands/ListEncoderConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListParticipantEventsCommand.js +18 -41
- package/dist-es/commands/ListParticipantsCommand.js +18 -41
- package/dist-es/commands/ListStageSessionsCommand.js +18 -41
- package/dist-es/commands/ListStagesCommand.js +18 -41
- package/dist-es/commands/ListStorageConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/StartCompositionCommand.js +18 -41
- package/dist-es/commands/StopCompositionCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateStageCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- 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/commands/CreateEncoderConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/CreateParticipantTokenCommand.d.ts +6 -21
- package/dist-types/commands/CreateStageCommand.d.ts +6 -21
- package/dist-types/commands/CreateStorageConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEncoderConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteStageCommand.d.ts +6 -21
- package/dist-types/commands/DeleteStorageConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DisconnectParticipantCommand.d.ts +6 -21
- package/dist-types/commands/GetCompositionCommand.d.ts +6 -21
- package/dist-types/commands/GetEncoderConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetParticipantCommand.d.ts +6 -21
- package/dist-types/commands/GetStageCommand.d.ts +6 -21
- package/dist-types/commands/GetStageSessionCommand.d.ts +6 -21
- package/dist-types/commands/GetStorageConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/ListCompositionsCommand.d.ts +6 -21
- package/dist-types/commands/ListEncoderConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListParticipantEventsCommand.d.ts +6 -21
- package/dist-types/commands/ListParticipantsCommand.d.ts +6 -21
- package/dist-types/commands/ListStageSessionsCommand.d.ts +6 -21
- package/dist-types/commands/ListStagesCommand.d.ts +6 -21
- package/dist-types/commands/ListStorageConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/StartCompositionCommand.d.ts +6 -21
- package/dist-types/commands/StopCompositionCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateStageCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- 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/commands/CreateEncoderConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateParticipantTokenCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateStorageConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteEncoderConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteStorageConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisconnectParticipantCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCompositionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetEncoderConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetParticipantCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetStageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetStageSessionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetStorageConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListCompositionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEncoderConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListParticipantEventsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListParticipantsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListStageSessionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListStagesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListStorageConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartCompositionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopCompositionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- 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 +11 -11
|
@@ -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,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateEncoderConfigurationCommand, se_CreateEncoderConfigurationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateEncoderConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "IVSRealTimeClient";
|
|
26
|
-
const commandName = "CreateEncoderConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonInteractiveVideoServiceRealTime",
|
|
35
|
-
operation: "CreateEncoderConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateEncoderConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateEncoderConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateEncoderConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonInteractiveVideoServiceRealTime", "CreateEncoderConfiguration", {})
|
|
19
|
+
.n("IVSRealTimeClient", "CreateEncoderConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateEncoderConfigurationCommand)
|
|
22
|
+
.de(de_CreateEncoderConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateParticipantTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateParticipantTokenCommand, se_CreateParticipantTokenCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateParticipantTokenCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "IVSRealTimeClient";
|
|
27
|
-
const commandName = "CreateParticipantTokenCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: CreateParticipantTokenResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonInteractiveVideoServiceRealTime",
|
|
36
|
-
operation: "CreateParticipantToken",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateParticipantTokenCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateParticipantTokenCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateParticipantTokenCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonInteractiveVideoServiceRealTime", "CreateParticipantToken", {})
|
|
20
|
+
.n("IVSRealTimeClient", "CreateParticipantTokenCommand")
|
|
21
|
+
.f(void 0, CreateParticipantTokenResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateParticipantTokenCommand)
|
|
23
|
+
.de(de_CreateParticipantTokenCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateStageResponseFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_CreateStageCommand, se_CreateStageCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateStageCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "IVSRealTimeClient";
|
|
27
|
-
const commandName = "CreateStageCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: CreateStageResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonInteractiveVideoServiceRealTime",
|
|
36
|
-
operation: "CreateStage",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateStageCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateStageCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateStageCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonInteractiveVideoServiceRealTime", "CreateStage", {})
|
|
20
|
+
.n("IVSRealTimeClient", "CreateStageCommand")
|
|
21
|
+
.f(void 0, CreateStageResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateStageCommand)
|
|
23
|
+
.de(de_CreateStageCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateStorageConfigurationCommand, se_CreateStorageConfigurationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateStorageConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "IVSRealTimeClient";
|
|
26
|
-
const commandName = "CreateStorageConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonInteractiveVideoServiceRealTime",
|
|
35
|
-
operation: "CreateStorageConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateStorageConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateStorageConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateStorageConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonInteractiveVideoServiceRealTime", "CreateStorageConfiguration", {})
|
|
19
|
+
.n("IVSRealTimeClient", "CreateStorageConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateStorageConfigurationCommand)
|
|
22
|
+
.de(de_CreateStorageConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteEncoderConfigurationCommand, se_DeleteEncoderConfigurationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteEncoderConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "IVSRealTimeClient";
|
|
26
|
-
const commandName = "DeleteEncoderConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonInteractiveVideoServiceRealTime",
|
|
35
|
-
operation: "DeleteEncoderConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteEncoderConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteEncoderConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteEncoderConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonInteractiveVideoServiceRealTime", "DeleteEncoderConfiguration", {})
|
|
19
|
+
.n("IVSRealTimeClient", "DeleteEncoderConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteEncoderConfigurationCommand)
|
|
22
|
+
.de(de_DeleteEncoderConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteStageCommand, se_DeleteStageCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteStageCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "IVSRealTimeClient";
|
|
26
|
-
const commandName = "DeleteStageCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonInteractiveVideoServiceRealTime",
|
|
35
|
-
operation: "DeleteStage",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteStageCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteStageCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteStageCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonInteractiveVideoServiceRealTime", "DeleteStage", {})
|
|
19
|
+
.n("IVSRealTimeClient", "DeleteStageCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteStageCommand)
|
|
22
|
+
.de(de_DeleteStageCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|