@aws-sdk/client-ivs 3.428.0 → 3.429.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.
@@ -87,14 +87,14 @@ export interface Channel {
87
87
  * <code>LOW</code>. (Note: In the Amazon IVS console, <code>LOW</code> and <code>NORMAL</code>
88
88
  * correspond to Ultra-low and Standard, respectively.)</p>
89
89
  */
90
- latencyMode?: ChannelLatencyMode | string;
90
+ latencyMode?: ChannelLatencyMode;
91
91
  /**
92
92
  * @public
93
93
  * <p>Channel type, which determines the allowable resolution and bitrate. <i>If you
94
94
  * exceed the allowable input resolution or bitrate, the stream probably will disconnect
95
95
  * immediately.</i> Default: <code>STANDARD</code>. For details, see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html">Channel Types</a>.</p>
96
96
  */
97
- type?: ChannelType | string;
97
+ type?: ChannelType;
98
98
  /**
99
99
  * @public
100
100
  * <p>Recording-configuration ARN. A value other than an empty string indicates that recording
@@ -139,7 +139,7 @@ export interface Channel {
139
139
  * channel types (<code>BASIC</code> and <code>STANDARD</code>), <code>preset</code> is the empty
140
140
  * string (<code>""</code>).</p>
141
141
  */
142
- preset?: TranscodePreset | string;
142
+ preset?: TranscodePreset;
143
143
  }
144
144
  /**
145
145
  * @public
@@ -369,14 +369,14 @@ export interface CreateChannelRequest {
369
369
  * Amazon IVS console, <code>LOW</code> and <code>NORMAL</code> correspond to Ultra-low and
370
370
  * Standard, respectively.) Default: <code>LOW</code>.</p>
371
371
  */
372
- latencyMode?: ChannelLatencyMode | string;
372
+ latencyMode?: ChannelLatencyMode;
373
373
  /**
374
374
  * @public
375
375
  * <p>Channel type, which determines the allowable resolution and bitrate. <i>If you
376
376
  * exceed the allowable input resolution or bitrate, the stream probably will disconnect
377
377
  * immediately.</i> Default: <code>STANDARD</code>. For details, see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html">Channel Types</a>.</p>
378
378
  */
379
- type?: ChannelType | string;
379
+ type?: ChannelType;
380
380
  /**
381
381
  * @public
382
382
  * <p>Whether the channel is private (enabled for playback authorization). Default:
@@ -409,7 +409,7 @@ export interface CreateChannelRequest {
409
409
  * channel types (<code>BASIC</code> and <code>STANDARD</code>), <code>preset</code> is the empty
410
410
  * string (<code>""</code>).</p>
411
411
  */
412
- preset?: TranscodePreset | string;
412
+ preset?: TranscodePreset;
413
413
  }
414
414
  /**
415
415
  * @public
@@ -540,7 +540,7 @@ export interface RenditionConfiguration {
540
540
  * set of renditions must be specified in the <code>renditions</code> field. Default:
541
541
  * <code>ALL</code>.</p>
542
542
  */
543
- renditionSelection?: RenditionConfigurationRenditionSelection | string;
543
+ renditionSelection?: RenditionConfigurationRenditionSelection;
544
544
  /**
545
545
  * @public
546
546
  * <p>Indicates which renditions are recorded for a stream, if <code>renditionSelection</code>
@@ -549,7 +549,7 @@ export interface RenditionConfiguration {
549
549
  * best available rendition is recorded. For details on the resolution dimensions of each
550
550
  * rendition, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/record-to-s3.html">Auto-Record to Amazon S3</a>.</p>
551
551
  */
552
- renditions?: (RenditionConfigurationRendition | string)[];
552
+ renditions?: RenditionConfigurationRendition[];
553
553
  }
554
554
  /**
555
555
  * @public
@@ -598,7 +598,7 @@ export interface ThumbnailConfiguration {
598
598
  * @public
599
599
  * <p>Thumbnail recording mode. Default: <code>INTERVAL</code>.</p>
600
600
  */
601
- recordingMode?: RecordingMode | string;
601
+ recordingMode?: RecordingMode;
602
602
  /**
603
603
  * @public
604
604
  * <p>The targeted thumbnail-generation interval in seconds. This is configurable (and required)
@@ -621,7 +621,7 @@ export interface ThumbnailConfiguration {
621
621
  * corresponding height and width dimensions, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/record-to-s3.html">Auto-Record to Amazon S3</a>. Default:
622
622
  * Null (source resolution is returned).</p>
623
623
  */
