@aws-sdk/client-kinesis-video-archived-media 3.428.0 → 3.430.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.
@@ -69,7 +69,7 @@ export interface ClipFragmentSelector {
69
69
  * @public
70
70
  * <p>The origin of the timestamps to use (Server or Producer).</p>
71
71
  */
72
- FragmentSelectorType: ClipFragmentSelectorType | string | undefined;
72
+ FragmentSelectorType: ClipFragmentSelectorType | undefined;
73
73
  /**
74
74
  * @public
75
75
  * <p>The range of timestamps to return.</p>
@@ -321,7 +321,7 @@ export interface DASHFragmentSelector {
321
321
  * timestamps with values now, they are not included in the HLS media playlist.</p>
322
322
  * <p>The default is <code>SERVER_TIMESTAMP</code>.</p>
323
323
  */
324
- FragmentSelectorType?: DASHFragmentSelectorType | string;
324
+ FragmentSelectorType?: DASHFragmentSelectorType;
325
325
  /**
326
326
  * @public
327
327
  * <p>The start and end of the timestamp range for the requested media.</p>
@@ -449,7 +449,7 @@ export interface GetDASHStreamingSessionURLInput {
449
449
  * player.</p>
450
450
  * <p>The default is <code>LIVE</code>.</p>
451
451
  */
452
- PlaybackMode?: DASHPlaybackMode | string;
452
+ PlaybackMode?: DASHPlaybackMode;
453
453
  /**
454
454
  * @public
455
455
  * <p>Per the MPEG-DASH specification, the wall-clock time of fragments in the manifest file
@@ -467,7 +467,7 @@ export interface GetDASHStreamingSessionURLInput {
467
467
  * <code>PRODUCER_TIMESTAMP</code>, the timestamps will be the producer start
468
468
  * timestamps. </p>
469
469
  */
470
- DisplayFragmentTimestamp?: DASHDisplayFragmentTimestamp | string;
470
+ DisplayFragmentTimestamp?: DASHDisplayFragmentTimestamp;
471
471
  /**
472
472
  * @public
473
473
  * <p>Fragments are identified in the manifest file based on their sequence number in the
@@ -479,7 +479,7 @@ export interface GetDASHStreamingSessionURLInput {
479
479
  * attribute.</p>
480
480
  * <p>The default value is <code>NEVER</code>.</p>
481
481
  */
482
- DisplayFragmentNumber?: DASHDisplayFragmentNumber | string;
482
+ DisplayFragmentNumber?: DASHDisplayFragmentNumber;
483
483
  /**
484
484
  * @public
485
485
  * <p>The time range of the requested fragment and the source of the timestamps.</p>
@@ -651,7 +651,7 @@ export interface HLSFragmentSelector {
651
651
  * timestamps with values now, they are not included in the HLS media playlist.</p>
652
652
  * <p>The default is <code>SERVER_TIMESTAMP</code>.</p>
653
653
  */
654
- FragmentSelectorType?: HLSFragmentSelectorType | string;
654
+ FragmentSelectorType?: HLSFragmentSelectorType;
655
655
  /**
656
656
  * @public
657
657
  * <p>The start and end of the timestamp range for the requested media.</p>
@@ -755,7 +755,7 @@ export interface GetHLSStreamingSessionURLInput {
755
755
  * player.</p>
756
756
  * <p>The default is <code>LIVE</code>.</p>
757
757
  */
758
- PlaybackMode?: HLSPlaybackMode | string;
758
+ PlaybackMode?: HLSPlaybackMode;
759
759
  /**
760
760
  * @public
761
761
  * <p>The time range of the requested fragment and the source of the timestamps.</p>
@@ -779,7 +779,7 @@ export interface GetHLSStreamingSessionURLInput {
779
779
  * MPEG TS typically requires 5-25 percent more bandwidth and cost than fMP4.</p>
780
780
  * <p>The default is <code>FRAGMENTED_MP4</code>.</p>
781
781
  */
782
- ContainerFormat?: ContainerFormat | string;
782
+ ContainerFormat?: ContainerFormat;
783
783
  /**
784
784
  * @public
785
785
  * <p>Specifies when flags marking discontinuities between fragments are added to the media
@@ -821,7 +821,7 @@ export interface GetHLSStreamingSessionURLInput {
821
821
  * to <code>SERVER_TIMESTAMP</code>, and <code>NEVER</code> when it is set to
822
822
  * <code>PRODUCER_TIMESTAMP</code>.</p>
823
823
  */
824
- DiscontinuityMode?: HLSDiscontinuityMode | string;
824
+ DiscontinuityMode?: HLSDiscontinuityMode;
825
825
  /**
826
826
  * @public
827
827
  * <p>Specifies when the fragment start timestamps should be included in the HLS media
@@ -837,7 +837,7 @@ export interface GetHLSStreamingSessionURLInput {
837
837
  * <code>PRODUCER_TIMESTAMP</code>, the timestamps will be the producer start timestamps.
838
838
  * </p>
839
839
  */
840
- DisplayFragmentTimestamp?: HLSDisplayFragmentTimestamp | string;
840
+ DisplayFragmentTimestamp?: HLSDisplayFragmentTimestamp;
841
841
  /**
842
842
  * @public
843
843
  * <p>The time in seconds until the requested session expires. This value can be between 300
@@ -933,7 +933,7 @@ export interface GetImagesInput {
933
933
  * @public
934
934
  * <p>The origin of the Server or Producer timestamps to use to generate the images.</p>
935
935
  */
936
- ImageSelectorType: ImageSelectorType | string | undefined;
936
+ ImageSelectorType: ImageSelectorType | undefined;
937
937
  /**
938
938
  * @public
939
939
  * <p>The starting point from which the images should be generated. This <code>StartTimestamp</code> must be within an inclusive range of timestamps for an image to be returned.</p>
@@ -959,14 +959,14 @@ export interface GetImagesInput {
959
959
  * @public
960
960
  * <p>The format that will be used to encode the image.</p>
961
961
  */
962
- Format: Format | string | undefined;
962
+ Format: Format | undefined;
963
963
  /**
964
964
  * @public
965
965
  * <p>The list of a key-value pair structure that contains extra parameters that can be applied when the image is generated. The <code>FormatConfig</code> key is the <code>JPEGQuality</code>, which indicates the JPEG quality key to be used to generate the image.
966
966
  * The <code>FormatConfig</code> value accepts ints from 1 to 100. If the value is 1, the image will be generated with less quality and the best compression.
967
967
  * 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> key will be set to 80.</p>
968
968
  */
969
- FormatConfig?: Record<string, string>;
969
+ FormatConfig?: Record<FormatConfigKey, string>;
970
970
  /**
971
971
  * @public
972
972
  * <p>The width of the output image that is used in conjunction with the <code>HeightPixels</code> parameter. When both <code>WidthPixels</code> and <code>HeightPixels</code> parameters are provided,
@@ -1033,7 +1033,7 @@ export interface Image {
1033
1033
  * </li>
1034
1034
  * </ul>
1035
1035
  */
1036
- Error?: ImageError | string;
1036
+ Error?: ImageError;
1037
1037
  /**
1038
1038
  * @public
1039
1039
  * <p>An attribute of the <code>Image</code> object that is Base64 encoded.</p>
@@ -1181,7 +1181,7 @@ export interface FragmentSelector {
1181
1181
  * @public
1182
1182
  * <p>The origin of the timestamps to use (Server or Producer).</p>
1183
1183
  */
1184
- FragmentSelectorType: FragmentSelectorType | string | undefined;
1184
+ FragmentSelectorType: FragmentSelectorType | undefined;
1185
1185
  /**
1186
1186
  * @public
1187
1187
  * <p>The range of timestamps to return.</p>
@@ -20,7 +20,7 @@ export interface ClipTimestampRange {
20
20
  EndTimestamp: Date | undefined;
21
21
  }
22
22
  export interface ClipFragmentSelector {
23
- FragmentSelectorType: ClipFragmentSelectorType | string | undefined;
23
+ FragmentSelectorType: ClipFragmentSelectorType | undefined;
24
24
  TimestampRange: ClipTimestampRange | undefined;
25
25
  }
26
26
  export interface GetClipInput {
@@ -116,7 +116,7 @@ export interface DASHTimestampRange {
116
116
  EndTimestamp?: Date;
117
117
  }
118
118
  export interface DASHFragmentSelector {
119
- FragmentSelectorType?: DASHFragmentSelectorType | string;
119
+ FragmentSelectorType?: DASHFragmentSelectorType;
120
120
  TimestampRange?: DASHTimestampRange;
121
121
  }
122
122
  export declare const DASHDisplayFragmentNumber: {
@@ -141,9 +141,9 @@ export type DASHPlaybackMode =
141
141
  export interface GetDASHStreamingSessionURLInput {
142
142
  StreamName?: string;
143
143
  StreamARN?: string;
144
- PlaybackMode?: DASHPlaybackMode | string;
145
- DisplayFragmentTimestamp?: DASHDisplayFragmentTimestamp | string;
146
- DisplayFragmentNumber?: DASHDisplayFragmentNumber | string;
144
+ PlaybackMode?: DASHPlaybackMode;
145
+ DisplayFragmentTimestamp?: DASHDisplayFragmentTimestamp;
146
+ DisplayFragmentNumber?: DASHDisplayFragmentNumber;
147
147
  DASHFragmentSelector?: DASHFragmentSelector;
148
148
  Expires?: number;
149
149
  MaxManifestFragmentResults?: number;
@@ -181,7 +181,7 @@ export interface HLSTimestampRange {
181
181
  EndTimestamp?: Date;
182
182
  }
183
183
  export interface HLSFragmentSelector {
184
- FragmentSelectorType?: HLSFragmentSelectorType | string;
184
+ FragmentSelectorType?: HLSFragmentSelectorType;
185
185
  TimestampRange?: HLSTimestampRange;
186
186
  }
187
187
  export declare const HLSPlaybackMode: {
@@ -194,11 +194,11 @@ export type HLSPlaybackMode =
194
194
  export interface GetHLSStreamingSessionURLInput {
195
195
  StreamName?: string;
196
196
  StreamARN?: string;
197
- PlaybackMode?: HLSPlaybackMode | string;
197
+ PlaybackMode?: HLSPlaybackMode;
198
198
  HLSFragmentSelector?: HLSFragmentSelector;
199
- ContainerFormat?: ContainerFormat | string;
200
- DiscontinuityMode?: HLSDiscontinuityMode | string;
201
- DisplayFragmentTimestamp?: HLSDisplayFragmentTimestamp | string;
199
+ ContainerFormat?: ContainerFormat;
200
+ DiscontinuityMode?: HLSDiscontinuityMode;
201
+ DisplayFragmentTimestamp?: HLSDisplayFragmentTimestamp;
202
202
  Expires?: number;
203
203
  MaxMediaPlaylistFragmentResults?: number;
204
204
  }
@@ -224,12 +224,12 @@ export type ImageSelectorType =
224
224
  export interface GetImagesInput {
225
225
  StreamName?: string;
226
226
  StreamARN?: string;
227
- ImageSelectorType: ImageSelectorType | string | undefined;
227
+ ImageSelectorType: ImageSelectorType | undefined;
228
228
  StartTimestamp: Date | undefined;
229
229
  EndTimestamp: Date | undefined;
230
230
  SamplingInterval?: number;
231
- Format: Format | string | undefined;
232
- FormatConfig?: Record<string, string>;
231
+ Format: Format | undefined;
232
+ FormatConfig?: Record<FormatConfigKey, string>;
233
233
  WidthPixels?: number;
234
234
  HeightPixels?: number;
235
235
  MaxResults?: number;
@@ -242,7 +242,7 @@ export declare const ImageError: {
242
242
  export type ImageError = (typeof ImageError)[keyof typeof ImageError];
243
243
  export interface Image {
244
244
  TimeStamp?: Date;
245
- Error?: ImageError | string;
245
+ Error?: ImageError;
246
246
  ImageContent?: string;
247
247
  }
248
248
  export interface GetImagesOutput {
@@ -269,7 +269,7 @@ export interface TimestampRange {
269
269
  EndTimestamp: Date | undefined;
270
270
  }
271
271
  export interface FragmentSelector {
272
- FragmentSelectorType: FragmentSelectorType | string | undefined;
272
+ FragmentSelectorType: FragmentSelectorType | undefined;
273
273
  TimestampRange: TimestampRange | undefined;
274
274
  }
275
275
  export interface ListFragmentsInput {
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.428.0",
4
+ "version": "3.430.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,28 +21,28 @@
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.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.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",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
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",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-stream": "^2.0.16",
58
58
  "@smithy/util-utf8": "^2.0.0",