@aws-sdk/client-kinesis-video 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.
@@ -116,12 +116,12 @@ export interface ChannelInfo {
116
116
  * @public
117
117
  * <p>The type of the signaling channel.</p>
118
118
  */
119
- ChannelType?: ChannelType | string;
119
+ ChannelType?: ChannelType;
120
120
  /**
121
121
  * @public
122
122
  * <p>Current status of the signaling channel.</p>
123
123
  */
124
- ChannelStatus?: Status | string;
124
+ ChannelStatus?: Status;
125
125
  /**
126
126
  * @public
127
127
  * <p>The time at which the signaling channel was created.</p>
@@ -163,7 +163,7 @@ export interface ChannelNameCondition {
163
163
  * <p>A comparison operator. Currently, you can only specify the <code>BEGINS_WITH</code>
164
164
  * operator, which finds signaling channels whose names begin with a given prefix.</p>
165
165
  */
166
- ComparisonOperator?: ComparisonOperator | string;
166
+ ComparisonOperator?: ComparisonOperator;
167
167
  /**
168
168
  * @public
169
169
  * <p>A value to compare.</p>
@@ -251,7 +251,7 @@ export interface CreateSignalingChannelInput {
251
251
  * <p>A type of the signaling channel that you are creating. Currently,
252
252
  * <code>SINGLE_MASTER</code> is the only supported channel type. </p>
253
253
  */
254
- ChannelType?: ChannelType | string;
254
+ ChannelType?: ChannelType;
255
255
  /**
256
256
  * @public
257
257
  * <p>A structure containing the configuration for the <code>SINGLE_MASTER</code> channel
@@ -576,7 +576,7 @@ export interface LocalSizeConfig {
576
576
  * @public
577
577
  * <p>The strategy to perform when a stream’s <code>MaxLocalMediaSizeInMB</code> limit is reached.</p>
578
578
  */
579
- StrategyOnFullSize?: StrategyOnFullSize | string;
579
+ StrategyOnFullSize?: StrategyOnFullSize;
580
580
  }
581
581
  /**
582
582
  * @public
@@ -660,7 +660,7 @@ export interface LastRecorderStatus {
660
660
  * @public
661
661
  * <p>The status of the latest recorder job.</p>
662
662
  */
663
- RecorderStatus?: RecorderStatus | string;
663
+ RecorderStatus?: RecorderStatus;
664
664
  }
665
665
  /**
666
666
  * @public
@@ -699,7 +699,7 @@ export interface LastUploaderStatus {
699
699
  * @public
700
700
  * <p>The status of the latest uploader job.</p>
701
701
  */
702
- UploaderStatus?: UploaderStatus | string;
702
+ UploaderStatus?: UploaderStatus;
703
703
  }
704
704
  /**
705
705
  * @public
@@ -749,7 +749,7 @@ export interface MediaSourceConfig {
749
749
  * <p>Preview only supports the <code>RTSP_URI</code> media source URI format .</p>
750
750
  * </note>
751
751
  */
752
- MediaUriType: MediaUriType | string | undefined;
752
+ MediaUriType: MediaUriType | undefined;
753
753
  }
754
754
  /**
755
755
  * @public
@@ -897,7 +897,7 @@ export interface DescribeEdgeConfigurationOutput {
897
897
  * @public
898
898
  * <p>The latest status of the edge configuration update.</p>
899
899
  */
900
- SyncStatus?: SyncStatus | string;
900
+ SyncStatus?: SyncStatus;
901
901
  /**
902
902
  * @public
903
903
  * <p>A description of the generated failure status.</p>
@@ -991,12 +991,12 @@ export interface ImageGenerationConfiguration {
991
991
  * @public
992
992
  * <p>Indicates whether the <code>ContinuousImageGenerationConfigurations</code> API is enabled or disabled.</p>
993
993
  */
994
- Status: ConfigurationStatus | string | undefined;
994
+ Status: ConfigurationStatus | undefined;
995
995
  /**
996
996
  * @public
997
997
  * <p>The origin of the Server or Producer timestamps to use to generate the images.</p>
998
998
  */
