@aws-sdk/client-ivs 3.301.0 → 3.303.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 CHANGED
@@ -56,12 +56,14 @@ History</a>.</p>
56
56
  Amazon IVS</a>):</p>
57
57
  <ul>
58
58
  <li>
59
- <p>Channel — Stores configuration data related to your live stream. You first create a
59
+ <p>
60
+ <b>Channel</b> — Stores configuration data related to your live stream. You first create a
60
61
  channel and then use the channel’s stream key to start your live stream. See the Channel
61
62
  endpoints for more information. </p>
62
63
  </li>
63
64
  <li>
64
- <p>Stream key — An identifier assigned by Amazon IVS when you create a channel, which is
65
+ <p>
66
+ <b>Stream key</b> — An identifier assigned by Amazon IVS when you create a channel, which is
65
67
  then used to authorize streaming. See the StreamKey endpoints for more information.
66
68
  <i>
67
69
  <b>Treat the stream key like a secret, since it allows
@@ -70,13 +72,15 @@ anyone to stream to the channel.</b>
70
72
  </p>
71
73
  </li>
72
74
  <li>
73
- <p>Playback key pair — Video playback may be restricted using playback-authorization
75
+ <p>
76
+ <b>Playback key pair</b> — Video playback may be restricted using playback-authorization
74
77
  tokens, which use public-key encryption. A playback key pair is the public-private pair of
75
78
  keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair
76
79
  endpoints for more information.</p>
77
80
  </li>
78
81
  <li>
79
- <p>Recording configuration — Stores configuration related to recording a live stream and
82
+ <p>
83
+ <b>Recording configuration</b> — Stores configuration related to recording a live stream and
80
84
  where to store the recorded content. Multiple channels can reference the same recording
81
85
  configuration. See the Recording Configuration endpoints for more information.</p>
82
86
  </li>
@@ -17,16 +17,14 @@ class AccessDeniedException extends IvsServiceException_1.IvsServiceException {
17
17
  }
18
18
  }
19
19
  exports.AccessDeniedException = AccessDeniedException;
