@aws-sdk/client-mediatailor 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-mediatailor
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-mediatailor
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-mediatailor
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MediaTailorServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./MediaTailor"), exports);
5
6
  tslib_1.__exportStar(require("./MediaTailorClient"), 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 MediaTailorServiceException_1 = require("./models/MediaTailorServiceException");
11
+ Object.defineProperty(exports, "MediaTailorServiceException", { enumerable: true, get: function () { return MediaTailorServiceException_1.MediaTailorServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MediaTailorServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class MediaTailorServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, MediaTailorServiceException.prototype);
9
+ }
10
+ }
11
+ exports.MediaTailorServiceException = MediaTailorServiceException;
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Transition = exports.RelativePosition = exports.CreatePrefetchScheduleResponse = exports.CreatePrefetchScheduleRequest = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.PlaybackMode = exports.RequestOutputItem = exports.ConfigureLogsForPlaybackConfigurationResponse = exports.ConfigureLogsForPlaybackConfigurationRequest = exports.ChannelState = exports.VodSource = exports.HttpPackageConfiguration = exports.Type = exports.SourceLocation = exports.HttpConfiguration = exports.DefaultSegmentDeliveryConfiguration = exports.AccessConfiguration = exports.SecretsManagerAccessTokenConfiguration = exports.AccessType = exports.SegmentDeliveryConfiguration = exports.ScheduleEntry = exports.ScheduleEntryType = exports.ScheduleAdBreak = exports.PrefetchSchedule = exports.PrefetchRetrieval = exports.PrefetchConsumption = exports.PlaybackConfiguration = exports.ManifestProcessingRules = exports.AdMarkerPassthrough = exports.LogConfiguration = exports.LivePreRollConfiguration = exports.HlsConfiguration = exports.DashConfiguration = exports.OriginManifestType = exports.CdnConfiguration = exports.Bumper = exports.AvailSuppression = exports.Mode = exports.Channel = exports.ResponseOutputItem = exports.HlsPlaylistSettings = exports.DashPlaylistSettings = exports.AvailMatchingCriteria = exports.Operator = exports.Alert = exports.AdBreak = exports.SpliceInsertMessage = exports.SlateSource = exports.MessageType = void 0;
4
- exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSourceLocationsResponse = exports.ListSourceLocationsRequest = exports.ListPrefetchSchedulesResponse = exports.ListPrefetchSchedulesRequest = exports.ListPlaybackConfigurationsResponse = exports.ListPlaybackConfigurationsRequest = exports.ListChannelsResponse = exports.ListChannelsRequest = exports.ListAlertsResponse = exports.ListAlertsRequest = exports.GetPrefetchScheduleResponse = exports.GetPrefetchScheduleRequest = exports.GetPlaybackConfigurationResponse = exports.GetPlaybackConfigurationRequest = exports.GetChannelScheduleResponse = exports.GetChannelScheduleRequest = exports.GetChannelPolicyResponse = exports.GetChannelPolicyRequest = exports.DescribeVodSourceResponse = exports.DescribeVodSourceRequest = exports.DescribeSourceLocationResponse = exports.DescribeSourceLocationRequest = exports.DescribeProgramResponse = exports.DescribeProgramRequest = exports.DescribeChannelResponse = exports.DescribeChannelRequest = exports.DeleteVodSourceResponse = exports.DeleteVodSourceRequest = exports.DeleteSourceLocationResponse = exports.DeleteSourceLocationRequest = exports.DeleteProgramResponse = exports.DeleteProgramRequest = exports.DeletePrefetchScheduleResponse = exports.DeletePrefetchScheduleRequest = exports.DeletePlaybackConfigurationResponse = exports.DeletePlaybackConfigurationRequest = exports.DeleteChannelPolicyResponse = exports.DeleteChannelPolicyRequest = exports.DeleteChannelResponse = exports.DeleteChannelRequest = exports.DashConfigurationForPut = exports.CreateVodSourceResponse = exports.CreateVodSourceRequest = exports.CreateSourceLocationResponse = exports.CreateSourceLocationRequest = exports.CreateProgramResponse = exports.CreateProgramRequest = exports.ScheduleConfiguration = void 0;
5
- exports.UpdateVodSourceResponse = exports.UpdateVodSourceRequest = exports.UpdateSourceLocationResponse = exports.UpdateSourceLocationRequest = exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StopChannelResponse = exports.StopChannelRequest = exports.StartChannelResponse = exports.StartChannelRequest = exports.PutPlaybackConfigurationResponse = exports.PutPlaybackConfigurationRequest = exports.PutChannelPolicyResponse = exports.PutChannelPolicyRequest = exports.ListVodSourcesResponse = exports.ListVodSourcesRequest = void 0;
3
+ exports.RelativePosition = exports.CreatePrefetchScheduleResponse = exports.CreatePrefetchScheduleRequest = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.PlaybackMode = exports.RequestOutputItem = exports.ConfigureLogsForPlaybackConfigurationResponse = exports.ConfigureLogsForPlaybackConfigurationRequest = exports.ChannelState = exports.BadRequestException = exports.VodSource = exports.HttpPackageConfiguration = exports.Type = exports.SourceLocation = exports.HttpConfiguration = exports.DefaultSegmentDeliveryConfiguration = exports.AccessConfiguration = exports.SecretsManagerAccessTokenConfiguration = exports.AccessType = exports.SegmentDeliveryConfiguration = exports.ScheduleEntry = exports.ScheduleEntryType = exports.ScheduleAdBreak = exports.PrefetchSchedule = exports.PrefetchRetrieval = exports.PrefetchConsumption = exports.PlaybackConfiguration = exports.ManifestProcessingRules = exports.AdMarkerPassthrough = exports.LogConfiguration = exports.LivePreRollConfiguration = exports.HlsConfiguration = exports.DashConfiguration = exports.OriginManifestType = exports.CdnConfiguration = exports.Bumper = exports.AvailSuppression = exports.Mode = exports.Channel = exports.ResponseOutputItem = exports.HlsPlaylistSettings = exports.DashPlaylistSettings = exports.AvailMatchingCriteria = exports.Operator = exports.Alert = exports.AdBreak = exports.SpliceInsertMessage = exports.SlateSource = exports.MessageType = void 0;
4
+ exports.ListTagsForResourceRequest = exports.ListSourceLocationsResponse = exports.ListSourceLocationsRequest = exports.ListPrefetchSchedulesResponse = exports.ListPrefetchSchedulesRequest = exports.ListPlaybackConfigurationsResponse = exports.ListPlaybackConfigurationsRequest = exports.ListChannelsResponse = exports.ListChannelsRequest = exports.ListAlertsResponse = exports.ListAlertsRequest = exports.GetPrefetchScheduleResponse = exports.GetPrefetchScheduleRequest = exports.GetPlaybackConfigurationResponse = exports.GetPlaybackConfigurationRequest = exports.GetChannelScheduleResponse = exports.GetChannelScheduleRequest = exports.GetChannelPolicyResponse = exports.GetChannelPolicyRequest = exports.DescribeVodSourceResponse = exports.DescribeVodSourceRequest = exports.DescribeSourceLocationResponse = exports.DescribeSourceLocationRequest = exports.DescribeProgramResponse = exports.DescribeProgramRequest = exports.DescribeChannelResponse = exports.DescribeChannelRequest = exports.DeleteVodSourceResponse = exports.DeleteVodSourceRequest = exports.DeleteSourceLocationResponse = exports.DeleteSourceLocationRequest = exports.DeleteProgramResponse = exports.DeleteProgramRequest = exports.DeletePrefetchScheduleResponse = exports.DeletePrefetchScheduleRequest = exports.DeletePlaybackConfigurationResponse = exports.DeletePlaybackConfigurationRequest = exports.DeleteChannelPolicyResponse = exports.DeleteChannelPolicyRequest = exports.DeleteChannelResponse = exports.DeleteChannelRequest = exports.DashConfigurationForPut = exports.CreateVodSourceResponse = exports.CreateVodSourceRequest = exports.CreateSourceLocationResponse = exports.CreateSourceLocationRequest = exports.CreateProgramResponse = exports.CreateProgramRequest = exports.ScheduleConfiguration = exports.Transition = void 0;
5
+ exports.UpdateVodSourceResponse = exports.UpdateVodSourceRequest = exports.UpdateSourceLocationResponse = exports.UpdateSourceLocationRequest = exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StopChannelResponse = exports.StopChannelRequest = exports.StartChannelResponse = exports.StartChannelRequest = exports.PutPlaybackConfigurationResponse = exports.PutPlaybackConfigurationRequest = exports.PutChannelPolicyResponse = exports.PutChannelPolicyRequest = exports.ListVodSourcesResponse = exports.ListVodSourcesRequest = exports.ListTagsForResourceResponse = void 0;
6
+ const MediaTailorServiceException_1 = require("./MediaTailorServiceException");
6
7
  var MessageType;
7
8
  (function (MessageType) {
8
9
  MessageType["SPLICE_INSERT"] = "SPLICE_INSERT";
@@ -228,6 +229,20 @@ var VodSource;
228
229
  ...obj,
229
230
  });
230
231
  })(VodSource = exports.VodSource || (exports.VodSource = {}));
232
+ class BadRequestException extends MediaTailorServiceException_1.MediaTailorServiceException {
233
+ constructor(opts) {
234
+ super({
235
+ name: "BadRequestException",
236
+ $fault: "client",
237
+ ...opts,
238
+ });
239
+ this.name = "BadRequestException";
240
+ this.$fault = "client";
241
+ Object.setPrototypeOf(this, BadRequestException.prototype);
242
+ this.Message = opts.Message;
243
+ }
244
+ }
245
+ exports.BadRequestException = BadRequestException;
231
246
  var ChannelState;
232
247
  (function (ChannelState) {
233
248
  ChannelState["RUNNING"] = "RUNNING";