999
- ImageSelectorType: ImageSelectorType | string | undefined;
999
+ ImageSelectorType: ImageSelectorType | undefined;
1000
1000
  /**
1001
1001
  * @public
1002
1002
  * <p>The structure that contains the information required to deliver images to a customer.</p>
@@ -1012,7 +1012,7 @@ export interface ImageGenerationConfiguration {
1012
1012
  * @public
1013
1013
  * <p>The accepted image format.</p>
1014
1014
  */
1015
- Format: Format | string | undefined;
1015
+ Format: Format | undefined;
1016
1016
  /**
1017
1017
  * @public
1018
1018
  * <p>The list of a key-value pair structure that contains extra parameters that can be applied when the image is generated.
@@ -1021,7 +1021,7 @@ export interface ImageGenerationConfiguration {
1021
1021
  * If the value is 100, the image will be generated with the best quality and less compression. If no value is provided, the default value of the <code>JPEGQuality</code>
1022
1022
  * key will be set to 80.</p>
1023
1023
  */
1024
- FormatConfig?: Record<string, string>;
1024
+ FormatConfig?: Record<FormatConfigKey, string>;
1025
1025
  /**
1026
1026
  * @public
1027
1027
  * <p>The width of the output image that is used in conjunction with the <code>HeightPixels</code> parameter. When both <code>WidthPixels</code> and
@@ -1145,7 +1145,7 @@ export interface MediaStorageConfiguration {
1145
1145
  * @public
1146
1146
  * <p>The status of the media storage configuration.</p>
1147
1147
  */
1148
- Status: MediaStorageConfigurationStatus | string | undefined;
1148
+ Status: MediaStorageConfigurationStatus | undefined;
1149
1149
  }
1150
1150
  /**
1151
1151
  * @public
@@ -1192,7 +1192,7 @@ export interface NotificationConfiguration {
1192
1192
  * @public
1193
1193
  * <p>Indicates if a notification configuration is enabled or disabled.</p>
1194
1194
  */
1195
- Status: ConfigurationStatus | string | undefined;
1195
+ Status: ConfigurationStatus | undefined;
1196
1196
  /**
1197
1197
  * @public
1198
1198
  * <p>The destination information required to deliver a notification to a customer.</p>
@@ -1290,7 +1290,7 @@ export interface StreamInfo {
1290
1290
  * @public
1291
1291
  * <p>The status of the stream.</p>
1292
1292
  */
1293
- Status?: Status | string;
1293
+ Status?: Status;
1294
1294
  /**
1295
1295
  * @public
1296
1296
  * <p>A time stamp that indicates when the stream was created.</p>
@@ -1333,7 +1333,7 @@ export interface GetDataEndpointInput {
1333
1333
  * @public
1334
1334
  * <p>The name of the API action for which to get an endpoint.</p>
1335
1335
  */
1336
- APIName: APIName | string | undefined;
1336
+ APIName: APIName | undefined;
1337
1337
  }
1338
1338
  /**
1339
1339
  * @public
@@ -1359,7 +1359,7 @@ export interface SingleMasterChannelEndpointConfiguration {
1359
1359
  * API returns a websocket endpoint. If <code>HTTPS</code> is specified, this API returns
1360
1360
  * an <code>HTTPS</code> endpoint.</p>
1361
1361
  */
1362
- Protocols?: (ChannelProtocol | string)[];
1362
+ Protocols?: ChannelProtocol[];
1363
1363
  /**
1364
1364
  * @public
1365
1365
  * <p>This property is used to determine messaging permissions in this
@@ -1369,7 +1369,7 @@ export interface SingleMasterChannelEndpointConfiguration {
1369
1369
  * specified, this API returns an endpoint that a client can use only to send offers to
1370
1370
  * another <code>MASTER</code> client on this signaling channel. </p>
1371
1371
  */
1372
- Role?: ChannelRole | string;
1372
+ Role?: ChannelRole;
1373
1373
  }
