@aws-sdk/client-kinesis-video-archived-media 3.481.0 → 3.484.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/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/GetClipCommand.d.ts +2 -1
- package/dist-types/commands/GetDASHStreamingSessionURLCommand.d.ts +2 -1
- package/dist-types/commands/GetHLSStreamingSessionURLCommand.d.ts +2 -1
- package/dist-types/commands/GetImagesCommand.d.ts +7 -1
- package/dist-types/models/models_0.d.ts +7 -8
- package/package.json +6 -6
|
@@ -319,6 +319,9 @@ const de_GetImagesCommandError = async (output, context) => {
|
|
|
319
319
|
case "InvalidArgumentException":
|
|
320
320
|
case "com.amazonaws.kinesisvideoarchivedmedia#InvalidArgumentException":
|
|
321
321
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
322
|
+
case "NoDataRetentionException":
|
|
323
|
+
case "com.amazonaws.kinesisvideoarchivedmedia#NoDataRetentionException":
|
|
324
|
+
throw await de_NoDataRetentionExceptionRes(parsedOutput, context);
|
|
322
325
|
case "NotAuthorizedException":
|
|
323
326
|
case "com.amazonaws.kinesisvideoarchivedmedia#NotAuthorizedException":
|
|
324
327
|
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
@@ -306,6 +306,9 @@ const de_GetImagesCommandError = async (output, context) => {
|
|
|
306
306
|
case "InvalidArgumentException":
|
|
307
307
|
case "com.amazonaws.kinesisvideoarchivedmedia#InvalidArgumentException":
|
|
308
308
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
309
|
+
case "NoDataRetentionException":
|
|
310
|
+
case "com.amazonaws.kinesisvideoarchivedmedia#NoDataRetentionException":
|
|
311
|
+
throw await de_NoDataRetentionExceptionRes(parsedOutput, context);
|
|
309
312
|
case "NotAuthorizedException":
|
|
310
313
|
case "com.amazonaws.kinesisvideoarchivedmedia#NotAuthorizedException":
|
|
311
314
|
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
@@ -117,7 +117,8 @@ declare const GetClipCommand_base: {
|
|
|
117
117
|
* <p>No codec private data was found in at least one of tracks of the video stream.</p>
|
|
118
118
|
*
|
|
119
119
|
* @throws {@link NoDataRetentionException} (client fault)
|
|
120
|
-
* <p>
|
|
120
|
+
* <p>
|
|
121
|
+
* <code>GetImages</code> was requested for a stream that does not retain data (that is, has
|
|
121
122
|
* a <code>DataRetentionInHours</code> of 0). </p>
|
|
122
123
|
*
|
|
123
124
|
* @throws {@link NotAuthorizedException} (client fault)
|
|
@@ -221,7 +221,8 @@ declare const GetDASHStreamingSessionURLCommand_base: {
|
|
|
221
221
|
* <p>No codec private data was found in at least one of tracks of the video stream.</p>
|
|
222
222
|
*
|
|
223
223
|
* @throws {@link NoDataRetentionException} (client fault)
|
|
224
|
-
* <p>
|
|
224
|
+
* <p>
|
|
225
|
+
* <code>GetImages</code> was requested for a stream that does not retain data (that is, has
|
|
225
226
|
* a <code>DataRetentionInHours</code> of 0). </p>
|
|
226
227
|
*
|
|
227
228
|
* @throws {@link NotAuthorizedException} (client fault)
|
|
@@ -264,7 +264,8 @@ declare const GetHLSStreamingSessionURLCommand_base: {
|
|
|
264
264
|
* <p>No codec private data was found in at least one of tracks of the video stream.</p>
|
|
265
265
|
*
|
|
266
266
|
* @throws {@link NoDataRetentionException} (client fault)
|
|
267
|
-
* <p>
|
|
267
|
+
* <p>
|
|
268
|
+
* <code>GetImages</code> was requested for a stream that does not retain data (that is, has
|
|
268
269
|
* a <code>DataRetentionInHours</code> of 0). </p>
|
|
269
270
|
*
|
|
270
271
|
* @throws {@link NotAuthorizedException} (client fault)
|
|
@@ -26,7 +26,8 @@ declare const GetImagesCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Retrieves a list of
|
|
29
|
+
* <p>Retrieves a list of images corresponding to each timestamp for a given time range,
|
|
30
|
+
* sampling interval, and image format configuration.</p>
|
|
30
31
|
* @example
|
|
31
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
33
|
* ```javascript
|
|
@@ -77,6 +78,11 @@ declare const GetImagesCommand_base: {
|
|
|
77
78
|
* <p>A specified parameter exceeds its restrictions, is not supported, or can't be
|
|
78
79
|
* used.</p>
|
|
79
80
|
*
|
|
81
|
+
* @throws {@link NoDataRetentionException} (client fault)
|
|
82
|
+
* <p>
|
|
83
|
+
* <code>GetImages</code> was requested for a stream that does not retain data (that is, has
|
|
84
|
+
* a <code>DataRetentionInHours</code> of 0). </p>
|
|
85
|
+
*
|
|
80
86
|
* @throws {@link NotAuthorizedException} (client fault)
|
|
81
87
|
* <p>Status Code: 403, The caller is not authorized to perform an operation on the given
|
|
82
88
|
* stream, or the token has expired.</p>
|
|
@@ -173,7 +173,8 @@ export declare class MissingCodecPrivateDataException extends __BaseException {
|
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
175
|
* @public
|
|
176
|
-
* <p>
|
|
176
|
+
* <p>
|
|
177
|
+
* <code>GetImages</code> was requested for a stream that does not retain data (that is, has
|
|
177
178
|
* a <code>DataRetentionInHours</code> of 0). </p>
|
|
178
179
|
*/
|
|
179
180
|
export declare class NoDataRetentionException extends __BaseException {
|
|
@@ -946,13 +947,8 @@ export interface GetImagesInput {
|
|
|
946
947
|
EndTimestamp: Date | undefined;
|
|
947
948
|
/**
|
|
948
949
|
* @public
|
|
949
|
-
* <p>The time interval in milliseconds (ms) at which the images need to be generated from
|
|
950
|
-
*
|
|
951
|
-
* If the timestamp range is less than the sampling interval, the Image from the
|
|
952
|
-
* <code>startTimestamp</code> will be returned if available. </p>
|
|
953
|
-
* <note>
|
|
954
|
-
* <p>The minimum value of 200 ms is a hard limit.</p>
|
|
955
|
-
* </note>
|
|
950
|
+
* <p>The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum value that can be provided is 200 ms (5 images per second). If the timestamp range is less than the sampling interval, the image from the <code>startTimestamp</code> will be returned if available.
|
|
951
|
+
* </p>
|
|
956
952
|
*/
|
|
957
953
|
SamplingInterval?: number;
|
|
958
954
|
/**
|
|
@@ -1219,6 +1215,9 @@ export interface ListFragmentsInput {
|
|
|
1219
1215
|
* @public
|
|
1220
1216
|
* <p>Describes the timestamp range and timestamp origin for the range of fragments to
|
|
1221
1217
|
* return.</p>
|
|
1218
|
+
* <note>
|
|
1219
|
+
* <p>This is only required when the <code>NextToken</code> isn't passed in the API.</p>
|
|
1220
|
+
* </note>
|
|
1222
1221
|
*/
|
|
1223
1222
|
FragmentSelector?: FragmentSelector;
|
|
1224
1223
|
}
|
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.
|
|
4
|
+
"version": "3.484.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",
|
|
@@ -20,20 +20,20 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.484.0",
|
|
24
24
|
"@aws-sdk/core": "3.481.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.484.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
30
|
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.484.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
+
"@smithy/config-resolver": "^2.0.22",
|
|
37
37
|
"@smithy/core": "^1.2.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
39
39
|
"@smithy/hash-node": "^2.0.17",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@smithy/util-body-length-browser": "^2.0.1",
|
|
54
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
55
55
|
"@smithy/util-defaults-mode-browser": "^2.0.23",
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.0.31",
|
|
57
57
|
"@smithy/util-endpoints": "^1.0.7",
|
|
58
58
|
"@smithy/util-retry": "^2.0.8",
|
|
59
59
|
"@smithy/util-stream": "^2.0.23",
|