@aws-sdk/client-mediapackage 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 +30 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/MediaPackageServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +88 -2
- package/dist-cjs/protocols/Aws_restJson1.js +226 -816
- package/dist-es/index.js +1 -0
- package/dist-es/models/MediaPackageServiceException.js +12 -0
- package/dist-es/models/models_0.js +81 -1
- package/dist-es/protocols/Aws_restJson1.js +451 -878
- package/dist-types/MediaPackageClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/MediaPackageServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +45 -19
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/MediaPackageClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/MediaPackageServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -19
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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-mediapackage
|
|
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
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **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))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-mediapackage
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediaPackageServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./MediaPackage"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./MediaPackageClient"), 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 MediaPackageServiceException_1 = require("./models/MediaPackageServiceException");
|
|
11
|
+
Object.defineProperty(exports, "MediaPackageServiceException", { enumerable: true, get: function () { return MediaPackageServiceException_1.MediaPackageServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediaPackageServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class MediaPackageServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, MediaPackageServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.MediaPackageServiceException = MediaPackageServiceException;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateOriginEndpointResponse = exports.UpdateOriginEndpointRequest = exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.RotateIngestEndpointCredentialsResponse = exports.RotateIngestEndpointCredentialsRequest = exports.RotateChannelCredentialsResponse = exports.RotateChannelCredentialsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListOriginEndpointsResponse = exports.ListOriginEndpointsRequest = exports.ListHarvestJobsResponse = exports.ListHarvestJobsRequest = exports.ListChannelsResponse = exports.ListChannelsRequest = exports.DescribeOriginEndpointResponse = exports.DescribeOriginEndpointRequest = exports.DescribeHarvestJobResponse = exports.DescribeHarvestJobRequest = exports.DescribeChannelResponse = exports.DescribeChannelRequest = void 0;
|
|
3
|
+
exports.CreateHarvestJobResponse = exports.CreateHarvestJobRequest = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.UnprocessableEntityException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConfigureLogsResponse = exports.ConfigureLogsRequest = exports.CmafPackageCreateOrUpdateParameters = exports.OriginEndpoint = exports.Origination = exports.MssPackage = exports.MssEncryption = exports.HlsPackage = exports.HlsEncryption = exports.EncryptionMethod = exports.DashPackage = exports.UtcTiming = exports.SegmentTemplateFormat = exports.Profile = exports.ManifestLayout = exports.DashEncryption = exports.CmafPackage = exports.StreamSelection = exports.StreamOrder = exports.CmafEncryption = exports.SpekeKeyProvider = exports.EncryptionContractConfiguration = exports.PresetSpeke20Video = exports.PresetSpeke20Audio = exports.Authorization = exports.HlsManifestCreateOrUpdateParameters = exports.AdsOnDeliveryRestrictions = exports.HlsManifest = exports.PlaylistType = exports.AdMarkers = exports.HarvestJob = exports.Status = exports.S3Destination = exports.Channel = exports.IngressAccessLogs = exports.HlsIngest = exports.IngestEndpoint = exports.EgressAccessLogs = exports.__PeriodTriggersElement = exports.__AdTriggersElement = void 0;
|
|
4
|
+
exports.UpdateOriginEndpointResponse = exports.UpdateOriginEndpointRequest = exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.RotateIngestEndpointCredentialsResponse = exports.RotateIngestEndpointCredentialsRequest = exports.RotateChannelCredentialsResponse = exports.RotateChannelCredentialsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListOriginEndpointsResponse = exports.ListOriginEndpointsRequest = exports.ListHarvestJobsResponse = exports.ListHarvestJobsRequest = exports.ListChannelsResponse = exports.ListChannelsRequest = exports.DescribeOriginEndpointResponse = exports.DescribeOriginEndpointRequest = exports.DescribeHarvestJobResponse = exports.DescribeHarvestJobRequest = exports.DescribeChannelResponse = exports.DescribeChannelRequest = exports.DeleteOriginEndpointResponse = exports.DeleteOriginEndpointRequest = exports.DeleteChannelResponse = exports.DeleteChannelRequest = exports.CreateOriginEndpointResponse = exports.CreateOriginEndpointRequest = void 0;
|
|
5
|
+
const MediaPackageServiceException_1 = require("./MediaPackageServiceException");
|
|
5
6
|
var __AdTriggersElement;
|
|
6
7
|
(function (__AdTriggersElement) {
|
|
7
8
|
__AdTriggersElement["BREAK"] = "BREAK";
|
|
@@ -161,6 +162,7 @@ var ManifestLayout;
|
|
|
161
162
|
var Profile;
|
|
162
163
|
(function (Profile) {
|
|
163
164
|
Profile["HBBTV_1_5"] = "HBBTV_1_5";
|
|
165
|
+
Profile["HYBRIDCAST"] = "HYBRIDCAST";
|
|
164
166
|
Profile["NONE"] = "NONE";
|
|
165
167
|
})(Profile = exports.Profile || (exports.Profile = {}));
|
|
166
168
|
var SegmentTemplateFormat;
|
|
@@ -239,6 +241,90 @@ var ConfigureLogsResponse;
|
|
|
239
241
|
...obj,
|
|
240
242
|
});
|
|
241
243
|
})(ConfigureLogsResponse = exports.ConfigureLogsResponse || (exports.ConfigureLogsResponse = {}));
|
|
244
|
+
class ForbiddenException extends MediaPackageServiceException_1.MediaPackageServiceException {
|
|
245
|
+
constructor(opts) {
|
|
246
|
+
super({
|
|
247
|
+
name: "ForbiddenException",
|
|
248
|
+
$fault: "client",
|
|
249
|
+
...opts,
|
|
250
|
+
});
|
|
251
|
+
this.name = "ForbiddenException";
|
|
252
|
+
this.$fault = "client";
|
|
253
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
254
|
+
this.Message = opts.Message;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
exports.ForbiddenException = ForbiddenException;
|
|
258
|
+
class InternalServerErrorException extends MediaPackageServiceException_1.MediaPackageServiceException {
|
|
259
|
+
constructor(opts) {
|
|
260
|
+
super({
|
|
261
|
+
name: "InternalServerErrorException",
|
|
262
|
+
$fault: "server",
|
|
263
|
+
...opts,
|
|
264
|
+
});
|
|
265
|
+
this.name = "InternalServerErrorException";
|
|
266
|
+
this.$fault = "server";
|
|
267
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
268
|
+
this.Message = opts.Message;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
exports.InternalServerErrorException = InternalServerErrorException;
|
|
272
|
+
class NotFoundException extends MediaPackageServiceException_1.MediaPackageServiceException {
|
|
273
|
+
constructor(opts) {
|
|
274
|
+
super({
|
|
275
|
+
name: "NotFoundException",
|
|
276
|
+
$fault: "client",
|
|
277
|
+
...opts,
|
|
278
|
+
});
|
|
279
|
+
this.name = "NotFoundException";
|
|
280
|
+
this.$fault = "client";
|
|
281
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
282
|
+
this.Message = opts.Message;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
exports.NotFoundException = NotFoundException;
|
|
286
|
+
class ServiceUnavailableException extends MediaPackageServiceException_1.MediaPackageServiceException {
|
|
287
|
+
constructor(opts) {
|
|
288
|
+
super({
|
|
289
|
+
name: "ServiceUnavailableException",
|
|
290
|
+
$fault: "server",
|
|
291
|
+
...opts,
|
|
292
|
+
});
|
|
293
|
+
this.name = "ServiceUnavailableException";
|
|
294
|
+
this.$fault = "server";
|
|
295
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
296
|
+
this.Message = opts.Message;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
300
|
+
class TooManyRequestsException extends MediaPackageServiceException_1.MediaPackageServiceException {
|
|
301
|
+
constructor(opts) {
|
|
302
|
+
super({
|
|
303
|
+
name: "TooManyRequestsException",
|
|
304
|
+
$fault: "client",
|
|
305
|
+
...opts,
|
|
306
|
+
});
|
|
307
|
+
this.name = "TooManyRequestsException";
|
|
308
|
+
this.$fault = "client";
|
|
309
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
310
|
+
this.Message = opts.Message;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
314
|
+
class UnprocessableEntityException extends MediaPackageServiceException_1.MediaPackageServiceException {
|
|
315
|
+
constructor(opts) {
|
|
316
|
+
super({
|
|
317
|
+
name: "UnprocessableEntityException",
|
|
318
|
+
$fault: "client",
|
|
319
|
+
...opts,
|
|
320
|
+
});
|
|
321
|
+
this.name = "UnprocessableEntityException";
|
|
322
|
+
this.$fault = "client";
|
|
323
|
+
Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
|
|
324
|
+
this.Message = opts.Message;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
exports.UnprocessableEntityException = UnprocessableEntityException;
|
|
242
328
|
var CreateChannelRequest;
|
|
243
329
|
(function (CreateChannelRequest) {
|
|
244
330
|
CreateChannelRequest.filterSensitiveLog = (obj) => ({
|