@aws-sdk/client-ivs 3.687.0 → 3.692.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/index.js +24 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/protocols/Aws_restJson1.js +5 -0
- package/dist-types/commands/BatchGetChannelCommand.d.ts +6 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +12 -0
- package/dist-types/commands/GetChannelCommand.d.ts +6 -0
- package/dist-types/commands/GetStreamSessionCommand.d.ts +36 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +367 -216
- package/dist-types/ts3.4/models/models_0.d.ts +238 -199
- package/package.json +35 -35
package/dist-cjs/index.js
CHANGED
|
@@ -32,6 +32,7 @@ __export(src_exports, {
|
|
|
32
32
|
ChannelNotBroadcasting: () => ChannelNotBroadcasting,
|
|
33
33
|
ChannelType: () => ChannelType,
|
|
34
34
|
ConflictException: () => ConflictException,
|
|
35
|
+
ContainerFormat: () => ContainerFormat,
|
|
35
36
|
CreateChannelCommand: () => CreateChannelCommand,
|
|
36
37
|
CreateChannelResponseFilterSensitiveLog: () => CreateChannelResponseFilterSensitiveLog,
|
|
37
38
|
CreatePlaybackRestrictionPolicyCommand: () => CreatePlaybackRestrictionPolicyCommand,
|
|
@@ -66,6 +67,8 @@ __export(src_exports, {
|
|
|
66
67
|
ListStreamSessionsCommand: () => ListStreamSessionsCommand,
|
|
67
68
|
ListStreamsCommand: () => ListStreamsCommand,
|
|
68
69
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
70
|
+
MultitrackMaximumResolution: () => MultitrackMaximumResolution,
|
|
71
|
+
MultitrackPolicy: () => MultitrackPolicy,
|
|
69
72
|
PendingVerification: () => PendingVerification,
|
|
70
73
|
PutMetadataCommand: () => PutMetadataCommand,
|
|
71
74
|
PutMetadataRequestFilterSensitiveLog: () => PutMetadataRequestFilterSensitiveLog,
|
|
@@ -285,10 +288,23 @@ var _AccessDeniedException = class _AccessDeniedException extends IvsServiceExce
|
|
|
285
288
|
};
|
|
286
289
|
__name(_AccessDeniedException, "AccessDeniedException");
|
|
287
290
|
var AccessDeniedException = _AccessDeniedException;
|
|
291
|
+
var ContainerFormat = {
|
|
292
|
+
FragmentedMP4: "FRAGMENTED_MP4",
|
|
293
|
+
TS: "TS"
|
|
294
|
+
};
|
|
288
295
|
var ChannelLatencyMode = {
|
|
289
296
|
LowLatency: "LOW",
|
|
290
297
|
NormalLatency: "NORMAL"
|
|
291
298
|
};
|
|
299
|
+
var MultitrackMaximumResolution = {
|
|
300
|
+
FULL_HD: "FULL_HD",
|
|
301
|
+
HD: "HD",
|
|
302
|
+
SD: "SD"
|
|
303
|
+
};
|
|
304
|
+
var MultitrackPolicy = {
|
|
305
|
+
ALLOW: "ALLOW",
|
|
306
|
+
REQUIRE: "REQUIRE"
|
|
307
|
+
};
|
|
292
308
|
var TranscodePreset = {
|
|
293
309
|
ConstrainedBandwidthTranscodePreset: "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
294
310
|
HigherBandwidthTranscodePreset: "HIGHER_BANDWIDTH_DELIVERY"
|
|
@@ -613,8 +629,10 @@ var se_CreateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
613
629
|
body = JSON.stringify(
|
|
614
630
|
(0, import_smithy_client.take)(input, {
|
|
615
631
|
authorized: [],
|
|
632
|
+
containerFormat: [],
|
|
616
633
|
insecureIngest: [],
|
|
617
634
|
latencyMode: [],
|
|
635
|
+
multitrackInputConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
618
636
|
name: [],
|
|
619
637
|
playbackRestrictionPolicyArn: [],
|
|
620
638
|
preset: [],
|
|
@@ -1093,8 +1111,10 @@ var se_UpdateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1093
1111
|
(0, import_smithy_client.take)(input, {
|
|
1094
1112
|
arn: [],
|
|
1095
1113
|
authorized: [],
|
|
1114
|
+
containerFormat: [],
|
|
1096
1115
|
insecureIngest: [],
|
|
1097
1116
|
latencyMode: [],
|
|
1117
|
+
multitrackInputConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1098
1118
|
name: [],
|
|
1099
1119
|
playbackRestrictionPolicyArn: [],
|
|
1100
1120
|
preset: [],
|
|
@@ -1797,6 +1817,7 @@ var de_StreamSession = /* @__PURE__ */ __name((output, context) => {
|
|
|
1797
1817
|
channel: import_smithy_client._json,
|
|
1798
1818
|
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1799
1819
|
ingestConfiguration: import_smithy_client._json,
|
|
1820
|
+
ingestConfigurations: import_smithy_client._json,
|
|
1800
1821
|
recordingConfiguration: import_smithy_client._json,
|
|
1801
1822
|
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1802
1823
|
streamId: import_smithy_client.expectString,
|
|
@@ -2444,7 +2465,10 @@ var paginateListStreams = (0, import_core.createPaginator)(IvsClient, ListStream
|
|
|
2444
2465
|
paginateListStreamSessions,
|
|
2445
2466
|
paginateListStreams,
|
|
2446
2467
|
AccessDeniedException,
|
|
2468
|
+
ContainerFormat,
|
|
2447
2469
|
ChannelLatencyMode,
|
|
2470
|
+
MultitrackMaximumResolution,
|
|
2471
|
+
MultitrackPolicy,
|
|
2448
2472
|
TranscodePreset,
|
|
2449
2473
|
ChannelType,
|
|
2450
2474
|
PendingVerification,
|
|
@@ -13,10 +13,23 @@ export class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
this.exceptionMessage = opts.exceptionMessage;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
+
export const ContainerFormat = {
|
|
17
|
+
FragmentedMP4: "FRAGMENTED_MP4",
|
|
18
|
+
TS: "TS",
|
|
19
|
+
};
|
|
16
20
|
export const ChannelLatencyMode = {
|
|
17
21
|
LowLatency: "LOW",
|
|
18
22
|
NormalLatency: "NORMAL",
|
|
19
23
|
};
|
|
24
|
+
export const MultitrackMaximumResolution = {
|
|
25
|
+
FULL_HD: "FULL_HD",
|
|
26
|
+
HD: "HD",
|
|
27
|
+
SD: "SD",
|
|
28
|
+
};
|
|
29
|
+
export const MultitrackPolicy = {
|
|
30
|
+
ALLOW: "ALLOW",
|
|
31
|
+
REQUIRE: "REQUIRE",
|
|
32
|
+
};
|
|
20
33
|
export const TranscodePreset = {
|
|
21
34
|
ConstrainedBandwidthTranscodePreset: "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
22
35
|
HigherBandwidthTranscodePreset: "HIGHER_BANDWIDTH_DELIVERY",
|
|
@@ -51,8 +51,10 @@ export const se_CreateChannelCommand = async (input, context) => {
|
|
|
51
51
|
let body;
|
|
52
52
|
body = JSON.stringify(take(input, {
|
|
53
53
|
authorized: [],
|
|
54
|
+
containerFormat: [],
|
|
54
55
|
insecureIngest: [],
|
|
55
56
|
latencyMode: [],
|
|
57
|
+
multitrackInputConfiguration: (_) => _json(_),
|
|
56
58
|
name: [],
|
|
57
59
|
playbackRestrictionPolicyArn: [],
|
|
58
60
|
preset: [],
|
|
@@ -475,8 +477,10 @@ export const se_UpdateChannelCommand = async (input, context) => {
|
|
|
475
477
|
body = JSON.stringify(take(input, {
|
|
476
478
|
arn: [],
|
|
477
479
|
authorized: [],
|
|
480
|
+
containerFormat: [],
|
|
478
481
|
insecureIngest: [],
|
|
479
482
|
latencyMode: [],
|
|
483
|
+
multitrackInputConfiguration: (_) => _json(_),
|
|
480
484
|
name: [],
|
|
481
485
|
playbackRestrictionPolicyArn: [],
|
|
482
486
|
preset: [],
|
|
@@ -1180,6 +1184,7 @@ const de_StreamSession = (output, context) => {
|
|
|
1180
1184
|
channel: _json,
|
|
1181
1185
|
endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1182
1186
|
ingestConfiguration: _json,
|
|
1187
|
+
ingestConfigurations: _json,
|
|
1183
1188
|
recordingConfiguration: _json,
|
|
1184
1189
|
startTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1185
1190
|
streamId: __expectString,
|
|
@@ -62,6 +62,12 @@ declare const BatchGetChannelCommand_base: {
|
|
|
62
62
|
* // passphrase: "STRING_VALUE",
|
|
63
63
|
* // },
|
|
64
64
|
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
65
|
+
* // multitrackInputConfiguration: { // MultitrackInputConfiguration
|
|
66
|
+
* // enabled: true || false,
|
|
67
|
+
* // policy: "ALLOW" || "REQUIRE",
|
|
68
|
+
* // maximumResolution: "SD" || "HD" || "FULL_HD",
|
|
69
|
+
* // },
|
|
70
|
+
* // containerFormat: "STRING_VALUE",
|
|
65
71
|
* // },
|
|
66
72
|
* // ],
|
|
67
73
|
* // errors: [ // BatchErrors
|
|
@@ -46,6 +46,12 @@ declare const CreateChannelCommand_base: {
|
|
|
46
46
|
* insecureIngest: true || false,
|
|
47
47
|
* preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
48
48
|
* playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
49
|
+
* multitrackInputConfiguration: { // MultitrackInputConfiguration
|
|
50
|
+
* enabled: true || false,
|
|
51
|
+
* policy: "ALLOW" || "REQUIRE",
|
|
52
|
+
* maximumResolution: "SD" || "HD" || "FULL_HD",
|
|
53
|
+
* },
|
|
54
|
+
* containerFormat: "STRING_VALUE",
|
|
49
55
|
* };
|
|
50
56
|
* const command = new CreateChannelCommand(input);
|
|
51
57
|
* const response = await client.send(command);
|
|
@@ -69,6 +75,12 @@ declare const CreateChannelCommand_base: {
|
|
|
69
75
|
* // passphrase: "STRING_VALUE",
|
|
70
76
|
* // },
|
|
71
77
|
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
78
|
+
* // multitrackInputConfiguration: { // MultitrackInputConfiguration
|
|
79
|
+
* // enabled: true || false,
|
|
80
|
+
* // policy: "ALLOW" || "REQUIRE",
|
|
81
|
+
* // maximumResolution: "SD" || "HD" || "FULL_HD",
|
|
82
|
+
* // },
|
|
83
|
+
* // containerFormat: "STRING_VALUE",
|
|
72
84
|
* // },
|
|
73
85
|
* // streamKey: { // StreamKey
|
|
74
86
|
* // arn: "STRING_VALUE",
|
|
@@ -59,6 +59,12 @@ declare const GetChannelCommand_base: {
|
|
|
59
59
|
* // passphrase: "STRING_VALUE",
|
|
60
60
|
* // },
|
|
61
61
|
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
62
|
+
* // multitrackInputConfiguration: { // MultitrackInputConfiguration
|
|
63
|
+
* // enabled: true || false,
|
|
64
|
+
* // policy: "ALLOW" || "REQUIRE",
|
|
65
|
+
* // maximumResolution: "SD" || "HD" || "FULL_HD",
|
|
66
|
+
* // },
|
|
67
|
+
* // containerFormat: "STRING_VALUE",
|
|
62
68
|
* // },
|
|
63
69
|
* // };
|
|
64
70
|
*
|
|
@@ -64,6 +64,12 @@ declare const GetStreamSessionCommand_base: {
|
|
|
64
64
|
* // passphrase: "STRING_VALUE",
|
|
65
65
|
* // },
|
|
66
66
|
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
67
|
+
* // multitrackInputConfiguration: { // MultitrackInputConfiguration
|
|
68
|
+
* // enabled: true || false,
|
|
69
|
+
* // policy: "ALLOW" || "REQUIRE",
|
|
70
|
+
* // maximumResolution: "SD" || "HD" || "FULL_HD",
|
|
71
|
+
* // },
|
|
72
|
+
* // containerFormat: "STRING_VALUE",
|
|
67
73
|
* // },
|
|
68
74
|
* // ingestConfiguration: { // IngestConfiguration
|
|
69
75
|
* // video: { // VideoConfiguration
|
|
@@ -75,14 +81,44 @@ declare const GetStreamSessionCommand_base: {
|
|
|
75
81
|
* // targetFramerate: Number("long"),
|
|
76
82
|
* // videoHeight: Number("long"),
|
|
77
83
|
* // videoWidth: Number("long"),
|
|
84
|
+
* // level: "STRING_VALUE",
|
|
85
|
+
* // track: "STRING_VALUE",
|
|
86
|
+
* // profile: "STRING_VALUE",
|
|
78
87
|
* // },
|
|
79
88
|
* // audio: { // AudioConfiguration
|
|
80
89
|
* // codec: "STRING_VALUE",
|
|
81
90
|
* // targetBitrate: Number("long"),
|
|
82
91
|
* // sampleRate: Number("long"),
|
|
83
92
|
* // channels: Number("long"),
|
|
93
|
+
* // track: "STRING_VALUE",
|
|
84
94
|
* // },
|
|
85
95
|
* // },
|
|
96
|
+
* // ingestConfigurations: { // IngestConfigurations
|
|
97
|
+
* // videoConfigurations: [ // VideoConfigurationList // required
|
|
98
|
+
* // {
|
|
99
|
+
* // avcProfile: "STRING_VALUE",
|
|
100
|
+
* // avcLevel: "STRING_VALUE",
|
|
101
|
+
* // codec: "STRING_VALUE",
|
|
102
|
+
* // encoder: "STRING_VALUE",
|
|
103
|
+
* // targetBitrate: Number("long"),
|
|
104
|
+
* // targetFramerate: Number("long"),
|
|
105
|
+
* // videoHeight: Number("long"),
|
|
106
|
+
* // videoWidth: Number("long"),
|
|
107
|
+
* // level: "STRING_VALUE",
|
|
108
|
+
* // track: "STRING_VALUE",
|
|
109
|
+
* // profile: "STRING_VALUE",
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
112
|
+
* // audioConfigurations: [ // AudioConfigurationList // required
|
|
113
|
+
* // {
|
|
114
|
+
* // codec: "STRING_VALUE",
|
|
115
|
+
* // targetBitrate: Number("long"),
|
|
116
|
+
* // sampleRate: Number("long"),
|
|
117
|
+
* // channels: Number("long"),
|
|
118
|
+
* // track: "STRING_VALUE",
|
|
119
|
+
* // },
|
|
120
|
+
* // ],
|
|
121
|
+
* // },
|
|
86
122
|
* // recordingConfiguration: { // RecordingConfiguration
|
|
87
123
|
* // arn: "STRING_VALUE", // required
|
|
88
124
|
* // name: "STRING_VALUE",
|
|
@@ -46,6 +46,12 @@ declare const UpdateChannelCommand_base: {
|
|
|
46
46
|
* insecureIngest: true || false,
|
|
47
47
|
* preset: "HIGHER_BANDWIDTH_DELIVERY" || "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
48
48
|
* playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
49
|
+
* multitrackInputConfiguration: { // MultitrackInputConfiguration
|
|
50
|
+
* enabled: true || false,
|
|
51
|
+
* policy: "ALLOW" || "REQUIRE",
|
|
52
|
+
* maximumResolution: "SD" || "HD" || "FULL_HD",
|
|
53
|
+
* },
|
|
54
|
+
* containerFormat: "STRING_VALUE",
|
|
49
55
|
* };
|
|
50
56
|
* const command = new UpdateChannelCommand(input);
|
|
51
57
|
* const response = await client.send(command);
|
|
@@ -69,6 +75,12 @@ declare const UpdateChannelCommand_base: {
|
|
|
69
75
|
* // passphrase: "STRING_VALUE",
|
|
70
76
|
* // },
|
|
71
77
|
* // playbackRestrictionPolicyArn: "STRING_VALUE",
|
|
78
|
+
* // multitrackInputConfiguration: { // MultitrackInputConfiguration
|
|
79
|
+
* // enabled: true || false,
|
|
80
|
+
* // policy: "ALLOW" || "REQUIRE",
|
|
81
|
+
* // maximumResolution: "SD" || "HD" || "FULL_HD",
|
|
82
|
+
* // },
|
|
83
|
+
* // containerFormat: "STRING_VALUE",
|
|
72
84
|
* // },
|
|
73
85
|
* // };
|
|
74
86
|
*
|