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