@aws-sdk/client-mediapackage 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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/MediaPackageServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +87 -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 +80 -1
- package/dist-es/protocols/Aws_restJson1.js +451 -878
- 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 +44 -19
- package/dist-types/ts3.4/MediaPackage.d.ts +97 -0
- package/dist-types/ts3.4/MediaPackageClient.d.ts +92 -0
- package/dist-types/ts3.4/commands/ConfigureLogsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateHarvestJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateOriginEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteOriginEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeHarvestJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOriginEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListHarvestJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListOriginEndpointsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/RotateChannelCredentialsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RotateIngestEndpointCredentialsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateOriginEndpointCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +19 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/MediaPackageServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1130 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListHarvestJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListOriginEndpointsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +59 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- 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-mediapackage
|
|
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-mediapackage
|
|
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-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";
|
|
@@ -239,6 +240,90 @@ var ConfigureLogsResponse;
|
|
|
239
240
|
...obj,
|
|
240
241
|
});
|
|
241
242
|
})(ConfigureLogsResponse = exports.ConfigureLogsResponse || (exports.ConfigureLogsResponse = {}));
|
|
243
|
+
class ForbiddenException extends MediaPackageServiceException_1.MediaPackageServiceException {
|
|
244
|
+
constructor(opts) {
|
|
245
|
+
super({
|
|
246
|
+
name: "ForbiddenException",
|
|
247
|
+
$fault: "client",
|
|
248
|
+
...opts,
|
|
249
|
+
});
|
|
250
|
+
this.name = "ForbiddenException";
|
|
251
|
+
this.$fault = "client";
|
|
252
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
253
|
+
this.Message = opts.Message;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
exports.ForbiddenException = ForbiddenException;
|
|
257
|
+
class InternalServerErrorException extends MediaPackageServiceException_1.MediaPackageServiceException {
|
|
258
|
+
constructor(opts) {
|
|
259
|
+
super({
|
|
260
|
+
name: "InternalServerErrorException",
|
|
261
|
+
$fault: "server",
|
|
262
|
+
...opts,
|
|
263
|
+
});
|
|
264
|
+
this.name = "InternalServerErrorException";
|
|
265
|
+
this.$fault = "server";
|
|
266
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
267
|
+
this.Message = opts.Message;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
exports.InternalServerErrorException = InternalServerErrorException;
|
|
271
|
+
class NotFoundException extends MediaPackageServiceException_1.MediaPackageServiceException {
|
|
272
|
+
constructor(opts) {
|
|
273
|
+
super({
|
|
274
|
+
name: "NotFoundException",
|
|
275
|
+
$fault: "client",
|
|
276
|
+
...opts,
|
|
277
|
+
});
|
|
278
|
+
this.name = "NotFoundException";
|
|
279
|
+
this.$fault = "client";
|
|
280
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
281
|
+
this.Message = opts.Message;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
exports.NotFoundException = NotFoundException;
|
|
285
|
+
class ServiceUnavailableException extends MediaPackageServiceException_1.MediaPackageServiceException {
|
|
286
|
+
constructor(opts) {
|
|
287
|
+
super({
|
|
288
|
+
name: "ServiceUnavailableException",
|
|
289
|
+
$fault: "server",
|
|
290
|
+
...opts,
|
|
291
|
+
});
|
|
292
|
+
this.name = "ServiceUnavailableException";
|
|
293
|
+
this.$fault = "server";
|
|
294
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
295
|
+
this.Message = opts.Message;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
299
|
+
class TooManyRequestsException extends MediaPackageServiceException_1.MediaPackageServiceException {
|
|
300
|
+
constructor(opts) {
|
|
301
|
+
super({
|
|
302
|
+
name: "TooManyRequestsException",
|
|
303
|
+
$fault: "client",
|
|
304
|
+
...opts,
|
|
305
|
+
});
|
|
306
|
+
this.name = "TooManyRequestsException";
|
|
307
|
+
this.$fault = "client";
|
|
308
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
309
|
+
this.Message = opts.Message;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
313
|
+
class UnprocessableEntityException extends MediaPackageServiceException_1.MediaPackageServiceException {
|
|
314
|
+
constructor(opts) {
|
|
315
|
+
super({
|
|
316
|
+
name: "UnprocessableEntityException",
|
|
317
|
+
$fault: "client",
|
|
318
|
+
...opts,
|
|
319
|
+
});
|
|
320
|
+
this.name = "UnprocessableEntityException";
|
|
321
|
+
this.$fault = "client";
|
|
322
|
+
Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
|
|
323
|
+
this.Message = opts.Message;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
exports.UnprocessableEntityException = UnprocessableEntityException;
|
|
242
327
|
var CreateChannelRequest;
|
|
243
328
|
(function (CreateChannelRequest) {
|
|
244
329
|
CreateChannelRequest.filterSensitiveLog = (obj) => ({
|