20
- var ChannelLatencyMode;
21
- (function (ChannelLatencyMode) {
22
- ChannelLatencyMode["LowLatency"] = "LOW";
23
- ChannelLatencyMode["NormalLatency"] = "NORMAL";
24
- })(ChannelLatencyMode = exports.ChannelLatencyMode || (exports.ChannelLatencyMode = {}));
25
- var ChannelType;
26
- (function (ChannelType) {
27
- ChannelType["BasicChannelType"] = "BASIC";
28
- ChannelType["StandardChannelType"] = "STANDARD";
29
- })(ChannelType = exports.ChannelType || (exports.ChannelType = {}));
20
+ exports.ChannelLatencyMode = {
21
+ LowLatency: "LOW",
22
+ NormalLatency: "NORMAL",
23
+ };
24
+ exports.ChannelType = {
25
+ BasicChannelType: "BASIC",
26
+ StandardChannelType: "STANDARD",
27
+ };
30
28
  class PendingVerification extends IvsServiceException_1.IvsServiceException {
31
29
  constructor(opts) {
32
30
  super({
@@ -97,17 +95,15 @@ class ConflictException extends IvsServiceException_1.IvsServiceException {
97
95
  }
98
96
  }
99
97
  exports.ConflictException = ConflictException;
100
- var RecordingMode;
101
- (function (RecordingMode) {
102
- RecordingMode["Disabled"] = "DISABLED";
103
- RecordingMode["Interval"] = "INTERVAL";
104
- })(RecordingMode = exports.RecordingMode || (exports.RecordingMode = {}));
105
- var RecordingConfigurationState;
106
- (function (RecordingConfigurationState) {
107
- RecordingConfigurationState["Active"] = "ACTIVE";
108
- RecordingConfigurationState["CreateFailed"] = "CREATE_FAILED";
109
- RecordingConfigurationState["Creating"] = "CREATING";
110
- })(RecordingConfigurationState = exports.RecordingConfigurationState || (exports.RecordingConfigurationState = {}));
98
+ exports.RecordingMode = {
99
+ Disabled: "DISABLED",
100
+ Interval: "INTERVAL",
101
+ };
102
+ exports.RecordingConfigurationState = {
103
+ Active: "ACTIVE",
104
+ CreateFailed: "CREATE_FAILED",
105
+ Creating: "CREATING",
106
+ };
111
107
  class InternalServerException extends IvsServiceException_1.IvsServiceException {
112
108
  constructor(opts) {
113
109
  super({
@@ -136,17 +132,15 @@ class ChannelNotBroadcasting extends IvsServiceException_1.IvsServiceException {
136
132
  }
137
133
  }
138
134
  exports.ChannelNotBroadcasting = ChannelNotBroadcasting;
139
- var StreamHealth;
140
- (function (StreamHealth) {
141
- StreamHealth["Starving"] = "STARVING";
142
- StreamHealth["StreamHealthy"] = "HEALTHY";
143
- StreamHealth["Unknown"] = "UNKNOWN";
144
- })(StreamHealth = exports.StreamHealth || (exports.StreamHealth = {}));
145
- var StreamState;
146
- (function (StreamState) {
147
- StreamState["StreamLive"] = "LIVE";
148
- StreamState["StreamOffline"] = "OFFLINE";
149
- })(StreamState = exports.StreamState || (exports.StreamState = {}));
135
+ exports.StreamHealth = {
136
+ Starving: "STARVING",
137
+ StreamHealthy: "HEALTHY",
138
+ Unknown: "UNKNOWN",
139
+ };
140
+ exports.StreamState = {
141
+ StreamLive: "LIVE",
142
+ StreamOffline: "OFFLINE",
143
+ };
150
144
  class ThrottlingException extends IvsServiceException_1.IvsServiceException {
151
145
  constructor(opts) {
152
146
  super({
@@ -57,6 +57,7 @@ const serializeAws_restJson1CreateChannelCommand = async (input, context) => {
57
57
  let body;
58
58
  body = JSON.stringify({
59
59
  ...(input.authorized != null && { authorized: input.authorized }),
60
+ ...(input.insecureIngest != null && { insecureIngest: input.insecureIngest }),
60
61
  ...(input.latencyMode != null && { latencyMode: input.latencyMode }),
61
62
  ...(input.name != null && { name: input.name }),
62
63
  ...(input.recordingConfigurationArn != null && { recordingConfigurationArn: input.recordingConfigurationArn }),
@@ -616,6 +617,7 @@ const serializeAws_restJson1UpdateChannelCommand = async (input, context) => {
616
617
  body = JSON.stringify({
617
618
  ...(input.arn != null && { arn: input.arn }),
618
619
  ...(input.authorized != null && { authorized: input.authorized }),
620
+ ...(input.insecureIngest != null && { insecureIngest: input.insecureIngest }),
619
621
  ...(input.latencyMode != null && { latencyMode: input.latencyMode }),
620
622
  ...(input.name != null && { name: input.name }),
621
623
  ...(input.recordingConfigurationArn != null && { recordingConfigurationArn: input.recordingConfigurationArn }),
@@ -1990,6 +1992,7 @@ const deserializeAws_restJson1Channel = (output, context) => {
1990
1992
  arn: (0, smithy_client_1.expectString)(output.arn),
1991
1993
  authorized: (0, smithy_client_1.expectBoolean)(output.authorized),
1992
1994
  ingestEndpoint: (0, smithy_client_1.expectString)(output.ingestEndpoint),
1995
+ insecureIngest: (0, smithy_client_1.expectBoolean)(output.insecureIngest),
1993
1996
  latencyMode: (0, smithy_client_1.expectString)(output.latencyMode),
1994
1997
  name: (0, smithy_client_1.expectString)(output.name),
1995
1998
  playbackUrl: (0, smithy_client_1.expectString)(output.playbackUrl),
@@ -2024,6 +2027,7 @@ const deserializeAws_restJson1ChannelSummary = (output, context) => {
2024
2027
  return {
2025
2028
  arn: (0, smithy_client_1.expectString)(output.arn),
2026
2029
  authorized: (0, smithy_client_1.expectBoolean)(output.authorized),
2030
+ insecureIngest: (0, smithy_client_1.expectBoolean)(output.insecureIngest),
2027
2031
  latencyMode: (0, smithy_client_1.expectString)(output.latencyMode),
2028
2032
  name: (0, smithy_client_1.expectString)(output.name),
2029
2033
  recordingConfigurationArn: (0, smithy_client_1.expectString)(output.recordingConfigurationArn),
@@ -13,16 +13,14 @@ export class AccessDeniedException extends __BaseException {
13
13
  this.exceptionMessage = opts.exceptionMessage;
14
14
  }
15
15
  }
16
- export var ChannelLatencyMode;
17
- (function (ChannelLatencyMode) {
18
- ChannelLatencyMode["LowLatency"] = "LOW";
19
- ChannelLatencyMode["NormalLatency"] = "NORMAL";
20
- })(ChannelLatencyMode || (ChannelLatencyMode = {}));
21
- export var ChannelType;
22
- (function (ChannelType) {
23
- ChannelType["BasicChannelType"] = "BASIC";
24
- ChannelType["StandardChannelType"] = "STANDARD";
25
- })(ChannelType || (ChannelType = {}));
16
+ export const ChannelLatencyMode = {
17
+ LowLatency: "LOW",
18
+ NormalLatency: "NORMAL",
19
+ };
20
+ export const ChannelType = {
21
+ BasicChannelType: "BASIC",
22
+ StandardChannelType: "STANDARD",
23
+ };
26
24
  export class PendingVerification extends __BaseException {
27
25
  constructor(opts) {
28
26
  super({
@@ -88,17 +86,15 @@ export class ConflictException extends __BaseException {
88
86
  this.exceptionMessage = opts.exceptionMessage;
89
87
  }
90
88
  }
91
- export var RecordingMode;
92
- (function (RecordingMode) {
93
- RecordingMode["Disabled"] = "DISABLED";
94
- RecordingMode["Interval"] = "INTERVAL";
95
- })(RecordingMode || (RecordingMode = {}));
96
- export var RecordingConfigurationState;
97
- (function (RecordingConfigurationState) {
98
- RecordingConfigurationState["Active"] = "ACTIVE";
99
- RecordingConfigurationState["CreateFailed"] = "CREATE_FAILED";
100
- RecordingConfigurationState["Creating"] = "CREATING";
101
- })(RecordingConfigurationState || (RecordingConfigurationState = {}));
89
+ export const RecordingMode = {
90
+ Disabled: "DISABLED",
91
+ Interval: "INTERVAL",
92
+ };
93
+ export const RecordingConfigurationState = {
94
+ Active: "ACTIVE",
95
+ CreateFailed: "CREATE_FAILED",
96
+ Creating: "CREATING",
97
+ };
102
98
  export class InternalServerException extends __BaseException {
103
99
  constructor(opts) {
104
100
  super({
@@ -125,17 +121,15 @@ export class ChannelNotBroadcasting extends __BaseException {
125
121
  this.exceptionMessage = opts.exceptionMessage;
126
122
  }
127
123
  }
128
- export var StreamHealth;
129
- (function (StreamHealth) {
130
- StreamHealth["Starving"] = "STARVING";
131
- StreamHealth["StreamHealthy"] = "HEALTHY";
132
- StreamHealth["Unknown"] = "UNKNOWN";
133
- })(StreamHealth || (StreamHealth = {}));
134
- export var StreamState;
135
- (function (StreamState) {
136
- StreamState["StreamLive"] = "LIVE";
137
- StreamState["StreamOffline"] = "OFFLINE";
138
- })(StreamState || (StreamState = {}));
124
+ export const StreamHealth = {
125
+ Starving: "STARVING",
126
+ StreamHealthy: "HEALTHY",
127
+ Unknown: "UNKNOWN",
128
+ };
129
+ export const StreamState = {
130
+ StreamLive: "LIVE",
131
+ StreamOffline: "OFFLINE",
132
+ };
139
133
  export class ThrottlingException extends __BaseException {
140
134
  constructor(opts) {
141
135
  super({
@@ -51,6 +51,7 @@ export const serializeAws_restJson1CreateChannelCommand = async (input, context)
51
51
  let body;
52
52
  body = JSON.stringify({
53
53
  ...(input.authorized != null && { authorized: input.authorized }),
54
+ ...(input.insecureIngest != null && { insecureIngest: input.insecureIngest }),
54
55
  ...(input.latencyMode != null && { latencyMode: input.latencyMode }),
55
56
  ...(input.name != null && { name: input.name }),
56
57
  ...(input.recordingConfigurationArn != null && { recordingConfigurationArn: input.recordingConfigurationArn }),
@@ -585,6 +586,7 @@ export const serializeAws_restJson1UpdateChannelCommand = async (input, context)
585
586
  body = JSON.stringify({
586
587
  ...(input.arn != null && { arn: input.arn }),
587
588
  ...(input.authorized != null && { authorized: input.authorized }),
589
+ ...(input.insecureIngest != null && { insecureIngest: input.insecureIngest }),
588
590
  ...(input.latencyMode != null && { latencyMode: input.latencyMode }),
589
591
  ...(input.name != null && { name: input.name }),
590
592
  ...(input.recordingConfigurationArn != null && { recordingConfigurationArn: input.recordingConfigurationArn }),
@@ -1930,6 +1932,7 @@ const deserializeAws_restJson1Channel = (output, context) => {
1930
1932
  arn: __expectString(output.arn),
1931
1933
  authorized: __expectBoolean(output.authorized),
1932
1934
  ingestEndpoint: __expectString(output.ingestEndpoint),
1935
+ insecureIngest: __expectBoolean(output.insecureIngest),
1933
1936
  latencyMode: __expectString(output.latencyMode),
1934
1937
  name: __expectString(output.name),
1935
1938
  playbackUrl: __expectString(output.playbackUrl),
@@ -1964,6 +1967,7 @@ const deserializeAws_restJson1ChannelSummary = (output, context) => {
1964
1967
  return {
1965
1968
  arn: __expectString(output.arn),
1966
1969
  authorized: __expectBoolean(output.authorized),
1970
+ insecureIngest: __expectBoolean(output.insecureIngest),
1967
1971
  latencyMode: __expectString(output.latencyMode),
1968
1972
  name: __expectString(output.name),
1969
1973
  recordingConfigurationArn: __expectString(output.recordingConfigurationArn),
@@ -77,12 +77,14 @@ import { IvsClient } from "./IvsClient";
77
77
  * Amazon IVS</a>):</p>
78
78
  * <ul>
79
79
  * <li>
80
- * <p>Channel — Stores configuration data related to your live stream. You first create a
80
+ * <p>
81
+ * <b>Channel</b> — Stores configuration data related to your live stream. You first create a
81
82
  * channel and then use the channel’s stream key to start your live stream. See the Channel
82
83
  * endpoints for more information. </p>
83
84
  * </li>
84
85
  * <li>
85
- * <p>Stream key — An identifier assigned by Amazon IVS when you create a channel, which is
86
+ * <p>
87
+ * <b>Stream key</b> — An identifier assigned by Amazon IVS when you create a channel, which is
86
88
  * then used to authorize streaming. See the StreamKey endpoints for more information.
87
89
  * <i>
88
90
  * <b>Treat the stream key like a secret, since it allows
@@ -91,13 +93,15 @@ import { IvsClient } from "./IvsClient";
91
93
  * </p>
92
94
  * </li>
93
95
  * <li>
94
- * <p>Playback key pair — Video playback may be restricted using playback-authorization
96
+ * <p>
97
+ * <b>Playback key pair</b> — Video playback may be restricted using playback-authorization
95
98
  * tokens, which use public-key encryption. A playback key pair is the public-private pair of
96
99
  * keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair
97
100
  * endpoints for more information.</p>
98
101
  * </li>
99
102
  * <li>
100
- * <p>Recording configuration — Stores configuration related to recording a live stream and
103
+ * <p>
104
+ * <b>Recording configuration</b> — Stores configuration related to recording a live stream and
101
105
  * where to store the recorded content. Multiple channels can reference the same recording
102
106
  * configuration. See the Recording Configuration endpoints for more information.</p>
103
107
  * </li>
@@ -218,12 +218,14 @@ export interface IvsClientResolvedConfig extends IvsClientResolvedConfigType {
218
218
  * Amazon IVS</a>):</p>
219
219
  * <ul>
220
220
  * <li>
221
- * <p>Channel — Stores configuration data related to your live stream. You first create a
221
+ * <p>
222
+ * <b>Channel</b> — Stores configuration data related to your live stream. You first create a
222
223
  * channel and then use the channel’s stream key to start your live stream. See the Channel
223
224
  * endpoints for more information. </p>
224
225
  * </li>
225
226
  * <li>
226
- * <p>Stream key — An identifier assigned by Amazon IVS when you create a channel, which is
227
+ * <p>
228
+ * <b>Stream key</b> — An identifier assigned by Amazon IVS when you create a channel, which is
227
229
  * then used to authorize streaming. See the StreamKey endpoints for more information.
228
230
  * <i>
229
231
  * <b>Treat the stream key like a secret, since it allows
@@ -232,13 +234,15 @@ export interface IvsClientResolvedConfig extends IvsClientResolvedConfigType {
232
234
  * </p>
233
235
  * </li>
234
236
  * <li>
235
- * <p>Playback key pair — Video playback may be restricted using playback-authorization
237
+ * <p>
238
+ * <b>Playback key pair</b> — Video playback may be restricted using playback-authorization
236
239
  * tokens, which use public-key encryption. A playback key pair is the public-private pair of
237
240
  * keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair
238
241
  * endpoints for more information.</p>
239
242
  * </li>
240
243
  * <li>
241
- * <p>Recording configuration — Stores configuration related to recording a live stream and
244
+ * <p>
245
+ * <b>Recording configuration</b> — Stores configuration related to recording a live stream and
242
246
  * where to store the recorded content. Multiple channels can reference the same recording
243
247
  * configuration. See the Recording Configuration endpoints for more information.</p>
244
248
  * </li>
@@ -35,6 +35,7 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
35
35
  * tags: { // Tags
36
36
  * "<keys>": "STRING_VALUE",
37
37
  * },
38
+ * insecureIngest: true || false,
38
39
  * };
39
40
  * const command = new CreateChannelCommand(input);
40
41
  * const response = await client.send(command);
@@ -34,6 +34,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
34
34
  * type: "BASIC" || "STANDARD",
35
35
  * authorized: true || false,
36
36
  * recordingConfigurationArn: "STRING_VALUE",
37
+ * insecureIngest: true || false,
37
38
  * };
38
39
  * const command = new UpdateChannelCommand(input);
39
40
  * const response = await client.send(command);
@@ -27,18 +27,28 @@ export interface BatchGetChannelRequest {
27
27
  }
28
28
  /**
29
29
  * @public
30
+ * @enum
30
31
  */
31
- export declare enum ChannelLatencyMode {
32
- LowLatency = "LOW",
33
- NormalLatency = "NORMAL"
34
- }
32
+ export declare const ChannelLatencyMode: {
33
+ readonly LowLatency: "LOW";
34
+ readonly NormalLatency: "NORMAL";
35
+ };
35
36
  /**
36
37
  * @public
37
38
  */
38
- export declare enum ChannelType {
39
- BasicChannelType = "BASIC",
40
- StandardChannelType = "STANDARD"
41
- }
39
+ export type ChannelLatencyMode = (typeof ChannelLatencyMode)[keyof typeof ChannelLatencyMode];
40
+ /**
41
+ * @public
42
+ * @enum
43
+ */
44
+ export declare const ChannelType: {
45
+ readonly BasicChannelType: "BASIC";
46
+ readonly StandardChannelType: "STANDARD";
47
+ };
48
+ /**
49
+ * @public
50
+ */
51
+ export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
42
52
  /**
43
53
  * @public
44
54
  * <p>Object specifying a channel.</p>
@@ -109,6 +119,10 @@ export interface Channel {
109
119
  * service-specific constraints beyond what is documented there.</p>
110
120
  */
111
121
  tags?: Record<string, string>;
122
+ /**
123
+ * <p>Whether the channel allows insecure RTMP ingest. Default: <code>false</code>.</p>
124
+ */
125
+ insecureIngest?: boolean;
112
126
  }
113
127
  /**
114
128
  * @public
@@ -243,6 +257,10 @@ export interface CreateChannelRequest {
243
257
  * there.</p>
244
258
  */
245
259
  tags?: Record<string, string>;
260
+ /**
261
+ * <p>Whether the channel allows insecure RTMP ingest. Default: <code>false</code>.</p>
262
+ */
263
+ insecureIngest?: boolean;
246
264
  }
247
265
  /**
248
266
  * @public
@@ -361,11 +379,16 @@ export interface DestinationConfiguration {
361
379
  }
362
380
  /**
363
381
  * @public
382
+ * @enum
364
383
  */
365
- export declare enum RecordingMode {
366
- Disabled = "DISABLED",
367
- Interval = "INTERVAL"
368
- }
384
+ export declare const RecordingMode: {
385
+ readonly Disabled: "DISABLED";
386
+ readonly Interval: "INTERVAL";
387
+ };
388
+ /**
389
+ * @public
390
+ */
391
+ export type RecordingMode = (typeof RecordingMode)[keyof typeof RecordingMode];
369
392
  /**
370
393
  * @public
371
394
  * <p>An object representing a configuration of thumbnails for recorded video.</p>
@@ -422,12 +445,17 @@ export interface CreateRecordingConfigurationRequest {
422
445
  }
423
446
  /**
424
447
  * @public
448
+ * @enum
425
449
  */
426
- export declare enum RecordingConfigurationState {
427
- Active = "ACTIVE",
428
- CreateFailed = "CREATE_FAILED",
429
- Creating = "CREATING"
430
- }
450
+ export declare const RecordingConfigurationState: {
451
+ readonly Active: "ACTIVE";
452
+ readonly CreateFailed: "CREATE_FAILED";
453
+ readonly Creating: "CREATING";
454
+ };
455
+ /**
456
+ * @public
457
+ */
458
+ export type RecordingConfigurationState = (typeof RecordingConfigurationState)[keyof typeof RecordingConfigurationState];
431
459
  /**
432
460
  * @public
433
461
  * <p>An object representing a configuration to record a channel stream.</p>
@@ -665,19 +693,29 @@ export interface GetStreamRequest {
665
693
  }
666
694
  /**
667
695
  * @public
696
+ * @enum
668
697
  */
669
- export declare enum StreamHealth {
670
- Starving = "STARVING",
671
- StreamHealthy = "HEALTHY",
672
- Unknown = "UNKNOWN"
673
- }
698
+ export declare const StreamHealth: {
699
+ readonly Starving: "STARVING";
700
+ readonly StreamHealthy: "HEALTHY";
701
+ readonly Unknown: "UNKNOWN";
702
+ };
674
703
  /**
675
704
  * @public
676
705
  */
677
- export declare enum StreamState {
678
- StreamLive = "LIVE",
679
- StreamOffline = "OFFLINE"
680
- }
706
+ export type StreamHealth = (typeof StreamHealth)[keyof typeof StreamHealth];
707
+ /**
708
+ * @public
709
+ * @enum
710
+ */
711
+ export declare const StreamState: {
712
+ readonly StreamLive: "LIVE";
713
+ readonly StreamOffline: "OFFLINE";
714
+ };
715
+ /**
716
+ * @public
717
+ */
718
+ export type StreamState = (typeof StreamState)[keyof typeof StreamState];
681
719
  /**
682
720
  * @public
683
721
  * <p>Specifies a live video stream that has been ingested and distributed.</p>
@@ -998,6 +1036,10 @@ export interface ChannelSummary {
998
1036
  * service-specific constraints beyond what is documented there.</p>
999
1037
  */
1000
1038
  tags?: Record<string, string>;
1039
+ /**
1040
+ * <p>Whether the channel allows insecure RTMP ingest. Default: <code>false</code>.</p>
1041
+ */
1042
+ insecureIngest?: boolean;
1001
1043
  }
1002
1044
  /**
1003
1045
  * @public
@@ -1481,6 +1523,10 @@ export interface UpdateChannelRequest {
1481
1523
  * value other than an empty string indicates that recording is enabled</p>
1482
1524
  */
1483
1525
  recordingConfigurationArn?: string;
1526
+ /**
1527
+ * <p>Whether the channel allows insecure RTMP ingest. Default: <code>false</code>.</p>
1528
+ */
1529
+ insecureIngest?: boolean;
1484
1530
  }
1485
1531
  /**
1486
1532
  * @public
@@ -11,14 +11,17 @@ export declare class AccessDeniedException extends __BaseException {
11
11
  export interface BatchGetChannelRequest {
12
12
  arns: string[] | undefined;
13
13
  }
14
- export declare enum ChannelLatencyMode {
15
- LowLatency = "LOW",
16
- NormalLatency = "NORMAL",
17
- }
18
- export declare enum ChannelType {
19
- BasicChannelType = "BASIC",
20
- StandardChannelType = "STANDARD",
21
- }
14
+ export declare const ChannelLatencyMode: {
15
+ readonly LowLatency: "LOW";
16
+ readonly NormalLatency: "NORMAL";
17
+ };
18
+ export type ChannelLatencyMode =
19
+ (typeof ChannelLatencyMode)[keyof typeof ChannelLatencyMode];
20
+ export declare const ChannelType: {
21
+ readonly BasicChannelType: "BASIC";
22
+ readonly StandardChannelType: "STANDARD";
23
+ };
24
+ export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
22
25
  export interface Channel {
23
26
  arn?: string;
24
27
  name?: string;
@@ -29,6 +32,7 @@ export interface Channel {
29
32
  playbackUrl?: string;
30
33
  authorized?: boolean;
31
34
  tags?: Record<string, string>;
35
+ insecureIngest?: boolean;
32
36
  }
33
37
  export interface BatchError {
34
38
  arn?: string;
@@ -59,6 +63,7 @@ export interface CreateChannelRequest {
59
63
  authorized?: boolean;
60
64
  recordingConfigurationArn?: string;
61
65
  tags?: Record<string, string>;
66
+ insecureIngest?: boolean;
62
67
  }
63
68
  export interface CreateChannelResponse {
64
69
  channel?: Channel;
@@ -108,10 +113,11 @@ export interface S3DestinationConfiguration {
108
113
  export interface DestinationConfiguration {
109
114
  s3?: S3DestinationConfiguration;
110
115
  }
111
- export declare enum RecordingMode {
112
- Disabled = "DISABLED",
113
- Interval = "INTERVAL",
114
- }
116
+ export declare const RecordingMode: {
117
+ readonly Disabled: "DISABLED";
118
+ readonly Interval: "INTERVAL";
119
+ };
120
+ export type RecordingMode = (typeof RecordingMode)[keyof typeof RecordingMode];
115
121
  export interface ThumbnailConfiguration {
116
122
  recordingMode?: RecordingMode | string;
117
123
  targetIntervalSeconds?: number;
@@ -123,11 +129,13 @@ export interface CreateRecordingConfigurationRequest {
123
129
  thumbnailConfiguration?: ThumbnailConfiguration;
124
130
  recordingReconnectWindowSeconds?: number;
125
131
  }
126
- export declare enum RecordingConfigurationState {
127
- Active = "ACTIVE",
128
- CreateFailed = "CREATE_FAILED",
129
- Creating = "CREATING",
130
- }
132
+ export declare const RecordingConfigurationState: {
133
+ readonly Active: "ACTIVE";
134
+ readonly CreateFailed: "CREATE_FAILED";
135
+ readonly Creating: "CREATING";
136
+ };
137
+ export type RecordingConfigurationState =
138
+ (typeof RecordingConfigurationState)[keyof typeof RecordingConfigurationState];
131
139
  export interface RecordingConfiguration {
132
140
  arn: string | undefined;
133
141
  name?: string;
@@ -203,15 +211,17 @@ export declare class ChannelNotBroadcasting extends __BaseException {
203
211
  export interface GetStreamRequest {
204
212
  channelArn: string | undefined;
205
213
  }
206
- export declare enum StreamHealth {
207
- Starving = "STARVING",
208
- StreamHealthy = "HEALTHY",
209
- Unknown = "UNKNOWN",
210
- }
211
- export declare enum StreamState {
212
- StreamLive = "LIVE",
213
- StreamOffline = "OFFLINE",
214
- }
214
+ export declare const StreamHealth: {
215
+ readonly Starving: "STARVING";
216
+ readonly StreamHealthy: "HEALTHY";
217
+ readonly Unknown: "UNKNOWN";
218
+ };
219
+ export type StreamHealth = (typeof StreamHealth)[keyof typeof StreamHealth];
220
+ export declare const StreamState: {
221
+ readonly StreamLive: "LIVE";
222
+ readonly StreamOffline: "OFFLINE";
223
+ };
224
+ export type StreamState = (typeof StreamState)[keyof typeof StreamState];
215
225
  export interface _Stream {
216
226
  channelArn?: string;
217
227
  streamId?: string;
@@ -292,6 +302,7 @@ export interface ChannelSummary {
292
302
  authorized?: boolean;
293
303
  recordingConfigurationArn?: string;
294
304
  tags?: Record<string, string>;
305
+ insecureIngest?: boolean;
295
306
  }
296
307
  export interface ListChannelsResponse {
297
308
  channels: ChannelSummary[] | undefined;
@@ -419,6 +430,7 @@ export interface UpdateChannelRequest {
419
430
  type?: ChannelType | string;
420
431
  authorized?: boolean;
421
432
  recordingConfigurationArn?: string;
433
+ insecureIngest?: boolean;
422
434
  }
423
435
  export interface UpdateChannelResponse {
424
436
  channel?: Channel;
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.301.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",