@aws-sdk/client-kinesis-video 3.934.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.
@@ -1,293 +1 @@
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 const APIName = {
45
- GET_CLIP: "GET_CLIP",
46
- GET_DASH_STREAMING_SESSION_URL: "GET_DASH_STREAMING_SESSION_URL",
47
- GET_HLS_STREAMING_SESSION_URL: "GET_HLS_STREAMING_SESSION_URL",
48
- GET_IMAGES: "GET_IMAGES",
49
- GET_MEDIA: "GET_MEDIA",
50
- GET_MEDIA_FOR_FRAGMENT_LIST: "GET_MEDIA_FOR_FRAGMENT_LIST",
51
- LIST_FRAGMENTS: "LIST_FRAGMENTS",
52
- PUT_MEDIA: "PUT_MEDIA",
53
- };
54
- export const Status = {
55
- ACTIVE: "ACTIVE",
56
- CREATING: "CREATING",
57
- DELETING: "DELETING",
58
- UPDATING: "UPDATING",
59
- };
60
- export const ChannelType = {
61
- FULL_MESH: "FULL_MESH",
62
- SINGLE_MASTER: "SINGLE_MASTER",
63
- };
64
- export const ComparisonOperator = {
65
- BEGINS_WITH: "BEGINS_WITH",
66
- };
67
- export const ChannelProtocol = {
68
- HTTPS: "HTTPS",
69
- WEBRTC: "WEBRTC",
70
- WSS: "WSS",
71
- };
72
- export const ChannelRole = {
73
- MASTER: "MASTER",
74
- VIEWER: "VIEWER",
75
- };
76
- export class ClientLimitExceededException extends __BaseException {
77
- name = "ClientLimitExceededException";
78
- $fault = "client";
79
- Message;
80
- constructor(opts) {
81
- super({
82
- name: "ClientLimitExceededException",
83
- $fault: "client",
84
- ...opts,
85
- });
86
- Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
87
- this.Message = opts.Message;
88
- }
89
- }
90
- export const ConfigurationStatus = {
91
- DISABLED: "DISABLED",
92
- ENABLED: "ENABLED",
93
- };
94
- export class InvalidArgumentException extends __BaseException {
95
- name = "InvalidArgumentException";
96
- $fault = "client";
97
- Message;
98
- constructor(opts) {
99
- super({
100
- name: "InvalidArgumentException",
101
- $fault: "client",
102
- ...opts,
103
- });
104
- Object.setPrototypeOf(this, InvalidArgumentException.prototype);
105
- this.Message = opts.Message;
106
- }
107
- }
108
- export class ResourceInUseException extends __BaseException {
109
- name = "ResourceInUseException";
110
- $fault = "client";
111
- Message;
112
- constructor(opts) {
113
- super({
114
- name: "ResourceInUseException",
115
- $fault: "client",
116
- ...opts,
117
- });
118
- Object.setPrototypeOf(this, ResourceInUseException.prototype);
119
- this.Message = opts.Message;
120
- }
121
- }
122
- export class TagsPerResourceExceededLimitException extends __BaseException {
123
- name = "TagsPerResourceExceededLimitException";
124
- $fault = "client";
125
- Message;
126
- constructor(opts) {
127
- super({
128
- name: "TagsPerResourceExceededLimitException",
129
- $fault: "client",
130
- ...opts,
131
- });
132
- Object.setPrototypeOf(this, TagsPerResourceExceededLimitException.prototype);
133
- this.Message = opts.Message;
134
- }
135
- }
136
- export class DeviceStreamLimitExceededException extends __BaseException {
137
- name = "DeviceStreamLimitExceededException";
138
- $fault = "client";
139
- Message;
140
- constructor(opts) {
141
- super({
142
- name: "DeviceStreamLimitExceededException",
143
- $fault: "client",
144
- ...opts,
145
- });
146
- Object.setPrototypeOf(this, DeviceStreamLimitExceededException.prototype);
147
- this.Message = opts.Message;
148
- }
149
- }
150
- export class InvalidDeviceException extends __BaseException {
151
- name = "InvalidDeviceException";
152
- $fault = "client";
153
- Message;
154
- constructor(opts) {
155
- super({
156
- name: "InvalidDeviceException",
157
- $fault: "client",
158
- ...opts,
159
- });
160
- Object.setPrototypeOf(this, InvalidDeviceException.prototype);
161
- this.Message = opts.Message;
162
- }
163
- }
164
- export class ResourceNotFoundException extends __BaseException {
165
- name = "ResourceNotFoundException";
166
- $fault = "client";
167
- Message;
168
- constructor(opts) {
169
- super({
170
- name: "ResourceNotFoundException",
171
- $fault: "client",
172
- ...opts,
173
- });
174
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
175
- this.Message = opts.Message;
176
- }
177
- }
178
- export class StreamEdgeConfigurationNotFoundException extends __BaseException {
179
- name = "StreamEdgeConfigurationNotFoundException";
180
- $fault = "client";
181
- Message;
182
- constructor(opts) {
183
- super({
184
- name: "StreamEdgeConfigurationNotFoundException",
185
- $fault: "client",
186
- ...opts,
187
- });
188
- Object.setPrototypeOf(this, StreamEdgeConfigurationNotFoundException.prototype);
189
- this.Message = opts.Message;
190
- }
191
- }
192
- export class VersionMismatchException extends __BaseException {
193
- name = "VersionMismatchException";
194
- $fault = "client";
195
- Message;
196
- constructor(opts) {
197
- super({
198
- name: "VersionMismatchException",
199
- $fault: "client",
200
- ...opts,
201
- });
202
- Object.setPrototypeOf(this, VersionMismatchException.prototype);
203
- this.Message = opts.Message;
204
- }
205
- }
206
- export class NotAuthorizedException extends __BaseException {
207
- name = "NotAuthorizedException";
208
- $fault = "client";
209
- Message;
210
- constructor(opts) {
211
- super({
212
- name: "NotAuthorizedException",
213
- $fault: "client",
214
- ...opts,
215
- });
216
- Object.setPrototypeOf(this, NotAuthorizedException.prototype);
217
- this.Message = opts.Message;
218
- }
219
- }
220
- export const StrategyOnFullSize = {
221
- DELETE_OLDEST_MEDIA: "DELETE_OLDEST_MEDIA",
222
- DENY_NEW_MEDIA: "DENY_NEW_MEDIA",
223
- };
224
- export const RecorderStatus = {
225
- SUCCESS: "SUCCESS",
226
- SYSTEM_ERROR: "SYSTEM_ERROR",
227
- USER_ERROR: "USER_ERROR",
228
- };
229
- export const UploaderStatus = {
230
- SUCCESS: "SUCCESS",
231
- SYSTEM_ERROR: "SYSTEM_ERROR",
232
- USER_ERROR: "USER_ERROR",
233
- };
234
- export const MediaUriType = {
235
- FILE_URI: "FILE_URI",
236
- RTSP_URI: "RTSP_URI",
237
- };
238
- export const SyncStatus = {
239
- ACKNOWLEDGED: "ACKNOWLEDGED",
240
- DELETE_FAILED: "DELETE_FAILED",
241
- DELETING: "DELETING",
242
- DELETING_ACKNOWLEDGED: "DELETING_ACKNOWLEDGED",
243
- IN_SYNC: "IN_SYNC",
244
- SYNCING: "SYNCING",
245
- SYNC_FAILED: "SYNC_FAILED",
246
- };
247
- export const Format = {
248
- JPEG: "JPEG",
249
- PNG: "PNG",
250
- };
251
- export const FormatConfigKey = {
252
- JPEGQuality: "JPEGQuality",
253
- };
254
- export const ImageSelectorType = {
255
- PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
256
- SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
257
- };
258
- export const MediaStorageConfigurationStatus = {
259
- DISABLED: "DISABLED",
260
- ENABLED: "ENABLED",
261
- };
262
- export class InvalidResourceFormatException extends __BaseException {
263
- name = "InvalidResourceFormatException";
264
- $fault = "client";
265
- Message;
266
- constructor(opts) {
267
- super({
268
- name: "InvalidResourceFormatException",
269
- $fault: "client",
270
- ...opts,
271
- });
272
- Object.setPrototypeOf(this, InvalidResourceFormatException.prototype);
273
- this.Message = opts.Message;
274
- }
275
- }
276
- export class NoDataRetentionException extends __BaseException {
277
- name = "NoDataRetentionException";
278
- $fault = "client";
279
- Message;
280
- constructor(opts) {
281
- super({
282
- name: "NoDataRetentionException",
283
- $fault: "client",
284
- ...opts,
285
- });
286
- Object.setPrototypeOf(this, NoDataRetentionException.prototype);
287
- this.Message = opts.Message;
288
- }
289
- }
290
- export const UpdateDataRetentionOperation = {
291
- DECREASE_DATA_RETENTION: "DECREASE_DATA_RETENTION",
292
- INCREASE_DATA_RETENTION: "INCREASE_DATA_RETENTION",
293
- };
1
+ export {};
@@ -203,7 +203,7 @@ const _hE = "httpError";
203
203
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.kinesisvideo";
204
204
  const n0 = "com.amazonaws.kinesisvideo";
