@aws-sdk/client-ivs 3.52.0 → 3.54.1

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/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.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-ivs
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-ivs
17
+
18
+
19
+
20
+
21
+
22
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-ivs
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IvsServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Ivs"), exports);
5
6
  tslib_1.__exportStar(require("./IvsClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var IvsServiceException_1 = require("./models/IvsServiceException");
11
+ Object.defineProperty(exports, "IvsServiceException", { enumerable: true, get: function () { return IvsServiceException_1.IvsServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IvsServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class IvsServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, IvsServiceException.prototype);
9
+ }
10
+ }
11
+ exports.IvsServiceException = IvsServiceException;
@@ -1,8 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListChannelsRequest = exports.ImportPlaybackKeyPairResponse = exports.ImportPlaybackKeyPairRequest = exports.GetStreamSessionResponse = exports.StreamSession = exports.StreamEvent = exports.IngestConfiguration = exports.VideoConfiguration = exports.AudioConfiguration = exports.GetStreamSessionRequest = exports.GetStreamKeyResponse = exports.GetStreamKeyRequest = exports.GetStreamResponse = exports._Stream = exports.StreamState = exports.StreamHealth = exports.GetStreamRequest = exports.GetRecordingConfigurationResponse = exports.GetRecordingConfigurationRequest = exports.GetPlaybackKeyPairResponse = exports.PlaybackKeyPair = exports.GetPlaybackKeyPairRequest = exports.GetChannelResponse = exports.GetChannelRequest = exports.DeleteStreamKeyRequest = exports.DeleteRecordingConfigurationRequest = exports.DeletePlaybackKeyPairResponse = exports.DeletePlaybackKeyPairRequest = exports.DeleteChannelRequest = exports.CreateStreamKeyResponse = exports.CreateStreamKeyRequest = exports.CreateRecordingConfigurationResponse = exports.RecordingConfiguration = exports.RecordingConfigurationState = exports.CreateRecordingConfigurationRequest = exports.ThumbnailConfiguration = exports.RecordingMode = exports.DestinationConfiguration = exports.S3DestinationConfiguration = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.BatchGetStreamKeyResponse = exports.StreamKey = exports.BatchGetStreamKeyRequest = exports.BatchGetChannelResponse = exports.BatchError = exports.Channel = exports.ChannelType = exports.ChannelLatencyMode = exports.BatchGetChannelRequest = void 0;
4
- exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopStreamResponse = exports.StopStreamRequest = exports.PutMetadataRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListStreamSessionsResponse = exports.StreamSessionSummary = exports.ListStreamSessionsRequest = exports.ListStreamsResponse = exports.StreamSummary = exports.ListStreamsRequest = exports.StreamFilters = exports.ListStreamKeysResponse = exports.StreamKeySummary = exports.ListStreamKeysRequest = exports.ListRecordingConfigurationsResponse = exports.RecordingConfigurationSummary = exports.ListRecordingConfigurationsRequest = exports.ListPlaybackKeyPairsResponse = exports.PlaybackKeyPairSummary = exports.ListPlaybackKeyPairsRequest = exports.ListChannelsResponse = exports.ChannelSummary = void 0;
3
+ exports.AudioConfiguration = exports.GetStreamSessionRequest = exports.GetStreamKeyResponse = exports.GetStreamKeyRequest = exports.GetStreamResponse = exports._Stream = exports.StreamState = exports.StreamHealth = exports.GetStreamRequest = exports.ChannelNotBroadcasting = exports.GetRecordingConfigurationResponse = exports.GetRecordingConfigurationRequest = exports.GetPlaybackKeyPairResponse = exports.PlaybackKeyPair = exports.GetPlaybackKeyPairRequest = exports.GetChannelResponse = exports.GetChannelRequest = exports.DeleteStreamKeyRequest = exports.DeleteRecordingConfigurationRequest = exports.DeletePlaybackKeyPairResponse = exports.DeletePlaybackKeyPairRequest = exports.DeleteChannelRequest = exports.CreateStreamKeyResponse = exports.CreateStreamKeyRequest = exports.InternalServerException = exports.CreateRecordingConfigurationResponse = exports.RecordingConfiguration = exports.RecordingConfigurationState = exports.CreateRecordingConfigurationRequest = exports.ThumbnailConfiguration = exports.RecordingMode = exports.DestinationConfiguration = exports.S3DestinationConfiguration = exports.ConflictException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.PendingVerification = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.BatchGetStreamKeyResponse = exports.StreamKey = exports.BatchGetStreamKeyRequest = exports.BatchGetChannelResponse = exports.BatchError = exports.Channel = exports.ChannelType = exports.ChannelLatencyMode = exports.BatchGetChannelRequest = exports.AccessDeniedException = void 0;
4
+ exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StreamUnavailable = exports.StopStreamResponse = exports.StopStreamRequest = exports.ThrottlingException = exports.PutMetadataRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListStreamSessionsResponse = exports.StreamSessionSummary = exports.ListStreamSessionsRequest = exports.ListStreamsResponse = exports.StreamSummary = exports.ListStreamsRequest = exports.StreamFilters = exports.ListStreamKeysResponse = exports.StreamKeySummary = exports.ListStreamKeysRequest = exports.ListRecordingConfigurationsResponse = exports.RecordingConfigurationSummary = exports.ListRecordingConfigurationsRequest = exports.ListPlaybackKeyPairsResponse = exports.PlaybackKeyPairSummary = exports.ListPlaybackKeyPairsRequest = exports.ListChannelsResponse = exports.ChannelSummary = exports.ListChannelsRequest = exports.ImportPlaybackKeyPairResponse = exports.ImportPlaybackKeyPairRequest = exports.GetStreamSessionResponse = exports.StreamSession = exports.StreamEvent = exports.IngestConfiguration = exports.VideoConfiguration = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const IvsServiceException_1 = require("./IvsServiceException");
7
+ class AccessDeniedException extends IvsServiceException_1.IvsServiceException {
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ this.name = "AccessDeniedException";
15
+ this.$fault = "client";
16
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
+ this.exceptionMessage = opts.exceptionMessage;
18
+ }
19
+ }
20
+ exports.AccessDeniedException = AccessDeniedException;
6
21
  var BatchGetChannelRequest;
7
22
  (function (BatchGetChannelRequest) {
8
23
  BatchGetChannelRequest.filterSensitiveLog = (obj) => ({
@@ -70,6 +85,76 @@ var CreateChannelResponse;
70
85
  ...(obj.streamKey && { streamKey: StreamKey.filterSensitiveLog(obj.streamKey) }),
71
86
  });
72
87
  })(CreateChannelResponse = exports.CreateChannelResponse || (exports.CreateChannelResponse = {}));
88
+ class PendingVerification extends IvsServiceException_1.IvsServiceException {
89
+ constructor(opts) {
90
+ super({
91
+ name: "PendingVerification",
92
+ $fault: "client",
93
+ ...opts,
94
+ });
95
+ this.name = "PendingVerification";
96
+ this.$fault = "client";
97
+ Object.setPrototypeOf(this, PendingVerification.prototype);
98
+ this.exceptionMessage = opts.exceptionMessage;
99
+ }
100
+ }
101
+ exports.PendingVerification = PendingVerification;
102
+ class ResourceNotFoundException extends IvsServiceException_1.IvsServiceException {
103
+ constructor(opts) {
104
+ super({
105
+ name: "ResourceNotFoundException",
106
+ $fault: "client",
107
+ ...opts,
108
+ });
109
+ this.name = "ResourceNotFoundException";
110
+ this.$fault = "client";
111
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
112
+ this.exceptionMessage = opts.exceptionMessage;
113
+ }
114
+ }
115
+ exports.ResourceNotFoundException = ResourceNotFoundException;
116
+ class ServiceQuotaExceededException extends IvsServiceException_1.IvsServiceException {
117
+ constructor(opts) {
118
+ super({
119
+ name: "ServiceQuotaExceededException",
120
+ $fault: "client",
121
+ ...opts,
122
+ });
123
+ this.name = "ServiceQuotaExceededException";
124
+ this.$fault = "client";
125
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
126
+ this.exceptionMessage = opts.exceptionMessage;
127
+ }
128
+ }
129
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
130
+ class ValidationException extends IvsServiceException_1.IvsServiceException {
131
+ constructor(opts) {
132
+ super({
133
+ name: "ValidationException",
134
+ $fault: "client",
135
+ ...opts,
136
+ });
137
+ this.name = "ValidationException";
138
+ this.$fault = "client";
139
+ Object.setPrototypeOf(this, ValidationException.prototype);
140
+ this.exceptionMessage = opts.exceptionMessage;
141
+ }
142
+ }
143
+ exports.ValidationException = ValidationException;
144
+ class ConflictException extends IvsServiceException_1.IvsServiceException {
145
+ constructor(opts) {
146
+ super({
147
+ name: "ConflictException",
148
+ $fault: "client",
149
+ ...opts,
150
+ });
151
+ this.name = "ConflictException";
152
+ this.$fault = "client";
153
+ Object.setPrototypeOf(this, ConflictException.prototype);
154
+ this.exceptionMessage = opts.exceptionMessage;
155
+ }
156
+ }
157
+ exports.ConflictException = ConflictException;
73
158
  var S3DestinationConfiguration;
74
159
  (function (S3DestinationConfiguration) {
75
160
  S3DestinationConfiguration.filterSensitiveLog = (obj) => ({
@@ -117,6 +202,20 @@ var CreateRecordingConfigurationResponse;
117
202
  ...obj,
118
203
  });
119
204
  })(CreateRecordingConfigurationResponse = exports.CreateRecordingConfigurationResponse || (exports.CreateRecordingConfigurationResponse = {}));
205
+ class InternalServerException extends IvsServiceException_1.IvsServiceException {
206
+ constructor(opts) {
207
+ super({
208
+ name: "InternalServerException",
209
+ $fault: "server",
210
+ ...opts,
211
+ });
212
+ this.name = "InternalServerException";
213
+ this.$fault = "server";
214
+ Object.setPrototypeOf(this, InternalServerException.prototype);
215
+ this.exceptionMessage = opts.exceptionMessage;
216
+ }
217
+ }
218
+ exports.InternalServerException = InternalServerException;
120
219
  var CreateStreamKeyRequest;
121
220
  (function (CreateStreamKeyRequest) {
122
221
  CreateStreamKeyRequest.filterSensitiveLog = (obj) => ({
@@ -202,6 +301,20 @@ var GetRecordingConfigurationResponse;
202
301
  ...obj,
203
302
  });
204
303
  })(GetRecordingConfigurationResponse = exports.GetRecordingConfigurationResponse || (exports.GetRecordingConfigurationResponse = {}));
304
+ class ChannelNotBroadcasting extends IvsServiceException_1.IvsServiceException {
305
+ constructor(opts) {
306
+ super({
307
+ name: "ChannelNotBroadcasting",
308
+ $fault: "client",
309
+ ...opts,
310
+ });
311
+ this.name = "ChannelNotBroadcasting";
312
+ this.$fault = "client";
313
+ Object.setPrototypeOf(this, ChannelNotBroadcasting.prototype);
314
+ this.exceptionMessage = opts.exceptionMessage;
315
+ }
316
+ }
317
+ exports.ChannelNotBroadcasting = ChannelNotBroadcasting;
205
318
  var GetStreamRequest;
206
319
  (function (GetStreamRequest) {
207
320
  GetStreamRequest.filterSensitiveLog = (obj) => ({
@@ -431,6 +544,20 @@ var PutMetadataRequest;
431
544
  ...(obj.metadata && { metadata: smithy_client_1.SENSITIVE_STRING }),
432
545
  });
433
546
  })(PutMetadataRequest = exports.PutMetadataRequest || (exports.PutMetadataRequest = {}));
547
+ class ThrottlingException extends IvsServiceException_1.IvsServiceException {
548
+ constructor(opts) {
549
+ super({
550
+ name: "ThrottlingException",
551
+ $fault: "client",
552
+ ...opts,
553
+ });
554
+ this.name = "ThrottlingException";
555
+ this.$fault = "client";
556
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
557
+ this.exceptionMessage = opts.exceptionMessage;
558
+ }
559
+ }
560
+ exports.ThrottlingException = ThrottlingException;
434
561
  var StopStreamRequest;
435
562
  (function (StopStreamRequest) {
436
563
  StopStreamRequest.filterSensitiveLog = (obj) => ({
@@ -443,6 +570,20 @@ var StopStreamResponse;
443
570
  ...obj,
444
571
  });
445
572
  })(StopStreamResponse = exports.StopStreamResponse || (exports.StopStreamResponse = {}));
573
+ class StreamUnavailable extends IvsServiceException_1.IvsServiceException {
574
+ constructor(opts) {
575
+ super({
576
+ name: "StreamUnavailable",
577
+ $fault: "server",
578
+ ...opts,
579
+ });
580
+ this.name = "StreamUnavailable";
581
+ this.$fault = "server";
582
+ Object.setPrototypeOf(this, StreamUnavailable.prototype);
583
+ this.exceptionMessage = opts.exceptionMessage;
584
+ }
585
+ }
586
+ exports.StreamUnavailable = StreamUnavailable;
446
587
  var TagResourceRequest;
447
588
  (function (TagResourceRequest) {
448
589
  TagResourceRequest.filterSensitiveLog = (obj) => ({