@aws-sdk/client-kinesis-video 3.315.0 → 3.316.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/KinesisVideo.js +32 -392
- package/dist-es/KinesisVideo.js +32 -392
- package/dist-types/KinesisVideo.d.ts +35 -198
- package/dist-types/ts3.4/KinesisVideo.d.ts +4 -1
- package/package.json +6 -6
package/dist-cjs/KinesisVideo.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.KinesisVideo = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CreateSignalingChannelCommand_1 = require("./commands/CreateSignalingChannelCommand");
|
|
5
6
|
const CreateStreamCommand_1 = require("./commands/CreateStreamCommand");
|
|
6
7
|
const DeleteSignalingChannelCommand_1 = require("./commands/DeleteSignalingChannelCommand");
|
|
@@ -30,398 +31,37 @@ const UpdateNotificationConfigurationCommand_1 = require("./commands/UpdateNotif
|
|
|
30
31
|
const UpdateSignalingChannelCommand_1 = require("./commands/UpdateSignalingChannelCommand");
|
|
31
32
|
const UpdateStreamCommand_1 = require("./commands/UpdateStreamCommand");
|
|
32
33
|
const KinesisVideoClient_1 = require("./KinesisVideoClient");
|
|
34
|
+
const commands = {
|
|
35
|
+
CreateSignalingChannelCommand: CreateSignalingChannelCommand_1.CreateSignalingChannelCommand,
|
|
36
|
+
CreateStreamCommand: CreateStreamCommand_1.CreateStreamCommand,
|
|
37
|
+
DeleteSignalingChannelCommand: DeleteSignalingChannelCommand_1.DeleteSignalingChannelCommand,
|
|
38
|
+
DeleteStreamCommand: DeleteStreamCommand_1.DeleteStreamCommand,
|
|
39
|
+
DescribeEdgeConfigurationCommand: DescribeEdgeConfigurationCommand_1.DescribeEdgeConfigurationCommand,
|
|
40
|
+
DescribeImageGenerationConfigurationCommand: DescribeImageGenerationConfigurationCommand_1.DescribeImageGenerationConfigurationCommand,
|
|
41
|
+
DescribeMappedResourceConfigurationCommand: DescribeMappedResourceConfigurationCommand_1.DescribeMappedResourceConfigurationCommand,
|
|
42
|
+
DescribeMediaStorageConfigurationCommand: DescribeMediaStorageConfigurationCommand_1.DescribeMediaStorageConfigurationCommand,
|
|
43
|
+
DescribeNotificationConfigurationCommand: DescribeNotificationConfigurationCommand_1.DescribeNotificationConfigurationCommand,
|
|
44
|
+
DescribeSignalingChannelCommand: DescribeSignalingChannelCommand_1.DescribeSignalingChannelCommand,
|
|
45
|
+
DescribeStreamCommand: DescribeStreamCommand_1.DescribeStreamCommand,
|
|
46
|
+
GetDataEndpointCommand: GetDataEndpointCommand_1.GetDataEndpointCommand,
|
|
47
|
+
GetSignalingChannelEndpointCommand: GetSignalingChannelEndpointCommand_1.GetSignalingChannelEndpointCommand,
|
|
48
|
+
ListSignalingChannelsCommand: ListSignalingChannelsCommand_1.ListSignalingChannelsCommand,
|
|
49
|
+
ListStreamsCommand: ListStreamsCommand_1.ListStreamsCommand,
|
|
50
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
51
|
+
ListTagsForStreamCommand: ListTagsForStreamCommand_1.ListTagsForStreamCommand,
|
|
52
|
+
StartEdgeConfigurationUpdateCommand: StartEdgeConfigurationUpdateCommand_1.StartEdgeConfigurationUpdateCommand,
|
|
53
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
54
|
+
TagStreamCommand: TagStreamCommand_1.TagStreamCommand,
|
|
55
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
56
|
+
UntagStreamCommand: UntagStreamCommand_1.UntagStreamCommand,
|
|
57
|
+
UpdateDataRetentionCommand: UpdateDataRetentionCommand_1.UpdateDataRetentionCommand,
|
|
58
|
+
UpdateImageGenerationConfigurationCommand: UpdateImageGenerationConfigurationCommand_1.UpdateImageGenerationConfigurationCommand,
|
|
59
|
+
UpdateMediaStorageConfigurationCommand: UpdateMediaStorageConfigurationCommand_1.UpdateMediaStorageConfigurationCommand,
|
|
60
|
+
UpdateNotificationConfigurationCommand: UpdateNotificationConfigurationCommand_1.UpdateNotificationConfigurationCommand,
|
|
61
|
+
UpdateSignalingChannelCommand: UpdateSignalingChannelCommand_1.UpdateSignalingChannelCommand,
|
|
62
|
+
UpdateStreamCommand: UpdateStreamCommand_1.UpdateStreamCommand,
|
|
63
|
+
};
|
|
33
64
|
class KinesisVideo extends KinesisVideoClient_1.KinesisVideoClient {
|
|
34
|
-
createSignalingChannel(args, optionsOrCb, cb) {
|
|
35
|
-
const command = new CreateSignalingChannelCommand_1.CreateSignalingChannelCommand(args);
|
|
36
|
-
if (typeof optionsOrCb === "function") {
|
|
37
|
-
this.send(command, optionsOrCb);
|
|
38
|
-
}
|
|
39
|
-
else if (typeof cb === "function") {
|
|
40
|
-
if (typeof optionsOrCb !== "object")
|
|
41
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
42
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
return this.send(command, optionsOrCb);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
createStream(args, optionsOrCb, cb) {
|
|
49
|
-
const command = new CreateStreamCommand_1.CreateStreamCommand(args);
|
|
50
|
-
if (typeof optionsOrCb === "function") {
|
|
51
|
-
this.send(command, optionsOrCb);
|
|
52
|
-
}
|
|
53
|
-
else if (typeof cb === "function") {
|
|
54
|
-
if (typeof optionsOrCb !== "object")
|
|
55
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
56
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
return this.send(command, optionsOrCb);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
deleteSignalingChannel(args, optionsOrCb, cb) {
|
|
63
|
-
const command = new DeleteSignalingChannelCommand_1.DeleteSignalingChannelCommand(args);
|
|
64
|
-
if (typeof optionsOrCb === "function") {
|
|
65
|
-
this.send(command, optionsOrCb);
|
|
66
|
-
}
|
|
67
|
-
else if (typeof cb === "function") {
|
|
68
|
-
if (typeof optionsOrCb !== "object")
|
|
69
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
70
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
return this.send(command, optionsOrCb);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
deleteStream(args, optionsOrCb, cb) {
|
|
77
|
-
const command = new DeleteStreamCommand_1.DeleteStreamCommand(args);
|
|
78
|
-
if (typeof optionsOrCb === "function") {
|
|
79
|
-
this.send(command, optionsOrCb);
|
|
80
|
-
}
|
|
81
|
-
else if (typeof cb === "function") {
|
|
82
|
-
if (typeof optionsOrCb !== "object")
|
|
83
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
84
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
87
|
-
return this.send(command, optionsOrCb);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
describeEdgeConfiguration(args, optionsOrCb, cb) {
|
|
91
|
-
const command = new DescribeEdgeConfigurationCommand_1.DescribeEdgeConfigurationCommand(args);
|
|
92
|
-
if (typeof optionsOrCb === "function") {
|
|
93
|
-
this.send(command, optionsOrCb);
|
|
94
|
-
}
|
|
95
|
-
else if (typeof cb === "function") {
|
|
96
|
-
if (typeof optionsOrCb !== "object")
|
|
97
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
98
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
99
|
-
}
|
|
100
|
-
else {
|
|
101
|
-
return this.send(command, optionsOrCb);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
describeImageGenerationConfiguration(args, optionsOrCb, cb) {
|
|
105
|
-
const command = new DescribeImageGenerationConfigurationCommand_1.DescribeImageGenerationConfigurationCommand(args);
|
|
106
|
-
if (typeof optionsOrCb === "function") {
|
|
107
|
-
this.send(command, optionsOrCb);
|
|
108
|
-
}
|
|
109
|
-
else if (typeof cb === "function") {
|
|
110
|
-
if (typeof optionsOrCb !== "object")
|
|
111
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
112
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
113
|
-
}
|
|
114
|
-
else {
|
|
115
|
-
return this.send(command, optionsOrCb);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
describeMappedResourceConfiguration(args, optionsOrCb, cb) {
|
|
119
|
-
const command = new DescribeMappedResourceConfigurationCommand_1.DescribeMappedResourceConfigurationCommand(args);
|
|
120
|
-
if (typeof optionsOrCb === "function") {
|
|
121
|
-
this.send(command, optionsOrCb);
|
|
122
|
-
}
|
|
123
|
-
else if (typeof cb === "function") {
|
|
124
|
-
if (typeof optionsOrCb !== "object")
|
|
125
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
126
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
127
|
-
}
|
|
128
|
-
else {
|
|
129
|
-
return this.send(command, optionsOrCb);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
describeMediaStorageConfiguration(args, optionsOrCb, cb) {
|
|
133
|
-
const command = new DescribeMediaStorageConfigurationCommand_1.DescribeMediaStorageConfigurationCommand(args);
|
|
134
|
-
if (typeof optionsOrCb === "function") {
|
|
135
|
-
this.send(command, optionsOrCb);
|
|
136
|
-
}
|
|
137
|
-
else if (typeof cb === "function") {
|
|
138
|
-
if (typeof optionsOrCb !== "object")
|
|
139
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
140
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
141
|
-
}
|
|
142
|
-
else {
|
|
143
|
-
return this.send(command, optionsOrCb);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
describeNotificationConfiguration(args, optionsOrCb, cb) {
|
|
147
|
-
const command = new DescribeNotificationConfigurationCommand_1.DescribeNotificationConfigurationCommand(args);
|
|
148
|
-
if (typeof optionsOrCb === "function") {
|
|
149
|
-
this.send(command, optionsOrCb);
|
|
150
|
-
}
|
|
151
|
-
else if (typeof cb === "function") {
|
|
152
|
-
if (typeof optionsOrCb !== "object")
|
|
153
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
154
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
155
|
-
}
|
|
156
|
-
else {
|
|
157
|
-
return this.send(command, optionsOrCb);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
describeSignalingChannel(args, optionsOrCb, cb) {
|
|
161
|
-
const command = new DescribeSignalingChannelCommand_1.DescribeSignalingChannelCommand(args);
|
|
162
|
-
if (typeof optionsOrCb === "function") {
|
|
163
|
-
this.send(command, optionsOrCb);
|
|
164
|
-
}
|
|
165
|
-
else if (typeof cb === "function") {
|
|
166
|
-
if (typeof optionsOrCb !== "object")
|
|
167
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
168
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
169
|
-
}
|
|
170
|
-
else {
|
|
171
|
-
return this.send(command, optionsOrCb);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
describeStream(args, optionsOrCb, cb) {
|
|
175
|
-
const command = new DescribeStreamCommand_1.DescribeStreamCommand(args);
|
|
176
|
-
if (typeof optionsOrCb === "function") {
|
|
177
|
-
this.send(command, optionsOrCb);
|
|
178
|
-
}
|
|
179
|
-
else if (typeof cb === "function") {
|
|
180
|
-
if (typeof optionsOrCb !== "object")
|
|
181
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
182
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
183
|
-
}
|
|
184
|
-
else {
|
|
185
|
-
return this.send(command, optionsOrCb);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
getDataEndpoint(args, optionsOrCb, cb) {
|
|
189
|
-
const command = new GetDataEndpointCommand_1.GetDataEndpointCommand(args);
|
|
190
|
-
if (typeof optionsOrCb === "function") {
|
|
191
|
-
this.send(command, optionsOrCb);
|
|
192
|
-
}
|
|
193
|
-
else if (typeof cb === "function") {
|
|
194
|
-
if (typeof optionsOrCb !== "object")
|
|
195
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
196
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
197
|
-
}
|
|
198
|
-
else {
|
|
199
|
-
return this.send(command, optionsOrCb);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
getSignalingChannelEndpoint(args, optionsOrCb, cb) {
|
|
203
|
-
const command = new GetSignalingChannelEndpointCommand_1.GetSignalingChannelEndpointCommand(args);
|
|
204
|
-
if (typeof optionsOrCb === "function") {
|
|
205
|
-
this.send(command, optionsOrCb);
|
|
206
|
-
}
|
|
207
|
-
else if (typeof cb === "function") {
|
|
208
|
-
if (typeof optionsOrCb !== "object")
|
|
209
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
210
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
211
|
-
}
|
|
212
|
-
else {
|
|
213
|
-
return this.send(command, optionsOrCb);
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
listSignalingChannels(args, optionsOrCb, cb) {
|
|
217
|
-
const command = new ListSignalingChannelsCommand_1.ListSignalingChannelsCommand(args);
|
|
218
|
-
if (typeof optionsOrCb === "function") {
|
|
219
|
-
this.send(command, optionsOrCb);
|
|
220
|
-
}
|
|
221
|
-
else if (typeof cb === "function") {
|
|
222
|
-
if (typeof optionsOrCb !== "object")
|
|
223
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
224
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
225
|
-
}
|
|
226
|
-
else {
|
|
227
|
-
return this.send(command, optionsOrCb);
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
listStreams(args, optionsOrCb, cb) {
|
|
231
|
-
const command = new ListStreamsCommand_1.ListStreamsCommand(args);
|
|
232
|
-
if (typeof optionsOrCb === "function") {
|
|
233
|
-
this.send(command, optionsOrCb);
|
|
234
|
-
}
|
|
235
|
-
else if (typeof cb === "function") {
|
|
236
|
-
if (typeof optionsOrCb !== "object")
|
|
237
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
238
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
239
|
-
}
|
|
240
|
-
else {
|
|
241
|
-
return this.send(command, optionsOrCb);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
245
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
246
|
-
if (typeof optionsOrCb === "function") {
|
|
247
|
-
this.send(command, optionsOrCb);
|
|
248
|
-
}
|
|
249
|
-
else if (typeof cb === "function") {
|
|
250
|
-
if (typeof optionsOrCb !== "object")
|
|
251
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
252
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
253
|
-
}
|
|
254
|
-
else {
|
|
255
|
-
return this.send(command, optionsOrCb);
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
listTagsForStream(args, optionsOrCb, cb) {
|
|
259
|
-
const command = new ListTagsForStreamCommand_1.ListTagsForStreamCommand(args);
|
|
260
|
-
if (typeof optionsOrCb === "function") {
|
|
261
|
-
this.send(command, optionsOrCb);
|
|
262
|
-
}
|
|
263
|
-
else if (typeof cb === "function") {
|
|
264
|
-
if (typeof optionsOrCb !== "object")
|
|
265
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
266
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
267
|
-
}
|
|
268
|
-
else {
|
|
269
|
-
return this.send(command, optionsOrCb);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
startEdgeConfigurationUpdate(args, optionsOrCb, cb) {
|
|
273
|
-
const command = new StartEdgeConfigurationUpdateCommand_1.StartEdgeConfigurationUpdateCommand(args);
|
|
274
|
-
if (typeof optionsOrCb === "function") {
|
|
275
|
-
this.send(command, optionsOrCb);
|
|
276
|
-
}
|
|
277
|
-
else if (typeof cb === "function") {
|
|
278
|
-
if (typeof optionsOrCb !== "object")
|
|
279
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
280
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
281
|
-
}
|
|
282
|
-
else {
|
|
283
|
-
return this.send(command, optionsOrCb);
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
tagResource(args, optionsOrCb, cb) {
|
|
287
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
288
|
-
if (typeof optionsOrCb === "function") {
|
|
289
|
-
this.send(command, optionsOrCb);
|
|
290
|
-
}
|
|
291
|
-
else if (typeof cb === "function") {
|
|
292
|
-
if (typeof optionsOrCb !== "object")
|
|
293
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
294
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
295
|
-
}
|
|
296
|
-
else {
|
|
297
|
-
return this.send(command, optionsOrCb);
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
tagStream(args, optionsOrCb, cb) {
|
|
301
|
-
const command = new TagStreamCommand_1.TagStreamCommand(args);
|
|
302
|
-
if (typeof optionsOrCb === "function") {
|
|
303
|
-
this.send(command, optionsOrCb);
|
|
304
|
-
}
|
|
305
|
-
else if (typeof cb === "function") {
|
|
306
|
-
if (typeof optionsOrCb !== "object")
|
|
307
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
308
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
309
|
-
}
|
|
310
|
-
else {
|
|
311
|
-
return this.send(command, optionsOrCb);
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
untagResource(args, optionsOrCb, cb) {
|
|
315
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
316
|
-
if (typeof optionsOrCb === "function") {
|
|
317
|
-
this.send(command, optionsOrCb);
|
|
318
|
-
}
|
|
319
|
-
else if (typeof cb === "function") {
|
|
320
|
-
if (typeof optionsOrCb !== "object")
|
|
321
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
322
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
323
|
-
}
|
|
324
|
-
else {
|
|
325
|
-
return this.send(command, optionsOrCb);
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
untagStream(args, optionsOrCb, cb) {
|
|
329
|
-
const command = new UntagStreamCommand_1.UntagStreamCommand(args);
|
|
330
|
-
if (typeof optionsOrCb === "function") {
|
|
331
|
-
this.send(command, optionsOrCb);
|
|
332
|
-
}
|
|
333
|
-
else if (typeof cb === "function") {
|
|
334
|
-
if (typeof optionsOrCb !== "object")
|
|
335
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
336
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
337
|
-
}
|
|
338
|
-
else {
|
|
339
|
-
return this.send(command, optionsOrCb);
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
updateDataRetention(args, optionsOrCb, cb) {
|
|
343
|
-
const command = new UpdateDataRetentionCommand_1.UpdateDataRetentionCommand(args);
|
|
344
|
-
if (typeof optionsOrCb === "function") {
|
|
345
|
-
this.send(command, optionsOrCb);
|
|
346
|
-
}
|
|
347
|
-
else if (typeof cb === "function") {
|
|
348
|
-
if (typeof optionsOrCb !== "object")
|
|
349
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
350
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
351
|
-
}
|
|
352
|
-
else {
|
|
353
|
-
return this.send(command, optionsOrCb);
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
updateImageGenerationConfiguration(args, optionsOrCb, cb) {
|
|
357
|
-
const command = new UpdateImageGenerationConfigurationCommand_1.UpdateImageGenerationConfigurationCommand(args);
|
|
358
|
-
if (typeof optionsOrCb === "function") {
|
|
359
|
-
this.send(command, optionsOrCb);
|
|
360
|
-
}
|
|
361
|
-
else if (typeof cb === "function") {
|
|
362
|
-
if (typeof optionsOrCb !== "object")
|
|
363
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
364
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
365
|
-
}
|
|
366
|
-
else {
|
|
367
|
-
return this.send(command, optionsOrCb);
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
updateMediaStorageConfiguration(args, optionsOrCb, cb) {
|
|
371
|
-
const command = new UpdateMediaStorageConfigurationCommand_1.UpdateMediaStorageConfigurationCommand(args);
|
|
372
|
-
if (typeof optionsOrCb === "function") {
|
|
373
|
-
this.send(command, optionsOrCb);
|
|
374
|
-
}
|
|
375
|
-
else if (typeof cb === "function") {
|
|
376
|
-
if (typeof optionsOrCb !== "object")
|
|
377
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
378
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
379
|
-
}
|
|
380
|
-
else {
|
|
381
|
-
return this.send(command, optionsOrCb);
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
updateNotificationConfiguration(args, optionsOrCb, cb) {
|
|
385
|
-
const command = new UpdateNotificationConfigurationCommand_1.UpdateNotificationConfigurationCommand(args);
|
|
386
|
-
if (typeof optionsOrCb === "function") {
|
|
387
|
-
this.send(command, optionsOrCb);
|
|
388
|
-
}
|
|
389
|
-
else if (typeof cb === "function") {
|
|
390
|
-
if (typeof optionsOrCb !== "object")
|
|
391
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
392
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
393
|
-
}
|
|
394
|
-
else {
|
|
395
|
-
return this.send(command, optionsOrCb);
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
updateSignalingChannel(args, optionsOrCb, cb) {
|
|
399
|
-
const command = new UpdateSignalingChannelCommand_1.UpdateSignalingChannelCommand(args);
|
|
400
|
-
if (typeof optionsOrCb === "function") {
|
|
401
|
-
this.send(command, optionsOrCb);
|
|
402
|
-
}
|
|
403
|
-
else if (typeof cb === "function") {
|
|
404
|
-
if (typeof optionsOrCb !== "object")
|
|
405
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
406
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
407
|
-
}
|
|
408
|
-
else {
|
|
409
|
-
return this.send(command, optionsOrCb);
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
updateStream(args, optionsOrCb, cb) {
|
|
413
|
-
const command = new UpdateStreamCommand_1.UpdateStreamCommand(args);
|
|
414
|
-
if (typeof optionsOrCb === "function") {
|
|
415
|
-
this.send(command, optionsOrCb);
|
|
416
|
-
}
|
|
417
|
-
else if (typeof cb === "function") {
|
|
418
|
-
if (typeof optionsOrCb !== "object")
|
|
419
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
420
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
421
|
-
}
|
|
422
|
-
else {
|
|
423
|
-
return this.send(command, optionsOrCb);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
65
|
}
|
|
427
66
|
exports.KinesisVideo = KinesisVideo;
|
|
67
|
+
(0, smithy_client_1.createAggregatedClient)(commands, KinesisVideo);
|
package/dist-es/KinesisVideo.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CreateSignalingChannelCommand, } from "./commands/CreateSignalingChannelCommand";
|
|
2
3
|
import { CreateStreamCommand, } from "./commands/CreateStreamCommand";
|
|
3
4
|
import { DeleteSignalingChannelCommand, } from "./commands/DeleteSignalingChannelCommand";
|
|
@@ -27,397 +28,36 @@ import { UpdateNotificationConfigurationCommand, } from "./commands/UpdateNotifi
|
|
|
27
28
|
import { UpdateSignalingChannelCommand, } from "./commands/UpdateSignalingChannelCommand";
|
|
28
29
|
import { UpdateStreamCommand, } from "./commands/UpdateStreamCommand";
|
|
29
30
|
import { KinesisVideoClient } from "./KinesisVideoClient";
|
|
31
|
+
const commands = {
|
|
32
|
+
CreateSignalingChannelCommand,
|
|
33
|
+
CreateStreamCommand,
|
|
34
|
+
DeleteSignalingChannelCommand,
|
|
35
|
+
DeleteStreamCommand,
|
|
36
|
+
DescribeEdgeConfigurationCommand,
|
|
37
|
+
DescribeImageGenerationConfigurationCommand,
|
|
38
|
+
DescribeMappedResourceConfigurationCommand,
|
|
39
|
+
DescribeMediaStorageConfigurationCommand,
|
|
40
|
+
DescribeNotificationConfigurationCommand,
|
|
41
|
+
DescribeSignalingChannelCommand,
|
|
42
|
+
DescribeStreamCommand,
|
|
43
|
+
GetDataEndpointCommand,
|
|
44
|
+
GetSignalingChannelEndpointCommand,
|
|
45
|
+
ListSignalingChannelsCommand,
|
|
46
|
+
ListStreamsCommand,
|
|
47
|
+
ListTagsForResourceCommand,
|
|
48
|
+
ListTagsForStreamCommand,
|
|
49
|
+
StartEdgeConfigurationUpdateCommand,
|
|
50
|
+
TagResourceCommand,
|
|
51
|
+
TagStreamCommand,
|
|
52
|
+
UntagResourceCommand,
|
|
53
|
+
UntagStreamCommand,
|
|
54
|
+
UpdateDataRetentionCommand,
|
|
55
|
+
UpdateImageGenerationConfigurationCommand,
|
|
56
|
+
UpdateMediaStorageConfigurationCommand,
|
|
57
|
+
UpdateNotificationConfigurationCommand,
|
|
58
|
+
UpdateSignalingChannelCommand,
|
|
59
|
+
UpdateStreamCommand,
|
|
60
|
+
};
|
|
30
61
|
export class KinesisVideo extends KinesisVideoClient {
|
|
31
|
-
createSignalingChannel(args, optionsOrCb, cb) {
|
|
32
|
-
const command = new CreateSignalingChannelCommand(args);
|
|
33
|
-
if (typeof optionsOrCb === "function") {
|
|
34
|
-
this.send(command, optionsOrCb);
|
|
35
|
-
}
|
|
36
|
-
else if (typeof cb === "function") {
|
|
37
|
-
if (typeof optionsOrCb !== "object")
|
|
38
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
39
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
return this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
createStream(args, optionsOrCb, cb) {
|
|
46
|
-
const command = new CreateStreamCommand(args);
|
|
47
|
-
if (typeof optionsOrCb === "function") {
|
|
48
|
-
this.send(command, optionsOrCb);
|
|
49
|
-
}
|
|
50
|
-
else if (typeof cb === "function") {
|
|
51
|
-
if (typeof optionsOrCb !== "object")
|
|
52
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
53
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
return this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
deleteSignalingChannel(args, optionsOrCb, cb) {
|
|
60
|
-
const command = new DeleteSignalingChannelCommand(args);
|
|
61
|
-
if (typeof optionsOrCb === "function") {
|
|
62
|
-
this.send(command, optionsOrCb);
|
|
63
|
-
}
|
|
64
|
-
else if (typeof cb === "function") {
|
|
65
|
-
if (typeof optionsOrCb !== "object")
|
|
66
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
67
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
return this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
deleteStream(args, optionsOrCb, cb) {
|
|
74
|
-
const command = new DeleteStreamCommand(args);
|
|
75
|
-
if (typeof optionsOrCb === "function") {
|
|
76
|
-
this.send(command, optionsOrCb);
|
|
77
|
-
}
|
|
78
|
-
else if (typeof cb === "function") {
|
|
79
|
-
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
81
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
return this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
describeEdgeConfiguration(args, optionsOrCb, cb) {
|
|
88
|
-
const command = new DescribeEdgeConfigurationCommand(args);
|
|
89
|
-
if (typeof optionsOrCb === "function") {
|
|
90
|
-
this.send(command, optionsOrCb);
|
|
91
|
-
}
|
|
92
|
-
else if (typeof cb === "function") {
|
|
93
|
-
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
95
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
return this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
describeImageGenerationConfiguration(args, optionsOrCb, cb) {
|
|
102
|
-
const command = new DescribeImageGenerationConfigurationCommand(args);
|
|
103
|
-
if (typeof optionsOrCb === "function") {
|
|
104
|
-
this.send(command, optionsOrCb);
|
|
105
|
-
}
|
|
106
|
-
else if (typeof cb === "function") {
|
|
107
|
-
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
109
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
return this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
describeMappedResourceConfiguration(args, optionsOrCb, cb) {
|
|
116
|
-
const command = new DescribeMappedResourceConfigurationCommand(args);
|
|
117
|
-
if (typeof optionsOrCb === "function") {
|
|
118
|
-
this.send(command, optionsOrCb);
|
|
119
|
-
}
|
|
120
|
-
else if (typeof cb === "function") {
|
|
121
|
-
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
123
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
return this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
describeMediaStorageConfiguration(args, optionsOrCb, cb) {
|
|
130
|
-
const command = new DescribeMediaStorageConfigurationCommand(args);
|
|
131
|
-
if (typeof optionsOrCb === "function") {
|
|
132
|
-
this.send(command, optionsOrCb);
|
|
133
|
-
}
|
|
134
|
-
else if (typeof cb === "function") {
|
|
135
|
-
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
137
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
return this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
describeNotificationConfiguration(args, optionsOrCb, cb) {
|
|
144
|
-
const command = new DescribeNotificationConfigurationCommand(args);
|
|
145
|
-
if (typeof optionsOrCb === "function") {
|
|
146
|
-
this.send(command, optionsOrCb);
|
|
147
|
-
}
|
|
148
|
-
else if (typeof cb === "function") {
|
|
149
|
-
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
151
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
return this.send(command, optionsOrCb);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
describeSignalingChannel(args, optionsOrCb, cb) {
|
|
158
|
-
const command = new DescribeSignalingChannelCommand(args);
|
|
159
|
-
if (typeof optionsOrCb === "function") {
|
|
160
|
-
this.send(command, optionsOrCb);
|
|
161
|
-
}
|
|
162
|
-
else if (typeof cb === "function") {
|
|
163
|
-
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
165
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
return this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
describeStream(args, optionsOrCb, cb) {
|
|
172
|
-
const command = new DescribeStreamCommand(args);
|
|
173
|
-
if (typeof optionsOrCb === "function") {
|
|
174
|
-
this.send(command, optionsOrCb);
|
|
175
|
-
}
|
|
176
|
-
else if (typeof cb === "function") {
|
|
177
|
-
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
179
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
return this.send(command, optionsOrCb);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
getDataEndpoint(args, optionsOrCb, cb) {
|
|
186
|
-
const command = new GetDataEndpointCommand(args);
|
|
187
|
-
if (typeof optionsOrCb === "function") {
|
|
188
|
-
this.send(command, optionsOrCb);
|
|
189
|
-
}
|
|
190
|
-
else if (typeof cb === "function") {
|
|
191
|
-
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
193
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
194
|
-
}
|
|
195
|
-
else {
|
|
196
|
-
return this.send(command, optionsOrCb);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
getSignalingChannelEndpoint(args, optionsOrCb, cb) {
|
|
200
|
-
const command = new GetSignalingChannelEndpointCommand(args);
|
|
201
|
-
if (typeof optionsOrCb === "function") {
|
|
202
|
-
this.send(command, optionsOrCb);
|
|
203
|
-
}
|
|
204
|
-
else if (typeof cb === "function") {
|
|
205
|
-
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
207
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
return this.send(command, optionsOrCb);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
listSignalingChannels(args, optionsOrCb, cb) {
|
|
214
|
-
const command = new ListSignalingChannelsCommand(args);
|
|
215
|
-
if (typeof optionsOrCb === "function") {
|
|
216
|
-
this.send(command, optionsOrCb);
|
|
217
|
-
}
|
|
218
|
-
else if (typeof cb === "function") {
|
|
219
|
-
if (typeof optionsOrCb !== "object")
|
|
220
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
221
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
222
|
-
}
|
|
223
|
-
else {
|
|
224
|
-
return this.send(command, optionsOrCb);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
listStreams(args, optionsOrCb, cb) {
|
|
228
|
-
const command = new ListStreamsCommand(args);
|
|
229
|
-
if (typeof optionsOrCb === "function") {
|
|
230
|
-
this.send(command, optionsOrCb);
|
|
231
|
-
}
|
|
232
|
-
else if (typeof cb === "function") {
|
|
233
|
-
if (typeof optionsOrCb !== "object")
|
|
234
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
235
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
236
|
-
}
|
|
237
|
-
else {
|
|
238
|
-
return this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
242
|
-
const command = new ListTagsForResourceCommand(args);
|
|
243
|
-
if (typeof optionsOrCb === "function") {
|
|
244
|
-
this.send(command, optionsOrCb);
|
|
245
|
-
}
|
|
246
|
-
else if (typeof cb === "function") {
|
|
247
|
-
if (typeof optionsOrCb !== "object")
|
|
248
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
249
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
250
|
-
}
|
|
251
|
-
else {
|
|
252
|
-
return this.send(command, optionsOrCb);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
listTagsForStream(args, optionsOrCb, cb) {
|
|
256
|
-
const command = new ListTagsForStreamCommand(args);
|
|
257
|
-
if (typeof optionsOrCb === "function") {
|
|
258
|
-
this.send(command, optionsOrCb);
|
|
259
|
-
}
|
|
260
|
-
else if (typeof cb === "function") {
|
|
261
|
-
if (typeof optionsOrCb !== "object")
|
|
262
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
263
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
264
|
-
}
|
|
265
|
-
else {
|
|
266
|
-
return this.send(command, optionsOrCb);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
startEdgeConfigurationUpdate(args, optionsOrCb, cb) {
|
|
270
|
-
const command = new StartEdgeConfigurationUpdateCommand(args);
|
|
271
|
-
if (typeof optionsOrCb === "function") {
|
|
272
|
-
this.send(command, optionsOrCb);
|
|
273
|
-
}
|
|
274
|
-
else if (typeof cb === "function") {
|
|
275
|
-
if (typeof optionsOrCb !== "object")
|
|
276
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
277
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
278
|
-
}
|
|
279
|
-
else {
|
|
280
|
-
return this.send(command, optionsOrCb);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
tagResource(args, optionsOrCb, cb) {
|
|
284
|
-
const command = new TagResourceCommand(args);
|
|
285
|
-
if (typeof optionsOrCb === "function") {
|
|
286
|
-
this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
else if (typeof cb === "function") {
|
|
289
|
-
if (typeof optionsOrCb !== "object")
|
|
290
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
291
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
292
|
-
}
|
|
293
|
-
else {
|
|
294
|
-
return this.send(command, optionsOrCb);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
tagStream(args, optionsOrCb, cb) {
|
|
298
|
-
const command = new TagStreamCommand(args);
|
|
299
|
-
if (typeof optionsOrCb === "function") {
|
|
300
|
-
this.send(command, optionsOrCb);
|
|
301
|
-
}
|
|
302
|
-
else if (typeof cb === "function") {
|
|
303
|
-
if (typeof optionsOrCb !== "object")
|
|
304
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
305
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
306
|
-
}
|
|
307
|
-
else {
|
|
308
|
-
return this.send(command, optionsOrCb);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
untagResource(args, optionsOrCb, cb) {
|
|
312
|
-
const command = new UntagResourceCommand(args);
|
|
313
|
-
if (typeof optionsOrCb === "function") {
|
|
314
|
-
this.send(command, optionsOrCb);
|
|
315
|
-
}
|
|
316
|
-
else if (typeof cb === "function") {
|
|
317
|
-
if (typeof optionsOrCb !== "object")
|
|
318
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
319
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
320
|
-
}
|
|
321
|
-
else {
|
|
322
|
-
return this.send(command, optionsOrCb);
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
untagStream(args, optionsOrCb, cb) {
|
|
326
|
-
const command = new UntagStreamCommand(args);
|
|
327
|
-
if (typeof optionsOrCb === "function") {
|
|
328
|
-
this.send(command, optionsOrCb);
|
|
329
|
-
}
|
|
330
|
-
else if (typeof cb === "function") {
|
|
331
|
-
if (typeof optionsOrCb !== "object")
|
|
332
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
333
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
334
|
-
}
|
|
335
|
-
else {
|
|
336
|
-
return this.send(command, optionsOrCb);
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
updateDataRetention(args, optionsOrCb, cb) {
|
|
340
|
-
const command = new UpdateDataRetentionCommand(args);
|
|
341
|
-
if (typeof optionsOrCb === "function") {
|
|
342
|
-
this.send(command, optionsOrCb);
|
|
343
|
-
}
|
|
344
|
-
else if (typeof cb === "function") {
|
|
345
|
-
if (typeof optionsOrCb !== "object")
|
|
346
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
347
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
348
|
-
}
|
|
349
|
-
else {
|
|
350
|
-
return this.send(command, optionsOrCb);
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
updateImageGenerationConfiguration(args, optionsOrCb, cb) {
|
|
354
|
-
const command = new UpdateImageGenerationConfigurationCommand(args);
|
|
355
|
-
if (typeof optionsOrCb === "function") {
|
|
356
|
-
this.send(command, optionsOrCb);
|
|
357
|
-
}
|
|
358
|
-
else if (typeof cb === "function") {
|
|
359
|
-
if (typeof optionsOrCb !== "object")
|
|
360
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
361
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
362
|
-
}
|
|
363
|
-
else {
|
|
364
|
-
return this.send(command, optionsOrCb);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
updateMediaStorageConfiguration(args, optionsOrCb, cb) {
|
|
368
|
-
const command = new UpdateMediaStorageConfigurationCommand(args);
|
|
369
|
-
if (typeof optionsOrCb === "function") {
|
|
370
|
-
this.send(command, optionsOrCb);
|
|
371
|
-
}
|
|
372
|
-
else if (typeof cb === "function") {
|
|
373
|
-
if (typeof optionsOrCb !== "object")
|
|
374
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
375
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
376
|
-
}
|
|
377
|
-
else {
|
|
378
|
-
return this.send(command, optionsOrCb);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
updateNotificationConfiguration(args, optionsOrCb, cb) {
|
|
382
|
-
const command = new UpdateNotificationConfigurationCommand(args);
|
|
383
|
-
if (typeof optionsOrCb === "function") {
|
|
384
|
-
this.send(command, optionsOrCb);
|
|
385
|
-
}
|
|
386
|
-
else if (typeof cb === "function") {
|
|
387
|
-
if (typeof optionsOrCb !== "object")
|
|
388
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
389
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
390
|
-
}
|
|
391
|
-
else {
|
|
392
|
-
return this.send(command, optionsOrCb);
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
updateSignalingChannel(args, optionsOrCb, cb) {
|
|
396
|
-
const command = new UpdateSignalingChannelCommand(args);
|
|
397
|
-
if (typeof optionsOrCb === "function") {
|
|
398
|
-
this.send(command, optionsOrCb);
|
|
399
|
-
}
|
|
400
|
-
else if (typeof cb === "function") {
|
|
401
|
-
if (typeof optionsOrCb !== "object")
|
|
402
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
403
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
404
|
-
}
|
|
405
|
-
else {
|
|
406
|
-
return this.send(command, optionsOrCb);
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
updateStream(args, optionsOrCb, cb) {
|
|
410
|
-
const command = new UpdateStreamCommand(args);
|
|
411
|
-
if (typeof optionsOrCb === "function") {
|
|
412
|
-
this.send(command, optionsOrCb);
|
|
413
|
-
}
|
|
414
|
-
else if (typeof cb === "function") {
|
|
415
|
-
if (typeof optionsOrCb !== "object")
|
|
416
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
417
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
418
|
-
}
|
|
419
|
-
else {
|
|
420
|
-
return this.send(command, optionsOrCb);
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
62
|
}
|
|
63
|
+
createAggregatedClient(commands, KinesisVideo);
|
|
@@ -28,342 +28,179 @@ import { UpdateNotificationConfigurationCommandInput, UpdateNotificationConfigur
|
|
|
28
28
|
import { UpdateSignalingChannelCommandInput, UpdateSignalingChannelCommandOutput } from "./commands/UpdateSignalingChannelCommand";
|
|
29
29
|
import { UpdateStreamCommandInput, UpdateStreamCommandOutput } from "./commands/UpdateStreamCommand";
|
|
30
30
|
import { KinesisVideoClient } from "./KinesisVideoClient";
|
|
31
|
-
|
|
32
|
-
* @public
|
|
33
|
-
* <p></p>
|
|
34
|
-
*/
|
|
35
|
-
export declare class KinesisVideo extends KinesisVideoClient {
|
|
31
|
+
export interface KinesisVideo {
|
|
36
32
|
/**
|
|
37
|
-
* @
|
|
38
|
-
* <p>Creates a signaling channel. </p>
|
|
39
|
-
* <p>
|
|
40
|
-
* <code>CreateSignalingChannel</code> is an asynchronous operation.</p>
|
|
33
|
+
* @see {@link CreateSignalingChannelCommand}
|
|
41
34
|
*/
|
|
42
35
|
createSignalingChannel(args: CreateSignalingChannelCommandInput, options?: __HttpHandlerOptions): Promise<CreateSignalingChannelCommandOutput>;
|
|
43
36
|
createSignalingChannel(args: CreateSignalingChannelCommandInput, cb: (err: any, data?: CreateSignalingChannelCommandOutput) => void): void;
|
|
44
37
|
createSignalingChannel(args: CreateSignalingChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSignalingChannelCommandOutput) => void): void;
|
|
45
38
|
/**
|
|
46
|
-
* @
|
|
47
|
-
* <p>Creates a new Kinesis video stream. </p>
|
|
48
|
-
* <p>When you create a new stream, Kinesis Video Streams assigns it a version number.
|
|
49
|
-
* When you change the stream's metadata, Kinesis Video Streams updates the version. </p>
|
|
50
|
-
* <p>
|
|
51
|
-
* <code>CreateStream</code> is an asynchronous operation.</p>
|
|
52
|
-
* <p>For information about how the service works, see <a href="https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/how-it-works.html">How it Works</a>. </p>
|
|
53
|
-
* <p>You must have permissions for the <code>KinesisVideo:CreateStream</code>
|
|
54
|
-
* action.</p>
|
|
39
|
+
* @see {@link CreateStreamCommand}
|
|
55
40
|
*/
|
|
56
41
|
createStream(args: CreateStreamCommandInput, options?: __HttpHandlerOptions): Promise<CreateStreamCommandOutput>;
|
|
57
42
|
createStream(args: CreateStreamCommandInput, cb: (err: any, data?: CreateStreamCommandOutput) => void): void;
|
|
58
43
|
createStream(args: CreateStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStreamCommandOutput) => void): void;
|
|
59
44
|
/**
|
|
60
|
-
* @
|
|
61
|
-
* <p>Deletes a specified signaling channel. <code>DeleteSignalingChannel</code> is an
|
|
62
|
-
* asynchronous operation. If you don't specify the channel's current version, the most
|
|
63
|
-
* recent version is deleted.</p>
|
|
45
|
+
* @see {@link DeleteSignalingChannelCommand}
|
|
64
46
|
*/
|
|
65
47
|
deleteSignalingChannel(args: DeleteSignalingChannelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSignalingChannelCommandOutput>;
|
|
66
48
|
deleteSignalingChannel(args: DeleteSignalingChannelCommandInput, cb: (err: any, data?: DeleteSignalingChannelCommandOutput) => void): void;
|
|
67
49
|
deleteSignalingChannel(args: DeleteSignalingChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSignalingChannelCommandOutput) => void): void;
|
|
68
50
|
/**
|
|
69
|
-
* @
|
|
70
|
-
* <p>Deletes a Kinesis video stream and the data contained in the stream. </p>
|
|
71
|
-
* <p>This method marks the stream for deletion, and makes the data in the stream
|
|
72
|
-
* inaccessible immediately.</p>
|
|
73
|
-
* <p> </p>
|
|
74
|
-
* <p> To ensure that you have the latest version of the stream before deleting it, you
|
|
75
|
-
* can specify the stream version. Kinesis Video Streams assigns a version to each stream.
|
|
76
|
-
* When you update a stream, Kinesis Video Streams assigns a new version number. To get the
|
|
77
|
-
* latest stream version, use the <code>DescribeStream</code> API. </p>
|
|
78
|
-
* <p>This operation requires permission for the <code>KinesisVideo:DeleteStream</code>
|
|
79
|
-
* action.</p>
|
|
51
|
+
* @see {@link DeleteStreamCommand}
|
|
80
52
|
*/
|
|
81
53
|
deleteStream(args: DeleteStreamCommandInput, options?: __HttpHandlerOptions): Promise<DeleteStreamCommandOutput>;
|
|
82
54
|
deleteStream(args: DeleteStreamCommandInput, cb: (err: any, data?: DeleteStreamCommandOutput) => void): void;
|
|
83
55
|
deleteStream(args: DeleteStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStreamCommandOutput) => void): void;
|
|
84
56
|
/**
|
|
85
|
-
* @
|
|
86
|
-
* <p>Describes a stream’s edge configuration that was set using the <code>StartEdgeConfigurationUpdate</code> API.
|
|
87
|
-
* Use this API to get the status of the configuration if the configuration is in sync with the
|
|
88
|
-
* Edge Agent.</p>
|
|
57
|
+
* @see {@link DescribeEdgeConfigurationCommand}
|
|
89
58
|
*/
|
|
90
59
|
describeEdgeConfiguration(args: DescribeEdgeConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEdgeConfigurationCommandOutput>;
|
|
91
60
|
describeEdgeConfiguration(args: DescribeEdgeConfigurationCommandInput, cb: (err: any, data?: DescribeEdgeConfigurationCommandOutput) => void): void;
|
|
92
61
|
describeEdgeConfiguration(args: DescribeEdgeConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEdgeConfigurationCommandOutput) => void): void;
|
|
93
62
|
/**
|
|
94
|
-
* @
|
|
95
|
-
* <p>Gets the <code>ImageGenerationConfiguration</code> for a given Kinesis video stream.</p>
|
|
63
|
+
* @see {@link DescribeImageGenerationConfigurationCommand}
|
|
96
64
|
*/
|
|
97
65
|
describeImageGenerationConfiguration(args: DescribeImageGenerationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImageGenerationConfigurationCommandOutput>;
|
|
98
66
|
describeImageGenerationConfiguration(args: DescribeImageGenerationConfigurationCommandInput, cb: (err: any, data?: DescribeImageGenerationConfigurationCommandOutput) => void): void;
|
|
99
67
|
describeImageGenerationConfiguration(args: DescribeImageGenerationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImageGenerationConfigurationCommandOutput) => void): void;
|
|
100
68
|
/**
|
|
101
|
-
* @
|
|
102
|
-
* <p>Returns the most current information about the stream. Either streamName or streamARN should be provided in the input.</p>
|
|
103
|
-
* <p>Returns the most current information about the stream. The <code>streamName</code>
|
|
104
|
-
* or <code>streamARN</code> should be provided in the input.</p>
|
|
69
|
+
* @see {@link DescribeMappedResourceConfigurationCommand}
|
|
105
70
|
*/
|
|
106
71
|
describeMappedResourceConfiguration(args: DescribeMappedResourceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMappedResourceConfigurationCommandOutput>;
|
|
107
72
|
describeMappedResourceConfiguration(args: DescribeMappedResourceConfigurationCommandInput, cb: (err: any, data?: DescribeMappedResourceConfigurationCommandOutput) => void): void;
|
|
108
73
|
describeMappedResourceConfiguration(args: DescribeMappedResourceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMappedResourceConfigurationCommandOutput) => void): void;
|
|
109
74
|
/**
|
|
110
|
-
* @
|
|
111
|
-
* <p>Returns the most current information about the channel. Specify the <code>ChannelName</code>
|
|
112
|
-
* or <code>ChannelARN</code> in the input.</p>
|
|
75
|
+
* @see {@link DescribeMediaStorageConfigurationCommand}
|
|
113
76
|
*/
|
|
114
77
|
describeMediaStorageConfiguration(args: DescribeMediaStorageConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMediaStorageConfigurationCommandOutput>;
|
|
115
78
|
describeMediaStorageConfiguration(args: DescribeMediaStorageConfigurationCommandInput, cb: (err: any, data?: DescribeMediaStorageConfigurationCommandOutput) => void): void;
|
|
116
79
|
describeMediaStorageConfiguration(args: DescribeMediaStorageConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMediaStorageConfigurationCommandOutput) => void): void;
|
|
117
80
|
/**
|
|
118
|
-
* @
|
|
119
|
-
* <p>Gets the <code>NotificationConfiguration</code> for a given Kinesis video stream.</p>
|
|
81
|
+
* @see {@link DescribeNotificationConfigurationCommand}
|
|
120
82
|
*/
|
|
121
83
|
describeNotificationConfiguration(args: DescribeNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationConfigurationCommandOutput>;
|
|
122
84
|
describeNotificationConfiguration(args: DescribeNotificationConfigurationCommandInput, cb: (err: any, data?: DescribeNotificationConfigurationCommandOutput) => void): void;
|
|
123
85
|
describeNotificationConfiguration(args: DescribeNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationConfigurationCommandOutput) => void): void;
|
|
124
86
|
/**
|
|
125
|
-
* @
|
|
126
|
-
* <p>Returns the most current information about the signaling channel. You must specify
|
|
127
|
-
* either the name or the Amazon Resource Name (ARN) of the channel that you want to
|
|
128
|
-
* describe.</p>
|
|
87
|
+
* @see {@link DescribeSignalingChannelCommand}
|
|
129
88
|
*/
|
|
130
89
|
describeSignalingChannel(args: DescribeSignalingChannelCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSignalingChannelCommandOutput>;
|
|
131
90
|
describeSignalingChannel(args: DescribeSignalingChannelCommandInput, cb: (err: any, data?: DescribeSignalingChannelCommandOutput) => void): void;
|
|
132
91
|
describeSignalingChannel(args: DescribeSignalingChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSignalingChannelCommandOutput) => void): void;
|
|
133
92
|
/**
|
|
134
|
-
* @
|
|
135
|
-
* <p>Returns the most current information about the specified stream. You must specify
|
|
136
|
-
* either the <code>StreamName</code> or the <code>StreamARN</code>. </p>
|
|
93
|
+
* @see {@link DescribeStreamCommand}
|
|
137
94
|
*/
|
|
138
95
|
describeStream(args: DescribeStreamCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStreamCommandOutput>;
|
|
139
96
|
describeStream(args: DescribeStreamCommandInput, cb: (err: any, data?: DescribeStreamCommandOutput) => void): void;
|
|
140
97
|
describeStream(args: DescribeStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStreamCommandOutput) => void): void;
|
|
141
98
|
/**
|
|
142
|
-
* @
|
|
143
|
-
* <p>Gets an endpoint for a specified stream for either reading or writing. Use this
|
|
144
|
-
* endpoint in your application to read from the specified stream (using the
|
|
145
|
-
* <code>GetMedia</code> or <code>GetMediaForFragmentList</code> operations) or write
|
|
146
|
-
* to it (using the <code>PutMedia</code> operation).
|
|
147
|
-
* </p>
|
|
148
|
-
* <note>
|
|
149
|
-
* <p>The returned endpoint does not have the API name appended. The client needs to
|
|
150
|
-
* add the API name to the returned endpoint.</p>
|
|
151
|
-
* </note>
|
|
152
|
-
* <p>In the request, specify the stream either by <code>StreamName</code> or
|
|
153
|
-
* <code>StreamARN</code>.</p>
|
|
99
|
+
* @see {@link GetDataEndpointCommand}
|
|
154
100
|
*/
|
|
155
101
|
getDataEndpoint(args: GetDataEndpointCommandInput, options?: __HttpHandlerOptions): Promise<GetDataEndpointCommandOutput>;
|
|
156
102
|
getDataEndpoint(args: GetDataEndpointCommandInput, cb: (err: any, data?: GetDataEndpointCommandOutput) => void): void;
|
|
157
103
|
getDataEndpoint(args: GetDataEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataEndpointCommandOutput) => void): void;
|
|
158
104
|
/**
|
|
159
|
-
* @
|
|
160
|
-
* <p>Provides an endpoint for the specified signaling channel to send and receive messages.
|
|
161
|
-
* This API uses the <code>SingleMasterChannelEndpointConfiguration</code> input parameter,
|
|
162
|
-
* which consists of the <code>Protocols</code> and <code>Role</code> properties.</p>
|
|
163
|
-
* <p>
|
|
164
|
-
* <code>Protocols</code> is used to determine the communication mechanism. For example,
|
|
165
|
-
* if you specify <code>WSS</code> as the protocol, this API produces a secure websocket
|
|
166
|
-
* endpoint. If you specify <code>HTTPS</code> as the protocol, this API generates an HTTPS
|
|
167
|
-
* endpoint. </p>
|
|
168
|
-
* <p>
|
|
169
|
-
* <code>Role</code> determines the messaging permissions. A <code>MASTER</code> role
|
|
170
|
-
* results in this API generating an endpoint that a client can use to communicate with any
|
|
171
|
-
* of the viewers on the channel. A <code>VIEWER</code> role results in this API generating
|
|
172
|
-
* an endpoint that a client can use to communicate only with a <code>MASTER</code>.
|
|
173
|
-
* </p>
|
|
105
|
+
* @see {@link GetSignalingChannelEndpointCommand}
|
|
174
106
|
*/
|
|
175
107
|
getSignalingChannelEndpoint(args: GetSignalingChannelEndpointCommandInput, options?: __HttpHandlerOptions): Promise<GetSignalingChannelEndpointCommandOutput>;
|
|
176
108
|
getSignalingChannelEndpoint(args: GetSignalingChannelEndpointCommandInput, cb: (err: any, data?: GetSignalingChannelEndpointCommandOutput) => void): void;
|
|
177
109
|
getSignalingChannelEndpoint(args: GetSignalingChannelEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSignalingChannelEndpointCommandOutput) => void): void;
|
|
178
110
|
/**
|
|
179
|
-
* @
|
|
180
|
-
* <p>Returns an array of <code>ChannelInfo</code> objects. Each object describes a
|
|
181
|
-
* signaling channel. To retrieve only those channels that satisfy a specific condition,
|
|
182
|
-
* you can specify a <code>ChannelNameCondition</code>.</p>
|
|
111
|
+
* @see {@link ListSignalingChannelsCommand}
|
|
183
112
|
*/
|
|
184
113
|
listSignalingChannels(args: ListSignalingChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListSignalingChannelsCommandOutput>;
|
|
185
114
|
listSignalingChannels(args: ListSignalingChannelsCommandInput, cb: (err: any, data?: ListSignalingChannelsCommandOutput) => void): void;
|
|
186
115
|
listSignalingChannels(args: ListSignalingChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSignalingChannelsCommandOutput) => void): void;
|
|
187
116
|
/**
|
|
188
|
-
* @
|
|
189
|
-
* <p>Returns an array of <code>StreamInfo</code> objects. Each object describes a
|
|
190
|
-
* stream. To retrieve only streams that satisfy a specific condition, you can specify a
|
|
191
|
-
* <code>StreamNameCondition</code>. </p>
|
|
117
|
+
* @see {@link ListStreamsCommand}
|
|
192
118
|
*/
|
|
193
119
|
listStreams(args: ListStreamsCommandInput, options?: __HttpHandlerOptions): Promise<ListStreamsCommandOutput>;
|
|
194
120
|
listStreams(args: ListStreamsCommandInput, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
|
|
195
121
|
listStreams(args: ListStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
|
|
196
122
|
/**
|
|
197
|
-
* @
|
|
198
|
-
* <p>Returns a list of tags associated with the specified signaling channel.</p>
|
|
123
|
+
* @see {@link ListTagsForResourceCommand}
|
|
199
124
|
*/
|
|
200
125
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
201
126
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
202
127
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
203
128
|
/**
|
|
204
|
-
* @
|
|
205
|
-
* <p>Returns a list of tags associated with the specified stream.</p>
|
|
206
|
-
* <p>In the request, you must specify either the <code>StreamName</code> or the
|
|
207
|
-
* <code>StreamARN</code>. </p>
|
|
129
|
+
* @see {@link ListTagsForStreamCommand}
|
|
208
130
|
*/
|
|
209
131
|
listTagsForStream(args: ListTagsForStreamCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForStreamCommandOutput>;
|
|
210
132
|
listTagsForStream(args: ListTagsForStreamCommandInput, cb: (err: any, data?: ListTagsForStreamCommandOutput) => void): void;
|
|
211
133
|
listTagsForStream(args: ListTagsForStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForStreamCommandOutput) => void): void;
|
|
212
134
|
/**
|
|
213
|
-
* @
|
|
214
|
-
* <p>An asynchronous API that updates a stream’s existing edge configuration.
|
|
215
|
-
* The Kinesis Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass
|
|
216
|
-
* component that runs on an IoT Hub Device, setup at your premise. The time to sync can vary
|
|
217
|
-
* and depends on the connectivity of the Hub Device.
|
|
218
|
-
* The <code>SyncStatus</code> will be updated as the edge configuration is acknowledged,
|
|
219
|
-
* and synced with the Edge Agent. </p>
|
|
220
|
-
* <p>If this API is invoked for the first time, a new edge configuration will be created for the stream,
|
|
221
|
-
* and the sync status will be set to <code>SYNCING</code>. You will have to wait for the sync status
|
|
222
|
-
* to reach a terminal state such as: <code>IN_SYNC</code>, or <code>SYNC_FAILED</code>, before using this API again.
|
|
223
|
-
* If you invoke this API during the syncing process, a <code>ResourceInUseException</code> will be thrown.
|
|
224
|
-
* The connectivity of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes,
|
|
225
|
-
* the status will transition into the <code>SYNC_FAILED</code> state.</p>
|
|
135
|
+
* @see {@link StartEdgeConfigurationUpdateCommand}
|
|
226
136
|
*/
|
|
227
137
|
startEdgeConfigurationUpdate(args: StartEdgeConfigurationUpdateCommandInput, options?: __HttpHandlerOptions): Promise<StartEdgeConfigurationUpdateCommandOutput>;
|
|
228
138
|
startEdgeConfigurationUpdate(args: StartEdgeConfigurationUpdateCommandInput, cb: (err: any, data?: StartEdgeConfigurationUpdateCommandOutput) => void): void;
|
|
229
139
|
startEdgeConfigurationUpdate(args: StartEdgeConfigurationUpdateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartEdgeConfigurationUpdateCommandOutput) => void): void;
|
|
230
140
|
/**
|
|
231
|
-
* @
|
|
232
|
-
* <p>Adds one or more tags to a signaling channel. A <i>tag</i> is a
|
|
233
|
-
* key-value pair (the value is optional) that you can define and assign to Amazon Web Services resources.
|
|
234
|
-
* If you specify a tag that already exists, the tag value is replaced with the value that
|
|
235
|
-
* you specify in the request. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using Cost Allocation
|
|
236
|
-
* Tags</a> in the <i>Billing and Cost Management and Cost Management User
|
|
237
|
-
* Guide</i>.</p>
|
|
141
|
+
* @see {@link TagResourceCommand}
|
|
238
142
|
*/
|
|
239
143
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
240
144
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
241
145
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
242
146
|
/**
|
|
243
|
-
* @
|
|
244
|
-
* <p>Adds one or more tags to a stream. A <i>tag</i> is a key-value pair
|
|
245
|
-
* (the value is optional) that you can define and assign to Amazon Web Services resources. If you specify
|
|
246
|
-
* a tag that already exists, the tag value is replaced with the value that you specify in
|
|
247
|
-
* the request. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using Cost Allocation
|
|
248
|
-
* Tags</a> in the <i>Billing and Cost Management and Cost Management User Guide</i>. </p>
|
|
249
|
-
* <p>You must provide either the <code>StreamName</code> or the
|
|
250
|
-
* <code>StreamARN</code>.</p>
|
|
251
|
-
* <p>This operation requires permission for the <code>KinesisVideo:TagStream</code>
|
|
252
|
-
* action.</p>
|
|
253
|
-
* <p>A Kinesis video stream can support up to 50 tags.</p>
|
|
147
|
+
* @see {@link TagStreamCommand}
|
|
254
148
|
*/
|
|
255
149
|
tagStream(args: TagStreamCommandInput, options?: __HttpHandlerOptions): Promise<TagStreamCommandOutput>;
|
|
256
150
|
tagStream(args: TagStreamCommandInput, cb: (err: any, data?: TagStreamCommandOutput) => void): void;
|
|
257
151
|
tagStream(args: TagStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagStreamCommandOutput) => void): void;
|
|
258
152
|
/**
|
|
259
|
-
* @
|
|
260
|
-
* <p>Removes one or more tags from a signaling channel. In the request, specify only a tag
|
|
261
|
-
* key or keys; don't specify the value. If you specify a tag key that does not exist, it's
|
|
262
|
-
* ignored.</p>
|
|
153
|
+
* @see {@link UntagResourceCommand}
|
|
263
154
|
*/
|
|
264
155
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
265
156
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
266
157
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
267
158
|
/**
|
|
268
|
-
* @
|
|
269
|
-
* <p>Removes one or more tags from a stream. In the request, specify only a tag key or
|
|
270
|
-
* keys; don't specify the value. If you specify a tag key that does not exist, it's
|
|
271
|
-
* ignored.</p>
|
|
272
|
-
* <p>In the request, you must provide the <code>StreamName</code> or
|
|
273
|
-
* <code>StreamARN</code>.</p>
|
|
159
|
+
* @see {@link UntagStreamCommand}
|
|
274
160
|
*/
|
|
275
161
|
untagStream(args: UntagStreamCommandInput, options?: __HttpHandlerOptions): Promise<UntagStreamCommandOutput>;
|
|
276
162
|
untagStream(args: UntagStreamCommandInput, cb: (err: any, data?: UntagStreamCommandOutput) => void): void;
|
|
277
163
|
untagStream(args: UntagStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagStreamCommandOutput) => void): void;
|
|
278
164
|
/**
|
|
279
|
-
* @
|
|
280
|
-
* <p> Increases or decreases the stream's data retention period by the value that you
|
|
281
|
-
* specify. To indicate whether you want to increase or decrease the data retention period,
|
|
282
|
-
* specify the <code>Operation</code> parameter in the request body. In the request, you
|
|
283
|
-
* must specify either the <code>StreamName</code> or the <code>StreamARN</code>. </p>
|
|
284
|
-
* <note>
|
|
285
|
-
* <p>The retention period that you specify replaces the current value.</p>
|
|
286
|
-
* </note>
|
|
287
|
-
* <p>This operation requires permission for the
|
|
288
|
-
* <code>KinesisVideo:UpdateDataRetention</code> action.</p>
|
|
289
|
-
* <p>Changing the data retention period affects the data in the stream as
|
|
290
|
-
* follows:</p>
|
|
291
|
-
* <ul>
|
|
292
|
-
* <li>
|
|
293
|
-
* <p>If the data retention period is increased, existing data is retained for
|
|
294
|
-
* the new retention period. For example, if the data retention period is increased
|
|
295
|
-
* from one hour to seven hours, all existing data is retained for seven
|
|
296
|
-
* hours.</p>
|
|
297
|
-
* </li>
|
|
298
|
-
* <li>
|
|
299
|
-
* <p>If the data retention period is decreased, existing data is retained for
|
|
300
|
-
* the new retention period. For example, if the data retention period is decreased
|
|
301
|
-
* from seven hours to one hour, all existing data is retained for one hour, and
|
|
302
|
-
* any data older than one hour is deleted immediately.</p>
|
|
303
|
-
* </li>
|
|
304
|
-
* </ul>
|
|
165
|
+
* @see {@link UpdateDataRetentionCommand}
|
|
305
166
|
*/
|
|
306
167
|
updateDataRetention(args: UpdateDataRetentionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataRetentionCommandOutput>;
|
|
307
168
|
updateDataRetention(args: UpdateDataRetentionCommandInput, cb: (err: any, data?: UpdateDataRetentionCommandOutput) => void): void;
|
|
308
169
|
updateDataRetention(args: UpdateDataRetentionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataRetentionCommandOutput) => void): void;
|
|
309
170
|
/**
|
|
310
|
-
* @
|
|
311
|
-
* <p>Updates the <code>StreamInfo</code> and <code>ImageProcessingConfiguration</code> fields.</p>
|
|
171
|
+
* @see {@link UpdateImageGenerationConfigurationCommand}
|
|
312
172
|
*/
|
|
313
173
|
updateImageGenerationConfiguration(args: UpdateImageGenerationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateImageGenerationConfigurationCommandOutput>;
|
|
314
174
|
updateImageGenerationConfiguration(args: UpdateImageGenerationConfigurationCommandInput, cb: (err: any, data?: UpdateImageGenerationConfigurationCommandOutput) => void): void;
|
|
315
175
|
updateImageGenerationConfiguration(args: UpdateImageGenerationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateImageGenerationConfigurationCommandOutput) => void): void;
|
|
316
176
|
/**
|
|
317
|
-
* @
|
|
318
|
-
* <p>Associates a <code>SignalingChannel</code> to a stream to store the media. There are two signaling modes that
|
|
319
|
-
* can specified :</p>
|
|
320
|
-
* <ul>
|
|
321
|
-
* <li>
|
|
322
|
-
* <p>If the <code>StorageStatus</code> is disabled, no data will be stored,
|
|
323
|
-
* and the <code>StreamARN</code> parameter will not be needed. </p>
|
|
324
|
-
* </li>
|
|
325
|
-
* <li>
|
|
326
|
-
* <p>If the <code>StorageStatus</code> is enabled, the data will be stored in the
|
|
327
|
-
* <code>StreamARN</code> provided. </p>
|
|
328
|
-
* </li>
|
|
329
|
-
* </ul>
|
|
177
|
+
* @see {@link UpdateMediaStorageConfigurationCommand}
|
|
330
178
|
*/
|
|
331
179
|
updateMediaStorageConfiguration(args: UpdateMediaStorageConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMediaStorageConfigurationCommandOutput>;
|
|
332
180
|
updateMediaStorageConfiguration(args: UpdateMediaStorageConfigurationCommandInput, cb: (err: any, data?: UpdateMediaStorageConfigurationCommandOutput) => void): void;
|
|
333
181
|
updateMediaStorageConfiguration(args: UpdateMediaStorageConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMediaStorageConfigurationCommandOutput) => void): void;
|
|
334
182
|
/**
|
|
335
|
-
* @
|
|
336
|
-
* <p>Updates the notification information for a stream.</p>
|
|
183
|
+
* @see {@link UpdateNotificationConfigurationCommand}
|
|
337
184
|
*/
|
|
338
185
|
updateNotificationConfiguration(args: UpdateNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNotificationConfigurationCommandOutput>;
|
|
339
186
|
updateNotificationConfiguration(args: UpdateNotificationConfigurationCommandInput, cb: (err: any, data?: UpdateNotificationConfigurationCommandOutput) => void): void;
|
|
340
187
|
updateNotificationConfiguration(args: UpdateNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotificationConfigurationCommandOutput) => void): void;
|
|
341
188
|
/**
|
|
342
|
-
* @
|
|
343
|
-
* <p>Updates the existing signaling channel. This is an asynchronous operation and takes
|
|
344
|
-
* time to complete. </p>
|
|
345
|
-
* <p>If the <code>MessageTtlSeconds</code> value is updated (either increased or reduced),
|
|
346
|
-
* it only applies to new messages sent via this channel after it's been updated. Existing
|
|
347
|
-
* messages are still expired as per the previous <code>MessageTtlSeconds</code>
|
|
348
|
-
* value.</p>
|
|
189
|
+
* @see {@link UpdateSignalingChannelCommand}
|
|
349
190
|
*/
|
|
350
191
|
updateSignalingChannel(args: UpdateSignalingChannelCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSignalingChannelCommandOutput>;
|
|
351
192
|
updateSignalingChannel(args: UpdateSignalingChannelCommandInput, cb: (err: any, data?: UpdateSignalingChannelCommandOutput) => void): void;
|
|
352
193
|
updateSignalingChannel(args: UpdateSignalingChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSignalingChannelCommandOutput) => void): void;
|
|
353
194
|
/**
|
|
354
|
-
* @
|
|
355
|
-
* <p>Updates stream metadata, such as the device name and media type.</p>
|
|
356
|
-
* <p>You must provide the stream name or the Amazon Resource Name (ARN) of the
|
|
357
|
-
* stream.</p>
|
|
358
|
-
* <p>To make sure that you have the latest version of the stream before updating it, you
|
|
359
|
-
* can specify the stream version. Kinesis Video Streams assigns a version to each stream.
|
|
360
|
-
* When you update a stream, Kinesis Video Streams assigns a new version number. To get the
|
|
361
|
-
* latest stream version, use the <code>DescribeStream</code> API. </p>
|
|
362
|
-
* <p>
|
|
363
|
-
* <code>UpdateStream</code> is an asynchronous operation, and takes time to
|
|
364
|
-
* complete.</p>
|
|
195
|
+
* @see {@link UpdateStreamCommand}
|
|
365
196
|
*/
|
|
366
197
|
updateStream(args: UpdateStreamCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStreamCommandOutput>;
|
|
367
198
|
updateStream(args: UpdateStreamCommandInput, cb: (err: any, data?: UpdateStreamCommandOutput) => void): void;
|
|
368
199
|
updateStream(args: UpdateStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStreamCommandOutput) => void): void;
|
|
369
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* @public
|
|
203
|
+
* <p></p>
|
|
204
|
+
*/
|
|
205
|
+
export declare class KinesisVideo extends KinesisVideoClient implements KinesisVideo {
|
|
206
|
+
}
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
UpdateStreamCommandOutput,
|
|
113
113
|
} from "./commands/UpdateStreamCommand";
|
|
114
114
|
import { KinesisVideoClient } from "./KinesisVideoClient";
|
|
115
|
-
export
|
|
115
|
+
export interface KinesisVideo {
|
|
116
116
|
createSignalingChannel(
|
|
117
117
|
args: CreateSignalingChannelCommandInput,
|
|
118
118
|
options?: __HttpHandlerOptions
|
|
@@ -508,3 +508,6 @@ export declare class KinesisVideo extends KinesisVideoClient {
|
|
|
508
508
|
cb: (err: any, data?: UpdateStreamCommandOutput) => void
|
|
509
509
|
): void;
|
|
510
510
|
}
|
|
511
|
+
export declare class KinesisVideo
|
|
512
|
+
extends KinesisVideoClient
|
|
513
|
+
implements KinesisVideo {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-video",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Video Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|