624
- resolution?: ThumbnailConfigurationResolution | string;
624
+ resolution?: ThumbnailConfigurationResolution;
625
625
  /**
626
626
  * @public
627
627
  * <p>Indicates the format in which thumbnails are recorded. <code>SEQUENTIAL</code> records all
@@ -630,7 +630,7 @@ export interface ThumbnailConfiguration {
630
630
  * overwrites it at the interval specified by <code>targetIntervalSeconds</code>. You can enable
631
631
  * both <code>SEQUENTIAL</code> and <code>LATEST</code>. Default: <code>SEQUENTIAL</code>.</p>
632
632
  */
633
- storage?: (ThumbnailConfigurationStorage | string)[];
633
+ storage?: ThumbnailConfigurationStorage[];
634
634
  }
635
635
  /**
636
636
  * @public
@@ -711,7 +711,7 @@ export interface RecordingConfiguration {
711
711
  * <p>Indicates the current state of the recording configuration. When the state is
712
712
  * <code>ACTIVE</code>, the configuration is ready for recording a channel stream.</p>
713
713
  */
714
- state: RecordingConfigurationState | string | undefined;
714
+ state: RecordingConfigurationState | undefined;
715
715
  /**
716
716
  * @public
717
717
  * <p>Tags attached to the resource. Array of 1-50 maps, each of the form <code>string:string
@@ -1011,12 +1011,12 @@ export interface _Stream {
1011
1011
  * return it; instead, a "NotBroadcasting" error will indicate that the stream is not
1012
1012
  * live.</p>
1013
1013
  */
1014
- state?: StreamState | string;
1014
+ state?: StreamState;
1015
1015
  /**
1016
1016
  * @public
1017
1017
  * <p>The stream’s health.</p>
1018
1018
  */
1019
- health?: StreamHealth | string;
1019
+ health?: StreamHealth;
1020
1020
  /**
1021
1021
  * @public
1022
1022
  * <p>A count of concurrent views of the stream. Typically, a new view appears in
@@ -1329,7 +1329,7 @@ export interface ChannelSummary {
1329
1329
  * <code>LOW</code>. (Note: In the Amazon IVS console, <code>LOW</code> and <code>NORMAL</code>
1330
1330
  * correspond to Ultra-low and Standard, respectively.)</p>
1331
1331
  */
1332
- latencyMode?: ChannelLatencyMode | string;
1332
+ latencyMode?: ChannelLatencyMode;
1333
1333
  /**
1334
1334
  * @public
1335
1335
  * <p>Whether the channel is private (enabled for playback authorization). Default:
@@ -1361,7 +1361,7 @@ export interface ChannelSummary {
1361
1361
  * exceed the allowable input resolution or bitrate, the stream probably will disconnect
1362
1362
  * immediately.</i> Default: <code>STANDARD</code>. For details, see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html">Channel Types</a>.</p>
1363
1363
  */
1364
- type?: ChannelType | string;
1364
+ type?: ChannelType;
1365
1365
  /**
1366
1366
  * @public
1367
1367
  * <p>Optional transcode preset for the channel. This is selectable only for
@@ -1370,7 +1370,7 @@ export interface ChannelSummary {
1370
1370
  * channel types (<code>BASIC</code> and <code>STANDARD</code>), <code>preset</code> is the empty
1371
1371
  * string (<code>""</code>).</p>
1372
1372
  */
1373
- preset?: TranscodePreset | string;
1373
+ preset?: TranscodePreset;
1374
1374
  }
1375
1375
  /**
1376
1376
  * @public
@@ -1487,7 +1487,7 @@ export interface RecordingConfigurationSummary {
1487
1487
  * <p>Indicates the current state of the recording configuration. When the state is
1488
1488
  * <code>ACTIVE</code>, the configuration is ready for recording a channel stream.</p>
1489
1489
  */
1490
- state: RecordingConfigurationState | string | undefined;
1490
+ state: RecordingConfigurationState | undefined;
1491
1491
  /**
1492
1492
  * @public
1493
1493
  * <p>Tags attached to the resource. Array of 1-50 maps, each of the form <code>string:string
@@ -1583,7 +1583,7 @@ export interface StreamFilters {
1583
1583
  * @public
1584
1584
  * <p>The stream’s health.</p>
1585
1585
  */
1586
- health?: StreamHealth | string;
1586
+ health?: StreamHealth;
1587
1587
  }
