@aws-sdk/client-kinesis-video-signaling 3.50.0 → 3.53.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.
Files changed (28) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/KinesisVideoSignalingServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +84 -1
  5. package/dist-cjs/protocols/Aws_restJson1.js +60 -124
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/KinesisVideoSignalingServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +78 -1
  9. package/dist-es/protocols/Aws_restJson1.js +75 -139
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/KinesisVideoSignalingServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +44 -21
  13. package/dist-types/ts3.4/KinesisVideoSignaling.d.ts +15 -0
  14. package/dist-types/ts3.4/KinesisVideoSignalingClient.d.ts +75 -0
  15. package/dist-types/ts3.4/commands/GetIceServerConfigCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/SendAlexaOfferToMasterCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  18. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  19. package/dist-types/ts3.4/index.d.ts +5 -0
  20. package/dist-types/ts3.4/models/KinesisVideoSignalingServiceException.d.ts +6 -0
  21. package/dist-types/ts3.4/models/index.d.ts +1 -0
  22. package/dist-types/ts3.4/models/models_0.d.ts +108 -0
  23. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +8 -0
  24. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  25. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  26. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  27. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  28. package/package.json +33 -33
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-kinesis-video-signaling
20
+
21
+
22
+
23
+
24
+
25
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-kinesis-video-signaling
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-kinesis-video-signaling
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KinesisVideoSignalingServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./KinesisVideoSignaling"), exports);
5
6
  tslib_1.__exportStar(require("./KinesisVideoSignalingClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
9
+ var KinesisVideoSignalingServiceException_1 = require("./models/KinesisVideoSignalingServiceException");
10
+ Object.defineProperty(exports, "KinesisVideoSignalingServiceException", { enumerable: true, get: function () { return KinesisVideoSignalingServiceException_1.KinesisVideoSignalingServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KinesisVideoSignalingServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class KinesisVideoSignalingServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, KinesisVideoSignalingServiceException.prototype);
9
+ }
10
+ }
11
+ exports.KinesisVideoSignalingServiceException = KinesisVideoSignalingServiceException;
@@ -1,6 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SendAlexaOfferToMasterResponse = exports.SendAlexaOfferToMasterRequest = exports.GetIceServerConfigResponse = exports.IceServer = exports.GetIceServerConfigRequest = exports.Service = void 0;
3
+ exports.SendAlexaOfferToMasterResponse = exports.SendAlexaOfferToMasterRequest = exports.SessionExpiredException = exports.ResourceNotFoundException = exports.NotAuthorizedException = exports.InvalidClientException = exports.InvalidArgumentException = exports.GetIceServerConfigResponse = exports.IceServer = exports.GetIceServerConfigRequest = exports.Service = exports.ClientLimitExceededException = void 0;
4
+ const KinesisVideoSignalingServiceException_1 = require("./KinesisVideoSignalingServiceException");
5
+ class ClientLimitExceededException extends KinesisVideoSignalingServiceException_1.KinesisVideoSignalingServiceException {
6
+ constructor(opts) {
7
+ super({
8
+ name: "ClientLimitExceededException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ this.name = "ClientLimitExceededException";
13
+ this.$fault = "client";
14
+ Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
15
+ this.Message = opts.Message;
16
+ }
17
+ }
18
+ exports.ClientLimitExceededException = ClientLimitExceededException;
4
19
  var Service;
5
20
  (function (Service) {
6
21
  Service["TURN"] = "TURN";
@@ -23,6 +38,74 @@ var GetIceServerConfigResponse;
23
38
  ...obj,
24
39
  });
25
40
  })(GetIceServerConfigResponse = exports.GetIceServerConfigResponse || (exports.GetIceServerConfigResponse = {}));
41
+ class InvalidArgumentException extends KinesisVideoSignalingServiceException_1.KinesisVideoSignalingServiceException {
42
+ constructor(opts) {
43
+ super({
44
+ name: "InvalidArgumentException",
45
+ $fault: "client",
46
+ ...opts,
47
+ });
48
+ this.name = "InvalidArgumentException";
49
+ this.$fault = "client";
50
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
51
+ this.Message = opts.Message;
52
+ }
53
+ }
54
+ exports.InvalidArgumentException = InvalidArgumentException;
55
+ class InvalidClientException extends KinesisVideoSignalingServiceException_1.KinesisVideoSignalingServiceException {
56
+ constructor(opts) {
57
+ super({
58
+ name: "InvalidClientException",
59
+ $fault: "client",
60
+ ...opts,
61
+ });
62
+ this.name = "InvalidClientException";
63
+ this.$fault = "client";
64
+ Object.setPrototypeOf(this, InvalidClientException.prototype);
65
+ }
66
+ }
67
+ exports.InvalidClientException = InvalidClientException;
68
+ class NotAuthorizedException extends KinesisVideoSignalingServiceException_1.KinesisVideoSignalingServiceException {
69
+ constructor(opts) {
70
+ super({
71
+ name: "NotAuthorizedException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ this.name = "NotAuthorizedException";
76
+ this.$fault = "client";
77
+ Object.setPrototypeOf(this, NotAuthorizedException.prototype);
78
+ this.Message = opts.Message;
79
+ }
80
+ }
81
+ exports.NotAuthorizedException = NotAuthorizedException;
82
+ class ResourceNotFoundException extends KinesisVideoSignalingServiceException_1.KinesisVideoSignalingServiceException {
83
+ constructor(opts) {
84
+ super({
85
+ name: "ResourceNotFoundException",
86
+ $fault: "client",
87
+ ...opts,
88
+ });
89
+ this.name = "ResourceNotFoundException";
90
+ this.$fault = "client";
91
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
92
+ this.Message = opts.Message;
93
+ }
94
+ }
95
+ exports.ResourceNotFoundException = ResourceNotFoundException;
96
+ class SessionExpiredException extends KinesisVideoSignalingServiceException_1.KinesisVideoSignalingServiceException {
97
+ constructor(opts) {
98
+ super({
99
+ name: "SessionExpiredException",
100
+ $fault: "client",
101
+ ...opts,
102
+ });
103
+ this.name = "SessionExpiredException";
104
+ this.$fault = "client";
105
+ Object.setPrototypeOf(this, SessionExpiredException.prototype);
106
+ }
107
+ }
108
+ exports.SessionExpiredException = SessionExpiredException;
26
109
  var SendAlexaOfferToMasterRequest;
27
110
  (function (SendAlexaOfferToMasterRequest) {
28
111
  SendAlexaOfferToMasterRequest.filterSensitiveLog = (obj) => ({
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.deserializeAws_restJson1SendAlexaOfferToMasterCommand = exports.deserializeAws_restJson1GetIceServerConfigCommand = exports.serializeAws_restJson1SendAlexaOfferToMasterCommand = exports.serializeAws_restJson1GetIceServerConfigCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const KinesisVideoSignalingServiceException_1 = require("../models/KinesisVideoSignalingServiceException");
7
+ const models_0_1 = require("../models/models_0");
6
8
  const serializeAws_restJson1GetIceServerConfigCommand = async (input, context) => {
7
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
8
10
  const headers = {
@@ -78,67 +80,31 @@ const deserializeAws_restJson1GetIceServerConfigCommandError = async (output, co
78
80
  switch (errorCode) {
79
81
  case "ClientLimitExceededException":
80
82
  case "com.amazonaws.kinesisvideosignaling#ClientLimitExceededException":
81
- response = {
82
- ...(await deserializeAws_restJson1ClientLimitExceededExceptionResponse(parsedOutput, context)),
83
- name: errorCode,
84
- $metadata: deserializeMetadata(output),
85
- };
86
- break;
83
+ throw await deserializeAws_restJson1ClientLimitExceededExceptionResponse(parsedOutput, context);
87
84
  case "InvalidArgumentException":
88
85
  case "com.amazonaws.kinesisvideosignaling#InvalidArgumentException":
89
- response = {
90
- ...(await deserializeAws_restJson1InvalidArgumentExceptionResponse(parsedOutput, context)),
91
- name: errorCode,
92
- $metadata: deserializeMetadata(output),
93
- };
94
- break;
86
+ throw await deserializeAws_restJson1InvalidArgumentExceptionResponse(parsedOutput, context);
95
87
  case "InvalidClientException":
96
88
  case "com.amazonaws.kinesisvideosignaling#InvalidClientException":
97
- response = {
98
- ...(await deserializeAws_restJson1InvalidClientExceptionResponse(parsedOutput, context)),
99
- name: errorCode,
100
- $metadata: deserializeMetadata(output),
101
- };
102
- break;
89
+ throw await deserializeAws_restJson1InvalidClientExceptionResponse(parsedOutput, context);
103
90
  case "NotAuthorizedException":
104
91
  case "com.amazonaws.kinesisvideosignaling#NotAuthorizedException":
105
- response = {
106
- ...(await deserializeAws_restJson1NotAuthorizedExceptionResponse(parsedOutput, context)),
107
- name: errorCode,
108
- $metadata: deserializeMetadata(output),
109
- };
110
- break;
92
+ throw await deserializeAws_restJson1NotAuthorizedExceptionResponse(parsedOutput, context);
111
93
  case "ResourceNotFoundException":
112
94
  case "com.amazonaws.kinesisvideosignaling#ResourceNotFoundException":
113
- response = {
114
- ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
115
- name: errorCode,
116
- $metadata: deserializeMetadata(output),
117
- };
118
- break;
95
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
119
96
  case "SessionExpiredException":
120
97
  case "com.amazonaws.kinesisvideosignaling#SessionExpiredException":
121
- response = {
122
- ...(await deserializeAws_restJson1SessionExpiredExceptionResponse(parsedOutput, context)),
123
- name: errorCode,
124
- $metadata: deserializeMetadata(output),
125
- };
126
- break;
98
+ throw await deserializeAws_restJson1SessionExpiredExceptionResponse(parsedOutput, context);
127
99
  default:
128
100
  const parsedBody = parsedOutput.body;
129
- errorCode = parsedBody.code || parsedBody.Code || errorCode;
130
- response = {
131
- ...parsedBody,
132
- name: `${errorCode}`,
133
- message: parsedBody.message || parsedBody.Message || errorCode,
101
+ response = new KinesisVideoSignalingServiceException_1.KinesisVideoSignalingServiceException({
102
+ name: parsedBody.code || parsedBody.Code || errorCode,
134
103
  $fault: "client",
135
104
  $metadata: deserializeMetadata(output),
136
- };
105
+ });
106
+ throw smithy_client_1.decorateServiceException(response, parsedBody);
137
107
  }
138
- const message = response.message || response.Message || errorCode;
139
- response.message = message;
140
- delete response.Message;
141
- return Promise.reject(Object.assign(new Error(message), response));
142
108
  };
143
109
  const deserializeAws_restJson1SendAlexaOfferToMasterCommand = async (output, context) => {
144
110
  if (output.statusCode !== 200 && output.statusCode >= 300) {
@@ -166,129 +132,97 @@ const deserializeAws_restJson1SendAlexaOfferToMasterCommandError = async (output
166
132
  switch (errorCode) {
167
133
  case "ClientLimitExceededException":
168
134
  case "com.amazonaws.kinesisvideosignaling#ClientLimitExceededException":
169
- response = {
170
- ...(await deserializeAws_restJson1ClientLimitExceededExceptionResponse(parsedOutput, context)),
171
- name: errorCode,
172
- $metadata: deserializeMetadata(output),
173
- };
174
- break;
135
+ throw await deserializeAws_restJson1ClientLimitExceededExceptionResponse(parsedOutput, context);
175
136
  case "InvalidArgumentException":
176
137
  case "com.amazonaws.kinesisvideosignaling#InvalidArgumentException":
177
- response = {
178
- ...(await deserializeAws_restJson1InvalidArgumentExceptionResponse(parsedOutput, context)),
179
- name: errorCode,
180
- $metadata: deserializeMetadata(output),
181
- };
182
- break;
138
+ throw await deserializeAws_restJson1InvalidArgumentExceptionResponse(parsedOutput, context);
183
139
  case "NotAuthorizedException":
184
140
  case "com.amazonaws.kinesisvideosignaling#NotAuthorizedException":
185
- response = {
186
- ...(await deserializeAws_restJson1NotAuthorizedExceptionResponse(parsedOutput, context)),
187
- name: errorCode,
188
- $metadata: deserializeMetadata(output),
189
- };
190
- break;
141
+ throw await deserializeAws_restJson1NotAuthorizedExceptionResponse(parsedOutput, context);
191
142
  case "ResourceNotFoundException":
192
143
  case "com.amazonaws.kinesisvideosignaling#ResourceNotFoundException":
193
- response = {
194
- ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
195
- name: errorCode,
196
- $metadata: deserializeMetadata(output),
197
- };
198
- break;
144
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
199
145
  default:
200
146
  const parsedBody = parsedOutput.body;
201
- errorCode = parsedBody.code || parsedBody.Code || errorCode;
202
- response = {
203
- ...parsedBody,
204
- name: `${errorCode}`,
205
- message: parsedBody.message || parsedBody.Message || errorCode,
147
+ response = new KinesisVideoSignalingServiceException_1.KinesisVideoSignalingServiceException({
148
+ name: parsedBody.code || parsedBody.Code || errorCode,
206
149
  $fault: "client",
207
150
  $metadata: deserializeMetadata(output),
208
- };
151
+ });
152
+ throw smithy_client_1.decorateServiceException(response, parsedBody);
209
153
  }
210
- const message = response.message || response.Message || errorCode;
211
- response.message = message;
212
- delete response.Message;
213
- return Promise.reject(Object.assign(new Error(message), response));
214
154
  };
215
155
  const deserializeAws_restJson1ClientLimitExceededExceptionResponse = async (parsedOutput, context) => {
216
- const contents = {
217
- name: "ClientLimitExceededException",
218
- $fault: "client",
219
- $metadata: deserializeMetadata(parsedOutput),
220
- Message: undefined,
221
- };
156
+ const contents = {};
222
157
  const data = parsedOutput.body;
223
158
  if (data.Message !== undefined && data.Message !== null) {
224
159
  contents.Message = smithy_client_1.expectString(data.Message);
225
160
  }
226
- return contents;
161
+ const exception = new models_0_1.ClientLimitExceededException({
162
+ $metadata: deserializeMetadata(parsedOutput),
163
+ ...contents,
164
+ });
165
+ return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
227
166
  };
228
167
  const deserializeAws_restJson1InvalidArgumentExceptionResponse = async (parsedOutput, context) => {
229
- const contents = {
230
- name: "InvalidArgumentException",
231
- $fault: "client",
232
- $metadata: deserializeMetadata(parsedOutput),
233
- Message: undefined,
234
- };
168
+ const contents = {};
235
169
  const data = parsedOutput.body;
236
170
  if (data.Message !== undefined && data.Message !== null) {
237
171
  contents.Message = smithy_client_1.expectString(data.Message);
238
172
  }
239
- return contents;
173
+ const exception = new models_0_1.InvalidArgumentException({
174
+ $metadata: deserializeMetadata(parsedOutput),
175
+ ...contents,
176
+ });
177
+ return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
240
178
  };
241
179
  const deserializeAws_restJson1InvalidClientExceptionResponse = async (parsedOutput, context) => {
242
- const contents = {
243
- name: "InvalidClientException",
244
- $fault: "client",
245
- $metadata: deserializeMetadata(parsedOutput),
246
- message: undefined,
247
- };
180
+ const contents = {};
248
181
  const data = parsedOutput.body;
249
182
  if (data.message !== undefined && data.message !== null) {
250
183
  contents.message = smithy_client_1.expectString(data.message);
251
184
  }
252
- return contents;
185
+ const exception = new models_0_1.InvalidClientException({
186
+ $metadata: deserializeMetadata(parsedOutput),
187
+ ...contents,
188
+ });
189
+ return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
253
190
  };
254
191
  const deserializeAws_restJson1NotAuthorizedExceptionResponse = async (parsedOutput, context) => {
255
- const contents = {
256
- name: "NotAuthorizedException",
257
- $fault: "client",
258
- $metadata: deserializeMetadata(parsedOutput),
259
- Message: undefined,
260
- };
192
+ const contents = {};
261
193
  const data = parsedOutput.body;
262
194
  if (data.Message !== undefined && data.Message !== null) {
263
195
  contents.Message = smithy_client_1.expectString(data.Message);
264
196
  }
265
- return contents;
197
+ const exception = new models_0_1.NotAuthorizedException({
198
+ $metadata: deserializeMetadata(parsedOutput),
199
+ ...contents,
200
+ });
201
+ return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
266
202
  };
267
203
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
268
- const contents = {
269
- name: "ResourceNotFoundException",
270
- $fault: "client",
271
- $metadata: deserializeMetadata(parsedOutput),
272
- Message: undefined,
273
- };
204
+ const contents = {};
274
205
  const data = parsedOutput.body;
275
206
  if (data.Message !== undefined && data.Message !== null) {
276
207
  contents.Message = smithy_client_1.expectString(data.Message);
277
208
  }
278
- return contents;
209
+ const exception = new models_0_1.ResourceNotFoundException({
210
+ $metadata: deserializeMetadata(parsedOutput),
211
+ ...contents,
212
+ });
213
+ return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
279
214
  };
280
215
  const deserializeAws_restJson1SessionExpiredExceptionResponse = async (parsedOutput, context) => {
281
- const contents = {
282
- name: "SessionExpiredException",
283
- $fault: "client",
284
- $metadata: deserializeMetadata(parsedOutput),
285
- message: undefined,
286
- };
216
+ const contents = {};
287
217
  const data = parsedOutput.body;
288
218
  if (data.message !== undefined && data.message !== null) {
289
219
  contents.message = smithy_client_1.expectString(data.message);
290
220
  }
291
- return contents;
221
+ const exception = new models_0_1.SessionExpiredException({
222
+ $metadata: deserializeMetadata(parsedOutput),
223
+ ...contents,
224
+ });
225
+ return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
292
226
  };
293
227
  const deserializeAws_restJson1IceServer = (output, context) => {
294
228
  return {
@@ -301,7 +235,7 @@ const deserializeAws_restJson1IceServer = (output, context) => {
301
235
  };
302
236
  };
303
237
  const deserializeAws_restJson1IceServerList = (output, context) => {
304
- return (output || [])
238
+ const retVal = (output || [])
305
239
  .filter((e) => e != null)
306
240
  .map((entry) => {
307
241
  if (entry === null) {
@@ -309,9 +243,10 @@ const deserializeAws_restJson1IceServerList = (output, context) => {
309
243
  }
310
244
  return deserializeAws_restJson1IceServer(entry, context);
311
245
  });
246
+ return retVal;
312
247
  };
313
248
  const deserializeAws_restJson1Uris = (output, context) => {
314
- return (output || [])
249
+ const retVal = (output || [])
315
250
  .filter((e) => e != null)
316
251
  .map((entry) => {
317
252
  if (entry === null) {
@@ -319,6 +254,7 @@ const deserializeAws_restJson1Uris = (output, context) => {
319
254
  }
320
255
  return smithy_client_1.expectString(entry);
321
256
  });
257
+ return retVal;
322
258
  };
323
259
  const deserializeMetadata = (output) => {
324
260
  var _a;
package/dist-es/index.js CHANGED
@@ -2,3 +2,4 @@ export * from "./KinesisVideoSignaling";
2
2
  export * from "./KinesisVideoSignalingClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { KinesisVideoSignalingServiceException } from "./models/KinesisVideoSignalingServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var KinesisVideoSignalingServiceException = (function (_super) {
4
+ __extends(KinesisVideoSignalingServiceException, _super);
5
+ function KinesisVideoSignalingServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, KinesisVideoSignalingServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return KinesisVideoSignalingServiceException;
11
+ }(__ServiceException));
12
+ export { KinesisVideoSignalingServiceException };
@@ -1,4 +1,18 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { KinesisVideoSignalingServiceException as __BaseException } from "./KinesisVideoSignalingServiceException";
3
+ var ClientLimitExceededException = (function (_super) {
4
+ __extends(ClientLimitExceededException, _super);
5
+ function ClientLimitExceededException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "ClientLimitExceededException", $fault: "client" }, opts)) || this;
7
+ _this.name = "ClientLimitExceededException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, ClientLimitExceededException.prototype);
10
+ _this.Message = opts.Message;
11
+ return _this;
12
+ }
13
+ return ClientLimitExceededException;
14
+ }(__BaseException));
15
+ export { ClientLimitExceededException };
2
16
  export var Service;
3
17
  (function (Service) {
4
18
  Service["TURN"] = "TURN";
@@ -15,6 +29,69 @@ export var GetIceServerConfigResponse;
15
29
  (function (GetIceServerConfigResponse) {
16
30
  GetIceServerConfigResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
17
31
  })(GetIceServerConfigResponse || (GetIceServerConfigResponse = {}));
32
+ var InvalidArgumentException = (function (_super) {
33
+ __extends(InvalidArgumentException, _super);
34
+ function InvalidArgumentException(opts) {
35
+ var _this = _super.call(this, __assign({ name: "InvalidArgumentException", $fault: "client" }, opts)) || this;
36
+ _this.name = "InvalidArgumentException";
37
+ _this.$fault = "client";
38
+ Object.setPrototypeOf(_this, InvalidArgumentException.prototype);
39
+ _this.Message = opts.Message;
40
+ return _this;
41
+ }
42
+ return InvalidArgumentException;
43
+ }(__BaseException));
44
+ export { InvalidArgumentException };
45
+ var InvalidClientException = (function (_super) {
46
+ __extends(InvalidClientException, _super);
47
+ function InvalidClientException(opts) {
48
+ var _this = _super.call(this, __assign({ name: "InvalidClientException", $fault: "client" }, opts)) || this;
49
+ _this.name = "InvalidClientException";
50
+ _this.$fault = "client";
51
+ Object.setPrototypeOf(_this, InvalidClientException.prototype);
52
+ return _this;
53
+ }
54
+ return InvalidClientException;
55
+ }(__BaseException));
56
+ export { InvalidClientException };
57
+ var NotAuthorizedException = (function (_super) {
58
+ __extends(NotAuthorizedException, _super);
59
+ function NotAuthorizedException(opts) {
60
+ var _this = _super.call(this, __assign({ name: "NotAuthorizedException", $fault: "client" }, opts)) || this;
61
+ _this.name = "NotAuthorizedException";
62
+ _this.$fault = "client";
63
+ Object.setPrototypeOf(_this, NotAuthorizedException.prototype);
64
+ _this.Message = opts.Message;
65
+ return _this;
66
+ }
67
+ return NotAuthorizedException;
68
+ }(__BaseException));
69
+ export { NotAuthorizedException };
70
+ var ResourceNotFoundException = (function (_super) {
71
+ __extends(ResourceNotFoundException, _super);
72
+ function ResourceNotFoundException(opts) {
73
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
74
+ _this.name = "ResourceNotFoundException";
75
+ _this.$fault = "client";
76
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
77
+ _this.Message = opts.Message;
78
+ return _this;
79
+ }
80
+ return ResourceNotFoundException;
81
+ }(__BaseException));
82
+ export { ResourceNotFoundException };
83
+ var SessionExpiredException = (function (_super) {
84
+ __extends(SessionExpiredException, _super);
85
+ function SessionExpiredException(opts) {
86
+ var _this = _super.call(this, __assign({ name: "SessionExpiredException", $fault: "client" }, opts)) || this;
87
+ _this.name = "SessionExpiredException";
88
+ _this.$fault = "client";
89
+ Object.setPrototypeOf(_this, SessionExpiredException.prototype);
90
+ return _this;
91
+ }
92
+ return SessionExpiredException;
93
+ }(__BaseException));
94
+ export { SessionExpiredException };
18
95
  export var SendAlexaOfferToMasterRequest;
19
96
  (function (SendAlexaOfferToMasterRequest) {
20
97
  SendAlexaOfferToMasterRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };