@aws-sdk/client-kinesis-video 3.935.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.
@@ -0,0 +1,119 @@
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 { UpdateStreamStorageConfigurationInput, UpdateStreamStorageConfigurationOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateStreamStorageConfigurationCommand}.
14
+ */
15
+ export interface UpdateStreamStorageConfigurationCommandInput extends UpdateStreamStorageConfigurationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateStreamStorageConfigurationCommand}.
21
+ */
22
+ export interface UpdateStreamStorageConfigurationCommandOutput extends UpdateStreamStorageConfigurationOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateStreamStorageConfigurationCommand_base: {
25
+ new (input: UpdateStreamStorageConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateStreamStorageConfigurationCommandInput, UpdateStreamStorageConfigurationCommandOutput, KinesisVideoClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateStreamStorageConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateStreamStorageConfigurationCommandInput, UpdateStreamStorageConfigurationCommandOutput, KinesisVideoClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the storage configuration for an existing Kinesis video stream.</p>
31
+ * <p>This operation allows you to modify the storage tier settings for a stream, enabling you to optimize storage costs and performance based on your access patterns.</p>
32
+ * <p>
33
+ * <code>UpdateStreamStorageConfiguration</code> is an asynchronous operation.</p>
34
+ * <p>You must have permissions for the <code>KinesisVideo:UpdateStreamStorageConfiguration</code> action.</p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { KinesisVideoClient, UpdateStreamStorageConfigurationCommand } from "@aws-sdk/client-kinesis-video"; // ES Modules import
39
+ * // const { KinesisVideoClient, UpdateStreamStorageConfigurationCommand } = require("@aws-sdk/client-kinesis-video"); // CommonJS import
40
+ * // import type { KinesisVideoClientConfig } from "@aws-sdk/client-kinesis-video";
41
+ * const config = {}; // type is KinesisVideoClientConfig
42
+ * const client = new KinesisVideoClient(config);
43
+ * const input = { // UpdateStreamStorageConfigurationInput
44
+ * StreamName: "STRING_VALUE",
45
+ * StreamARN: "STRING_VALUE",
46
+ * CurrentVersion: "STRING_VALUE", // required
47
+ * StreamStorageConfiguration: { // StreamStorageConfiguration
48
+ * DefaultStorageTier: "HOT" || "WARM", // required
49
+ * },
50
+ * };
51
+ * const command = new UpdateStreamStorageConfigurationCommand(input);
52
+ * const response = await client.send(command);
53
+ * // {};
54
+ *
55
+ * ```
56
+ *
57
+ * @param UpdateStreamStorageConfigurationCommandInput - {@link UpdateStreamStorageConfigurationCommandInput}
58
+ * @returns {@link UpdateStreamStorageConfigurationCommandOutput}
59
+ * @see {@link UpdateStreamStorageConfigurationCommandInput} for command's `input` shape.
60
+ * @see {@link UpdateStreamStorageConfigurationCommandOutput} 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 ResourceInUseException} (client fault)
74
+ * <p>When the input <code>StreamARN</code> or <code>ChannelARN</code>
75
+ * in <code>CLOUD_STORAGE_MODE</code> is already mapped to a different
76
+ * Kinesis Video Stream resource, or if the provided input <code>StreamARN</code>
77
+ * or <code>ChannelARN</code> is not in Active status, try one of the following : </p>
78
+ * <ol>
79
+ * <li>
80
+ * <p>The <code>DescribeMediaStorageConfiguration</code> API to determine what the stream given channel is mapped to.
81
+ * </p>
82
+ * </li>
83
+ * <li>
84
+ * <p>The <code>DescribeMappedResourceConfiguration</code> API to determine the channel that the given stream is mapped to.
85
+ * </p>
86
+ * </li>
87
+ * <li>
88
+ * <p>The <code>DescribeStream</code> or <code>DescribeSignalingChannel</code> API to determine the status of the resource.
89
+ * </p>
90
+ * </li>
91
+ * </ol>
92
+ *
93
+ * @throws {@link ResourceNotFoundException} (client fault)
94
+ * <p>Amazon Kinesis Video Streams can't find the stream that you specified.</p>
95
+ *
96
+ * @throws {@link VersionMismatchException} (client fault)
97
+ * <p>The stream version that you specified is not the latest version. To get the latest
98
+ * version, use the <a href="https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html">DescribeStream</a>
99
+ * API.</p>
100
+ *
101
+ * @throws {@link KinesisVideoServiceException}
102
+ * <p>Base exception class for all service exceptions from KinesisVideo service.</p>
103
+ *
104
+ *
105
+ * @public
106
+ */
107
+ export declare class UpdateStreamStorageConfigurationCommand extends UpdateStreamStorageConfigurationCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: UpdateStreamStorageConfigurationInput;
112
+ output: {};
113
+ };
114
+ sdk: {
115
+ input: UpdateStreamStorageConfigurationCommandInput;
116
+ output: UpdateStreamStorageConfigurationCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -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";
@@ -90,6 +90,18 @@ export declare const ConfigurationStatus: {
90
90
  * @public
91
91
  */
92
92
  export type ConfigurationStatus = (typeof ConfigurationStatus)[keyof typeof ConfigurationStatus];
93
+ /**
94
+ * @public
95
+ * @enum
96
+ */
97
+ export declare const DefaultStorageTier: {
98
+ readonly HOT: "HOT";
99
+ readonly WARM: "WARM";
100
+ };
101
+ /**
102
+ * @public
103
+ */
104
+ export type DefaultStorageTier = (typeof DefaultStorageTier)[keyof typeof DefaultStorageTier];
93
105
  /**
94
106
  * @public
95
107
  * @enum
@@ -1,4 +1,4 @@
1
- import { APIName, ChannelProtocol, ChannelRole, ChannelType, ComparisonOperator, ConfigurationStatus, Format, FormatConfigKey, ImageSelectorType, MediaStorageConfigurationStatus, MediaUriType, RecorderStatus, Status, StrategyOnFullSize, SyncStatus, UpdateDataRetentionOperation, UploaderStatus } from "./enums";
1
+ import { APIName, ChannelProtocol, ChannelRole, ChannelType, ComparisonOperator, ConfigurationStatus, DefaultStorageTier, Format, FormatConfigKey, ImageSelectorType, MediaStorageConfigurationStatus, MediaUriType, RecorderStatus, Status, StrategyOnFullSize, SyncStatus, UpdateDataRetentionOperation, UploaderStatus } from "./enums";
2
2
  /**
3
3
  * <p>A structure that contains the configuration for the <code>SINGLE_MASTER</code> channel
4
4
  * type.</p>
@@ -6,8 +6,9 @@ import { APIName, ChannelProtocol, ChannelRole, ChannelType, ComparisonOperator,
6
6
  */
7
7
  export interface SingleMasterConfiguration {
8
8
  /**
9
- * <p>The period of time a signaling channel retains undelivered messages before they are
10
- * discarded.</p>
9
+ * <p>The period of time (in seconds) a signaling channel retains undelivered messages
10
+ * before they are discarded. Use to update
11
+ * this value.</p>
11
12
  * @public
12
13
  */
13
14
  MessageTtlSeconds?: number | undefined;
@@ -107,7 +108,8 @@ export interface CreateSignalingChannelInput {
107
108
  ChannelType?: ChannelType | undefined;
108
109
  /**
109
110
  * <p>A structure containing the configuration for the <code>SINGLE_MASTER</code> channel
110
- * type. </p>
111
+ * type. The default configuration for the channel message's time to live is 60 seconds (1
112
+ * minute).</p>
111
113
  * @public
112
114
  */
113
115
  SingleMasterConfiguration?: SingleMasterConfiguration | undefined;
@@ -127,6 +129,28 @@ export interface CreateSignalingChannelOutput {
127
129
  */
128
130
  ChannelARN?: string | undefined;
129
131
  }
132
+ /**
133
+ * <p>The configuration for stream storage, including the default storage tier for stream data. This configuration determines how stream data is stored and accessed, with different tiers offering varying levels of performance and cost optimization.</p>
134
+ * @public
135
+ */
136
+ export interface StreamStorageConfiguration {
137
+ /**
138
+ * <p>The default storage tier for the stream data. This setting determines the storage class used for stream data, affecting both performance characteristics and storage costs.</p>
139
+ * <p>Available storage tiers:</p>
140
+ * <ul>
141
+ * <li>
142
+ * <p>
143
+ * <code>HOT</code> - Optimized for frequent access with the lowest latency and highest performance. Ideal for real-time applications and frequently accessed data.</p>
144
+ * </li>
145
+ * <li>
146
+ * <p>
147
+ * <code>WARM</code> - Balanced performance and cost for moderately accessed data. Suitable for data that is accessed regularly but not continuously.</p>
148
+ * </li>
149
+ * </ul>
150
+ * @public
151
+ */
152
+ DefaultStorageTier: DefaultStorageTier | undefined;
153
+ }
130
154
  /**
131
155
  * @public
132
156
  */
@@ -134,8 +158,7 @@ export interface CreateStreamInput {
134
158
  /**
135
159
  * <p>The name of the device that is writing to the stream. </p>
136
160
  * <note>
137
- * <p>In the current implementation, Kinesis Video Streams does not use this
138
- * name.</p>
161
+ * <p>In the current implementation, Kinesis Video Streams doesn't use this name.</p>
139
162
  * </note>
140
163
  * @public
141
164
  */
@@ -162,14 +185,15 @@ export interface CreateStreamInput {
162
185
  * <p>The ID of the Key Management Service (KMS) key that you want Kinesis Video
163
186
  * Streams to use to encrypt stream data.</p>
164
187
  * <p>If no key ID is specified, the default, Kinesis Video-managed key
165
- * (<code>Amazon Web Services/kinesisvideo</code>) is used.</p>
188
+ * (<code>aws/kinesisvideo</code>) is used.</p>
166
189
  * <p> For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters">DescribeKey</a>. </p>
167
190
  * @public
168
191
  */
169
192
  KmsKeyId?: string | undefined;
170
193
  /**
171
194
  * <p>The number of hours that you want to retain the data in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.</p>
172
- * <p>The default value is 0, indicating that the stream does not persist data.</p>
195
+ * <p>The default value is 0, indicating that the stream does not persist data. The minimum
196
+ * is 1 hour.</p>
173
197
  * <p>When the <code>DataRetentionInHours</code> value is 0, consumers can still consume
174
198
  * the fragments that remain in the service host buffer, which has a retention time limit
175
199
  * of 5 minutes and a retention memory limit of 200 MB. Fragments are removed from the
@@ -183,6 +207,12 @@ export interface CreateStreamInput {
183
207
  * @public
184
208
  */
185
209
  Tags?: Record<string, string> | undefined;
210
+ /**
211
+ * <p>The configuration for the stream's storage, including the default storage tier for stream data. This configuration determines how stream data is stored and accessed, with different tiers offering varying levels of performance and cost optimization.</p>
212
+ * <p>If not specified, the stream will use the default storage configuration with HOT tier for optimal performance.</p>
213
+ * @public
214
+ */
215
+ StreamStorageConfiguration?: StreamStorageConfiguration | undefined;
186
216
  }
187
217
  /**
188
218
  * @public
@@ -431,7 +461,7 @@ export interface ScheduleConfig {
431
461
  * camera, or local media file, onto the Edge Agent. If the <code>ScheduleExpression</code> is not provided for the <code>RecorderConfig</code>,
432
462
  * then the Edge Agent will always be set to recording mode.</p>
433
463
  * <p>For more information about Quartz, refer to the
434
- * <a href="http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html">
464
+ * <a href="https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html">
435
465
  * <i>Cron Trigger Tutorial</i>
436
466
  * </a> page to understand the valid expressions and its use.</p>
437
467
  * @public
@@ -446,7 +476,7 @@ export interface ScheduleConfig {
446
476
  }
447
477
  /**
448
478
  * <p>The recorder configuration consists of the local <code>MediaSourceConfig</code> details that are used as
449
- * credentials to accesss the local media files streamed on the camera. </p>
479
+ * credentials to access the local media files streamed on the camera. </p>
450
480
  * @public
451
481
  */
452
482
  export interface RecorderConfig {
@@ -796,7 +826,11 @@ export interface NotificationDestinationConfig {
796
826
  Uri: string | undefined;
797
827
  }
798
828
  /**
799
- * <p>The structure that contains the notification information for the KVS images delivery. If this parameter is null, the configuration will be deleted from the stream.</p>
829
+ * <p>Use this API to configure Amazon Simple Notification Service (Amazon SNS)
830
+ * notifications for when fragments become available in a stream. If this parameter is
831
+ * null, the configuration will be deleted from the stream.</p>
832
+ * <p>See <a href="https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/notifications.html">Notifications in Kinesis
833
+ * Video Streams</a> for more information.</p>
800
834
  * @public
801
835
  */
802
836
  export interface NotificationConfiguration {
@@ -924,6 +958,41 @@ export interface DescribeStreamOutput {
924
958
  */
925
959
  StreamInfo?: StreamInfo | undefined;
926
960
  }
961
+ /**
962
+ * @public
963
+ */
964
+ export interface DescribeStreamStorageConfigurationInput {
965
+ /**
966
+ * <p>The name of the stream for which you want to retrieve the storage configuration.</p>
967
+ * @public
968
+ */
969
+ StreamName?: string | undefined;
970
+ /**
971
+ * <p>The Amazon Resource Name (ARN) of the stream for which you want to retrieve the storage configuration.</p>
972
+ * @public
973
+ */
974
+ StreamARN?: string | undefined;
975
+ }
976
+ /**
977
+ * @public
978
+ */
979
+ export interface DescribeStreamStorageConfigurationOutput {
980
+ /**
981
+ * <p>The name of the stream.</p>
982
+ * @public
983
+ */
984
+ StreamName?: string | undefined;
985
+ /**
986
+ * <p>The Amazon Resource Name (ARN) of the stream.</p>
987
+ * @public
988
+ */
989
+ StreamARN?: string | undefined;
990
+ /**
991
+ * <p>The current storage configuration for the stream, including the default storage tier and other storage-related settings.</p>
992
+ * @public
993
+ */
994
+ StreamStorageConfiguration?: StreamStorageConfiguration | undefined;
995
+ }
927
996
  /**
928
997
  * @public
929
998
  */
@@ -1571,7 +1640,9 @@ export interface UpdateSignalingChannelInput {
1571
1640
  CurrentVersion: string | undefined;
1572
1641
  /**
1573
1642
  * <p>The structure containing the configuration for the <code>SINGLE_MASTER</code> type of
1574
- * the signaling channel that you want to update. </p>
1643
+ * the signaling channel that you want to update. This parameter and the channel message's
1644
+ * time-to-live are required for channels with the <code>SINGLE_MASTER</code> channel
1645
+ * type.</p>
1575
1646
  * @public
1576
1647
  */
1577
1648
  SingleMasterConfiguration?: SingleMasterConfiguration | undefined;
@@ -1629,3 +1700,36 @@ export interface UpdateStreamInput {
1629
1700
  */
1630
1701
  export interface UpdateStreamOutput {
1631
1702
  }
1703
+ /**
1704
+ * @public
1705
+ */
1706
+ export interface UpdateStreamStorageConfigurationInput {
1707
+ /**
1708
+ * <p>The name of the stream for which you want to update the storage configuration.</p>
1709
+ * @public
1710
+ */
1711
+ StreamName?: string | undefined;
1712
+ /**
1713
+ * <p>The Amazon Resource Name (ARN) of the stream for which you want to update the storage configuration.</p>
1714
+ * @public
1715
+ */
1716
+ StreamARN?: string | undefined;
1717
+ /**
1718
+ * <p>The version of the stream whose storage configuration you want to change. To get the
1719
+ * version, call either the <code>DescribeStream</code> or the <code>ListStreams</code>
1720
+ * API.</p>
1721
+ * @public
1722
+ */
1723
+ CurrentVersion: string | undefined;
1724
+ /**
1725
+ * <p>The new storage configuration for the stream. This includes the default storage tier that determines how stream data is stored and accessed.</p>
1726
+ * <p>Different storage tiers offer varying levels of performance and cost optimization to match your specific use case requirements.</p>
1727
+ * @public
1728
+ */
1729
+ StreamStorageConfiguration: StreamStorageConfiguration | undefined;
1730
+ }
1731
+ /**
1732
+ * @public
1733
+ */
1734
+ export interface UpdateStreamStorageConfigurationOutput {
1735
+ }
@@ -31,6 +31,8 @@ export declare var DescribeSignalingChannelInput: StaticStructureSchema;
31
31
  export declare var DescribeSignalingChannelOutput: StaticStructureSchema;
32
32
  export declare var DescribeStreamInput: StaticStructureSchema;
33
33
  export declare var DescribeStreamOutput: StaticStructureSchema;
34
+ export declare var DescribeStreamStorageConfigurationInput: StaticStructureSchema;
35
+ export declare var DescribeStreamStorageConfigurationOutput: StaticStructureSchema;
34
36
  export declare var DeviceStreamLimitExceededException: StaticErrorSchema;
35
37
  export declare var EdgeAgentStatus: StaticStructureSchema;
36
38
  export declare var EdgeConfig: StaticStructureSchema;
@@ -76,6 +78,7 @@ export declare var StartEdgeConfigurationUpdateOutput: StaticStructureSchema;
76
78
  export declare var StreamEdgeConfigurationNotFoundException: StaticErrorSchema;
77
79
  export declare var StreamInfo: StaticStructureSchema;
78
80
  export declare var StreamNameCondition: StaticStructureSchema;
81
+ export declare var StreamStorageConfiguration: StaticStructureSchema;
79
82
  export declare var Tag: StaticStructureSchema;
80
83
  export declare var TagResourceInput: StaticStructureSchema;
81
84
  export declare var TagResourceOutput: StaticStructureSchema;
@@ -98,6 +101,8 @@ export declare var UpdateSignalingChannelInput: StaticStructureSchema;
98
101
  export declare var UpdateSignalingChannelOutput: StaticStructureSchema;
99
102
  export declare var UpdateStreamInput: StaticStructureSchema;
100
103
  export declare var UpdateStreamOutput: StaticStructureSchema;
104
+ export declare var UpdateStreamStorageConfigurationInput: StaticStructureSchema;
105
+ export declare var UpdateStreamStorageConfigurationOutput: StaticStructureSchema;
101
106
  export declare var UploaderConfig: StaticStructureSchema;
102
107
  export declare var VersionMismatchException: StaticErrorSchema;
103
108
  export declare var __Unit: "unit";
@@ -125,6 +130,7 @@ export declare var DescribeMediaStorageConfiguration: StaticOperationSchema;
125
130
  export declare var DescribeNotificationConfiguration: StaticOperationSchema;
126
131
  export declare var DescribeSignalingChannel: StaticOperationSchema;
127
132
  export declare var DescribeStream: StaticOperationSchema;
133
+ export declare var DescribeStreamStorageConfiguration: StaticOperationSchema;
128
134
  export declare var GetDataEndpoint: StaticOperationSchema;
129
135
  export declare var GetSignalingChannelEndpoint: StaticOperationSchema;
130
136
  export declare var ListEdgeAgentConfigurations: StaticOperationSchema;
@@ -143,3 +149,4 @@ export declare var UpdateMediaStorageConfiguration: StaticOperationSchema;
143
149
  export declare var UpdateNotificationConfiguration: StaticOperationSchema;
144
150
  export declare var UpdateSignalingChannel: StaticOperationSchema;
145
151
  export declare var UpdateStream: StaticOperationSchema;
152
+ export declare var UpdateStreamStorageConfiguration: StaticOperationSchema;
@@ -47,6 +47,10 @@ import {
47
47
  DescribeStreamCommandInput,
48
48
  DescribeStreamCommandOutput,
49
49
  } from "./commands/DescribeStreamCommand";
50
+ import {
51
+ DescribeStreamStorageConfigurationCommandInput,
52
+ DescribeStreamStorageConfigurationCommandOutput,
53
+ } from "./commands/DescribeStreamStorageConfigurationCommand";
50
54
  import {
51
55
  GetDataEndpointCommandInput,
52
56
  GetDataEndpointCommandOutput,
@@ -119,6 +123,10 @@ import {
119
123
  UpdateStreamCommandInput,
120
124
  UpdateStreamCommandOutput,
121
125
  } from "./commands/UpdateStreamCommand";
126
+ import {
127
+ UpdateStreamStorageConfigurationCommandInput,
128
+ UpdateStreamStorageConfigurationCommandOutput,
129
+ } from "./commands/UpdateStreamStorageConfigurationCommand";
122
130
  import { KinesisVideoClient } from "./KinesisVideoClient";
123
131
  export interface KinesisVideo {
124
132
  createSignalingChannel(
@@ -309,6 +317,26 @@ export interface KinesisVideo {
309
317
  options: __HttpHandlerOptions,
310
318
  cb: (err: any, data?: DescribeStreamCommandOutput) => void
311
319
  ): void;
320
+ describeStreamStorageConfiguration(): Promise<DescribeStreamStorageConfigurationCommandOutput>;
321
+ describeStreamStorageConfiguration(
322
+ args: DescribeStreamStorageConfigurationCommandInput,
323
+ options?: __HttpHandlerOptions
324
+ ): Promise<DescribeStreamStorageConfigurationCommandOutput>;
325
+ describeStreamStorageConfiguration(
326
+ args: DescribeStreamStorageConfigurationCommandInput,
327
+ cb: (
328
+ err: any,
329
+ data?: DescribeStreamStorageConfigurationCommandOutput
330
+ ) => void
331
+ ): void;
332
+ describeStreamStorageConfiguration(
333
+ args: DescribeStreamStorageConfigurationCommandInput,
334
+ options: __HttpHandlerOptions,
335
+ cb: (
336
+ err: any,
337
+ data?: DescribeStreamStorageConfigurationCommandOutput
338
+ ) => void
339
+ ): void;
312
340
  getDataEndpoint(
313
341
  args: GetDataEndpointCommandInput,
314
342
  options?: __HttpHandlerOptions
@@ -554,6 +582,19 @@ export interface KinesisVideo {
554
582
  options: __HttpHandlerOptions,
555
583
  cb: (err: any, data?: UpdateStreamCommandOutput) => void
556
584
  ): void;
585
+ updateStreamStorageConfiguration(
586
+ args: UpdateStreamStorageConfigurationCommandInput,
587
+ options?: __HttpHandlerOptions
588
+ ): Promise<UpdateStreamStorageConfigurationCommandOutput>;
589
+ updateStreamStorageConfiguration(
590
+ args: UpdateStreamStorageConfigurationCommandInput,
591
+ cb: (err: any, data?: UpdateStreamStorageConfigurationCommandOutput) => void
592
+ ): void;
593
+ updateStreamStorageConfiguration(
594
+ args: UpdateStreamStorageConfigurationCommandInput,
595
+ options: __HttpHandlerOptions,
596
+ cb: (err: any, data?: UpdateStreamStorageConfigurationCommandOutput) => void
597
+ ): void;
557
598
  }
558
599
  export declare class KinesisVideo
559
600
  extends KinesisVideoClient
@@ -96,6 +96,10 @@ import {
96
96
  DescribeStreamCommandInput,
97
97
  DescribeStreamCommandOutput,
98
98
  } from "./commands/DescribeStreamCommand";
99
+ import {
100
+ DescribeStreamStorageConfigurationCommandInput,
101
+ DescribeStreamStorageConfigurationCommandOutput,
102
+ } from "./commands/DescribeStreamStorageConfigurationCommand";
99
103
  import {
100
104
  GetDataEndpointCommandInput,
101
105
  GetDataEndpointCommandOutput,
@@ -168,6 +172,10 @@ import {
168
172
  UpdateStreamCommandInput,
169
173
  UpdateStreamCommandOutput,
170
174
  } from "./commands/UpdateStreamCommand";
175
+ import {
176
+ UpdateStreamStorageConfigurationCommandInput,
177
+ UpdateStreamStorageConfigurationCommandOutput,
178
+ } from "./commands/UpdateStreamStorageConfigurationCommand";
171
179
  import {
172
180
  ClientInputEndpointParameters,
173
181
  ClientResolvedEndpointParameters,
@@ -188,6 +196,7 @@ export type ServiceInputTypes =
188
196
  | DescribeNotificationConfigurationCommandInput
189
197
  | DescribeSignalingChannelCommandInput
190
198
  | DescribeStreamCommandInput
199
+ | DescribeStreamStorageConfigurationCommandInput
191
200
  | GetDataEndpointCommandInput
192
201
  | GetSignalingChannelEndpointCommandInput
193
202
  | ListEdgeAgentConfigurationsCommandInput
@@ -205,7 +214,8 @@ export type ServiceInputTypes =
205
214
  | UpdateMediaStorageConfigurationCommandInput
206
215
  | UpdateNotificationConfigurationCommandInput
207
216
  | UpdateSignalingChannelCommandInput
208
- | UpdateStreamCommandInput;
217
+ | UpdateStreamCommandInput
218
+ | UpdateStreamStorageConfigurationCommandInput;
209
219
  export type ServiceOutputTypes =
210
220
  | CreateSignalingChannelCommandOutput
211
221
  | CreateStreamCommandOutput
@@ -219,6 +229,7 @@ export type ServiceOutputTypes =
219
229
  | DescribeNotificationConfigurationCommandOutput
220
230
  | DescribeSignalingChannelCommandOutput
221
231
  | DescribeStreamCommandOutput
232
+ | DescribeStreamStorageConfigurationCommandOutput
222
233
  | GetDataEndpointCommandOutput
223
234
  | GetSignalingChannelEndpointCommandOutput
224
235
  | ListEdgeAgentConfigurationsCommandOutput
@@ -236,7 +247,8 @@ export type ServiceOutputTypes =
236
247
  | UpdateMediaStorageConfigurationCommandOutput
237
248
  | UpdateNotificationConfigurationCommandOutput
238
249
  | UpdateSignalingChannelCommandOutput
239
- | UpdateStreamCommandOutput;
250
+ | UpdateStreamCommandOutput
251
+ | UpdateStreamStorageConfigurationCommandOutput;
240
252
  export interface ClientDefaults
241
253
  extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
242
254
  requestHandler?: __HttpHandlerUserInput;
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ KinesisVideoClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../KinesisVideoClient";
8
+ import {
9
+ DescribeStreamStorageConfigurationInput,
10
+ DescribeStreamStorageConfigurationOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeStreamStorageConfigurationCommandInput
15
+ extends DescribeStreamStorageConfigurationInput {}
16
+ export interface DescribeStreamStorageConfigurationCommandOutput
17
+ extends DescribeStreamStorageConfigurationOutput,
18
+ __MetadataBearer {}
19
+ declare const DescribeStreamStorageConfigurationCommand_base: {
20
+ new (
21
+ input: DescribeStreamStorageConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeStreamStorageConfigurationCommandInput,
24
+ DescribeStreamStorageConfigurationCommandOutput,
25
+ KinesisVideoClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [DescribeStreamStorageConfigurationCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeStreamStorageConfigurationCommandInput,
33
+ DescribeStreamStorageConfigurationCommandOutput,
34
+ KinesisVideoClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeStreamStorageConfigurationCommand extends DescribeStreamStorageConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeStreamStorageConfigurationInput;
44
+ output: DescribeStreamStorageConfigurationOutput;
45
+ };
46
+ sdk: {
47
+ input: DescribeStreamStorageConfigurationCommandInput;
48
+ output: DescribeStreamStorageConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ KinesisVideoClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../KinesisVideoClient";
8
+ import {
9
+ UpdateStreamStorageConfigurationInput,
10
+ UpdateStreamStorageConfigurationOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateStreamStorageConfigurationCommandInput
15
+ extends UpdateStreamStorageConfigurationInput {}
16
+ export interface UpdateStreamStorageConfigurationCommandOutput
17
+ extends UpdateStreamStorageConfigurationOutput,
18
+ __MetadataBearer {}
19
+ declare const UpdateStreamStorageConfigurationCommand_base: {
20
+ new (
21
+ input: UpdateStreamStorageConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateStreamStorageConfigurationCommandInput,
24
+ UpdateStreamStorageConfigurationCommandOutput,
25
+ KinesisVideoClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: UpdateStreamStorageConfigurationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateStreamStorageConfigurationCommandInput,
33
+ UpdateStreamStorageConfigurationCommandOutput,
34
+ KinesisVideoClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateStreamStorageConfigurationCommand extends UpdateStreamStorageConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateStreamStorageConfigurationInput;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: UpdateStreamStorageConfigurationCommandInput;
48
+ output: UpdateStreamStorageConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -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";
@@ -44,6 +44,12 @@ export declare const ConfigurationStatus: {
44
44
  };
45
45
  export type ConfigurationStatus =
46
46
  (typeof ConfigurationStatus)[keyof typeof ConfigurationStatus];
47
+ export declare const DefaultStorageTier: {
48
+ readonly HOT: "HOT";
49
+ readonly WARM: "WARM";
50
+ };
51
+ export type DefaultStorageTier =
52
+ (typeof DefaultStorageTier)[keyof typeof DefaultStorageTier];
47
53
  export declare const StrategyOnFullSize: {
48
54
  readonly DELETE_OLDEST_MEDIA: "DELETE_OLDEST_MEDIA";
49
55
  readonly DENY_NEW_MEDIA: "DENY_NEW_MEDIA";