205
205
  import { TypeRegistry } from "@smithy/core/schema";
206
- import { AccessDeniedException as __AccessDeniedException, AccountChannelLimitExceededException as __AccountChannelLimitExceededException, AccountStreamLimitExceededException as __AccountStreamLimitExceededException, ClientLimitExceededException as __ClientLimitExceededException, DeviceStreamLimitExceededException as __DeviceStreamLimitExceededException, InvalidArgumentException as __InvalidArgumentException, InvalidDeviceException as __InvalidDeviceException, InvalidResourceFormatException as __InvalidResourceFormatException, NoDataRetentionException as __NoDataRetentionException, NotAuthorizedException as __NotAuthorizedException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, StreamEdgeConfigurationNotFoundException as __StreamEdgeConfigurationNotFoundException, TagsPerResourceExceededLimitException as __TagsPerResourceExceededLimitException, VersionMismatchException as __VersionMismatchException, } from "../models/index";
206
+ import { AccessDeniedException as __AccessDeniedException, AccountChannelLimitExceededException as __AccountChannelLimitExceededException, AccountStreamLimitExceededException as __AccountStreamLimitExceededException, ClientLimitExceededException as __ClientLimitExceededException, DeviceStreamLimitExceededException as __DeviceStreamLimitExceededException, InvalidArgumentException as __InvalidArgumentException, InvalidDeviceException as __InvalidDeviceException, InvalidResourceFormatException as __InvalidResourceFormatException, NoDataRetentionException as __NoDataRetentionException, NotAuthorizedException as __NotAuthorizedException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, StreamEdgeConfigurationNotFoundException as __StreamEdgeConfigurationNotFoundException, TagsPerResourceExceededLimitException as __TagsPerResourceExceededLimitException, VersionMismatchException as __VersionMismatchException, } from "../models/errors";
207
207
  import { KinesisVideoServiceException as __KinesisVideoServiceException } from "../models/KinesisVideoServiceException";
