@aws-sdk/client-ivs 3.39.0 → 3.43.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/CHANGELOG.md +41 -0
- package/README.md +10 -1
- package/dist-cjs/Ivs.js +30 -0
- package/dist-cjs/commands/GetStreamSessionCommand.js +36 -0
- package/dist-cjs/commands/ListStreamSessionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +74 -5
- package/dist-cjs/models/models_0.js +68 -2
- package/dist-cjs/pagination/ListStreamSessionsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +282 -2
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/Ivs.js +30 -0
- package/dist-es/commands/GetStreamSessionCommand.js +39 -0
- package/dist-es/commands/ListStreamSessionsCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +74 -5
- package/dist-es/models/models_0.js +44 -0
- package/dist-es/pagination/ListStreamSessionsPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +309 -1
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Ivs.d.ts +44 -19
- package/dist-types/IvsClient.d.ts +22 -3
- package/dist-types/commands/BatchGetChannelCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetStreamKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateChannelCommand.d.ts +1 -1
- package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +10 -10
- package/dist-types/commands/CreateStreamKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteChannelCommand.d.ts +3 -2
- package/dist-types/commands/DeletePlaybackKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecordingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStreamKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetPlaybackKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/GetRecordingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamSessionCommand.d.ts +35 -0
- package/dist-types/commands/ImportPlaybackKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/ListChannelsCommand.d.ts +4 -4
- package/dist-types/commands/ListPlaybackKeyPairsCommand.d.ts +1 -1
- package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/ListStreamKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamSessionsCommand.d.ts +36 -0
- package/dist-types/commands/ListStreamsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutMetadataCommand.d.ts +2 -2
- package/dist-types/commands/StopStreamCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +289 -6
- package/dist-types/pagination/ListStreamSessionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/Ivs.d.ts +10 -0
- package/dist-types/ts3.4/IvsClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/GetStreamSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListStreamSessionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +153 -0
- package/dist-types/ts3.4/pagination/ListStreamSessionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,47 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-ivs
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
48
|
|
|
8
49
|
**Note:** Version bump only for package @aws-sdk/client-ivs
|
package/README.md
CHANGED
|
@@ -24,7 +24,6 @@ Amazon IVS HTTPS service endpoints, see the <a href="https://docs.aws.amazon.com
|
|
|
24
24
|
</p>
|
|
25
25
|
<p>For a summary of notable documentation changes in each release, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/doc-history.html"> Document
|
|
26
26
|
History</a>.</p>
|
|
27
|
-
|
|
28
27
|
<p>
|
|
29
28
|
<b>Allowed Header Values</b>
|
|
30
29
|
</p>
|
|
@@ -214,11 +213,21 @@ a specified channel.</p>
|
|
|
214
213
|
</li>
|
|
215
214
|
<li>
|
|
216
215
|
<p>
|
|
216
|
+
<a>GetStreamSession</a> — Gets metadata on a specified stream.</p>
|
|
217
|
+
</li>
|
|
218
|
+
<li>
|
|
219
|
+
<p>
|
|
217
220
|
<a>ListStreams</a> — Gets summary information about live streams in
|
|
218
221
|
your account, in the Amazon Web Services region where the API request is processed.</p>
|
|
219
222
|
</li>
|
|
220
223
|
<li>
|
|
221
224
|
<p>
|
|
225
|
+
<a>ListStreamSessions</a> — Gets a summary of current and previous
|
|
226
|
+
streams for a specified channel in your account, in the AWS region where the API request
|
|
227
|
+
is processed.</p>
|
|
228
|
+
</li>
|
|
229
|
+
<li>
|
|
230
|
+
<p>
|
|
222
231
|
<a>StopStream</a> — Disconnects the incoming RTMPS stream for the
|
|
223
232
|
specified channel. Can be used in conjunction with <a>DeleteStreamKey</a> to
|
|
224
233
|
prevent further streaming to a channel.</p>
|
package/dist-cjs/Ivs.js
CHANGED
|
@@ -15,12 +15,14 @@ const GetPlaybackKeyPairCommand_1 = require("./commands/GetPlaybackKeyPairComman
|
|
|
15
15
|
const GetRecordingConfigurationCommand_1 = require("./commands/GetRecordingConfigurationCommand");
|
|
16
16
|
const GetStreamCommand_1 = require("./commands/GetStreamCommand");
|
|
17
17
|
const GetStreamKeyCommand_1 = require("./commands/GetStreamKeyCommand");
|
|
18
|
+
const GetStreamSessionCommand_1 = require("./commands/GetStreamSessionCommand");
|
|
18
19
|
const ImportPlaybackKeyPairCommand_1 = require("./commands/ImportPlaybackKeyPairCommand");
|
|
19
20
|
const ListChannelsCommand_1 = require("./commands/ListChannelsCommand");
|
|
20
21
|
const ListPlaybackKeyPairsCommand_1 = require("./commands/ListPlaybackKeyPairsCommand");
|
|
21
22
|
const ListRecordingConfigurationsCommand_1 = require("./commands/ListRecordingConfigurationsCommand");
|
|
22
23
|
const ListStreamKeysCommand_1 = require("./commands/ListStreamKeysCommand");
|
|
23
24
|
const ListStreamsCommand_1 = require("./commands/ListStreamsCommand");
|
|
25
|
+
const ListStreamSessionsCommand_1 = require("./commands/ListStreamSessionsCommand");
|
|
24
26
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
25
27
|
const PutMetadataCommand_1 = require("./commands/PutMetadataCommand");
|
|
26
28
|
const StopStreamCommand_1 = require("./commands/StopStreamCommand");
|
|
@@ -225,6 +227,20 @@ class Ivs extends IvsClient_1.IvsClient {
|
|
|
225
227
|
return this.send(command, optionsOrCb);
|
|
226
228
|
}
|
|
227
229
|
}
|
|
230
|
+
getStreamSession(args, optionsOrCb, cb) {
|
|
231
|
+
const command = new GetStreamSessionCommand_1.GetStreamSessionCommand(args);
|
|
232
|
+
if (typeof optionsOrCb === "function") {
|
|
233
|
+
this.send(command, optionsOrCb);
|
|
234
|
+
}
|
|
235
|
+
else if (typeof cb === "function") {
|
|
236
|
+
if (typeof optionsOrCb !== "object")
|
|
237
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
238
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
239
|
+
}
|
|
240
|
+
else {
|
|
241
|
+
return this.send(command, optionsOrCb);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
228
244
|
importPlaybackKeyPair(args, optionsOrCb, cb) {
|
|
229
245
|
const command = new ImportPlaybackKeyPairCommand_1.ImportPlaybackKeyPairCommand(args);
|
|
230
246
|
if (typeof optionsOrCb === "function") {
|
|
@@ -309,6 +325,20 @@ class Ivs extends IvsClient_1.IvsClient {
|
|
|
309
325
|
return this.send(command, optionsOrCb);
|
|
310
326
|
}
|
|
311
327
|
}
|
|
328
|
+
listStreamSessions(args, optionsOrCb, cb) {
|
|
329
|
+
const command = new ListStreamSessionsCommand_1.ListStreamSessionsCommand(args);
|
|
330
|
+
if (typeof optionsOrCb === "function") {
|
|
331
|
+
this.send(command, optionsOrCb);
|
|
332
|
+
}
|
|
333
|
+
else if (typeof cb === "function") {
|
|
334
|
+
if (typeof optionsOrCb !== "object")
|
|
335
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
336
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
337
|
+
}
|
|
338
|
+
else {
|
|
339
|
+
return this.send(command, optionsOrCb);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
312
342
|
listTagsForResource(args, optionsOrCb, cb) {
|
|
313
343
|
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
314
344
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetStreamSessionCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetStreamSessionCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvsClient";
|
|
18
|
+
const commandName = "GetStreamSessionCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetStreamSessionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetStreamSessionResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetStreamSessionCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetStreamSessionCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetStreamSessionCommand = GetStreamSessionCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListStreamSessionsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListStreamSessionsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IvsClient";
|
|
18
|
+
const commandName = "ListStreamSessionsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListStreamSessionsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListStreamSessionsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListStreamSessionsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListStreamSessionsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListStreamSessionsCommand = ListStreamSessionsCommand;
|
|
@@ -15,11 +15,13 @@ tslib_1.__exportStar(require("./GetPlaybackKeyPairCommand"), exports);
|
|
|
15
15
|
tslib_1.__exportStar(require("./GetRecordingConfigurationCommand"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./GetStreamCommand"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./GetStreamKeyCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./GetStreamSessionCommand"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./ImportPlaybackKeyPairCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./ListChannelsCommand"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./ListPlaybackKeyPairsCommand"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./ListRecordingConfigurationsCommand"), exports);
|
|
22
23
|
tslib_1.__exportStar(require("./ListStreamKeysCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./ListStreamSessionsCommand"), exports);
|
|
23
25
|
tslib_1.__exportStar(require("./ListStreamsCommand"), exports);
|
|
24
26
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
25
27
|
tslib_1.__exportStar(require("./PutMetadataCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -29,27 +29,96 @@ const partitionHash = {
|
|
|
29
29
|
"us-west-2",
|
|
30
30
|
],
|
|
31
31
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
32
|
-
|
|
32
|
+
variants: [
|
|
33
|
+
{
|
|
34
|
+
hostname: "ivs.{region}.amazonaws.com",
|
|
35
|
+
tags: [],
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
hostname: "ivs-fips.{region}.amazonaws.com",
|
|
39
|
+
tags: ["fips"],
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
hostname: "ivs-fips.{region}.api.aws",
|
|
43
|
+
tags: ["dualstack", "fips"],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
hostname: "ivs.{region}.api.aws",
|
|
47
|
+
tags: ["dualstack"],
|
|
48
|
+
},
|
|
49
|
+
],
|
|
33
50
|
},
|
|
34
51
|
"aws-cn": {
|
|
35
52
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
36
53
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
37
|
-
|
|
54
|
+
variants: [
|
|
55
|
+
{
|
|
56
|
+
hostname: "ivs.{region}.amazonaws.com.cn",
|
|
57
|
+
tags: [],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
hostname: "ivs-fips.{region}.amazonaws.com.cn",
|
|
61
|
+
tags: ["fips"],
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
hostname: "ivs-fips.{region}.api.amazonwebservices.com.cn",
|
|
65
|
+
tags: ["dualstack", "fips"],
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
hostname: "ivs.{region}.api.amazonwebservices.com.cn",
|
|
69
|
+
tags: ["dualstack"],
|
|
70
|
+
},
|
|
71
|
+
],
|
|
38
72
|
},
|
|
39
73
|
"aws-iso": {
|
|
40
74
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
41
75
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
42
|
-
|
|
76
|
+
variants: [
|
|
77
|
+
{
|
|
78
|
+
hostname: "ivs.{region}.c2s.ic.gov",
|
|
79
|
+
tags: [],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
hostname: "ivs-fips.{region}.c2s.ic.gov",
|
|
83
|
+
tags: ["fips"],
|
|
84
|
+
},
|
|
85
|
+
],
|
|
43
86
|
},
|
|
44
87
|
"aws-iso-b": {
|
|
45
88
|
regions: ["us-isob-east-1"],
|
|
46
89
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
47
|
-
|
|
90
|
+
variants: [
|
|
91
|
+
{
|
|
92
|
+
hostname: "ivs.{region}.sc2s.sgov.gov",
|
|
93
|
+
tags: [],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
hostname: "ivs-fips.{region}.sc2s.sgov.gov",
|
|
97
|
+
tags: ["fips"],
|
|
98
|
+
},
|
|
99
|
+
],
|
|
48
100
|
},
|
|
49
101
|
"aws-us-gov": {
|
|
50
102
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
51
103
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
52
|
-
|
|
104
|
+
variants: [
|
|
105
|
+
{
|
|
106
|
+
hostname: "ivs.{region}.amazonaws.com",
|
|
107
|
+
tags: [],
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
hostname: "ivs-fips.{region}.amazonaws.com",
|
|
111
|
+
tags: ["fips"],
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
hostname: "ivs-fips.{region}.api.aws",
|
|
115
|
+
tags: ["dualstack", "fips"],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
hostname: "ivs.{region}.api.aws",
|
|
119
|
+
tags: ["dualstack"],
|
|
120
|
+
},
|
|
121
|
+
],
|
|
53
122
|
},
|
|
54
123
|
};
|
|
55
124
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StreamUnavailable = exports.StopStreamResponse = exports.StopStreamRequest = exports.ThrottlingException = exports.PutMetadataRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListStreamsResponse = exports.StreamSummary = exports.ListStreamsRequest = exports.ListStreamKeysResponse = exports.StreamKeySummary = exports.ListStreamKeysRequest = exports.ListRecordingConfigurationsResponse = exports.RecordingConfigurationSummary = exports.ListRecordingConfigurationsRequest = exports.ListPlaybackKeyPairsResponse = exports.PlaybackKeyPairSummary = exports.ListPlaybackKeyPairsRequest = exports.ListChannelsResponse = void 0;
|
|
3
|
+
exports.IngestConfiguration = exports.VideoConfiguration = exports.AudioConfiguration = exports.GetStreamSessionRequest = exports.GetStreamKeyResponse = exports.GetStreamKeyRequest = exports.GetStreamResponse = exports._Stream = exports.StreamState = exports.StreamHealth = exports.GetStreamRequest = exports.ChannelNotBroadcasting = exports.GetRecordingConfigurationResponse = exports.GetRecordingConfigurationRequest = exports.GetPlaybackKeyPairResponse = exports.PlaybackKeyPair = exports.GetPlaybackKeyPairRequest = exports.GetChannelResponse = exports.GetChannelRequest = exports.DeleteStreamKeyRequest = exports.DeleteRecordingConfigurationRequest = exports.DeletePlaybackKeyPairResponse = exports.DeletePlaybackKeyPairRequest = exports.DeleteChannelRequest = exports.CreateStreamKeyResponse = exports.CreateStreamKeyRequest = exports.InternalServerException = exports.CreateRecordingConfigurationResponse = exports.RecordingConfiguration = exports.RecordingConfigurationState = exports.CreateRecordingConfigurationRequest = exports.DestinationConfiguration = exports.S3DestinationConfiguration = exports.ConflictException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.PendingVerification = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.BatchGetStreamKeyResponse = exports.StreamKey = exports.BatchGetStreamKeyRequest = exports.BatchGetChannelResponse = exports.BatchError = exports.Channel = exports.ChannelType = exports.ChannelLatencyMode = exports.BatchGetChannelRequest = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StreamUnavailable = exports.StopStreamResponse = exports.StopStreamRequest = exports.ThrottlingException = exports.PutMetadataRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListStreamSessionsResponse = exports.StreamSessionSummary = exports.ListStreamSessionsRequest = exports.ListStreamsResponse = exports.StreamSummary = exports.ListStreamsRequest = exports.StreamFilters = exports.ListStreamKeysResponse = exports.StreamKeySummary = exports.ListStreamKeysRequest = exports.ListRecordingConfigurationsResponse = exports.RecordingConfigurationSummary = exports.ListRecordingConfigurationsRequest = exports.ListPlaybackKeyPairsResponse = exports.PlaybackKeyPairSummary = exports.ListPlaybackKeyPairsRequest = exports.ListChannelsResponse = exports.ChannelSummary = exports.ListChannelsRequest = exports.ImportPlaybackKeyPairResponse = exports.ImportPlaybackKeyPairRequest = exports.GetStreamSessionResponse = exports.StreamSession = exports.StreamEvent = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
var AccessDeniedException;
|
|
7
7
|
(function (AccessDeniedException) {
|
|
@@ -281,6 +281,48 @@ var GetStreamKeyResponse;
|
|
|
281
281
|
...(obj.streamKey && { streamKey: StreamKey.filterSensitiveLog(obj.streamKey) }),
|
|
282
282
|
});
|
|
283
283
|
})(GetStreamKeyResponse = exports.GetStreamKeyResponse || (exports.GetStreamKeyResponse = {}));
|
|
284
|
+
var GetStreamSessionRequest;
|
|
285
|
+
(function (GetStreamSessionRequest) {
|
|
286
|
+
GetStreamSessionRequest.filterSensitiveLog = (obj) => ({
|
|
287
|
+
...obj,
|
|
288
|
+
});
|
|
289
|
+
})(GetStreamSessionRequest = exports.GetStreamSessionRequest || (exports.GetStreamSessionRequest = {}));
|
|
290
|
+
var AudioConfiguration;
|
|
291
|
+
(function (AudioConfiguration) {
|
|
292
|
+
AudioConfiguration.filterSensitiveLog = (obj) => ({
|
|
293
|
+
...obj,
|
|
294
|
+
});
|
|
295
|
+
})(AudioConfiguration = exports.AudioConfiguration || (exports.AudioConfiguration = {}));
|
|
296
|
+
var VideoConfiguration;
|
|
297
|
+
(function (VideoConfiguration) {
|
|
298
|
+
VideoConfiguration.filterSensitiveLog = (obj) => ({
|
|
299
|
+
...obj,
|
|
300
|
+
});
|
|
301
|
+
})(VideoConfiguration = exports.VideoConfiguration || (exports.VideoConfiguration = {}));
|
|
302
|
+
var IngestConfiguration;
|
|
303
|
+
(function (IngestConfiguration) {
|
|
304
|
+
IngestConfiguration.filterSensitiveLog = (obj) => ({
|
|
305
|
+
...obj,
|
|
306
|
+
});
|
|
307
|
+
})(IngestConfiguration = exports.IngestConfiguration || (exports.IngestConfiguration = {}));
|
|
308
|
+
var StreamEvent;
|
|
309
|
+
(function (StreamEvent) {
|
|
310
|
+
StreamEvent.filterSensitiveLog = (obj) => ({
|
|
311
|
+
...obj,
|
|
312
|
+
});
|
|
313
|
+
})(StreamEvent = exports.StreamEvent || (exports.StreamEvent = {}));
|
|
314
|
+
var StreamSession;
|
|
315
|
+
(function (StreamSession) {
|
|
316
|
+
StreamSession.filterSensitiveLog = (obj) => ({
|
|
317
|
+
...obj,
|
|
318
|
+
});
|
|
319
|
+
})(StreamSession = exports.StreamSession || (exports.StreamSession = {}));
|
|
320
|
+
var GetStreamSessionResponse;
|
|
321
|
+
(function (GetStreamSessionResponse) {
|
|
322
|
+
GetStreamSessionResponse.filterSensitiveLog = (obj) => ({
|
|
323
|
+
...obj,
|
|
324
|
+
});
|
|
325
|
+
})(GetStreamSessionResponse = exports.GetStreamSessionResponse || (exports.GetStreamSessionResponse = {}));
|
|
284
326
|
var ImportPlaybackKeyPairRequest;
|
|
285
327
|
(function (ImportPlaybackKeyPairRequest) {
|
|
286
328
|
ImportPlaybackKeyPairRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -365,6 +407,12 @@ var ListStreamKeysResponse;
|
|
|
365
407
|
...obj,
|
|
366
408
|
});
|
|
367
409
|
})(ListStreamKeysResponse = exports.ListStreamKeysResponse || (exports.ListStreamKeysResponse = {}));
|
|
410
|
+
var StreamFilters;
|
|
411
|
+
(function (StreamFilters) {
|
|
412
|
+
StreamFilters.filterSensitiveLog = (obj) => ({
|
|
413
|
+
...obj,
|
|
414
|
+
});
|
|
415
|
+
})(StreamFilters = exports.StreamFilters || (exports.StreamFilters = {}));
|
|
368
416
|
var ListStreamsRequest;
|
|
369
417
|
(function (ListStreamsRequest) {
|
|
370
418
|
ListStreamsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -383,6 +431,24 @@ var ListStreamsResponse;
|
|
|
383
431
|
...obj,
|
|
384
432
|
});
|
|
385
433
|
})(ListStreamsResponse = exports.ListStreamsResponse || (exports.ListStreamsResponse = {}));
|
|
434
|
+
var ListStreamSessionsRequest;
|
|
435
|
+
(function (ListStreamSessionsRequest) {
|
|
436
|
+
ListStreamSessionsRequest.filterSensitiveLog = (obj) => ({
|
|
437
|
+
...obj,
|
|
438
|
+
});
|
|
439
|
+
})(ListStreamSessionsRequest = exports.ListStreamSessionsRequest || (exports.ListStreamSessionsRequest = {}));
|
|
440
|
+
var StreamSessionSummary;
|
|
441
|
+
(function (StreamSessionSummary) {
|
|
442
|
+
StreamSessionSummary.filterSensitiveLog = (obj) => ({
|
|
443
|
+
...obj,
|
|
444
|
+
});
|
|
445
|
+
})(StreamSessionSummary = exports.StreamSessionSummary || (exports.StreamSessionSummary = {}));
|
|
446
|
+
var ListStreamSessionsResponse;
|
|
447
|
+
(function (ListStreamSessionsResponse) {
|
|
448
|
+
ListStreamSessionsResponse.filterSensitiveLog = (obj) => ({
|
|
449
|
+
...obj,
|
|
450
|
+
});
|
|
451
|
+
})(ListStreamSessionsResponse = exports.ListStreamSessionsResponse || (exports.ListStreamSessionsResponse = {}));
|
|
386
452
|
var ListTagsForResourceRequest;
|
|
387
453
|
(function (ListTagsForResourceRequest) {
|
|
388
454
|
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListStreamSessions = void 0;
|
|
4
|
+
const ListStreamSessionsCommand_1 = require("../commands/ListStreamSessionsCommand");
|
|
5
|
+
const Ivs_1 = require("../Ivs");
|
|
6
|
+
const IvsClient_1 = require("../IvsClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListStreamSessionsCommand_1.ListStreamSessionsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listStreamSessions(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListStreamSessions(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Ivs_1.Ivs) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof IvsClient_1.IvsClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Ivs | IvsClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListStreamSessions = paginateListStreamSessions;
|
|
@@ -6,4 +6,5 @@ tslib_1.__exportStar(require("./ListChannelsPaginator"), exports);
|
|
|
6
6
|
tslib_1.__exportStar(require("./ListPlaybackKeyPairsPaginator"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./ListRecordingConfigurationsPaginator"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./ListStreamKeysPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListStreamSessionsPaginator"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./ListStreamsPaginator"), exports);
|