1374
1374
  /**
1375
1375
  * @public
@@ -1400,7 +1400,7 @@ export interface ResourceEndpointListItem {
1400
1400
  * <p>The protocol of the signaling channel returned by the
1401
1401
  * <code>GetSignalingChannelEndpoint</code> API.</p>
1402
1402
  */
1403
- Protocol?: ChannelProtocol | string;
1403
+ Protocol?: ChannelProtocol;
1404
1404
  /**
1405
1405
  * @public
1406
1406
  * <p>The endpoint of the signaling channel returned by the
@@ -1481,7 +1481,7 @@ export interface ListEdgeAgentConfigurationsEdgeConfig {
1481
1481
  * @public
1482
1482
  * <p>The current sync status of the stream's edge configuration.</p>
1483
1483
  */
1484
- SyncStatus?: SyncStatus | string;
1484
+ SyncStatus?: SyncStatus;
1485
1485
  /**
1486
1486
  * @public
1487
1487
  * <p>A description of the generated failure status.</p>
@@ -1561,7 +1561,7 @@ export interface StreamNameCondition {
1561
1561
  * <p>A comparison operator. Currently, you can specify only the <code>BEGINS_WITH</code>
1562
1562
  * operator, which finds streams whose names start with a given prefix.</p>
1563
1563
  */
1564
- ComparisonOperator?: ComparisonOperator | string;
1564
+ ComparisonOperator?: ComparisonOperator;
1565
1565
  /**
1566
1566
  * @public
1567
1567
  * <p>A value to compare.</p>
@@ -1748,7 +1748,7 @@ export interface StartEdgeConfigurationUpdateOutput {
1748
1748
  * status will be set to the <code>SYNCING</code> state. Use the <code>DescribeEdgeConfiguration</code> API
1749
1749
  * to get the latest status of the edge configuration.</p>
1750
1750
  */
1751
- SyncStatus?: SyncStatus | string;
1751
+ SyncStatus?: SyncStatus;
1752
1752
  /**
1753
1753
  * @public
1754
1754
  * <p>A description of the generated failure status.</p>
@@ -1896,7 +1896,7 @@ export interface UpdateDataRetentionInput {
1896
1896
  * @public
1897
1897
  * <p>Indicates whether you want to increase or decrease the retention period.</p>
1898
1898
  */
