@aws-sdk/client-ivs 3.52.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.
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./IvsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { IvsServiceException } from "./models/IvsServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var IvsServiceException = (function (_super) {
4
+ __extends(IvsServiceException, _super);
5
+ function IvsServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, IvsServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return IvsServiceException;
11
+ }(__ServiceException));
12
+ export { IvsServiceException };
@@ -1,5 +1,19 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { IvsServiceException as __BaseException } from "./IvsServiceException";
4
+ var AccessDeniedException = (function (_super) {
5
+ __extends(AccessDeniedException, _super);
6
+ function AccessDeniedException(opts) {
7
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
8
+ _this.name = "AccessDeniedException";
9
+ _this.$fault = "client";
10
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
11
+ _this.exceptionMessage = opts.exceptionMessage;
12
+ return _this;
13
+ }
14
+ return AccessDeniedException;
15
+ }(__BaseException));
16
+ export { AccessDeniedException };
3
17
  export var BatchGetChannelRequest;
4
18
  (function (BatchGetChannelRequest) {
5
19
  BatchGetChannelRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -46,6 +60,71 @@ export var CreateChannelResponse;
46
60
  (function (CreateChannelResponse) {
47
61
  CreateChannelResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.streamKey && { streamKey: StreamKey.filterSensitiveLog(obj.streamKey) }))); };
48
62
  })(CreateChannelResponse || (CreateChannelResponse = {}));
63
+ var PendingVerification = (function (_super) {
64
+ __extends(PendingVerification, _super);
65
+ function PendingVerification(opts) {
66
+ var _this = _super.call(this, __assign({ name: "PendingVerification", $fault: "client" }, opts)) || this;
67
+ _this.name = "PendingVerification";
68
+ _this.$fault = "client";
69
+ Object.setPrototypeOf(_this, PendingVerification.prototype);
70
+ _this.exceptionMessage = opts.exceptionMessage;
71
+ return _this;
72
+ }
73
+ return PendingVerification;
74
+ }(__BaseException));
75
+ export { PendingVerification };
76
+ var ResourceNotFoundException = (function (_super) {
77
+ __extends(ResourceNotFoundException, _super);
78
+ function ResourceNotFoundException(opts) {
79
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
80
+ _this.name = "ResourceNotFoundException";
81
+ _this.$fault = "client";
82
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
83
+ _this.exceptionMessage = opts.exceptionMessage;
84
+ return _this;
85
+ }
86
+ return ResourceNotFoundException;
87
+ }(__BaseException));
88
+ export { ResourceNotFoundException };
89
+ var ServiceQuotaExceededException = (function (_super) {
90
+ __extends(ServiceQuotaExceededException, _super);
91
+ function ServiceQuotaExceededException(opts) {
92
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
93
+ _this.name = "ServiceQuotaExceededException";
94
+ _this.$fault = "client";
95
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
96
+ _this.exceptionMessage = opts.exceptionMessage;
97
+ return _this;
98
+ }
99
+ return ServiceQuotaExceededException;
100
+ }(__BaseException));
101
+ export { ServiceQuotaExceededException };
102
+ var ValidationException = (function (_super) {
103
+ __extends(ValidationException, _super);
104
+ function ValidationException(opts) {
105
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
106
+ _this.name = "ValidationException";
107
+ _this.$fault = "client";
108
+ Object.setPrototypeOf(_this, ValidationException.prototype);
109
+ _this.exceptionMessage = opts.exceptionMessage;
110
+ return _this;
111
+ }
112
+ return ValidationException;
113
+ }(__BaseException));
114
+ export { ValidationException };
115
+ var ConflictException = (function (_super) {
116
+ __extends(ConflictException, _super);
117
+ function ConflictException(opts) {
118
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
119
+ _this.name = "ConflictException";
120
+ _this.$fault = "client";
121
+ Object.setPrototypeOf(_this, ConflictException.prototype);
122
+ _this.exceptionMessage = opts.exceptionMessage;
123
+ return _this;
124
+ }
125
+ return ConflictException;
126
+ }(__BaseException));
127
+ export { ConflictException };
49
128
  export var S3DestinationConfiguration;
