@aws-sdk/client-kinesis-video 3.928.0 → 3.929.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/index.js +1111 -1478
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/KinesisVideoClient.js +2 -0
- package/dist-es/commands/CreateSignalingChannelCommand.js +3 -9
- package/dist-es/commands/CreateStreamCommand.js +3 -9
- package/dist-es/commands/DeleteEdgeConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteSignalingChannelCommand.js +3 -9
- package/dist-es/commands/DeleteStreamCommand.js +3 -9
- package/dist-es/commands/DescribeEdgeConfigurationCommand.js +3 -10
- package/dist-es/commands/DescribeImageGenerationConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeMappedResourceConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeMediaStorageConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeNotificationConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeSignalingChannelCommand.js +3 -9
- package/dist-es/commands/DescribeStreamCommand.js +3 -9
- package/dist-es/commands/GetDataEndpointCommand.js +3 -9
- package/dist-es/commands/GetSignalingChannelEndpointCommand.js +3 -9
- package/dist-es/commands/ListEdgeAgentConfigurationsCommand.js +3 -10
- package/dist-es/commands/ListSignalingChannelsCommand.js +3 -9
- package/dist-es/commands/ListStreamsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTagsForStreamCommand.js +3 -9
- package/dist-es/commands/StartEdgeConfigurationUpdateCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/TagStreamCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UntagStreamCommand.js +3 -9
- package/dist-es/commands/UpdateDataRetentionCommand.js +3 -9
- package/dist-es/commands/UpdateImageGenerationConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateMediaStorageConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateNotificationConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateSignalingChannelCommand.js +3 -9
- package/dist-es/commands/UpdateStreamCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -35
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1009 -0
- package/dist-types/KinesisVideoClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -32
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +145 -0
- package/dist-types/ts3.4/KinesisVideoClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -22
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +151 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -1182
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -272
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -365
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("KinesisVideo_20170930", "UntagResource", {})
|
|
17
13
|
.n("KinesisVideoClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagStream } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagStreamCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("KinesisVideo_20170930", "UntagStream", {})
|
|
17
13
|
.n("KinesisVideoClient", "UntagStreamCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagStreamCommand)
|
|
20
|
-
.de(de_UntagStreamCommand)
|
|
14
|
+
.sc(UntagStream)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDataRetention } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDataRetentionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("KinesisVideo_20170930", "UpdateDataRetention", {})
|
|
17
13
|
.n("KinesisVideoClient", "UpdateDataRetentionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDataRetentionCommand)
|
|
20
|
-
.de(de_UpdateDataRetentionCommand)
|
|
14
|
+
.sc(UpdateDataRetention)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateImageGenerationConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateImageGenerationConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("KinesisVideo_20170930", "UpdateImageGenerationConfiguration", {})
|
|
17
13
|
.n("KinesisVideoClient", "UpdateImageGenerationConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateImageGenerationConfigurationCommand)
|
|
20
|
-
.de(de_UpdateImageGenerationConfigurationCommand)
|
|
14
|
+
.sc(UpdateImageGenerationConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateMediaStorageConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateMediaStorageConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("KinesisVideo_20170930", "UpdateMediaStorageConfiguration", {})
|
|
17
13
|
.n("KinesisVideoClient", "UpdateMediaStorageConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateMediaStorageConfigurationCommand)
|
|
20
|
-
.de(de_UpdateMediaStorageConfigurationCommand)
|
|
14
|
+
.sc(UpdateMediaStorageConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateNotificationConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateNotificationConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("KinesisVideo_20170930", "UpdateNotificationConfiguration", {})
|
|
17
13
|
.n("KinesisVideoClient", "UpdateNotificationConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateNotificationConfigurationCommand)
|
|
20
|
-
.de(de_UpdateNotificationConfigurationCommand)
|
|
14
|
+
.sc(UpdateNotificationConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSignalingChannel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSignalingChannelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("KinesisVideo_20170930", "UpdateSignalingChannel", {})
|
|
17
13
|
.n("KinesisVideoClient", "UpdateSignalingChannelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSignalingChannelCommand)
|
|
20
|
-
.de(de_UpdateSignalingChannelCommand)
|
|
14
|
+
.sc(UpdateSignalingChannel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateStream } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateStreamCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("KinesisVideo_20170930", "UpdateStream", {})
|
|
17
13
|
.n("KinesisVideoClient", "UpdateStreamCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateStreamCommand)
|
|
20
|
-
.de(de_UpdateStreamCommand)
|
|
14
|
+
.sc(UpdateStream)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { KinesisVideoServiceException as __BaseException } from "./KinesisVideoServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -292,37 +291,3 @@ export const UpdateDataRetentionOperation = {
|
|
|
292
291
|
DECREASE_DATA_RETENTION: "DECREASE_DATA_RETENTION",
|
|
293
292
|
INCREASE_DATA_RETENTION: "INCREASE_DATA_RETENTION",
|
|
294
293
|
};
|
|
295
|
-
export const MediaSourceConfigFilterSensitiveLog = (obj) => ({
|
|
296
|
-
...obj,
|
|
297
|
-
...(obj.MediaUriSecretArn && { MediaUriSecretArn: SENSITIVE_STRING }),
|
|
298
|
-
});
|
|
299
|
-
export const RecorderConfigFilterSensitiveLog = (obj) => ({
|
|
300
|
-
...obj,
|
|
301
|
-
...(obj.MediaSourceConfig && { MediaSourceConfig: MediaSourceConfigFilterSensitiveLog(obj.MediaSourceConfig) }),
|
|
302
|
-
});
|
|
303
|
-
export const EdgeConfigFilterSensitiveLog = (obj) => ({
|
|
304
|
-
...obj,
|
|
305
|
-
...(obj.RecorderConfig && { RecorderConfig: RecorderConfigFilterSensitiveLog(obj.RecorderConfig) }),
|
|
306
|
-
});
|
|
307
|
-
export const DescribeEdgeConfigurationOutputFilterSensitiveLog = (obj) => ({
|
|
308
|
-
...obj,
|
|
309
|
-
...(obj.EdgeConfig && { EdgeConfig: EdgeConfigFilterSensitiveLog(obj.EdgeConfig) }),
|
|
310
|
-
});
|
|
311
|
-
export const ListEdgeAgentConfigurationsEdgeConfigFilterSensitiveLog = (obj) => ({
|
|
312
|
-
...obj,
|
|
313
|
-
...(obj.EdgeConfig && { EdgeConfig: EdgeConfigFilterSensitiveLog(obj.EdgeConfig) }),
|
|
314
|
-
});
|
|
315
|
-
export const ListEdgeAgentConfigurationsOutputFilterSensitiveLog = (obj) => ({
|
|
316
|
-
...obj,
|
|
317
|
-
...(obj.EdgeConfigs && {
|
|
318
|
-
EdgeConfigs: obj.EdgeConfigs.map((item) => ListEdgeAgentConfigurationsEdgeConfigFilterSensitiveLog(item)),
|
|
319
|
-
}),
|
|
320
|
-
});
|
|
321
|
-
export const StartEdgeConfigurationUpdateInputFilterSensitiveLog = (obj) => ({
|
|
322
|
-
...obj,
|
|
323
|
-
...(obj.EdgeConfig && { EdgeConfig: EdgeConfigFilterSensitiveLog(obj.EdgeConfig) }),
|
|
324
|
-
});
|
|
325
|
-
export const StartEdgeConfigurationUpdateOutputFilterSensitiveLog = (obj) => ({
|
|
326
|
-
...obj,
|
|
327
|
-
...(obj.EdgeConfig && { EdgeConfig: EdgeConfigFilterSensitiveLog(obj.EdgeConfig) }),
|
|
328
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.kinesisvideo" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "Kinesis Video",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|