@aws-sdk/client-mediatailor 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 (72) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/MediaTailorServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +18 -3
  5. package/dist-cjs/protocols/Aws_restJson1.js +187 -409
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/MediaTailorServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +15 -1
  9. package/dist-es/protocols/Aws_restJson1.js +349 -321
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/MediaTailorServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +9 -4
  13. package/dist-types/ts3.4/MediaTailor.d.ts +190 -0
  14. package/dist-types/ts3.4/MediaTailorClient.d.ts +110 -0
  15. package/dist-types/ts3.4/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreatePrefetchScheduleCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateProgramCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateSourceLocationCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateVodSourceCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DeletePlaybackConfigurationCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeletePrefetchScheduleCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeleteProgramCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteSourceLocationCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DeleteVodSourceCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DescribeProgramCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DescribeSourceLocationCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DescribeVodSourceCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/GetChannelPolicyCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/GetChannelScheduleCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/GetPlaybackConfigurationCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/GetPrefetchScheduleCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/ListAlertsCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/ListPlaybackConfigurationsCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/ListPrefetchSchedulesCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/ListSourceLocationsCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ListVodSourcesCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/PutChannelPolicyCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/PutPlaybackConfigurationCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/StartChannelCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/StopChannelCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/UpdateSourceLocationCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/UpdateVodSourceCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/index.d.ts +37 -0
  53. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  54. package/dist-types/ts3.4/index.d.ts +6 -0
  55. package/dist-types/ts3.4/models/MediaTailorServiceException.d.ts +6 -0
  56. package/dist-types/ts3.4/models/index.d.ts +1 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +1574 -0
  58. package/dist-types/ts3.4/pagination/GetChannelSchedulePaginator.d.ts +4 -0
  59. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  60. package/dist-types/ts3.4/pagination/ListAlertsPaginator.d.ts +4 -0
  61. package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +4 -0
  62. package/dist-types/ts3.4/pagination/ListPlaybackConfigurationsPaginator.d.ts +4 -0
  63. package/dist-types/ts3.4/pagination/ListPrefetchSchedulesPaginator.d.ts +4 -0
  64. package/dist-types/ts3.4/pagination/ListSourceLocationsPaginator.d.ts +4 -0
  65. package/dist-types/ts3.4/pagination/ListVodSourcesPaginator.d.ts +4 -0
  66. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  67. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +113 -0
  68. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  69. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  70. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  71. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  72. 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-mediatailor
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-mediatailor
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-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";