1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class KinesisVideo extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: KinesisVideo.Types.ClientConfiguration)
|
13 | config: Config & KinesisVideo.Types.ClientConfiguration;
|
14 | /**
|
15 | * Creates a signaling channel. CreateSignalingChannel is an asynchronous operation.
|
16 | */
|
17 | createSignalingChannel(params: KinesisVideo.Types.CreateSignalingChannelInput, callback?: (err: AWSError, data: KinesisVideo.Types.CreateSignalingChannelOutput) => void): Request<KinesisVideo.Types.CreateSignalingChannelOutput, AWSError>;
|
18 | /**
|
19 | * Creates a signaling channel. CreateSignalingChannel is an asynchronous operation.
|
20 | */
|
21 | createSignalingChannel(callback?: (err: AWSError, data: KinesisVideo.Types.CreateSignalingChannelOutput) => void): Request<KinesisVideo.Types.CreateSignalingChannelOutput, AWSError>;
|
22 | /**
|
23 | * Creates a new Kinesis video stream. When you create a new stream, Kinesis Video Streams assigns it a version number. When you change the stream's metadata, Kinesis Video Streams updates the version. CreateStream is an asynchronous operation. For information about how the service works, see How it Works. You must have permissions for the KinesisVideo:CreateStream action.
|
24 | */
|
25 | createStream(params: KinesisVideo.Types.CreateStreamInput, callback?: (err: AWSError, data: KinesisVideo.Types.CreateStreamOutput) => void): Request<KinesisVideo.Types.CreateStreamOutput, AWSError>;
|
26 | /**
|
27 | * Creates a new Kinesis video stream. When you create a new stream, Kinesis Video Streams assigns it a version number. When you change the stream's metadata, Kinesis Video Streams updates the version. CreateStream is an asynchronous operation. For information about how the service works, see How it Works. You must have permissions for the KinesisVideo:CreateStream action.
|
28 | */
|
29 | createStream(callback?: (err: AWSError, data: KinesisVideo.Types.CreateStreamOutput) => void): Request<KinesisVideo.Types.CreateStreamOutput, AWSError>;
|
30 | /**
|
31 | * Deletes a specified signaling channel. DeleteSignalingChannel is an asynchronous operation. If you don't specify the channel's current version, the most recent version is deleted.
|
32 | */
|
33 | deleteSignalingChannel(params: KinesisVideo.Types.DeleteSignalingChannelInput, callback?: (err: AWSError, data: KinesisVideo.Types.DeleteSignalingChannelOutput) => void): Request<KinesisVideo.Types.DeleteSignalingChannelOutput, AWSError>;
|
34 | /**
|
35 | * Deletes a specified signaling channel. DeleteSignalingChannel is an asynchronous operation. If you don't specify the channel's current version, the most recent version is deleted.
|
36 | */
|
37 | deleteSignalingChannel(callback?: (err: AWSError, data: KinesisVideo.Types.DeleteSignalingChannelOutput) => void): Request<KinesisVideo.Types.DeleteSignalingChannelOutput, AWSError>;
|
38 | /**
|
39 | * Deletes a Kinesis video stream and the data contained in the stream. This method marks the stream for deletion, and makes the data in the stream inaccessible immediately. To ensure that you have the latest version of the stream before deleting it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the DescribeStream API. This operation requires permission for the KinesisVideo:DeleteStream action.
|
40 | */
|
41 | deleteStream(params: KinesisVideo.Types.DeleteStreamInput, callback?: (err: AWSError, data: KinesisVideo.Types.DeleteStreamOutput) => void): Request<KinesisVideo.Types.DeleteStreamOutput, AWSError>;
|
42 | /**
|
43 | * Deletes a Kinesis video stream and the data contained in the stream. This method marks the stream for deletion, and makes the data in the stream inaccessible immediately. To ensure that you have the latest version of the stream before deleting it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the DescribeStream API. This operation requires permission for the KinesisVideo:DeleteStream action.
|
44 | */
|
45 | deleteStream(callback?: (err: AWSError, data: KinesisVideo.Types.DeleteStreamOutput) => void): Request<KinesisVideo.Types.DeleteStreamOutput, AWSError>;
|
46 | /**
|
47 | * Returns the most current information about the signaling channel. You must specify either the name or the ARN of the channel that you want to describe.
|
48 | */
|
49 | describeSignalingChannel(params: KinesisVideo.Types.DescribeSignalingChannelInput, callback?: (err: AWSError, data: KinesisVideo.Types.DescribeSignalingChannelOutput) => void): Request<KinesisVideo.Types.DescribeSignalingChannelOutput, AWSError>;
|
50 | /**
|
51 | * Returns the most current information about the signaling channel. You must specify either the name or the ARN of the channel that you want to describe.
|
52 | */
|
53 | describeSignalingChannel(callback?: (err: AWSError, data: KinesisVideo.Types.DescribeSignalingChannelOutput) => void): Request<KinesisVideo.Types.DescribeSignalingChannelOutput, AWSError>;
|
54 | /**
|
55 | * Returns the most current information about the specified stream. You must specify either the StreamName or the StreamARN.
|
56 | */
|
57 | describeStream(params: KinesisVideo.Types.DescribeStreamInput, callback?: (err: AWSError, data: KinesisVideo.Types.DescribeStreamOutput) => void): Request<KinesisVideo.Types.DescribeStreamOutput, AWSError>;
|
58 | /**
|
59 | * Returns the most current information about the specified stream. You must specify either the StreamName or the StreamARN.
|
60 | */
|
61 | describeStream(callback?: (err: AWSError, data: KinesisVideo.Types.DescribeStreamOutput) => void): Request<KinesisVideo.Types.DescribeStreamOutput, AWSError>;
|
62 | /**
|
63 | * Gets an endpoint for a specified stream for either reading or writing. Use this endpoint in your application to read from the specified stream (using the GetMedia or GetMediaForFragmentList operations) or write to it (using the PutMedia operation). The returned endpoint does not have the API name appended. The client needs to add the API name to the returned endpoint. In the request, specify the stream either by StreamName or StreamARN.
|
64 | */
|
65 | getDataEndpoint(params: KinesisVideo.Types.GetDataEndpointInput, callback?: (err: AWSError, data: KinesisVideo.Types.GetDataEndpointOutput) => void): Request<KinesisVideo.Types.GetDataEndpointOutput, AWSError>;
|
66 | /**
|
67 | * Gets an endpoint for a specified stream for either reading or writing. Use this endpoint in your application to read from the specified stream (using the GetMedia or GetMediaForFragmentList operations) or write to it (using the PutMedia operation). The returned endpoint does not have the API name appended. The client needs to add the API name to the returned endpoint. In the request, specify the stream either by StreamName or StreamARN.
|
68 | */
|
69 | getDataEndpoint(callback?: (err: AWSError, data: KinesisVideo.Types.GetDataEndpointOutput) => void): Request<KinesisVideo.Types.GetDataEndpointOutput, AWSError>;
|
70 | /**
|
71 | * Provides an endpoint for the specified signaling channel to send and receive messages. This API uses the SingleMasterChannelEndpointConfiguration input parameter, which consists of the Protocols and Role properties. Protocols is used to determine the communication mechanism. For example, specifying WSS as the protocol, results in this API producing a secure websocket endpoint, and specifying HTTPS as the protocol, results in this API generating an HTTPS endpoint. Role determines the messaging permissions. A MASTER role results in this API generating an endpoint that a client can use to communicate with any of the viewers on the channel. A VIEWER role results in this API generating an endpoint that a client can use to communicate only with a MASTER.
|
72 | */
|
73 | getSignalingChannelEndpoint(params: KinesisVideo.Types.GetSignalingChannelEndpointInput, callback?: (err: AWSError, data: KinesisVideo.Types.GetSignalingChannelEndpointOutput) => void): Request<KinesisVideo.Types.GetSignalingChannelEndpointOutput, AWSError>;
|
74 | /**
|
75 | * Provides an endpoint for the specified signaling channel to send and receive messages. This API uses the SingleMasterChannelEndpointConfiguration input parameter, which consists of the Protocols and Role properties. Protocols is used to determine the communication mechanism. For example, specifying WSS as the protocol, results in this API producing a secure websocket endpoint, and specifying HTTPS as the protocol, results in this API generating an HTTPS endpoint. Role determines the messaging permissions. A MASTER role results in this API generating an endpoint that a client can use to communicate with any of the viewers on the channel. A VIEWER role results in this API generating an endpoint that a client can use to communicate only with a MASTER.
|
76 | */
|
77 | getSignalingChannelEndpoint(callback?: (err: AWSError, data: KinesisVideo.Types.GetSignalingChannelEndpointOutput) => void): Request<KinesisVideo.Types.GetSignalingChannelEndpointOutput, AWSError>;
|
78 | /**
|
79 | * Returns an array of ChannelInfo objects. Each object describes a signaling channel. To retrieve only those channels that satisfy a specific condition, you can specify a ChannelNameCondition.
|
80 | */
|
81 | listSignalingChannels(params: KinesisVideo.Types.ListSignalingChannelsInput, callback?: (err: AWSError, data: KinesisVideo.Types.ListSignalingChannelsOutput) => void): Request<KinesisVideo.Types.ListSignalingChannelsOutput, AWSError>;
|
82 | /**
|
83 | * Returns an array of ChannelInfo objects. Each object describes a signaling channel. To retrieve only those channels that satisfy a specific condition, you can specify a ChannelNameCondition.
|
84 | */
|
85 | listSignalingChannels(callback?: (err: AWSError, data: KinesisVideo.Types.ListSignalingChannelsOutput) => void): Request<KinesisVideo.Types.ListSignalingChannelsOutput, AWSError>;
|
86 | /**
|
87 | * Returns an array of StreamInfo objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify a StreamNameCondition.
|
88 | */
|
89 | listStreams(params: KinesisVideo.Types.ListStreamsInput, callback?: (err: AWSError, data: KinesisVideo.Types.ListStreamsOutput) => void): Request<KinesisVideo.Types.ListStreamsOutput, AWSError>;
|
90 | /**
|
91 | * Returns an array of StreamInfo objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify a StreamNameCondition.
|
92 | */
|
93 | listStreams(callback?: (err: AWSError, data: KinesisVideo.Types.ListStreamsOutput) => void): Request<KinesisVideo.Types.ListStreamsOutput, AWSError>;
|
94 | /**
|
95 | * Returns a list of tags associated with the specified signaling channel.
|
96 | */
|
97 | listTagsForResource(params: KinesisVideo.Types.ListTagsForResourceInput, callback?: (err: AWSError, data: KinesisVideo.Types.ListTagsForResourceOutput) => void): Request<KinesisVideo.Types.ListTagsForResourceOutput, AWSError>;
|
98 | /**
|
99 | * Returns a list of tags associated with the specified signaling channel.
|
100 | */
|
101 | listTagsForResource(callback?: (err: AWSError, data: KinesisVideo.Types.ListTagsForResourceOutput) => void): Request<KinesisVideo.Types.ListTagsForResourceOutput, AWSError>;
|
102 | /**
|
103 | * Returns a list of tags associated with the specified stream. In the request, you must specify either the StreamName or the StreamARN.
|
104 | */
|
105 | listTagsForStream(params: KinesisVideo.Types.ListTagsForStreamInput, callback?: (err: AWSError, data: KinesisVideo.Types.ListTagsForStreamOutput) => void): Request<KinesisVideo.Types.ListTagsForStreamOutput, AWSError>;
|
106 | /**
|
107 | * Returns a list of tags associated with the specified stream. In the request, you must specify either the StreamName or the StreamARN.
|
108 | */
|
109 | listTagsForStream(callback?: (err: AWSError, data: KinesisVideo.Types.ListTagsForStreamOutput) => void): Request<KinesisVideo.Types.ListTagsForStreamOutput, AWSError>;
|
110 | /**
|
111 | * Adds one or more tags to a signaling channel. A tag is a key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
|
112 | */
|
113 | tagResource(params: KinesisVideo.Types.TagResourceInput, callback?: (err: AWSError, data: KinesisVideo.Types.TagResourceOutput) => void): Request<KinesisVideo.Types.TagResourceOutput, AWSError>;
|
114 | /**
|
115 | * Adds one or more tags to a signaling channel. A tag is a key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
|
116 | */
|
117 | tagResource(callback?: (err: AWSError, data: KinesisVideo.Types.TagResourceOutput) => void): Request<KinesisVideo.Types.TagResourceOutput, AWSError>;
|
118 | /**
|
119 | * Adds one or more tags to a stream. A tag is a key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide. You must provide either the StreamName or the StreamARN. This operation requires permission for the KinesisVideo:TagStream action. Kinesis video streams support up to 50 tags.
|
120 | */
|
121 | tagStream(params: KinesisVideo.Types.TagStreamInput, callback?: (err: AWSError, data: KinesisVideo.Types.TagStreamOutput) => void): Request<KinesisVideo.Types.TagStreamOutput, AWSError>;
|
122 | /**
|
123 | * Adds one or more tags to a stream. A tag is a key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide. You must provide either the StreamName or the StreamARN. This operation requires permission for the KinesisVideo:TagStream action. Kinesis video streams support up to 50 tags.
|
124 | */
|
125 | tagStream(callback?: (err: AWSError, data: KinesisVideo.Types.TagStreamOutput) => void): Request<KinesisVideo.Types.TagStreamOutput, AWSError>;
|
126 | /**
|
127 | * Removes one or more tags from a signaling channel. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored.
|
128 | */
|
129 | untagResource(params: KinesisVideo.Types.UntagResourceInput, callback?: (err: AWSError, data: KinesisVideo.Types.UntagResourceOutput) => void): Request<KinesisVideo.Types.UntagResourceOutput, AWSError>;
|
130 | /**
|
131 | * Removes one or more tags from a signaling channel. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored.
|
132 | */
|
133 | untagResource(callback?: (err: AWSError, data: KinesisVideo.Types.UntagResourceOutput) => void): Request<KinesisVideo.Types.UntagResourceOutput, AWSError>;
|
134 | /**
|
135 | * Removes one or more tags from a stream. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored. In the request, you must provide the StreamName or StreamARN.
|
136 | */
|
137 | untagStream(params: KinesisVideo.Types.UntagStreamInput, callback?: (err: AWSError, data: KinesisVideo.Types.UntagStreamOutput) => void): Request<KinesisVideo.Types.UntagStreamOutput, AWSError>;
|
138 | /**
|
139 | * Removes one or more tags from a stream. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored. In the request, you must provide the StreamName or StreamARN.
|
140 | */
|
141 | untagStream(callback?: (err: AWSError, data: KinesisVideo.Types.UntagStreamOutput) => void): Request<KinesisVideo.Types.UntagStreamOutput, AWSError>;
|
142 | /**
|
143 | * Increases or decreases the stream's data retention period by the value that you specify. To indicate whether you want to increase or decrease the data retention period, specify the Operation parameter in the request body. In the request, you must specify either the StreamName or the StreamARN. The retention period that you specify replaces the current value. This operation requires permission for the KinesisVideo:UpdateDataRetention action. Changing the data retention period affects the data in the stream as follows: If the data retention period is increased, existing data is retained for the new retention period. For example, if the data retention period is increased from one hour to seven hours, all existing data is retained for seven hours. If the data retention period is decreased, existing data is retained for the new retention period. For example, if the data retention period is decreased from seven hours to one hour, all existing data is retained for one hour, and any data older than one hour is deleted immediately.
|
144 | */
|
145 | updateDataRetention(params: KinesisVideo.Types.UpdateDataRetentionInput, callback?: (err: AWSError, data: KinesisVideo.Types.UpdateDataRetentionOutput) => void): Request<KinesisVideo.Types.UpdateDataRetentionOutput, AWSError>;
|
146 | /**
|
147 | * Increases or decreases the stream's data retention period by the value that you specify. To indicate whether you want to increase or decrease the data retention period, specify the Operation parameter in the request body. In the request, you must specify either the StreamName or the StreamARN. The retention period that you specify replaces the current value. This operation requires permission for the KinesisVideo:UpdateDataRetention action. Changing the data retention period affects the data in the stream as follows: If the data retention period is increased, existing data is retained for the new retention period. For example, if the data retention period is increased from one hour to seven hours, all existing data is retained for seven hours. If the data retention period is decreased, existing data is retained for the new retention period. For example, if the data retention period is decreased from seven hours to one hour, all existing data is retained for one hour, and any data older than one hour is deleted immediately.
|
148 | */
|
149 | updateDataRetention(callback?: (err: AWSError, data: KinesisVideo.Types.UpdateDataRetentionOutput) => void): Request<KinesisVideo.Types.UpdateDataRetentionOutput, AWSError>;
|
150 | /**
|
151 | * Updates the existing signaling channel. This is an asynchronous operation and takes time to complete. If the MessageTtlSeconds value is updated (either increased or reduced), then it only applies to new messages sent via this channel after it's been updated. Existing messages are still expire as per the previous MessageTtlSeconds value.
|
152 | */
|
153 | updateSignalingChannel(params: KinesisVideo.Types.UpdateSignalingChannelInput, callback?: (err: AWSError, data: KinesisVideo.Types.UpdateSignalingChannelOutput) => void): Request<KinesisVideo.Types.UpdateSignalingChannelOutput, AWSError>;
|
154 | /**
|
155 | * Updates the existing signaling channel. This is an asynchronous operation and takes time to complete. If the MessageTtlSeconds value is updated (either increased or reduced), then it only applies to new messages sent via this channel after it's been updated. Existing messages are still expire as per the previous MessageTtlSeconds value.
|
156 | */
|
157 | updateSignalingChannel(callback?: (err: AWSError, data: KinesisVideo.Types.UpdateSignalingChannelOutput) => void): Request<KinesisVideo.Types.UpdateSignalingChannelOutput, AWSError>;
|
158 | /**
|
159 | * Updates stream metadata, such as the device name and media type. You must provide the stream name or the Amazon Resource Name (ARN) of the stream. To make sure that you have the latest version of the stream before updating it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the DescribeStream API. UpdateStream is an asynchronous operation, and takes time to complete.
|
160 | */
|
161 | updateStream(params: KinesisVideo.Types.UpdateStreamInput, callback?: (err: AWSError, data: KinesisVideo.Types.UpdateStreamOutput) => void): Request<KinesisVideo.Types.UpdateStreamOutput, AWSError>;
|
162 | /**
|
163 | * Updates stream metadata, such as the device name and media type. You must provide the stream name or the Amazon Resource Name (ARN) of the stream. To make sure that you have the latest version of the stream before updating it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the DescribeStream API. UpdateStream is an asynchronous operation, and takes time to complete.
|
164 | */
|
165 | updateStream(callback?: (err: AWSError, data: KinesisVideo.Types.UpdateStreamOutput) => void): Request<KinesisVideo.Types.UpdateStreamOutput, AWSError>;
|
166 | }
|
167 | declare namespace KinesisVideo {
|
168 | export type APIName = "PUT_MEDIA"|"GET_MEDIA"|"LIST_FRAGMENTS"|"GET_MEDIA_FOR_FRAGMENT_LIST"|"GET_HLS_STREAMING_SESSION_URL"|"GET_DASH_STREAMING_SESSION_URL"|string;
|
169 | export interface ChannelInfo {
|
170 | |
171 |
|
172 |
|
173 | ChannelName?: ChannelName;
|
174 | |
175 |
|
176 |
|
177 | ChannelARN?: ResourceARN;
|
178 | |
179 |
|
180 |
|
181 | ChannelType?: ChannelType;
|
182 | |
183 |
|
184 |
|
185 | ChannelStatus?: Status;
|
186 | |
187 |
|
188 |
|
189 | CreationTime?: Timestamp;
|
190 | |
191 |
|
192 |
|
193 | SingleMasterConfiguration?: SingleMasterConfiguration;
|
194 | |
195 |
|
196 |
|
197 | Version?: Version;
|
198 | }
|
199 | export type ChannelInfoList = ChannelInfo[];
|
200 | export type ChannelName = string;
|
201 | export interface ChannelNameCondition {
|
202 | |
203 |
|
204 |
|
205 | ComparisonOperator?: ComparisonOperator;
|
206 | |
207 |
|
208 |
|
209 | ComparisonValue?: ChannelName;
|
210 | }
|
211 | export type ChannelProtocol = "WSS"|"HTTPS"|string;
|
212 | export type ChannelRole = "MASTER"|"VIEWER"|string;
|
213 | export type ChannelType = "SINGLE_MASTER"|string;
|
214 | export type ComparisonOperator = "BEGINS_WITH"|string;
|
215 | export interface CreateSignalingChannelInput {
|
216 | |
217 |
|
218 |
|
219 | ChannelName: ChannelName;
|
220 | |
221 |
|
222 |
|
223 | ChannelType?: ChannelType;
|
224 | |
225 |
|
226 |
|
227 | SingleMasterConfiguration?: SingleMasterConfiguration;
|
228 | |
229 |
|
230 |
|
231 | Tags?: TagOnCreateList;
|
232 | }
|
233 | export interface CreateSignalingChannelOutput {
|
234 | |
235 |
|
236 |
|
237 | ChannelARN?: ResourceARN;
|
238 | }
|
239 | export interface CreateStreamInput {
|
240 | |
241 |
|
242 |
|
243 | DeviceName?: DeviceName;
|
244 | |
245 |
|
246 |
|
247 | StreamName: StreamName;
|
248 | |
249 |
|
250 |
|
251 | MediaType?: MediaType;
|
252 | |
253 |
|
254 |
|
255 | KmsKeyId?: KmsKeyId;
|
256 | |
257 |
|
258 |
|
259 | DataRetentionInHours?: DataRetentionInHours;
|
260 | |
261 |
|
262 |
|
263 | Tags?: ResourceTags;
|
264 | }
|
265 | export interface CreateStreamOutput {
|
266 | |
267 |
|
268 |
|
269 | StreamARN?: ResourceARN;
|
270 | }
|
271 | export type DataEndpoint = string;
|
272 | export type DataRetentionChangeInHours = number;
|
273 | export type DataRetentionInHours = number;
|
274 | export interface DeleteSignalingChannelInput {
|
275 | |
276 |
|
277 |
|
278 | ChannelARN: ResourceARN;
|
279 | |
280 |
|
281 |
|
282 | CurrentVersion?: Version;
|
283 | }
|
284 | export interface DeleteSignalingChannelOutput {
|
285 | }
|
286 | export interface DeleteStreamInput {
|
287 | |
288 |
|
289 |
|
290 | StreamARN: ResourceARN;
|
291 | |
292 |
|
293 |
|
294 | CurrentVersion?: Version;
|
295 | }
|
296 | export interface DeleteStreamOutput {
|
297 | }
|
298 | export interface DescribeSignalingChannelInput {
|
299 | |
300 |
|
301 |
|
302 | ChannelName?: ChannelName;
|
303 | |
304 |
|
305 |
|
306 | ChannelARN?: ResourceARN;
|
307 | }
|
308 | export interface DescribeSignalingChannelOutput {
|
309 | |
310 |
|
311 |
|
312 | ChannelInfo?: ChannelInfo;
|
313 | }
|
314 | export interface DescribeStreamInput {
|
315 | |
316 |
|
317 |
|
318 | StreamName?: StreamName;
|
319 | |
320 |
|
321 |
|
322 | StreamARN?: ResourceARN;
|
323 | }
|
324 | export interface DescribeStreamOutput {
|
325 | |
326 |
|
327 |
|
328 | StreamInfo?: StreamInfo;
|
329 | }
|
330 | export type DeviceName = string;
|
331 | export interface GetDataEndpointInput {
|
332 | |
333 |
|
334 |
|
335 | StreamName?: StreamName;
|
336 | |
337 |
|
338 |
|
339 | StreamARN?: ResourceARN;
|
340 | |
341 |
|
342 |
|
343 | APIName: APIName;
|
344 | }
|
345 | export interface GetDataEndpointOutput {
|
346 | |
347 |
|
348 |
|
349 | DataEndpoint?: DataEndpoint;
|
350 | }
|
351 | export interface GetSignalingChannelEndpointInput {
|
352 | |
353 |
|
354 |
|
355 | ChannelARN: ResourceARN;
|
356 | |
357 |
|
358 |
|
359 | SingleMasterChannelEndpointConfiguration?: SingleMasterChannelEndpointConfiguration;
|
360 | }
|
361 | export interface GetSignalingChannelEndpointOutput {
|
362 | |
363 |
|
364 |
|
365 | ResourceEndpointList?: ResourceEndpointList;
|
366 | }
|
367 | export type KmsKeyId = string;
|
368 | export type ListOfProtocols = ChannelProtocol[];
|
369 | export interface ListSignalingChannelsInput {
|
370 | |
371 |
|
372 |
|
373 | MaxResults?: ListStreamsInputLimit;
|
374 | |
375 |
|
376 |
|
377 | NextToken?: NextToken;
|
378 | |
379 |
|
380 |
|
381 | ChannelNameCondition?: ChannelNameCondition;
|
382 | }
|
383 | export interface ListSignalingChannelsOutput {
|
384 | |
385 |
|
386 |
|
387 | ChannelInfoList?: ChannelInfoList;
|
388 | |
389 |
|
390 |
|
391 | NextToken?: NextToken;
|
392 | }
|
393 | export interface ListStreamsInput {
|
394 | |
395 |
|
396 |
|
397 | MaxResults?: ListStreamsInputLimit;
|
398 | |
399 |
|
400 |
|
401 | NextToken?: NextToken;
|
402 | |
403 |
|
404 |
|
405 | StreamNameCondition?: StreamNameCondition;
|
406 | }
|
407 | export type ListStreamsInputLimit = number;
|
408 | export interface ListStreamsOutput {
|
409 | |
410 |
|
411 |
|
412 | StreamInfoList?: StreamInfoList;
|
413 | |
414 |
|
415 |
|
416 | NextToken?: NextToken;
|
417 | }
|
418 | export interface ListTagsForResourceInput {
|
419 | |
420 |
|
421 |
|
422 | NextToken?: NextToken;
|
423 | |
424 |
|
425 |
|
426 | ResourceARN: ResourceARN;
|
427 | }
|
428 | export interface ListTagsForResourceOutput {
|
429 | |
430 |
|
431 |
|
432 | NextToken?: NextToken;
|
433 | |
434 |
|
435 |
|
436 | Tags?: ResourceTags;
|
437 | }
|
438 | export interface ListTagsForStreamInput {
|
439 | |
440 |
|
441 |
|
442 | NextToken?: NextToken;
|
443 | |
444 |
|
445 |
|
446 | StreamARN?: ResourceARN;
|
447 | |
448 |
|
449 |
|
450 | StreamName?: StreamName;
|
451 | }
|
452 | export interface ListTagsForStreamOutput {
|
453 | |
454 |
|
455 |
|
456 | NextToken?: NextToken;
|
457 | |
458 |
|
459 |
|
460 | Tags?: ResourceTags;
|
461 | }
|
462 | export type MediaType = string;
|
463 | export type MessageTtlSeconds = number;
|
464 | export type NextToken = string;
|
465 | export type ResourceARN = string;
|
466 | export type ResourceEndpoint = string;
|
467 | export type ResourceEndpointList = ResourceEndpointListItem[];
|
468 | export interface ResourceEndpointListItem {
|
469 | |
470 |
|
471 |
|
472 | Protocol?: ChannelProtocol;
|
473 | |
474 |
|
475 |
|
476 | ResourceEndpoint?: ResourceEndpoint;
|
477 | }
|
478 | export type ResourceTags = {[key: string]: TagValue};
|
479 | export interface SingleMasterChannelEndpointConfiguration {
|
480 | |
481 |
|
482 |
|
483 | Protocols?: ListOfProtocols;
|
484 | |
485 |
|
486 |
|
487 | Role?: ChannelRole;
|
488 | }
|
489 | export interface SingleMasterConfiguration {
|
490 | |
491 |
|
492 |
|
493 | MessageTtlSeconds?: MessageTtlSeconds;
|
494 | }
|
495 | export type Status = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|string;
|
496 | export interface StreamInfo {
|
497 | |
498 |
|
499 |
|
500 | DeviceName?: DeviceName;
|
501 | |
502 |
|
503 |
|
504 | StreamName?: StreamName;
|
505 | |
506 |
|
507 |
|
508 | StreamARN?: ResourceARN;
|
509 | |
510 |
|
511 |
|
512 | MediaType?: MediaType;
|
513 | |
514 |
|
515 |
|
516 | KmsKeyId?: KmsKeyId;
|
517 | |
518 |
|
519 |
|
520 | Version?: Version;
|
521 | |
522 |
|
523 |
|
524 | Status?: Status;
|
525 | |
526 |
|
527 |
|
528 | CreationTime?: Timestamp;
|
529 | |
530 |
|
531 |
|
532 | DataRetentionInHours?: DataRetentionInHours;
|
533 | }
|
534 | export type StreamInfoList = StreamInfo[];
|
535 | export type StreamName = string;
|
536 | export interface StreamNameCondition {
|
537 | |
538 |
|
539 |
|
540 | ComparisonOperator?: ComparisonOperator;
|
541 | |
542 |
|
543 |
|
544 | ComparisonValue?: StreamName;
|
545 | }
|
546 | export interface Tag {
|
547 | |
548 |
|
549 |
|
550 | Key: TagKey;
|
551 | |
552 |
|
553 |
|
554 | Value: TagValue;
|
555 | }
|
556 | export type TagKey = string;
|
557 | export type TagKeyList = TagKey[];
|
558 | export type TagList = Tag[];
|
559 | export type TagOnCreateList = Tag[];
|
560 | export interface TagResourceInput {
|
561 | |
562 |
|
563 |
|
564 | ResourceARN: ResourceARN;
|
565 | |
566 |
|
567 |
|
568 | Tags: TagList;
|
569 | }
|
570 | export interface TagResourceOutput {
|
571 | }
|
572 | export interface TagStreamInput {
|
573 | |
574 |
|
575 |
|
576 | StreamARN?: ResourceARN;
|
577 | |
578 |
|
579 |
|
580 | StreamName?: StreamName;
|
581 | |
582 |
|
583 |
|
584 | Tags: ResourceTags;
|
585 | }
|
586 | export interface TagStreamOutput {
|
587 | }
|
588 | export type TagValue = string;
|
589 | export type Timestamp = Date;
|
590 | export interface UntagResourceInput {
|
591 | |
592 |
|
593 |
|
594 | ResourceARN: ResourceARN;
|
595 | |
596 |
|
597 |
|
598 | TagKeyList: TagKeyList;
|
599 | }
|
600 | export interface UntagResourceOutput {
|
601 | }
|
602 | export interface UntagStreamInput {
|
603 | |
604 |
|
605 |
|
606 | StreamARN?: ResourceARN;
|
607 | |
608 |
|
609 |
|
610 | StreamName?: StreamName;
|
611 | |
612 |
|
613 |
|
614 | TagKeyList: TagKeyList;
|
615 | }
|
616 | export interface UntagStreamOutput {
|
617 | }
|
618 | export interface UpdateDataRetentionInput {
|
619 | |
620 |
|
621 |
|
622 | StreamName?: StreamName;
|
623 | |
624 |
|
625 |
|
626 | StreamARN?: ResourceARN;
|
627 | |
628 |
|
629 |
|
630 | CurrentVersion: Version;
|
631 | |
632 |
|
633 |
|
634 | Operation: UpdateDataRetentionOperation;
|
635 | |
636 |
|
637 |
|
638 | DataRetentionChangeInHours: DataRetentionChangeInHours;
|
639 | }
|
640 | export type UpdateDataRetentionOperation = "INCREASE_DATA_RETENTION"|"DECREASE_DATA_RETENTION"|string;
|
641 | export interface UpdateDataRetentionOutput {
|
642 | }
|
643 | export interface UpdateSignalingChannelInput {
|
644 | |
645 |
|
646 |
|
647 | ChannelARN: ResourceARN;
|
648 | |
649 |
|
650 |
|
651 | CurrentVersion: Version;
|
652 | |
653 |
|
654 |
|
655 | SingleMasterConfiguration?: SingleMasterConfiguration;
|
656 | }
|
657 | export interface UpdateSignalingChannelOutput {
|
658 | }
|
659 | export interface UpdateStreamInput {
|
660 | |
661 |
|
662 |
|
663 | StreamName?: StreamName;
|
664 | |
665 |
|
666 |
|
667 | StreamARN?: ResourceARN;
|
668 | |
669 |
|
670 |
|
671 | CurrentVersion: Version;
|
672 | |
673 |
|
674 |
|
675 | DeviceName?: DeviceName;
|
676 | |
677 |
|
678 |
|
679 | MediaType?: MediaType;
|
680 | }
|
681 | export interface UpdateStreamOutput {
|
682 | }
|
683 | export type Version = string;
|
684 | |
685 |
|
686 |
|
687 | export type apiVersion = "2017-09-30"|"latest"|string;
|
688 | export interface ClientApiVersions {
|
689 | |
690 |
|
691 |
|
692 | apiVersion?: apiVersion;
|
693 | }
|
694 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
695 | |
696 |
|
697 |
|
698 | export import Types = KinesisVideo;
|
699 | }
|
700 | export = KinesisVideo;
|