@aws-sdk/client-kinesis-video-archived-media 3.295.0 → 3.297.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/KinesisVideoArchivedMedia.d.ts +7 -0
- package/dist-types/KinesisVideoArchivedMediaClient.d.ts +24 -4
- package/dist-types/commands/GetClipCommand.d.ts +16 -0
- package/dist-types/commands/GetDASHStreamingSessionURLCommand.d.ts +16 -0
- package/dist-types/commands/GetHLSStreamingSessionURLCommand.d.ts +16 -0
- package/dist-types/commands/GetImagesCommand.d.ts +16 -0
- package/dist-types/commands/GetMediaForFragmentListCommand.d.ts +16 -0
- package/dist-types/commands/ListFragmentsCommand.d.ts +16 -0
- package/dist-types/models/KinesisVideoArchivedMediaServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +100 -0
- package/package.json +31 -31
|
@@ -7,10 +7,12 @@ import { GetMediaForFragmentListCommandInput, GetMediaForFragmentListCommandOutp
|
|
|
7
7
|
import { ListFragmentsCommandInput, ListFragmentsCommandOutput } from "./commands/ListFragmentsCommand";
|
|
8
8
|
import { KinesisVideoArchivedMediaClient } from "./KinesisVideoArchivedMediaClient";
|
|
9
9
|
/**
|
|
10
|
+
* @public
|
|
10
11
|
* <p></p>
|
|
11
12
|
*/
|
|
12
13
|
export declare class KinesisVideoArchivedMedia extends KinesisVideoArchivedMediaClient {
|
|
13
14
|
/**
|
|
15
|
+
* @public
|
|
14
16
|
* <p>Downloads an MP4 file (clip) containing the archived, on-demand media from the
|
|
15
17
|
* specified video stream over the specified time range. </p>
|
|
16
18
|
* <p>Both the StreamName and the StreamARN parameters are optional, but you must specify
|
|
@@ -57,6 +59,7 @@ export declare class KinesisVideoArchivedMedia extends KinesisVideoArchivedMedia
|
|
|
57
59
|
getClip(args: GetClipCommandInput, cb: (err: any, data?: GetClipCommandOutput) => void): void;
|
|
58
60
|
getClip(args: GetClipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClipCommandOutput) => void): void;
|
|
59
61
|
/**
|
|
62
|
+
* @public
|
|
60
63
|
* <p>Retrieves an MPEG Dynamic Adaptive Streaming over HTTP (DASH) URL for the stream. You
|
|
61
64
|
* can then open the URL in a media player to view the stream contents.</p>
|
|
62
65
|
*
|
|
@@ -209,6 +212,7 @@ export declare class KinesisVideoArchivedMedia extends KinesisVideoArchivedMedia
|
|
|
209
212
|
getDASHStreamingSessionURL(args: GetDASHStreamingSessionURLCommandInput, cb: (err: any, data?: GetDASHStreamingSessionURLCommandOutput) => void): void;
|
|
210
213
|
getDASHStreamingSessionURL(args: GetDASHStreamingSessionURLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDASHStreamingSessionURLCommandOutput) => void): void;
|
|
211
214
|
/**
|
|
215
|
+
* @public
|
|
212
216
|
* <p>Retrieves an HTTP Live Streaming (HLS) URL for the stream. You can then open the URL
|
|
213
217
|
* in a browser or media player to view the stream contents.</p>
|
|
214
218
|
* <p>Both the <code>StreamName</code> and the <code>StreamARN</code> parameters are
|
|
@@ -394,12 +398,14 @@ export declare class KinesisVideoArchivedMedia extends KinesisVideoArchivedMedia
|
|
|
394
398
|
getHLSStreamingSessionURL(args: GetHLSStreamingSessionURLCommandInput, cb: (err: any, data?: GetHLSStreamingSessionURLCommandOutput) => void): void;
|
|
395
399
|
getHLSStreamingSessionURL(args: GetHLSStreamingSessionURLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHLSStreamingSessionURLCommandOutput) => void): void;
|
|
396
400
|
/**
|
|
401
|
+
* @public
|
|
397
402
|
* <p>Retrieves a list of Images corresponding to each timestamp for a given time range, sampling interval, and image format configuration.</p>
|
|
398
403
|
*/
|
|
399
404
|
getImages(args: GetImagesCommandInput, options?: __HttpHandlerOptions): Promise<GetImagesCommandOutput>;
|
|
400
405
|
getImages(args: GetImagesCommandInput, cb: (err: any, data?: GetImagesCommandOutput) => void): void;
|
|
401
406
|
getImages(args: GetImagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetImagesCommandOutput) => void): void;
|
|
402
407
|
/**
|
|
408
|
+
* @public
|
|
403
409
|
* <p>Gets media for a list of fragments (specified by fragment number) from the archived
|
|
404
410
|
* data in an Amazon Kinesis video stream.</p>
|
|
405
411
|
*
|
|
@@ -442,6 +448,7 @@ export declare class KinesisVideoArchivedMedia extends KinesisVideoArchivedMedia
|
|
|
442
448
|
getMediaForFragmentList(args: GetMediaForFragmentListCommandInput, cb: (err: any, data?: GetMediaForFragmentListCommandOutput) => void): void;
|
|
443
449
|
getMediaForFragmentList(args: GetMediaForFragmentListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMediaForFragmentListCommandOutput) => void): void;
|
|
444
450
|
/**
|
|
451
|
+
* @public
|
|
445
452
|
* <p>Returns a list of <a>Fragment</a> objects from the specified stream and
|
|
446
453
|
* timestamp range within the archived data.</p>
|
|
447
454
|
* <p>Listing fragments is eventually consistent. This means that even if the producer
|
|
@@ -14,15 +14,24 @@ import { GetImagesCommandInput, GetImagesCommandOutput } from "./commands/GetIma
|
|
|
14
14
|
import { GetMediaForFragmentListCommandInput, GetMediaForFragmentListCommandOutput } from "./commands/GetMediaForFragmentListCommand";
|
|
15
15
|
import { ListFragmentsCommandInput, ListFragmentsCommandOutput } from "./commands/ListFragmentsCommand";
|
|
16
16
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
17
20
|
export type ServiceInputTypes = GetClipCommandInput | GetDASHStreamingSessionURLCommandInput | GetHLSStreamingSessionURLCommandInput | GetImagesCommandInput | GetMediaForFragmentListCommandInput | ListFragmentsCommandInput;
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
18
24
|
export type ServiceOutputTypes = GetClipCommandOutput | GetDASHStreamingSessionURLCommandOutput | GetHLSStreamingSessionURLCommandOutput | GetImagesCommandOutput | GetMediaForFragmentListCommandOutput | ListFragmentsCommandOutput;
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
19
28
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
20
29
|
/**
|
|
21
30
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
22
31
|
*/
|
|
23
32
|
requestHandler?: __HttpHandler;
|
|
24
33
|
/**
|
|
25
|
-
* A constructor for a class implementing the {@link
|
|
34
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
26
35
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
27
36
|
* @internal
|
|
28
37
|
*/
|
|
@@ -112,7 +121,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
112
121
|
*/
|
|
113
122
|
logger?: __Logger;
|
|
114
123
|
/**
|
|
115
|
-
* The {@link
|
|
124
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
116
125
|
*/
|
|
117
126
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
118
127
|
/**
|
|
@@ -121,19 +130,30 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
121
130
|
*/
|
|
122
131
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
123
132
|
}
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
124
136
|
type KinesisVideoArchivedMediaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
125
137
|
/**
|
|
126
|
-
*
|
|
138
|
+
* @public
|
|
139
|
+
*
|
|
140
|
+
* The configuration interface of KinesisVideoArchivedMediaClient class constructor that set the region, credentials and other options.
|
|
127
141
|
*/
|
|
128
142
|
export interface KinesisVideoArchivedMediaClientConfig extends KinesisVideoArchivedMediaClientConfigType {
|
|
129
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
130
147
|
type KinesisVideoArchivedMediaClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
131
148
|
/**
|
|
132
|
-
*
|
|
149
|
+
* @public
|
|
150
|
+
*
|
|
151
|
+
* The resolved configuration interface of KinesisVideoArchivedMediaClient class. This is resolved and normalized from the {@link KinesisVideoArchivedMediaClientConfig | constructor configuration interface}.
|
|
133
152
|
*/
|
|
134
153
|
export interface KinesisVideoArchivedMediaClientResolvedConfig extends KinesisVideoArchivedMediaClientResolvedConfigType {
|
|
135
154
|
}
|
|
136
155
|
/**
|
|
156
|
+
* @public
|
|
137
157
|
* <p></p>
|
|
138
158
|
*/
|
|
139
159
|
export declare class KinesisVideoArchivedMediaClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, KinesisVideoArchivedMediaClientResolvedConfig> {
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisVideoArchivedMediaClient";
|
|
5
5
|
import { GetClipInput, GetClipOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetClipCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetClipCommandInput extends GetClipInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetClipCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetClipCommandOutput extends __WithSdkStreamMixin<GetClipOutput, "Payload">, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Downloads an MP4 file (clip) containing the archived, on-demand media from the
|
|
18
23
|
* specified video stream over the specified time range. </p>
|
|
19
24
|
* <p>Both the StreamName and the StreamARN parameters are optional, but you must specify
|
|
@@ -65,6 +70,8 @@ export interface GetClipCommandOutput extends __WithSdkStreamMixin<GetClipOutput
|
|
|
65
70
|
* const response = await client.send(command);
|
|
66
71
|
* ```
|
|
67
72
|
*
|
|
73
|
+
* @param GetClipCommandInput - {@link GetClipCommandInput}
|
|
74
|
+
* @returns {@link GetClipCommandOutput}
|
|
68
75
|
* @see {@link GetClipCommandInput} for command's `input` shape.
|
|
69
76
|
* @see {@link GetClipCommandOutput} for command's `response` shape.
|
|
70
77
|
* @see {@link KinesisVideoArchivedMediaClientResolvedConfig | config} for KinesisVideoArchivedMediaClient's `config` shape.
|
|
@@ -118,11 +125,20 @@ export interface GetClipCommandOutput extends __WithSdkStreamMixin<GetClipOutput
|
|
|
118
125
|
export declare class GetClipCommand extends $Command<GetClipCommandInput, GetClipCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig> {
|
|
119
126
|
readonly input: GetClipCommandInput;
|
|
120
127
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
121
131
|
constructor(input: GetClipCommandInput);
|
|
122
132
|
/**
|
|
123
133
|
* @internal
|
|
124
134
|
*/
|
|
125
135
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisVideoArchivedMediaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetClipCommandInput, GetClipCommandOutput>;
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
126
139
|
private serialize;
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
127
143
|
private deserialize;
|
|
128
144
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisVideoArchivedMediaClient";
|
|
5
5
|
import { GetDASHStreamingSessionURLInput, GetDASHStreamingSessionURLOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetDASHStreamingSessionURLCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetDASHStreamingSessionURLCommandInput extends GetDASHStreamingSessionURLInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetDASHStreamingSessionURLCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetDASHStreamingSessionURLCommandOutput extends GetDASHStreamingSessionURLOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Retrieves an MPEG Dynamic Adaptive Streaming over HTTP (DASH) URL for the stream. You
|
|
18
23
|
* can then open the URL in a media player to view the stream contents.</p>
|
|
19
24
|
*
|
|
@@ -171,6 +176,8 @@ export interface GetDASHStreamingSessionURLCommandOutput extends GetDASHStreamin
|
|
|
171
176
|
* const response = await client.send(command);
|
|
172
177
|
* ```
|
|
173
178
|
*
|
|
179
|
+
* @param GetDASHStreamingSessionURLCommandInput - {@link GetDASHStreamingSessionURLCommandInput}
|
|
180
|
+
* @returns {@link GetDASHStreamingSessionURLCommandOutput}
|
|
174
181
|
* @see {@link GetDASHStreamingSessionURLCommandInput} for command's `input` shape.
|
|
175
182
|
* @see {@link GetDASHStreamingSessionURLCommandOutput} for command's `response` shape.
|
|
176
183
|
* @see {@link KinesisVideoArchivedMediaClientResolvedConfig | config} for KinesisVideoArchivedMediaClient's `config` shape.
|
|
@@ -220,11 +227,20 @@ export interface GetDASHStreamingSessionURLCommandOutput extends GetDASHStreamin
|
|
|
220
227
|
export declare class GetDASHStreamingSessionURLCommand extends $Command<GetDASHStreamingSessionURLCommandInput, GetDASHStreamingSessionURLCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig> {
|
|
221
228
|
readonly input: GetDASHStreamingSessionURLCommandInput;
|
|
222
229
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
230
|
+
/**
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
223
233
|
constructor(input: GetDASHStreamingSessionURLCommandInput);
|
|
224
234
|
/**
|
|
225
235
|
* @internal
|
|
226
236
|
*/
|
|
227
237
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisVideoArchivedMediaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDASHStreamingSessionURLCommandInput, GetDASHStreamingSessionURLCommandOutput>;
|
|
238
|
+
/**
|
|
239
|
+
* @internal
|
|
240
|
+
*/
|
|
228
241
|
private serialize;
|
|
242
|
+
/**
|
|
243
|
+
* @internal
|
|
244
|
+
*/
|
|
229
245
|
private deserialize;
|
|
230
246
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisVideoArchivedMediaClient";
|
|
5
5
|
import { GetHLSStreamingSessionURLInput, GetHLSStreamingSessionURLOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetHLSStreamingSessionURLCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetHLSStreamingSessionURLCommandInput extends GetHLSStreamingSessionURLInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetHLSStreamingSessionURLCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetHLSStreamingSessionURLCommandOutput extends GetHLSStreamingSessionURLOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Retrieves an HTTP Live Streaming (HLS) URL for the stream. You can then open the URL
|
|
18
23
|
* in a browser or media player to view the stream contents.</p>
|
|
19
24
|
* <p>Both the <code>StreamName</code> and the <code>StreamARN</code> parameters are
|
|
@@ -204,6 +209,8 @@ export interface GetHLSStreamingSessionURLCommandOutput extends GetHLSStreamingS
|
|
|
204
209
|
* const response = await client.send(command);
|
|
205
210
|
* ```
|
|
206
211
|
*
|
|
212
|
+
* @param GetHLSStreamingSessionURLCommandInput - {@link GetHLSStreamingSessionURLCommandInput}
|
|
213
|
+
* @returns {@link GetHLSStreamingSessionURLCommandOutput}
|
|
207
214
|
* @see {@link GetHLSStreamingSessionURLCommandInput} for command's `input` shape.
|
|
208
215
|
* @see {@link GetHLSStreamingSessionURLCommandOutput} for command's `response` shape.
|
|
209
216
|
* @see {@link KinesisVideoArchivedMediaClientResolvedConfig | config} for KinesisVideoArchivedMediaClient's `config` shape.
|
|
@@ -253,11 +260,20 @@ export interface GetHLSStreamingSessionURLCommandOutput extends GetHLSStreamingS
|
|
|
253
260
|
export declare class GetHLSStreamingSessionURLCommand extends $Command<GetHLSStreamingSessionURLCommandInput, GetHLSStreamingSessionURLCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig> {
|
|
254
261
|
readonly input: GetHLSStreamingSessionURLCommandInput;
|
|
255
262
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
263
|
+
/**
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
256
266
|
constructor(input: GetHLSStreamingSessionURLCommandInput);
|
|
257
267
|
/**
|
|
258
268
|
* @internal
|
|
259
269
|
*/
|
|
260
270
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisVideoArchivedMediaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetHLSStreamingSessionURLCommandInput, GetHLSStreamingSessionURLCommandOutput>;
|
|
271
|
+
/**
|
|
272
|
+
* @internal
|
|
273
|
+
*/
|
|
261
274
|
private serialize;
|
|
275
|
+
/**
|
|
276
|
+
* @internal
|
|
277
|
+
*/
|
|
262
278
|
private deserialize;
|
|
263
279
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisVideoArchivedMediaClient";
|
|
5
5
|
import { GetImagesInput, GetImagesOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetImagesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetImagesCommandInput extends GetImagesInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetImagesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetImagesCommandOutput extends GetImagesOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Retrieves a list of Images corresponding to each timestamp for a given time range, sampling interval, and image format configuration.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface GetImagesCommandOutput extends GetImagesOutput, __MetadataBeare
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param GetImagesCommandInput - {@link GetImagesCommandInput}
|
|
34
|
+
* @returns {@link GetImagesCommandOutput}
|
|
28
35
|
* @see {@link GetImagesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link GetImagesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link KinesisVideoArchivedMediaClientResolvedConfig | config} for KinesisVideoArchivedMediaClient's `config` shape.
|
|
@@ -57,11 +64,20 @@ export interface GetImagesCommandOutput extends GetImagesOutput, __MetadataBeare
|
|
|
57
64
|
export declare class GetImagesCommand extends $Command<GetImagesCommandInput, GetImagesCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig> {
|
|
58
65
|
readonly input: GetImagesCommandInput;
|
|
59
66
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
60
70
|
constructor(input: GetImagesCommandInput);
|
|
61
71
|
/**
|
|
62
72
|
* @internal
|
|
63
73
|
*/
|
|
64
74
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisVideoArchivedMediaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetImagesCommandInput, GetImagesCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
65
78
|
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
66
82
|
private deserialize;
|
|
67
83
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisVideoArchivedMediaClient";
|
|
5
5
|
import { GetMediaForFragmentListInput, GetMediaForFragmentListOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetMediaForFragmentListCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetMediaForFragmentListCommandInput extends GetMediaForFragmentListInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetMediaForFragmentListCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetMediaForFragmentListCommandOutput extends __WithSdkStreamMixin<GetMediaForFragmentListOutput, "Payload">, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets media for a list of fragments (specified by fragment number) from the archived
|
|
18
23
|
* data in an Amazon Kinesis video stream.</p>
|
|
19
24
|
*
|
|
@@ -61,6 +66,8 @@ export interface GetMediaForFragmentListCommandOutput extends __WithSdkStreamMix
|
|
|
61
66
|
* const response = await client.send(command);
|
|
62
67
|
* ```
|
|
63
68
|
*
|
|
69
|
+
* @param GetMediaForFragmentListCommandInput - {@link GetMediaForFragmentListCommandInput}
|
|
70
|
+
* @returns {@link GetMediaForFragmentListCommandOutput}
|
|
64
71
|
* @see {@link GetMediaForFragmentListCommandInput} for command's `input` shape.
|
|
65
72
|
* @see {@link GetMediaForFragmentListCommandOutput} for command's `response` shape.
|
|
66
73
|
* @see {@link KinesisVideoArchivedMediaClientResolvedConfig | config} for KinesisVideoArchivedMediaClient's `config` shape.
|
|
@@ -93,11 +100,20 @@ export interface GetMediaForFragmentListCommandOutput extends __WithSdkStreamMix
|
|
|
93
100
|
export declare class GetMediaForFragmentListCommand extends $Command<GetMediaForFragmentListCommandInput, GetMediaForFragmentListCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig> {
|
|
94
101
|
readonly input: GetMediaForFragmentListCommandInput;
|
|
95
102
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
96
106
|
constructor(input: GetMediaForFragmentListCommandInput);
|
|
97
107
|
/**
|
|
98
108
|
* @internal
|
|
99
109
|
*/
|
|
100
110
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisVideoArchivedMediaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMediaForFragmentListCommandInput, GetMediaForFragmentListCommandOutput>;
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
101
114
|
private serialize;
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
102
118
|
private deserialize;
|
|
103
119
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KinesisVideoArchivedMediaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisVideoArchivedMediaClient";
|
|
5
5
|
import { ListFragmentsInput, ListFragmentsOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListFragmentsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListFragmentsCommandInput extends ListFragmentsInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListFragmentsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListFragmentsCommandOutput extends ListFragmentsOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns a list of <a>Fragment</a> objects from the specified stream and
|
|
18
23
|
* timestamp range within the archived data.</p>
|
|
19
24
|
* <p>Listing fragments is eventually consistent. This means that even if the producer
|
|
@@ -61,6 +66,8 @@ export interface ListFragmentsCommandOutput extends ListFragmentsOutput, __Metad
|
|
|
61
66
|
* const response = await client.send(command);
|
|
62
67
|
* ```
|
|
63
68
|
*
|
|
69
|
+
* @param ListFragmentsCommandInput - {@link ListFragmentsCommandInput}
|
|
70
|
+
* @returns {@link ListFragmentsCommandOutput}
|
|
64
71
|
* @see {@link ListFragmentsCommandInput} for command's `input` shape.
|
|
65
72
|
* @see {@link ListFragmentsCommandOutput} for command's `response` shape.
|
|
66
73
|
* @see {@link KinesisVideoArchivedMediaClientResolvedConfig | config} for KinesisVideoArchivedMediaClient's `config` shape.
|
|
@@ -93,11 +100,20 @@ export interface ListFragmentsCommandOutput extends ListFragmentsOutput, __Metad
|
|
|
93
100
|
export declare class ListFragmentsCommand extends $Command<ListFragmentsCommandInput, ListFragmentsCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig> {
|
|
94
101
|
readonly input: ListFragmentsCommandInput;
|
|
95
102
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
96
106
|
constructor(input: ListFragmentsCommandInput);
|
|
97
107
|
/**
|
|
98
108
|
* @internal
|
|
99
109
|
*/
|
|
100
110
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisVideoArchivedMediaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListFragmentsCommandInput, ListFragmentsCommandOutput>;
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
101
114
|
private serialize;
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
102
118
|
private deserialize;
|
|
103
119
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from KinesisVideoArchivedMedia service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class KinesisVideoArchivedMediaServiceException extends __ServiceException {
|
|
@@ -3,6 +3,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
3
3
|
import { Readable } from "stream";
|
|
4
4
|
import { KinesisVideoArchivedMediaServiceException as __BaseException } from "./KinesisVideoArchivedMediaServiceException";
|
|
5
5
|
/**
|
|
6
|
+
* @public
|
|
6
7
|
* <p>Kinesis Video Streams has throttled the request because you have exceeded a limit. Try making the call later. For information about limits, see <a href="http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html">Kinesis Video Streams Limits</a>.</p>
|
|
7
8
|
*/
|
|
8
9
|
export declare class ClientLimitExceededException extends __BaseException {
|
|
@@ -14,11 +15,15 @@ export declare class ClientLimitExceededException extends __BaseException {
|
|
|
14
15
|
*/
|
|
15
16
|
constructor(opts: __ExceptionOptionType<ClientLimitExceededException, __BaseException>);
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
17
21
|
export declare enum ClipFragmentSelectorType {
|
|
18
22
|
PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
|
|
19
23
|
SERVER_TIMESTAMP = "SERVER_TIMESTAMP"
|
|
20
24
|
}
|
|
21
25
|
/**
|
|
26
|
+
* @public
|
|
22
27
|
* <p>The range of timestamps for which to return fragments.</p>
|
|
23
28
|
*/
|
|
24
29
|
export interface ClipTimestampRange {
|
|
@@ -44,6 +49,7 @@ export interface ClipTimestampRange {
|
|
|
44
49
|
EndTimestamp: Date | undefined;
|
|
45
50
|
}
|
|
46
51
|
/**
|
|
52
|
+
* @public
|
|
47
53
|
* <p>Describes the timestamp range and timestamp origin of a range of fragments.</p>
|
|
48
54
|
* <p>Fragments that have duplicate producer timestamps are deduplicated. This means that if
|
|
49
55
|
* producers are producing a stream of fragments with producer timestamps that are
|
|
@@ -62,6 +68,9 @@ export interface ClipFragmentSelector {
|
|
|
62
68
|
*/
|
|
63
69
|
TimestampRange: ClipTimestampRange | undefined;
|
|
64
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
65
74
|
export interface GetClipInput {
|
|
66
75
|
/**
|
|
67
76
|
* <p>The name of the stream for which to retrieve the media clip. </p>
|
|
@@ -78,6 +87,9 @@ export interface GetClipInput {
|
|
|
78
87
|
*/
|
|
79
88
|
ClipFragmentSelector: ClipFragmentSelector | undefined;
|
|
80
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
81
93
|
export interface GetClipOutput {
|
|
82
94
|
/**
|
|
83
95
|
* <p>The content type of the media in the requested clip.</p>
|
|
@@ -92,6 +104,7 @@ export interface GetClipOutput {
|
|
|
92
104
|
Payload?: Readable | ReadableStream | Blob;
|
|
93
105
|
}
|
|
94
106
|
/**
|
|
107
|
+
* @public
|
|
95
108
|
* <p>A specified parameter exceeds its restrictions, is not supported, or can't be
|
|
96
109
|
* used.</p>
|
|
97
110
|
*/
|
|
@@ -105,6 +118,7 @@ export declare class InvalidArgumentException extends __BaseException {
|
|
|
105
118
|
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
106
119
|
}
|
|
107
120
|
/**
|
|
121
|
+
* @public
|
|
108
122
|
* <p>The codec private data in at least one of the tracks of the video stream is not valid
|
|
109
123
|
* for this operation.</p>
|
|
110
124
|
*/
|
|
@@ -118,6 +132,7 @@ export declare class InvalidCodecPrivateDataException extends __BaseException {
|
|
|
118
132
|
constructor(opts: __ExceptionOptionType<InvalidCodecPrivateDataException, __BaseException>);
|
|
119
133
|
}
|
|
120
134
|
/**
|
|
135
|
+
* @public
|
|
121
136
|
* <p>One or more frames in the requested clip could not be parsed based on the specified
|
|
122
137
|
* codec.</p>
|
|
123
138
|
*/
|
|
@@ -131,6 +146,7 @@ export declare class InvalidMediaFrameException extends __BaseException {
|
|
|
131
146
|
constructor(opts: __ExceptionOptionType<InvalidMediaFrameException, __BaseException>);
|
|
132
147
|
}
|
|
133
148
|
/**
|
|
149
|
+
* @public
|
|
134
150
|
* <p>No codec private data was found in at least one of tracks of the video stream.</p>
|
|
135
151
|
*/
|
|
136
152
|
export declare class MissingCodecPrivateDataException extends __BaseException {
|
|
@@ -143,6 +159,7 @@ export declare class MissingCodecPrivateDataException extends __BaseException {
|
|
|
143
159
|
constructor(opts: __ExceptionOptionType<MissingCodecPrivateDataException, __BaseException>);
|
|
144
160
|
}
|
|
145
161
|
/**
|
|
162
|
+
* @public
|
|
146
163
|
* <p>A streaming session was requested for a stream that does not retain data (that is, has
|
|
147
164
|
* a <code>DataRetentionInHours</code> of 0). </p>
|
|
148
165
|
*/
|
|
@@ -156,6 +173,7 @@ export declare class NoDataRetentionException extends __BaseException {
|
|
|
156
173
|
constructor(opts: __ExceptionOptionType<NoDataRetentionException, __BaseException>);
|
|
157
174
|
}
|
|
158
175
|
/**
|
|
176
|
+
* @public
|
|
159
177
|
* <p>Status Code: 403, The caller is not authorized to perform an operation on the given
|
|
160
178
|
* stream, or the token has expired.</p>
|
|
161
179
|
*/
|
|
@@ -169,6 +187,7 @@ export declare class NotAuthorizedException extends __BaseException {
|
|
|
169
187
|
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
170
188
|
}
|
|
171
189
|
/**
|
|
190
|
+
* @public
|
|
172
191
|
* <p>
|
|
173
192
|
* <code>GetMedia</code> throws this error when Kinesis Video Streams can't find the stream
|
|
174
193
|
* that you specified.</p>
|
|
@@ -190,6 +209,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
190
209
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
191
210
|
}
|
|
192
211
|
/**
|
|
212
|
+
* @public
|
|
193
213
|
* <p>The type of the media (for example, h.264 or h.265 video or ACC or G.711 audio) could
|
|
194
214
|
* not be determined from the codec IDs of the tracks in the first fragment for a playback
|
|
195
215
|
* session. The codec ID for track 1 should be <code>V_MPEG/ISO/AVC</code> and, optionally,
|
|
@@ -204,11 +224,15 @@ export declare class UnsupportedStreamMediaTypeException extends __BaseException
|
|
|
204
224
|
*/
|
|
205
225
|
constructor(opts: __ExceptionOptionType<UnsupportedStreamMediaTypeException, __BaseException>);
|
|
206
226
|
}
|
|
227
|
+
/**
|
|
228
|
+
* @public
|
|
229
|
+
*/
|
|
207
230
|
export declare enum DASHFragmentSelectorType {
|
|
208
231
|
PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
|
|
209
232
|
SERVER_TIMESTAMP = "SERVER_TIMESTAMP"
|
|
210
233
|
}
|
|
211
234
|
/**
|
|
235
|
+
* @public
|
|
212
236
|
* <p>The start and end of the timestamp range for the requested media.</p>
|
|
213
237
|
* <p>This value should not be present if <code>PlaybackType</code> is
|
|
214
238
|
* <code>LIVE</code>.</p>
|
|
@@ -249,6 +273,7 @@ export interface DASHTimestampRange {
|
|
|
249
273
|
EndTimestamp?: Date;
|
|
250
274
|
}
|
|
251
275
|
/**
|
|
276
|
+
* @public
|
|
252
277
|
* <p>Contains the range of timestamps for the requested media, and the source of the
|
|
253
278
|
* timestamps. </p>
|
|
254
279
|
*/
|
|
@@ -284,19 +309,31 @@ export interface DASHFragmentSelector {
|
|
|
284
309
|
*/
|
|
285
310
|
TimestampRange?: DASHTimestampRange;
|
|
286
311
|
}
|
|
312
|
+
/**
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
287
315
|
export declare enum DASHDisplayFragmentNumber {
|
|
288
316
|
ALWAYS = "ALWAYS",
|
|
289
317
|
NEVER = "NEVER"
|
|
290
318
|
}
|
|
319
|
+
/**
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
291
322
|
export declare enum DASHDisplayFragmentTimestamp {
|
|
292
323
|
ALWAYS = "ALWAYS",
|
|
293
324
|
NEVER = "NEVER"
|
|
294
325
|
}
|
|
326
|
+
/**
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
295
329
|
export declare enum DASHPlaybackMode {
|
|
296
330
|
LIVE = "LIVE",
|
|
297
331
|
LIVE_REPLAY = "LIVE_REPLAY",
|
|
298
332
|
ON_DEMAND = "ON_DEMAND"
|
|
299
333
|
}
|
|
334
|
+
/**
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
300
337
|
export interface GetDASHStreamingSessionURLInput {
|
|
301
338
|
/**
|
|
302
339
|
* <p>The name of the stream for which to retrieve the MPEG-DASH manifest URL.</p>
|
|
@@ -441,6 +478,9 @@ export interface GetDASHStreamingSessionURLInput {
|
|
|
441
478
|
*/
|
|
442
479
|
MaxManifestFragmentResults?: number;
|
|
443
480
|
}
|
|
481
|
+
/**
|
|
482
|
+
* @public
|
|
483
|
+
*/
|
|
444
484
|
export interface GetDASHStreamingSessionURLOutput {
|
|
445
485
|
/**
|
|
446
486
|
* <p>The URL (containing the session token) that a media player can use to retrieve the
|
|
@@ -448,24 +488,37 @@ export interface GetDASHStreamingSessionURLOutput {
|
|
|
448
488
|
*/
|
|
449
489
|
DASHStreamingSessionURL?: string;
|
|
450
490
|
}
|
|
491
|
+
/**
|
|
492
|
+
* @public
|
|
493
|
+
*/
|
|
451
494
|
export declare enum ContainerFormat {
|
|
452
495
|
FRAGMENTED_MP4 = "FRAGMENTED_MP4",
|
|
453
496
|
MPEG_TS = "MPEG_TS"
|
|
454
497
|
}
|
|
498
|
+
/**
|
|
499
|
+
* @public
|
|
500
|
+
*/
|
|
455
501
|
export declare enum HLSDiscontinuityMode {
|
|
456
502
|
ALWAYS = "ALWAYS",
|
|
457
503
|
NEVER = "NEVER",
|
|
458
504
|
ON_DISCONTINUITY = "ON_DISCONTINUITY"
|
|
459
505
|
}
|
|
506
|
+
/**
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
460
509
|
export declare enum HLSDisplayFragmentTimestamp {
|
|
461
510
|
ALWAYS = "ALWAYS",
|
|
462
511
|
NEVER = "NEVER"
|
|
463
512
|
}
|
|
513
|
+
/**
|
|
514
|
+
* @public
|
|
515
|
+
*/
|
|
464
516
|
export declare enum HLSFragmentSelectorType {
|
|
465
517
|
PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
|
|
466
518
|
SERVER_TIMESTAMP = "SERVER_TIMESTAMP"
|
|
467
519
|
}
|
|
468
520
|
/**
|
|
521
|
+
* @public
|
|
469
522
|
* <p>The start and end of the timestamp range for the requested media.</p>
|
|
470
523
|
* <p>This value should not be present if <code>PlaybackType</code> is
|
|
471
524
|
* <code>LIVE</code>.</p>
|
|
@@ -502,6 +555,7 @@ export interface HLSTimestampRange {
|
|
|
502
555
|
EndTimestamp?: Date;
|
|
503
556
|
}
|
|
504
557
|
/**
|
|
558
|
+
* @public
|
|
505
559
|
* <p>Contains the range of timestamps for the requested media, and the source of the
|
|
506
560
|
* timestamps.</p>
|
|
507
561
|
*/
|
|
@@ -537,11 +591,17 @@ export interface HLSFragmentSelector {
|
|
|
537
591
|
*/
|
|
538
592
|
TimestampRange?: HLSTimestampRange;
|
|
539
593
|
}
|
|
594
|
+
/**
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
540
597
|
export declare enum HLSPlaybackMode {
|
|
541
598
|
LIVE = "LIVE",
|
|
542
599
|
LIVE_REPLAY = "LIVE_REPLAY",
|
|
543
600
|
ON_DEMAND = "ON_DEMAND"
|
|
544
601
|
}
|
|
602
|
+
/**
|
|
603
|
+
* @public
|
|
604
|
+
*/
|
|
545
605
|
export interface GetHLSStreamingSessionURLInput {
|
|
546
606
|
/**
|
|
547
607
|
* <p>The name of the stream for which to retrieve the HLS master playlist URL.</p>
|
|
@@ -726,6 +786,9 @@ export interface GetHLSStreamingSessionURLInput {
|
|
|
726
786
|
*/
|
|
727
787
|
MaxMediaPlaylistFragmentResults?: number;
|
|
728
788
|
}
|
|
789
|
+
/**
|
|
790
|
+
* @public
|
|
791
|
+
*/
|
|
729
792
|
export interface GetHLSStreamingSessionURLOutput {
|
|
730
793
|
/**
|
|
731
794
|
* <p>The URL (containing the session token) that a media player can use to retrieve the HLS
|
|
@@ -733,17 +796,29 @@ export interface GetHLSStreamingSessionURLOutput {
|
|
|
733
796
|
*/
|
|
734
797
|
HLSStreamingSessionURL?: string;
|
|
735
798
|
}
|
|
799
|
+
/**
|
|
800
|
+
* @public
|
|
801
|
+
*/
|
|
736
802
|
export declare enum Format {
|
|
737
803
|
JPEG = "JPEG",
|
|
738
804
|
PNG = "PNG"
|
|
739
805
|
}
|
|
806
|
+
/**
|
|
807
|
+
* @public
|
|
808
|
+
*/
|
|
740
809
|
export declare enum FormatConfigKey {
|
|
741
810
|
JPEGQuality = "JPEGQuality"
|
|
742
811
|
}
|
|
812
|
+
/**
|
|
813
|
+
* @public
|
|
814
|
+
*/
|
|
743
815
|
export declare enum ImageSelectorType {
|
|
744
816
|
PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
|
|
745
817
|
SERVER_TIMESTAMP = "SERVER_TIMESTAMP"
|
|
746
818
|
}
|
|
819
|
+
/**
|
|
820
|
+
* @public
|
|
821
|
+
*/
|
|
747
822
|
export interface GetImagesInput {
|
|
748
823
|
/**
|
|
749
824
|
* <p>The name of the stream from which to retrieve the images. You must specify either the <code>StreamName</code> or the <code>StreamARN</code>.</p>
|
|
@@ -807,11 +882,15 @@ export interface GetImagesInput {
|
|
|
807
882
|
*/
|
|
808
883
|
NextToken?: string;
|
|
809
884
|
}
|
|
885
|
+
/**
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
810
888
|
export declare enum ImageError {
|
|
811
889
|
MEDIA_ERROR = "MEDIA_ERROR",
|
|
812
890
|
NO_MEDIA = "NO_MEDIA"
|
|
813
891
|
}
|
|
814
892
|
/**
|
|
893
|
+
* @public
|
|
815
894
|
* <p>A structure that contains the <code>Timestamp</code>, <code>Error</code>, and <code>ImageContent</code>.</p>
|
|
816
895
|
*/
|
|
817
896
|
export interface Image {
|
|
@@ -840,6 +919,9 @@ export interface Image {
|
|
|
840
919
|
*/
|
|
841
920
|
ImageContent?: string;
|
|
842
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* @public
|
|
924
|
+
*/
|
|
843
925
|
export interface GetImagesOutput {
|
|
844
926
|
/**
|
|
845
927
|
* <p>The list of images generated from the video stream. If there is no media available for the given timestamp, the <code>NO_MEDIA</code> error will be listed in the output.
|
|
@@ -851,6 +933,9 @@ export interface GetImagesOutput {
|
|
|
851
933
|
*/
|
|
852
934
|
NextToken?: string;
|
|
853
935
|
}
|
|
936
|
+
/**
|
|
937
|
+
* @public
|
|
938
|
+
*/
|
|
854
939
|
export interface GetMediaForFragmentListInput {
|
|
855
940
|
/**
|
|
856
941
|
* <p>The name of the stream from which to retrieve fragment media. Specify either this parameter or the <code>StreamARN</code> parameter.</p>
|
|
@@ -866,6 +951,9 @@ export interface GetMediaForFragmentListInput {
|
|
|
866
951
|
*/
|
|
867
952
|
Fragments: string[] | undefined;
|
|
868
953
|
}
|
|
954
|
+
/**
|
|
955
|
+
* @public
|
|
956
|
+
*/
|
|
869
957
|
export interface GetMediaForFragmentListOutput {
|
|
870
958
|
/**
|
|
871
959
|
* <p>The content type of the requested media.</p>
|
|
@@ -908,11 +996,15 @@ export interface GetMediaForFragmentListOutput {
|
|
|
908
996
|
*/
|
|
909
997
|
Payload?: Readable | ReadableStream | Blob;
|
|
910
998
|
}
|
|
999
|
+
/**
|
|
1000
|
+
* @public
|
|
1001
|
+
*/
|
|
911
1002
|
export declare enum FragmentSelectorType {
|
|
912
1003
|
PRODUCER_TIMESTAMP = "PRODUCER_TIMESTAMP",
|
|
913
1004
|
SERVER_TIMESTAMP = "SERVER_TIMESTAMP"
|
|
914
1005
|
}
|
|
915
1006
|
/**
|
|
1007
|
+
* @public
|
|
916
1008
|
* <p>The range of timestamps for which to return fragments.</p>
|
|
917
1009
|
*/
|
|
918
1010
|
export interface TimestampRange {
|
|
@@ -927,6 +1019,7 @@ export interface TimestampRange {
|
|
|
927
1019
|
EndTimestamp: Date | undefined;
|
|
928
1020
|
}
|
|
929
1021
|
/**
|
|
1022
|
+
* @public
|
|
930
1023
|
* <p>Describes the timestamp range and timestamp origin of a range of fragments.</p>
|
|
931
1024
|
* <p>Only fragments with a start timestamp greater than or equal to the given start time
|
|
932
1025
|
* and less than or equal to the end time are returned. For example, if a stream contains
|
|
@@ -958,6 +1051,9 @@ export interface FragmentSelector {
|
|
|
958
1051
|
*/
|
|
959
1052
|
TimestampRange: TimestampRange | undefined;
|
|
960
1053
|
}
|
|
1054
|
+
/**
|
|
1055
|
+
* @public
|
|
1056
|
+
*/
|
|
961
1057
|
export interface ListFragmentsInput {
|
|
962
1058
|
/**
|
|
963
1059
|
* <p>The name of the stream from which to retrieve a fragment list. Specify either this parameter or the <code>StreamARN</code> parameter.</p>
|
|
@@ -985,6 +1081,7 @@ export interface ListFragmentsInput {
|
|
|
985
1081
|
FragmentSelector?: FragmentSelector;
|
|
986
1082
|
}
|
|
987
1083
|
/**
|
|
1084
|
+
* @public
|
|
988
1085
|
* <p>Represents a segment of video or other time-delimited data.</p>
|
|
989
1086
|
*/
|
|
990
1087
|
export interface Fragment {
|
|
@@ -1011,6 +1108,9 @@ export interface Fragment {
|
|
|
1011
1108
|
*/
|
|
1012
1109
|
FragmentLengthInMilliseconds?: number;
|
|
1013
1110
|
}
|
|
1111
|
+
/**
|
|
1112
|
+
* @public
|
|
1113
|
+
*/
|
|
1014
1114
|
export interface ListFragmentsOutput {
|
|
1015
1115
|
/**
|
|
1016
1116
|
* <p>A list of archived <a>Fragment</a> objects from the stream that meet the
|
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.297.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,39 +20,39 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
43
|
+
"@aws-sdk/types": "3.296.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.295.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
53
|
-
"@aws-sdk/util-stream-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-stream-browser": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-stream-node": "3.296.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
56
56
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
57
57
|
"tslib": "^2.5.0"
|
|
58
58
|
},
|