@aws-sdk/client-mediapackagev2 3.489.0 → 3.495.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 (41) hide show
  1. package/dist-cjs/MediaPackageV2.js +1 -59
  2. package/dist-cjs/MediaPackageV2Client.js +1 -43
  3. package/dist-cjs/commands/CreateChannelCommand.js +1 -28
  4. package/dist-cjs/commands/CreateChannelGroupCommand.js +1 -28
  5. package/dist-cjs/commands/CreateOriginEndpointCommand.js +1 -28
  6. package/dist-cjs/commands/DeleteChannelCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteChannelGroupCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteChannelPolicyCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteOriginEndpointCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteOriginEndpointPolicyCommand.js +1 -28
  11. package/dist-cjs/commands/GetChannelCommand.js +1 -28
  12. package/dist-cjs/commands/GetChannelGroupCommand.js +1 -28
  13. package/dist-cjs/commands/GetChannelPolicyCommand.js +1 -28
  14. package/dist-cjs/commands/GetOriginEndpointCommand.js +1 -28
  15. package/dist-cjs/commands/GetOriginEndpointPolicyCommand.js +1 -28
  16. package/dist-cjs/commands/ListChannelGroupsCommand.js +1 -28
  17. package/dist-cjs/commands/ListChannelsCommand.js +1 -28
  18. package/dist-cjs/commands/ListOriginEndpointsCommand.js +1 -28
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  20. package/dist-cjs/commands/PutChannelPolicyCommand.js +1 -28
  21. package/dist-cjs/commands/PutOriginEndpointPolicyCommand.js +1 -28
  22. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  23. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  24. package/dist-cjs/commands/UpdateChannelCommand.js +1 -28
  25. package/dist-cjs/commands/UpdateChannelGroupCommand.js +1 -28
  26. package/dist-cjs/commands/UpdateOriginEndpointCommand.js +1 -28
  27. package/dist-cjs/commands/index.js +1 -27
  28. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  29. package/dist-cjs/extensionConfiguration.js +1 -2
  30. package/dist-cjs/index.js +2660 -11
  31. package/dist-cjs/models/MediaPackageV2ServiceException.js +1 -12
  32. package/dist-cjs/models/index.js +1 -4
  33. package/dist-cjs/models/models_0.js +1 -206
  34. package/dist-cjs/pagination/Interfaces.js +1 -2
  35. package/dist-cjs/pagination/ListChannelGroupsPaginator.js +1 -7
  36. package/dist-cjs/pagination/ListChannelsPaginator.js +1 -7
  37. package/dist-cjs/pagination/ListOriginEndpointsPaginator.js +1 -7
  38. package/dist-cjs/pagination/index.js +1 -7
  39. package/dist-cjs/protocols/Aws_restJson1.js +1 -1792
  40. package/dist-cjs/runtimeExtensions.js +1 -22
  41. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MediaPackageV2ServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class MediaPackageV2ServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, MediaPackageV2ServiceException.prototype);
