@aws-sdk/client-kinesis-video-archived-media 3.301.0 → 3.306.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.
@@ -16,11 +16,10 @@ class ClientLimitExceededException extends KinesisVideoArchivedMediaServiceExcep
16
16
  }
17
17
  }
18
18
  exports.ClientLimitExceededException = ClientLimitExceededException;
19
- var ClipFragmentSelectorType;
20
- (function (ClipFragmentSelectorType) {
21
- ClipFragmentSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
22
- ClipFragmentSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
23
- })(ClipFragmentSelectorType = exports.ClipFragmentSelectorType || (exports.ClipFragmentSelectorType = {}));
19
+ exports.ClipFragmentSelectorType = {
20
+ PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
21
+ SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
22
+ };
24
23
  class InvalidArgumentException extends KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException {
25
24
  constructor(opts) {
26
25
  super({
@@ -133,78 +132,64 @@ class UnsupportedStreamMediaTypeException extends KinesisVideoArchivedMediaServi
133
132
  }
134
133
  }
135
134
  exports.UnsupportedStreamMediaTypeException = UnsupportedStreamMediaTypeException;
136
- var DASHFragmentSelectorType;
137
- (function (DASHFragmentSelectorType) {
138
- DASHFragmentSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
139
- DASHFragmentSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
140
- })(DASHFragmentSelectorType = exports.DASHFragmentSelectorType || (exports.DASHFragmentSelectorType = {}));
141
- var DASHDisplayFragmentNumber;
142
- (function (DASHDisplayFragmentNumber) {
143
- DASHDisplayFragmentNumber["ALWAYS"] = "ALWAYS";
144
- DASHDisplayFragmentNumber["NEVER"] = "NEVER";
145
- })(DASHDisplayFragmentNumber = exports.DASHDisplayFragmentNumber || (exports.DASHDisplayFragmentNumber = {}));
146
- var DASHDisplayFragmentTimestamp;
147
- (function (DASHDisplayFragmentTimestamp) {
148
- DASHDisplayFragmentTimestamp["ALWAYS"] = "ALWAYS";
149
- DASHDisplayFragmentTimestamp["NEVER"] = "NEVER";
150
- })(DASHDisplayFragmentTimestamp = exports.DASHDisplayFragmentTimestamp || (exports.DASHDisplayFragmentTimestamp = {}));
151
- var DASHPlaybackMode;
152
- (function (DASHPlaybackMode) {
153
- DASHPlaybackMode["LIVE"] = "LIVE";
154
- DASHPlaybackMode["LIVE_REPLAY"] = "LIVE_REPLAY";
155
- DASHPlaybackMode["ON_DEMAND"] = "ON_DEMAND";
156
- })(DASHPlaybackMode = exports.DASHPlaybackMode || (exports.DASHPlaybackMode = {}));
157
- var ContainerFormat;
158
- (function (ContainerFormat) {
159
- ContainerFormat["FRAGMENTED_MP4"] = "FRAGMENTED_MP4";
160
- ContainerFormat["MPEG_TS"] = "MPEG_TS";
161
- })(ContainerFormat = exports.ContainerFormat || (exports.ContainerFormat = {}));
162
- var HLSDiscontinuityMode;
163
- (function (HLSDiscontinuityMode) {
164
- HLSDiscontinuityMode["ALWAYS"] = "ALWAYS";
165
- HLSDiscontinuityMode["NEVER"] = "NEVER";
166
- HLSDiscontinuityMode["ON_DISCONTINUITY"] = "ON_DISCONTINUITY";
167
- })(HLSDiscontinuityMode = exports.HLSDiscontinuityMode || (exports.HLSDiscontinuityMode = {}));
168
- var HLSDisplayFragmentTimestamp;
169
- (function (HLSDisplayFragmentTimestamp) {
170
- HLSDisplayFragmentTimestamp["ALWAYS"] = "ALWAYS";
171
- HLSDisplayFragmentTimestamp["NEVER"] = "NEVER";
172
- })(HLSDisplayFragmentTimestamp = exports.HLSDisplayFragmentTimestamp || (exports.HLSDisplayFragmentTimestamp = {}));
173
- var HLSFragmentSelectorType;
174
- (function (HLSFragmentSelectorType) {
175
- HLSFragmentSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
176
- HLSFragmentSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
177
- })(HLSFragmentSelectorType = exports.HLSFragmentSelectorType || (exports.HLSFragmentSelectorType = {}));
178
- var HLSPlaybackMode;
179
- (function (HLSPlaybackMode) {
180
- HLSPlaybackMode["LIVE"] = "LIVE";
181
- HLSPlaybackMode["LIVE_REPLAY"] = "LIVE_REPLAY";
182
- HLSPlaybackMode["ON_DEMAND"] = "ON_DEMAND";
183
- })(HLSPlaybackMode = exports.HLSPlaybackMode || (exports.HLSPlaybackMode = {}));
184
- var Format;
185
- (function (Format) {
186
- Format["JPEG"] = "JPEG";
187
- Format["PNG"] = "PNG";
188
- })(Format = exports.Format || (exports.Format = {}));
189
- var FormatConfigKey;
190
- (function (FormatConfigKey) {
191
- FormatConfigKey["JPEGQuality"] = "JPEGQuality";
192
- })(FormatConfigKey = exports.FormatConfigKey || (exports.FormatConfigKey = {}));
193
- var ImageSelectorType;
194
- (function (ImageSelectorType) {
195
- ImageSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
196
- ImageSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
197
- })(ImageSelectorType = exports.ImageSelectorType || (exports.ImageSelectorType = {}));
198
- var ImageError;
199
- (function (ImageError) {
200
- ImageError["MEDIA_ERROR"] = "MEDIA_ERROR";
201
- ImageError["NO_MEDIA"] = "NO_MEDIA";
202
- })(ImageError = exports.ImageError || (exports.ImageError = {}));
203
- var FragmentSelectorType;
204
- (function (FragmentSelectorType) {
205
- FragmentSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
206
- FragmentSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
207
- })(FragmentSelectorType = exports.FragmentSelectorType || (exports.FragmentSelectorType = {}));
135
+ exports.DASHFragmentSelectorType = {
136
+ PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
137
+ SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
138
+ };
139
+ exports.DASHDisplayFragmentNumber = {
140
+ ALWAYS: "ALWAYS",
141
+ NEVER: "NEVER",
142
+ };
143
+ exports.DASHDisplayFragmentTimestamp = {
144
+ ALWAYS: "ALWAYS",
145
+ NEVER: "NEVER",
146
+ };
147
+ exports.DASHPlaybackMode = {
148
+ LIVE: "LIVE",
149
+ LIVE_REPLAY: "LIVE_REPLAY",
150
+ ON_DEMAND: "ON_DEMAND",
151
+ };
152
+ exports.ContainerFormat = {
153
+ FRAGMENTED_MP4: "FRAGMENTED_MP4",
154
+ MPEG_TS: "MPEG_TS",
155
+ };
156
+ exports.HLSDiscontinuityMode = {
157
+ ALWAYS: "ALWAYS",
158
+ NEVER: "NEVER",
159
+ ON_DISCONTINUITY: "ON_DISCONTINUITY",
160
+ };
161
+ exports.HLSDisplayFragmentTimestamp = {
162
+ ALWAYS: "ALWAYS",
163
+ NEVER: "NEVER",
164
+ };
165
+ exports.HLSFragmentSelectorType = {
166
+ PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
167
+ SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
168
+ };
169
+ exports.HLSPlaybackMode = {
170
+ LIVE: "LIVE",
171
+ LIVE_REPLAY: "LIVE_REPLAY",
172
+ ON_DEMAND: "ON_DEMAND",
173
+ };
174
+ exports.Format = {
175
+ JPEG: "JPEG",
176
+ PNG: "PNG",
177
+ };
178
+ exports.FormatConfigKey = {
179
+ JPEGQuality: "JPEGQuality",
180
+ };
181
+ exports.ImageSelectorType = {
182
+ PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
183
+ SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
184
+ };
185
+ exports.ImageError = {
186
+ MEDIA_ERROR: "MEDIA_ERROR",
187
+ NO_MEDIA: "NO_MEDIA",
188
+ };
189
+ exports.FragmentSelectorType = {
190
+ PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
191
+ SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
192
+ };
208
193
  const GetClipOutputFilterSensitiveLog = (obj) => ({
209
194
  ...obj,
210
195
  });
@@ -12,11 +12,10 @@ export class ClientLimitExceededException extends __BaseException {
12
12
  this.Message = opts.Message;
13
13
  }
14
14
  }
15
- export var ClipFragmentSelectorType;
16
- (function (ClipFragmentSelectorType) {
17
- ClipFragmentSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
18
- ClipFragmentSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
19
- })(ClipFragmentSelectorType || (ClipFragmentSelectorType = {}));
15
+ export const ClipFragmentSelectorType = {
16
+ PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
17
+ SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
18
+ };
20
19
  export class InvalidArgumentException extends __BaseException {
21
20
  constructor(opts) {
22
21
  super({
@@ -121,78 +120,64 @@ export class UnsupportedStreamMediaTypeException extends __BaseException {
121
120
  this.Message = opts.Message;
122
121
  }
123
122
  }
124
- export var DASHFragmentSelectorType;
125
- (function (DASHFragmentSelectorType) {
126
- DASHFragmentSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
127
- DASHFragmentSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
128
- })(DASHFragmentSelectorType || (DASHFragmentSelectorType = {}));
129
- export var DASHDisplayFragmentNumber;
130
- (function (DASHDisplayFragmentNumber) {
131
- DASHDisplayFragmentNumber["ALWAYS"] = "ALWAYS";
132
- DASHDisplayFragmentNumber["NEVER"] = "NEVER";
133
- })(DASHDisplayFragmentNumber || (DASHDisplayFragmentNumber = {}));
134
- export var DASHDisplayFragmentTimestamp;
135
- (function (DASHDisplayFragmentTimestamp) {
136
- DASHDisplayFragmentTimestamp["ALWAYS"] = "ALWAYS";
137
- DASHDisplayFragmentTimestamp["NEVER"] = "NEVER";
138
- })(DASHDisplayFragmentTimestamp || (DASHDisplayFragmentTimestamp = {}));
139
- export var DASHPlaybackMode;
140
- (function (DASHPlaybackMode) {
141
- DASHPlaybackMode["LIVE"] = "LIVE";
142
- DASHPlaybackMode["LIVE_REPLAY"] = "LIVE_REPLAY";
143
- DASHPlaybackMode["ON_DEMAND"] = "ON_DEMAND";
144
- })(DASHPlaybackMode || (DASHPlaybackMode = {}));
145
- export var ContainerFormat;
146
- (function (ContainerFormat) {
147
- ContainerFormat["FRAGMENTED_MP4"] = "FRAGMENTED_MP4";
148
- ContainerFormat["MPEG_TS"] = "MPEG_TS";
149
- })(ContainerFormat || (ContainerFormat = {}));
150
- export var HLSDiscontinuityMode;
151
- (function (HLSDiscontinuityMode) {
152
- HLSDiscontinuityMode["ALWAYS"] = "ALWAYS";
153
- HLSDiscontinuityMode["NEVER"] = "NEVER";
154
- HLSDiscontinuityMode["ON_DISCONTINUITY"] = "ON_DISCONTINUITY";
155
- })(HLSDiscontinuityMode || (HLSDiscontinuityMode = {}));
156
- export var HLSDisplayFragmentTimestamp;
157
- (function (HLSDisplayFragmentTimestamp) {
158
- HLSDisplayFragmentTimestamp["ALWAYS"] = "ALWAYS";
159
- HLSDisplayFragmentTimestamp["NEVER"] = "NEVER";
160
- })(HLSDisplayFragmentTimestamp || (HLSDisplayFragmentTimestamp = {}));
161
- export var HLSFragmentSelectorType;
162
- (function (HLSFragmentSelectorType) {
163
- HLSFragmentSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
164
- HLSFragmentSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
165
- })(HLSFragmentSelectorType || (HLSFragmentSelectorType = {}));
166
- export var HLSPlaybackMode;
167
- (function (HLSPlaybackMode) {
168
- HLSPlaybackMode["LIVE"] = "LIVE";
169
- HLSPlaybackMode["LIVE_REPLAY"] = "LIVE_REPLAY";
170
- HLSPlaybackMode["ON_DEMAND"] = "ON_DEMAND";
171
- })(HLSPlaybackMode || (HLSPlaybackMode = {}));
172
- export var Format;
173
- (function (Format) {
174
- Format["JPEG"] = "JPEG";
175
- Format["PNG"] = "PNG";
176
- })(Format || (Format = {}));
177
- export var FormatConfigKey;
178
- (function (FormatConfigKey) {
179
- FormatConfigKey["JPEGQuality"] = "JPEGQuality";
180
- })(FormatConfigKey || (FormatConfigKey = {}));
181
- export var ImageSelectorType;
182
- (function (ImageSelectorType) {
183
- ImageSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
184
- ImageSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
185
- })(ImageSelectorType || (ImageSelectorType = {}));
186
- export var ImageError;
187
- (function (ImageError) {
188
- ImageError["MEDIA_ERROR"] = "MEDIA_ERROR";
189
- ImageError["NO_MEDIA"] = "NO_MEDIA";
190
- })(ImageError || (ImageError = {}));
191
- export var FragmentSelectorType;
192
- (function (FragmentSelectorType) {
193
- FragmentSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
194
- FragmentSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
195
- })(FragmentSelectorType || (FragmentSelectorType = {}));
123
+ export const DASHFragmentSelectorType = {
124
+ PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
125
+ SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
126
+ };
127
+ export const DASHDisplayFragmentNumber = {
128
+ ALWAYS: "ALWAYS",
129
+ NEVER: "NEVER",
130
+ };
131
+ export const DASHDisplayFragmentTimestamp = {
132
+ ALWAYS: "ALWAYS",
133
+ NEVER: "NEVER",
134
+ };
135
+ export const DASHPlaybackMode = {
136
+ LIVE: "LIVE",
137
+ LIVE_REPLAY: "LIVE_REPLAY",
138
+ ON_DEMAND: "ON_DEMAND",
139
+ };
140
+ export const ContainerFormat = {
141
+ FRAGMENTED_MP4: "FRAGMENTED_MP4",
142
+ MPEG_TS: "MPEG_TS",
143
+ };
144
+ export const HLSDiscontinuityMode = {
145
+ ALWAYS: "ALWAYS",
146
+ NEVER: "NEVER",
147
+ ON_DISCONTINUITY: "ON_DISCONTINUITY",
148
+ };
149
+ export const HLSDisplayFragmentTimestamp = {
150
+ ALWAYS: "ALWAYS",
151
+ NEVER: "NEVER",
152
+ };
153
+ export const HLSFragmentSelectorType = {
154
+ PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
155
+ SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
156
+ };
157
+ export const HLSPlaybackMode = {
158
+ LIVE: "LIVE",
159
+ LIVE_REPLAY: "LIVE_REPLAY",
160
+ ON_DEMAND: "ON_DEMAND",
161
+ };
162
+ export const Format = {
163
+ JPEG: "JPEG",
164
+ PNG: "PNG",
165
+ };
166
+ export const FormatConfigKey = {
167
+ JPEGQuality: "JPEGQuality",
168
+ };
169
+ export const ImageSelectorType = {
170
+ PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
171
+ SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
172
+ };
173
+ export const ImageError = {
174
+ MEDIA_ERROR: "MEDIA_ERROR",
175
+ NO_MEDIA: "NO_MEDIA",
176
+ };
177
+ export const FragmentSelectorType = {
178
+ PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
179
+ SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
180
+ };
196
181
  export const GetClipOutputFilterSensitiveLog = (obj) => ({
197
182
  ...obj,
198
183
  });
@@ -17,11 +17,16 @@ export declare class ClientLimitExceededException extends __BaseException {
17
17
  }
18
18
  /**
19
19
  * @public
20
+ * @enum
20
21
  */
21
- export declare enum ClipFragmentSelectorType {
22
- PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
23
- SERVER_TIMESTAMP = "SERVER_TIMESTAMP"
24
- }
22
+ export declare const ClipFragmentSelectorType: {
23
+ readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
24
+ readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
25
+ };
26
+ /**
27
+ * @public
28
+ */
29
+ export type ClipFragmentSelectorType = (typeof ClipFragmentSelectorType)[keyof typeof ClipFragmentSelectorType];
25
30
  /**
26
31
  * @public
27
32
  * <p>The range of timestamps for which to return fragments.</p>
@@ -226,11 +231,16 @@ export declare class UnsupportedStreamMediaTypeException extends __BaseException
226
231
  }
227
232
  /**
228
233
  * @public
234
+ * @enum
229
235
  */
230
- export declare enum DASHFragmentSelectorType {
231
- PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
232
- SERVER_TIMESTAMP = "SERVER_TIMESTAMP"
233
- }
236
+ export declare const DASHFragmentSelectorType: {
237
+ readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
238
+ readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
239
+ };
240
+ /**
241
+ * @public
242
+ */
243
+ export type DASHFragmentSelectorType = (typeof DASHFragmentSelectorType)[keyof typeof DASHFragmentSelectorType];
234
244
  /**
235
245
  * @public
236
246
  * <p>The start and end of the timestamp range for the requested media.</p>
@@ -311,26 +321,41 @@ export interface DASHFragmentSelector {
311
321
  }
312
322
  /**
313
323
  * @public
324
+ * @enum
314
325
  */
315
- export declare enum DASHDisplayFragmentNumber {
316
- ALWAYS = "ALWAYS",
317
- NEVER = "NEVER"
318
- }
326
+ export declare const DASHDisplayFragmentNumber: {
327
+ readonly ALWAYS: "ALWAYS";
328
+ readonly NEVER: "NEVER";
329
+ };
319
330
  /**
320
331
  * @public
321
332
  */
322
- export declare enum DASHDisplayFragmentTimestamp {
323
- ALWAYS = "ALWAYS",
324
- NEVER = "NEVER"
325
- }
333
+ export type DASHDisplayFragmentNumber = (typeof DASHDisplayFragmentNumber)[keyof typeof DASHDisplayFragmentNumber];
326
334
  /**
327
335
  * @public
336
+ * @enum
328
337
  */
329
- export declare enum DASHPlaybackMode {
330
- LIVE = "LIVE",
331
- LIVE_REPLAY = "LIVE_REPLAY",
332
- ON_DEMAND = "ON_DEMAND"
333
- }
338
+ export declare const DASHDisplayFragmentTimestamp: {
339
+ readonly ALWAYS: "ALWAYS";
340
+ readonly NEVER: "NEVER";
341
+ };
342
+ /**
343
+ * @public
344
+ */
345
+ export type DASHDisplayFragmentTimestamp = (typeof DASHDisplayFragmentTimestamp)[keyof typeof DASHDisplayFragmentTimestamp];
346
+ /**
347
+ * @public
348
+ * @enum
349
+ */
350
+ export declare const DASHPlaybackMode: {
351
+ readonly LIVE: "LIVE";
352
+ readonly LIVE_REPLAY: "LIVE_REPLAY";
353
+ readonly ON_DEMAND: "ON_DEMAND";
354
+ };
355
+ /**
356
+ * @public
357
+ */
358
+ export type DASHPlaybackMode = (typeof DASHPlaybackMode)[keyof typeof DASHPlaybackMode];
334
359
  /**
335
360
  * @public
336
361
  */
@@ -490,33 +515,53 @@ export interface GetDASHStreamingSessionURLOutput {
490
515
  }
491
516
  /**
492
517
  * @public
518
+ * @enum
493
519
  */
494
- export declare enum ContainerFormat {
495
- FRAGMENTED_MP4 = "FRAGMENTED_MP4",
496
- MPEG_TS = "MPEG_TS"
497
- }
520
+ export declare const ContainerFormat: {
521
+ readonly FRAGMENTED_MP4: "FRAGMENTED_MP4";
522
+ readonly MPEG_TS: "MPEG_TS";
523
+ };
498
524
  /**
499
525
  * @public
500
526
  */
501
- export declare enum HLSDiscontinuityMode {
502
- ALWAYS = "ALWAYS",
503
- NEVER = "NEVER",
504
- ON_DISCONTINUITY = "ON_DISCONTINUITY"
505
- }
527
+ export type ContainerFormat = (typeof ContainerFormat)[keyof typeof ContainerFormat];
506
528
  /**
507
529
  * @public
530
+ * @enum
508
531
  */
509
- export declare enum HLSDisplayFragmentTimestamp {
510
- ALWAYS = "ALWAYS",
511
- NEVER = "NEVER"
512
- }
532
+ export declare const HLSDiscontinuityMode: {
533
+ readonly ALWAYS: "ALWAYS";
534
+ readonly NEVER: "NEVER";
535
+ readonly ON_DISCONTINUITY: "ON_DISCONTINUITY";
536
+ };
513
537
  /**
514
538
  * @public
515
539
  */
516
- export declare enum HLSFragmentSelectorType {
517
- PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
518
- SERVER_TIMESTAMP = "SERVER_TIMESTAMP"
519
- }
540
+ export type HLSDiscontinuityMode = (typeof HLSDiscontinuityMode)[keyof typeof HLSDiscontinuityMode];
541
+ /**
542
+ * @public
543
+ * @enum
544
+ */
545
+ export declare const HLSDisplayFragmentTimestamp: {
546
+ readonly ALWAYS: "ALWAYS";
547
+ readonly NEVER: "NEVER";
548
+ };
549
+ /**
550
+ * @public
551
+ */
552
+ export type HLSDisplayFragmentTimestamp = (typeof HLSDisplayFragmentTimestamp)[keyof typeof HLSDisplayFragmentTimestamp];
553
+ /**
554
+ * @public
555
+ * @enum
556
+ */
557
+ export declare const HLSFragmentSelectorType: {
558
+ readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
559
+ readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
560
+ };
561
+ /**
562
+ * @public
563
+ */
564
+ export type HLSFragmentSelectorType = (typeof HLSFragmentSelectorType)[keyof typeof HLSFragmentSelectorType];
520
565
  /**
521
566
  * @public
522
567
  * <p>The start and end of the timestamp range for the requested media.</p>
@@ -593,12 +638,17 @@ export interface HLSFragmentSelector {
593
638
  }
594
639
  /**
595
640
  * @public
641
+ * @enum
596
642
  */
597
- export declare enum HLSPlaybackMode {
598
- LIVE = "LIVE",
599
- LIVE_REPLAY = "LIVE_REPLAY",
600
- ON_DEMAND = "ON_DEMAND"
601
- }
643
+ export declare const HLSPlaybackMode: {
644
+ readonly LIVE: "LIVE";
645
+ readonly LIVE_REPLAY: "LIVE_REPLAY";
646
+ readonly ON_DEMAND: "ON_DEMAND";
647
+ };
648
+ /**
649
+ * @public
650
+ */
651
+ export type HLSPlaybackMode = (typeof HLSPlaybackMode)[keyof typeof HLSPlaybackMode];
602
652
  /**
603
653
  * @public
604
654
  */
@@ -798,24 +848,39 @@ export interface GetHLSStreamingSessionURLOutput {
798
848
  }
799
849
  /**
800
850
  * @public
851
+ * @enum
801
852
  */
802
- export declare enum Format {
803
- JPEG = "JPEG",
804
- PNG = "PNG"
805
- }
853
+ export declare const Format: {
854
+ readonly JPEG: "JPEG";
855
+ readonly PNG: "PNG";
856
+ };
806
857
  /**
807
858
  * @public
808
859
  */
809
- export declare enum FormatConfigKey {
810
- JPEGQuality = "JPEGQuality"
811
- }
860
+ export type Format = (typeof Format)[keyof typeof Format];
812
861
  /**
813
862
  * @public
863
+ * @enum
814
864
  */
815
- export declare enum ImageSelectorType {
816
- PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
817
- SERVER_TIMESTAMP = "SERVER_TIMESTAMP"
818
- }
865
+ export declare const FormatConfigKey: {
866
+ readonly JPEGQuality: "JPEGQuality";
867
+ };
868
+ /**
869
+ * @public
870
+ */
871
+ export type FormatConfigKey = (typeof FormatConfigKey)[keyof typeof FormatConfigKey];
872
+ /**
873
+ * @public
874
+ * @enum
875
+ */
876
+ export declare const ImageSelectorType: {
877
+ readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
878
+ readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
879
+ };
880
+ /**
881
+ * @public
882
+ */
883
+ export type ImageSelectorType = (typeof ImageSelectorType)[keyof typeof ImageSelectorType];
819
884
  /**
820
885
  * @public
821
886
  */
@@ -884,11 +949,16 @@ export interface GetImagesInput {
884
949
  }
885
950
  /**
886
951
  * @public
952
+ * @enum
887
953
  */
888
- export declare enum ImageError {
889
- MEDIA_ERROR = "MEDIA_ERROR",
890
- NO_MEDIA = "NO_MEDIA"
891
- }
954
+ export declare const ImageError: {
955
+ readonly MEDIA_ERROR: "MEDIA_ERROR";
956
+ readonly NO_MEDIA: "NO_MEDIA";
957
+ };
958
+ /**
959
+ * @public
960
+ */
961
+ export type ImageError = (typeof ImageError)[keyof typeof ImageError];
892
962
  /**
893
963
  * @public
894
964
  * <p>A structure that contains the <code>Timestamp</code>, <code>Error</code>, and <code>ImageContent</code>.</p>
@@ -998,11 +1068,16 @@ export interface GetMediaForFragmentListOutput {
998
1068
  }
999
1069
  /**
1000
1070
  * @public
1071
+ * @enum
1001
1072
  */
1002
- export declare enum FragmentSelectorType {
1003
- PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
1004
- SERVER_TIMESTAMP = "SERVER_TIMESTAMP"
1005
- }
1073
+ export declare const FragmentSelectorType: {
1074
+ readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
1075
+ readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
1076
+ };
1077
+ /**
1078
+ * @public
1079
+ */
1080
+ export type FragmentSelectorType = (typeof FragmentSelectorType)[keyof typeof FragmentSelectorType];
1006
1081
  /**
1007
1082
  * @public
1008
1083
  * <p>The range of timestamps for which to return fragments.</p>
@@ -9,10 +9,12 @@ export declare class ClientLimitExceededException extends __BaseException {
9
9
  opts: __ExceptionOptionType<ClientLimitExceededException, __BaseException>
10
10
  );
11
11
  }
12
- export declare enum ClipFragmentSelectorType {
13
- PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
14
- SERVER_TIMESTAMP = "SERVER_TIMESTAMP",
15
- }
12
+ export declare const ClipFragmentSelectorType: {
13
+ readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
14
+ readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
15
+ };
16
+ export type ClipFragmentSelectorType =
17
+ (typeof ClipFragmentSelectorType)[keyof typeof ClipFragmentSelectorType];
16
18
  export interface ClipTimestampRange {
17
19
  StartTimestamp: Date | undefined;
18
20
  EndTimestamp: Date | undefined;
@@ -103,10 +105,12 @@ export declare class UnsupportedStreamMediaTypeException extends __BaseException
103
105
  >
104
106
  );
105
107
  }
106
- export declare enum DASHFragmentSelectorType {
107
- PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
108
- SERVER_TIMESTAMP = "SERVER_TIMESTAMP",
109
- }
108
+ export declare const DASHFragmentSelectorType: {
109
+ readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
110
+ readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
111
+ };
112
+ export type DASHFragmentSelectorType =
113
+ (typeof DASHFragmentSelectorType)[keyof typeof DASHFragmentSelectorType];
110
114
  export interface DASHTimestampRange {
111
115
  StartTimestamp?: Date;
112
116
  EndTimestamp?: Date;
@@ -115,19 +119,25 @@ export interface DASHFragmentSelector {
115
119
  FragmentSelectorType?: DASHFragmentSelectorType | string;
116
120
  TimestampRange?: DASHTimestampRange;
117
121
  }
118
- export declare enum DASHDisplayFragmentNumber {
119
- ALWAYS = "ALWAYS",
120
- NEVER = "NEVER",
121
- }
122
- export declare enum DASHDisplayFragmentTimestamp {
123
- ALWAYS = "ALWAYS",
124
- NEVER = "NEVER",
125
- }
126
- export declare enum DASHPlaybackMode {
127
- LIVE = "LIVE",
128
- LIVE_REPLAY = "LIVE_REPLAY",
129
- ON_DEMAND = "ON_DEMAND",
130
- }
122
+ export declare const DASHDisplayFragmentNumber: {
123
+ readonly ALWAYS: "ALWAYS";
124
+ readonly NEVER: "NEVER";
125
+ };
126
+ export type DASHDisplayFragmentNumber =
127
+ (typeof DASHDisplayFragmentNumber)[keyof typeof DASHDisplayFragmentNumber];
128
+ export declare const DASHDisplayFragmentTimestamp: {
129
+ readonly ALWAYS: "ALWAYS";
130
+ readonly NEVER: "NEVER";
131
+ };
132
+ export type DASHDisplayFragmentTimestamp =
133
+ (typeof DASHDisplayFragmentTimestamp)[keyof typeof DASHDisplayFragmentTimestamp];
134
+ export declare const DASHPlaybackMode: {
135
+ readonly LIVE: "LIVE";
136
+ readonly LIVE_REPLAY: "LIVE_REPLAY";
137
+ readonly ON_DEMAND: "ON_DEMAND";
138
+ };
139
+ export type DASHPlaybackMode =
140
+ (typeof DASHPlaybackMode)[keyof typeof DASHPlaybackMode];
131
141
  export interface GetDASHStreamingSessionURLInput {
132
142
  StreamName?: string;
133
143
  StreamARN?: string;
@@ -141,23 +151,31 @@ export interface GetDASHStreamingSessionURLInput {
141
151
  export interface GetDASHStreamingSessionURLOutput {
142
152
  DASHStreamingSessionURL?: string;
143
153
  }
144
- export declare enum ContainerFormat {
145
- FRAGMENTED_MP4 = "FRAGMENTED_MP4",
146
- MPEG_TS = "MPEG_TS",
147
- }
148
- export declare enum HLSDiscontinuityMode {
149
- ALWAYS = "ALWAYS",
150
- NEVER = "NEVER",
151
- ON_DISCONTINUITY = "ON_DISCONTINUITY",
152
- }
153
- export declare enum HLSDisplayFragmentTimestamp {
154
- ALWAYS = "ALWAYS",
155
- NEVER = "NEVER",
156
- }
157
- export declare enum HLSFragmentSelectorType {
158
- PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
159
- SERVER_TIMESTAMP = "SERVER_TIMESTAMP",
160
- }
154
+ export declare const ContainerFormat: {
155
+ readonly FRAGMENTED_MP4: "FRAGMENTED_MP4";
156
+ readonly MPEG_TS: "MPEG_TS";
157
+ };
158
+ export type ContainerFormat =
159
+ (typeof ContainerFormat)[keyof typeof ContainerFormat];
160
+ export declare const HLSDiscontinuityMode: {
161
+ readonly ALWAYS: "ALWAYS";
162
+ readonly NEVER: "NEVER";
163
+ readonly ON_DISCONTINUITY: "ON_DISCONTINUITY";
164
+ };
165
+ export type HLSDiscontinuityMode =
166
+ (typeof HLSDiscontinuityMode)[keyof typeof HLSDiscontinuityMode];
167
+ export declare const HLSDisplayFragmentTimestamp: {
168
+ readonly ALWAYS: "ALWAYS";
169
+ readonly NEVER: "NEVER";
170
+ };
171
+ export type HLSDisplayFragmentTimestamp =
172
+ (typeof HLSDisplayFragmentTimestamp)[keyof typeof HLSDisplayFragmentTimestamp];
173
+ export declare const HLSFragmentSelectorType: {
174
+ readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
175
+ readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
176
+ };
177
+ export type HLSFragmentSelectorType =
178
+ (typeof HLSFragmentSelectorType)[keyof typeof HLSFragmentSelectorType];
161
179
  export interface HLSTimestampRange {
162
180
  StartTimestamp?: Date;
163
181
  EndTimestamp?: Date;
@@ -166,11 +184,13 @@ export interface HLSFragmentSelector {
166
184
  FragmentSelectorType?: HLSFragmentSelectorType | string;
167
185
  TimestampRange?: HLSTimestampRange;
168
186
  }
169
- export declare enum HLSPlaybackMode {
170
- LIVE = "LIVE",
171
- LIVE_REPLAY = "LIVE_REPLAY",
172
- ON_DEMAND = "ON_DEMAND",
173
- }
187
+ export declare const HLSPlaybackMode: {
188
+ readonly LIVE: "LIVE";
189
+ readonly LIVE_REPLAY: "LIVE_REPLAY";
190
+ readonly ON_DEMAND: "ON_DEMAND";
191
+ };
192
+ export type HLSPlaybackMode =
193
+ (typeof HLSPlaybackMode)[keyof typeof HLSPlaybackMode];
174
194
  export interface GetHLSStreamingSessionURLInput {
175
195
  StreamName?: string;
176
196
  StreamARN?: string;
@@ -185,17 +205,22 @@ export interface GetHLSStreamingSessionURLInput {
185
205
  export interface GetHLSStreamingSessionURLOutput {
186
206
  HLSStreamingSessionURL?: string;
187
207
  }
188
- export declare enum Format {
189
- JPEG = "JPEG",
190
- PNG = "PNG",
191
- }
192
- export declare enum FormatConfigKey {
193
- JPEGQuality = "JPEGQuality",
194
- }
195
- export declare enum ImageSelectorType {
196
- PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
197
- SERVER_TIMESTAMP = "SERVER_TIMESTAMP",
198
- }
208
+ export declare const Format: {
209
+ readonly JPEG: "JPEG";
210
+ readonly PNG: "PNG";
211
+ };
212
+ export type Format = (typeof Format)[keyof typeof Format];
213
+ export declare const FormatConfigKey: {
214
+ readonly JPEGQuality: "JPEGQuality";
215
+ };
216
+ export type FormatConfigKey =
217
+ (typeof FormatConfigKey)[keyof typeof FormatConfigKey];
218
+ export declare const ImageSelectorType: {
219
+ readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
220
+ readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
221
+ };
222
+ export type ImageSelectorType =
223
+ (typeof ImageSelectorType)[keyof typeof ImageSelectorType];
199
224
  export interface GetImagesInput {
200
225
  StreamName?: string;
201
226
  StreamARN?: string;
@@ -210,10 +235,11 @@ export interface GetImagesInput {
210
235
  MaxResults?: number;
211
236
  NextToken?: string;
212
237
  }
213
- export declare enum ImageError {
214
- MEDIA_ERROR = "MEDIA_ERROR",
215
- NO_MEDIA = "NO_MEDIA",
216
- }
238
+ export declare const ImageError: {
239
+ readonly MEDIA_ERROR: "MEDIA_ERROR";
240
+ readonly NO_MEDIA: "NO_MEDIA";
241
+ };
242
+ export type ImageError = (typeof ImageError)[keyof typeof ImageError];
217
243
  export interface Image {
218
244
  TimeStamp?: Date;
219
245
  Error?: ImageError | string;
@@ -232,10 +258,12 @@ export interface GetMediaForFragmentListOutput {
232
258
  ContentType?: string;
233
259
  Payload?: Readable | ReadableStream | Blob;
234
260
  }
235
- export declare enum FragmentSelectorType {
236
- PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
237
- SERVER_TIMESTAMP = "SERVER_TIMESTAMP",
238
- }
261
+ export declare const FragmentSelectorType: {
262
+ readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
263
+ readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
264
+ };
265
+ export type FragmentSelectorType =
266
+ (typeof FragmentSelectorType)[keyof typeof FragmentSelectorType];
239
267
  export interface TimestampRange {
240
268
  StartTimestamp: Date | undefined;
241
269
  EndTimestamp: Date | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis-video-archived-media",
3
3
  "description": "AWS SDK for JavaScript Kinesis Video Archived Media Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.306.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,44 +21,44 @@
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-stream-browser": "3.296.0",
54
- "@aws-sdk/util-stream-node": "3.296.0",
55
- "@aws-sdk/util-user-agent-browser": "3.299.0",
56
- "@aws-sdk/util-user-agent-node": "3.300.0",
57
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.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.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-stream-browser": "3.306.0",
54
+ "@aws-sdk/util-stream-node": "3.306.0",
55
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
56
+ "@aws-sdk/util-user-agent-node": "3.306.0",
57
+ "@aws-sdk/util-utf8": "3.303.0",
58
58
  "tslib": "^2.5.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
61
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
62
62
  "@tsconfig/node14": "1.0.3",
63
63
  "@types/node": "^14.14.31",
64
64
  "concurrently": "7.0.0",