@aws-sdk/client-mediapackagev2 3.1074.0 → 3.1076.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/dist-cjs/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultMediaPackageV2HttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CancelHarvestJob$, CreateChannel$, CreateChannelGroup$, CreateHarvestJob$, CreateOriginEndpoint$, DeleteChannel$, DeleteChannelGroup$, DeleteChannelPolicy$, DeleteOriginEndpoint$, DeleteOriginEndpointPolicy$, GetChannel$, GetChannelGroup$, GetChannelPolicy$, GetHarvestJob$, GetOriginEndpoint$, GetOriginEndpointPolicy$, ListChannelGroups$, ListChannels$, ListHarvestJobs$, ListOriginEndpoints$, ListTagsForResource$, PutChannelPolicy$, PutOriginEndpointPolicy$, ResetChannelState$, ResetOriginEndpointState$, TagResource$, UntagResource$, UpdateChannel$, UpdateChannelGroup$, UpdateOriginEndpoint$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { MediaPackageV2ServiceException } = require("./models/MediaPackageV2ServiceException");
18
- exports.MediaPackageV2ServiceException = MediaPackageV2ServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultMediaPackageV2HttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "mediapackagev2",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultMediaPackageV2HttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,1283 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://mediapackagev2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://mediapackagev2-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://mediapackagev2.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://mediapackagev2.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class MediaPackageV2ServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, MediaPackageV2ServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends MediaPackageV2ServiceException {
140
+ name = "AccessDeniedException";
141
+ $fault = "client";
142
+ Message;
143
+ constructor(opts) {
144
+ super({
145
+ name: "AccessDeniedException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
150
+ this.Message = opts.Message;
151
+ }
152
+ }
153
+ class ConflictException extends MediaPackageV2ServiceException {
154
+ name = "ConflictException";
155
+ $fault = "client";
156
+ Message;
157
+ ConflictExceptionType;
158
+ constructor(opts) {
159
+ super({
160
+ name: "ConflictException",
161
+ $fault: "client",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, ConflictException.prototype);
165
+ this.Message = opts.Message;
166
+ this.ConflictExceptionType = opts.ConflictExceptionType;
167
+ }
168
+ }
169
+ class InternalServerException extends MediaPackageV2ServiceException {
170
+ name = "InternalServerException";
171
+ $fault = "server";
172
+ Message;
173
+ constructor(opts) {
174
+ super({
175
+ name: "InternalServerException",
176
+ $fault: "server",
177
+ ...opts,
178
+ });
179
+ Object.setPrototypeOf(this, InternalServerException.prototype);
180
+ this.Message = opts.Message;
181
+ }
182
+ }
183
+ class ResourceNotFoundException extends MediaPackageV2ServiceException {
184
+ name = "ResourceNotFoundException";
185
+ $fault = "client";
186
+ Message;
187
+ ResourceTypeNotFound;
188
+ constructor(opts) {
189
+ super({
190
+ name: "ResourceNotFoundException",
191
+ $fault: "client",
192
+ ...opts,
193
+ });
194
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
195
+ this.Message = opts.Message;
196
+ this.ResourceTypeNotFound = opts.ResourceTypeNotFound;
197
+ }
198
+ }
199
+ class ThrottlingException extends MediaPackageV2ServiceException {
200
+ name = "ThrottlingException";
201
+ $fault = "client";
202
+ Message;
203
+ constructor(opts) {
204
+ super({
205
+ name: "ThrottlingException",
206
+ $fault: "client",
207
+ ...opts,
208
+ });
209
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
210
+ this.Message = opts.Message;
211
+ }
212
+ }
213
+ class ValidationException extends MediaPackageV2ServiceException {
214
+ name = "ValidationException";
215
+ $fault = "client";
216
+ Message;
217
+ ValidationExceptionType;
218
+ constructor(opts) {
219
+ super({
220
+ name: "ValidationException",
221
+ $fault: "client",
222
+ ...opts,
223
+ });
224
+ Object.setPrototypeOf(this, ValidationException.prototype);
225
+ this.Message = opts.Message;
226
+ this.ValidationExceptionType = opts.ValidationExceptionType;
227
+ }
228
+ }
229
+ class ServiceQuotaExceededException extends MediaPackageV2ServiceException {
230
+ name = "ServiceQuotaExceededException";
231
+ $fault = "client";
232
+ Message;
233
+ constructor(opts) {
234
+ super({
235
+ name: "ServiceQuotaExceededException",
236
+ $fault: "client",
237
+ ...opts,
238
+ });
239
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
240
+ this.Message = opts.Message;
241
+ }
242
+ }
243
+
244
+ const _A = "Arn";
245
+ const _ADE = "AccessDeniedException";
246
+ const _AMD = "AdMarkerDash";
247
+ const _AMH = "AdMarkerHls";
248
+ const _ASTC = "AvailabilityStartTimeConfiguration";
249
+ const _ATP = "AudioTimelinePattern";
250
+ const _BN = "BucketName";
251
+ const _BU = "BaseUrls";
252
+ const _C = "Compactness";
253
+ const _CA = "CreatedAt";
254
+ const _CAC = "CdnAuthConfiguration";
255
+ const _CAT = "CustomAdTypes";
256
+ const _CAe = "CertificateArn";
257
+ const _CC = "CreateChannel";
258
+ const _CCG = "CreateChannelGroup";
259
+ const _CCGR = "CreateChannelGroupRequest";
260
+ const _CCGRr = "CreateChannelGroupResponse";
261
+ const _CCR = "CreateChannelRequest";
262
+ const _CCRr = "CreateChannelResponse";
263
+ const _CDM = "CreateDashManifests";
264
+ const _CDMC = "CreateDashManifestConfiguration";
265
+ const _CE = "ConflictException";
266
+ const _CEM = "CmafEncryptionMethod";
267
+ const _CESDM = "CmafExcludeSegmentDrmMetadata";
268
+ const _CET = "ConflictExceptionType";
269
+ const _CGL = "ChannelGroupsList";
270
+ const _CGLC = "ChannelGroupListConfiguration";
271
+ const _CGN = "ChannelGroupName";
272
+ const _CHJ = "CancelHarvestJob";
273
+ const _CHJR = "CancelHarvestJobRequest";
274
+ const _CHJRa = "CancelHarvestJobResponse";
275
+ const _CHJRr = "CreateHarvestJobRequest";
276
+ const _CHJRre = "CreateHarvestJobResponse";
277
+ const _CHJr = "CreateHarvestJob";
278
+ const _CHM = "CreateHlsManifests";
279
+ const _CHMC = "CreateHlsManifestConfiguration";
280
+ const _CISA = "CdnIdentifierSecretArns";
281
+ const _CIV = "ConstantInitializationVector";
282
+ const _CL = "ChannelList";
283
+ const _CLC = "ChannelListConfiguration";
284
+ const _CLLHM = "CreateLowLatencyHlsManifests";
285
+ const _CLLHMC = "CreateLowLatencyHlsManifestConfiguration";
286
+ const _CMM = "CreateMssManifests";
287
+ const _CMMC = "CreateMssManifestConfiguration";
288
+ const _CMN = "ChildManifestName";
289
+ const _CN = "ChannelName";
290
+ const _COE = "CreateOriginEndpoint";
291
+ const _COER = "CreateOriginEndpointRequest";
292
+ const _COERr = "CreateOriginEndpointResponse";
293
+ const _CST = "ClipStartTime";
294
+ const _CT = "ClientToken";
295
+ const _CTo = "ContainerType";
296
+ const _Co = "Copyright";
297
+ const _D = "Description";
298
+ const _DASTC = "DashAvailabilityStartTimeConfiguration";
299
+ const _DBU = "DashBaseUrl";
300
+ const _DBUa = "DashBaseUrls";
301
+ const _DC = "DeleteChannel";
302
+ const _DCG = "DeleteChannelGroup";
303
+ const _DCGR = "DeleteChannelGroupRequest";
304
+ const _DCGRe = "DeleteChannelGroupResponse";
305
+ const _DCP = "DeleteChannelPolicy";
306
+ const _DCPR = "DeleteChannelPolicyRequest";
307
+ const _DCPRe = "DeleteChannelPolicyResponse";
308
+ const _DCR = "DeleteChannelRequest";
309
+ const _DCRe = "DeleteChannelResponse";
310
+ const _DDEM = "DashDvbErrorMetrics";
311
+ const _DDFD = "DashDvbFontDownload";
312
+ const _DDMR = "DashDvbMetricsReporting";
313
+ const _DDS = "DashDvbSettings";
314
+ const _DM = "DashManifests";
315
+ const _DOE = "DeleteOriginEndpoint";
316
+ const _DOEP = "DeleteOriginEndpointPolicy";
317
+ const _DOEPR = "DeleteOriginEndpointPolicyRequest";
318
+ const _DOEPRe = "DeleteOriginEndpointPolicyResponse";
319
+ const _DOER = "DeleteOriginEndpointRequest";
320
+ const _DOERe = "DeleteOriginEndpointResponse";
321
+ const _DP = "DvbPriority";
322
+ const _DPI = "DashProgramInformation";
323
+ const _DPe = "DestinationPath";
324
+ const _DS = "DrmSignaling";
325
+ const _DSC = "DashSubtitleConfiguration";
326
+ const _DSr = "DrmSettings";
327
+ const _DSrm = "DrmSystems";
328
+ const _DSv = "DvbSettings";
329
+ const _DTC = "DashTtmlConfiguration";
330
+ const _DUT = "DashUtcTiming";
331
+ const _DW = "DvbWeight";
332
+ const _De = "Destination";
333
+ const _E = "Encryption";
334
+ const _ECC = "EncryptionContractConfiguration";
335
+ const _ED = "EgressDomain";
336
+ const _EEC = "EndpointErrorConditions";
337
+ const _EM = "ErrorMessage";
338
+ const _EMn = "EncryptionMethod";
339
+ const _EMr = "ErrorMetrics";
340
+ const _ET = "ETag";
341
+ const _ETn = "EndTime";
342
+ const _En = "End";
343
+ const _FAST = "FixedAvailabilityStartTime";
344
+ const _FC = "FilterConfiguration";
345
+ const _FD = "FontDownload";
346
+ const _FEEC = "ForceEndpointErrorConfiguration";
347
+ const _FF = "FontFamily";
348
+ const _GC = "GetChannel";
349
+ const _GCG = "GetChannelGroup";
350
+ const _GCGR = "GetChannelGroupRequest";
351
+ const _GCGRe = "GetChannelGroupResponse";
352
+ const _GCP = "GetChannelPolicy";
353
+ const _GCPR = "GetChannelPolicyRequest";
354
+ const _GCPRe = "GetChannelPolicyResponse";
355
+ const _GCR = "GetChannelRequest";
356
+ const _GCRe = "GetChannelResponse";
357
+ const _GDM = "GetDashManifests";
358
+ const _GDMC = "GetDashManifestConfiguration";
359
+ const _GHJ = "GetHarvestJob";
360
+ const _GHJR = "GetHarvestJobRequest";
361
+ const _GHJRe = "GetHarvestJobResponse";
362
+ const _GHM = "GetHlsManifests";
363
+ const _GHMC = "GetHlsManifestConfiguration";
364
+ const _GLLHM = "GetLowLatencyHlsManifests";
365
+ const _GLLHMC = "GetLowLatencyHlsManifestConfiguration";
366
+ const _GMM = "GetMssManifests";
367
+ const _GMMC = "GetMssManifestConfiguration";
368
+ const _GOE = "GetOriginEndpoint";
369
+ const _GOEP = "GetOriginEndpointPolicy";
370
+ const _GOEPR = "GetOriginEndpointPolicyRequest";
371
+ const _GOEPRe = "GetOriginEndpointPolicyResponse";
372
+ const _GOER = "GetOriginEndpointRequest";
373
+ const _GOERe = "GetOriginEndpointResponse";
374
+ const _HDM = "HarvestedDashManifest";
375
+ const _HDML = "HarvestedDashManifestsList";
376
+ const _HHM = "HarvestedHlsManifest";
377
+ const _HHML = "HarvestedHlsManifestsList";
378
+ const _HJ = "HarvestJob";
379
+ const _HJL = "HarvestJobsList";
380
+ const _HJN = "HarvestJobName";
381
+ const _HLLHM = "HarvestedLowLatencyHlsManifest";
382
+ const _HLLHML = "HarvestedLowLatencyHlsManifestsList";
383
+ const _HM = "HarvestedManifests";
384
+ const _HMl = "HlsManifests";
385
+ const _HSC = "HarvesterScheduleConfiguration";
386
+ const _I = "Id";
387
+ const _IE = "IngestEndpoints";
388
+ const _IEL = "IngestEndpointList";
389
+ const _IEM = "IsmEncryptionMethod";
390
+ const _IEn = "IngestEndpoint";
391
+ const _IIOS = "IncludeIframeOnlyStreams";
392
+ const _ISC = "InputSwitchConfiguration";
393
+ const _ISE = "InternalServerException";
394
+ const _IT = "InputType";
395
+ const _It = "Items";
396
+ const _KRIS = "KeyRotationIntervalSeconds";
397
+ const _LC = "LanguageCode";
398
+ const _LCG = "ListChannelGroups";
399
+ const _LCGR = "ListChannelGroupsRequest";
400
+ const _LCGRi = "ListChannelGroupsResponse";
401
+ const _LCR = "ListChannelsRequest";
402
+ const _LCRi = "ListChannelsResponse";
403
+ const _LCi = "ListChannels";
404
+ const _LDM = "ListDashManifests";
405
+ const _LDMC = "ListDashManifestConfiguration";
406
+ const _LHJ = "ListHarvestJobs";
407
+ const _LHJR = "ListHarvestJobsRequest";
408
+ const _LHJRi = "ListHarvestJobsResponse";
409
+ const _LHM = "ListHlsManifests";
410
+ const _LHMC = "ListHlsManifestConfiguration";
411
+ const _LLHM = "LowLatencyHlsManifests";
412
+ const _LLLHM = "ListLowLatencyHlsManifests";
413
+ const _LLLHMC = "ListLowLatencyHlsManifestConfiguration";
414
+ const _LMM = "ListMssManifests";
415
+ const _LMMC = "ListMssManifestConfiguration";
416
+ const _LOE = "ListOriginEndpoints";
417
+ const _LOER = "ListOriginEndpointsRequest";
418
+ const _LOERi = "ListOriginEndpointsResponse";
419
+ const _LTFR = "ListTagsForResource";
420
+ const _LTFRR = "ListTagsForResourceRequest";
421
+ const _LTFRRi = "ListTagsForResourceResponse";
422
+ const _M = "Message";
423
+ const _MA = "ModifiedAt";
424
+ const _MBTS = "MinBufferTimeSeconds";
425
+ const _MF = "ManifestFilter";
426
+ const _MIU = "MoreInformationUrl";
427
+ const _ML = "ManifestLayout";
428
+ const _MM = "MssManifests";
429
+ const _MN = "ManifestName";
430
+ const _MQCSIS = "MQCSInputSwitching";
431
+ const _MR = "MaxResults";
432
+ const _MT = "MimeType";
433
+ const _MUPS = "MinUpdatePeriodSeconds";
434
+ const _MWS = "ManifestWindowSeconds";
435
+ const _NT = "NextToken";
436
+ const _OEL = "OriginEndpointsList";
437
+ const _OELC = "OriginEndpointListConfiguration";
438
+ const _OEN = "OriginEndpointName";
439
+ const _OHC = "OutputHeaderConfiguration";
440
+ const _P = "Profiles";
441
+ const _PCP = "PutChannelPolicy";
442
+ const _PCPR = "PutChannelPolicyRequest";
443
+ const _PCPRu = "PutChannelPolicyResponse";
444
+ const _PDTIS = "ProgramDateTimeIntervalSeconds";
445
+ const _PI = "ProgramInformation";
446
+ const _PIr = "PreferredInput";
447
+ const _PMQCS = "PublishMQCS";
448
+ const _POEP = "PutOriginEndpointPolicy";
449
+ const _POEPR = "PutOriginEndpointPolicyRequest";
450
+ const _POEPRu = "PutOriginEndpointPolicyResponse";
451
+ const _PSA = "PresetSpeke20Audio";
452
+ const _PSV = "PresetSpeke20Video";
453
+ const _PT = "PeriodTriggers";
454
+ const _Po = "Policy";
455
+ const _Pr = "Probability";
456
+ const _Pre = "Precise";
457
+ const _RA = "ResetAt";
458
+ const _RAe = "ResourceArn";
459
+ const _RAo = "RoleArn";
460
+ const _RCS = "ResetChannelState";
461
+ const _RCSR = "ResetChannelStateRequest";
462
+ const _RCSRe = "ResetChannelStateResponse";
463
+ const _RI = "ResourceId";
464
+ const _RNFE = "ResourceNotFoundException";
465
+ const _ROES = "ResetOriginEndpointState";
466
+ const _ROESR = "ResetOriginEndpointStateRequest";
467
+ const _ROESRe = "ResetOriginEndpointStateResponse";
468
+ const _RTNF = "ResourceTypeNotFound";
469
+ const _RU = "ReportingUrl";
470
+ const _S = "Status";
471
+ const _SC = "SubtitleConfiguration";
472
+ const _SCc = "ScheduleConfiguration";
473
+ const _SD = "ScteDash";
474
+ const _SDC = "S3DestinationConfig";
475
+ const _SDS = "SegmentDurationSeconds";
476
+ const _SDe = "S3Destination";
477
+ const _SF = "ScteFilter";
478
+ const _SH = "ScteHls";
479
+ const _SIM = "ScteInManifests";
480
+ const _SIS = "ScteInSegments";
481
+ const _SKP = "SpekeKeyProvider";
482
+ const _SL = "ServiceLocation";
483
+ const _SN = "SegmentName";
484
+ const _SPDS = "SuggestedPresentationDelaySeconds";
485
+ const _SQEE = "ServiceQuotaExceededException";
486
+ const _SRA = "SecretsRoleArn";
487
+ const _ST = "StartTag";
488
+ const _STF = "SegmentTemplateFormat";
489
+ const _STt = "StartTime";
490
+ const _SWS = "StartoverWindowSeconds";
491
+ const _Sc = "Scte";
492
+ const _Se = "Segment";
493
+ const _So = "Source";
494
+ const _St = "Start";
495
+ const _T = "Tags";
496
+ const _TC = "TtmlConfiguration";
497
+ const _TDS = "TimeDelaySeconds";
498
+ const _TE = "ThrottlingException";
499
+ const _TEM = "TsEncryptionMethod";
500
+ const _TIDS = "TsIncludeDvbSubtitles";
501
+ const _TK = "TagKeys";
502
+ const _TM = "TimingMode";
503
+ const _TO = "TimeOffset";
504
+ const _TP = "TtmlProfile";
505
+ const _TR = "TagResource";
506
+ const _TRR = "TagResourceRequest";
507
+ const _TS = "TimingSource";
508
+ const _TUARG = "TsUseAudioRenditionGroup";
509
+ const _Ti = "Title";
510
+ const _U = "Url";
511
+ const _UC = "UpdateChannel";
512
+ const _UCG = "UpdateChannelGroup";
513
+ const _UCGR = "UpdateChannelGroupRequest";
514
+ const _UCGRp = "UpdateChannelGroupResponse";
515
+ const _UCR = "UpdateChannelRequest";
516
+ const _UCRp = "UpdateChannelResponse";
517
+ const _UECM = "UrlEncodeChildManifest";
518
+ const _UOE = "UpdateOriginEndpoint";
519
+ const _UOER = "UpdateOriginEndpointRequest";
520
+ const _UOERp = "UpdateOriginEndpointResponse";
521
+ const _UPT = "UriPathType";
522
+ const _UR = "UntagResource";
523
+ const _URR = "UntagResourceRequest";
524
+ const _US = "UriSeparator";
525
+ const _UT = "UtcTiming";
526
+ const _VE = "ValidationException";
527
+ const _VET = "ValidationExceptionType";
528
+ const _c = "client";
529
+ const _cN = "channelName";
530
+ const _e = "error";
531
+ const _h = "http";
532
+ const _hE = "httpError";
533
+ const _hH = "httpHeader";
534
+ const _hQ = "httpQuery";
535
+ const _iS = "includeStatus";
536
+ const _iT = "idempotencyToken";
537
+ const _jN = "jsonName";
538
+ const _mR = "maxResults";
539
+ const _nT = "nextToken";
540
+ const _oEN = "originEndpointName";
541
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.mediapackagev2";
542
+ const _se = "server";
543
+ const _t = "tags";
544
+ const _tK = "tagKeys";
545
+ const _xact = "x-amzn-client-token";
546
+ const _xauim = "x-amzn-update-if-match";
547
+ const n0 = "com.amazonaws.mediapackagev2";
548
+ const _s_registry = TypeRegistry.for(_s);
549
+ var MediaPackageV2ServiceException$ = [-3, _s, "MediaPackageV2ServiceException", 0, [], []];
550
+ _s_registry.registerError(MediaPackageV2ServiceException$, MediaPackageV2ServiceException);
551
+ const n0_registry = TypeRegistry.for(n0);
552
+ var AccessDeniedException$ = [-3, n0, _ADE,
553
+ { [_e]: _c, [_hE]: 403 },
554
+ [_M],
555
+ [0]
556
+ ];
557
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
558
+ var ConflictException$ = [-3, n0, _CE,
559
+ { [_e]: _c, [_hE]: 409 },
560
+ [_M, _CET],
561
+ [0, 0]
562
+ ];
563
+ n0_registry.registerError(ConflictException$, ConflictException);
564
+ var InternalServerException$ = [-3, n0, _ISE,
565
+ { [_e]: _se, [_hE]: 500 },
566
+ [_M],
567
+ [0]
568
+ ];
569
+ n0_registry.registerError(InternalServerException$, InternalServerException);
570
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
571
+ { [_e]: _c, [_hE]: 404 },
572
+ [_M, _RTNF],
573
+ [0, 0]
574
+ ];
575
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
576
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
577
+ { [_e]: _c, [_hE]: 402 },
578
+ [_M],
579
+ [0]
580
+ ];
581
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
582
+ var ThrottlingException$ = [-3, n0, _TE,
583
+ { [_e]: _c, [_hE]: 429 },
584
+ [_M],
585
+ [0]
586
+ ];
587
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
588
+ var ValidationException$ = [-3, n0, _VE,
589
+ { [_e]: _c },
590
+ [_M, _VET],
591
+ [0, 0]
592
+ ];
593
+ n0_registry.registerError(ValidationException$, ValidationException);
594
+ const errorTypeRegistries = [
595
+ _s_registry,
596
+ n0_registry,
597
+ ];
598
+ var CancelHarvestJobRequest$ = [3, n0, _CHJR,
599
+ 0,
600
+ [_CGN, _CN, _OEN, _HJN, _ET],
601
+ [[0, 1], [0, 1], [0, 1], [0, 1], [0, { [_hH]: _xauim }]], 4
602
+ ];
603
+ var CancelHarvestJobResponse$ = [3, n0, _CHJRa,
604
+ 0,
605
+ [],
606
+ []
607
+ ];
608
+ var CdnAuthConfiguration$ = [3, n0, _CAC,
609
+ 0,
610
+ [_CISA, _SRA],
611
+ [64 | 0, 0], 2
612
+ ];
613
+ var ChannelGroupListConfiguration$ = [3, n0, _CGLC,
614
+ 0,
615
+ [_CGN, _A, _CA, _MA, _D],
616
+ [0, 0, 4, 4, 0], 4
617
+ ];
618
+ var ChannelListConfiguration$ = [3, n0, _CLC,
619
+ 0,
620
+ [_A, _CN, _CGN, _CA, _MA, _D, _IT],
621
+ [0, 0, 0, 4, 4, 0, 0], 5
622
+ ];
623
+ var CreateChannelGroupRequest$ = [3, n0, _CCGR,
624
+ 0,
625
+ [_CGN, _CT, _D, _T],
626
+ [0, [0, { [_hH]: _xact, [_iT]: 1 }], 0, [128 | 0, { [_jN]: _t }]], 1
627
+ ];
628
+ var CreateChannelGroupResponse$ = [3, n0, _CCGRr,
629
+ 0,
630
+ [_CGN, _A, _ED, _CA, _MA, _ET, _D, _T],
631
+ [0, 0, 0, 4, 4, 0, 0, 128 | 0], 5
632
+ ];
633
+ var CreateChannelRequest$ = [3, n0, _CCR,
634
+ 0,
635
+ [_CGN, _CN, _CT, _IT, _D, _ISC, _OHC, _T],
636
+ [[0, 1], 0, [0, { [_hH]: _xact, [_iT]: 1 }], 0, 0, () => InputSwitchConfiguration$, () => OutputHeaderConfiguration$, [128 | 0, { [_jN]: _t }]], 2
637
+ ];
638
+ var CreateChannelResponse$ = [3, n0, _CCRr,
639
+ 0,
640
+ [_A, _CN, _CGN, _CA, _MA, _D, _IE, _IT, _ET, _T, _ISC, _OHC],
641
+ [0, 0, 0, 4, 4, 0, () => IngestEndpointList, 0, 0, 128 | 0, () => InputSwitchConfiguration$, () => OutputHeaderConfiguration$], 5
642
+ ];
643
+ var CreateDashManifestConfiguration$ = [3, n0, _CDMC,
644
+ 0,
645
+ [_MN, _MWS, _FC, _MUPS, _MBTS, _SPDS, _STF, _PT, _SD, _DS, _UT, _P, _BU, _PI, _DSv, _C, _ATP, _SC, _UPT, _ASTC],
646
+ [0, 1, () => FilterConfiguration$, 1, 1, 1, 0, 64 | 0, () => ScteDash$, 0, () => DashUtcTiming$, 64 | 0, () => DashBaseUrls, () => DashProgramInformation$, () => DashDvbSettings$, 0, 0, () => DashSubtitleConfiguration$, 0, () => DashAvailabilityStartTimeConfiguration$], 1
647
+ ];
648
+ var CreateHarvestJobRequest$ = [3, n0, _CHJRr,
649
+ 0,
650
+ [_CGN, _CN, _OEN, _HM, _SCc, _De, _D, _CT, _HJN, _T],
651
+ [[0, 1], [0, 1], [0, 1], () => HarvestedManifests$, () => HarvesterScheduleConfiguration$, () => Destination$, 0, [0, { [_hH]: _xact, [_iT]: 1 }], 0, 128 | 0], 6
652
+ ];
653
+ var CreateHarvestJobResponse$ = [3, n0, _CHJRre,
654
+ 0,
655
+ [_CGN, _CN, _OEN, _De, _HJN, _HM, _SCc, _A, _CA, _MA, _S, _D, _EM, _ET, _T],
656
+ [0, 0, 0, () => Destination$, 0, () => HarvestedManifests$, () => HarvesterScheduleConfiguration$, 0, 4, 4, 0, 0, 0, 0, 128 | 0], 11
657
+ ];
658
+ var CreateHlsManifestConfiguration$ = [3, n0, _CHMC,
659
+ 0,
660
+ [_MN, _CMN, _SH, _ST, _MWS, _PDTIS, _FC, _UECM, _UPT],
661
+ [0, 0, () => ScteHls$, () => StartTag$, 1, 1, () => FilterConfiguration$, 2, 0], 1
662
+ ];
663
+ var CreateLowLatencyHlsManifestConfiguration$ = [3, n0, _CLLHMC,
664
+ 0,
665
+ [_MN, _CMN, _SH, _ST, _MWS, _PDTIS, _FC, _UECM, _UPT],
666
+ [0, 0, () => ScteHls$, () => StartTag$, 1, 1, () => FilterConfiguration$, 2, 0], 1
667
+ ];
668
+ var CreateMssManifestConfiguration$ = [3, n0, _CMMC,
669
+ 0,
670
+ [_MN, _MWS, _FC, _ML],
671
+ [0, 1, () => FilterConfiguration$, 0], 1
672
+ ];
673
+ var CreateOriginEndpointRequest$ = [3, n0, _COER,
674
+ 0,
675
+ [_CGN, _CN, _OEN, _CTo, _Se, _CT, _D, _SWS, _HMl, _LLHM, _DM, _MM, _FEEC, _US, _T],
676
+ [[0, 1], [0, 1], 0, 0, () => Segment$, [0, { [_hH]: _xact, [_iT]: 1 }], 0, 1, () => CreateHlsManifests, () => CreateLowLatencyHlsManifests, () => CreateDashManifests, () => CreateMssManifests, () => ForceEndpointErrorConfiguration$, 0, 128 | 0], 4
677
+ ];
678
+ var CreateOriginEndpointResponse$ = [3, n0, _COERr,
679
+ 0,
680
+ [_A, _CGN, _CN, _OEN, _CTo, _Se, _CA, _MA, _D, _SWS, _HMl, _LLHM, _DM, _MM, _FEEC, _US, _ET, _T],
681
+ [0, 0, 0, 0, 0, () => Segment$, 4, 4, 0, 1, () => GetHlsManifests, () => GetLowLatencyHlsManifests, () => GetDashManifests, () => GetMssManifests, () => ForceEndpointErrorConfiguration$, 0, 0, 128 | 0], 8
682
+ ];
683
+ var DashBaseUrl$ = [3, n0, _DBU,
684
+ 0,
685
+ [_U, _SL, _DP, _DW],
686
+ [0, 0, 1, 1], 1
687
+ ];
688
+ var DashDvbFontDownload$ = [3, n0, _DDFD,
689
+ 0,
690
+ [_U, _MT, _FF],
691
+ [0, 0, 0]
692
+ ];
693
+ var DashDvbMetricsReporting$ = [3, n0, _DDMR,
694
+ 0,
695
+ [_RU, _Pr],
696
+ [0, 1], 1
697
+ ];
698
+ var DashDvbSettings$ = [3, n0, _DDS,
699
+ 0,
700
+ [_FD, _EMr],
701
+ [() => DashDvbFontDownload$, () => DashDvbErrorMetrics]
702
+ ];
703
+ var DashProgramInformation$ = [3, n0, _DPI,
704
+ 0,
705
+ [_Ti, _So, _Co, _LC, _MIU],
706
+ [0, 0, 0, 0, 0]
707
+ ];
708
+ var DashSubtitleConfiguration$ = [3, n0, _DSC,
709
+ 0,
710
+ [_TC],
711
+ [() => DashTtmlConfiguration$]
712
+ ];
713
+ var DashTtmlConfiguration$ = [3, n0, _DTC,
714
+ 0,
715
+ [_TP],
716
+ [0], 1
717
+ ];
718
+ var DashUtcTiming$ = [3, n0, _DUT,
719
+ 0,
720
+ [_TM, _TS],
721
+ [0, 0]
722
+ ];
723
+ var DeleteChannelGroupRequest$ = [3, n0, _DCGR,
724
+ 0,
725
+ [_CGN],
726
+ [[0, 1]], 1
727
+ ];
728
+ var DeleteChannelGroupResponse$ = [3, n0, _DCGRe,
729
+ 0,
730
+ [],
731
+ []
732
+ ];
733
+ var DeleteChannelPolicyRequest$ = [3, n0, _DCPR,
734
+ 0,
735
+ [_CGN, _CN],
736
+ [[0, 1], [0, 1]], 2
737
+ ];
738
+ var DeleteChannelPolicyResponse$ = [3, n0, _DCPRe,
739
+ 0,
740
+ [],
741
+ []
742
+ ];
743
+ var DeleteChannelRequest$ = [3, n0, _DCR,
744
+ 0,
745
+ [_CGN, _CN],
746
+ [[0, 1], [0, 1]], 2
747
+ ];
748
+ var DeleteChannelResponse$ = [3, n0, _DCRe,
749
+ 0,
750
+ [],
751
+ []
752
+ ];
753
+ var DeleteOriginEndpointPolicyRequest$ = [3, n0, _DOEPR,
754
+ 0,
755
+ [_CGN, _CN, _OEN],
756
+ [[0, 1], [0, 1], [0, 1]], 3
757
+ ];
758
+ var DeleteOriginEndpointPolicyResponse$ = [3, n0, _DOEPRe,
759
+ 0,
760
+ [],
761
+ []
762
+ ];
763
+ var DeleteOriginEndpointRequest$ = [3, n0, _DOER,
764
+ 0,
765
+ [_CGN, _CN, _OEN],
766
+ [[0, 1], [0, 1], [0, 1]], 3
767
+ ];
768
+ var DeleteOriginEndpointResponse$ = [3, n0, _DOERe,
769
+ 0,
770
+ [],
771
+ []
772
+ ];
773
+ var Destination$ = [3, n0, _De,
774
+ 0,
775
+ [_SDe],
776
+ [() => S3DestinationConfig$], 1
777
+ ];
778
+ var Encryption$ = [3, n0, _E,
779
+ 0,
780
+ [_EMn, _SKP, _CIV, _KRIS, _CESDM],
781
+ [() => EncryptionMethod$, () => SpekeKeyProvider$, 0, 1, 2], 2
782
+ ];
783
+ var EncryptionContractConfiguration$ = [3, n0, _ECC,
784
+ 0,
785
+ [_PSA, _PSV],
786
+ [0, 0], 2
787
+ ];
788
+ var EncryptionMethod$ = [3, n0, _EMn,
789
+ 0,
790
+ [_TEM, _CEM, _IEM],
791
+ [0, 0, 0]
792
+ ];
793
+ var FilterConfiguration$ = [3, n0, _FC,
794
+ 0,
795
+ [_MF, _DSr, _St, _En, _TDS, _CST],
796
+ [0, 0, 4, 4, 1, 4]
797
+ ];
798
+ var ForceEndpointErrorConfiguration$ = [3, n0, _FEEC,
799
+ 0,
800
+ [_EEC],
801
+ [64 | 0]
802
+ ];
803
+ var GetChannelGroupRequest$ = [3, n0, _GCGR,
804
+ 0,
805
+ [_CGN],
806
+ [[0, 1]], 1
807
+ ];
808
+ var GetChannelGroupResponse$ = [3, n0, _GCGRe,
809
+ 0,
810
+ [_CGN, _A, _ED, _CA, _MA, _D, _ET, _T],
811
+ [0, 0, 0, 4, 4, 0, 0, [128 | 0, { [_jN]: _t }]], 5
812
+ ];
813
+ var GetChannelPolicyRequest$ = [3, n0, _GCPR,
814
+ 0,
815
+ [_CGN, _CN],
816
+ [[0, 1], [0, 1]], 2
817
+ ];
818
+ var GetChannelPolicyResponse$ = [3, n0, _GCPRe,
819
+ 0,
820
+ [_CGN, _CN, _Po],
821
+ [0, 0, 0], 3
822
+ ];
823
+ var GetChannelRequest$ = [3, n0, _GCR,
824
+ 0,
825
+ [_CGN, _CN],
826
+ [[0, 1], [0, 1]], 2
827
+ ];
828
+ var GetChannelResponse$ = [3, n0, _GCRe,
829
+ 0,
830
+ [_A, _CN, _CGN, _CA, _MA, _RA, _D, _IE, _IT, _ET, _T, _ISC, _OHC],
831
+ [0, 0, 0, 4, 4, 4, 0, () => IngestEndpointList, 0, 0, 128 | 0, () => InputSwitchConfiguration$, () => OutputHeaderConfiguration$], 5
832
+ ];
833
+ var GetDashManifestConfiguration$ = [3, n0, _GDMC,
834
+ 0,
835
+ [_MN, _U, _MWS, _FC, _MUPS, _MBTS, _SPDS, _STF, _PT, _SD, _DS, _UT, _P, _BU, _PI, _DSv, _C, _ATP, _SC, _UPT, _ASTC],
836
+ [0, 0, 1, () => FilterConfiguration$, 1, 1, 1, 0, 64 | 0, () => ScteDash$, 0, () => DashUtcTiming$, 64 | 0, () => DashBaseUrls, () => DashProgramInformation$, () => DashDvbSettings$, 0, 0, () => DashSubtitleConfiguration$, 0, () => DashAvailabilityStartTimeConfiguration$], 2
837
+ ];
838
+ var GetHarvestJobRequest$ = [3, n0, _GHJR,
839
+ 0,
840
+ [_CGN, _CN, _OEN, _HJN],
841
+ [[0, 1], [0, 1], [0, 1], [0, 1]], 4
842
+ ];
843
+ var GetHarvestJobResponse$ = [3, n0, _GHJRe,
844
+ 0,
845
+ [_CGN, _CN, _OEN, _De, _HJN, _HM, _SCc, _A, _CA, _MA, _S, _D, _EM, _ET, _T],
846
+ [0, 0, 0, () => Destination$, 0, () => HarvestedManifests$, () => HarvesterScheduleConfiguration$, 0, 4, 4, 0, 0, 0, 0, 128 | 0], 11
847
+ ];
848
+ var GetHlsManifestConfiguration$ = [3, n0, _GHMC,
849
+ 0,
850
+ [_MN, _U, _CMN, _MWS, _PDTIS, _SH, _FC, _ST, _UECM, _UPT],
851
+ [0, 0, 0, 1, 1, () => ScteHls$, () => FilterConfiguration$, () => StartTag$, 2, 0], 2
852
+ ];
853
+ var GetLowLatencyHlsManifestConfiguration$ = [3, n0, _GLLHMC,
854
+ 0,
855
+ [_MN, _U, _CMN, _MWS, _PDTIS, _SH, _FC, _ST, _UECM, _UPT],
856
+ [0, 0, 0, 1, 1, () => ScteHls$, () => FilterConfiguration$, () => StartTag$, 2, 0], 2
857
+ ];
858
+ var GetMssManifestConfiguration$ = [3, n0, _GMMC,
859
+ 0,
860
+ [_MN, _U, _FC, _MWS, _ML],
861
+ [0, 0, () => FilterConfiguration$, 1, 0], 2
862
+ ];
863
+ var GetOriginEndpointPolicyRequest$ = [3, n0, _GOEPR,
864
+ 0,
865
+ [_CGN, _CN, _OEN],
866
+ [[0, 1], [0, 1], [0, 1]], 3
867
+ ];
868
+ var GetOriginEndpointPolicyResponse$ = [3, n0, _GOEPRe,
869
+ 0,
870
+ [_CGN, _CN, _OEN, _Po, _CAC],
871
+ [0, 0, 0, 0, () => CdnAuthConfiguration$], 4
872
+ ];
873
+ var GetOriginEndpointRequest$ = [3, n0, _GOER,
874
+ 0,
875
+ [_CGN, _CN, _OEN],
876
+ [[0, 1], [0, 1], [0, 1]], 3
877
+ ];
878
+ var GetOriginEndpointResponse$ = [3, n0, _GOERe,
879
+ 0,
880
+ [_A, _CGN, _CN, _OEN, _CTo, _Se, _CA, _MA, _RA, _D, _SWS, _HMl, _LLHM, _DM, _MM, _FEEC, _US, _ET, _T],
881
+ [0, 0, 0, 0, 0, () => Segment$, 4, 4, 4, 0, 1, () => GetHlsManifests, () => GetLowLatencyHlsManifests, () => GetDashManifests, () => GetMssManifests, () => ForceEndpointErrorConfiguration$, 0, 0, 128 | 0], 8
882
+ ];
883
+ var HarvestedDashManifest$ = [3, n0, _HDM,
884
+ 0,
885
+ [_MN],
886
+ [0], 1
887
+ ];
888
+ var HarvestedHlsManifest$ = [3, n0, _HHM,
889
+ 0,
890
+ [_MN],
891
+ [0], 1
892
+ ];
893
+ var HarvestedLowLatencyHlsManifest$ = [3, n0, _HLLHM,
894
+ 0,
895
+ [_MN],
896
+ [0], 1
897
+ ];
898
+ var HarvestedManifests$ = [3, n0, _HM,
899
+ 0,
900
+ [_HMl, _DM, _LLHM],
901
+ [() => HarvestedHlsManifestsList, () => HarvestedDashManifestsList, () => HarvestedLowLatencyHlsManifestsList]
902
+ ];
903
+ var HarvesterScheduleConfiguration$ = [3, n0, _HSC,
904
+ 0,
905
+ [_STt, _ETn],
906
+ [4, 4], 2
907
+ ];
908
+ var HarvestJob$ = [3, n0, _HJ,
909
+ 0,
910
+ [_CGN, _CN, _OEN, _De, _HJN, _HM, _SCc, _A, _CA, _MA, _S, _D, _EM, _ET],
911
+ [0, 0, 0, () => Destination$, 0, () => HarvestedManifests$, () => HarvesterScheduleConfiguration$, 0, 4, 4, 0, 0, 0, 0], 11
912
+ ];
913
+ var IngestEndpoint$ = [3, n0, _IEn,
914
+ 0,
915
+ [_I, _U],
916
+ [0, 0]
917
+ ];
918
+ var InputSwitchConfiguration$ = [3, n0, _ISC,
919
+ 0,
920
+ [_MQCSIS, _PIr],
921
+ [2, 1]
922
+ ];
923
+ var ListChannelGroupsRequest$ = [3, n0, _LCGR,
924
+ 0,
925
+ [_MR, _NT],
926
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
927
+ ];
928
+ var ListChannelGroupsResponse$ = [3, n0, _LCGRi,
929
+ 0,
930
+ [_It, _NT],
931
+ [() => ChannelGroupsList, 0]
932
+ ];
933
+ var ListChannelsRequest$ = [3, n0, _LCR,
934
+ 0,
935
+ [_CGN, _MR, _NT],
936
+ [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
937
+ ];
938
+ var ListChannelsResponse$ = [3, n0, _LCRi,
939
+ 0,
940
+ [_It, _NT],
941
+ [() => ChannelList, 0]
942
+ ];
943
+ var ListDashManifestConfiguration$ = [3, n0, _LDMC,
944
+ 0,
945
+ [_MN, _U],
946
+ [0, 0], 1
947
+ ];
948
+ var ListHarvestJobsRequest$ = [3, n0, _LHJR,
949
+ 0,
950
+ [_CGN, _CN, _OEN, _S, _MR, _NT],
951
+ [[0, 1], [0, { [_hQ]: _cN }], [0, { [_hQ]: _oEN }], [0, { [_hQ]: _iS }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
952
+ ];
953
+ var ListHarvestJobsResponse$ = [3, n0, _LHJRi,
954
+ 0,
955
+ [_It, _NT],
956
+ [() => HarvestJobsList, 0]
957
+ ];
958
+ var ListHlsManifestConfiguration$ = [3, n0, _LHMC,
959
+ 0,
960
+ [_MN, _CMN, _U],
961
+ [0, 0, 0], 1
962
+ ];
963
+ var ListLowLatencyHlsManifestConfiguration$ = [3, n0, _LLLHMC,
964
+ 0,
965
+ [_MN, _CMN, _U],
966
+ [0, 0, 0], 1
967
+ ];
968
+ var ListMssManifestConfiguration$ = [3, n0, _LMMC,
969
+ 0,
970
+ [_MN, _U],
971
+ [0, 0], 1
972
+ ];
973
+ var ListOriginEndpointsRequest$ = [3, n0, _LOER,
974
+ 0,
975
+ [_CGN, _CN, _MR, _NT],
976
+ [[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 2
977
+ ];
978
+ var ListOriginEndpointsResponse$ = [3, n0, _LOERi,
979
+ 0,
980
+ [_It, _NT],
981
+ [() => OriginEndpointsList, 0]
982
+ ];
983
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
984
+ 0,
985
+ [_RAe],
986
+ [[0, 1]], 1
987
+ ];
988
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
989
+ 0,
990
+ [_T],
991
+ [[128 | 0, { [_jN]: _t }]]
992
+ ];
993
+ var OriginEndpointListConfiguration$ = [3, n0, _OELC,
994
+ 0,
995
+ [_A, _CGN, _CN, _OEN, _CTo, _D, _CA, _MA, _HMl, _LLHM, _DM, _MM, _FEEC, _US],
996
+ [0, 0, 0, 0, 0, 0, 4, 4, () => ListHlsManifests, () => ListLowLatencyHlsManifests, () => ListDashManifests, () => ListMssManifests, () => ForceEndpointErrorConfiguration$, 0], 5
997
+ ];
998
+ var OutputHeaderConfiguration$ = [3, n0, _OHC,
999
+ 0,
1000
+ [_PMQCS],
1001
+ [2]
1002
+ ];
1003
+ var PutChannelPolicyRequest$ = [3, n0, _PCPR,
1004
+ 0,
1005
+ [_CGN, _CN, _Po],
1006
+ [[0, 1], [0, 1], 0], 3
1007
+ ];
1008
+ var PutChannelPolicyResponse$ = [3, n0, _PCPRu,
1009
+ 0,
1010
+ [],
1011
+ []
1012
+ ];
1013
+ var PutOriginEndpointPolicyRequest$ = [3, n0, _POEPR,
1014
+ 0,
1015
+ [_CGN, _CN, _OEN, _Po, _CAC],
1016
+ [[0, 1], [0, 1], [0, 1], 0, () => CdnAuthConfiguration$], 4
1017
+ ];
1018
+ var PutOriginEndpointPolicyResponse$ = [3, n0, _POEPRu,
1019
+ 0,
1020
+ [],
1021
+ []
1022
+ ];
1023
+ var ResetChannelStateRequest$ = [3, n0, _RCSR,
1024
+ 0,
1025
+ [_CGN, _CN],
1026
+ [[0, 1], [0, 1]], 2
1027
+ ];
1028
+ var ResetChannelStateResponse$ = [3, n0, _RCSRe,
1029
+ 0,
1030
+ [_CGN, _CN, _A, _RA],
1031
+ [0, 0, 0, 4], 4
1032
+ ];
1033
+ var ResetOriginEndpointStateRequest$ = [3, n0, _ROESR,
1034
+ 0,
1035
+ [_CGN, _CN, _OEN],
1036
+ [[0, 1], [0, 1], [0, 1]], 3
1037
+ ];
1038
+ var ResetOriginEndpointStateResponse$ = [3, n0, _ROESRe,
1039
+ 0,
1040
+ [_CGN, _CN, _OEN, _A, _RA],
1041
+ [0, 0, 0, 0, 4], 5
1042
+ ];
1043
+ var S3DestinationConfig$ = [3, n0, _SDC,
1044
+ 0,
1045
+ [_BN, _DPe],
1046
+ [0, 0], 2
1047
+ ];
1048
+ var Scte$ = [3, n0, _Sc,
1049
+ 0,
1050
+ [_SF, _SIS, _CAT],
1051
+ [64 | 0, 0, 64 | 0]
1052
+ ];
1053
+ var ScteDash$ = [3, n0, _SD,
1054
+ 0,
1055
+ [_AMD, _SIM],
1056
+ [0, 0]
1057
+ ];
1058
+ var ScteHls$ = [3, n0, _SH,
1059
+ 0,
1060
+ [_AMH, _SIM],
1061
+ [0, 0]
1062
+ ];
1063
+ var Segment$ = [3, n0, _Se,
1064
+ 0,
1065
+ [_SDS, _SN, _TUARG, _IIOS, _TIDS, _Sc, _E],
1066
+ [1, 0, 2, 2, 2, () => Scte$, () => Encryption$]
1067
+ ];
1068
+ var SpekeKeyProvider$ = [3, n0, _SKP,
1069
+ 0,
1070
+ [_ECC, _RI, _DSrm, _RAo, _U, _CAe],
1071
+ [() => EncryptionContractConfiguration$, 0, 64 | 0, 0, 0, 0], 5
1072
+ ];
1073
+ var StartTag$ = [3, n0, _ST,
1074
+ 0,
1075
+ [_TO, _Pre],
1076
+ [1, 2], 1
1077
+ ];
1078
+ var TagResourceRequest$ = [3, n0, _TRR,
1079
+ 0,
1080
+ [_RAe, _T],
1081
+ [[0, 1], [128 | 0, { [_jN]: _t }]], 2
1082
+ ];
1083
+ var UntagResourceRequest$ = [3, n0, _URR,
1084
+ 0,
1085
+ [_RAe, _TK],
1086
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
1087
+ ];
1088
+ var UpdateChannelGroupRequest$ = [3, n0, _UCGR,
1089
+ 0,
1090
+ [_CGN, _ET, _D],
1091
+ [[0, 1], [0, { [_hH]: _xauim }], 0], 1
1092
+ ];
1093
+ var UpdateChannelGroupResponse$ = [3, n0, _UCGRp,
1094
+ 0,
1095
+ [_CGN, _A, _ED, _CA, _MA, _D, _ET, _T],
1096
+ [0, 0, 0, 4, 4, 0, 0, [128 | 0, { [_jN]: _t }]], 5
1097
+ ];
1098
+ var UpdateChannelRequest$ = [3, n0, _UCR,
1099
+ 0,
1100
+ [_CGN, _CN, _ET, _D, _ISC, _OHC],
1101
+ [[0, 1], [0, 1], [0, { [_hH]: _xauim }], 0, () => InputSwitchConfiguration$, () => OutputHeaderConfiguration$], 2
1102
+ ];
1103
+ var UpdateChannelResponse$ = [3, n0, _UCRp,
1104
+ 0,
1105
+ [_A, _CN, _CGN, _CA, _MA, _D, _IE, _IT, _ET, _T, _ISC, _OHC],
1106
+ [0, 0, 0, 4, 4, 0, () => IngestEndpointList, 0, 0, [128 | 0, { [_jN]: _t }], () => InputSwitchConfiguration$, () => OutputHeaderConfiguration$], 5
1107
+ ];
1108
+ var UpdateOriginEndpointRequest$ = [3, n0, _UOER,
1109
+ 0,
1110
+ [_CGN, _CN, _OEN, _CTo, _Se, _D, _SWS, _HMl, _LLHM, _DM, _MM, _FEEC, _US, _ET],
1111
+ [[0, 1], [0, 1], [0, 1], 0, () => Segment$, 0, 1, () => CreateHlsManifests, () => CreateLowLatencyHlsManifests, () => CreateDashManifests, () => CreateMssManifests, () => ForceEndpointErrorConfiguration$, 0, [0, { [_hH]: _xauim }]], 4
1112
+ ];
1113
+ var UpdateOriginEndpointResponse$ = [3, n0, _UOERp,
1114
+ 0,
1115
+ [_A, _CGN, _CN, _OEN, _CTo, _Se, _CA, _MA, _D, _SWS, _HMl, _LLHM, _MM, _FEEC, _US, _ET, _T, _DM],
1116
+ [0, 0, 0, 0, 0, () => Segment$, 4, 4, 0, 1, () => GetHlsManifests, () => GetLowLatencyHlsManifests, () => GetMssManifests, () => ForceEndpointErrorConfiguration$, 0, 0, [128 | 0, { [_jN]: _t }], () => GetDashManifests], 8
1117
+ ];
1118
+ var __Unit = "unit";
1119
+ var ChannelGroupsList = [1, n0, _CGL,
1120
+ 0, () => ChannelGroupListConfiguration$
1121
+ ];
1122
+ var ChannelList = [1, n0, _CL,
1123
+ 0, () => ChannelListConfiguration$
1124
+ ];
1125
+ var CreateDashManifests = [1, n0, _CDM,
1126
+ 0, () => CreateDashManifestConfiguration$
1127
+ ];
1128
+ var CreateHlsManifests = [1, n0, _CHM,
1129
+ 0, () => CreateHlsManifestConfiguration$
1130
+ ];
1131
+ var CreateLowLatencyHlsManifests = [1, n0, _CLLHM,
1132
+ 0, () => CreateLowLatencyHlsManifestConfiguration$
1133
+ ];
1134
+ var CreateMssManifests = [1, n0, _CMM,
1135
+ 0, () => CreateMssManifestConfiguration$
1136
+ ];
1137
+ var DashBaseUrls = [1, n0, _DBUa,
1138
+ 0, () => DashBaseUrl$
1139
+ ];
1140
+ var DashDvbErrorMetrics = [1, n0, _DDEM,
1141
+ 0, () => DashDvbMetricsReporting$
1142
+ ];
1143
+ var GetDashManifests = [1, n0, _GDM,
1144
+ 0, () => GetDashManifestConfiguration$
1145
+ ];
1146
+ var GetHlsManifests = [1, n0, _GHM,
1147
+ 0, () => GetHlsManifestConfiguration$
1148
+ ];
1149
+ var GetLowLatencyHlsManifests = [1, n0, _GLLHM,
1150
+ 0, () => GetLowLatencyHlsManifestConfiguration$
1151
+ ];
1152
+ var GetMssManifests = [1, n0, _GMM,
1153
+ 0, () => GetMssManifestConfiguration$
1154
+ ];
1155
+ var HarvestedDashManifestsList = [1, n0, _HDML,
1156
+ 0, () => HarvestedDashManifest$
1157
+ ];
1158
+ var HarvestedHlsManifestsList = [1, n0, _HHML,
1159
+ 0, () => HarvestedHlsManifest$
1160
+ ];
1161
+ var HarvestedLowLatencyHlsManifestsList = [1, n0, _HLLHML,
1162
+ 0, () => HarvestedLowLatencyHlsManifest$
1163
+ ];
1164
+ var HarvestJobsList = [1, n0, _HJL,
1165
+ 0, () => HarvestJob$
1166
+ ];
1167
+ var IngestEndpointList = [1, n0, _IEL,
1168
+ 0, () => IngestEndpoint$
1169
+ ];
1170
+ var ListDashManifests = [1, n0, _LDM,
1171
+ 0, () => ListDashManifestConfiguration$
1172
+ ];
1173
+ var ListHlsManifests = [1, n0, _LHM,
1174
+ 0, () => ListHlsManifestConfiguration$
1175
+ ];
1176
+ var ListLowLatencyHlsManifests = [1, n0, _LLLHM,
1177
+ 0, () => ListLowLatencyHlsManifestConfiguration$
1178
+ ];
1179
+ var ListMssManifests = [1, n0, _LMM,
1180
+ 0, () => ListMssManifestConfiguration$
1181
+ ];
1182
+ var OriginEndpointsList = [1, n0, _OEL,
1183
+ 0, () => OriginEndpointListConfiguration$
1184
+ ];
1185
+ var DashAvailabilityStartTimeConfiguration$ = [4, n0, _DASTC,
1186
+ 0,
1187
+ [_FAST],
1188
+ [5]
1189
+ ];
1190
+ var CancelHarvestJob$ = [9, n0, _CHJ,
1191
+ { [_h]: ["PUT", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}", 200] }, () => CancelHarvestJobRequest$, () => CancelHarvestJobResponse$
1192
+ ];
1193
+ var CreateChannel$ = [9, n0, _CC,
1194
+ { [_h]: ["POST", "/channelGroup/{ChannelGroupName}/channel", 200] }, () => CreateChannelRequest$, () => CreateChannelResponse$
1195
+ ];
1196
+ var CreateChannelGroup$ = [9, n0, _CCG,
1197
+ { [_h]: ["POST", "/channelGroup", 200] }, () => CreateChannelGroupRequest$, () => CreateChannelGroupResponse$
1198
+ ];
1199
+ var CreateHarvestJob$ = [9, n0, _CHJr,
1200
+ { [_h]: ["POST", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob", 200] }, () => CreateHarvestJobRequest$, () => CreateHarvestJobResponse$
1201
+ ];
1202
+ var CreateOriginEndpoint$ = [9, n0, _COE,
1203
+ { [_h]: ["POST", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint", 200] }, () => CreateOriginEndpointRequest$, () => CreateOriginEndpointResponse$
1204
+ ];
1205
+ var DeleteChannel$ = [9, n0, _DC,
1206
+ { [_h]: ["DELETE", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/", 200] }, () => DeleteChannelRequest$, () => DeleteChannelResponse$
1207
+ ];
1208
+ var DeleteChannelGroup$ = [9, n0, _DCG,
1209
+ { [_h]: ["DELETE", "/channelGroup/{ChannelGroupName}", 200] }, () => DeleteChannelGroupRequest$, () => DeleteChannelGroupResponse$
1210
+ ];
1211
+ var DeleteChannelPolicy$ = [9, n0, _DCP,
1212
+ { [_h]: ["DELETE", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy", 200] }, () => DeleteChannelPolicyRequest$, () => DeleteChannelPolicyResponse$
1213
+ ];
1214
+ var DeleteOriginEndpoint$ = [9, n0, _DOE,
1215
+ { [_h]: ["DELETE", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}", 200] }, () => DeleteOriginEndpointRequest$, () => DeleteOriginEndpointResponse$
1216
+ ];
1217
+ var DeleteOriginEndpointPolicy$ = [9, n0, _DOEP,
1218
+ { [_h]: ["DELETE", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy", 200] }, () => DeleteOriginEndpointPolicyRequest$, () => DeleteOriginEndpointPolicyResponse$
1219
+ ];
1220
+ var GetChannel$ = [9, n0, _GC,
1221
+ { [_h]: ["GET", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/", 200] }, () => GetChannelRequest$, () => GetChannelResponse$
1222
+ ];
1223
+ var GetChannelGroup$ = [9, n0, _GCG,
1224
+ { [_h]: ["GET", "/channelGroup/{ChannelGroupName}", 200] }, () => GetChannelGroupRequest$, () => GetChannelGroupResponse$
1225
+ ];
1226
+ var GetChannelPolicy$ = [9, n0, _GCP,
1227
+ { [_h]: ["GET", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy", 200] }, () => GetChannelPolicyRequest$, () => GetChannelPolicyResponse$
1228
+ ];
1229
+ var GetHarvestJob$ = [9, n0, _GHJ,
1230
+ { [_h]: ["GET", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}", 200] }, () => GetHarvestJobRequest$, () => GetHarvestJobResponse$
1231
+ ];
1232
+ var GetOriginEndpoint$ = [9, n0, _GOE,
1233
+ { [_h]: ["GET", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}", 200] }, () => GetOriginEndpointRequest$, () => GetOriginEndpointResponse$
1234
+ ];
1235
+ var GetOriginEndpointPolicy$ = [9, n0, _GOEP,
1236
+ { [_h]: ["GET", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy", 200] }, () => GetOriginEndpointPolicyRequest$, () => GetOriginEndpointPolicyResponse$
1237
+ ];
1238
+ var ListChannelGroups$ = [9, n0, _LCG,
1239
+ { [_h]: ["GET", "/channelGroup", 200] }, () => ListChannelGroupsRequest$, () => ListChannelGroupsResponse$
1240
+ ];
1241
+ var ListChannels$ = [9, n0, _LCi,
1242
+ { [_h]: ["GET", "/channelGroup/{ChannelGroupName}/channel", 200] }, () => ListChannelsRequest$, () => ListChannelsResponse$
1243
+ ];
1244
+ var ListHarvestJobs$ = [9, n0, _LHJ,
1245
+ { [_h]: ["GET", "/channelGroup/{ChannelGroupName}/harvestJob", 200] }, () => ListHarvestJobsRequest$, () => ListHarvestJobsResponse$
1246
+ ];
1247
+ var ListOriginEndpoints$ = [9, n0, _LOE,
1248
+ { [_h]: ["GET", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint", 200] }, () => ListOriginEndpointsRequest$, () => ListOriginEndpointsResponse$
1249
+ ];
1250
+ var ListTagsForResource$ = [9, n0, _LTFR,
1251
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
1252
+ ];
1253
+ var PutChannelPolicy$ = [9, n0, _PCP,
1254
+ { [_h]: ["PUT", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy", 200] }, () => PutChannelPolicyRequest$, () => PutChannelPolicyResponse$
1255
+ ];
1256
+ var PutOriginEndpointPolicy$ = [9, n0, _POEP,
1257
+ { [_h]: ["POST", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy", 200] }, () => PutOriginEndpointPolicyRequest$, () => PutOriginEndpointPolicyResponse$
1258
+ ];
1259
+ var ResetChannelState$ = [9, n0, _RCS,
1260
+ { [_h]: ["POST", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/reset", 200] }, () => ResetChannelStateRequest$, () => ResetChannelStateResponse$
1261
+ ];
1262
+ var ResetOriginEndpointState$ = [9, n0, _ROES,
1263
+ { [_h]: ["POST", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/reset", 200] }, () => ResetOriginEndpointStateRequest$, () => ResetOriginEndpointStateResponse$
1264
+ ];
1265
+ var TagResource$ = [9, n0, _TR,
1266
+ { [_h]: ["POST", "/tags/{ResourceArn}", 204] }, () => TagResourceRequest$, () => __Unit
1267
+ ];
1268
+ var UntagResource$ = [9, n0, _UR,
1269
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () => UntagResourceRequest$, () => __Unit
1270
+ ];
1271
+ var UpdateChannel$ = [9, n0, _UC,
1272
+ { [_h]: ["PUT", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/", 200] }, () => UpdateChannelRequest$, () => UpdateChannelResponse$
1273
+ ];
1274
+ var UpdateChannelGroup$ = [9, n0, _UCG,
1275
+ { [_h]: ["PUT", "/channelGroup/{ChannelGroupName}", 200] }, () => UpdateChannelGroupRequest$, () => UpdateChannelGroupResponse$
1276
+ ];
1277
+ var UpdateOriginEndpoint$ = [9, n0, _UOE,
1278
+ { [_h]: ["PUT", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}", 200] }, () => UpdateOriginEndpointRequest$, () => UpdateOriginEndpointResponse$
1279
+ ];
1280
+
1281
+ const getRuntimeConfig$1 = (config) => {
1282
+ return {
1283
+ apiVersion: "2022-12-25",
1284
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1285
+ base64Encoder: config?.base64Encoder ?? toBase64,
1286
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1287
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1288
+ extensions: config?.extensions ?? [],
1289
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultMediaPackageV2HttpAuthSchemeProvider,
1290
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1291
+ {
1292
+ schemeId: "aws.auth#sigv4",
1293
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1294
+ signer: new AwsSdkSigV4Signer(),
1295
+ },
1296
+ ],
1297
+ logger: config?.logger ?? new NoOpLogger(),
1298
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1299
+ protocolSettings: config?.protocolSettings ?? {
1300
+ defaultNamespace: "com.amazonaws.mediapackagev2",
1301
+ errorTypeRegistries,
1302
+ version: "2022-12-25",
1303
+ serviceTarget: "mediapackagev2",
1304
+ },
1305
+ serviceId: config?.serviceId ?? "MediaPackageV2",
1306
+ urlParser: config?.urlParser ?? parseUrl,
1307
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1308
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1309
+ };
1310
+ };
1311
+
1312
+ const getRuntimeConfig = (config) => {
1313
+ emitWarningIfUnsupportedVersion(process.version);
1314
+ const defaultsMode = resolveDefaultsModeConfig(config);
1315
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1316
+ const clientSharedValues = getRuntimeConfig$1(config);
1317
+ emitWarningIfUnsupportedVersion$1(process.version);
1318
+ const loaderConfig = {
1319
+ profile: config?.profile,
1320
+ logger: clientSharedValues.logger,
1321
+ };
1322
+ return {
1323
+ ...clientSharedValues,
1324
+ ...config,
1325
+ runtime: "node",
1326
+ defaultsMode,
1327
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1328
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1329
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1330
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1331
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1332
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1333
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1334
+ retryMode: config?.retryMode ??
1335
+ loadConfig({
1336
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1337
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1338
+ }, config),
1339
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1340
+ streamCollector: config?.streamCollector ?? streamCollector,
1341
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1342
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1343
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1344
+ };
1345
+ };
1346
+
34
1347
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1348
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1349
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -856,68 +2169,220 @@ const HarvestJobStatus = {
856
2169
  QUEUED: "QUEUED",
857
2170
  };
858
2171
 
2172
+ exports.AccessDeniedException = AccessDeniedException;
2173
+ exports.AccessDeniedException$ = AccessDeniedException$;
859
2174
  exports.AdMarkerDash = AdMarkerDash;
860
2175
  exports.AdMarkerHls = AdMarkerHls;
2176
+ exports.CancelHarvestJob$ = CancelHarvestJob$;
861
2177
  exports.CancelHarvestJobCommand = CancelHarvestJobCommand;
2178
+ exports.CancelHarvestJobRequest$ = CancelHarvestJobRequest$;
2179
+ exports.CancelHarvestJobResponse$ = CancelHarvestJobResponse$;
2180
+ exports.CdnAuthConfiguration$ = CdnAuthConfiguration$;
2181
+ exports.ChannelGroupListConfiguration$ = ChannelGroupListConfiguration$;
2182
+ exports.ChannelListConfiguration$ = ChannelListConfiguration$;
862
2183
  exports.CmafEncryptionMethod = CmafEncryptionMethod;
2184
+ exports.ConflictException = ConflictException;
2185
+ exports.ConflictException$ = ConflictException$;
863
2186
  exports.ConflictExceptionType = ConflictExceptionType;
864
2187
  exports.ContainerType = ContainerType;
2188
+ exports.CreateChannel$ = CreateChannel$;
865
2189
  exports.CreateChannelCommand = CreateChannelCommand;
2190
+ exports.CreateChannelGroup$ = CreateChannelGroup$;
866
2191
  exports.CreateChannelGroupCommand = CreateChannelGroupCommand;
2192
+ exports.CreateChannelGroupRequest$ = CreateChannelGroupRequest$;
2193
+ exports.CreateChannelGroupResponse$ = CreateChannelGroupResponse$;
2194
+ exports.CreateChannelRequest$ = CreateChannelRequest$;
2195
+ exports.CreateChannelResponse$ = CreateChannelResponse$;
2196
+ exports.CreateDashManifestConfiguration$ = CreateDashManifestConfiguration$;
2197
+ exports.CreateHarvestJob$ = CreateHarvestJob$;
867
2198
  exports.CreateHarvestJobCommand = CreateHarvestJobCommand;
2199
+ exports.CreateHarvestJobRequest$ = CreateHarvestJobRequest$;
2200
+ exports.CreateHarvestJobResponse$ = CreateHarvestJobResponse$;
2201
+ exports.CreateHlsManifestConfiguration$ = CreateHlsManifestConfiguration$;
2202
+ exports.CreateLowLatencyHlsManifestConfiguration$ = CreateLowLatencyHlsManifestConfiguration$;
2203
+ exports.CreateMssManifestConfiguration$ = CreateMssManifestConfiguration$;
2204
+ exports.CreateOriginEndpoint$ = CreateOriginEndpoint$;
868
2205
  exports.CreateOriginEndpointCommand = CreateOriginEndpointCommand;
2206
+ exports.CreateOriginEndpointRequest$ = CreateOriginEndpointRequest$;
2207
+ exports.CreateOriginEndpointResponse$ = CreateOriginEndpointResponse$;
869
2208
  exports.CustomAdType = CustomAdType;
870
2209
  exports.DashAudioTimelinePattern = DashAudioTimelinePattern;
2210
+ exports.DashAvailabilityStartTimeConfiguration$ = DashAvailabilityStartTimeConfiguration$;
2211
+ exports.DashBaseUrl$ = DashBaseUrl$;
871
2212
  exports.DashCompactness = DashCompactness;
872
2213
  exports.DashDrmSignaling = DashDrmSignaling;
2214
+ exports.DashDvbFontDownload$ = DashDvbFontDownload$;
2215
+ exports.DashDvbMetricsReporting$ = DashDvbMetricsReporting$;
2216
+ exports.DashDvbSettings$ = DashDvbSettings$;
873
2217
  exports.DashPeriodTrigger = DashPeriodTrigger;
874
2218
  exports.DashProfile = DashProfile;
2219
+ exports.DashProgramInformation$ = DashProgramInformation$;
875
2220
  exports.DashSegmentTemplateFormat = DashSegmentTemplateFormat;
2221
+ exports.DashSubtitleConfiguration$ = DashSubtitleConfiguration$;
2222
+ exports.DashTtmlConfiguration$ = DashTtmlConfiguration$;
876
2223
  exports.DashTtmlProfile = DashTtmlProfile;
2224
+ exports.DashUtcTiming$ = DashUtcTiming$;
877
2225
  exports.DashUtcTimingMode = DashUtcTimingMode;
2226
+ exports.DeleteChannel$ = DeleteChannel$;
878
2227
  exports.DeleteChannelCommand = DeleteChannelCommand;
2228
+ exports.DeleteChannelGroup$ = DeleteChannelGroup$;
879
2229
  exports.DeleteChannelGroupCommand = DeleteChannelGroupCommand;
2230
+ exports.DeleteChannelGroupRequest$ = DeleteChannelGroupRequest$;
2231
+ exports.DeleteChannelGroupResponse$ = DeleteChannelGroupResponse$;
2232
+ exports.DeleteChannelPolicy$ = DeleteChannelPolicy$;
880
2233
  exports.DeleteChannelPolicyCommand = DeleteChannelPolicyCommand;
2234
+ exports.DeleteChannelPolicyRequest$ = DeleteChannelPolicyRequest$;
2235
+ exports.DeleteChannelPolicyResponse$ = DeleteChannelPolicyResponse$;
2236
+ exports.DeleteChannelRequest$ = DeleteChannelRequest$;
2237
+ exports.DeleteChannelResponse$ = DeleteChannelResponse$;
2238
+ exports.DeleteOriginEndpoint$ = DeleteOriginEndpoint$;
881
2239
  exports.DeleteOriginEndpointCommand = DeleteOriginEndpointCommand;
2240
+ exports.DeleteOriginEndpointPolicy$ = DeleteOriginEndpointPolicy$;
882
2241
  exports.DeleteOriginEndpointPolicyCommand = DeleteOriginEndpointPolicyCommand;
2242
+ exports.DeleteOriginEndpointPolicyRequest$ = DeleteOriginEndpointPolicyRequest$;
2243
+ exports.DeleteOriginEndpointPolicyResponse$ = DeleteOriginEndpointPolicyResponse$;
2244
+ exports.DeleteOriginEndpointRequest$ = DeleteOriginEndpointRequest$;
2245
+ exports.DeleteOriginEndpointResponse$ = DeleteOriginEndpointResponse$;
2246
+ exports.Destination$ = Destination$;
883
2247
  exports.DrmSystem = DrmSystem;
2248
+ exports.Encryption$ = Encryption$;
2249
+ exports.EncryptionContractConfiguration$ = EncryptionContractConfiguration$;
2250
+ exports.EncryptionMethod$ = EncryptionMethod$;
884
2251
  exports.EndpointErrorCondition = EndpointErrorCondition;
2252
+ exports.FilterConfiguration$ = FilterConfiguration$;
2253
+ exports.ForceEndpointErrorConfiguration$ = ForceEndpointErrorConfiguration$;
2254
+ exports.GetChannel$ = GetChannel$;
885
2255
  exports.GetChannelCommand = GetChannelCommand;
2256
+ exports.GetChannelGroup$ = GetChannelGroup$;
886
2257
  exports.GetChannelGroupCommand = GetChannelGroupCommand;
2258
+ exports.GetChannelGroupRequest$ = GetChannelGroupRequest$;
2259
+ exports.GetChannelGroupResponse$ = GetChannelGroupResponse$;
2260
+ exports.GetChannelPolicy$ = GetChannelPolicy$;
887
2261
  exports.GetChannelPolicyCommand = GetChannelPolicyCommand;
2262
+ exports.GetChannelPolicyRequest$ = GetChannelPolicyRequest$;
2263
+ exports.GetChannelPolicyResponse$ = GetChannelPolicyResponse$;
2264
+ exports.GetChannelRequest$ = GetChannelRequest$;
2265
+ exports.GetChannelResponse$ = GetChannelResponse$;
2266
+ exports.GetDashManifestConfiguration$ = GetDashManifestConfiguration$;
2267
+ exports.GetHarvestJob$ = GetHarvestJob$;
888
2268
  exports.GetHarvestJobCommand = GetHarvestJobCommand;
2269
+ exports.GetHarvestJobRequest$ = GetHarvestJobRequest$;
2270
+ exports.GetHarvestJobResponse$ = GetHarvestJobResponse$;
2271
+ exports.GetHlsManifestConfiguration$ = GetHlsManifestConfiguration$;
2272
+ exports.GetLowLatencyHlsManifestConfiguration$ = GetLowLatencyHlsManifestConfiguration$;
2273
+ exports.GetMssManifestConfiguration$ = GetMssManifestConfiguration$;
2274
+ exports.GetOriginEndpoint$ = GetOriginEndpoint$;
889
2275
  exports.GetOriginEndpointCommand = GetOriginEndpointCommand;
2276
+ exports.GetOriginEndpointPolicy$ = GetOriginEndpointPolicy$;
890
2277
  exports.GetOriginEndpointPolicyCommand = GetOriginEndpointPolicyCommand;
2278
+ exports.GetOriginEndpointPolicyRequest$ = GetOriginEndpointPolicyRequest$;
2279
+ exports.GetOriginEndpointPolicyResponse$ = GetOriginEndpointPolicyResponse$;
2280
+ exports.GetOriginEndpointRequest$ = GetOriginEndpointRequest$;
2281
+ exports.GetOriginEndpointResponse$ = GetOriginEndpointResponse$;
2282
+ exports.HarvestJob$ = HarvestJob$;
891
2283
  exports.HarvestJobStatus = HarvestJobStatus;
2284
+ exports.HarvestedDashManifest$ = HarvestedDashManifest$;
2285
+ exports.HarvestedHlsManifest$ = HarvestedHlsManifest$;
2286
+ exports.HarvestedLowLatencyHlsManifest$ = HarvestedLowLatencyHlsManifest$;
2287
+ exports.HarvestedManifests$ = HarvestedManifests$;
2288
+ exports.HarvesterScheduleConfiguration$ = HarvesterScheduleConfiguration$;
2289
+ exports.IngestEndpoint$ = IngestEndpoint$;
2290
+ exports.InputSwitchConfiguration$ = InputSwitchConfiguration$;
892
2291
  exports.InputType = InputType;
2292
+ exports.InternalServerException = InternalServerException;
2293
+ exports.InternalServerException$ = InternalServerException$;
893
2294
  exports.IsmEncryptionMethod = IsmEncryptionMethod;
2295
+ exports.ListChannelGroups$ = ListChannelGroups$;
894
2296
  exports.ListChannelGroupsCommand = ListChannelGroupsCommand;
2297
+ exports.ListChannelGroupsRequest$ = ListChannelGroupsRequest$;
2298
+ exports.ListChannelGroupsResponse$ = ListChannelGroupsResponse$;
2299
+ exports.ListChannels$ = ListChannels$;
895
2300
  exports.ListChannelsCommand = ListChannelsCommand;
2301
+ exports.ListChannelsRequest$ = ListChannelsRequest$;
2302
+ exports.ListChannelsResponse$ = ListChannelsResponse$;
2303
+ exports.ListDashManifestConfiguration$ = ListDashManifestConfiguration$;
2304
+ exports.ListHarvestJobs$ = ListHarvestJobs$;
896
2305
  exports.ListHarvestJobsCommand = ListHarvestJobsCommand;
2306
+ exports.ListHarvestJobsRequest$ = ListHarvestJobsRequest$;
2307
+ exports.ListHarvestJobsResponse$ = ListHarvestJobsResponse$;
2308
+ exports.ListHlsManifestConfiguration$ = ListHlsManifestConfiguration$;
2309
+ exports.ListLowLatencyHlsManifestConfiguration$ = ListLowLatencyHlsManifestConfiguration$;
2310
+ exports.ListMssManifestConfiguration$ = ListMssManifestConfiguration$;
2311
+ exports.ListOriginEndpoints$ = ListOriginEndpoints$;
897
2312
  exports.ListOriginEndpointsCommand = ListOriginEndpointsCommand;
2313
+ exports.ListOriginEndpointsRequest$ = ListOriginEndpointsRequest$;
2314
+ exports.ListOriginEndpointsResponse$ = ListOriginEndpointsResponse$;
2315
+ exports.ListTagsForResource$ = ListTagsForResource$;
898
2316
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2317
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
2318
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
899
2319
  exports.MediaPackageV2 = MediaPackageV2;
900
2320
  exports.MediaPackageV2Client = MediaPackageV2Client;
2321
+ exports.MediaPackageV2ServiceException = MediaPackageV2ServiceException;
2322
+ exports.MediaPackageV2ServiceException$ = MediaPackageV2ServiceException$;
901
2323
  exports.MssManifestLayout = MssManifestLayout;
2324
+ exports.OriginEndpointListConfiguration$ = OriginEndpointListConfiguration$;
2325
+ exports.OutputHeaderConfiguration$ = OutputHeaderConfiguration$;
902
2326
  exports.PresetSpeke20Audio = PresetSpeke20Audio;
903
2327
  exports.PresetSpeke20Video = PresetSpeke20Video;
2328
+ exports.PutChannelPolicy$ = PutChannelPolicy$;
904
2329
  exports.PutChannelPolicyCommand = PutChannelPolicyCommand;
2330
+ exports.PutChannelPolicyRequest$ = PutChannelPolicyRequest$;
2331
+ exports.PutChannelPolicyResponse$ = PutChannelPolicyResponse$;
2332
+ exports.PutOriginEndpointPolicy$ = PutOriginEndpointPolicy$;
905
2333
  exports.PutOriginEndpointPolicyCommand = PutOriginEndpointPolicyCommand;
2334
+ exports.PutOriginEndpointPolicyRequest$ = PutOriginEndpointPolicyRequest$;
2335
+ exports.PutOriginEndpointPolicyResponse$ = PutOriginEndpointPolicyResponse$;
2336
+ exports.ResetChannelState$ = ResetChannelState$;
906
2337
  exports.ResetChannelStateCommand = ResetChannelStateCommand;
2338
+ exports.ResetChannelStateRequest$ = ResetChannelStateRequest$;
2339
+ exports.ResetChannelStateResponse$ = ResetChannelStateResponse$;
2340
+ exports.ResetOriginEndpointState$ = ResetOriginEndpointState$;
907
2341
  exports.ResetOriginEndpointStateCommand = ResetOriginEndpointStateCommand;
2342
+ exports.ResetOriginEndpointStateRequest$ = ResetOriginEndpointStateRequest$;
2343
+ exports.ResetOriginEndpointStateResponse$ = ResetOriginEndpointStateResponse$;
2344
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2345
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
908
2346
  exports.ResourceTypeNotFound = ResourceTypeNotFound;
2347
+ exports.S3DestinationConfig$ = S3DestinationConfig$;
2348
+ exports.Scte$ = Scte$;
2349
+ exports.ScteDash$ = ScteDash$;
909
2350
  exports.ScteFilter = ScteFilter;
2351
+ exports.ScteHls$ = ScteHls$;
910
2352
  exports.ScteInManifests = ScteInManifests;
911
2353
  exports.ScteInSegments = ScteInSegments;
2354
+ exports.Segment$ = Segment$;
2355
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2356
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
2357
+ exports.SpekeKeyProvider$ = SpekeKeyProvider$;
2358
+ exports.StartTag$ = StartTag$;
2359
+ exports.TagResource$ = TagResource$;
912
2360
  exports.TagResourceCommand = TagResourceCommand;
2361
+ exports.TagResourceRequest$ = TagResourceRequest$;
2362
+ exports.ThrottlingException = ThrottlingException;
2363
+ exports.ThrottlingException$ = ThrottlingException$;
913
2364
  exports.TsEncryptionMethod = TsEncryptionMethod;
2365
+ exports.UntagResource$ = UntagResource$;
914
2366
  exports.UntagResourceCommand = UntagResourceCommand;
2367
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
2368
+ exports.UpdateChannel$ = UpdateChannel$;
915
2369
  exports.UpdateChannelCommand = UpdateChannelCommand;
2370
+ exports.UpdateChannelGroup$ = UpdateChannelGroup$;
916
2371
  exports.UpdateChannelGroupCommand = UpdateChannelGroupCommand;
2372
+ exports.UpdateChannelGroupRequest$ = UpdateChannelGroupRequest$;
2373
+ exports.UpdateChannelGroupResponse$ = UpdateChannelGroupResponse$;
2374
+ exports.UpdateChannelRequest$ = UpdateChannelRequest$;
2375
+ exports.UpdateChannelResponse$ = UpdateChannelResponse$;
2376
+ exports.UpdateOriginEndpoint$ = UpdateOriginEndpoint$;
917
2377
  exports.UpdateOriginEndpointCommand = UpdateOriginEndpointCommand;
2378
+ exports.UpdateOriginEndpointRequest$ = UpdateOriginEndpointRequest$;
2379
+ exports.UpdateOriginEndpointResponse$ = UpdateOriginEndpointResponse$;
918
2380
  exports.UriPathType = UriPathType;
919
2381
  exports.UriSeparator = UriSeparator;
2382
+ exports.ValidationException = ValidationException;
2383
+ exports.ValidationException$ = ValidationException$;
920
2384
  exports.ValidationExceptionType = ValidationExceptionType;
2385
+ exports.errorTypeRegistries = errorTypeRegistries;
921
2386
  exports.paginateListChannelGroups = paginateListChannelGroups;
922
2387
  exports.paginateListChannels = paginateListChannels;
923
2388
  exports.paginateListHarvestJobs = paginateListHarvestJobs;