50
129
  (function (S3DestinationConfiguration) {
51
130
  S3DestinationConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -81,6 +160,19 @@ export var CreateRecordingConfigurationResponse;
81
160
  (function (CreateRecordingConfigurationResponse) {
82
161
  CreateRecordingConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
83
162
  })(CreateRecordingConfigurationResponse || (CreateRecordingConfigurationResponse = {}));
163
+ var InternalServerException = (function (_super) {
164
+ __extends(InternalServerException, _super);
165
+ function InternalServerException(opts) {
166
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
167
+ _this.name = "InternalServerException";
168
+ _this.$fault = "server";
169
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
170
+ _this.exceptionMessage = opts.exceptionMessage;
171
+ return _this;
172
+ }
173
+ return InternalServerException;
174
+ }(__BaseException));
175
+ export { InternalServerException };
84
176
  export var CreateStreamKeyRequest;
85
177
  (function (CreateStreamKeyRequest) {
86
178
  CreateStreamKeyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -137,6 +229,19 @@ export var GetRecordingConfigurationResponse;
137
229
  (function (GetRecordingConfigurationResponse) {
138
230
  GetRecordingConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
139
231
  })(GetRecordingConfigurationResponse || (GetRecordingConfigurationResponse = {}));
232
+ var ChannelNotBroadcasting = (function (_super) {
233
+ __extends(ChannelNotBroadcasting, _super);
234
+ function ChannelNotBroadcasting(opts) {
235
+ var _this = _super.call(this, __assign({ name: "ChannelNotBroadcasting", $fault: "client" }, opts)) || this;
236
+ _this.name = "ChannelNotBroadcasting";
237
+ _this.$fault = "client";
238
+ Object.setPrototypeOf(_this, ChannelNotBroadcasting.prototype);
239
+ _this.exceptionMessage = opts.exceptionMessage;
240
+ return _this;
241
+ }
242
+ return ChannelNotBroadcasting;
243
+ }(__BaseException));
244
+ export { ChannelNotBroadcasting };
140
245
  export var GetStreamRequest;
141
246
  (function (GetStreamRequest) {
142
247
  GetStreamRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -292,6 +397,19 @@ export var PutMetadataRequest;
292
397
  (function (PutMetadataRequest) {
293
398
  PutMetadataRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.metadata && { metadata: SENSITIVE_STRING }))); };
294
399
  })(PutMetadataRequest || (PutMetadataRequest = {}));
400
+ var ThrottlingException = (function (_super) {
401
+ __extends(ThrottlingException, _super);
402
+ function ThrottlingException(opts) {
403
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
404
+ _this.name = "ThrottlingException";
405
+ _this.$fault = "client";
406
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
407
+ _this.exceptionMessage = opts.exceptionMessage;
408
+ return _this;
409
+ }
410
+ return ThrottlingException;
411
+ }(__BaseException));
412
+ export { ThrottlingException };
295
413
  export var StopStreamRequest;
296
414
  (function (StopStreamRequest) {
297
415
  StopStreamRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -300,6 +418,19 @@ export var StopStreamResponse;
300
418
  (function (StopStreamResponse) {
301
419
  StopStreamResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
302
420
  })(StopStreamResponse || (StopStreamResponse = {}));
421
+ var StreamUnavailable = (function (_super) {
422
+ __extends(StreamUnavailable, _super);
423
+ function StreamUnavailable(opts) {
424
+ var _this = _super.call(this, __assign({ name: "StreamUnavailable", $fault: "server" }, opts)) || this;
425
+ _this.name = "StreamUnavailable";
426
+ _this.$fault = "server";
427
+ Object.setPrototypeOf(_this, StreamUnavailable.prototype);
428
+ _this.exceptionMessage = opts.exceptionMessage;
429
+ return _this;
430
+ }
431
+ return StreamUnavailable;
432
+ }(__BaseException));
433
+ export { StreamUnavailable };
303
434
  export var TagResourceRequest;
304
435
  (function (TagResourceRequest) {
305
436
  TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };