@aws-sdk/client-ivs-realtime 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,218 +1,3 @@
1
- import { IVSRealTimeServiceException as __BaseException } from "./IVSRealTimeServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- accessControlAllowOrigin;
6
- accessControlExposeHeaders;
7
- cacheControl;
8
- contentSecurityPolicy;
9
- strictTransportSecurity;
10
- xContentTypeOptions;
11
- xFrameOptions;
12
- xAmznErrorType;
13
- exceptionMessage;
14
- constructor(opts) {
15
- super({
16
- name: "AccessDeniedException",
17
- $fault: "client",
18
- ...opts,
19
- });
20
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
21
- this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
22
- this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
23
- this.cacheControl = opts.cacheControl;
24
- this.contentSecurityPolicy = opts.contentSecurityPolicy;
25
- this.strictTransportSecurity = opts.strictTransportSecurity;
26
- this.xContentTypeOptions = opts.xContentTypeOptions;
27
- this.xFrameOptions = opts.xFrameOptions;
28
- this.xAmznErrorType = opts.xAmznErrorType;
29
- this.exceptionMessage = opts.exceptionMessage;
30
- }
31
- }
32
- export class ConflictException extends __BaseException {
33
- name = "ConflictException";
34
- $fault = "client";
35
- accessControlAllowOrigin;
36
- accessControlExposeHeaders;
37
- cacheControl;
38
- contentSecurityPolicy;
39
- strictTransportSecurity;
40
- xContentTypeOptions;
41
- xFrameOptions;
42
- xAmznErrorType;
43
- exceptionMessage;
44
- constructor(opts) {
45
- super({
46
- name: "ConflictException",
47
- $fault: "client",
48
- ...opts,
49
- });
50
- Object.setPrototypeOf(this, ConflictException.prototype);
51
- this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
52
- this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
53
- this.cacheControl = opts.cacheControl;
54
- this.contentSecurityPolicy = opts.contentSecurityPolicy;
55
- this.strictTransportSecurity = opts.strictTransportSecurity;
56
- this.xContentTypeOptions = opts.xContentTypeOptions;
57
- this.xFrameOptions = opts.xFrameOptions;
58
- this.xAmznErrorType = opts.xAmznErrorType;
59
- this.exceptionMessage = opts.exceptionMessage;
60
- }
61
- }
62
- export class InternalServerException extends __BaseException {
63
- name = "InternalServerException";
64
- $fault = "server";
65
- accessControlAllowOrigin;
66
- accessControlExposeHeaders;
67
- cacheControl;
68
- contentSecurityPolicy;
69
- strictTransportSecurity;
70
- xContentTypeOptions;
71
- xFrameOptions;
72
- xAmznErrorType;
73
- exceptionMessage;
74
- constructor(opts) {
75
- super({
76
- name: "InternalServerException",
77
- $fault: "server",
78
- ...opts,
79
- });
80
- Object.setPrototypeOf(this, InternalServerException.prototype);
81
- this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
82
- this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
83
- this.cacheControl = opts.cacheControl;
84
- this.contentSecurityPolicy = opts.contentSecurityPolicy;
85
- this.strictTransportSecurity = opts.strictTransportSecurity;
86
- this.xContentTypeOptions = opts.xContentTypeOptions;
87
- this.xFrameOptions = opts.xFrameOptions;
88
- this.xAmznErrorType = opts.xAmznErrorType;
89
- this.exceptionMessage = opts.exceptionMessage;
90
- }
91
- }
92
- export class PendingVerification extends __BaseException {
93
- name = "PendingVerification";
94
- $fault = "client";
95
- accessControlAllowOrigin;
96
- accessControlExposeHeaders;
97
- cacheControl;
98
- contentSecurityPolicy;
99
- strictTransportSecurity;
100
- xContentTypeOptions;
101
- xFrameOptions;
102
- xAmznErrorType;
103
- exceptionMessage;
104
- constructor(opts) {
105
- super({
106
- name: "PendingVerification",
107
- $fault: "client",
108
- ...opts,
109
- });
110
- Object.setPrototypeOf(this, PendingVerification.prototype);
111
- this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
112
- this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
113
- this.cacheControl = opts.cacheControl;
114
- this.contentSecurityPolicy = opts.contentSecurityPolicy;
115
- this.strictTransportSecurity = opts.strictTransportSecurity;
116
- this.xContentTypeOptions = opts.xContentTypeOptions;
117
- this.xFrameOptions = opts.xFrameOptions;
118
- this.xAmznErrorType = opts.xAmznErrorType;
119
- this.exceptionMessage = opts.exceptionMessage;
120
- }
121
- }
122
- export class ResourceNotFoundException extends __BaseException {
123
- name = "ResourceNotFoundException";
124
- $fault = "client";
125
- accessControlAllowOrigin;
126
- accessControlExposeHeaders;
127
- cacheControl;
128
- contentSecurityPolicy;
129
- strictTransportSecurity;
130
- xContentTypeOptions;
131
- xFrameOptions;
132
- xAmznErrorType;
133
- exceptionMessage;
134
- constructor(opts) {
135
- super({
136
- name: "ResourceNotFoundException",
137
- $fault: "client",
138
- ...opts,
139
- });
140
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
141
- this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
142
- this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
143
- this.cacheControl = opts.cacheControl;
144
- this.contentSecurityPolicy = opts.contentSecurityPolicy;
145
- this.strictTransportSecurity = opts.strictTransportSecurity;
146
- this.xContentTypeOptions = opts.xContentTypeOptions;
147
- this.xFrameOptions = opts.xFrameOptions;
148
- this.xAmznErrorType = opts.xAmznErrorType;
149
- this.exceptionMessage = opts.exceptionMessage;
150
- }
151
- }
152
- export class ServiceQuotaExceededException extends __BaseException {
153
- name = "ServiceQuotaExceededException";
154
- $fault = "client";
155
- accessControlAllowOrigin;
156
- accessControlExposeHeaders;
157
- cacheControl;
158
- contentSecurityPolicy;
159
- strictTransportSecurity;
160
- xContentTypeOptions;
161
- xFrameOptions;
162
- xAmznErrorType;
163
- exceptionMessage;
164
- constructor(opts) {
165
- super({
166
- name: "ServiceQuotaExceededException",
167
- $fault: "client",
168
- ...opts,
169
- });
170
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
171
- this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
172
- this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
173
- this.cacheControl = opts.cacheControl;
174
- this.contentSecurityPolicy = opts.contentSecurityPolicy;
175
- this.strictTransportSecurity = opts.strictTransportSecurity;
176
- this.xContentTypeOptions = opts.xContentTypeOptions;
177
- this.xFrameOptions = opts.xFrameOptions;
178
- this.xAmznErrorType = opts.xAmznErrorType;
179
- this.exceptionMessage = opts.exceptionMessage;
180
- }
181
- }
182
- export class ValidationException extends __BaseException {
183
- name = "ValidationException";
184
- $fault = "client";
185
- accessControlAllowOrigin;
186
- accessControlExposeHeaders;
187
- cacheControl;
188
- contentSecurityPolicy;
189
- strictTransportSecurity;
190
- xContentTypeOptions;
191
- xFrameOptions;
192
- xAmznErrorType;
193
- exceptionMessage;
194
- constructor(opts) {
195
- super({
196
- name: "ValidationException",
197
- $fault: "client",
198
- ...opts,
199
- });
200
- Object.setPrototypeOf(this, ValidationException.prototype);
201
- this.accessControlAllowOrigin = opts.accessControlAllowOrigin;
202
- this.accessControlExposeHeaders = opts.accessControlExposeHeaders;
203
- this.cacheControl = opts.cacheControl;
204
- this.contentSecurityPolicy = opts.contentSecurityPolicy;
205
- this.strictTransportSecurity = opts.strictTransportSecurity;
206
- this.xContentTypeOptions = opts.xContentTypeOptions;
207
- this.xFrameOptions = opts.xFrameOptions;
208
- this.xAmznErrorType = opts.xAmznErrorType;
209
- this.exceptionMessage = opts.exceptionMessage;
210
- }
211
- }
212
- export const IngestProtocol = {
213
- RTMP: "RTMP",
214
- RTMPS: "RTMPS",
215
- };
216
1
  export const IngestConfigurationState = {
217
2
  ACTIVE: "ACTIVE",
218
3
  INACTIVE: "INACTIVE",
@@ -221,19 +6,6 @@ export const ParticipantTokenCapability = {
221
6
  PUBLISH: "PUBLISH",
222
7
  SUBSCRIBE: "SUBSCRIBE",
223
8
  };
224
- export const ParticipantRecordingMediaType = {
225
- AUDIO_ONLY: "AUDIO_ONLY",
226
- AUDIO_VIDEO: "AUDIO_VIDEO",
227
- NONE: "NONE",
228
- };
229
- export const ThumbnailRecordingMode = {
230
- DISABLED: "DISABLED",
231
- INTERVAL: "INTERVAL",
232
- };
233
- export const ThumbnailStorageType = {
234
- LATEST: "LATEST",
235
- SEQUENTIAL: "SEQUENTIAL",
236
- };
237
9
  export const RecordingConfigurationFormat = {
238
10
  HLS: "HLS",
239
11
  };
@@ -245,27 +17,6 @@ export const DestinationState = {
245
17
  STOPPED: "STOPPED",
246
18
  STOPPING: "STOPPING",
247
19
  };
248
- export const VideoAspectRatio = {
249
- AUTO: "AUTO",
250
- PORTRAIT: "PORTRAIT",
251
- SQUARE: "SQUARE",
252
- VIDEO: "VIDEO",
253
- };
254
- export const VideoFillMode = {
255
- CONTAIN: "CONTAIN",
256
- COVER: "COVER",
257
- FILL: "FILL",
258
- };
259
- export const PipBehavior = {
260
- DYNAMIC: "DYNAMIC",
261
- STATIC: "STATIC",
262
- };
263
- export const PipPosition = {
264
- BOTTOM_LEFT: "BOTTOM_LEFT",
265
- BOTTOM_RIGHT: "BOTTOM_RIGHT",
266
- TOP_LEFT: "TOP_LEFT",
267
- TOP_RIGHT: "TOP_RIGHT",
268
- };
269
20
  export const CompositionState = {
270
21
  ACTIVE: "ACTIVE",
271
22
  FAILED: "FAILED",
@@ -273,12 +24,6 @@ export const CompositionState = {
273
24
  STOPPED: "STOPPED",
274
25
  STOPPING: "STOPPING",
275
26
  };
276
- export const ParticipantProtocol = {
277
- RTMP: "RTMP",
278
- RTMPS: "RTMPS",
279
- UNKNOWN: "UNKNOWN",
280
- WHIP: "WHIP",
281
- };
282
27
  export const ParticipantRecordingState = {
283
28
  ACTIVE: "ACTIVE",
284
29
  DISABLED: "DISABLED",
@@ -300,22 +45,6 @@ export const ParticipantState = {
300
45
  CONNECTED: "CONNECTED",
301
46
  DISCONNECTED: "DISCONNECTED",
302
47
  };
303
- export const EventErrorCode = {
304
- BITRATE_EXCEEDED: "BITRATE_EXCEEDED",
305
- B_FRAME_PRESENT: "B_FRAME_PRESENT",
306
- INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES",
307
- INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION",
308
- INVALID_AUDIO_CODEC: "INVALID_AUDIO_CODEC",
309
- INVALID_INPUT: "INVALID_INPUT",
310
- INVALID_PROTOCOL: "INVALID_PROTOCOL",
311
- INVALID_STREAM_KEY: "INVALID_STREAM_KEY",
312
- INVALID_VIDEO_CODEC: "INVALID_VIDEO_CODEC",
313
- PUBLISHER_NOT_FOUND: "PUBLISHER_NOT_FOUND",
314
- QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
315
- RESOLUTION_EXCEEDED: "RESOLUTION_EXCEEDED",
316
- REUSE_OF_STREAM_KEY: "REUSE_OF_STREAM_KEY",
317
- STREAM_DURATION_EXCEEDED: "STREAM_DURATION_EXCEEDED",
318
- };
319
48
  export const EventName = {
320
49
  JOINED: "JOINED",
321
50
  JOIN_ERROR: "JOIN_ERROR",
@@ -333,7 +333,7 @@ const _xFO = "xFrameOptions";
333
333
  const _xaE = "x-amzn-ErrorType";
334
334
  const n0 = "com.amazonaws.ivsrealtime";
335
335
  import { TypeRegistry } from "@smithy/core/schema";
336
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, PendingVerification as __PendingVerification, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/index";
336
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, PendingVerification as __PendingVerification, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
337
337
  import { IVSRealTimeServiceException as __IVSRealTimeServiceException } from "../models/IVSRealTimeServiceException";
338
338
  export var ParticipantTokenString = [0, n0, _PTS, 8, 0];
339
339
  export var StreamKey = [0, n0, _SK, 8, 0];
@@ -87,5 +87,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
87
87
  export type { IVSRealTimeExtensionConfiguration } from "./extensionConfiguration";
88
88
  export * from "./commands";
89
89
  export * from "./pagination";
90
- export * from "./models";
90
+ export * from "./models/enums";
91
+ export * from "./models/errors";
92
+ export type * from "./models/models_0";
91
93
  export { IVSRealTimeServiceException } from "./models/IVSRealTimeServiceException";
@@ -0,0 +1,140 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const IngestProtocol: {
6
+ readonly RTMP: "RTMP";
7
+ readonly RTMPS: "RTMPS";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type IngestProtocol = (typeof IngestProtocol)[keyof typeof IngestProtocol];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const ParticipantRecordingMediaType: {
18
+ readonly AUDIO_ONLY: "AUDIO_ONLY";
19
+ readonly AUDIO_VIDEO: "AUDIO_VIDEO";
20
+ readonly NONE: "NONE";
21
+ };
22
+ /**
23
+ * @public
24
+ */
25
+ export type ParticipantRecordingMediaType = (typeof ParticipantRecordingMediaType)[keyof typeof ParticipantRecordingMediaType];
26
+ /**
27
+ * @public
28
+ * @enum
29
+ */
30
+ export declare const ThumbnailRecordingMode: {
31
+ readonly DISABLED: "DISABLED";
32
+ readonly INTERVAL: "INTERVAL";
33
+ };
34
+ /**
35
+ * @public
36
+ */
37
+ export type ThumbnailRecordingMode = (typeof ThumbnailRecordingMode)[keyof typeof ThumbnailRecordingMode];
38
+ /**
39
+ * @public
40
+ * @enum
41
+ */
42
+ export declare const ThumbnailStorageType: {
43
+ readonly LATEST: "LATEST";
44
+ readonly SEQUENTIAL: "SEQUENTIAL";
45
+ };
46
+ /**
47
+ * @public
48
+ */
49
+ export type ThumbnailStorageType = (typeof ThumbnailStorageType)[keyof typeof ThumbnailStorageType];
50
+ /**
51
+ * @public
52
+ * @enum
53
+ */
54
+ export declare const VideoAspectRatio: {
55
+ readonly AUTO: "AUTO";
56
+ readonly PORTRAIT: "PORTRAIT";
57
+ readonly SQUARE: "SQUARE";
58
+ readonly VIDEO: "VIDEO";
59
+ };
60
+ /**
61
+ * @public
62
+ */
63
+ export type VideoAspectRatio = (typeof VideoAspectRatio)[keyof typeof VideoAspectRatio];
64
+ /**
65
+ * @public
66
+ * @enum
67
+ */
68
+ export declare const VideoFillMode: {
69
+ readonly CONTAIN: "CONTAIN";
70
+ readonly COVER: "COVER";
71
+ readonly FILL: "FILL";
72
+ };
73
+ /**
74
+ * @public
75
+ */
76
+ export type VideoFillMode = (typeof VideoFillMode)[keyof typeof VideoFillMode];
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const PipBehavior: {
82
+ readonly DYNAMIC: "DYNAMIC";
83
+ readonly STATIC: "STATIC";
84
+ };
85
+ /**
86
+ * @public
87
+ */
88
+ export type PipBehavior = (typeof PipBehavior)[keyof typeof PipBehavior];
89
+ /**
90
+ * @public
91
+ * @enum
92
+ */
93
+ export declare const PipPosition: {
94
+ readonly BOTTOM_LEFT: "BOTTOM_LEFT";
95
+ readonly BOTTOM_RIGHT: "BOTTOM_RIGHT";
96
+ readonly TOP_LEFT: "TOP_LEFT";
97
+ readonly TOP_RIGHT: "TOP_RIGHT";
98
+ };
99
+ /**
100
+ * @public
101
+ */
102
+ export type PipPosition = (typeof PipPosition)[keyof typeof PipPosition];
103
+ /**
104
+ * @public
105
+ * @enum
106
+ */
107
+ export declare const ParticipantProtocol: {
108
+ readonly RTMP: "RTMP";
109
+ readonly RTMPS: "RTMPS";
110
+ readonly UNKNOWN: "UNKNOWN";
111
+ readonly WHIP: "WHIP";
112
+ };
113
+ /**
114
+ * @public
115
+ */
116
+ export type ParticipantProtocol = (typeof ParticipantProtocol)[keyof typeof ParticipantProtocol];
117
+ /**
118
+ * @public
119
+ * @enum
120
+ */
121
+ export declare const EventErrorCode: {
122
+ readonly BITRATE_EXCEEDED: "BITRATE_EXCEEDED";
123
+ readonly B_FRAME_PRESENT: "B_FRAME_PRESENT";
124
+ readonly INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES";
125
+ readonly INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION";
126
+ readonly INVALID_AUDIO_CODEC: "INVALID_AUDIO_CODEC";
127
+ readonly INVALID_INPUT: "INVALID_INPUT";
128
+ readonly INVALID_PROTOCOL: "INVALID_PROTOCOL";
129
+ readonly INVALID_STREAM_KEY: "INVALID_STREAM_KEY";
130
+ readonly INVALID_VIDEO_CODEC: "INVALID_VIDEO_CODEC";
131
+ readonly PUBLISHER_NOT_FOUND: "PUBLISHER_NOT_FOUND";
132
+ readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
133
+ readonly RESOLUTION_EXCEEDED: "RESOLUTION_EXCEEDED";
134
+ readonly REUSE_OF_STREAM_KEY: "REUSE_OF_STREAM_KEY";
135
+ readonly STREAM_DURATION_EXCEEDED: "STREAM_DURATION_EXCEEDED";
136
+ };
137
+ /**
138
+ * @public
139
+ */
140
+ export type EventErrorCode = (typeof EventErrorCode)[keyof typeof EventErrorCode];