1899
- Operation: UpdateDataRetentionOperation | string | undefined;
1899
+ Operation: UpdateDataRetentionOperation | undefined;
1900
1900
  /**
1901
1901
  * @public
1902
1902
  * <p>The retention period, in hours. The value you specify replaces the current value.
@@ -59,8 +59,8 @@ export interface SingleMasterConfiguration {
59
59
  export interface ChannelInfo {
60
60
  ChannelName?: string;
61
61
  ChannelARN?: string;
62
- ChannelType?: ChannelType | string;
63
- ChannelStatus?: Status | string;
62
+ ChannelType?: ChannelType;
63
+ ChannelStatus?: Status;
64
64
  CreationTime?: Date;
65
65
  SingleMasterConfiguration?: SingleMasterConfiguration;
66
66
  Version?: string;
@@ -71,7 +71,7 @@ export declare const ComparisonOperator: {
71
71
  export type ComparisonOperator =
72
72
  (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
73
73
  export interface ChannelNameCondition {
74
- ComparisonOperator?: ComparisonOperator | string;
74
+ ComparisonOperator?: ComparisonOperator;
75
75
  ComparisonValue?: string;
76
76
  }
77
77
  export declare const ChannelProtocol: {
@@ -106,7 +106,7 @@ export interface Tag {
106
106
  }
107
107
  export interface CreateSignalingChannelInput {
108
108
  ChannelName: string | undefined;
109
- ChannelType?: ChannelType | string;
109
+ ChannelType?: ChannelType;
110
110
  SingleMasterConfiguration?: SingleMasterConfiguration;
111
111
  Tags?: Tag[];
112
112
  }
@@ -228,7 +228,7 @@ export type StrategyOnFullSize =
228
228
  (typeof StrategyOnFullSize)[keyof typeof StrategyOnFullSize];
229
229
  export interface LocalSizeConfig {
230
230
  MaxLocalMediaSizeInMB?: number;
231
- StrategyOnFullSize?: StrategyOnFullSize | string;
231
+ StrategyOnFullSize?: StrategyOnFullSize;
232
232
  }
233
233
  export interface DeletionConfig {
234
234
  EdgeRetentionInHours?: number;
@@ -250,7 +250,7 @@ export interface LastRecorderStatus {
250
250
  JobStatusDetails?: string;
251
251
  LastCollectedTime?: Date;
252
252
  LastUpdatedTime?: Date;
253
- RecorderStatus?: RecorderStatus | string;
253
+ RecorderStatus?: RecorderStatus;
254
254
  }
255
255
  export declare const UploaderStatus: {
256
256
  readonly SUCCESS: "SUCCESS";
@@ -263,7 +263,7 @@ export interface LastUploaderStatus {
263
263
  JobStatusDetails?: string;
264
264
  LastCollectedTime?: Date;
265
265
  LastUpdatedTime?: Date;
266
- UploaderStatus?: UploaderStatus | string;
266
+ UploaderStatus?: UploaderStatus;
267
267
  }
268
268
  export interface EdgeAgentStatus {
269
269
  LastRecorderStatus?: LastRecorderStatus;
@@ -276,7 +276,7 @@ export declare const MediaUriType: {
276
276
  export type MediaUriType = (typeof MediaUriType)[keyof typeof MediaUriType];
277
277
  export interface MediaSourceConfig {
278
278
  MediaUriSecretArn: string | undefined;
279
- MediaUriType: MediaUriType | string | undefined;
279
+ MediaUriType: MediaUriType | undefined;
280
280
  }
281
281
  export interface ScheduleConfig {
282
282
  ScheduleExpression: string | undefined;
@@ -310,7 +310,7 @@ export interface DescribeEdgeConfigurationOutput {
310
310
  StreamARN?: string;
311
311
  CreationTime?: Date;
312
312
  LastUpdatedTime?: Date;
313
- SyncStatus?: SyncStatus | string;
313
+ SyncStatus?: SyncStatus;
314
314
  FailedStatusDetails?: string;
315
315
  EdgeConfig?: EdgeConfig;
316
316
  EdgeAgentStatus?: EdgeAgentStatus;
@@ -340,12 +340,12 @@ export declare const ImageSelectorType: {
340
340
  export type ImageSelectorType =
341
341
  (typeof ImageSelectorType)[keyof typeof ImageSelectorType];
342
342
  export interface ImageGenerationConfiguration {
343
- Status: ConfigurationStatus | string | undefined;
344
- ImageSelectorType: ImageSelectorType | string | undefined;
343
+ Status: ConfigurationStatus | undefined;
344
+ ImageSelectorType: ImageSelectorType | undefined;
345
345
  DestinationConfig: ImageGenerationDestinationConfig | undefined;
346
346
  SamplingInterval: number | undefined;
347
- Format: Format | string | undefined;
348
- FormatConfig?: Record<string, string>;
347
+ Format: Format | undefined;
348
+ FormatConfig?: Record<FormatConfigKey, string>;
349
349
  WidthPixels?: number;
350
350
  HeightPixels?: number;
351
351
  }
@@ -378,7 +378,7 @@ export type MediaStorageConfigurationStatus =
378
378
  (typeof MediaStorageConfigurationStatus)[keyof typeof MediaStorageConfigurationStatus];
379
379
  export interface MediaStorageConfiguration {
380
380
  StreamARN?: string;
381
- Status: MediaStorageConfigurationStatus | string | undefined;
381
+ Status: MediaStorageConfigurationStatus | undefined;
382
382
  }
383
383
  export interface DescribeMediaStorageConfigurationOutput {
384
384
  MediaStorageConfiguration?: MediaStorageConfiguration;
@@ -391,7 +391,7 @@ export interface NotificationDestinationConfig {
391
391
  Uri: string | undefined;
392
392
  }
393
393
  export interface NotificationConfiguration {
394
- Status: ConfigurationStatus | string | undefined;
394
+ Status: ConfigurationStatus | undefined;
395
395
  DestinationConfig: NotificationDestinationConfig | undefined;
396
396
  }
397
397
  export interface DescribeNotificationConfigurationOutput {
@@ -415,7 +415,7 @@ export interface StreamInfo {
415
415
  MediaType?: string;
416
416
  KmsKeyId?: string;
417
417
  Version?: string;
418
- Status?: Status | string;
418
+ Status?: Status;
419
419
  CreationTime?: Date;
420
420
  DataRetentionInHours?: number;
421
421
  }
@@ -425,21 +425,21 @@ export interface DescribeStreamOutput {
425
425
  export interface GetDataEndpointInput {
426
426
  StreamName?: string;
427
427
  StreamARN?: string;
428
- APIName: APIName | string | undefined;
428
+ APIName: APIName | undefined;
429
429
  }
430
430
  export interface GetDataEndpointOutput {
431
431
  DataEndpoint?: string;
432
432
  }
433
433
  export interface SingleMasterChannelEndpointConfiguration {
434
- Protocols?: (ChannelProtocol | string)[];
435
- Role?: ChannelRole | string;
434
+ Protocols?: ChannelProtocol[];
435
+ Role?: ChannelRole;
436
436
  }
437
437
  export interface GetSignalingChannelEndpointInput {
438
438
  ChannelARN: string | undefined;
439
439
  SingleMasterChannelEndpointConfiguration?: SingleMasterChannelEndpointConfiguration;
440
440
  }
441
441
  export interface ResourceEndpointListItem {
442
- Protocol?: ChannelProtocol | string;
442
+ Protocol?: ChannelProtocol;
443
443
  ResourceEndpoint?: string;
444
444
  }
445
445
  export interface GetSignalingChannelEndpointOutput {
@@ -463,7 +463,7 @@ export interface ListEdgeAgentConfigurationsEdgeConfig {
463
463
  StreamARN?: string;
464
464
  CreationTime?: Date;
465
465
  LastUpdatedTime?: Date;
466
- SyncStatus?: SyncStatus | string;
466
+ SyncStatus?: SyncStatus;
467
467
  FailedStatusDetails?: string;
468
468
  EdgeConfig?: EdgeConfig;
469
469
  }
@@ -481,7 +481,7 @@ export interface ListSignalingChannelsOutput {
481
481
  NextToken?: string;
482
482
  }
483
483
  export interface StreamNameCondition {
484
- ComparisonOperator?: ComparisonOperator | string;
484
+ ComparisonOperator?: ComparisonOperator;
485
485
  ComparisonValue?: string;
486
486
  }
487
487
  export interface ListStreamsInput {
@@ -528,7 +528,7 @@ export interface StartEdgeConfigurationUpdateOutput {
528
528
  StreamARN?: string;
529
529
  CreationTime?: Date;
530
530
  LastUpdatedTime?: Date;
531
- SyncStatus?: SyncStatus | string;
531
+ SyncStatus?: SyncStatus;
532
532
  FailedStatusDetails?: string;
533
533
  EdgeConfig?: EdgeConfig;
534
534
  }
@@ -564,7 +564,7 @@ export interface UpdateDataRetentionInput {
564
564
  StreamName?: string;
565
565
  StreamARN?: string;
566
566
  CurrentVersion: string | undefined;
567
- Operation: UpdateDataRetentionOperation | string | undefined;
567
+ Operation: UpdateDataRetentionOperation | undefined;
568
568
  DataRetentionChangeInHours: number | undefined;
569
569
  }
570
570
  export interface UpdateDataRetentionOutput {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis-video",
3
3
  "description": "AWS SDK for JavaScript Kinesis Video 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",