@aws-sdk/client-kinesis-video 3.80.0 → 3.83.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/CHANGELOG.md +27 -0
- package/dist-cjs/KinesisVideo.js +60 -0
- package/dist-cjs/commands/DescribeImageGenerationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DescribeNotificationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/UpdateImageGenerationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/UpdateNotificationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +109 -2
- package/dist-cjs/protocols/Aws_restJson1.js +393 -1
- package/dist-es/KinesisVideo.js +60 -0
- package/dist-es/commands/DescribeImageGenerationConfigurationCommand.js +39 -0
- package/dist-es/commands/DescribeNotificationConfigurationCommand.js +39 -0
- package/dist-es/commands/UpdateImageGenerationConfigurationCommand.js +39 -0
- package/dist-es/commands/UpdateNotificationConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +82 -0
- package/dist-es/protocols/Aws_restJson1.js +468 -1
- package/dist-types/KinesisVideo.d.ts +37 -9
- package/dist-types/KinesisVideoClient.d.ts +6 -2
- package/dist-types/commands/DescribeImageGenerationConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/DescribeNotificationConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/GetSignalingChannelEndpointCommand.d.ts +2 -2
- package/dist-types/commands/ListSignalingChannelsCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/TagStreamCommand.d.ts +3 -3
- package/dist-types/commands/UpdateImageGenerationConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +264 -10
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/KinesisVideo.d.ts +20 -0
- package/dist-types/ts3.4/KinesisVideoClient.d.ts +6 -2
- package/dist-types/ts3.4/commands/DescribeImageGenerationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeNotificationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateImageGenerationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNotificationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +153 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +5 -5
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateImageGenerationConfigurationInput, UpdateImageGenerationConfigurationOutput } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateImageGenerationConfigurationCommand, serializeAws_restJson1UpdateImageGenerationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateImageGenerationConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateImageGenerationConfigurationCommand, _super);
|
|
8
|
+
function UpdateImageGenerationConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateImageGenerationConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KinesisVideoClient";
|
|
18
|
+
var commandName = "UpdateImageGenerationConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateImageGenerationConfigurationInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateImageGenerationConfigurationOutput.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateImageGenerationConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateImageGenerationConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateImageGenerationConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateImageGenerationConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateImageGenerationConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateImageGenerationConfigurationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateNotificationConfigurationInput, UpdateNotificationConfigurationOutput } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateNotificationConfigurationCommand, serializeAws_restJson1UpdateNotificationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateNotificationConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateNotificationConfigurationCommand, _super);
|
|
8
|
+
function UpdateNotificationConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateNotificationConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KinesisVideoClient";
|
|
18
|
+
var commandName = "UpdateNotificationConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateNotificationConfigurationInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateNotificationConfigurationOutput.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateNotificationConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateNotificationConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateNotificationConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateNotificationConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateNotificationConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateNotificationConfigurationCommand };
|
|
@@ -2,6 +2,8 @@ export * from "./CreateSignalingChannelCommand";
|
|
|
2
2
|
export * from "./CreateStreamCommand";
|
|
3
3
|
export * from "./DeleteSignalingChannelCommand";
|
|
4
4
|
export * from "./DeleteStreamCommand";
|
|
5
|
+
export * from "./DescribeImageGenerationConfigurationCommand";
|
|
6
|
+
export * from "./DescribeNotificationConfigurationCommand";
|
|
5
7
|
export * from "./DescribeSignalingChannelCommand";
|
|
6
8
|
export * from "./DescribeStreamCommand";
|
|
7
9
|
export * from "./GetDataEndpointCommand";
|
|
@@ -15,5 +17,7 @@ export * from "./TagStreamCommand";
|
|
|
15
17
|
export * from "./UntagResourceCommand";
|
|
16
18
|
export * from "./UntagStreamCommand";
|
|
17
19
|
export * from "./UpdateDataRetentionCommand";
|
|
20
|
+
export * from "./UpdateImageGenerationConfigurationCommand";
|
|
21
|
+
export * from "./UpdateNotificationConfigurationCommand";
|
|
18
22
|
export * from "./UpdateSignalingChannelCommand";
|
|
19
23
|
export * from "./UpdateStreamCommand";
|
|
@@ -44,6 +44,7 @@ export var APIName;
|
|
|
44
44
|
APIName["GET_CLIP"] = "GET_CLIP";
|
|
45
45
|
APIName["GET_DASH_STREAMING_SESSION_URL"] = "GET_DASH_STREAMING_SESSION_URL";
|
|
46
46
|
APIName["GET_HLS_STREAMING_SESSION_URL"] = "GET_HLS_STREAMING_SESSION_URL";
|
|
47
|
+
APIName["GET_IMAGES"] = "GET_IMAGES";
|
|
47
48
|
APIName["GET_MEDIA"] = "GET_MEDIA";
|
|
48
49
|
APIName["GET_MEDIA_FOR_FRAGMENT_LIST"] = "GET_MEDIA_FOR_FRAGMENT_LIST";
|
|
49
50
|
APIName["LIST_FRAGMENTS"] = "LIST_FRAGMENTS";
|
|
@@ -58,6 +59,7 @@ export var Status;
|
|
|
58
59
|
})(Status || (Status = {}));
|
|
59
60
|
export var ChannelType;
|
|
60
61
|
(function (ChannelType) {
|
|
62
|
+
ChannelType["FULL_MESH"] = "FULL_MESH";
|
|
61
63
|
ChannelType["SINGLE_MASTER"] = "SINGLE_MASTER";
|
|
62
64
|
})(ChannelType || (ChannelType = {}));
|
|
63
65
|
export var SingleMasterConfiguration;
|
|
@@ -99,6 +101,11 @@ var ClientLimitExceededException = (function (_super) {
|
|
|
99
101
|
return ClientLimitExceededException;
|
|
100
102
|
}(__BaseException));
|
|
101
103
|
export { ClientLimitExceededException };
|
|
104
|
+
export var ConfigurationStatus;
|
|
105
|
+
(function (ConfigurationStatus) {
|
|
106
|
+
ConfigurationStatus["DISABLED"] = "DISABLED";
|
|
107
|
+
ConfigurationStatus["ENABLED"] = "ENABLED";
|
|
108
|
+
})(ConfigurationStatus || (ConfigurationStatus = {}));
|
|
102
109
|
export var Tag;
|
|
103
110
|
(function (Tag) {
|
|
104
111
|
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -239,6 +246,52 @@ var NotAuthorizedException = (function (_super) {
|
|
|
239
246
|
return NotAuthorizedException;
|
|
240
247
|
}(__BaseException));
|
|
241
248
|
export { NotAuthorizedException };
|
|
249
|
+
export var DescribeImageGenerationConfigurationInput;
|
|
250
|
+
(function (DescribeImageGenerationConfigurationInput) {
|
|
251
|
+
DescribeImageGenerationConfigurationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
252
|
+
})(DescribeImageGenerationConfigurationInput || (DescribeImageGenerationConfigurationInput = {}));
|
|
253
|
+
export var ImageGenerationDestinationConfig;
|
|
254
|
+
(function (ImageGenerationDestinationConfig) {
|
|
255
|
+
ImageGenerationDestinationConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
256
|
+
})(ImageGenerationDestinationConfig || (ImageGenerationDestinationConfig = {}));
|
|
257
|
+
export var Format;
|
|
258
|
+
(function (Format) {
|
|
259
|
+
Format["JPEG"] = "JPEG";
|
|
260
|
+
Format["PNG"] = "PNG";
|
|
261
|
+
})(Format || (Format = {}));
|
|
262
|
+
export var FormatConfigKey;
|
|
263
|
+
(function (FormatConfigKey) {
|
|
264
|
+
FormatConfigKey["JPEGQuality"] = "JPEGQuality";
|
|
265
|
+
})(FormatConfigKey || (FormatConfigKey = {}));
|
|
266
|
+
export var ImageSelectorType;
|
|
267
|
+
(function (ImageSelectorType) {
|
|
268
|
+
ImageSelectorType["PRODUCER_TIMESTAMP"] = "PRODUCER_TIMESTAMP";
|
|
269
|
+
ImageSelectorType["SERVER_TIMESTAMP"] = "SERVER_TIMESTAMP";
|
|
270
|
+
})(ImageSelectorType || (ImageSelectorType = {}));
|
|
271
|
+
export var ImageGenerationConfiguration;
|
|
272
|
+
(function (ImageGenerationConfiguration) {
|
|
273
|
+
ImageGenerationConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
274
|
+
})(ImageGenerationConfiguration || (ImageGenerationConfiguration = {}));
|
|
275
|
+
export var DescribeImageGenerationConfigurationOutput;
|
|
276
|
+
(function (DescribeImageGenerationConfigurationOutput) {
|
|
277
|
+
DescribeImageGenerationConfigurationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
278
|
+
})(DescribeImageGenerationConfigurationOutput || (DescribeImageGenerationConfigurationOutput = {}));
|
|
279
|
+
export var DescribeNotificationConfigurationInput;
|
|
280
|
+
(function (DescribeNotificationConfigurationInput) {
|
|
281
|
+
DescribeNotificationConfigurationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
282
|
+
})(DescribeNotificationConfigurationInput || (DescribeNotificationConfigurationInput = {}));
|
|
283
|
+
export var NotificationDestinationConfig;
|
|
284
|
+
(function (NotificationDestinationConfig) {
|
|
285
|
+
NotificationDestinationConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
286
|
+
})(NotificationDestinationConfig || (NotificationDestinationConfig = {}));
|
|
287
|
+
export var NotificationConfiguration;
|
|
288
|
+
(function (NotificationConfiguration) {
|
|
289
|
+
NotificationConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
290
|
+
})(NotificationConfiguration || (NotificationConfiguration = {}));
|
|
291
|
+
export var DescribeNotificationConfigurationOutput;
|
|
292
|
+
(function (DescribeNotificationConfigurationOutput) {
|
|
293
|
+
DescribeNotificationConfigurationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
294
|
+
})(DescribeNotificationConfigurationOutput || (DescribeNotificationConfigurationOutput = {}));
|
|
242
295
|
export var DescribeSignalingChannelInput;
|
|
243
296
|
(function (DescribeSignalingChannelInput) {
|
|
244
297
|
DescribeSignalingChannelInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -377,6 +430,35 @@ export var UpdateDataRetentionOutput;
|
|
|
377
430
|
(function (UpdateDataRetentionOutput) {
|
|
378
431
|
UpdateDataRetentionOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
379
432
|
})(UpdateDataRetentionOutput || (UpdateDataRetentionOutput = {}));
|
|
433
|
+
var NoDataRetentionException = (function (_super) {
|
|
434
|
+
__extends(NoDataRetentionException, _super);
|
|
435
|
+
function NoDataRetentionException(opts) {
|
|
436
|
+
var _this = _super.call(this, __assign({ name: "NoDataRetentionException", $fault: "client" }, opts)) || this;
|
|
437
|
+
_this.name = "NoDataRetentionException";
|
|
438
|
+
_this.$fault = "client";
|
|
439
|
+
Object.setPrototypeOf(_this, NoDataRetentionException.prototype);
|
|
440
|
+
_this.Message = opts.Message;
|
|
441
|
+
return _this;
|
|
442
|
+
}
|
|
443
|
+
return NoDataRetentionException;
|
|
444
|
+
}(__BaseException));
|
|
445
|
+
export { NoDataRetentionException };
|
|
446
|
+
export var UpdateImageGenerationConfigurationInput;
|
|
447
|
+
(function (UpdateImageGenerationConfigurationInput) {
|
|
448
|
+
UpdateImageGenerationConfigurationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
449
|
+
})(UpdateImageGenerationConfigurationInput || (UpdateImageGenerationConfigurationInput = {}));
|
|
450
|
+
export var UpdateImageGenerationConfigurationOutput;
|
|
451
|
+
(function (UpdateImageGenerationConfigurationOutput) {
|
|
452
|
+
UpdateImageGenerationConfigurationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
453
|
+
})(UpdateImageGenerationConfigurationOutput || (UpdateImageGenerationConfigurationOutput = {}));
|
|
454
|
+
export var UpdateNotificationConfigurationInput;
|
|
455
|
+
(function (UpdateNotificationConfigurationInput) {
|
|
456
|
+
UpdateNotificationConfigurationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
457
|
+
})(UpdateNotificationConfigurationInput || (UpdateNotificationConfigurationInput = {}));
|
|
458
|
+
export var UpdateNotificationConfigurationOutput;
|
|
459
|
+
(function (UpdateNotificationConfigurationOutput) {
|
|
460
|
+
UpdateNotificationConfigurationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
461
|
+
})(UpdateNotificationConfigurationOutput || (UpdateNotificationConfigurationOutput = {}));
|
|
380
462
|
export var UpdateSignalingChannelInput;
|
|
381
463
|
(function (UpdateSignalingChannelInput) {
|
|
382
464
|
UpdateSignalingChannelInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|