10
- }
11
- }
12
- exports.MediaPackageV2ServiceException = MediaPackageV2ServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,206 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ScteFilter = exports.PresetSpeke20Video = exports.PresetSpeke20Audio = exports.DrmSystem = exports.TsEncryptionMethod = exports.CmafEncryptionMethod = exports.ContainerType = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ResourceTypeNotFound = exports.ValidationException = exports.ValidationExceptionType = exports.ThrottlingException = exports.InternalServerException = exports.ConflictException = exports.ConflictExceptionType = exports.AdMarkerHls = exports.AccessDeniedException = void 0;
4
- const MediaPackageV2ServiceException_1 = require("./MediaPackageV2ServiceException");
5
- class AccessDeniedException extends MediaPackageV2ServiceException_1.MediaPackageV2ServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "AccessDeniedException";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
- this.Message = opts.Message;
16
- }
17
- }
18
- exports.AccessDeniedException = AccessDeniedException;
19
- exports.AdMarkerHls = {
20
- DATERANGE: "DATERANGE",
21
- };
22
- exports.ConflictExceptionType = {
23
- CONFLICTING_OPERATION: "CONFLICTING_OPERATION",
24
- IDEMPOTENT_PARAMETER_MISMATCH: "IDEMPOTENT_PARAMETER_MISMATCH",
25
- RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS",
26
- RESOURCE_IN_USE: "RESOURCE_IN_USE",
27
- };
28
- class ConflictException extends MediaPackageV2ServiceException_1.MediaPackageV2ServiceException {
29
- constructor(opts) {
30
- super({
31
- name: "ConflictException",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- this.name = "ConflictException";
36
- this.$fault = "client";
37
- Object.setPrototypeOf(this, ConflictException.prototype);
38
- this.Message = opts.Message;
39
- this.ConflictExceptionType = opts.ConflictExceptionType;
40
- }
41
- }
42
- exports.ConflictException = ConflictException;
43
- class InternalServerException extends MediaPackageV2ServiceException_1.MediaPackageV2ServiceException {
44
- constructor(opts) {
45
- super({
46
- name: "InternalServerException",
47
- $fault: "server",
48
- ...opts,
49
- });
50
- this.name = "InternalServerException";
51
- this.$fault = "server";
52
- Object.setPrototypeOf(this, InternalServerException.prototype);
53
- this.Message = opts.Message;
54
- }
55
- }
56
- exports.InternalServerException = InternalServerException;
57
- class ThrottlingException extends MediaPackageV2ServiceException_1.MediaPackageV2ServiceException {
58
- constructor(opts) {
59
- super({
60
- name: "ThrottlingException",
61
- $fault: "client",
62
- ...opts,
63
- });
64
- this.name = "ThrottlingException";
65
- this.$fault = "client";
66
- Object.setPrototypeOf(this, ThrottlingException.prototype);
67
- this.Message = opts.Message;
68
- }
69
- }
70
- exports.ThrottlingException = ThrottlingException;
71
- exports.ValidationExceptionType = {
72
- CENC_IV_INCOMPATIBLE: "CENC_IV_INCOMPATIBLE",
73
- CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE",
74
- DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE: "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE",
75
- ENCRYPTION_CONTRACT_SHARED: "ENCRYPTION_CONTRACT_SHARED",
76
- ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED",
77
- ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE",
78
- ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH: "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH",
79
- END_TIME_EARLIER_THAN_START_TIME: "END_TIME_EARLIER_THAN_START_TIME",
80
- INVALID_MANIFEST_FILTER: "INVALID_MANIFEST_FILTER",
81
- INVALID_PAGINATION_MAX_RESULTS: "INVALID_PAGINATION_MAX_RESULTS",
82
- INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN",
83
- INVALID_POLICY: "INVALID_POLICY",
84
- INVALID_ROLE_ARN: "INVALID_ROLE_ARN",
85
- INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS",
86
- MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION",
87
- MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN",
88
- MEMBER_INVALID: "MEMBER_INVALID",
89
- MEMBER_INVALID_ENUM_VALUE: "MEMBER_INVALID_ENUM_VALUE",
90
- MEMBER_MAX_LENGTH: "MEMBER_MAX_LENGTH",
91
- MEMBER_MAX_VALUE: "MEMBER_MAX_VALUE",
92
- MEMBER_MIN_LENGTH: "MEMBER_MIN_LENGTH",
93
- MEMBER_MIN_VALUE: "MEMBER_MIN_VALUE",
94
- MEMBER_MISSING: "MEMBER_MISSING",
95
- NUM_MANIFESTS_HIGH: "NUM_MANIFESTS_HIGH",
96
- NUM_MANIFESTS_LOW: "NUM_MANIFESTS_LOW",
97
- ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT",
98
- ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE",
99
- ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE",
100
- URL_INVALID: "URL_INVALID",
101
- URL_LINK_LOCAL_ADDRESS: "URL_LINK_LOCAL_ADDRESS",
102
- URL_LOCAL_ADDRESS: "URL_LOCAL_ADDRESS",
103
- URL_LOOPBACK_ADDRESS: "URL_LOOPBACK_ADDRESS",
104
- URL_MULTICAST_ADDRESS: "URL_MULTICAST_ADDRESS",
105
- URL_PORT: "URL_PORT",
106
- URL_SCHEME: "URL_SCHEME",
107
- URL_UNKNOWN_HOST: "URL_UNKNOWN_HOST",
108
- URL_USER_INFO: "URL_USER_INFO",
109
- };
110
- class ValidationException extends MediaPackageV2ServiceException_1.MediaPackageV2ServiceException {
111
- constructor(opts) {
112
- super({
113
- name: "ValidationException",
114
- $fault: "client",
115
- ...opts,
116
- });
117
- this.name = "ValidationException";
118
- this.$fault = "client";
119
- Object.setPrototypeOf(this, ValidationException.prototype);
120
- this.Message = opts.Message;
121
- this.ValidationExceptionType = opts.ValidationExceptionType;
122
- }
123
- }
124
- exports.ValidationException = ValidationException;
125
- exports.ResourceTypeNotFound = {
126
- CHANNEL: "CHANNEL",
127
- CHANNEL_GROUP: "CHANNEL_GROUP",
128
- ORIGIN_ENDPOINT: "ORIGIN_ENDPOINT",
129
- };
130
- class ResourceNotFoundException extends MediaPackageV2ServiceException_1.MediaPackageV2ServiceException {
131
- constructor(opts) {
132
- super({
133
- name: "ResourceNotFoundException",
134
- $fault: "client",
135
- ...opts,
136
- });
137
- this.name = "ResourceNotFoundException";
138
- this.$fault = "client";
139
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
140
- this.Message = opts.Message;
141
- this.ResourceTypeNotFound = opts.ResourceTypeNotFound;
142
- }
143
- }
144
- exports.ResourceNotFoundException = ResourceNotFoundException;
145
- class ServiceQuotaExceededException extends MediaPackageV2ServiceException_1.MediaPackageV2ServiceException {
146
- constructor(opts) {
147
- super({
148
- name: "ServiceQuotaExceededException",
149
- $fault: "client",
150
- ...opts,
151
- });
152
- this.name = "ServiceQuotaExceededException";
153
- this.$fault = "client";
154
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
155
- this.Message = opts.Message;
156
- }
157
- }
158
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
159
- exports.ContainerType = {
160
- CMAF: "CMAF",
161
- TS: "TS",
162
- };
163
- exports.CmafEncryptionMethod = {
164
- CBCS: "CBCS",
165
- CENC: "CENC",
166
- };
167
- exports.TsEncryptionMethod = {
168
- AES_128: "AES_128",
169
- SAMPLE_AES: "SAMPLE_AES",
170
- };
171
- exports.DrmSystem = {
172
- CLEAR_KEY_AES_128: "CLEAR_KEY_AES_128",
173
- FAIRPLAY: "FAIRPLAY",
174
- PLAYREADY: "PLAYREADY",
175
- WIDEVINE: "WIDEVINE",
176
- };
177
- exports.PresetSpeke20Audio = {
178
- PRESET_AUDIO_1: "PRESET_AUDIO_1",
179
- PRESET_AUDIO_2: "PRESET_AUDIO_2",
180
- PRESET_AUDIO_3: "PRESET_AUDIO_3",
181
- SHARED: "SHARED",
182
- UNENCRYPTED: "UNENCRYPTED",
183
- };
184
- exports.PresetSpeke20Video = {
185
- PRESET_VIDEO_1: "PRESET_VIDEO_1",
186
- PRESET_VIDEO_2: "PRESET_VIDEO_2",
187
- PRESET_VIDEO_3: "PRESET_VIDEO_3",
188
- PRESET_VIDEO_4: "PRESET_VIDEO_4",
189
- PRESET_VIDEO_5: "PRESET_VIDEO_5",
190
- PRESET_VIDEO_6: "PRESET_VIDEO_6",
191
- PRESET_VIDEO_7: "PRESET_VIDEO_7",
192
- PRESET_VIDEO_8: "PRESET_VIDEO_8",
193
- SHARED: "SHARED",
194
- UNENCRYPTED: "UNENCRYPTED",
195
- };
196
- exports.ScteFilter = {
197
- BREAK: "BREAK",
198
- DISTRIBUTOR_ADVERTISEMENT: "DISTRIBUTOR_ADVERTISEMENT",
199
- DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY: "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY",
200
- DISTRIBUTOR_PLACEMENT_OPPORTUNITY: "DISTRIBUTOR_PLACEMENT_OPPORTUNITY",
201
- PROGRAM: "PROGRAM",
202
- PROVIDER_ADVERTISEMENT: "PROVIDER_ADVERTISEMENT",
203
- PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY: "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY",
204
- PROVIDER_PLACEMENT_OPPORTUNITY: "PROVIDER_PLACEMENT_OPPORTUNITY",
205
- SPLICE_INSERT: "SPLICE_INSERT",
206
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListChannelGroups = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListChannelGroupsCommand_1 = require("../commands/ListChannelGroupsCommand");
6
- const MediaPackageV2Client_1 = require("../MediaPackageV2Client");
7
- exports.paginateListChannelGroups = (0, core_1.createPaginator)(MediaPackageV2Client_1.MediaPackageV2Client, ListChannelGroupsCommand_1.ListChannelGroupsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListChannels = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListChannelsCommand_1 = require("../commands/ListChannelsCommand");
6
- const MediaPackageV2Client_1 = require("../MediaPackageV2Client");
7
- exports.paginateListChannels = (0, core_1.createPaginator)(MediaPackageV2Client_1.MediaPackageV2Client, ListChannelsCommand_1.ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListOriginEndpoints = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListOriginEndpointsCommand_1 = require("../commands/ListOriginEndpointsCommand");
6
- const MediaPackageV2Client_1 = require("../MediaPackageV2Client");
7
- exports.paginateListOriginEndpoints = (0, core_1.createPaginator)(MediaPackageV2Client_1.MediaPackageV2Client, ListOriginEndpointsCommand_1.ListOriginEndpointsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListChannelGroupsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListChannelsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListOriginEndpointsPaginator"), exports);
1
+ module.exports = require("../index.js");