1588
1588
  /**
1589
1589
  * @public
@@ -1627,12 +1627,12 @@ export interface StreamSummary {
1627
1627
  * return it; instead, a "NotBroadcasting" error will indicate that the stream is not
1628
1628
  * live.</p>
1629
1629
  */
1630
- state?: StreamState | string;
1630
+ state?: StreamState;
1631
1631
  /**
1632
1632
  * @public
1633
1633
  * <p>The stream’s health.</p>
1634
1634
  */
1635
- health?: StreamHealth | string;
1635
+ health?: StreamHealth;
1636
1636
  /**
1637
1637
  * @public
1638
1638
  * <p>A count of concurrent views of the stream. Typically, a new view appears in
@@ -1893,14 +1893,14 @@ export interface UpdateChannelRequest {
1893
1893
  * Amazon IVS console, <code>LOW</code> and <code>NORMAL</code> correspond to Ultra-low and
1894
1894
  * Standard, respectively.)</p>
1895
1895
  */
1896
- latencyMode?: ChannelLatencyMode | string;
1896
+ latencyMode?: ChannelLatencyMode;
1897
1897
  /**
1898
1898
  * @public
1899
1899
  * <p>Channel type, which determines the allowable resolution and bitrate. <i>If you
1900
1900
  * exceed the allowable input resolution or bitrate, the stream probably will disconnect
1901
1901
  * immediately.</i> Default: <code>STANDARD</code>. For details, see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/channel-types.html">Channel Types</a>.</p>
1902
1902
  */
1903
- type?: ChannelType | string;
1903
+ type?: ChannelType;
1904
1904
  /**
1905
1905
  * @public
1906
1906
  * <p>Whether the channel is private (enabled for playback authorization).</p>
@@ -1925,7 +1925,7 @@ export interface UpdateChannelRequest {
1925
1925
  * channel types (<code>BASIC</code> and <code>STANDARD</code>), <code>preset</code> is the empty
1926
1926
  * string (<code>""</code>).</p>
1927
1927
  */
1928
- preset?: TranscodePreset | string;
1928
+ preset?: TranscodePreset;
1929
1929
  }
