@aws-sdk/client-kinesis-video 3.936.0 → 3.938.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/README.md +16 -0
- package/dist-cjs/index.js +82 -2
- package/dist-es/KinesisVideo.js +4 -0
- package/dist-es/commands/DescribeStreamStorageConfigurationCommand.js +16 -0
- package/dist-es/commands/UpdateStreamStorageConfigurationCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +49 -2
- package/dist-types/KinesisVideo.d.ts +15 -0
- package/dist-types/KinesisVideoClient.d.ts +4 -2
- package/dist-types/commands/CreateStreamCommand.d.ts +3 -0
- package/dist-types/commands/DescribeStreamStorageConfigurationCommand.d.ts +94 -0
- package/dist-types/commands/GetSignalingChannelEndpointCommand.d.ts +3 -1
- package/dist-types/commands/UpdateStreamStorageConfigurationCommand.d.ts +119 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +116 -12
- package/dist-types/schemas/schemas_0.d.ts +7 -0
- package/dist-types/ts3.4/KinesisVideo.d.ts +41 -0
- package/dist-types/ts3.4/KinesisVideoClient.d.ts +14 -2
- package/dist-types/ts3.4/commands/DescribeStreamStorageConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateStreamStorageConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -298,6 +298,14 @@ DescribeStream
|
|
|
298
298
|
|
|
299
299
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis-video/command/DescribeStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis-video/Interface/DescribeStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis-video/Interface/DescribeStreamCommandOutput/)
|
|
300
300
|
|
|
301
|
+
</details>
|
|
302
|
+
<details>
|
|
303
|
+
<summary>
|
|
304
|
+
DescribeStreamStorageConfiguration
|
|
305
|
+
</summary>
|
|
306
|
+
|
|
307
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis-video/command/DescribeStreamStorageConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis-video/Interface/DescribeStreamStorageConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis-video/Interface/DescribeStreamStorageConfigurationCommandOutput/)
|
|
308
|
+
|
|
301
309
|
</details>
|
|
302
310
|
<details>
|
|
303
311
|
<summary>
|
|
@@ -443,3 +451,11 @@ UpdateStream
|
|
|
443
451
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis-video/command/UpdateStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis-video/Interface/UpdateStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis-video/Interface/UpdateStreamCommandOutput/)
|
|
444
452
|
|
|
445
453
|
</details>
|
|
454
|
+
<details>
|
|
455
|
+
<summary>
|
|
456
|
+
UpdateStreamStorageConfiguration
|
|
457
|
+
</summary>
|
|
458
|
+
|
|
459
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis-video/command/UpdateStreamStorageConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis-video/Interface/UpdateStreamStorageConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis-video/Interface/UpdateStreamStorageConfigurationCommandOutput/)
|
|
460
|
+
|
|
461
|
+
</details>
|
package/dist-cjs/index.js
CHANGED
|
@@ -390,6 +390,10 @@ const _DSIe = "DescribeStreamInput";
|
|
|
390
390
|
const _DSLEE = "DeviceStreamLimitExceededException";
|
|
391
391
|
const _DSO = "DeleteStreamOutput";
|
|
392
392
|
const _DSOe = "DescribeStreamOutput";
|
|
393
|
+
const _DSSC = "DescribeStreamStorageConfiguration";
|
|
394
|
+
const _DSSCI = "DescribeStreamStorageConfigurationInput";
|
|
395
|
+
const _DSSCO = "DescribeStreamStorageConfigurationOutput";
|
|
396
|
+
const _DST = "DefaultStorageTier";
|
|
393
397
|
const _DSe = "DescribeStream";
|
|
394
398
|
const _EAS = "EdgeAgentStatus";
|
|
395
399
|
const _EC = "EdgeConfig";
|
|
@@ -482,6 +486,7 @@ const _SN = "StreamName";
|
|
|
482
486
|
const _SNC = "StreamNameCondition";
|
|
483
487
|
const _SOFS = "StrategyOnFullSize";
|
|
484
488
|
const _SS = "SyncStatus";
|
|
489
|
+
const _SSC = "StreamStorageConfiguration";
|
|
485
490
|
const _T = "Tags";
|
|
486
491
|
const _TKL = "TagKeyList";
|
|
487
492
|
const _TL = "TagList";
|
|
@@ -520,6 +525,9 @@ const _USI = "UntagStreamInput";
|
|
|
520
525
|
const _USIp = "UpdateStreamInput";
|
|
521
526
|
const _USO = "UntagStreamOutput";
|
|
522
527
|
const _USOp = "UpdateStreamOutput";
|
|
528
|
+
const _USSC = "UpdateStreamStorageConfiguration";
|
|
529
|
+
const _USSCI = "UpdateStreamStorageConfigurationInput";
|
|
530
|
+
const _USSCO = "UpdateStreamStorageConfigurationOutput";
|
|
523
531
|
const _USn = "UntagStream";
|
|
524
532
|
const _USp = "UpdateStream";
|
|
525
533
|
const _V = "Version";
|
|
@@ -604,8 +612,8 @@ var CreateStreamInput = [
|
|
|
604
612
|
n0,
|
|
605
613
|
_CSI,
|
|
606
614
|
0,
|
|
607
|
-
[_DN, _SN, _MT, _KKI, _DRIH, _T],
|
|
608
|
-
[0, 0, 0, 0, 1, 128 | 0],
|
|
615
|
+
[_DN, _SN, _MT, _KKI, _DRIH, _T, _SSC],
|
|
616
|
+
[0, 0, 0, 0, 1, 128 | 0, () => StreamStorageConfiguration],
|
|
609
617
|
];
|
|
610
618
|
var CreateStreamOutput = [3, n0, _CSO, 0, [_SARN], [0]];
|
|
611
619
|
var DeleteEdgeConfigurationInput = [3, n0, _DECI, 0, [_SN, _SARN], [0, 0]];
|
|
@@ -671,6 +679,15 @@ var DescribeSignalingChannelInput = [3, n0, _DSCIe, 0, [_CN, _CARN], [0, 0]];
|
|
|
671
679
|
var DescribeSignalingChannelOutput = [3, n0, _DSCOe, 0, [_CI], [() => ChannelInfo]];
|
|
672
680
|
var DescribeStreamInput = [3, n0, _DSIe, 0, [_SN, _SARN], [0, 0]];
|
|
673
681
|
var DescribeStreamOutput = [3, n0, _DSOe, 0, [_SI], [() => StreamInfo]];
|
|
682
|
+
var DescribeStreamStorageConfigurationInput = [3, n0, _DSSCI, 0, [_SN, _SARN], [0, 0]];
|
|
683
|
+
var DescribeStreamStorageConfigurationOutput = [
|
|
684
|
+
3,
|
|
685
|
+
n0,
|
|
686
|
+
_DSSCO,
|
|
687
|
+
0,
|
|
688
|
+
[_SN, _SARN, _SSC],
|
|
689
|
+
[0, 0, () => StreamStorageConfiguration],
|
|
690
|
+
];
|
|
674
691
|
var DeviceStreamLimitExceededException = [
|
|
675
692
|
-3,
|
|
676
693
|
n0,
|
|
@@ -927,6 +944,7 @@ var StreamInfo = [
|
|
|
927
944
|
[0, 0, 0, 0, 0, 0, 0, 4, 1],
|
|
928
945
|
];
|
|
929
946
|
var StreamNameCondition = [3, n0, _SNC, 0, [_CO, _CV], [0, 0]];
|
|
947
|
+
var StreamStorageConfiguration = [3, n0, _SSC, 0, [_DST], [0]];
|
|
930
948
|
var Tag = [3, n0, _Ta, 0, [_K, _Va], [0, 0]];
|
|
931
949
|
var TagResourceInput = [3, n0, _TRI, 0, [_RARN, _T], [0, () => TagList]];
|
|
932
950
|
var TagResourceOutput = [3, n0, _TRO, 0, [], []];
|
|
@@ -995,6 +1013,15 @@ var UpdateSignalingChannelInput = [
|
|
|
995
1013
|
var UpdateSignalingChannelOutput = [3, n0, _USCO, 0, [], []];
|
|
996
1014
|
var UpdateStreamInput = [3, n0, _USIp, 0, [_SN, _SARN, _CVu, _DN, _MT], [0, 0, 0, 0, 0]];
|
|
997
1015
|
var UpdateStreamOutput = [3, n0, _USOp, 0, [], []];
|
|
1016
|
+
var UpdateStreamStorageConfigurationInput = [
|
|
1017
|
+
3,
|
|
1018
|
+
n0,
|
|
1019
|
+
_USSCI,
|
|
1020
|
+
0,
|
|
1021
|
+
[_SN, _SARN, _CVu, _SSC],
|
|
1022
|
+
[0, 0, 0, () => StreamStorageConfiguration],
|
|
1023
|
+
];
|
|
1024
|
+
var UpdateStreamStorageConfigurationOutput = [3, n0, _USSCO, 0, [], []];
|
|
998
1025
|
var UploaderConfig = [3, n0, _UC, 0, [_SC], [() => ScheduleConfig]];
|
|
999
1026
|
var VersionMismatchException = [
|
|
1000
1027
|
-3,
|
|
@@ -1149,6 +1176,16 @@ var DescribeStream = [
|
|
|
1149
1176
|
() => DescribeStreamInput,
|
|
1150
1177
|
() => DescribeStreamOutput,
|
|
1151
1178
|
];
|
|
1179
|
+
var DescribeStreamStorageConfiguration = [
|
|
1180
|
+
9,
|
|
1181
|
+
n0,
|
|
1182
|
+
_DSSC,
|
|
1183
|
+
{
|
|
1184
|
+
[_h]: ["POST", "/describeStreamStorageConfiguration", 200],
|
|
1185
|
+
},
|
|
1186
|
+
() => DescribeStreamStorageConfigurationInput,
|
|
1187
|
+
() => DescribeStreamStorageConfigurationOutput,
|
|
1188
|
+
];
|
|
1152
1189
|
var GetDataEndpoint = [
|
|
1153
1190
|
9,
|
|
1154
1191
|
n0,
|
|
@@ -1329,6 +1366,16 @@ var UpdateStream = [
|
|
|
1329
1366
|
() => UpdateStreamInput,
|
|
1330
1367
|
() => UpdateStreamOutput,
|
|
1331
1368
|
];
|
|
1369
|
+
var UpdateStreamStorageConfiguration = [
|
|
1370
|
+
9,
|
|
1371
|
+
n0,
|
|
1372
|
+
_USSC,
|
|
1373
|
+
{
|
|
1374
|
+
[_h]: ["POST", "/updateStreamStorageConfiguration", 200],
|
|
1375
|
+
},
|
|
1376
|
+
() => UpdateStreamStorageConfigurationInput,
|
|
1377
|
+
() => UpdateStreamStorageConfigurationOutput,
|
|
1378
|
+
];
|
|
1332
1379
|
|
|
1333
1380
|
class CreateSignalingChannelCommand extends smithyClient.Command
|
|
1334
1381
|
.classBuilder()
|
|
@@ -1474,6 +1521,18 @@ class DescribeStreamCommand extends smithyClient.Command
|
|
|
1474
1521
|
.build() {
|
|
1475
1522
|
}
|
|
1476
1523
|
|
|
1524
|
+
class DescribeStreamStorageConfigurationCommand extends smithyClient.Command
|
|
1525
|
+
.classBuilder()
|
|
1526
|
+
.ep(commonParams)
|
|
1527
|
+
.m(function (Command, cs, config, o) {
|
|
1528
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1529
|
+
})
|
|
1530
|
+
.s("KinesisVideo_20170930", "DescribeStreamStorageConfiguration", {})
|
|
1531
|
+
.n("KinesisVideoClient", "DescribeStreamStorageConfigurationCommand")
|
|
1532
|
+
.sc(DescribeStreamStorageConfiguration)
|
|
1533
|
+
.build() {
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1477
1536
|
class GetDataEndpointCommand extends smithyClient.Command
|
|
1478
1537
|
.classBuilder()
|
|
1479
1538
|
.ep(commonParams)
|
|
@@ -1690,6 +1749,18 @@ class UpdateStreamCommand extends smithyClient.Command
|
|
|
1690
1749
|
.build() {
|
|
1691
1750
|
}
|
|
1692
1751
|
|
|
1752
|
+
class UpdateStreamStorageConfigurationCommand extends smithyClient.Command
|
|
1753
|
+
.classBuilder()
|
|
1754
|
+
.ep(commonParams)
|
|
1755
|
+
.m(function (Command, cs, config, o) {
|
|
1756
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1757
|
+
})
|
|
1758
|
+
.s("KinesisVideo_20170930", "UpdateStreamStorageConfiguration", {})
|
|
1759
|
+
.n("KinesisVideoClient", "UpdateStreamStorageConfigurationCommand")
|
|
1760
|
+
.sc(UpdateStreamStorageConfiguration)
|
|
1761
|
+
.build() {
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1693
1764
|
const commands = {
|
|
1694
1765
|
CreateSignalingChannelCommand,
|
|
1695
1766
|
CreateStreamCommand,
|
|
@@ -1703,6 +1774,7 @@ const commands = {
|
|
|
1703
1774
|
DescribeNotificationConfigurationCommand,
|
|
1704
1775
|
DescribeSignalingChannelCommand,
|
|
1705
1776
|
DescribeStreamCommand,
|
|
1777
|
+
DescribeStreamStorageConfigurationCommand,
|
|
1706
1778
|
GetDataEndpointCommand,
|
|
1707
1779
|
GetSignalingChannelEndpointCommand,
|
|
1708
1780
|
ListEdgeAgentConfigurationsCommand,
|
|
@@ -1721,6 +1793,7 @@ const commands = {
|
|
|
1721
1793
|
UpdateNotificationConfigurationCommand,
|
|
1722
1794
|
UpdateSignalingChannelCommand,
|
|
1723
1795
|
UpdateStreamCommand,
|
|
1796
|
+
UpdateStreamStorageConfigurationCommand,
|
|
1724
1797
|
};
|
|
1725
1798
|
class KinesisVideo extends KinesisVideoClient {
|
|
1726
1799
|
}
|
|
@@ -1770,6 +1843,10 @@ const ConfigurationStatus = {
|
|
|
1770
1843
|
DISABLED: "DISABLED",
|
|
1771
1844
|
ENABLED: "ENABLED",
|
|
1772
1845
|
};
|
|
1846
|
+
const DefaultStorageTier = {
|
|
1847
|
+
HOT: "HOT",
|
|
1848
|
+
WARM: "WARM",
|
|
1849
|
+
};
|
|
1773
1850
|
const StrategyOnFullSize = {
|
|
1774
1851
|
DELETE_OLDEST_MEDIA: "DELETE_OLDEST_MEDIA",
|
|
1775
1852
|
DENY_NEW_MEDIA: "DENY_NEW_MEDIA",
|
|
@@ -1837,6 +1914,7 @@ exports.ComparisonOperator = ComparisonOperator;
|
|
|
1837
1914
|
exports.ConfigurationStatus = ConfigurationStatus;
|
|
1838
1915
|
exports.CreateSignalingChannelCommand = CreateSignalingChannelCommand;
|
|
1839
1916
|
exports.CreateStreamCommand = CreateStreamCommand;
|
|
1917
|
+
exports.DefaultStorageTier = DefaultStorageTier;
|
|
1840
1918
|
exports.DeleteEdgeConfigurationCommand = DeleteEdgeConfigurationCommand;
|
|
1841
1919
|
exports.DeleteSignalingChannelCommand = DeleteSignalingChannelCommand;
|
|
1842
1920
|
exports.DeleteStreamCommand = DeleteStreamCommand;
|
|
@@ -1847,6 +1925,7 @@ exports.DescribeMediaStorageConfigurationCommand = DescribeMediaStorageConfigura
|
|
|
1847
1925
|
exports.DescribeNotificationConfigurationCommand = DescribeNotificationConfigurationCommand;
|
|
1848
1926
|
exports.DescribeSignalingChannelCommand = DescribeSignalingChannelCommand;
|
|
1849
1927
|
exports.DescribeStreamCommand = DescribeStreamCommand;
|
|
1928
|
+
exports.DescribeStreamStorageConfigurationCommand = DescribeStreamStorageConfigurationCommand;
|
|
1850
1929
|
exports.DeviceStreamLimitExceededException = DeviceStreamLimitExceededException$1;
|
|
1851
1930
|
exports.Format = Format;
|
|
1852
1931
|
exports.FormatConfigKey = FormatConfigKey;
|
|
@@ -1888,6 +1967,7 @@ exports.UpdateMediaStorageConfigurationCommand = UpdateMediaStorageConfiguration
|
|
|
1888
1967
|
exports.UpdateNotificationConfigurationCommand = UpdateNotificationConfigurationCommand;
|
|
1889
1968
|
exports.UpdateSignalingChannelCommand = UpdateSignalingChannelCommand;
|
|
1890
1969
|
exports.UpdateStreamCommand = UpdateStreamCommand;
|
|
1970
|
+
exports.UpdateStreamStorageConfigurationCommand = UpdateStreamStorageConfigurationCommand;
|
|
1891
1971
|
exports.UploaderStatus = UploaderStatus;
|
|
1892
1972
|
exports.VersionMismatchException = VersionMismatchException$1;
|
|
1893
1973
|
exports.paginateDescribeMappedResourceConfiguration = paginateDescribeMappedResourceConfiguration;
|
package/dist-es/KinesisVideo.js
CHANGED
|
@@ -11,6 +11,7 @@ import { DescribeMediaStorageConfigurationCommand, } from "./commands/DescribeMe
|
|
|
11
11
|
import { DescribeNotificationConfigurationCommand, } from "./commands/DescribeNotificationConfigurationCommand";
|
|
12
12
|
import { DescribeSignalingChannelCommand, } from "./commands/DescribeSignalingChannelCommand";
|
|
13
13
|
import { DescribeStreamCommand, } from "./commands/DescribeStreamCommand";
|
|
14
|
+
import { DescribeStreamStorageConfigurationCommand, } from "./commands/DescribeStreamStorageConfigurationCommand";
|
|
14
15
|
import { GetDataEndpointCommand, } from "./commands/GetDataEndpointCommand";
|
|
15
16
|
import { GetSignalingChannelEndpointCommand, } from "./commands/GetSignalingChannelEndpointCommand";
|
|
16
17
|
import { ListEdgeAgentConfigurationsCommand, } from "./commands/ListEdgeAgentConfigurationsCommand";
|
|
@@ -29,6 +30,7 @@ import { UpdateMediaStorageConfigurationCommand, } from "./commands/UpdateMediaS
|
|
|
29
30
|
import { UpdateNotificationConfigurationCommand, } from "./commands/UpdateNotificationConfigurationCommand";
|
|
30
31
|
import { UpdateSignalingChannelCommand, } from "./commands/UpdateSignalingChannelCommand";
|
|
31
32
|
import { UpdateStreamCommand, } from "./commands/UpdateStreamCommand";
|
|
33
|
+
import { UpdateStreamStorageConfigurationCommand, } from "./commands/UpdateStreamStorageConfigurationCommand";
|
|
32
34
|
import { KinesisVideoClient } from "./KinesisVideoClient";
|
|
33
35
|
const commands = {
|
|
34
36
|
CreateSignalingChannelCommand,
|
|
@@ -43,6 +45,7 @@ const commands = {
|
|
|
43
45
|
DescribeNotificationConfigurationCommand,
|
|
44
46
|
DescribeSignalingChannelCommand,
|
|
45
47
|
DescribeStreamCommand,
|
|
48
|
+
DescribeStreamStorageConfigurationCommand,
|
|
46
49
|
GetDataEndpointCommand,
|
|
47
50
|
GetSignalingChannelEndpointCommand,
|
|
48
51
|
ListEdgeAgentConfigurationsCommand,
|
|
@@ -61,6 +64,7 @@ const commands = {
|
|
|
61
64
|
UpdateNotificationConfigurationCommand,
|
|
62
65
|
UpdateSignalingChannelCommand,
|
|
63
66
|
UpdateStreamCommand,
|
|
67
|
+
UpdateStreamStorageConfigurationCommand,
|
|
64
68
|
};
|
|
65
69
|
export class KinesisVideo extends KinesisVideoClient {
|
|
66
70
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DescribeStreamStorageConfiguration } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeStreamStorageConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("KinesisVideo_20170930", "DescribeStreamStorageConfiguration", {})
|
|
13
|
+
.n("KinesisVideoClient", "DescribeStreamStorageConfigurationCommand")
|
|
14
|
+
.sc(DescribeStreamStorageConfiguration)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateStreamStorageConfiguration } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateStreamStorageConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("KinesisVideo_20170930", "UpdateStreamStorageConfiguration", {})
|
|
13
|
+
.n("KinesisVideoClient", "UpdateStreamStorageConfigurationCommand")
|
|
14
|
+
.sc(UpdateStreamStorageConfiguration)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -10,6 +10,7 @@ export * from "./DescribeMediaStorageConfigurationCommand";
|
|
|
10
10
|
export * from "./DescribeNotificationConfigurationCommand";
|
|
11
11
|
export * from "./DescribeSignalingChannelCommand";
|
|
12
12
|
export * from "./DescribeStreamCommand";
|
|
13
|
+
export * from "./DescribeStreamStorageConfigurationCommand";
|
|
13
14
|
export * from "./GetDataEndpointCommand";
|
|
14
15
|
export * from "./GetSignalingChannelEndpointCommand";
|
|
15
16
|
export * from "./ListEdgeAgentConfigurationsCommand";
|
|
@@ -28,3 +29,4 @@ export * from "./UpdateMediaStorageConfigurationCommand";
|
|
|
28
29
|
export * from "./UpdateNotificationConfigurationCommand";
|
|
29
30
|
export * from "./UpdateSignalingChannelCommand";
|
|
30
31
|
export * from "./UpdateStreamCommand";
|
|
32
|
+
export * from "./UpdateStreamStorageConfigurationCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -34,6 +34,10 @@ export const ConfigurationStatus = {
|
|
|
34
34
|
DISABLED: "DISABLED",
|
|
35
35
|
ENABLED: "ENABLED",
|
|
36
36
|
};
|
|
37
|
+
export const DefaultStorageTier = {
|
|
38
|
+
HOT: "HOT",
|
|
39
|
+
WARM: "WARM",
|
|
40
|
+
};
|
|
37
41
|
export const StrategyOnFullSize = {
|
|
38
42
|
DELETE_OLDEST_MEDIA: "DELETE_OLDEST_MEDIA",
|
|
39
43
|
DENY_NEW_MEDIA: "DENY_NEW_MEDIA",
|
|
@@ -60,6 +60,10 @@ const _DSIe = "DescribeStreamInput";
|
|
|
60
60
|
const _DSLEE = "DeviceStreamLimitExceededException";
|
|
61
61
|
const _DSO = "DeleteStreamOutput";
|
|
62
62
|
const _DSOe = "DescribeStreamOutput";
|
|
63
|
+
const _DSSC = "DescribeStreamStorageConfiguration";
|
|
64
|
+
const _DSSCI = "DescribeStreamStorageConfigurationInput";
|
|
65
|
+
const _DSSCO = "DescribeStreamStorageConfigurationOutput";
|
|
66
|
+
const _DST = "DefaultStorageTier";
|
|
63
67
|
const _DSe = "DescribeStream";
|
|
64
68
|
const _EAS = "EdgeAgentStatus";
|
|
65
69
|
const _EC = "EdgeConfig";
|
|
@@ -152,6 +156,7 @@ const _SN = "StreamName";
|
|
|
152
156
|
const _SNC = "StreamNameCondition";
|
|
153
157
|
const _SOFS = "StrategyOnFullSize";
|
|
154
158
|
const _SS = "SyncStatus";
|
|
159
|
+
const _SSC = "StreamStorageConfiguration";
|
|
155
160
|
const _T = "Tags";
|
|
156
161
|
const _TKL = "TagKeyList";
|
|
157
162
|
const _TL = "TagList";
|
|
@@ -190,6 +195,9 @@ const _USI = "UntagStreamInput";
|
|
|
190
195
|
const _USIp = "UpdateStreamInput";
|
|
191
196
|
const _USO = "UntagStreamOutput";
|
|
192
197
|
const _USOp = "UpdateStreamOutput";
|
|
198
|
+
const _USSC = "UpdateStreamStorageConfiguration";
|
|
199
|
+
const _USSCI = "UpdateStreamStorageConfigurationInput";
|
|
200
|
+
const _USSCO = "UpdateStreamStorageConfigurationOutput";
|
|
193
201
|
const _USn = "UntagStream";
|
|
194
202
|
const _USp = "UpdateStream";
|
|
195
203
|
const _V = "Version";
|
|
@@ -277,8 +285,8 @@ export var CreateStreamInput = [
|
|
|
277
285
|
n0,
|
|
278
286
|
_CSI,
|
|
279
287
|
0,
|
|
280
|
-
[_DN, _SN, _MT, _KKI, _DRIH, _T],
|
|
281
|
-
[0, 0, 0, 0, 1, 128 | 0],
|
|
288
|
+
[_DN, _SN, _MT, _KKI, _DRIH, _T, _SSC],
|
|
289
|
+
[0, 0, 0, 0, 1, 128 | 0, () => StreamStorageConfiguration],
|
|
282
290
|
];
|
|
283
291
|
export var CreateStreamOutput = [3, n0, _CSO, 0, [_SARN], [0]];
|
|
284
292
|
export var DeleteEdgeConfigurationInput = [3, n0, _DECI, 0, [_SN, _SARN], [0, 0]];
|
|
@@ -344,6 +352,15 @@ export var DescribeSignalingChannelInput = [3, n0, _DSCIe, 0, [_CN, _CARN], [0,
|
|
|
344
352
|
export var DescribeSignalingChannelOutput = [3, n0, _DSCOe, 0, [_CI], [() => ChannelInfo]];
|
|
345
353
|
export var DescribeStreamInput = [3, n0, _DSIe, 0, [_SN, _SARN], [0, 0]];
|
|
346
354
|
export var DescribeStreamOutput = [3, n0, _DSOe, 0, [_SI], [() => StreamInfo]];
|
|
355
|
+
export var DescribeStreamStorageConfigurationInput = [3, n0, _DSSCI, 0, [_SN, _SARN], [0, 0]];
|
|
356
|
+
export var DescribeStreamStorageConfigurationOutput = [
|
|
357
|
+
3,
|
|
358
|
+
n0,
|
|
359
|
+
_DSSCO,
|
|
360
|
+
0,
|
|
361
|
+
[_SN, _SARN, _SSC],
|
|
362
|
+
[0, 0, () => StreamStorageConfiguration],
|
|
363
|
+
];
|
|
347
364
|
export var DeviceStreamLimitExceededException = [
|
|
348
365
|
-3,
|
|
349
366
|
n0,
|
|
@@ -600,6 +617,7 @@ export var StreamInfo = [
|
|
|
600
617
|
[0, 0, 0, 0, 0, 0, 0, 4, 1],
|
|
601
618
|
];
|
|
602
619
|
export var StreamNameCondition = [3, n0, _SNC, 0, [_CO, _CV], [0, 0]];
|
|
620
|
+
export var StreamStorageConfiguration = [3, n0, _SSC, 0, [_DST], [0]];
|
|
603
621
|
export var Tag = [3, n0, _Ta, 0, [_K, _Va], [0, 0]];
|
|
604
622
|
export var TagResourceInput = [3, n0, _TRI, 0, [_RARN, _T], [0, () => TagList]];
|
|
605
623
|
export var TagResourceOutput = [3, n0, _TRO, 0, [], []];
|
|
@@ -668,6 +686,15 @@ export var UpdateSignalingChannelInput = [
|
|
|
668
686
|
export var UpdateSignalingChannelOutput = [3, n0, _USCO, 0, [], []];
|
|
669
687
|
export var UpdateStreamInput = [3, n0, _USIp, 0, [_SN, _SARN, _CVu, _DN, _MT], [0, 0, 0, 0, 0]];
|
|
670
688
|
export var UpdateStreamOutput = [3, n0, _USOp, 0, [], []];
|
|
689
|
+
export var UpdateStreamStorageConfigurationInput = [
|
|
690
|
+
3,
|
|
691
|
+
n0,
|
|
692
|
+
_USSCI,
|
|
693
|
+
0,
|
|
694
|
+
[_SN, _SARN, _CVu, _SSC],
|
|
695
|
+
[0, 0, 0, () => StreamStorageConfiguration],
|
|
696
|
+
];
|
|
697
|
+
export var UpdateStreamStorageConfigurationOutput = [3, n0, _USSCO, 0, [], []];
|
|
671
698
|
export var UploaderConfig = [3, n0, _UC, 0, [_SC], [() => ScheduleConfig]];
|
|
672
699
|
export var VersionMismatchException = [
|
|
673
700
|
-3,
|
|
@@ -827,6 +854,16 @@ export var DescribeStream = [
|
|
|
827
854
|
() => DescribeStreamInput,
|
|
828
855
|
() => DescribeStreamOutput,
|
|
829
856
|
];
|
|
857
|
+
export var DescribeStreamStorageConfiguration = [
|
|
858
|
+
9,
|
|
859
|
+
n0,
|
|
860
|
+
_DSSC,
|
|
861
|
+
{
|
|
862
|
+
[_h]: ["POST", "/describeStreamStorageConfiguration", 200],
|
|
863
|
+
},
|
|
864
|
+
() => DescribeStreamStorageConfigurationInput,
|
|
865
|
+
() => DescribeStreamStorageConfigurationOutput,
|
|
866
|
+
];
|
|
830
867
|
export var GetDataEndpoint = [
|
|
831
868
|
9,
|
|
832
869
|
n0,
|
|
@@ -1007,3 +1044,13 @@ export var UpdateStream = [
|
|
|
1007
1044
|
() => UpdateStreamInput,
|
|
1008
1045
|
() => UpdateStreamOutput,
|
|
1009
1046
|
];
|
|
1047
|
+
export var UpdateStreamStorageConfiguration = [
|
|
1048
|
+
9,
|
|
1049
|
+
n0,
|
|
1050
|
+
_USSC,
|
|
1051
|
+
{
|
|
1052
|
+
[_h]: ["POST", "/updateStreamStorageConfiguration", 200],
|
|
1053
|
+
},
|
|
1054
|
+
() => UpdateStreamStorageConfigurationInput,
|
|
1055
|
+
() => UpdateStreamStorageConfigurationOutput,
|
|
1056
|
+
];
|
|
@@ -11,6 +11,7 @@ import { DescribeMediaStorageConfigurationCommandInput, DescribeMediaStorageConf
|
|
|
11
11
|
import { DescribeNotificationConfigurationCommandInput, DescribeNotificationConfigurationCommandOutput } from "./commands/DescribeNotificationConfigurationCommand";
|
|
12
12
|
import { DescribeSignalingChannelCommandInput, DescribeSignalingChannelCommandOutput } from "./commands/DescribeSignalingChannelCommand";
|
|
13
13
|
import { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
|
|
14
|
+
import { DescribeStreamStorageConfigurationCommandInput, DescribeStreamStorageConfigurationCommandOutput } from "./commands/DescribeStreamStorageConfigurationCommand";
|
|
14
15
|
import { GetDataEndpointCommandInput, GetDataEndpointCommandOutput } from "./commands/GetDataEndpointCommand";
|
|
15
16
|
import { GetSignalingChannelEndpointCommandInput, GetSignalingChannelEndpointCommandOutput } from "./commands/GetSignalingChannelEndpointCommand";
|
|
16
17
|
import { ListEdgeAgentConfigurationsCommandInput, ListEdgeAgentConfigurationsCommandOutput } from "./commands/ListEdgeAgentConfigurationsCommand";
|
|
@@ -29,6 +30,7 @@ import { UpdateMediaStorageConfigurationCommandInput, UpdateMediaStorageConfigur
|
|
|
29
30
|
import { UpdateNotificationConfigurationCommandInput, UpdateNotificationConfigurationCommandOutput } from "./commands/UpdateNotificationConfigurationCommand";
|
|
30
31
|
import { UpdateSignalingChannelCommandInput, UpdateSignalingChannelCommandOutput } from "./commands/UpdateSignalingChannelCommand";
|
|
31
32
|
import { UpdateStreamCommandInput, UpdateStreamCommandOutput } from "./commands/UpdateStreamCommand";
|
|
33
|
+
import { UpdateStreamStorageConfigurationCommandInput, UpdateStreamStorageConfigurationCommandOutput } from "./commands/UpdateStreamStorageConfigurationCommand";
|
|
32
34
|
import { KinesisVideoClient } from "./KinesisVideoClient";
|
|
33
35
|
export interface KinesisVideo {
|
|
34
36
|
/**
|
|
@@ -111,6 +113,13 @@ export interface KinesisVideo {
|
|
|
111
113
|
describeStream(args: DescribeStreamCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStreamCommandOutput>;
|
|
112
114
|
describeStream(args: DescribeStreamCommandInput, cb: (err: any, data?: DescribeStreamCommandOutput) => void): void;
|
|
113
115
|
describeStream(args: DescribeStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStreamCommandOutput) => void): void;
|
|
116
|
+
/**
|
|
117
|
+
* @see {@link DescribeStreamStorageConfigurationCommand}
|
|
118
|
+
*/
|
|
119
|
+
describeStreamStorageConfiguration(): Promise<DescribeStreamStorageConfigurationCommandOutput>;
|
|
120
|
+
describeStreamStorageConfiguration(args: DescribeStreamStorageConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStreamStorageConfigurationCommandOutput>;
|
|
121
|
+
describeStreamStorageConfiguration(args: DescribeStreamStorageConfigurationCommandInput, cb: (err: any, data?: DescribeStreamStorageConfigurationCommandOutput) => void): void;
|
|
122
|
+
describeStreamStorageConfiguration(args: DescribeStreamStorageConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStreamStorageConfigurationCommandOutput) => void): void;
|
|
114
123
|
/**
|
|
115
124
|
* @see {@link GetDataEndpointCommand}
|
|
116
125
|
*/
|
|
@@ -224,6 +233,12 @@ export interface KinesisVideo {
|
|
|
224
233
|
updateStream(args: UpdateStreamCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStreamCommandOutput>;
|
|
225
234
|
updateStream(args: UpdateStreamCommandInput, cb: (err: any, data?: UpdateStreamCommandOutput) => void): void;
|
|
226
235
|
updateStream(args: UpdateStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStreamCommandOutput) => void): void;
|
|
236
|
+
/**
|
|
237
|
+
* @see {@link UpdateStreamStorageConfigurationCommand}
|
|
238
|
+
*/
|
|
239
|
+
updateStreamStorageConfiguration(args: UpdateStreamStorageConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateStreamStorageConfigurationCommandOutput>;
|
|
240
|
+
updateStreamStorageConfiguration(args: UpdateStreamStorageConfigurationCommandInput, cb: (err: any, data?: UpdateStreamStorageConfigurationCommandOutput) => void): void;
|
|
241
|
+
updateStreamStorageConfiguration(args: UpdateStreamStorageConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateStreamStorageConfigurationCommandOutput) => void): void;
|
|
227
242
|
}
|
|
228
243
|
/**
|
|
229
244
|
* <p></p>
|
|
@@ -19,6 +19,7 @@ import { DescribeMediaStorageConfigurationCommandInput, DescribeMediaStorageConf
|
|
|
19
19
|
import { DescribeNotificationConfigurationCommandInput, DescribeNotificationConfigurationCommandOutput } from "./commands/DescribeNotificationConfigurationCommand";
|
|
20
20
|
import { DescribeSignalingChannelCommandInput, DescribeSignalingChannelCommandOutput } from "./commands/DescribeSignalingChannelCommand";
|
|
21
21
|
import { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
|
|
22
|
+
import { DescribeStreamStorageConfigurationCommandInput, DescribeStreamStorageConfigurationCommandOutput } from "./commands/DescribeStreamStorageConfigurationCommand";
|
|
22
23
|
import { GetDataEndpointCommandInput, GetDataEndpointCommandOutput } from "./commands/GetDataEndpointCommand";
|
|
23
24
|
import { GetSignalingChannelEndpointCommandInput, GetSignalingChannelEndpointCommandOutput } from "./commands/GetSignalingChannelEndpointCommand";
|
|
24
25
|
import { ListEdgeAgentConfigurationsCommandInput, ListEdgeAgentConfigurationsCommandOutput } from "./commands/ListEdgeAgentConfigurationsCommand";
|
|
@@ -37,17 +38,18 @@ import { UpdateMediaStorageConfigurationCommandInput, UpdateMediaStorageConfigur
|
|
|
37
38
|
import { UpdateNotificationConfigurationCommandInput, UpdateNotificationConfigurationCommandOutput } from "./commands/UpdateNotificationConfigurationCommand";
|
|
38
39
|
import { UpdateSignalingChannelCommandInput, UpdateSignalingChannelCommandOutput } from "./commands/UpdateSignalingChannelCommand";
|
|
39
40
|
import { UpdateStreamCommandInput, UpdateStreamCommandOutput } from "./commands/UpdateStreamCommand";
|
|
41
|
+
import { UpdateStreamStorageConfigurationCommandInput, UpdateStreamStorageConfigurationCommandOutput } from "./commands/UpdateStreamStorageConfigurationCommand";
|
|
40
42
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
41
43
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
42
44
|
export { __Client };
|
|
43
45
|
/**
|
|
44
46
|
* @public
|
|
45
47
|
*/
|
|
46
|
-
export type ServiceInputTypes = CreateSignalingChannelCommandInput | CreateStreamCommandInput | DeleteEdgeConfigurationCommandInput | DeleteSignalingChannelCommandInput | DeleteStreamCommandInput | DescribeEdgeConfigurationCommandInput | DescribeImageGenerationConfigurationCommandInput | DescribeMappedResourceConfigurationCommandInput | DescribeMediaStorageConfigurationCommandInput | DescribeNotificationConfigurationCommandInput | DescribeSignalingChannelCommandInput | DescribeStreamCommandInput | GetDataEndpointCommandInput | GetSignalingChannelEndpointCommandInput | ListEdgeAgentConfigurationsCommandInput | ListSignalingChannelsCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | ListTagsForStreamCommandInput | StartEdgeConfigurationUpdateCommandInput | TagResourceCommandInput | TagStreamCommandInput | UntagResourceCommandInput | UntagStreamCommandInput | UpdateDataRetentionCommandInput | UpdateImageGenerationConfigurationCommandInput | UpdateMediaStorageConfigurationCommandInput | UpdateNotificationConfigurationCommandInput | UpdateSignalingChannelCommandInput | UpdateStreamCommandInput;
|
|
48
|
+
export type ServiceInputTypes = CreateSignalingChannelCommandInput | CreateStreamCommandInput | DeleteEdgeConfigurationCommandInput | DeleteSignalingChannelCommandInput | DeleteStreamCommandInput | DescribeEdgeConfigurationCommandInput | DescribeImageGenerationConfigurationCommandInput | DescribeMappedResourceConfigurationCommandInput | DescribeMediaStorageConfigurationCommandInput | DescribeNotificationConfigurationCommandInput | DescribeSignalingChannelCommandInput | DescribeStreamCommandInput | DescribeStreamStorageConfigurationCommandInput | GetDataEndpointCommandInput | GetSignalingChannelEndpointCommandInput | ListEdgeAgentConfigurationsCommandInput | ListSignalingChannelsCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | ListTagsForStreamCommandInput | StartEdgeConfigurationUpdateCommandInput | TagResourceCommandInput | TagStreamCommandInput | UntagResourceCommandInput | UntagStreamCommandInput | UpdateDataRetentionCommandInput | UpdateImageGenerationConfigurationCommandInput | UpdateMediaStorageConfigurationCommandInput | UpdateNotificationConfigurationCommandInput | UpdateSignalingChannelCommandInput | UpdateStreamCommandInput | UpdateStreamStorageConfigurationCommandInput;
|
|
47
49
|
/**
|
|
48
50
|
* @public
|
|
49
51
|
*/
|
|
50
|
-
export type ServiceOutputTypes = CreateSignalingChannelCommandOutput | CreateStreamCommandOutput | DeleteEdgeConfigurationCommandOutput | DeleteSignalingChannelCommandOutput | DeleteStreamCommandOutput | DescribeEdgeConfigurationCommandOutput | DescribeImageGenerationConfigurationCommandOutput | DescribeMappedResourceConfigurationCommandOutput | DescribeMediaStorageConfigurationCommandOutput | DescribeNotificationConfigurationCommandOutput | DescribeSignalingChannelCommandOutput | DescribeStreamCommandOutput | GetDataEndpointCommandOutput | GetSignalingChannelEndpointCommandOutput | ListEdgeAgentConfigurationsCommandOutput | ListSignalingChannelsCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | ListTagsForStreamCommandOutput | StartEdgeConfigurationUpdateCommandOutput | TagResourceCommandOutput | TagStreamCommandOutput | UntagResourceCommandOutput | UntagStreamCommandOutput | UpdateDataRetentionCommandOutput | UpdateImageGenerationConfigurationCommandOutput | UpdateMediaStorageConfigurationCommandOutput | UpdateNotificationConfigurationCommandOutput | UpdateSignalingChannelCommandOutput | UpdateStreamCommandOutput;
|
|
52
|
+
export type ServiceOutputTypes = CreateSignalingChannelCommandOutput | CreateStreamCommandOutput | DeleteEdgeConfigurationCommandOutput | DeleteSignalingChannelCommandOutput | DeleteStreamCommandOutput | DescribeEdgeConfigurationCommandOutput | DescribeImageGenerationConfigurationCommandOutput | DescribeMappedResourceConfigurationCommandOutput | DescribeMediaStorageConfigurationCommandOutput | DescribeNotificationConfigurationCommandOutput | DescribeSignalingChannelCommandOutput | DescribeStreamCommandOutput | DescribeStreamStorageConfigurationCommandOutput | GetDataEndpointCommandOutput | GetSignalingChannelEndpointCommandOutput | ListEdgeAgentConfigurationsCommandOutput | ListSignalingChannelsCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | ListTagsForStreamCommandOutput | StartEdgeConfigurationUpdateCommandOutput | TagResourceCommandOutput | TagStreamCommandOutput | UntagResourceCommandOutput | UntagStreamCommandOutput | UpdateDataRetentionCommandOutput | UpdateImageGenerationConfigurationCommandOutput | UpdateMediaStorageConfigurationCommandOutput | UpdateNotificationConfigurationCommandOutput | UpdateSignalingChannelCommandOutput | UpdateStreamCommandOutput | UpdateStreamStorageConfigurationCommandOutput;
|
|
51
53
|
/**
|
|
52
54
|
* @public
|
|
53
55
|
*/
|
|
@@ -52,6 +52,9 @@ declare const CreateStreamCommand_base: {
|
|
|
52
52
|
* Tags: { // ResourceTags
|
|
53
53
|
* "<keys>": "STRING_VALUE",
|
|
54
54
|
* },
|
|
55
|
+
* StreamStorageConfiguration: { // StreamStorageConfiguration
|
|
56
|
+
* DefaultStorageTier: "HOT" || "WARM", // required
|
|
57
|
+
* },
|
|
55
58
|
* };
|
|
56
59
|
* const command = new CreateStreamCommand(input);
|
|
57
60
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { KinesisVideoClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisVideoClient";
|
|
4
|
+
import { DescribeStreamStorageConfigurationInput, DescribeStreamStorageConfigurationOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeStreamStorageConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeStreamStorageConfigurationCommandInput extends DescribeStreamStorageConfigurationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeStreamStorageConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeStreamStorageConfigurationCommandOutput extends DescribeStreamStorageConfigurationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeStreamStorageConfigurationCommand_base: {
|
|
25
|
+
new (input: DescribeStreamStorageConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeStreamStorageConfigurationCommandInput, DescribeStreamStorageConfigurationCommandOutput, KinesisVideoClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DescribeStreamStorageConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeStreamStorageConfigurationCommandInput, DescribeStreamStorageConfigurationCommandOutput, KinesisVideoClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the current storage configuration for the specified Kinesis video stream.</p>
|
|
31
|
+
* <p>In the request, you must specify either the <code>StreamName</code> or the <code>StreamARN</code>.</p>
|
|
32
|
+
* <p>You must have permissions for the <code>KinesisVideo:DescribeStreamStorageConfiguration</code> action.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { KinesisVideoClient, DescribeStreamStorageConfigurationCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
|
|
37
|
+
* // const { KinesisVideoClient, DescribeStreamStorageConfigurationCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
|
|
38
|
+
* // import type { KinesisVideoClientConfig } from "@aws-sdk/client-kinesis-video";
|
|
39
|
+
* const config = {}; // type is KinesisVideoClientConfig
|
|
40
|
+
* const client = new KinesisVideoClient(config);
|
|
41
|
+
* const input = { // DescribeStreamStorageConfigurationInput
|
|
42
|
+
* StreamName: "STRING_VALUE",
|
|
43
|
+
* StreamARN: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DescribeStreamStorageConfigurationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // DescribeStreamStorageConfigurationOutput
|
|
48
|
+
* // StreamName: "STRING_VALUE",
|
|
49
|
+
* // StreamARN: "STRING_VALUE",
|
|
50
|
+
* // StreamStorageConfiguration: { // StreamStorageConfiguration
|
|
51
|
+
* // DefaultStorageTier: "HOT" || "WARM", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param DescribeStreamStorageConfigurationCommandInput - {@link DescribeStreamStorageConfigurationCommandInput}
|
|
58
|
+
* @returns {@link DescribeStreamStorageConfigurationCommandOutput}
|
|
59
|
+
* @see {@link DescribeStreamStorageConfigurationCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link DescribeStreamStorageConfigurationCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link KinesisVideoClientResolvedConfig | config} for KinesisVideoClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>You do not have required permissions to perform this operation.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ClientLimitExceededException} (client fault)
|
|
67
|
+
* <p>Kinesis Video Streams has throttled the request because you have exceeded the limit of
|
|
68
|
+
* allowed client calls. Try making the call later.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InvalidArgumentException} (client fault)
|
|
71
|
+
* <p>The value for this input parameter is invalid.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>Amazon Kinesis Video Streams can't find the stream that you specified.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link KinesisVideoServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from KinesisVideo service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class DescribeStreamStorageConfigurationCommand extends DescribeStreamStorageConfigurationCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: DescribeStreamStorageConfigurationInput;
|
|
87
|
+
output: DescribeStreamStorageConfigurationOutput;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: DescribeStreamStorageConfigurationCommandInput;
|
|
91
|
+
output: DescribeStreamStorageConfigurationCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -34,7 +34,9 @@ declare const GetSignalingChannelEndpointCommand_base: {
|
|
|
34
34
|
* <code>Protocols</code> is used to determine the communication mechanism. For example,
|
|
35
35
|
* if you specify <code>WSS</code> as the protocol, this API produces a secure websocket
|
|
36
36
|
* endpoint. If you specify <code>HTTPS</code> as the protocol, this API generates an HTTPS
|
|
37
|
-
* endpoint. </
|
|
37
|
+
* endpoint. If you specify <code>WEBRTC</code> as the protocol, but the signaling channel isn't
|
|
38
|
+
* configured for ingestion, you will receive the error
|
|
39
|
+
* <code>InvalidArgumentException</code>.</p>
|
|
38
40
|
* <p>
|
|
39
41
|
* <code>Role</code> determines the messaging permissions. A <code>MASTER</code> role
|
|
40
42
|
* results in this API generating an endpoint that a client can use to communicate with any
|