@aws-sdk/client-ivs 3.540.0 → 3.549.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/README.md +10 -25
- package/dist-cjs/index.js +52 -9
- package/dist-es/commands/BatchGetChannelCommand.js +2 -1
- package/dist-es/commands/GetChannelCommand.js +2 -1
- package/dist-es/commands/GetStreamSessionCommand.js +2 -1
- package/dist-es/commands/UpdateChannelCommand.js +2 -1
- package/dist-es/models/models_0.js +29 -0
- package/dist-types/Ivs.d.ts +10 -25
- package/dist-types/IvsClient.d.ts +10 -25
- package/dist-types/commands/BatchGetChannelCommand.d.ts +4 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +4 -0
- package/dist-types/commands/GetChannelCommand.d.ts +4 -0
- package/dist-types/commands/GetStreamSessionCommand.d.ts +4 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +4 -0
- package/dist-types/index.d.ts +10 -25
- package/dist-types/models/models_0.d.ts +69 -12
- package/dist-types/ts3.4/models/models_0.d.ts +22 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -47,49 +47,34 @@ History</a>.</p>
|
|
|
47
47
|
</li>
|
|
48
48
|
</ul>
|
|
49
49
|
<p>
|
|
50
|
-
<b>
|
|
50
|
+
<b>Key Concepts</b>
|
|
51
51
|
</p>
|
|
52
|
-
<p>The following resources contain information about your IVS live stream (see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/getting-started.html"> Getting Started with
|
|
53
|
-
Amazon IVS</a>):</p>
|
|
54
52
|
<ul>
|
|
55
53
|
<li>
|
|
56
54
|
<p>
|
|
57
|
-
<b>Channel</b> — Stores configuration data related to your
|
|
58
|
-
live stream. You first create a channel and then use the channel’s stream key to start
|
|
59
|
-
your live stream. See the Channel endpoints for more information. </p>
|
|
55
|
+
<b>Channel</b> — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream.</p>
|
|
60
56
|
</li>
|
|
61
57
|
<li>
|
|
62
58
|
<p>
|
|
63
|
-
<b>Stream key</b> — An identifier assigned by Amazon IVS
|
|
64
|
-
|
|
65
|
-
endpoints for more information. <i>
|
|
66
|
-
<b>Treat the stream key like
|
|
67
|
-
a secret, since it allows anyone to stream to the
|
|
68
|
-
channel.</b>
|
|
59
|
+
<b>Stream key</b> — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. <i>
|
|
60
|
+
<b>Treat the stream key like a secret, since it allows anyone to stream to the channel.</b>
|
|
69
61
|
</i>
|
|
70
62
|
</p>
|
|
71
63
|
</li>
|
|
72
64
|
<li>
|
|
73
65
|
<p>
|
|
74
|
-
<b>Playback key pair</b> — Video playback may be restricted
|
|
75
|
-
using playback-authorization tokens, which use public-key encryption. A playback key pair
|
|
76
|
-
is the public-private pair of keys used to sign and validate the playback-authorization
|
|
77
|
-
token. See the PlaybackKeyPair endpoints for more information.</p>
|
|
66
|
+
<b>Playback key pair</b> — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token.</p>
|
|
78
67
|
</li>
|
|
79
68
|
<li>
|
|
80
69
|
<p>
|
|
81
|
-
<b>Recording configuration</b> — Stores configuration
|
|
82
|
-
related to recording a live stream and where to store the recorded content. Multiple
|
|
83
|
-
channels can reference the same recording configuration. See the Recording Configuration
|
|
84
|
-
endpoints for more information.</p>
|
|
70
|
+
<b>Recording configuration</b> — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration.</p>
|
|
85
71
|
</li>
|
|
86
72
|
<li>
|
|
87
73
|
<p>
|
|
88
|
-
<b>Playback restriction policy</b> — Restricts playback by
|
|
89
|
-
countries and/or origin sites. See the Playback Restriction Policy endpoints for more
|
|
90
|
-
information.</p>
|
|
74
|
+
<b>Playback restriction policy</b> — Restricts playback by countries and/or origin sites.</p>
|
|
91
75
|
</li>
|
|
92
76
|
</ul>
|
|
77
|
+
<p>For more information about your IVS live stream, also see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/getting-started.html">Getting Started with IVS Low-Latency Streaming</a>.</p>
|
|
93
78
|
<p>
|
|
94
79
|
<b>Tagging</b>
|
|
95
80
|
</p>
|
|
@@ -268,7 +253,7 @@ simultaneously.</p>
|
|
|
268
253
|
</li>
|
|
269
254
|
</ul>
|
|
270
255
|
<p>
|
|
271
|
-
<b>
|
|
256
|
+
<b>Recording Configuration Endpoints</b>
|
|
272
257
|
</p>
|
|
273
258
|
<ul>
|
|
274
259
|
<li>
|
|
@@ -333,7 +318,7 @@ allowed.</p>
|
|
|
333
318
|
</li>
|
|
334
319
|
</ul>
|
|
335
320
|
<p>
|
|
336
|
-
<b>
|
|
321
|
+
<b>Stream Key Endpoints</b>
|
|
337
322
|
</p>
|
|
338
323
|
<ul>
|
|
339
324
|
<li>
|
package/dist-cjs/index.js
CHANGED
|
@@ -23,9 +23,11 @@ var src_exports = {};
|
|
|
23
23
|
__export(src_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
BatchGetChannelCommand: () => BatchGetChannelCommand,
|
|
26
|
+
BatchGetChannelResponseFilterSensitiveLog: () => BatchGetChannelResponseFilterSensitiveLog,
|
|
26
27
|
BatchGetStreamKeyCommand: () => BatchGetStreamKeyCommand,
|
|
27
28
|
BatchGetStreamKeyResponseFilterSensitiveLog: () => BatchGetStreamKeyResponseFilterSensitiveLog,
|
|
28
29
|
BatchStartViewerSessionRevocationCommand: () => BatchStartViewerSessionRevocationCommand,
|
|
30
|
+
ChannelFilterSensitiveLog: () => ChannelFilterSensitiveLog,
|
|
29
31
|
ChannelLatencyMode: () => ChannelLatencyMode,
|
|
30
32
|
ChannelNotBroadcasting: () => ChannelNotBroadcasting,
|
|
31
33
|
ChannelType: () => ChannelType,
|
|
@@ -42,6 +44,7 @@ __export(src_exports, {
|
|
|
42
44
|
DeleteRecordingConfigurationCommand: () => DeleteRecordingConfigurationCommand,
|
|
43
45
|
DeleteStreamKeyCommand: () => DeleteStreamKeyCommand,
|
|
44
46
|
GetChannelCommand: () => GetChannelCommand,
|
|
47
|
+
GetChannelResponseFilterSensitiveLog: () => GetChannelResponseFilterSensitiveLog,
|
|
45
48
|
GetPlaybackKeyPairCommand: () => GetPlaybackKeyPairCommand,
|
|
46
49
|
GetPlaybackRestrictionPolicyCommand: () => GetPlaybackRestrictionPolicyCommand,
|
|
47
50
|
GetRecordingConfigurationCommand: () => GetRecordingConfigurationCommand,
|
|
@@ -49,6 +52,7 @@ __export(src_exports, {
|
|
|
49
52
|
GetStreamKeyCommand: () => GetStreamKeyCommand,
|
|
50
53
|
GetStreamKeyResponseFilterSensitiveLog: () => GetStreamKeyResponseFilterSensitiveLog,
|
|
51
54
|
GetStreamSessionCommand: () => GetStreamSessionCommand,
|
|
55
|
+
GetStreamSessionResponseFilterSensitiveLog: () => GetStreamSessionResponseFilterSensitiveLog,
|
|
52
56
|
ImportPlaybackKeyPairCommand: () => ImportPlaybackKeyPairCommand,
|
|
53
57
|
InternalServerException: () => InternalServerException,
|
|
54
58
|
Ivs: () => Ivs,
|
|
@@ -71,10 +75,12 @@ __export(src_exports, {
|
|
|
71
75
|
RenditionConfigurationRenditionSelection: () => RenditionConfigurationRenditionSelection,
|
|
72
76
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
73
77
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
78
|
+
SrtFilterSensitiveLog: () => SrtFilterSensitiveLog,
|
|
74
79
|
StartViewerSessionRevocationCommand: () => StartViewerSessionRevocationCommand,
|
|
75
80
|
StopStreamCommand: () => StopStreamCommand,
|
|
76
81
|
StreamHealth: () => StreamHealth,
|
|
77
82
|
StreamKeyFilterSensitiveLog: () => StreamKeyFilterSensitiveLog,
|
|
83
|
+
StreamSessionFilterSensitiveLog: () => StreamSessionFilterSensitiveLog,
|
|
78
84
|
StreamState: () => StreamState,
|
|
79
85
|
StreamUnavailable: () => StreamUnavailable,
|
|
80
86
|
TagResourceCommand: () => TagResourceCommand,
|
|
@@ -84,6 +90,7 @@ __export(src_exports, {
|
|
|
84
90
|
TranscodePreset: () => TranscodePreset,
|
|
85
91
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
86
92
|
UpdateChannelCommand: () => UpdateChannelCommand,
|
|
93
|
+
UpdateChannelResponseFilterSensitiveLog: () => UpdateChannelResponseFilterSensitiveLog,
|
|
87
94
|
UpdatePlaybackRestrictionPolicyCommand: () => UpdatePlaybackRestrictionPolicyCommand,
|
|
88
95
|
ValidationException: () => ValidationException,
|
|
89
96
|
__Client: () => import_smithy_client.Client,
|
|
@@ -249,9 +256,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
249
256
|
|
|
250
257
|
var import_types = require("@smithy/types");
|
|
251
258
|
|
|
252
|
-
// src/
|
|
253
|
-
var import_core2 = require("@aws-sdk/core");
|
|
254
|
-
|
|
259
|
+
// src/models/models_0.ts
|
|
255
260
|
|
|
256
261
|
|
|
257
262
|
// src/models/IvsServiceException.ts
|
|
@@ -269,7 +274,6 @@ __name(_IvsServiceException, "IvsServiceException");
|
|
|
269
274
|
var IvsServiceException = _IvsServiceException;
|
|
270
275
|
|
|
271
276
|
// src/models/models_0.ts
|
|
272
|
-
|
|
273
277
|
var _AccessDeniedException = class _AccessDeniedException extends IvsServiceException {
|
|
274
278
|
/**
|
|
275
279
|
* @internal
|
|
@@ -503,6 +507,18 @@ var _StreamUnavailable = class _StreamUnavailable extends IvsServiceException {
|
|
|
503
507
|
};
|
|
504
508
|
__name(_StreamUnavailable, "StreamUnavailable");
|
|
505
509
|
var StreamUnavailable = _StreamUnavailable;
|
|
510
|
+
var SrtFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
511
|
+
...obj,
|
|
512
|
+
...obj.passphrase && { passphrase: import_smithy_client.SENSITIVE_STRING }
|
|
513
|
+
}), "SrtFilterSensitiveLog");
|
|
514
|
+
var ChannelFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
515
|
+
...obj,
|
|
516
|
+
...obj.srt && { srt: SrtFilterSensitiveLog(obj.srt) }
|
|
517
|
+
}), "ChannelFilterSensitiveLog");
|
|
518
|
+
var BatchGetChannelResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
519
|
+
...obj,
|
|
520
|
+
...obj.channels && { channels: obj.channels.map((item) => ChannelFilterSensitiveLog(item)) }
|
|
521
|
+
}), "BatchGetChannelResponseFilterSensitiveLog");
|
|
506
522
|
var StreamKeyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
507
523
|
...obj,
|
|
508
524
|
...obj.value && { value: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -513,22 +529,42 @@ var BatchGetStreamKeyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
513
529
|
}), "BatchGetStreamKeyResponseFilterSensitiveLog");
|
|
514
530
|
var CreateChannelResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
515
531
|
...obj,
|
|
532
|
+
...obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) },
|
|
516
533
|
...obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }
|
|
517
534
|
}), "CreateChannelResponseFilterSensitiveLog");
|
|
518
535
|
var CreateStreamKeyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
519
536
|
...obj,
|
|
520
537
|
...obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }
|
|
521
538
|
}), "CreateStreamKeyResponseFilterSensitiveLog");
|
|
539
|
+
var GetChannelResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
540
|
+
...obj,
|
|
541
|
+
...obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }
|
|
542
|
+
}), "GetChannelResponseFilterSensitiveLog");
|
|
522
543
|
var GetStreamKeyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
523
544
|
...obj,
|
|
524
545
|
...obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }
|
|
525
546
|
}), "GetStreamKeyResponseFilterSensitiveLog");
|
|
547
|
+
var StreamSessionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
548
|
+
...obj,
|
|
549
|
+
...obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }
|
|
550
|
+
}), "StreamSessionFilterSensitiveLog");
|
|
551
|
+
var GetStreamSessionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
552
|
+
...obj,
|
|
553
|
+
...obj.streamSession && { streamSession: StreamSessionFilterSensitiveLog(obj.streamSession) }
|
|
554
|
+
}), "GetStreamSessionResponseFilterSensitiveLog");
|
|
526
555
|
var PutMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
527
556
|
...obj,
|
|
528
557
|
...obj.metadata && { metadata: import_smithy_client.SENSITIVE_STRING }
|
|
529
558
|
}), "PutMetadataRequestFilterSensitiveLog");
|
|
559
|
+
var UpdateChannelResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
560
|
+
...obj,
|
|
561
|
+
...obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }
|
|
562
|
+
}), "UpdateChannelResponseFilterSensitiveLog");
|
|
530
563
|
|
|
531
564
|
// src/protocols/Aws_restJson1.ts
|
|
565
|
+
var import_core2 = require("@aws-sdk/core");
|
|
566
|
+
|
|
567
|
+
|
|
532
568
|
var se_BatchGetChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
533
569
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
534
570
|
const headers = {
|
|
@@ -1816,7 +1852,7 @@ var _BatchGetChannelCommand = class _BatchGetChannelCommand extends import_smith
|
|
|
1816
1852
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1817
1853
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1818
1854
|
];
|
|
1819
|
-
}).s("AmazonInteractiveVideoService", "BatchGetChannel", {}).n("IvsClient", "BatchGetChannelCommand").f(void 0,
|
|
1855
|
+
}).s("AmazonInteractiveVideoService", "BatchGetChannel", {}).n("IvsClient", "BatchGetChannelCommand").f(void 0, BatchGetChannelResponseFilterSensitiveLog).ser(se_BatchGetChannelCommand).de(de_BatchGetChannelCommand).build() {
|
|
1820
1856
|
};
|
|
1821
1857
|
__name(_BatchGetChannelCommand, "BatchGetChannelCommand");
|
|
1822
1858
|
var BatchGetChannelCommand = _BatchGetChannelCommand;
|
|
@@ -2020,7 +2056,7 @@ var _GetChannelCommand = class _GetChannelCommand extends import_smithy_client.C
|
|
|
2020
2056
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2021
2057
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2022
2058
|
];
|
|
2023
|
-
}).s("AmazonInteractiveVideoService", "GetChannel", {}).n("IvsClient", "GetChannelCommand").f(void 0,
|
|
2059
|
+
}).s("AmazonInteractiveVideoService", "GetChannel", {}).n("IvsClient", "GetChannelCommand").f(void 0, GetChannelResponseFilterSensitiveLog).ser(se_GetChannelCommand).de(de_GetChannelCommand).build() {
|
|
2024
2060
|
};
|
|
2025
2061
|
__name(_GetChannelCommand, "GetChannelCommand");
|
|
2026
2062
|
var GetChannelCommand = _GetChannelCommand;
|
|
@@ -2122,7 +2158,7 @@ var _GetStreamSessionCommand = class _GetStreamSessionCommand extends import_smi
|
|
|
2122
2158
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2123
2159
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2124
2160
|
];
|
|
2125
|
-
}).s("AmazonInteractiveVideoService", "GetStreamSession", {}).n("IvsClient", "GetStreamSessionCommand").f(void 0,
|
|
2161
|
+
}).s("AmazonInteractiveVideoService", "GetStreamSession", {}).n("IvsClient", "GetStreamSessionCommand").f(void 0, GetStreamSessionResponseFilterSensitiveLog).ser(se_GetStreamSessionCommand).de(de_GetStreamSessionCommand).build() {
|
|
2126
2162
|
};
|
|
2127
2163
|
__name(_GetStreamSessionCommand, "GetStreamSessionCommand");
|
|
2128
2164
|
var GetStreamSessionCommand = _GetStreamSessionCommand;
|
|
@@ -2377,7 +2413,7 @@ var _UpdateChannelCommand = class _UpdateChannelCommand extends import_smithy_cl
|
|
|
2377
2413
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2378
2414
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2379
2415
|
];
|
|
2380
|
-
}).s("AmazonInteractiveVideoService", "UpdateChannel", {}).n("IvsClient", "UpdateChannelCommand").f(void 0,
|
|
2416
|
+
}).s("AmazonInteractiveVideoService", "UpdateChannel", {}).n("IvsClient", "UpdateChannelCommand").f(void 0, UpdateChannelResponseFilterSensitiveLog).ser(se_UpdateChannelCommand).de(de_UpdateChannelCommand).build() {
|
|
2381
2417
|
};
|
|
2382
2418
|
__name(_UpdateChannelCommand, "UpdateChannelCommand");
|
|
2383
2419
|
var UpdateChannelCommand = _UpdateChannelCommand;
|
|
@@ -2541,11 +2577,18 @@ var paginateListStreams = (0, import_core.createPaginator)(IvsClient, ListStream
|
|
|
2541
2577
|
StreamHealth,
|
|
2542
2578
|
StreamState,
|
|
2543
2579
|
StreamUnavailable,
|
|
2580
|
+
SrtFilterSensitiveLog,
|
|
2581
|
+
ChannelFilterSensitiveLog,
|
|
2582
|
+
BatchGetChannelResponseFilterSensitiveLog,
|
|
2544
2583
|
StreamKeyFilterSensitiveLog,
|
|
2545
2584
|
BatchGetStreamKeyResponseFilterSensitiveLog,
|
|
2546
2585
|
CreateChannelResponseFilterSensitiveLog,
|
|
2547
2586
|
CreateStreamKeyResponseFilterSensitiveLog,
|
|
2587
|
+
GetChannelResponseFilterSensitiveLog,
|
|
2548
2588
|
GetStreamKeyResponseFilterSensitiveLog,
|
|
2549
|
-
|
|
2589
|
+
StreamSessionFilterSensitiveLog,
|
|
2590
|
+
GetStreamSessionResponseFilterSensitiveLog,
|
|
2591
|
+
PutMetadataRequestFilterSensitiveLog,
|
|
2592
|
+
UpdateChannelResponseFilterSensitiveLog
|
|
2550
2593
|
});
|
|
2551
2594
|
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { BatchGetChannelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_BatchGetChannelCommand, se_BatchGetChannelCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class BatchGetChannelCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class BatchGetChannelCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("AmazonInteractiveVideoService", "BatchGetChannel", {})
|
|
19
20
|
.n("IvsClient", "BatchGetChannelCommand")
|
|
20
|
-
.f(void 0,
|
|
21
|
+
.f(void 0, BatchGetChannelResponseFilterSensitiveLog)
|
|
21
22
|
.ser(se_BatchGetChannelCommand)
|
|
22
23
|
.de(de_BatchGetChannelCommand)
|
|
23
24
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetChannelResponseFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { de_GetChannelCommand, se_GetChannelCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class GetChannelCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class GetChannelCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("AmazonInteractiveVideoService", "GetChannel", {})
|
|
19
20
|
.n("IvsClient", "GetChannelCommand")
|
|
20
|
-
.f(void 0,
|
|
21
|
+
.f(void 0, GetChannelResponseFilterSensitiveLog)
|
|
21
22
|
.ser(se_GetChannelCommand)
|
|
22
23
|
.de(de_GetChannelCommand)
|
|
23
24
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetStreamSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_GetStreamSessionCommand, se_GetStreamSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class GetStreamSessionCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class GetStreamSessionCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("AmazonInteractiveVideoService", "GetStreamSession", {})
|
|
19
20
|
.n("IvsClient", "GetStreamSessionCommand")
|
|
20
|
-
.f(void 0,
|
|
21
|
+
.f(void 0, GetStreamSessionResponseFilterSensitiveLog)
|
|
21
22
|
.ser(se_GetStreamSessionCommand)
|
|
22
23
|
.de(de_GetStreamSessionCommand)
|
|
23
24
|
.build() {
|
|
@@ -2,6 +2,7 @@ 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
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateChannelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/Aws_restJson1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class UpdateChannelCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class UpdateChannelCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("AmazonInteractiveVideoService", "UpdateChannel", {})
|
|
19
20
|
.n("IvsClient", "UpdateChannelCommand")
|
|
20
|
-
.f(void 0,
|
|
21
|
+
.f(void 0, UpdateChannelResponseFilterSensitiveLog)
|
|
21
22
|
.ser(se_UpdateChannelCommand)
|
|
22
23
|
.de(de_UpdateChannelCommand)
|
|
23
24
|
.build() {
|
|
@@ -183,6 +183,18 @@ export class StreamUnavailable extends __BaseException {
|
|
|
183
183
|
this.exceptionMessage = opts.exceptionMessage;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
+
export const SrtFilterSensitiveLog = (obj) => ({
|
|
187
|
+
...obj,
|
|
188
|
+
...(obj.passphrase && { passphrase: SENSITIVE_STRING }),
|
|
189
|
+
});
|
|
190
|
+
export const ChannelFilterSensitiveLog = (obj) => ({
|
|
191
|
+
...obj,
|
|
192
|
+
...(obj.srt && { srt: SrtFilterSensitiveLog(obj.srt) }),
|
|
193
|
+
});
|
|
194
|
+
export const BatchGetChannelResponseFilterSensitiveLog = (obj) => ({
|
|
195
|
+
...obj,
|
|
196
|
+
...(obj.channels && { channels: obj.channels.map((item) => ChannelFilterSensitiveLog(item)) }),
|
|
197
|
+
});
|
|
186
198
|
export const StreamKeyFilterSensitiveLog = (obj) => ({
|
|
187
199
|
...obj,
|
|
188
200
|
...(obj.value && { value: SENSITIVE_STRING }),
|
|
@@ -193,17 +205,34 @@ export const BatchGetStreamKeyResponseFilterSensitiveLog = (obj) => ({
|
|
|
193
205
|
});
|
|
194
206
|
export const CreateChannelResponseFilterSensitiveLog = (obj) => ({
|
|
195
207
|
...obj,
|
|
208
|
+
...(obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }),
|
|
196
209
|
...(obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }),
|
|
197
210
|
});
|
|
198
211
|
export const CreateStreamKeyResponseFilterSensitiveLog = (obj) => ({
|
|
199
212
|
...obj,
|
|
200
213
|
...(obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }),
|
|
201
214
|
});
|
|
215
|
+
export const GetChannelResponseFilterSensitiveLog = (obj) => ({
|
|
216
|
+
...obj,
|
|
217
|
+
...(obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }),
|
|
218
|
+
});
|
|
202
219
|
export const GetStreamKeyResponseFilterSensitiveLog = (obj) => ({
|
|
203
220
|
...obj,
|
|
204
221
|
...(obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }),
|
|
205
222
|
});
|
|
223
|
+
export const StreamSessionFilterSensitiveLog = (obj) => ({
|
|
224
|
+
...obj,
|
|
225
|
+
...(obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }),
|
|
226
|
+
});
|
|
227
|
+
export const GetStreamSessionResponseFilterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
...(obj.streamSession && { streamSession: StreamSessionFilterSensitiveLog(obj.streamSession) }),
|
|
230
|
+
});
|
|
206
231
|
export const PutMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
207
232
|
...obj,
|
|
208
233
|
...(obj.metadata && { metadata: SENSITIVE_STRING }),
|
|
209
234
|
});
|
|
235
|
+
export const UpdateChannelResponseFilterSensitiveLog = (obj) => ({
|
|
236
|
+
...obj,
|
|
237
|
+
...(obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }),
|
|
238
|
+
});
|
package/dist-types/Ivs.d.ts
CHANGED
|
@@ -296,49 +296,34 @@ export interface Ivs {
|
|
|
296
296
|
* </li>
|
|
297
297
|
* </ul>
|
|
298
298
|
* <p>
|
|
299
|
-
* <b>
|
|
299
|
+
* <b>Key Concepts</b>
|
|
300
300
|
* </p>
|
|
301
|
-
* <p>The following resources contain information about your IVS live stream (see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/getting-started.html"> Getting Started with
|
|
302
|
-
* Amazon IVS</a>):</p>
|
|
303
301
|
* <ul>
|
|
304
302
|
* <li>
|
|
305
303
|
* <p>
|
|
306
|
-
* <b>Channel</b> — Stores configuration data related to your
|
|
307
|
-
* live stream. You first create a channel and then use the channel’s stream key to start
|
|
308
|
-
* your live stream. See the Channel endpoints for more information. </p>
|
|
304
|
+
* <b>Channel</b> — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream.</p>
|
|
309
305
|
* </li>
|
|
310
306
|
* <li>
|
|
311
307
|
* <p>
|
|
312
|
-
* <b>Stream key</b> — An identifier assigned by Amazon IVS
|
|
313
|
-
*
|
|
314
|
-
* endpoints for more information. <i>
|
|
315
|
-
* <b>Treat the stream key like
|
|
316
|
-
* a secret, since it allows anyone to stream to the
|
|
317
|
-
* channel.</b>
|
|
308
|
+
* <b>Stream key</b> — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. <i>
|
|
309
|
+
* <b>Treat the stream key like a secret, since it allows anyone to stream to the channel.</b>
|
|
318
310
|
* </i>
|
|
319
311
|
* </p>
|
|
320
312
|
* </li>
|
|
321
313
|
* <li>
|
|
322
314
|
* <p>
|
|
323
|
-
* <b>Playback key pair</b> — Video playback may be restricted
|
|
324
|
-
* using playback-authorization tokens, which use public-key encryption. A playback key pair
|
|
325
|
-
* is the public-private pair of keys used to sign and validate the playback-authorization
|
|
326
|
-
* token. See the PlaybackKeyPair endpoints for more information.</p>
|
|
315
|
+
* <b>Playback key pair</b> — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token.</p>
|
|
327
316
|
* </li>
|
|
328
317
|
* <li>
|
|
329
318
|
* <p>
|
|
330
|
-
* <b>Recording configuration</b> — Stores configuration
|
|
331
|
-
* related to recording a live stream and where to store the recorded content. Multiple
|
|
332
|
-
* channels can reference the same recording configuration. See the Recording Configuration
|
|
333
|
-
* endpoints for more information.</p>
|
|
319
|
+
* <b>Recording configuration</b> — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration.</p>
|
|
334
320
|
* </li>
|
|
335
321
|
* <li>
|
|
336
322
|
* <p>
|
|
337
|
-
* <b>Playback restriction policy</b> — Restricts playback by
|
|
338
|
-
* countries and/or origin sites. See the Playback Restriction Policy endpoints for more
|
|
339
|
-
* information.</p>
|
|
323
|
+
* <b>Playback restriction policy</b> — Restricts playback by countries and/or origin sites.</p>
|
|
340
324
|
* </li>
|
|
341
325
|
* </ul>
|
|
326
|
+
* <p>For more information about your IVS live stream, also see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/getting-started.html">Getting Started with IVS Low-Latency Streaming</a>.</p>
|
|
342
327
|
* <p>
|
|
343
328
|
* <b>Tagging</b>
|
|
344
329
|
* </p>
|
|
@@ -517,7 +502,7 @@ export interface Ivs {
|
|
|
517
502
|
* </li>
|
|
518
503
|
* </ul>
|
|
519
504
|
* <p>
|
|
520
|
-
* <b>
|
|
505
|
+
* <b>Recording Configuration Endpoints</b>
|
|
521
506
|
* </p>
|
|
522
507
|
* <ul>
|
|
523
508
|
* <li>
|
|
@@ -582,7 +567,7 @@ export interface Ivs {
|
|
|
582
567
|
* </li>
|
|
583
568
|
* </ul>
|
|
584
569
|
* <p>
|
|
585
|
-
* <b>
|
|
570
|
+
* <b>Stream Key Endpoints</b>
|
|
586
571
|
* </p>
|
|
587
572
|
* <ul>
|
|
588
573
|
* <li>
|
|
@@ -227,49 +227,34 @@ export interface IvsClientResolvedConfig extends IvsClientResolvedConfigType {
|
|
|
227
227
|
* </li>
|
|
228
228
|
* </ul>
|
|
229
229
|
* <p>
|
|
230
|
-
* <b>
|
|
230
|
+
* <b>Key Concepts</b>
|
|
231
231
|
* </p>
|
|
232
|
-
* <p>The following resources contain information about your IVS live stream (see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/getting-started.html"> Getting Started with
|
|
233
|
-
* Amazon IVS</a>):</p>
|
|
234
232
|
* <ul>
|
|
235
233
|
* <li>
|
|
236
234
|
* <p>
|
|
237
|
-
* <b>Channel</b> — Stores configuration data related to your
|
|
238
|
-
* live stream. You first create a channel and then use the channel’s stream key to start
|
|
239
|
-
* your live stream. See the Channel endpoints for more information. </p>
|
|
235
|
+
* <b>Channel</b> — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream.</p>
|
|
240
236
|
* </li>
|
|
241
237
|
* <li>
|
|
242
238
|
* <p>
|
|
243
|
-
* <b>Stream key</b> — An identifier assigned by Amazon IVS
|
|
244
|
-
*
|
|
245
|
-
* endpoints for more information. <i>
|
|
246
|
-
* <b>Treat the stream key like
|
|
247
|
-
* a secret, since it allows anyone to stream to the
|
|
248
|
-
* channel.</b>
|
|
239
|
+
* <b>Stream key</b> — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. <i>
|
|
240
|
+
* <b>Treat the stream key like a secret, since it allows anyone to stream to the channel.</b>
|
|
249
241
|
* </i>
|
|
250
242
|
* </p>
|
|
251
243
|
* </li>
|
|
252
244
|
* <li>
|
|
253
245
|
* <p>
|
|
254
|
-
* <b>Playback key pair</b> — Video playback may be restricted
|
|
255
|
-
* using playback-authorization tokens, which use public-key encryption. A playback key pair
|
|
256
|
-
* is the public-private pair of keys used to sign and validate the playback-authorization
|
|
257
|
-
* token. See the PlaybackKeyPair endpoints for more information.</p>
|
|
246
|
+
* <b>Playback key pair</b> — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token.</p>
|
|
258
247
|
* </li>
|
|
259
248
|
* <li>
|
|
260
249
|
* <p>
|
|
261
|
-
* <b>Recording configuration</b> — Stores configuration
|
|
262
|
-
* related to recording a live stream and where to store the recorded content. Multiple
|
|
263
|
-
* channels can reference the same recording configuration. See the Recording Configuration
|
|
264
|
-
* endpoints for more information.</p>
|
|
250
|
+
* <b>Recording configuration</b> — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration.</p>
|
|
265
251
|
* </li>
|
|
266
252
|
* <li>
|
|
267
253
|
* <p>
|
|
268
|
-
* <b>Playback restriction policy</b> — Restricts playback by
|
|
269
|
-
* countries and/or origin sites. See the Playback Restriction Policy endpoints for more
|
|
270
|
-
* information.</p>
|
|
254
|
+
* <b>Playback restriction policy</b> — Restricts playback by countries and/or origin sites.</p>
|
|
271
255
|
* </li>
|
|
272
256
|
* </ul>
|
|
257
|
+
* <p>For more information about your IVS live stream, also see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/getting-started.html">Getting Started with IVS Low-Latency Streaming</a>.</p>
|
|
273
258
|
* <p>
|
|
274
259
|
* <b>Tagging</b>
|
|
275
260
|
* </p>
|
|
@@ -448,7 +433,7 @@ export interface IvsClientResolvedConfig extends IvsClientResolvedConfigType {
|
|
|
448
433
|
* </li>
|
|
449
434
|
* </ul>
|
|
450
435
|
* <p>
|
|
451
|
-
* <b>
|
|
436
|
+
* <b>Recording Configuration Endpoints</b>
|
|
452
437
|
* </p>
|
|
453
438
|
* <ul>
|
|
454
439
|
* <li>
|
|
@@ -513,7 +498,7 @@ export interface IvsClientResolvedConfig extends IvsClientResolvedConfigType {
|
|
|
513
498
|
* </li>
|
|
514
499
|
* </ul>
|
|
515
500
|
* <p>
|
|
516
|
-
* <b>
|
|
501
|
+
* <b>Stream Key Endpoints</b>
|
|
517
502
|
* </p>
|
|
518
503
|
* <ul>
|
|
519
504
|
* <li>
|
|
@@ -56,6 +56,10 @@ declare const BatchGetChannelCommand_base: {
|
|
|
56
56
|
* // },
|
|
57
57
|
* // insecureIngest: true || false,
|
|
58
58
|
* // preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
59
|
+
* // srt: { // Srt
|
|
60
|
+
* // endpoint: "STRING_VALUE",
|
|
61
|
+
* // passphrase: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
59
63
|
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
60
64
|
* // },
|
|
61
65
|
* // ],
|
|
@@ -63,6 +63,10 @@ declare const CreateChannelCommand_base: {
|
|
|
63
63
|
* // },
|
|
64
64
|
* // insecureIngest: true || false,
|
|
65
65
|
* // preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
66
|
+
* // srt: { // Srt
|
|
67
|
+
* // endpoint: "STRING_VALUE",
|
|
68
|
+
* // passphrase: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
66
70
|
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
67
71
|
* // },
|
|
68
72
|
* // streamKey: { // StreamKey
|
|
@@ -53,6 +53,10 @@ declare const GetChannelCommand_base: {
|
|
|
53
53
|
* // },
|
|
54
54
|
* // insecureIngest: true || false,
|
|
55
55
|
* // preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
56
|
+
* // srt: { // Srt
|
|
57
|
+
* // endpoint: "STRING_VALUE",
|
|
58
|
+
* // passphrase: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
56
60
|
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
57
61
|
* // },
|
|
58
62
|
* // };
|
|
@@ -58,6 +58,10 @@ declare const GetStreamSessionCommand_base: {
|
|
|
58
58
|
* // },
|
|
59
59
|
* // insecureIngest: true || false,
|
|
60
60
|
* // preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
61
|
+
* // srt: { // Srt
|
|
62
|
+
* // endpoint: "STRING_VALUE",
|
|
63
|
+
* // passphrase: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
61
65
|
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
62
66
|
* // },
|
|
63
67
|
* // ingestConfiguration: { // IngestConfiguration
|
|
@@ -63,6 +63,10 @@ declare const UpdateChannelCommand_base: {
|
|
|
63
63
|
* // },
|
|
64
64
|
* // insecureIngest: true || false,
|
|
65
65
|
* // preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
66
|
+
* // srt: { // Srt
|
|
67
|
+
* // endpoint: "STRING_VALUE",
|
|
68
|
+
* // passphrase: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
66
70
|
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
67
71
|
* // },
|
|
68
72
|
* // };
|
package/dist-types/index.d.ts
CHANGED
|
@@ -40,49 +40,34 @@
|
|
|
40
40
|
* </li>
|
|
41
41
|
* </ul>
|
|
42
42
|
* <p>
|
|
43
|
-
* <b>
|
|
43
|
+
* <b>Key Concepts</b>
|
|
44
44
|
* </p>
|
|
45
|
-
* <p>The following resources contain information about your IVS live stream (see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/getting-started.html"> Getting Started with
|
|
46
|
-
* Amazon IVS</a>):</p>
|
|
47
45
|
* <ul>
|
|
48
46
|
* <li>
|
|
49
47
|
* <p>
|
|
50
|
-
* <b>Channel</b> — Stores configuration data related to your
|
|
51
|
-
* live stream. You first create a channel and then use the channel’s stream key to start
|
|
52
|
-
* your live stream. See the Channel endpoints for more information. </p>
|
|
48
|
+
* <b>Channel</b> — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream.</p>
|
|
53
49
|
* </li>
|
|
54
50
|
* <li>
|
|
55
51
|
* <p>
|
|
56
|
-
* <b>Stream key</b> — An identifier assigned by Amazon IVS
|
|
57
|
-
*
|
|
58
|
-
* endpoints for more information. <i>
|
|
59
|
-
* <b>Treat the stream key like
|
|
60
|
-
* a secret, since it allows anyone to stream to the
|
|
61
|
-
* channel.</b>
|
|
52
|
+
* <b>Stream key</b> — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. <i>
|
|
53
|
+
* <b>Treat the stream key like a secret, since it allows anyone to stream to the channel.</b>
|
|
62
54
|
* </i>
|
|
63
55
|
* </p>
|
|
64
56
|
* </li>
|
|
65
57
|
* <li>
|
|
66
58
|
* <p>
|
|
67
|
-
* <b>Playback key pair</b> — Video playback may be restricted
|
|
68
|
-
* using playback-authorization tokens, which use public-key encryption. A playback key pair
|
|
69
|
-
* is the public-private pair of keys used to sign and validate the playback-authorization
|
|
70
|
-
* token. See the PlaybackKeyPair endpoints for more information.</p>
|
|
59
|
+
* <b>Playback key pair</b> — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token.</p>
|
|
71
60
|
* </li>
|
|
72
61
|
* <li>
|
|
73
62
|
* <p>
|
|
74
|
-
* <b>Recording configuration</b> — Stores configuration
|
|
75
|
-
* related to recording a live stream and where to store the recorded content. Multiple
|
|
76
|
-
* channels can reference the same recording configuration. See the Recording Configuration
|
|
77
|
-
* endpoints for more information.</p>
|
|
63
|
+
* <b>Recording configuration</b> — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration.</p>
|
|
78
64
|
* </li>
|
|
79
65
|
* <li>
|
|
80
66
|
* <p>
|
|
81
|
-
* <b>Playback restriction policy</b> — Restricts playback by
|
|
82
|
-
* countries and/or origin sites. See the Playback Restriction Policy endpoints for more
|
|
83
|
-
* information.</p>
|
|
67
|
+
* <b>Playback restriction policy</b> — Restricts playback by countries and/or origin sites.</p>
|
|
84
68
|
* </li>
|
|
85
69
|
* </ul>
|
|
70
|
+
* <p>For more information about your IVS live stream, also see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/getting-started.html">Getting Started with IVS Low-Latency Streaming</a>.</p>
|
|
86
71
|
* <p>
|
|
87
72
|
* <b>Tagging</b>
|
|
88
73
|
* </p>
|
|
@@ -261,7 +246,7 @@
|
|
|
261
246
|
* </li>
|
|
262
247
|
* </ul>
|
|
263
248
|
* <p>
|
|
264
|
-
* <b>
|
|
249
|
+
* <b>Recording Configuration Endpoints</b>
|
|
265
250
|
* </p>
|
|
266
251
|
* <ul>
|
|
267
252
|
* <li>
|
|
@@ -326,7 +311,7 @@
|
|
|
326
311
|
* </li>
|
|
327
312
|
* </ul>
|
|
328
313
|
* <p>
|
|
329
|
-
* <b>
|
|
314
|
+
* <b>Stream Key Endpoints</b>
|
|
330
315
|
* </p>
|
|
331
316
|
* <ul>
|
|
332
317
|
* <li>
|
|
@@ -51,6 +51,24 @@ export declare const TranscodePreset: {
|
|
|
51
51
|
* @public
|
|
52
52
|
*/
|
|
53
53
|
export type TranscodePreset = (typeof TranscodePreset)[keyof typeof TranscodePreset];
|
|
54
|
+
/**
|
|
55
|
+
* <p>Specifies information needed to stream using the SRT protocol.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export interface Srt {
|
|
59
|
+
/**
|
|
60
|
+
* <p>The endpoint to be used when streaming with IVS using the SRT protocol.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
endpoint?: string;
|
|
64
|
+
/**
|
|
65
|
+
* <p>Auto-generated passphrase to enable encryption. This field is applicable only if the end
|
|
66
|
+
* user has <i>not</i> enabled the <code>insecureIngest</code> option for the
|
|
67
|
+
* channel.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
passphrase?: string;
|
|
71
|
+
}
|
|
54
72
|
/**
|
|
55
73
|
* @public
|
|
56
74
|
* @enum
|
|
@@ -96,8 +114,8 @@ export interface Channel {
|
|
|
96
114
|
*/
|
|
97
115
|
type?: ChannelType;
|
|
98
116
|
/**
|
|
99
|
-
* <p>Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables
|
|
100
|
-
*
|
|
117
|
+
* <p>Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables
|
|
118
|
+
* recording. Default: "" (empty string, recording is disabled).</p>
|
|
101
119
|
* @public
|
|
102
120
|
*/
|
|
103
121
|
recordingConfigurationArn?: string;
|
|
@@ -141,7 +159,14 @@ export interface Channel {
|
|
|
141
159
|
*/
|
|
142
160
|
preset?: TranscodePreset;
|
|
143
161
|
/**
|
|
144
|
-
* <p>
|
|
162
|
+
* <p>Specifies the endpoint and optional passphrase for streaming with the SRT protocol.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
srt?: Srt;
|
|
166
|
+
/**
|
|
167
|
+
* <p>Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables
|
|
168
|
+
* playback restriction. Default: "" (empty string, no playback restriction policy is
|
|
169
|
+
* applied).</p>
|
|
145
170
|
* @public
|
|
146
171
|
*/
|
|
147
172
|
playbackRestrictionPolicyArn?: string;
|
|
@@ -402,7 +427,7 @@ export interface CreateChannelRequest {
|
|
|
402
427
|
*/
|
|
403
428
|
tags?: Record<string, string>;
|
|
404
429
|
/**
|
|
405
|
-
* <p>Whether the channel allows insecure RTMP ingest. Default: <code>false</code>.</p>
|
|
430
|
+
* <p>Whether the channel allows insecure RTMP and SRT ingest. Default: <code>false</code>.</p>
|
|
406
431
|
* @public
|
|
407
432
|
*/
|
|
408
433
|
insecureIngest?: boolean;
|
|
@@ -522,13 +547,15 @@ export interface PlaybackRestrictionPolicy {
|
|
|
522
547
|
arn: string | undefined;
|
|
523
548
|
/**
|
|
524
549
|
* <p>A list of country codes that control geoblocking restriction. Allowed values are the
|
|
525
|
-
* officially assigned <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1
|
|
550
|
+
* officially assigned <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1
|
|
551
|
+
* alpha-2</a> codes. Default: All countries (an empty array).</p>
|
|
526
552
|
* @public
|
|
527
553
|
*/
|
|
528
554
|
allowedCountries: string[] | undefined;
|
|
529
555
|
/**
|
|
530
556
|
* <p>A list of origin sites that control CORS restriction. Allowed values are the same as valid
|
|
531
|
-
* values of the Origin header defined at <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin">https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin</a>. Default: All
|
|
557
|
+
* values of the Origin header defined at <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin">https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin</a>. Default: All
|
|
558
|
+
* origins (an empty array).</p>
|
|
532
559
|
* @public
|
|
533
560
|
*/
|
|
534
561
|
allowedOrigins: string[] | undefined;
|
|
@@ -1473,8 +1500,8 @@ export interface ChannelSummary {
|
|
|
1473
1500
|
*/
|
|
1474
1501
|
authorized?: boolean;
|
|
1475
1502
|
/**
|
|
1476
|
-
* <p>Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables
|
|
1477
|
-
* Default: "" (empty string, recording is disabled).</p>
|
|
1503
|
+
* <p>Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables
|
|
1504
|
+
* recording. Default: "" (empty string, recording is disabled).</p>
|
|
1478
1505
|
* @public
|
|
1479
1506
|
*/
|
|
1480
1507
|
recordingConfigurationArn?: string;
|
|
@@ -1509,8 +1536,9 @@ export interface ChannelSummary {
|
|
|
1509
1536
|
*/
|
|
1510
1537
|
preset?: TranscodePreset;
|
|
1511
1538
|
/**
|
|
1512
|
-
* <p>Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables
|
|
1513
|
-
*
|
|
1539
|
+
* <p>Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables
|
|
1540
|
+
* playback restriction. Default: "" (empty string, no playback restriction policy is
|
|
1541
|
+
* applied).</p>
|
|
1514
1542
|
* @public
|
|
1515
1543
|
*/
|
|
1516
1544
|
playbackRestrictionPolicyArn?: string;
|
|
@@ -1623,7 +1651,8 @@ export interface PlaybackRestrictionPolicySummary {
|
|
|
1623
1651
|
allowedCountries: string[] | undefined;
|
|
1624
1652
|
/**
|
|
1625
1653
|
* <p>A list of origin sites that control CORS restriction. Allowed values are the same as valid
|
|
1626
|
-
* values of the Origin header defined at <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin">https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin</a>. Default: All
|
|
1654
|
+
* values of the Origin header defined at <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin">https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin</a>. Default: All
|
|
1655
|
+
* origins (an empty array).</p>
|
|
1627
1656
|
* @public
|
|
1628
1657
|
*/
|
|
1629
1658
|
allowedOrigins: string[] | undefined;
|
|
@@ -2130,7 +2159,7 @@ export interface UpdateChannelRequest {
|
|
|
2130
2159
|
*/
|
|
2131
2160
|
recordingConfigurationArn?: string;
|
|
2132
2161
|
/**
|
|
2133
|
-
* <p>Whether the channel allows insecure RTMP ingest. Default: <code>false</code>.</p>
|
|
2162
|
+
* <p>Whether the channel allows insecure RTMP and SRT ingest. Default: <code>false</code>.</p>
|
|
2134
2163
|
* @public
|
|
2135
2164
|
*/
|
|
2136
2165
|
insecureIngest?: boolean;
|
|
@@ -2205,6 +2234,18 @@ export interface UpdatePlaybackRestrictionPolicyResponse {
|
|
|
2205
2234
|
*/
|
|
2206
2235
|
playbackRestrictionPolicy?: PlaybackRestrictionPolicy;
|
|
2207
2236
|
}
|
|
2237
|
+
/**
|
|
2238
|
+
* @internal
|
|
2239
|
+
*/
|
|
2240
|
+
export declare const SrtFilterSensitiveLog: (obj: Srt) => any;
|
|
2241
|
+
/**
|
|
2242
|
+
* @internal
|
|
2243
|
+
*/
|
|
2244
|
+
export declare const ChannelFilterSensitiveLog: (obj: Channel) => any;
|
|
2245
|
+
/**
|
|
2246
|
+
* @internal
|
|
2247
|
+
*/
|
|
2248
|
+
export declare const BatchGetChannelResponseFilterSensitiveLog: (obj: BatchGetChannelResponse) => any;
|
|
2208
2249
|
/**
|
|
2209
2250
|
* @internal
|
|
2210
2251
|
*/
|
|
@@ -2221,11 +2262,27 @@ export declare const CreateChannelResponseFilterSensitiveLog: (obj: CreateChanne
|
|
|
2221
2262
|
* @internal
|
|
2222
2263
|
*/
|
|
2223
2264
|
export declare const CreateStreamKeyResponseFilterSensitiveLog: (obj: CreateStreamKeyResponse) => any;
|
|
2265
|
+
/**
|
|
2266
|
+
* @internal
|
|
2267
|
+
*/
|
|
2268
|
+
export declare const GetChannelResponseFilterSensitiveLog: (obj: GetChannelResponse) => any;
|
|
2224
2269
|
/**
|
|
2225
2270
|
* @internal
|
|
2226
2271
|
*/
|
|
2227
2272
|
export declare const GetStreamKeyResponseFilterSensitiveLog: (obj: GetStreamKeyResponse) => any;
|
|
2273
|
+
/**
|
|
2274
|
+
* @internal
|
|
2275
|
+
*/
|
|
2276
|
+
export declare const StreamSessionFilterSensitiveLog: (obj: StreamSession) => any;
|
|
2277
|
+
/**
|
|
2278
|
+
* @internal
|
|
2279
|
+
*/
|
|
2280
|
+
export declare const GetStreamSessionResponseFilterSensitiveLog: (obj: GetStreamSessionResponse) => any;
|
|
2228
2281
|
/**
|
|
2229
2282
|
* @internal
|
|
2230
2283
|
*/
|
|
2231
2284
|
export declare const PutMetadataRequestFilterSensitiveLog: (obj: PutMetadataRequest) => any;
|
|
2285
|
+
/**
|
|
2286
|
+
* @internal
|
|
2287
|
+
*/
|
|
2288
|
+
export declare const UpdateChannelResponseFilterSensitiveLog: (obj: UpdateChannelResponse) => any;
|
|
@@ -23,6 +23,10 @@ export declare const TranscodePreset: {
|
|
|
23
23
|
};
|
|
24
24
|
export type TranscodePreset =
|
|
25
25
|
(typeof TranscodePreset)[keyof typeof TranscodePreset];
|
|
26
|
+
export interface Srt {
|
|
27
|
+
endpoint?: string;
|
|
28
|
+
passphrase?: string;
|
|
29
|
+
}
|
|
26
30
|
export declare const ChannelType: {
|
|
27
31
|
readonly AdvancedHDChannelType: "ADVANCED_HD";
|
|
28
32
|
readonly AdvancedSDChannelType: "ADVANCED_SD";
|
|
@@ -42,6 +46,7 @@ export interface Channel {
|
|
|
42
46
|
tags?: Record<string, string>;
|
|
43
47
|
insecureIngest?: boolean;
|
|
44
48
|
preset?: TranscodePreset;
|
|
49
|
+
srt?: Srt;
|
|
45
50
|
playbackRestrictionPolicyArn?: string;
|
|
46
51
|
}
|
|
47
52
|
export interface BatchError {
|
|
@@ -566,6 +571,11 @@ export interface UpdatePlaybackRestrictionPolicyRequest {
|
|
|
566
571
|
export interface UpdatePlaybackRestrictionPolicyResponse {
|
|
567
572
|
playbackRestrictionPolicy?: PlaybackRestrictionPolicy;
|
|
568
573
|
}
|
|
574
|
+
export declare const SrtFilterSensitiveLog: (obj: Srt) => any;
|
|
575
|
+
export declare const ChannelFilterSensitiveLog: (obj: Channel) => any;
|
|
576
|
+
export declare const BatchGetChannelResponseFilterSensitiveLog: (
|
|
577
|
+
obj: BatchGetChannelResponse
|
|
578
|
+
) => any;
|
|
569
579
|
export declare const StreamKeyFilterSensitiveLog: (obj: StreamKey) => any;
|
|
570
580
|
export declare const BatchGetStreamKeyResponseFilterSensitiveLog: (
|
|
571
581
|
obj: BatchGetStreamKeyResponse
|
|
@@ -576,9 +586,21 @@ export declare const CreateChannelResponseFilterSensitiveLog: (
|
|
|
576
586
|
export declare const CreateStreamKeyResponseFilterSensitiveLog: (
|
|
577
587
|
obj: CreateStreamKeyResponse
|
|
578
588
|
) => any;
|
|
589
|
+
export declare const GetChannelResponseFilterSensitiveLog: (
|
|
590
|
+
obj: GetChannelResponse
|
|
591
|
+
) => any;
|
|
579
592
|
export declare const GetStreamKeyResponseFilterSensitiveLog: (
|
|
580
593
|
obj: GetStreamKeyResponse
|
|
581
594
|
) => any;
|
|
595
|
+
export declare const StreamSessionFilterSensitiveLog: (
|
|
596
|
+
obj: StreamSession
|
|
597
|
+
) => any;
|
|
598
|
+
export declare const GetStreamSessionResponseFilterSensitiveLog: (
|
|
599
|
+
obj: GetStreamSessionResponse
|
|
600
|
+
) => any;
|
|
582
601
|
export declare const PutMetadataRequestFilterSensitiveLog: (
|
|
583
602
|
obj: PutMetadataRequest
|
|
584
603
|
) => any;
|
|
604
|
+
export declare const UpdateChannelResponseFilterSensitiveLog: (
|
|
605
|
+
obj: UpdateChannelResponse
|
|
606
|
+
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ivs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.549.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ivs",
|
|
@@ -20,9 +20,9 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.549.0",
|
|
24
|
+
"@aws-sdk/core": "3.549.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.549.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
-
"@smithy/core": "^1.4.
|
|
36
|
+
"@smithy/core": "^1.4.1",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
38
|
"@smithy/hash-node": "^2.2.0",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
41
|
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
42
|
+
"@smithy/middleware-retry": "^2.3.0",
|
|
43
43
|
"@smithy/middleware-serde": "^2.3.0",
|
|
44
44
|
"@smithy/middleware-stack": "^2.2.0",
|
|
45
45
|
"@smithy/node-config-provider": "^2.3.0",
|