1930
1930
  /**
1931
1931
  * @public
@@ -33,15 +33,15 @@ export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
33
33
  export interface Channel {
34
34
  arn?: string;
35
35
  name?: string;
36
- latencyMode?: ChannelLatencyMode | string;
37
- type?: ChannelType | string;
36
+ latencyMode?: ChannelLatencyMode;
37
+ type?: ChannelType;
38
38
  recordingConfigurationArn?: string;
39
39
  ingestEndpoint?: string;
40
40
  playbackUrl?: string;
41
41
  authorized?: boolean;
42
42
  tags?: Record<string, string>;
43
43
  insecureIngest?: boolean;
44
- preset?: TranscodePreset | string;
44
+ preset?: TranscodePreset;
45
45
  }
46
46
  export interface BatchError {
47
47
  arn?: string;
@@ -108,13 +108,13 @@ export declare class ValidationException extends __BaseException {
108
108
  }
109
109
  export interface CreateChannelRequest {
110
110
  name?: string;
111
- latencyMode?: ChannelLatencyMode | string;
112
- type?: ChannelType | string;
111
+ latencyMode?: ChannelLatencyMode;
112
+ type?: ChannelType;
113
113
  authorized?: boolean;
114
114
  recordingConfigurationArn?: string;
115
115
  tags?: Record<string, string>;
116
116
  insecureIngest?: boolean;
117
- preset?: TranscodePreset | string;
117
+ preset?: TranscodePreset;
118
118
  }
119
119
  export interface CreateChannelResponse {
120
120
  channel?: Channel;
@@ -164,8 +164,8 @@ export declare const RenditionConfigurationRenditionSelection: {
164
164
  export type RenditionConfigurationRenditionSelection =
165
165
  (typeof RenditionConfigurationRenditionSelection)[keyof typeof RenditionConfigurationRenditionSelection];
166
166
  export interface RenditionConfiguration {
167
- renditionSelection?: RenditionConfigurationRenditionSelection | string;
168
- renditions?: (RenditionConfigurationRendition | string)[];
167
+ renditionSelection?: RenditionConfigurationRenditionSelection;
168
+ renditions?: RenditionConfigurationRendition[];
169
169
  }
170
170
  export declare const RecordingMode: {
171
171
  readonly Disabled: "DISABLED";
@@ -187,10 +187,10 @@ export declare const ThumbnailConfigurationStorage: {
187
187
  export type ThumbnailConfigurationStorage =
188
188
  (typeof ThumbnailConfigurationStorage)[keyof typeof ThumbnailConfigurationStorage];
189
189
  export interface ThumbnailConfiguration {
190
- recordingMode?: RecordingMode | string;
190
+ recordingMode?: RecordingMode;
191
191
  targetIntervalSeconds?: number;
192
- resolution?: ThumbnailConfigurationResolution | string;
193
- storage?: (ThumbnailConfigurationStorage | string)[];
192
+ resolution?: ThumbnailConfigurationResolution;
193
+ storage?: ThumbnailConfigurationStorage[];
194
194
  }
195
195
  export interface CreateRecordingConfigurationRequest {
196
196
  name?: string;
@@ -211,7 +211,7 @@ export interface RecordingConfiguration {
211
211
  arn: string | undefined;
212
212
  name?: string;
213
213
  destinationConfiguration: DestinationConfiguration | undefined;
214
- state: RecordingConfigurationState | string | undefined;
214
+ state: RecordingConfigurationState | undefined;
215
215
  tags?: Record<string, string>;
216
216
  thumbnailConfiguration?: ThumbnailConfiguration;
217
217
  recordingReconnectWindowSeconds?: number;
@@ -299,8 +299,8 @@ export interface _Stream {
299
299
  streamId?: string;
300
300
  playbackUrl?: string;
301
301
  startTime?: Date;
302
- state?: StreamState | string;
303
- health?: StreamHealth | string;
302
+ state?: StreamState;
303
+ health?: StreamHealth;
304
304
  viewerCount?: number;
305
305
  }
306
306
  export interface GetStreamResponse {
@@ -370,13 +370,13 @@ export interface ListChannelsRequest {
370
370
  export interface ChannelSummary {
371
371
  arn?: string;
372
372
  name?: string;
373
- latencyMode?: ChannelLatencyMode | string;
373
+ latencyMode?: ChannelLatencyMode;
374
374
  authorized?: boolean;
375
375
  recordingConfigurationArn?: string;
376
376
  tags?: Record<string, string>;
377
377
  insecureIngest?: boolean;
378
- type?: ChannelType | string;
379
- preset?: TranscodePreset | string;
378
+ type?: ChannelType;
379
+ preset?: TranscodePreset;
380
380
  }
381
381
  export interface ListChannelsResponse {
382
382
  channels: ChannelSummary[] | undefined;
@@ -403,7 +403,7 @@ export interface RecordingConfigurationSummary {
403
403
  arn: string | undefined;
404
404
  name?: string;
405
405
  destinationConfiguration: DestinationConfiguration | undefined;
406
- state: RecordingConfigurationState | string | undefined;
406
+ state: RecordingConfigurationState | undefined;
407
407
  tags?: Record<string, string>;
408
408
  }
409
409
  export interface ListRecordingConfigurationsResponse {
@@ -425,7 +425,7 @@ export interface ListStreamKeysResponse {
425
425
  nextToken?: string;
426
426
  }
427
427
  export interface StreamFilters {
428
- health?: StreamHealth | string;
428
+ health?: StreamHealth;
429
429
  }
430
430
  export interface ListStreamsRequest {
431
431
  filterBy?: StreamFilters;
@@ -435,8 +435,8 @@ export interface ListStreamsRequest {
435
435
  export interface StreamSummary {
436
436
  channelArn?: string;
437
437
  streamId?: string;
438
- state?: StreamState | string;
439
- health?: StreamHealth | string;
438
+ state?: StreamState;
439
+ health?: StreamHealth;
440
440
  viewerCount?: number;
441
441
  startTime?: Date;
442
442
  }
@@ -498,12 +498,12 @@ export interface UntagResourceResponse {}
498
498
  export interface UpdateChannelRequest {
499
499
  arn: string | undefined;
500
500
  name?: string;
501
- latencyMode?: ChannelLatencyMode | string;
502
- type?: ChannelType | string;
501
+ latencyMode?: ChannelLatencyMode;
502
+ type?: ChannelType;
503
503
  authorized?: boolean;
504
504
  recordingConfigurationArn?: string;
505
505
  insecureIngest?: boolean;
506
- preset?: TranscodePreset | string;
506
+ preset?: TranscodePreset;
507
507
  }
508
508
  export interface UpdateChannelResponse {
509
509
  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.428.0",
4
+ "version": "3.429.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,9 +21,9 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",