@aws-sdk/client-kinesis-video 3.933.0 → 3.935.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -159,38 +159,6 @@ let AccountStreamLimitExceededException$1 = class AccountStreamLimitExceededExce
159
159
  this.Message = opts.Message;
160
160
  }
161
161
  };
162
- const APIName = {
163
- GET_CLIP: "GET_CLIP",
164
- GET_DASH_STREAMING_SESSION_URL: "GET_DASH_STREAMING_SESSION_URL",
165
- GET_HLS_STREAMING_SESSION_URL: "GET_HLS_STREAMING_SESSION_URL",
166
- GET_IMAGES: "GET_IMAGES",
167
- GET_MEDIA: "GET_MEDIA",
168
- GET_MEDIA_FOR_FRAGMENT_LIST: "GET_MEDIA_FOR_FRAGMENT_LIST",
169
- LIST_FRAGMENTS: "LIST_FRAGMENTS",
170
- PUT_MEDIA: "PUT_MEDIA",
171
- };
172
- const Status = {
173
- ACTIVE: "ACTIVE",
174
- CREATING: "CREATING",
175
- DELETING: "DELETING",
176
- UPDATING: "UPDATING",
177
- };
178
- const ChannelType = {
179
- FULL_MESH: "FULL_MESH",
180
- SINGLE_MASTER: "SINGLE_MASTER",
181
- };
182
- const ComparisonOperator = {
183
- BEGINS_WITH: "BEGINS_WITH",
184
- };
185
- const ChannelProtocol = {
186
- HTTPS: "HTTPS",
187
- WEBRTC: "WEBRTC",
188
- WSS: "WSS",
189
- };
190
- const ChannelRole = {
191
- MASTER: "MASTER",
192
- VIEWER: "VIEWER",
193
- };
194
162
  let ClientLimitExceededException$1 = class ClientLimitExceededException extends KinesisVideoServiceException$1 {
195
163
  name = "ClientLimitExceededException";
196
164
  $fault = "client";
@@ -205,10 +173,6 @@ let ClientLimitExceededException$1 = class ClientLimitExceededException extends
205
173
  this.Message = opts.Message;
206
174
  }
207
175
  };
208
- const ConfigurationStatus = {
209
- DISABLED: "DISABLED",
210
- ENABLED: "ENABLED",
211
- };
212
176
  let InvalidArgumentException$1 = class InvalidArgumentException extends KinesisVideoServiceException$1 {
213
177
  name = "InvalidArgumentException";
214
178
  $fault = "client";
@@ -335,48 +299,6 @@ let NotAuthorizedException$1 = class NotAuthorizedException extends KinesisVideo
335
299
  this.Message = opts.Message;
336
300
  }
337
301
  };
338
- const StrategyOnFullSize = {
339
- DELETE_OLDEST_MEDIA: "DELETE_OLDEST_MEDIA",
340
- DENY_NEW_MEDIA: "DENY_NEW_MEDIA",
341
- };
342
- const RecorderStatus = {
343
- SUCCESS: "SUCCESS",
344
- SYSTEM_ERROR: "SYSTEM_ERROR",
345
- USER_ERROR: "USER_ERROR",
346
- };
347
- const UploaderStatus = {
348
- SUCCESS: "SUCCESS",
349
- SYSTEM_ERROR: "SYSTEM_ERROR",
350
- USER_ERROR: "USER_ERROR",
351
- };
352
- const MediaUriType = {
353
- FILE_URI: "FILE_URI",
354
- RTSP_URI: "RTSP_URI",
355
- };
356
- const SyncStatus = {
357
- ACKNOWLEDGED: "ACKNOWLEDGED",
358
- DELETE_FAILED: "DELETE_FAILED",
359
- DELETING: "DELETING",
360
- DELETING_ACKNOWLEDGED: "DELETING_ACKNOWLEDGED",
361
- IN_SYNC: "IN_SYNC",
362
- SYNCING: "SYNCING",
363
- SYNC_FAILED: "SYNC_FAILED",
364
- };
365
- const Format = {
366
- JPEG: "JPEG",
367
- PNG: "PNG",
368
- };
369
- const FormatConfigKey = {
370
- JPEGQuality: "JPEGQuality",
371
- };
372
- const ImageSelectorType = {
373
- PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
374
- SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
375
- };
376
- const MediaStorageConfigurationStatus = {
377
- DISABLED: "DISABLED",
378
- ENABLED: "ENABLED",
379
- };
380
302
  let InvalidResourceFormatException$1 = class InvalidResourceFormatException extends KinesisVideoServiceException$1 {
381
303
  name = "InvalidResourceFormatException";
382
304
  $fault = "client";
@@ -405,10 +327,6 @@ let NoDataRetentionException$1 = class NoDataRetentionException extends KinesisV
405
327
  this.Message = opts.Message;
406
328
  }