208
208
  export var MediaUriSecretArn = [0, n0, _MUSA, 8, 0];
209
209
  export var AccessDeniedException = [
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { KinesisVideoExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/enums";
14
+ export * from "./models/errors";
15
+ export type * from "./models/models_0";
14
16
  export { KinesisVideoServiceException } from "./models/KinesisVideoServiceException";
@@ -0,0 +1,218 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const APIName: {
6
+ readonly GET_CLIP: "GET_CLIP";
7
+ readonly GET_DASH_STREAMING_SESSION_URL: "GET_DASH_STREAMING_SESSION_URL";
8
+ readonly GET_HLS_STREAMING_SESSION_URL: "GET_HLS_STREAMING_SESSION_URL";
9
+ readonly GET_IMAGES: "GET_IMAGES";
10
+ readonly GET_MEDIA: "GET_MEDIA";
11
+ readonly GET_MEDIA_FOR_FRAGMENT_LIST: "GET_MEDIA_FOR_FRAGMENT_LIST";
12
+ readonly LIST_FRAGMENTS: "LIST_FRAGMENTS";
13
+ readonly PUT_MEDIA: "PUT_MEDIA";
14
+ };
15
+ /**
16
+ * @public
17
+ */
18
+ export type APIName = (typeof APIName)[keyof typeof APIName];
19
+ /**
20
+ * @public
21
+ * @enum
22
+ */
23
+ export declare const Status: {
24
+ readonly ACTIVE: "ACTIVE";
25
+ readonly CREATING: "CREATING";
26
+ readonly DELETING: "DELETING";
27
+ readonly UPDATING: "UPDATING";
28
+ };
29
+ /**
30
+ * @public
31
+ */
32
+ export type Status = (typeof Status)[keyof typeof Status];
33
+ /**
34
+ * @public
35
+ * @enum
36
+ */
37
+ export declare const ChannelType: {
38
+ readonly FULL_MESH: "FULL_MESH";
39
+ readonly SINGLE_MASTER: "SINGLE_MASTER";
40
+ };
41
+ /**
42
+ * @public
43
+ */
44
+ export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
45
+ /**
46
+ * @public
47
+ * @enum
48
+ */
49
+ export declare const ComparisonOperator: {
50
+ readonly BEGINS_WITH: "BEGINS_WITH";
51
+ };
52
+ /**
53
+ * @public
54
+ */
55
+ export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
56
+ /**
57
+ * @public
58
+ * @enum
59
+ */
60
+ export declare const ChannelProtocol: {
61
+ readonly HTTPS: "HTTPS";
62
+ readonly WEBRTC: "WEBRTC";
63
+ readonly WSS: "WSS";
64
+ };
65
+ /**
66
+ * @public
67
+ */
68
+ export type ChannelProtocol = (typeof ChannelProtocol)[keyof typeof ChannelProtocol];
69
+ /**
70
+ * @public
71
+ * @enum
72
+ */
73
+ export declare const ChannelRole: {
74
+ readonly MASTER: "MASTER";
75
+ readonly VIEWER: "VIEWER";
76
+ };
77
+ /**
78
+ * @public
79
+ */
80
+ export type ChannelRole = (typeof ChannelRole)[keyof typeof ChannelRole];
81
+ /**
82
+ * @public
83
+ * @enum
84
+ */
85
+ export declare const ConfigurationStatus: {
86
+ readonly DISABLED: "DISABLED";
87
+ readonly ENABLED: "ENABLED";
88
+ };
89
+ /**
90
+ * @public
91
+ */
92
+ export type ConfigurationStatus = (typeof ConfigurationStatus)[keyof typeof ConfigurationStatus];
93
+ /**
94
+ * @public
95
+ * @enum
96
+ */
97
+ export declare const StrategyOnFullSize: {
98
+ readonly DELETE_OLDEST_MEDIA: "DELETE_OLDEST_MEDIA";
99
+ readonly DENY_NEW_MEDIA: "DENY_NEW_MEDIA";
100
+ };
101
+ /**
102
+ * @public
103
+ */
104
+ export type StrategyOnFullSize = (typeof StrategyOnFullSize)[keyof typeof StrategyOnFullSize];
105
+ /**
106
+ * @public
107
+ * @enum
108
+ */
109
+ export declare const RecorderStatus: {
110
+ readonly SUCCESS: "SUCCESS";
111
+ readonly SYSTEM_ERROR: "SYSTEM_ERROR";
112
+ readonly USER_ERROR: "USER_ERROR";
113
+ };
114
+ /**
115
+ * @public
116
+ */
117
+ export type RecorderStatus = (typeof RecorderStatus)[keyof typeof RecorderStatus];
118
+ /**
119
+ * @public
120
+ * @enum
121
+ */
122
+ export declare const UploaderStatus: {
123
+ readonly SUCCESS: "SUCCESS";
124
+ readonly SYSTEM_ERROR: "SYSTEM_ERROR";
125
+ readonly USER_ERROR: "USER_ERROR";
126
+ };
127
+ /**
128
+ * @public
129
+ */
130
+ export type UploaderStatus = (typeof UploaderStatus)[keyof typeof UploaderStatus];
131
+ /**
132
+ * @public
133
+ * @enum
134
+ */
135
+ export declare const MediaUriType: {
136
+ readonly FILE_URI: "FILE_URI";
137
+ readonly RTSP_URI: "RTSP_URI";
138
+ };
139
+ /**
140
+ * @public
141
+ */
142
+ export type MediaUriType = (typeof MediaUriType)[keyof typeof MediaUriType];
143
+ /**
144
+ * @public
145
+ * @enum
146
+ */
147
+ export declare const SyncStatus: {
148
+ readonly ACKNOWLEDGED: "ACKNOWLEDGED";
149
+ readonly DELETE_FAILED: "DELETE_FAILED";
150
+ readonly DELETING: "DELETING";
151
+ readonly DELETING_ACKNOWLEDGED: "DELETING_ACKNOWLEDGED";
152
+ readonly IN_SYNC: "IN_SYNC";
153
+ readonly SYNCING: "SYNCING";
154
+ readonly SYNC_FAILED: "SYNC_FAILED";
155
+ };
156
+ /**
157
+ * @public
158
+ */
159
+ export type SyncStatus = (typeof SyncStatus)[keyof typeof SyncStatus];
160
+ /**
161
+ * @public
162
+ * @enum
163
+ */
164
+ export declare const Format: {
165
+ readonly JPEG: "JPEG";
166
+ readonly PNG: "PNG";
167
+ };
168
+ /**
169
+ * @public
170
+ */
171
+ export type Format = (typeof Format)[keyof typeof Format];
172
+ /**
173
+ * @public
174
+ * @enum
175
+ */
176
+ export declare const FormatConfigKey: {
177
+ readonly JPEGQuality: "JPEGQuality";
178
+ };
179
+ /**
180
+ * @public
181
+ */
182
+ export type FormatConfigKey = (typeof FormatConfigKey)[keyof typeof FormatConfigKey];
183
+ /**
184
+ * @public
185
+ * @enum
186
+ */
187
+ export declare const ImageSelectorType: {
188
+ readonly PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP";
189
+ readonly SERVER_TIMESTAMP: "SERVER_TIMESTAMP";
190
+ };
191
+ /**
192
+ * @public
193
+ */
194
+ export type ImageSelectorType = (typeof ImageSelectorType)[keyof typeof ImageSelectorType];
195
+ /**
196
+ * @public
197
+ * @enum
198
+ */
199
+ export declare const MediaStorageConfigurationStatus: {
200
+ readonly DISABLED: "DISABLED";
201
+ readonly ENABLED: "ENABLED";
202
+ };
203
+ /**
204
+ * @public
205
+ */
206
+ export type MediaStorageConfigurationStatus = (typeof MediaStorageConfigurationStatus)[keyof typeof MediaStorageConfigurationStatus];
207
+ /**
208
+ * @public
209
+ * @enum
210
+ */
211
+ export declare const UpdateDataRetentionOperation: {
212
+ readonly DECREASE_DATA_RETENTION: "DECREASE_DATA_RETENTION";
213
+ readonly INCREASE_DATA_RETENTION: "INCREASE_DATA_RETENTION";
214
+ };
215
+ /**
216
+ * @public
217
+ */
218
+ export type UpdateDataRetentionOperation = (typeof UpdateDataRetentionOperation)[keyof typeof UpdateDataRetentionOperation];