@aws-sdk/client-kinesis-video 3.299.0 → 3.300.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CreateSignalingChannelCommand.d.ts +13 -0
- package/dist-types/commands/CreateStreamCommand.d.ts +10 -0
- package/dist-types/commands/DeleteSignalingChannelCommand.d.ts +4 -0
- package/dist-types/commands/DeleteStreamCommand.d.ts +4 -0
- package/dist-types/commands/DescribeEdgeConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DescribeImageGenerationConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DescribeMappedResourceConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/DescribeMediaStorageConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DescribeNotificationConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DescribeSignalingChannelCommand.d.ts +4 -0
- package/dist-types/commands/DescribeStreamCommand.d.ts +4 -0
- package/dist-types/commands/GetDataEndpointCommand.d.ts +5 -0
- package/dist-types/commands/GetSignalingChannelEndpointCommand.d.ts +9 -0
- package/dist-types/commands/ListSignalingChannelsCommand.d.ts +8 -0
- package/dist-types/commands/ListStreamsCommand.d.ts +8 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForStreamCommand.d.ts +5 -0
- package/dist-types/commands/StartEdgeConfigurationUpdateCommand.d.ts +31 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/TagStreamCommand.d.ts +7 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagStreamCommand.d.ts +7 -0
- package/dist-types/commands/UpdateDataRetentionCommand.d.ts +7 -0
- package/dist-types/commands/UpdateImageGenerationConfigurationCommand.d.ts +19 -0
- package/dist-types/commands/UpdateMediaStorageConfigurationCommand.d.ts +7 -0
- package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +10 -0
- package/dist-types/commands/UpdateSignalingChannelCommand.d.ts +7 -0
- package/dist-types/commands/UpdateStreamCommand.d.ts +7 -0
- package/package.json +8 -8
|
@@ -28,6 +28,19 @@ export interface CreateSignalingChannelCommandOutput extends CreateSignalingChan
|
|
|
28
28
|
* import { KinesisVideoClient, CreateSignalingChannelCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
29
29
|
* // const { KinesisVideoClient, CreateSignalingChannelCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
30
30
|
* const client = new KinesisVideoClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ChannelName: "STRING_VALUE", // required
|
|
33
|
+
* ChannelType: "SINGLE_MASTER" || "FULL_MESH",
|
|
34
|
+
* SingleMasterConfiguration: {
|
|
35
|
+
* MessageTtlSeconds: Number("int"),
|
|
36
|
+
* },
|
|
37
|
+
* Tags: [
|
|
38
|
+
* {
|
|
39
|
+
* Key: "STRING_VALUE", // required
|
|
40
|
+
* Value: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
31
44
|
* const command = new CreateSignalingChannelCommand(input);
|
|
32
45
|
* const response = await client.send(command);
|
|
33
46
|
* ```
|
|
@@ -33,6 +33,16 @@ export interface CreateStreamCommandOutput extends CreateStreamOutput, __Metadat
|
|
|
33
33
|
* import { KinesisVideoClient, CreateStreamCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
34
34
|
* // const { KinesisVideoClient, CreateStreamCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
35
35
|
* const client = new KinesisVideoClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* DeviceName: "STRING_VALUE",
|
|
38
|
+
* StreamName: "STRING_VALUE", // required
|
|
39
|
+
* MediaType: "STRING_VALUE",
|
|
40
|
+
* KmsKeyId: "STRING_VALUE",
|
|
41
|
+
* DataRetentionInHours: Number("int"),
|
|
42
|
+
* Tags: {
|
|
43
|
+
* "<keys>": "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
36
46
|
* const command = new CreateStreamCommand(input);
|
|
37
47
|
* const response = await client.send(command);
|
|
38
48
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface DeleteSignalingChannelCommandOutput extends DeleteSignalingChan
|
|
|
28
28
|
* import { KinesisVideoClient, DeleteSignalingChannelCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
29
29
|
* // const { KinesisVideoClient, DeleteSignalingChannelCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
30
30
|
* const client = new KinesisVideoClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ChannelARN: "STRING_VALUE", // required
|
|
33
|
+
* CurrentVersion: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new DeleteSignalingChannelCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -35,6 +35,10 @@ export interface DeleteStreamCommandOutput extends DeleteStreamOutput, __Metadat
|
|
|
35
35
|
* import { KinesisVideoClient, DeleteStreamCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
36
36
|
* // const { KinesisVideoClient, DeleteStreamCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
37
37
|
* const client = new KinesisVideoClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* StreamARN: "STRING_VALUE", // required
|
|
40
|
+
* CurrentVersion: "STRING_VALUE",
|
|
41
|
+
* };
|
|
38
42
|
* const command = new DeleteStreamCommand(input);
|
|
39
43
|
* const response = await client.send(command);
|
|
40
44
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface DescribeEdgeConfigurationCommandOutput extends DescribeEdgeConf
|
|
|
28
28
|
* import { KinesisVideoClient, DescribeEdgeConfigurationCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
29
29
|
* // const { KinesisVideoClient, DescribeEdgeConfigurationCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
30
30
|
* const client = new KinesisVideoClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* StreamName: "STRING_VALUE",
|
|
33
|
+
* StreamARN: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new DescribeEdgeConfigurationCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeImageGenerationConfigurationCommandOutput extends Descr
|
|
|
26
26
|
* import { KinesisVideoClient, DescribeImageGenerationConfigurationCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
27
27
|
* // const { KinesisVideoClient, DescribeImageGenerationConfigurationCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
28
28
|
* const client = new KinesisVideoClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* StreamName: "STRING_VALUE",
|
|
31
|
+
* StreamARN: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeImageGenerationConfigurationCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface DescribeMappedResourceConfigurationCommandOutput extends Descri
|
|
|
28
28
|
* import { KinesisVideoClient, DescribeMappedResourceConfigurationCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
29
29
|
* // const { KinesisVideoClient, DescribeMappedResourceConfigurationCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
30
30
|
* const client = new KinesisVideoClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* StreamName: "STRING_VALUE",
|
|
33
|
+
* StreamARN: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new DescribeMappedResourceConfigurationCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DescribeMediaStorageConfigurationCommandOutput extends Describe
|
|
|
27
27
|
* import { KinesisVideoClient, DescribeMediaStorageConfigurationCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
28
28
|
* // const { KinesisVideoClient, DescribeMediaStorageConfigurationCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
29
29
|
* const client = new KinesisVideoClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ChannelName: "STRING_VALUE",
|
|
32
|
+
* ChannelARN: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DescribeMediaStorageConfigurationCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeNotificationConfigurationCommandOutput extends Describe
|
|
|
26
26
|
* import { KinesisVideoClient, DescribeNotificationConfigurationCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
27
27
|
* // const { KinesisVideoClient, DescribeNotificationConfigurationCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
28
28
|
* const client = new KinesisVideoClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* StreamName: "STRING_VALUE",
|
|
31
|
+
* StreamARN: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeNotificationConfigurationCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface DescribeSignalingChannelCommandOutput extends DescribeSignaling
|
|
|
28
28
|
* import { KinesisVideoClient, DescribeSignalingChannelCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
29
29
|
* // const { KinesisVideoClient, DescribeSignalingChannelCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
30
30
|
* const client = new KinesisVideoClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ChannelName: "STRING_VALUE",
|
|
33
|
+
* ChannelARN: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new DescribeSignalingChannelCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DescribeStreamCommandOutput extends DescribeStreamOutput, __Met
|
|
|
27
27
|
* import { KinesisVideoClient, DescribeStreamCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
28
28
|
* // const { KinesisVideoClient, DescribeStreamCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
29
29
|
* const client = new KinesisVideoClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* StreamName: "STRING_VALUE",
|
|
32
|
+
* StreamARN: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DescribeStreamCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -36,6 +36,11 @@ export interface GetDataEndpointCommandOutput extends GetDataEndpointOutput, __M
|
|
|
36
36
|
* import { KinesisVideoClient, GetDataEndpointCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
37
37
|
* // const { KinesisVideoClient, GetDataEndpointCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
38
38
|
* const client = new KinesisVideoClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* StreamName: "STRING_VALUE",
|
|
41
|
+
* StreamARN: "STRING_VALUE",
|
|
42
|
+
* APIName: "PUT_MEDIA" || "GET_MEDIA" || "LIST_FRAGMENTS" || "GET_MEDIA_FOR_FRAGMENT_LIST" || "GET_HLS_STREAMING_SESSION_URL" || "GET_DASH_STREAMING_SESSION_URL" || "GET_CLIP" || "GET_IMAGES", // required
|
|
43
|
+
* };
|
|
39
44
|
* const command = new GetDataEndpointCommand(input);
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
@@ -39,6 +39,15 @@ export interface GetSignalingChannelEndpointCommandOutput extends GetSignalingCh
|
|
|
39
39
|
* import { KinesisVideoClient, GetSignalingChannelEndpointCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
40
40
|
* // const { KinesisVideoClient, GetSignalingChannelEndpointCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
41
41
|
* const client = new KinesisVideoClient(config);
|
|
42
|
+
* const input = {
|
|
43
|
+
* ChannelARN: "STRING_VALUE", // required
|
|
44
|
+
* SingleMasterChannelEndpointConfiguration: {
|
|
45
|
+
* Protocols: [
|
|
46
|
+
* "WSS" || "HTTPS" || "WEBRTC",
|
|
47
|
+
* ],
|
|
48
|
+
* Role: "MASTER" || "VIEWER",
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
42
51
|
* const command = new GetSignalingChannelEndpointCommand(input);
|
|
43
52
|
* const response = await client.send(command);
|
|
44
53
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface ListSignalingChannelsCommandOutput extends ListSignalingChannel
|
|
|
28
28
|
* import { KinesisVideoClient, ListSignalingChannelsCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
29
29
|
* // const { KinesisVideoClient, ListSignalingChannelsCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
30
30
|
* const client = new KinesisVideoClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* ChannelNameCondition: {
|
|
35
|
+
* ComparisonOperator: "BEGINS_WITH",
|
|
36
|
+
* ComparisonValue: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
31
39
|
* const command = new ListSignalingChannelsCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface ListStreamsCommandOutput extends ListStreamsOutput, __MetadataB
|
|
|
28
28
|
* import { KinesisVideoClient, ListStreamsCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
29
29
|
* // const { KinesisVideoClient, ListStreamsCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
30
30
|
* const client = new KinesisVideoClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* StreamNameCondition: {
|
|
35
|
+
* ComparisonOperator: "BEGINS_WITH",
|
|
36
|
+
* ComparisonValue: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
31
39
|
* const command = new ListStreamsCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
26
26
|
* import { KinesisVideoClient, ListTagsForResourceCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
27
27
|
* // const { KinesisVideoClient, ListTagsForResourceCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
28
28
|
* const client = new KinesisVideoClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListTagsForStreamCommandOutput extends ListTagsForStreamOutput,
|
|
|
28
28
|
* import { KinesisVideoClient, ListTagsForStreamCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
29
29
|
* // const { KinesisVideoClient, ListTagsForStreamCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
30
30
|
* const client = new KinesisVideoClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* StreamARN: "STRING_VALUE",
|
|
34
|
+
* StreamName: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListTagsForStreamCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -37,6 +37,37 @@ export interface StartEdgeConfigurationUpdateCommandOutput extends StartEdgeConf
|
|
|
37
37
|
* import { KinesisVideoClient, StartEdgeConfigurationUpdateCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
38
38
|
* // const { KinesisVideoClient, StartEdgeConfigurationUpdateCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
39
39
|
* const client = new KinesisVideoClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* StreamName: "STRING_VALUE",
|
|
42
|
+
* StreamARN: "STRING_VALUE",
|
|
43
|
+
* EdgeConfig: {
|
|
44
|
+
* HubDeviceArn: "STRING_VALUE", // required
|
|
45
|
+
* RecorderConfig: {
|
|
46
|
+
* MediaSourceConfig: {
|
|
47
|
+
* MediaUriSecretArn: "STRING_VALUE", // required
|
|
48
|
+
* MediaUriType: "RTSP_URI" || "FILE_URI", // required
|
|
49
|
+
* },
|
|
50
|
+
* ScheduleConfig: {
|
|
51
|
+
* ScheduleExpression: "STRING_VALUE", // required
|
|
52
|
+
* DurationInSeconds: Number("int"), // required
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* UploaderConfig: {
|
|
56
|
+
* ScheduleConfig: {
|
|
57
|
+
* ScheduleExpression: "STRING_VALUE", // required
|
|
58
|
+
* DurationInSeconds: Number("int"), // required
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* DeletionConfig: {
|
|
62
|
+
* EdgeRetentionInHours: Number("int"),
|
|
63
|
+
* LocalSizeConfig: {
|
|
64
|
+
* MaxLocalMediaSizeInMB: Number("int"),
|
|
65
|
+
* StrategyOnFullSize: "DELETE_OLDEST_MEDIA" || "DENY_NEW_MEDIA",
|
|
66
|
+
* },
|
|
67
|
+
* DeleteAfterUpload: true || false,
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* };
|
|
40
71
|
* const command = new StartEdgeConfigurationUpdateCommand(input);
|
|
41
72
|
* const response = await client.send(command);
|
|
42
73
|
* ```
|
|
@@ -31,6 +31,15 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
31
31
|
* import { KinesisVideoClient, TagResourceCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
32
32
|
* // const { KinesisVideoClient, TagResourceCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
33
33
|
* const client = new KinesisVideoClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
36
|
+
* Tags: [ // required
|
|
37
|
+
* {
|
|
38
|
+
* Key: "STRING_VALUE", // required
|
|
39
|
+
* Value: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
34
43
|
* const command = new TagResourceCommand(input);
|
|
35
44
|
* const response = await client.send(command);
|
|
36
45
|
* ```
|
|
@@ -35,6 +35,13 @@ export interface TagStreamCommandOutput extends TagStreamOutput, __MetadataBeare
|
|
|
35
35
|
* import { KinesisVideoClient, TagStreamCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
36
36
|
* // const { KinesisVideoClient, TagStreamCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
37
37
|
* const client = new KinesisVideoClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* StreamARN: "STRING_VALUE",
|
|
40
|
+
* StreamName: "STRING_VALUE",
|
|
41
|
+
* Tags: { // required
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
38
45
|
* const command = new TagStreamCommand(input);
|
|
39
46
|
* const response = await client.send(command);
|
|
40
47
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
28
28
|
* import { KinesisVideoClient, UntagResourceCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
29
29
|
* // const { KinesisVideoClient, UntagResourceCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
30
30
|
* const client = new KinesisVideoClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
33
|
+
* TagKeyList: [ // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
31
37
|
* const command = new UntagResourceCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -30,6 +30,13 @@ export interface UntagStreamCommandOutput extends UntagStreamOutput, __MetadataB
|
|
|
30
30
|
* import { KinesisVideoClient, UntagStreamCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
31
31
|
* // const { KinesisVideoClient, UntagStreamCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
32
32
|
* const client = new KinesisVideoClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* StreamARN: "STRING_VALUE",
|
|
35
|
+
* StreamName: "STRING_VALUE",
|
|
36
|
+
* TagKeyList: [ // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
33
40
|
* const command = new UntagStreamCommand(input);
|
|
34
41
|
* const response = await client.send(command);
|
|
35
42
|
* ```
|
|
@@ -50,6 +50,13 @@ export interface UpdateDataRetentionCommandOutput extends UpdateDataRetentionOut
|
|
|
50
50
|
* import { KinesisVideoClient, UpdateDataRetentionCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
51
51
|
* // const { KinesisVideoClient, UpdateDataRetentionCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
52
52
|
* const client = new KinesisVideoClient(config);
|
|
53
|
+
* const input = {
|
|
54
|
+
* StreamName: "STRING_VALUE",
|
|
55
|
+
* StreamARN: "STRING_VALUE",
|
|
56
|
+
* CurrentVersion: "STRING_VALUE", // required
|
|
57
|
+
* Operation: "INCREASE_DATA_RETENTION" || "DECREASE_DATA_RETENTION", // required
|
|
58
|
+
* DataRetentionChangeInHours: Number("int"), // required
|
|
59
|
+
* };
|
|
53
60
|
* const command = new UpdateDataRetentionCommand(input);
|
|
54
61
|
* const response = await client.send(command);
|
|
55
62
|
* ```
|
|
@@ -26,6 +26,25 @@ export interface UpdateImageGenerationConfigurationCommandOutput extends UpdateI
|
|
|
26
26
|
* import { KinesisVideoClient, UpdateImageGenerationConfigurationCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
27
27
|
* // const { KinesisVideoClient, UpdateImageGenerationConfigurationCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
28
28
|
* const client = new KinesisVideoClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* StreamName: "STRING_VALUE",
|
|
31
|
+
* StreamARN: "STRING_VALUE",
|
|
32
|
+
* ImageGenerationConfiguration: {
|
|
33
|
+
* Status: "ENABLED" || "DISABLED", // required
|
|
34
|
+
* ImageSelectorType: "SERVER_TIMESTAMP" || "PRODUCER_TIMESTAMP", // required
|
|
35
|
+
* DestinationConfig: {
|
|
36
|
+
* Uri: "STRING_VALUE", // required
|
|
37
|
+
* DestinationRegion: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* SamplingInterval: Number("int"), // required
|
|
40
|
+
* Format: "JPEG" || "PNG", // required
|
|
41
|
+
* FormatConfig: {
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* WidthPixels: Number("int"),
|
|
45
|
+
* HeightPixels: Number("int"),
|
|
46
|
+
* },
|
|
47
|
+
* };
|
|
29
48
|
* const command = new UpdateImageGenerationConfigurationCommand(input);
|
|
30
49
|
* const response = await client.send(command);
|
|
31
50
|
* ```
|
|
@@ -37,6 +37,13 @@ export interface UpdateMediaStorageConfigurationCommandOutput extends UpdateMedi
|
|
|
37
37
|
* import { KinesisVideoClient, UpdateMediaStorageConfigurationCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
38
38
|
* // const { KinesisVideoClient, UpdateMediaStorageConfigurationCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
39
39
|
* const client = new KinesisVideoClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* ChannelARN: "STRING_VALUE", // required
|
|
42
|
+
* MediaStorageConfiguration: {
|
|
43
|
+
* StreamARN: "STRING_VALUE",
|
|
44
|
+
* Status: "ENABLED" || "DISABLED", // required
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
40
47
|
* const command = new UpdateMediaStorageConfigurationCommand(input);
|
|
41
48
|
* const response = await client.send(command);
|
|
42
49
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface UpdateNotificationConfigurationCommandOutput extends UpdateNoti
|
|
|
26
26
|
* import { KinesisVideoClient, UpdateNotificationConfigurationCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
27
27
|
* // const { KinesisVideoClient, UpdateNotificationConfigurationCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
28
28
|
* const client = new KinesisVideoClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* StreamName: "STRING_VALUE",
|
|
31
|
+
* StreamARN: "STRING_VALUE",
|
|
32
|
+
* NotificationConfiguration: {
|
|
33
|
+
* Status: "ENABLED" || "DISABLED", // required
|
|
34
|
+
* DestinationConfig: {
|
|
35
|
+
* Uri: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
29
39
|
* const command = new UpdateNotificationConfigurationCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -31,6 +31,13 @@ export interface UpdateSignalingChannelCommandOutput extends UpdateSignalingChan
|
|
|
31
31
|
* import { KinesisVideoClient, UpdateSignalingChannelCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
32
32
|
* // const { KinesisVideoClient, UpdateSignalingChannelCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
33
33
|
* const client = new KinesisVideoClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* ChannelARN: "STRING_VALUE", // required
|
|
36
|
+
* CurrentVersion: "STRING_VALUE", // required
|
|
37
|
+
* SingleMasterConfiguration: {
|
|
38
|
+
* MessageTtlSeconds: Number("int"),
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
34
41
|
* const command = new UpdateSignalingChannelCommand(input);
|
|
35
42
|
* const response = await client.send(command);
|
|
36
43
|
* ```
|
|
@@ -35,6 +35,13 @@ export interface UpdateStreamCommandOutput extends UpdateStreamOutput, __Metadat
|
|
|
35
35
|
* import { KinesisVideoClient, UpdateStreamCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
36
36
|
* // const { KinesisVideoClient, UpdateStreamCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
37
37
|
* const client = new KinesisVideoClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* StreamName: "STRING_VALUE",
|
|
40
|
+
* StreamARN: "STRING_VALUE",
|
|
41
|
+
* CurrentVersion: "STRING_VALUE", // required
|
|
42
|
+
* DeviceName: "STRING_VALUE",
|
|
43
|
+
* MediaType: "STRING_VALUE",
|
|
44
|
+
* };
|
|
38
45
|
* const command = new UpdateStreamCommand(input);
|
|
39
46
|
* const response = await client.send(command);
|
|
40
47
|
* ```
|
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.300.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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|