407
329
  };
408
- const UpdateDataRetentionOperation = {
409
- DECREASE_DATA_RETENTION: "DECREASE_DATA_RETENTION",
410
- INCREASE_DATA_RETENTION: "INCREASE_DATA_RETENTION",
411
- };
412
330
 
413
331
  const _ACLEE = "AccountChannelLimitExceededException";
414
332
  const _ADE = "AccessDeniedException";
@@ -1816,6 +1734,89 @@ const paginateListSignalingChannels = core.createPaginator(KinesisVideoClient, L
1816
1734
 
1817
1735
  const paginateListStreams = core.createPaginator(KinesisVideoClient, ListStreamsCommand, "NextToken", "NextToken", "MaxResults");
1818
1736
 
1737
+ const APIName = {
1738
+ GET_CLIP: "GET_CLIP",
1739
+ GET_DASH_STREAMING_SESSION_URL: "GET_DASH_STREAMING_SESSION_URL",
1740
+ GET_HLS_STREAMING_SESSION_URL: "GET_HLS_STREAMING_SESSION_URL",
1741
+ GET_IMAGES: "GET_IMAGES",
1742
+ GET_MEDIA: "GET_MEDIA",
1743
+ GET_MEDIA_FOR_FRAGMENT_LIST: "GET_MEDIA_FOR_FRAGMENT_LIST",
1744
+ LIST_FRAGMENTS: "LIST_FRAGMENTS",
1745
+ PUT_MEDIA: "PUT_MEDIA",
1746
+ };
1747
+ const Status = {
1748
+ ACTIVE: "ACTIVE",
1749
+ CREATING: "CREATING",
1750
+ DELETING: "DELETING",
1751
+ UPDATING: "UPDATING",
1752
+ };
1753
+ const ChannelType = {
1754
+ FULL_MESH: "FULL_MESH",
1755
+ SINGLE_MASTER: "SINGLE_MASTER",
1756
+ };
1757
+ const ComparisonOperator = {
1758
+ BEGINS_WITH: "BEGINS_WITH",
1759
+ };
1760
+ const ChannelProtocol = {
1761
+ HTTPS: "HTTPS",
1762
+ WEBRTC: "WEBRTC",
1763
+ WSS: "WSS",
1764
+ };
1765
+ const ChannelRole = {
1766
+ MASTER: "MASTER",
1767
+ VIEWER: "VIEWER",
1768
+ };
1769
+ const ConfigurationStatus = {
1770
+ DISABLED: "DISABLED",
1771
+ ENABLED: "ENABLED",
1772
+ };
1773
+ const StrategyOnFullSize = {
1774
+ DELETE_OLDEST_MEDIA: "DELETE_OLDEST_MEDIA",
1775
+ DENY_NEW_MEDIA: "DENY_NEW_MEDIA",
1776
+ };
1777
+ const RecorderStatus = {
1778
+ SUCCESS: "SUCCESS",
1779
+ SYSTEM_ERROR: "SYSTEM_ERROR",
1780
+ USER_ERROR: "USER_ERROR",
1781
+ };
1782
+ const UploaderStatus = {
1783
+ SUCCESS: "SUCCESS",
1784
+ SYSTEM_ERROR: "SYSTEM_ERROR",
1785
+ USER_ERROR: "USER_ERROR",
1786
+ };
1787
+ const MediaUriType = {
1788
+ FILE_URI: "FILE_URI",
1789
+ RTSP_URI: "RTSP_URI",
1790
+ };
1791
+ const SyncStatus = {
1792
+ ACKNOWLEDGED: "ACKNOWLEDGED",
1793
+ DELETE_FAILED: "DELETE_FAILED",
1794
+ DELETING: "DELETING",
1795
+ DELETING_ACKNOWLEDGED: "DELETING_ACKNOWLEDGED",
1796
+ IN_SYNC: "IN_SYNC",
1797
+ SYNCING: "SYNCING",
1798
+ SYNC_FAILED: "SYNC_FAILED",
1799
+ };
1800
+ const Format = {
1801
+ JPEG: "JPEG",
1802
+ PNG: "PNG",
1803
+ };
1804
+ const FormatConfigKey = {
1805
+ JPEGQuality: "JPEGQuality",
1806
+ };
1807
+ const ImageSelectorType = {
1808
+ PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
1809
+ SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
1810
+ };
1811
+ const MediaStorageConfigurationStatus = {
1812
+ DISABLED: "DISABLED",
1813
+ ENABLED: "ENABLED",
1814
+ };
1815
+ const UpdateDataRetentionOperation = {
1816
+ DECREASE_DATA_RETENTION: "DECREASE_DATA_RETENTION",
1817
+ INCREASE_DATA_RETENTION: "INCREASE_DATA_RETENTION",
1818
+ };
1819
+
1819
1820
  Object.defineProperty(exports, "$Command", {
1820
1821
  enumerable: true,
1821
1822
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./KinesisVideoClient";
2
2
  export * from "./KinesisVideo";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { KinesisVideoServiceException } from "./models/KinesisVideoServiceException";
@@ -0,0 +1,82 @@
1
+ export const APIName = {
2
+ GET_CLIP: "GET_CLIP",
3
+ GET_DASH_STREAMING_SESSION_URL: "GET_DASH_STREAMING_SESSION_URL",
4
+ GET_HLS_STREAMING_SESSION_URL: "GET_HLS_STREAMING_SESSION_URL",
5
+ GET_IMAGES: "GET_IMAGES",
6
+ GET_MEDIA: "GET_MEDIA",
7
+ GET_MEDIA_FOR_FRAGMENT_LIST: "GET_MEDIA_FOR_FRAGMENT_LIST",
8
+ LIST_FRAGMENTS: "LIST_FRAGMENTS",
9
+ PUT_MEDIA: "PUT_MEDIA",
10
+ };
11
+ export const Status = {
12
+ ACTIVE: "ACTIVE",
13
+ CREATING: "CREATING",
14
+ DELETING: "DELETING",
15
+ UPDATING: "UPDATING",
16
+ };
17
+ export const ChannelType = {
18
+ FULL_MESH: "FULL_MESH",
19
+ SINGLE_MASTER: "SINGLE_MASTER",
20
+ };
21
+ export const ComparisonOperator = {
22
+ BEGINS_WITH: "BEGINS_WITH",
23
+ };
24
+ export const ChannelProtocol = {
25
+ HTTPS: "HTTPS",
26
+ WEBRTC: "WEBRTC",
27
+ WSS: "WSS",
28
+ };
29
+ export const ChannelRole = {
30
+ MASTER: "MASTER",
31
+ VIEWER: "VIEWER",
32
+ };
33
+ export const ConfigurationStatus = {
34
+ DISABLED: "DISABLED",
35
+ ENABLED: "ENABLED",
36
+ };
37
+ export const StrategyOnFullSize = {
38
+ DELETE_OLDEST_MEDIA: "DELETE_OLDEST_MEDIA",
39
+ DENY_NEW_MEDIA: "DENY_NEW_MEDIA",
40
+ };
41
+ export const RecorderStatus = {
42
+ SUCCESS: "SUCCESS",
43
+ SYSTEM_ERROR: "SYSTEM_ERROR",
44
+ USER_ERROR: "USER_ERROR",
45
+ };
46
+ export const UploaderStatus = {
47
+ SUCCESS: "SUCCESS",
48
+ SYSTEM_ERROR: "SYSTEM_ERROR",
49
+ USER_ERROR: "USER_ERROR",
50
+ };
51
+ export const MediaUriType = {
52
+ FILE_URI: "FILE_URI",
53
+ RTSP_URI: "RTSP_URI",
54
+ };
55
+ export const SyncStatus = {
56
+ ACKNOWLEDGED: "ACKNOWLEDGED",
57
+ DELETE_FAILED: "DELETE_FAILED",
58
+ DELETING: "DELETING",
59
+ DELETING_ACKNOWLEDGED: "DELETING_ACKNOWLEDGED",
60
+ IN_SYNC: "IN_SYNC",
61
+ SYNCING: "SYNCING",
62
+ SYNC_FAILED: "SYNC_FAILED",
63
+ };
64
+ export const Format = {
65
+ JPEG: "JPEG",
66
+ PNG: "PNG",
67
+ };
68
+ export const FormatConfigKey = {
69
+ JPEGQuality: "JPEGQuality",
70
+ };
71
+ export const ImageSelectorType = {
72
+ PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
73
+ SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
74
+ };
75
+ export const MediaStorageConfigurationStatus = {
76
+ DISABLED: "DISABLED",
77
+ ENABLED: "ENABLED",
78
+ };
79
+ export const UpdateDataRetentionOperation = {
80
+ DECREASE_DATA_RETENTION: "DECREASE_DATA_RETENTION",
81
+ INCREASE_DATA_RETENTION: "INCREASE_DATA_RETENTION",
82
+ };
@@ -0,0 +1,211 @@
1
+ import { KinesisVideoServiceException as __BaseException } from "./KinesisVideoServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class AccountChannelLimitExceededException extends __BaseException {
17
+ name = "AccountChannelLimitExceededException";
18
+ $fault = "client";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "AccountChannelLimitExceededException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, AccountChannelLimitExceededException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class AccountStreamLimitExceededException extends __BaseException {
31
+ name = "AccountStreamLimitExceededException";
32
+ $fault = "client";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "AccountStreamLimitExceededException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, AccountStreamLimitExceededException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class ClientLimitExceededException extends __BaseException {
45
+ name = "ClientLimitExceededException";
46
+ $fault = "client";
47
+ Message;
48
+ constructor(opts) {
49
+ super({
50
+ name: "ClientLimitExceededException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class InvalidArgumentException extends __BaseException {
59
+ name = "InvalidArgumentException";
60
+ $fault = "client";
61
+ Message;
62
+ constructor(opts) {
63
+ super({
64
+ name: "InvalidArgumentException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ export class ResourceInUseException extends __BaseException {
73
+ name = "ResourceInUseException";
74
+ $fault = "client";
75
+ Message;
76
+ constructor(opts) {
77
+ super({
78
+ name: "ResourceInUseException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
86
+ export class TagsPerResourceExceededLimitException extends __BaseException {
87
+ name = "TagsPerResourceExceededLimitException";
88
+ $fault = "client";
89
+ Message;
90
+ constructor(opts) {
91
+ super({
92
+ name: "TagsPerResourceExceededLimitException",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ Object.setPrototypeOf(this, TagsPerResourceExceededLimitException.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ export class DeviceStreamLimitExceededException extends __BaseException {
101
+ name = "DeviceStreamLimitExceededException";
102
+ $fault = "client";
103
+ Message;
104
+ constructor(opts) {
105
+ super({
106
+ name: "DeviceStreamLimitExceededException",
107
+ $fault: "client",
108
+ ...opts,
109
+ });
110
+ Object.setPrototypeOf(this, DeviceStreamLimitExceededException.prototype);
111
+ this.Message = opts.Message;
112
+ }
113
+ }
114
+ export class InvalidDeviceException extends __BaseException {
115
+ name = "InvalidDeviceException";
116
+ $fault = "client";
117
+ Message;
118
+ constructor(opts) {
119
+ super({
120
+ name: "InvalidDeviceException",
121
+ $fault: "client",
122
+ ...opts,
123
+ });
124
+ Object.setPrototypeOf(this, InvalidDeviceException.prototype);
125
+ this.Message = opts.Message;
126
+ }
127
+ }
128
+ export class ResourceNotFoundException extends __BaseException {
129
+ name = "ResourceNotFoundException";
130
+ $fault = "client";
131
+ Message;
132
+ constructor(opts) {
133
+ super({
134
+ name: "ResourceNotFoundException",
135
+ $fault: "client",
136
+ ...opts,
137
+ });
138
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
139
+ this.Message = opts.Message;
140
+ }
141
+ }
142
+ export class StreamEdgeConfigurationNotFoundException extends __BaseException {
143
+ name = "StreamEdgeConfigurationNotFoundException";
144
+ $fault = "client";
145
+ Message;
146
+ constructor(opts) {
147
+ super({
148
+ name: "StreamEdgeConfigurationNotFoundException",
149
+ $fault: "client",
150
+ ...opts,
151
+ });
152
+ Object.setPrototypeOf(this, StreamEdgeConfigurationNotFoundException.prototype);
153
+ this.Message = opts.Message;
154
+ }
155
+ }
156
+ export class VersionMismatchException extends __BaseException {
157
+ name = "VersionMismatchException";
158
+ $fault = "client";
159
+ Message;
160
+ constructor(opts) {
161
+ super({
162
+ name: "VersionMismatchException",
163
+ $fault: "client",
164
+ ...opts,
165
+ });
166
+ Object.setPrototypeOf(this, VersionMismatchException.prototype);
167
+ this.Message = opts.Message;
168
+ }
169
+ }
170
+ export class NotAuthorizedException extends __BaseException {
171
+ name = "NotAuthorizedException";
172
+ $fault = "client";
173
+ Message;
174
+ constructor(opts) {
175
+ super({
176
+ name: "NotAuthorizedException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ Object.setPrototypeOf(this, NotAuthorizedException.prototype);
181
+ this.Message = opts.Message;
182
+ }
183
+ }
184
+ export class InvalidResourceFormatException extends __BaseException {
185
+ name = "InvalidResourceFormatException";
186
+ $fault = "client";
187
+ Message;
188
+ constructor(opts) {
189
+ super({
190
+ name: "InvalidResourceFormatException",
191
+ $fault: "client",
192
+ ...opts,
193
+ });
194
+ Object.setPrototypeOf(this, InvalidResourceFormatException.prototype);
195
+ this.Message = opts.Message;
196
+ }
197
+ }
198
+ export class NoDataRetentionException extends __BaseException {
199
+ name = "NoDataRetentionException";
200
+ $fault = "client";
201
+ Message;
202
+ constructor(opts) {
203
+ super({
204
+ name: "NoDataRetentionException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ Object.setPrototypeOf(this, NoDataRetentionException.prototype);
209
+ this.Message = opts.Message;
210
+ }
211
+ }