@aws-sdk/client-kinesis-video-archived-media 3.299.0 → 3.300.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-types/commands/GetClipCommand.d.ts +11 -0
- package/dist-types/commands/GetDASHStreamingSessionURLCommand.d.ts +16 -0
- package/dist-types/commands/GetHLSStreamingSessionURLCommand.d.ts +17 -0
- package/dist-types/commands/GetImagesCommand.d.ts +16 -0
- package/dist-types/commands/GetMediaForFragmentListCommand.d.ts +7 -0
- package/dist-types/commands/ListFragmentsCommand.d.ts +13 -0
- package/package.json +8 -8
|
@@ -66,6 +66,17 @@ export interface GetClipCommandOutput extends __WithSdkStreamMixin<GetClipOutput
|
|
|
66
66
|
* import { KinesisVideoArchivedMediaClient, GetClipCommand } from "@aws-sdk/client-kinesis-video-archived-media"; // ES Modules import
|
|
67
67
|
* // const { KinesisVideoArchivedMediaClient, GetClipCommand } = require("@aws-sdk/client-kinesis-video-archived-media"); // CommonJS import
|
|
68
68
|
* const client = new KinesisVideoArchivedMediaClient(config);
|
|
69
|
+
* const input = {
|
|
70
|
+
* StreamName: "STRING_VALUE",
|
|
71
|
+
* StreamARN: "STRING_VALUE",
|
|
72
|
+
* ClipFragmentSelector: {
|
|
73
|
+
* FragmentSelectorType: "STRING_VALUE", // required
|
|
74
|
+
* TimestampRange: {
|
|
75
|
+
* StartTimestamp: new Date("TIMESTAMP"), // required
|
|
76
|
+
* EndTimestamp: new Date("TIMESTAMP"), // required
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* };
|
|
69
80
|
* const command = new GetClipCommand(input);
|
|
70
81
|
* const response = await client.send(command);
|
|
71
82
|
* ```
|
|
@@ -172,6 +172,22 @@ export interface GetDASHStreamingSessionURLCommandOutput extends GetDASHStreamin
|
|
|
172
172
|
* import { KinesisVideoArchivedMediaClient, GetDASHStreamingSessionURLCommand } from "@aws-sdk/client-kinesis-video-archived-media"; // ES Modules import
|
|
173
173
|
* // const { KinesisVideoArchivedMediaClient, GetDASHStreamingSessionURLCommand } = require("@aws-sdk/client-kinesis-video-archived-media"); // CommonJS import
|
|
174
174
|
* const client = new KinesisVideoArchivedMediaClient(config);
|
|
175
|
+
* const input = {
|
|
176
|
+
* StreamName: "STRING_VALUE",
|
|
177
|
+
* StreamARN: "STRING_VALUE",
|
|
178
|
+
* PlaybackMode: "STRING_VALUE",
|
|
179
|
+
* DisplayFragmentTimestamp: "STRING_VALUE",
|
|
180
|
+
* DisplayFragmentNumber: "STRING_VALUE",
|
|
181
|
+
* DASHFragmentSelector: {
|
|
182
|
+
* FragmentSelectorType: "STRING_VALUE",
|
|
183
|
+
* TimestampRange: {
|
|
184
|
+
* StartTimestamp: new Date("TIMESTAMP"),
|
|
185
|
+
* EndTimestamp: new Date("TIMESTAMP"),
|
|
186
|
+
* },
|
|
187
|
+
* },
|
|
188
|
+
* Expires: Number("int"),
|
|
189
|
+
* MaxManifestFragmentResults: Number("long"),
|
|
190
|
+
* };
|
|
175
191
|
* const command = new GetDASHStreamingSessionURLCommand(input);
|
|
176
192
|
* const response = await client.send(command);
|
|
177
193
|
* ```
|
|
@@ -205,6 +205,23 @@ export interface GetHLSStreamingSessionURLCommandOutput extends GetHLSStreamingS
|
|
|
205
205
|
* import { KinesisVideoArchivedMediaClient, GetHLSStreamingSessionURLCommand } from "@aws-sdk/client-kinesis-video-archived-media"; // ES Modules import
|
|
206
206
|
* // const { KinesisVideoArchivedMediaClient, GetHLSStreamingSessionURLCommand } = require("@aws-sdk/client-kinesis-video-archived-media"); // CommonJS import
|
|
207
207
|
* const client = new KinesisVideoArchivedMediaClient(config);
|
|
208
|
+
* const input = {
|
|
209
|
+
* StreamName: "STRING_VALUE",
|
|
210
|
+
* StreamARN: "STRING_VALUE",
|
|
211
|
+
* PlaybackMode: "STRING_VALUE",
|
|
212
|
+
* HLSFragmentSelector: {
|
|
213
|
+
* FragmentSelectorType: "STRING_VALUE",
|
|
214
|
+
* TimestampRange: {
|
|
215
|
+
* StartTimestamp: new Date("TIMESTAMP"),
|
|
216
|
+
* EndTimestamp: new Date("TIMESTAMP"),
|
|
217
|
+
* },
|
|
218
|
+
* },
|
|
219
|
+
* ContainerFormat: "STRING_VALUE",
|
|
220
|
+
* DiscontinuityMode: "STRING_VALUE",
|
|
221
|
+
* DisplayFragmentTimestamp: "STRING_VALUE",
|
|
222
|
+
* Expires: Number("int"),
|
|
223
|
+
* MaxMediaPlaylistFragmentResults: Number("long"),
|
|
224
|
+
* };
|
|
208
225
|
* const command = new GetHLSStreamingSessionURLCommand(input);
|
|
209
226
|
* const response = await client.send(command);
|
|
210
227
|
* ```
|
|
@@ -26,6 +26,22 @@ export interface GetImagesCommandOutput extends GetImagesOutput, __MetadataBeare
|
|
|
26
26
|
* import { KinesisVideoArchivedMediaClient, GetImagesCommand } from "@aws-sdk/client-kinesis-video-archived-media"; // ES Modules import
|
|
27
27
|
* // const { KinesisVideoArchivedMediaClient, GetImagesCommand } = require("@aws-sdk/client-kinesis-video-archived-media"); // CommonJS import
|
|
28
28
|
* const client = new KinesisVideoArchivedMediaClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* StreamName: "STRING_VALUE",
|
|
31
|
+
* StreamARN: "STRING_VALUE",
|
|
32
|
+
* ImageSelectorType: "STRING_VALUE", // required
|
|
33
|
+
* StartTimestamp: new Date("TIMESTAMP"), // required
|
|
34
|
+
* EndTimestamp: new Date("TIMESTAMP"), // required
|
|
35
|
+
* SamplingInterval: Number("int"), // required
|
|
36
|
+
* Format: "STRING_VALUE", // required
|
|
37
|
+
* FormatConfig: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* WidthPixels: Number("int"),
|
|
41
|
+
* HeightPixels: Number("int"),
|
|
42
|
+
* MaxResults: Number("long"),
|
|
43
|
+
* NextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
29
45
|
* const command = new GetImagesCommand(input);
|
|
30
46
|
* const response = await client.send(command);
|
|
31
47
|
* ```
|
|
@@ -62,6 +62,13 @@ export interface GetMediaForFragmentListCommandOutput extends __WithSdkStreamMix
|
|
|
62
62
|
* import { KinesisVideoArchivedMediaClient, GetMediaForFragmentListCommand } from "@aws-sdk/client-kinesis-video-archived-media"; // ES Modules import
|
|
63
63
|
* // const { KinesisVideoArchivedMediaClient, GetMediaForFragmentListCommand } = require("@aws-sdk/client-kinesis-video-archived-media"); // CommonJS import
|
|
64
64
|
* const client = new KinesisVideoArchivedMediaClient(config);
|
|
65
|
+
* const input = {
|
|
66
|
+
* StreamName: "STRING_VALUE",
|
|
67
|
+
* StreamARN: "STRING_VALUE",
|
|
68
|
+
* Fragments: [ // required
|
|
69
|
+
* "STRING_VALUE",
|
|
70
|
+
* ],
|
|
71
|
+
* };
|
|
65
72
|
* const command = new GetMediaForFragmentListCommand(input);
|
|
66
73
|
* const response = await client.send(command);
|
|
67
74
|
* ```
|
|
@@ -62,6 +62,19 @@ export interface ListFragmentsCommandOutput extends ListFragmentsOutput, __Metad
|
|
|
62
62
|
* import { KinesisVideoArchivedMediaClient, ListFragmentsCommand } from "@aws-sdk/client-kinesis-video-archived-media"; // ES Modules import
|
|
63
63
|
* // const { KinesisVideoArchivedMediaClient, ListFragmentsCommand } = require("@aws-sdk/client-kinesis-video-archived-media"); // CommonJS import
|
|
64
64
|
* const client = new KinesisVideoArchivedMediaClient(config);
|
|
65
|
+
* const input = {
|
|
66
|
+
* StreamName: "STRING_VALUE",
|
|
67
|
+
* StreamARN: "STRING_VALUE",
|
|
68
|
+
* MaxResults: Number("long"),
|
|
69
|
+
* NextToken: "STRING_VALUE",
|
|
70
|
+
* FragmentSelector: {
|
|
71
|
+
* FragmentSelectorType: "STRING_VALUE", // required
|
|
72
|
+
* TimestampRange: {
|
|
73
|
+
* StartTimestamp: new Date("TIMESTAMP"), // required
|
|
74
|
+
* EndTimestamp: new Date("TIMESTAMP"), // required
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* };
|
|
65
78
|
* const command = new ListFragmentsCommand(input);
|
|
66
79
|
* const response = await client.send(command);
|
|
67
80
|
* ```
|
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.300.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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-stream-browser": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-stream-node": "3.296.0",
|
|
55
55
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
56
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
57
57
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|