@aws-sdk/client-mediapackage-vod 3.1075.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, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, 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, defaultMediaPackageVodHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { ConfigureLogs$, CreateAsset$, CreatePackagingConfiguration$, CreatePackagingGroup$, DeleteAsset$, DeletePackagingConfiguration$, DeletePackagingGroup$, DescribeAsset$, DescribePackagingConfiguration$, DescribePackagingGroup$, ListAssets$, ListPackagingConfigurations$, ListPackagingGroups$, ListTagsForResource$, TagResource$, UntagResource$, UpdatePackagingGroup$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { MediaPackageVodServiceException } = require("./models/MediaPackageVodServiceException");
18
- exports.MediaPackageVodServiceException = MediaPackageVodServiceException;
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 defaultMediaPackageVodHttpAuthSchemeParametersProvider = 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: "mediapackage-vod",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultMediaPackageVodHttpAuthSchemeProvider = (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,816 @@ 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://mediapackage-vod-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://mediapackage-vod-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://mediapackage-vod.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://mediapackage-vod.{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 MediaPackageVodServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, MediaPackageVodServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class ForbiddenException extends MediaPackageVodServiceException {
140
+ name = "ForbiddenException";
141
+ $fault = "client";
142
+ Message;
143
+ constructor(opts) {
144
+ super({
145
+ name: "ForbiddenException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
150
+ this.Message = opts.Message;
151
+ }
152
+ }
153
+ class InternalServerErrorException extends MediaPackageVodServiceException {
154
+ name = "InternalServerErrorException";
155
+ $fault = "server";
156
+ Message;
157
+ constructor(opts) {
158
+ super({
159
+ name: "InternalServerErrorException",
160
+ $fault: "server",
161
+ ...opts,
162
+ });
163
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
164
+ this.Message = opts.Message;
165
+ }
166
+ }
167
+ class NotFoundException extends MediaPackageVodServiceException {
168
+ name = "NotFoundException";
169
+ $fault = "client";
170
+ Message;
171
+ constructor(opts) {
172
+ super({
173
+ name: "NotFoundException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, NotFoundException.prototype);
178
+ this.Message = opts.Message;
179
+ }
180
+ }
181
+ class ServiceUnavailableException extends MediaPackageVodServiceException {
182
+ name = "ServiceUnavailableException";
183
+ $fault = "server";
184
+ Message;
185
+ constructor(opts) {
186
+ super({
187
+ name: "ServiceUnavailableException",
188
+ $fault: "server",
189
+ ...opts,
190
+ });
191
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
192
+ this.Message = opts.Message;
193
+ }
194
+ }
195
+ class TooManyRequestsException extends MediaPackageVodServiceException {
196
+ name = "TooManyRequestsException";
197
+ $fault = "client";
198
+ Message;
199
+ constructor(opts) {
200
+ super({
201
+ name: "TooManyRequestsException",
202
+ $fault: "client",
203
+ ...opts,
204
+ });
205
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
206
+ this.Message = opts.Message;
207
+ }
208
+ }
209
+ class UnprocessableEntityException extends MediaPackageVodServiceException {
210
+ name = "UnprocessableEntityException";
211
+ $fault = "client";
212
+ Message;
213
+ constructor(opts) {
214
+ super({
215
+ name: "UnprocessableEntityException",
216
+ $fault: "client",
217
+ ...opts,
218
+ });
219
+ Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
220
+ this.Message = opts.Message;
221
+ }
222
+ }
223
+
224
+ const _A = "Arn";
225
+ const _AAC = "ApproximateAssetCount";
226
+ const _AM = "AdMarkers";
227
+ const _AS = "AssetShallow";
228
+ const _As = "Assets";
229
+ const _Au = "Authorization";
230
+ const _CA = "CreatedAt";
231
+ const _CAR = "CreateAssetRequest";
232
+ const _CARr = "CreateAssetResponse";
233
+ const _CAr = "CreateAsset";
234
+ const _CE = "CmafEncryption";
235
+ const _CIS = "CdnIdentifierSecret";
236
+ const _CIV = "ConstantInitializationVector";
237
+ const _CL = "ConfigureLogs";
238
+ const _CLR = "ConfigureLogsRequest";
239
+ const _CLRo = "ConfigureLogsResponse";
240
+ const _CP = "CmafPackage";
241
+ const _CPC = "CreatePackagingConfiguration";
242
+ const _CPCR = "CreatePackagingConfigurationRequest";
243
+ const _CPCRr = "CreatePackagingConfigurationResponse";
244
+ const _CPG = "CreatePackagingGroup";
245
+ const _CPGR = "CreatePackagingGroupRequest";
246
+ const _CPGRr = "CreatePackagingGroupResponse";
247
+ const _DA = "DeleteAsset";
248
+ const _DAR = "DeleteAssetRequest";
249
+ const _DARe = "DeleteAssetResponse";
250
+ const _DARes = "DescribeAssetRequest";
251
+ const _DAResc = "DescribeAssetResponse";
252
+ const _DAe = "DescribeAsset";
253
+ const _DE = "DashEncryption";
254
+ const _DM = "DashManifest";
255
+ const _DMa = "DashManifests";
256
+ const _DN = "DomainName";
257
+ const _DP = "DashPackage";
258
+ const _DPC = "DeletePackagingConfiguration";
259
+ const _DPCR = "DeletePackagingConfigurationRequest";
260
+ const _DPCRe = "DeletePackagingConfigurationResponse";
261
+ const _DPCRes = "DescribePackagingConfigurationRequest";
262
+ const _DPCResc = "DescribePackagingConfigurationResponse";
263
+ const _DPCe = "DescribePackagingConfiguration";
264
+ const _DPG = "DeletePackagingGroup";
265
+ const _DPGR = "DeletePackagingGroupRequest";
266
+ const _DPGRe = "DeletePackagingGroupResponse";
267
+ const _DPGRes = "DescribePackagingGroupRequest";
268
+ const _DPGResc = "DescribePackagingGroupResponse";
269
+ const _DPGe = "DescribePackagingGroup";
270
+ const _E = "Encryption";
271
+ const _EAL = "EgressAccessLogs";
272
+ const _ECC = "EncryptionContractConfiguration";
273
+ const _EE = "EgressEndpoints";
274
+ const _EEg = "EgressEndpoint";
275
+ const _EM = "EncryptionMethod";
276
+ const _FE = "ForbiddenException";
277
+ const _HE = "HlsEncryption";
278
+ const _HM = "HlsManifests";
279
+ const _HMl = "HlsManifest";
280
+ const _HP = "HlsPackage";
281
+ const _I = "Id";
282
+ const _IDS = "IncludeDvbSubtitles";
283
+ const _IECIS = "IncludeEncoderConfigurationInSegments";
284
+ const _IIOS = "IncludeIframeOnlyStream";
285
+ const _ISEE = "InternalServerErrorException";
286
+ const _LA = "ListAssets";
287
+ const _LAR = "ListAssetsRequest";
288
+ const _LARi = "ListAssetsResponse";
289
+ const _LGN = "LogGroupName";
290
+ const _LPC = "ListPackagingConfigurations";
291
+ const _LPCR = "ListPackagingConfigurationsRequest";
292
+ const _LPCRi = "ListPackagingConfigurationsResponse";
293
+ const _LPG = "ListPackagingGroups";
294
+ const _LPGR = "ListPackagingGroupsRequest";
295
+ const _LPGRi = "ListPackagingGroupsResponse";
296
+ const _LTFR = "ListTagsForResource";
297
+ const _LTFRR = "ListTagsForResourceRequest";
298
+ const _LTFRRi = "ListTagsForResourceResponse";
299
+ const _M = "Message";
300
+ const _MBTS = "MinBufferTimeSeconds";
301
+ const _ME = "MssEncryption";
302
+ const _ML = "ManifestLayout";
303
+ const _MM = "MssManifest";
304
+ const _MMs = "MssManifests";
305
+ const _MN = "ManifestName";
306
+ const _MP = "MssPackage";
307
+ const _MR = "MaxResults";
308
+ const _MVBPS = "MaxVideoBitsPerSecond";
309
+ const _MVBPSi = "MinVideoBitsPerSecond";
310
+ const _NFE = "NotFoundException";
311
+ const _NT = "NextToken";
312
+ const _P = "Profile";
313
+ const _PC = "PackagingConfigurations";
314
+ const _PCI = "PackagingConfigurationId";
315
+ const _PCa = "PackagingConfiguration";
316
+ const _PDTIS = "ProgramDateTimeIntervalSeconds";
317
+ const _PG = "PackagingGroups";
318
+ const _PGI = "PackagingGroupId";
319
+ const _PGa = "PackagingGroup";
320
+ const _PSA = "PresetSpeke20Audio";
321
+ const _PSV = "PresetSpeke20Video";
322
+ const _PT = "PeriodTriggers";
323
+ const _RA = "ResourceArn";
324
+ const _RAo = "RoleArn";
325
+ const _REXK = "RepeatExtXKey";
326
+ const _RI = "ResourceId";
327
+ const _S = "Status";
328
+ const _SA = "SourceArn";
329
+ const _SDS = "SegmentDurationSeconds";
330
+ const _SI = "SystemIds";
331
+ const _SKP = "SpekeKeyProvider";
332
+ const _SMS = "ScteMarkersSource";
333
+ const _SO = "StreamOrder";
334
+ const _SRA = "SourceRoleArn";
335
+ const _SRAe = "SecretsRoleArn";
336
+ const _SS = "StreamSelection";
337
+ const _STF = "SegmentTemplateFormat";
338
+ const _SUE = "ServiceUnavailableException";
339
+ const _T = "Tags";
340
+ const _TK = "TagKeys";
341
+ const _TMRE = "TooManyRequestsException";
342
+ const _TR = "TagResource";
343
+ const _TRR = "TagResourceRequest";
344
+ const _U = "Url";
345
+ const _UARG = "UseAudioRenditionGroup";
346
+ const _UEE = "UnprocessableEntityException";
347
+ const _UPG = "UpdatePackagingGroup";
348
+ const _UPGR = "UpdatePackagingGroupRequest";
349
+ const _UPGRp = "UpdatePackagingGroupResponse";
350
+ const _UR = "UntagResource";
351
+ const _URR = "UntagResourceRequest";
352
+ const _a = "arn";
353
+ const _aAC = "approximateAssetCount";
354
+ const _aM = "adMarkers";
355
+ const _as = "assets";
356
+ const _au = "authorization";
357
+ const _c = "client";
358
+ const _cA = "createdAt";
359
+ const _cIS = "cdnIdentifierSecret";
360
+ const _cIV = "constantInitializationVector";
361
+ const _cP = "cmafPackage";
362
+ const _dM = "dashManifests";
363
+ const _dN = "domainName";
364
+ const _dP = "dashPackage";
365
+ const _e = "error";
366
+ const _eAL = "egressAccessLogs";
367
+ const _eCC = "encryptionContractConfiguration";
368
+ const _eE = "egressEndpoints";
369
+ const _eM = "encryptionMethod";
370
+ const _en = "encryption";
371
+ const _h = "http";
372
+ const _hE = "httpError";
373
+ const _hM = "hlsManifests";
374
+ const _hP = "hlsPackage";
375
+ const _hQ = "httpQuery";
376
+ const _i = "id";
377
+ const _iDS = "includeDvbSubtitles";
378
+ const _iECIS = "includeEncoderConfigurationInSegments";
379
+ const _iIOS = "includeIframeOnlyStream";
380
+ const _jN = "jsonName";
381
+ const _lGN = "logGroupName";
382
+ const _lOAS = "__listOfAssetShallow";
383
+ const _lODM = "__listOfDashManifest";
384
+ const _lOEE = "__listOfEgressEndpoint";
385
+ const _lOHM = "__listOfHlsManifest";
386
+ const _lOMM = "__listOfMssManifest";
387
+ const _lOPC = "__listOfPackagingConfiguration";
388
+ const _lOPG = "__listOfPackagingGroup";
389
+ const _m = "message";
390
+ const _mBTS = "minBufferTimeSeconds";
391
+ const _mL = "manifestLayout";
392
+ const _mM = "mssManifests";
393
+ const _mN = "manifestName";
394
+ const _mP = "mssPackage";
395
+ const _mR = "maxResults";
396
+ const _mVBPS = "maxVideoBitsPerSecond";
397
+ const _mVBPSi = "minVideoBitsPerSecond";
398
+ const _nT = "nextToken";
399
+ const _p = "profile";
400
+ const _pC = "packagingConfigurations";
401
+ const _pCI = "packagingConfigurationId";
402
+ const _pDTIS = "programDateTimeIntervalSeconds";
403
+ const _pG = "packagingGroups";
404
+ const _pGI = "packagingGroupId";
405
+ const _pSA = "presetSpeke20Audio";
406
+ const _pSV = "presetSpeke20Video";
407
+ const _pT = "periodTriggers";
408
+ const _rA = "roleArn";
409
+ const _rEXK = "repeatExtXKey";
410
+ const _rI = "resourceId";
411
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.mediapackagevod";
412
+ const _sA = "sourceArn";
413
+ const _sDS = "segmentDurationSeconds";
414
+ const _sI = "systemIds";
415
+ const _sKP = "spekeKeyProvider";
416
+ const _sMS = "scteMarkersSource";
417
+ const _sO = "streamOrder";
418
+ const _sRA = "sourceRoleArn";
419
+ const _sRAe = "secretsRoleArn";
420
+ const _sS = "streamSelection";
421
+ const _sTF = "segmentTemplateFormat";
422
+ const _se = "server";
423
+ const _st = "status";
424
+ const _t = "tags";
425
+ const _tK = "tagKeys";
426
+ const _u = "url";
427
+ const _uARG = "useAudioRenditionGroup";
428
+ const n0 = "com.amazonaws.mediapackagevod";
429
+ const _s_registry = TypeRegistry.for(_s);
430
+ var MediaPackageVodServiceException$ = [-3, _s, "MediaPackageVodServiceException", 0, [], []];
431
+ _s_registry.registerError(MediaPackageVodServiceException$, MediaPackageVodServiceException);
432
+ const n0_registry = TypeRegistry.for(n0);
433
+ var ForbiddenException$ = [-3, n0, _FE,
434
+ { [_e]: _c, [_hE]: 403 },
435
+ [_M],
436
+ [[0, { [_jN]: _m }]]
437
+ ];
438
+ n0_registry.registerError(ForbiddenException$, ForbiddenException);
439
+ var InternalServerErrorException$ = [-3, n0, _ISEE,
440
+ { [_e]: _se, [_hE]: 500 },
441
+ [_M],
442
+ [[0, { [_jN]: _m }]]
443
+ ];
444
+ n0_registry.registerError(InternalServerErrorException$, InternalServerErrorException);
445
+ var NotFoundException$ = [-3, n0, _NFE,
446
+ { [_e]: _c, [_hE]: 404 },
447
+ [_M],
448
+ [[0, { [_jN]: _m }]]
449
+ ];
450
+ n0_registry.registerError(NotFoundException$, NotFoundException);
451
+ var ServiceUnavailableException$ = [-3, n0, _SUE,
452
+ { [_e]: _se, [_hE]: 503 },
453
+ [_M],
454
+ [[0, { [_jN]: _m }]]
455
+ ];
456
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
457
+ var TooManyRequestsException$ = [-3, n0, _TMRE,
458
+ { [_e]: _c, [_hE]: 429 },
459
+ [_M],
460
+ [[0, { [_jN]: _m }]]
461
+ ];
462
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
463
+ var UnprocessableEntityException$ = [-3, n0, _UEE,
464
+ { [_e]: _c, [_hE]: 422 },
465
+ [_M],
466
+ [[0, { [_jN]: _m }]]
467
+ ];
468
+ n0_registry.registerError(UnprocessableEntityException$, UnprocessableEntityException);
469
+ const errorTypeRegistries = [
470
+ _s_registry,
471
+ n0_registry,
472
+ ];
473
+ var AssetShallow$ = [3, n0, _AS,
474
+ 0,
475
+ [_A, _CA, _I, _PGI, _RI, _SA, _SRA, _T],
476
+ [[0, { [_jN]: _a }], [0, { [_jN]: _cA }], [0, { [_jN]: _i }], [0, { [_jN]: _pGI }], [0, { [_jN]: _rI }], [0, { [_jN]: _sA }], [0, { [_jN]: _sRA }], [128 | 0, { [_jN]: _t }]]
477
+ ];
478
+ var Authorization$ = [3, n0, _Au,
479
+ 0,
480
+ [_CIS, _SRAe],
481
+ [[0, { [_jN]: _cIS }], [0, { [_jN]: _sRAe }]], 2
482
+ ];
483
+ var CmafEncryption$ = [3, n0, _CE,
484
+ 0,
485
+ [_SKP, _CIV],
486
+ [[() => SpekeKeyProvider$, { [_jN]: _sKP }], [0, { [_jN]: _cIV }]], 1
487
+ ];
488
+ var CmafPackage$ = [3, n0, _CP,
489
+ 0,
490
+ [_HM, _E, _IECIS, _SDS],
491
+ [[() => __listOfHlsManifest, { [_jN]: _hM }], [() => CmafEncryption$, { [_jN]: _en }], [2, { [_jN]: _iECIS }], [1, { [_jN]: _sDS }]], 1
492
+ ];
493
+ var ConfigureLogsRequest$ = [3, n0, _CLR,
494
+ 0,
495
+ [_I, _EAL],
496
+ [[0, 1], [() => EgressAccessLogs$, { [_jN]: _eAL }]], 1
497
+ ];
498
+ var ConfigureLogsResponse$ = [3, n0, _CLRo,
499
+ 0,
500
+ [_A, _Au, _CA, _DN, _EAL, _I, _T],
501
+ [[0, { [_jN]: _a }], [() => Authorization$, { [_jN]: _au }], [0, { [_jN]: _cA }], [0, { [_jN]: _dN }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [0, { [_jN]: _i }], [128 | 0, { [_jN]: _t }]]
502
+ ];
503
+ var CreateAssetRequest$ = [3, n0, _CAR,
504
+ 0,
505
+ [_I, _PGI, _SA, _SRA, _RI, _T],
506
+ [[0, { [_jN]: _i }], [0, { [_jN]: _pGI }], [0, { [_jN]: _sA }], [0, { [_jN]: _sRA }], [0, { [_jN]: _rI }], [128 | 0, { [_jN]: _t }]], 4
507
+ ];
508
+ var CreateAssetResponse$ = [3, n0, _CARr,
509
+ 0,
510
+ [_A, _CA, _EE, _I, _PGI, _RI, _SA, _SRA, _T],
511
+ [[0, { [_jN]: _a }], [0, { [_jN]: _cA }], [() => __listOfEgressEndpoint, { [_jN]: _eE }], [0, { [_jN]: _i }], [0, { [_jN]: _pGI }], [0, { [_jN]: _rI }], [0, { [_jN]: _sA }], [0, { [_jN]: _sRA }], [128 | 0, { [_jN]: _t }]]
512
+ ];
513
+ var CreatePackagingConfigurationRequest$ = [3, n0, _CPCR,
514
+ 0,
515
+ [_I, _PGI, _CP, _DP, _HP, _MP, _T],
516
+ [[0, { [_jN]: _i }], [0, { [_jN]: _pGI }], [() => CmafPackage$, { [_jN]: _cP }], [() => DashPackage$, { [_jN]: _dP }], [() => HlsPackage$, { [_jN]: _hP }], [() => MssPackage$, { [_jN]: _mP }], [128 | 0, { [_jN]: _t }]], 2
517
+ ];
518
+ var CreatePackagingConfigurationResponse$ = [3, n0, _CPCRr,
519
+ 0,
520
+ [_A, _CP, _CA, _DP, _HP, _I, _MP, _PGI, _T],
521
+ [[0, { [_jN]: _a }], [() => CmafPackage$, { [_jN]: _cP }], [0, { [_jN]: _cA }], [() => DashPackage$, { [_jN]: _dP }], [() => HlsPackage$, { [_jN]: _hP }], [0, { [_jN]: _i }], [() => MssPackage$, { [_jN]: _mP }], [0, { [_jN]: _pGI }], [128 | 0, { [_jN]: _t }]]
522
+ ];
523
+ var CreatePackagingGroupRequest$ = [3, n0, _CPGR,
524
+ 0,
525
+ [_I, _Au, _EAL, _T],
526
+ [[0, { [_jN]: _i }], [() => Authorization$, { [_jN]: _au }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [128 | 0, { [_jN]: _t }]], 1
527
+ ];
528
+ var CreatePackagingGroupResponse$ = [3, n0, _CPGRr,
529
+ 0,
530
+ [_A, _Au, _CA, _DN, _EAL, _I, _T],
531
+ [[0, { [_jN]: _a }], [() => Authorization$, { [_jN]: _au }], [0, { [_jN]: _cA }], [0, { [_jN]: _dN }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [0, { [_jN]: _i }], [128 | 0, { [_jN]: _t }]]
532
+ ];
533
+ var DashEncryption$ = [3, n0, _DE,
534
+ 0,
535
+ [_SKP],
536
+ [[() => SpekeKeyProvider$, { [_jN]: _sKP }]], 1
537
+ ];
538
+ var DashManifest$ = [3, n0, _DM,
539
+ 0,
540
+ [_ML, _MN, _MBTS, _P, _SMS, _SS],
541
+ [[0, { [_jN]: _mL }], [0, { [_jN]: _mN }], [1, { [_jN]: _mBTS }], [0, { [_jN]: _p }], [0, { [_jN]: _sMS }], [() => StreamSelection$, { [_jN]: _sS }]]
542
+ ];
543
+ var DashPackage$ = [3, n0, _DP,
544
+ 0,
545
+ [_DMa, _E, _IECIS, _IIOS, _PT, _SDS, _STF],
546
+ [[() => __listOfDashManifest, { [_jN]: _dM }], [() => DashEncryption$, { [_jN]: _en }], [2, { [_jN]: _iECIS }], [2, { [_jN]: _iIOS }], [64 | 0, { [_jN]: _pT }], [1, { [_jN]: _sDS }], [0, { [_jN]: _sTF }]], 1
547
+ ];
548
+ var DeleteAssetRequest$ = [3, n0, _DAR,
549
+ 0,
550
+ [_I],
551
+ [[0, 1]], 1
552
+ ];
553
+ var DeleteAssetResponse$ = [3, n0, _DARe,
554
+ 0,
555
+ [],
556
+ []
557
+ ];
558
+ var DeletePackagingConfigurationRequest$ = [3, n0, _DPCR,
559
+ 0,
560
+ [_I],
561
+ [[0, 1]], 1
562
+ ];
563
+ var DeletePackagingConfigurationResponse$ = [3, n0, _DPCRe,
564
+ 0,
565
+ [],
566
+ []
567
+ ];
568
+ var DeletePackagingGroupRequest$ = [3, n0, _DPGR,
569
+ 0,
570
+ [_I],
571
+ [[0, 1]], 1
572
+ ];
573
+ var DeletePackagingGroupResponse$ = [3, n0, _DPGRe,
574
+ 0,
575
+ [],
576
+ []
577
+ ];
578
+ var DescribeAssetRequest$ = [3, n0, _DARes,
579
+ 0,
580
+ [_I],
581
+ [[0, 1]], 1
582
+ ];
583
+ var DescribeAssetResponse$ = [3, n0, _DAResc,
584
+ 0,
585
+ [_A, _CA, _EE, _I, _PGI, _RI, _SA, _SRA, _T],
586
+ [[0, { [_jN]: _a }], [0, { [_jN]: _cA }], [() => __listOfEgressEndpoint, { [_jN]: _eE }], [0, { [_jN]: _i }], [0, { [_jN]: _pGI }], [0, { [_jN]: _rI }], [0, { [_jN]: _sA }], [0, { [_jN]: _sRA }], [128 | 0, { [_jN]: _t }]]
587
+ ];
588
+ var DescribePackagingConfigurationRequest$ = [3, n0, _DPCRes,
589
+ 0,
590
+ [_I],
591
+ [[0, 1]], 1
592
+ ];
593
+ var DescribePackagingConfigurationResponse$ = [3, n0, _DPCResc,
594
+ 0,
595
+ [_A, _CP, _CA, _DP, _HP, _I, _MP, _PGI, _T],
596
+ [[0, { [_jN]: _a }], [() => CmafPackage$, { [_jN]: _cP }], [0, { [_jN]: _cA }], [() => DashPackage$, { [_jN]: _dP }], [() => HlsPackage$, { [_jN]: _hP }], [0, { [_jN]: _i }], [() => MssPackage$, { [_jN]: _mP }], [0, { [_jN]: _pGI }], [128 | 0, { [_jN]: _t }]]
597
+ ];
598
+ var DescribePackagingGroupRequest$ = [3, n0, _DPGRes,
599
+ 0,
600
+ [_I],
601
+ [[0, 1]], 1
602
+ ];
603
+ var DescribePackagingGroupResponse$ = [3, n0, _DPGResc,
604
+ 0,
605
+ [_AAC, _A, _Au, _CA, _DN, _EAL, _I, _T],
606
+ [[1, { [_jN]: _aAC }], [0, { [_jN]: _a }], [() => Authorization$, { [_jN]: _au }], [0, { [_jN]: _cA }], [0, { [_jN]: _dN }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [0, { [_jN]: _i }], [128 | 0, { [_jN]: _t }]]
607
+ ];
608
+ var EgressAccessLogs$ = [3, n0, _EAL,
609
+ 0,
610
+ [_LGN],
611
+ [[0, { [_jN]: _lGN }]]
612
+ ];
613
+ var EgressEndpoint$ = [3, n0, _EEg,
614
+ 0,
615
+ [_PCI, _S, _U],
616
+ [[0, { [_jN]: _pCI }], [0, { [_jN]: _st }], [0, { [_jN]: _u }]]
617
+ ];
618
+ var EncryptionContractConfiguration$ = [3, n0, _ECC,
619
+ 0,
620
+ [_PSA, _PSV],
621
+ [[0, { [_jN]: _pSA }], [0, { [_jN]: _pSV }]], 2
622
+ ];
623
+ var HlsEncryption$ = [3, n0, _HE,
624
+ 0,
625
+ [_SKP, _CIV, _EM],
626
+ [[() => SpekeKeyProvider$, { [_jN]: _sKP }], [0, { [_jN]: _cIV }], [0, { [_jN]: _eM }]], 1
627
+ ];
628
+ var HlsManifest$ = [3, n0, _HMl,
629
+ 0,
630
+ [_AM, _IIOS, _MN, _PDTIS, _REXK, _SS],
631
+ [[0, { [_jN]: _aM }], [2, { [_jN]: _iIOS }], [0, { [_jN]: _mN }], [1, { [_jN]: _pDTIS }], [2, { [_jN]: _rEXK }], [() => StreamSelection$, { [_jN]: _sS }]]
632
+ ];
633
+ var HlsPackage$ = [3, n0, _HP,
634
+ 0,
635
+ [_HM, _E, _IDS, _SDS, _UARG],
636
+ [[() => __listOfHlsManifest, { [_jN]: _hM }], [() => HlsEncryption$, { [_jN]: _en }], [2, { [_jN]: _iDS }], [1, { [_jN]: _sDS }], [2, { [_jN]: _uARG }]], 1
637
+ ];
638
+ var ListAssetsRequest$ = [3, n0, _LAR,
639
+ 0,
640
+ [_MR, _NT, _PGI],
641
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _pGI }]]
642
+ ];
643
+ var ListAssetsResponse$ = [3, n0, _LARi,
644
+ 0,
645
+ [_As, _NT],
646
+ [[() => __listOfAssetShallow, { [_jN]: _as }], [0, { [_jN]: _nT }]]
647
+ ];
648
+ var ListPackagingConfigurationsRequest$ = [3, n0, _LPCR,
649
+ 0,
650
+ [_MR, _NT, _PGI],
651
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _pGI }]]
652
+ ];
653
+ var ListPackagingConfigurationsResponse$ = [3, n0, _LPCRi,
654
+ 0,
655
+ [_NT, _PC],
656
+ [[0, { [_jN]: _nT }], [() => __listOfPackagingConfiguration, { [_jN]: _pC }]]
657
+ ];
658
+ var ListPackagingGroupsRequest$ = [3, n0, _LPGR,
659
+ 0,
660
+ [_MR, _NT],
661
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
662
+ ];
663
+ var ListPackagingGroupsResponse$ = [3, n0, _LPGRi,
664
+ 0,
665
+ [_NT, _PG],
666
+ [[0, { [_jN]: _nT }], [() => __listOfPackagingGroup, { [_jN]: _pG }]]
667
+ ];
668
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
669
+ 0,
670
+ [_RA],
671
+ [[0, 1]], 1
672
+ ];
673
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
674
+ 0,
675
+ [_T],
676
+ [[128 | 0, { [_jN]: _t }]]
677
+ ];
678
+ var MssEncryption$ = [3, n0, _ME,
679
+ 0,
680
+ [_SKP],
681
+ [[() => SpekeKeyProvider$, { [_jN]: _sKP }]], 1
682
+ ];
683
+ var MssManifest$ = [3, n0, _MM,
684
+ 0,
685
+ [_MN, _SS],
686
+ [[0, { [_jN]: _mN }], [() => StreamSelection$, { [_jN]: _sS }]]
687
+ ];
688
+ var MssPackage$ = [3, n0, _MP,
689
+ 0,
690
+ [_MMs, _E, _SDS],
691
+ [[() => __listOfMssManifest, { [_jN]: _mM }], [() => MssEncryption$, { [_jN]: _en }], [1, { [_jN]: _sDS }]], 1
692
+ ];
693
+ var PackagingConfiguration$ = [3, n0, _PCa,
694
+ 0,
695
+ [_A, _CP, _CA, _DP, _HP, _I, _MP, _PGI, _T],
696
+ [[0, { [_jN]: _a }], [() => CmafPackage$, { [_jN]: _cP }], [0, { [_jN]: _cA }], [() => DashPackage$, { [_jN]: _dP }], [() => HlsPackage$, { [_jN]: _hP }], [0, { [_jN]: _i }], [() => MssPackage$, { [_jN]: _mP }], [0, { [_jN]: _pGI }], [128 | 0, { [_jN]: _t }]]
697
+ ];
698
+ var PackagingGroup$ = [3, n0, _PGa,
699
+ 0,
700
+ [_AAC, _A, _Au, _CA, _DN, _EAL, _I, _T],
701
+ [[1, { [_jN]: _aAC }], [0, { [_jN]: _a }], [() => Authorization$, { [_jN]: _au }], [0, { [_jN]: _cA }], [0, { [_jN]: _dN }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [0, { [_jN]: _i }], [128 | 0, { [_jN]: _t }]]
702
+ ];
703
+ var SpekeKeyProvider$ = [3, n0, _SKP,
704
+ 0,
705
+ [_RAo, _SI, _U, _ECC],
706
+ [[0, { [_jN]: _rA }], [64 | 0, { [_jN]: _sI }], [0, { [_jN]: _u }], [() => EncryptionContractConfiguration$, { [_jN]: _eCC }]], 3
707
+ ];
708
+ var StreamSelection$ = [3, n0, _SS,
709
+ 0,
710
+ [_MVBPS, _MVBPSi, _SO],
711
+ [[1, { [_jN]: _mVBPS }], [1, { [_jN]: _mVBPSi }], [0, { [_jN]: _sO }]]
712
+ ];
713
+ var TagResourceRequest$ = [3, n0, _TRR,
714
+ 0,
715
+ [_RA, _T],
716
+ [[0, 1], [128 | 0, { [_jN]: _t }]], 2
717
+ ];
718
+ var UntagResourceRequest$ = [3, n0, _URR,
719
+ 0,
720
+ [_RA, _TK],
721
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
722
+ ];
723
+ var UpdatePackagingGroupRequest$ = [3, n0, _UPGR,
724
+ 0,
725
+ [_I, _Au],
726
+ [[0, 1], [() => Authorization$, { [_jN]: _au }]], 1
727
+ ];
728
+ var UpdatePackagingGroupResponse$ = [3, n0, _UPGRp,
729
+ 0,
730
+ [_AAC, _A, _Au, _CA, _DN, _EAL, _I, _T],
731
+ [[1, { [_jN]: _aAC }], [0, { [_jN]: _a }], [() => Authorization$, { [_jN]: _au }], [0, { [_jN]: _cA }], [0, { [_jN]: _dN }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [0, { [_jN]: _i }], [128 | 0, { [_jN]: _t }]]
732
+ ];
733
+ var __Unit = "unit";
734
+ var __listOfAssetShallow = [1, n0, _lOAS,
735
+ 0, [() => AssetShallow$,
736
+ 0]
737
+ ];
738
+ var __listOfDashManifest = [1, n0, _lODM,
739
+ 0, [() => DashManifest$,
740
+ 0]
741
+ ];
742
+ var __listOfEgressEndpoint = [1, n0, _lOEE,
743
+ 0, [() => EgressEndpoint$,
744
+ 0]
745
+ ];
746
+ var __listOfHlsManifest = [1, n0, _lOHM,
747
+ 0, [() => HlsManifest$,
748
+ 0]
749
+ ];
750
+ var __listOfMssManifest = [1, n0, _lOMM,
751
+ 0, [() => MssManifest$,
752
+ 0]
753
+ ];
754
+ var __listOfPackagingConfiguration = [1, n0, _lOPC,
755
+ 0, [() => PackagingConfiguration$,
756
+ 0]
757
+ ];
758
+ var __listOfPackagingGroup = [1, n0, _lOPG,
759
+ 0, [() => PackagingGroup$,
760
+ 0]
761
+ ];
762
+ var ConfigureLogs$ = [9, n0, _CL,
763
+ { [_h]: ["PUT", "/packaging_groups/{Id}/configure_logs", 200] }, () => ConfigureLogsRequest$, () => ConfigureLogsResponse$
764
+ ];
765
+ var CreateAsset$ = [9, n0, _CAr,
766
+ { [_h]: ["POST", "/assets", 200] }, () => CreateAssetRequest$, () => CreateAssetResponse$
767
+ ];
768
+ var CreatePackagingConfiguration$ = [9, n0, _CPC,
769
+ { [_h]: ["POST", "/packaging_configurations", 200] }, () => CreatePackagingConfigurationRequest$, () => CreatePackagingConfigurationResponse$
770
+ ];
771
+ var CreatePackagingGroup$ = [9, n0, _CPG,
772
+ { [_h]: ["POST", "/packaging_groups", 200] }, () => CreatePackagingGroupRequest$, () => CreatePackagingGroupResponse$
773
+ ];
774
+ var DeleteAsset$ = [9, n0, _DA,
775
+ { [_h]: ["DELETE", "/assets/{Id}", 202] }, () => DeleteAssetRequest$, () => DeleteAssetResponse$
776
+ ];
777
+ var DeletePackagingConfiguration$ = [9, n0, _DPC,
778
+ { [_h]: ["DELETE", "/packaging_configurations/{Id}", 202] }, () => DeletePackagingConfigurationRequest$, () => DeletePackagingConfigurationResponse$
779
+ ];
780
+ var DeletePackagingGroup$ = [9, n0, _DPG,
781
+ { [_h]: ["DELETE", "/packaging_groups/{Id}", 202] }, () => DeletePackagingGroupRequest$, () => DeletePackagingGroupResponse$
782
+ ];
783
+ var DescribeAsset$ = [9, n0, _DAe,
784
+ { [_h]: ["GET", "/assets/{Id}", 200] }, () => DescribeAssetRequest$, () => DescribeAssetResponse$
785
+ ];
786
+ var DescribePackagingConfiguration$ = [9, n0, _DPCe,
787
+ { [_h]: ["GET", "/packaging_configurations/{Id}", 200] }, () => DescribePackagingConfigurationRequest$, () => DescribePackagingConfigurationResponse$
788
+ ];
789
+ var DescribePackagingGroup$ = [9, n0, _DPGe,
790
+ { [_h]: ["GET", "/packaging_groups/{Id}", 200] }, () => DescribePackagingGroupRequest$, () => DescribePackagingGroupResponse$
791
+ ];
792
+ var ListAssets$ = [9, n0, _LA,
793
+ { [_h]: ["GET", "/assets", 200] }, () => ListAssetsRequest$, () => ListAssetsResponse$
794
+ ];
795
+ var ListPackagingConfigurations$ = [9, n0, _LPC,
796
+ { [_h]: ["GET", "/packaging_configurations", 200] }, () => ListPackagingConfigurationsRequest$, () => ListPackagingConfigurationsResponse$
797
+ ];
798
+ var ListPackagingGroups$ = [9, n0, _LPG,
799
+ { [_h]: ["GET", "/packaging_groups", 200] }, () => ListPackagingGroupsRequest$, () => ListPackagingGroupsResponse$
800
+ ];
801
+ var ListTagsForResource$ = [9, n0, _LTFR,
802
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
803
+ ];
804
+ var TagResource$ = [9, n0, _TR,
805
+ { [_h]: ["POST", "/tags/{ResourceArn}", 204] }, () => TagResourceRequest$, () => __Unit
806
+ ];
807
+ var UntagResource$ = [9, n0, _UR,
808
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () => UntagResourceRequest$, () => __Unit
809
+ ];
810
+ var UpdatePackagingGroup$ = [9, n0, _UPG,
811
+ { [_h]: ["PUT", "/packaging_groups/{Id}", 200] }, () => UpdatePackagingGroupRequest$, () => UpdatePackagingGroupResponse$
812
+ ];
813
+
814
+ const getRuntimeConfig$1 = (config) => {
815
+ return {
816
+ apiVersion: "2018-11-07",
817
+ base64Decoder: config?.base64Decoder ?? fromBase64,
818
+ base64Encoder: config?.base64Encoder ?? toBase64,
819
+ disableHostPrefix: config?.disableHostPrefix ?? false,
820
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
821
+ extensions: config?.extensions ?? [],
822
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultMediaPackageVodHttpAuthSchemeProvider,
823
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
824
+ {
825
+ schemeId: "aws.auth#sigv4",
826
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
827
+ signer: new AwsSdkSigV4Signer(),
828
+ },
829
+ ],
830
+ logger: config?.logger ?? new NoOpLogger(),
831
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
832
+ protocolSettings: config?.protocolSettings ?? {
833
+ defaultNamespace: "com.amazonaws.mediapackagevod",
834
+ errorTypeRegistries,
835
+ version: "2018-11-07",
836
+ serviceTarget: "MediaPackageVod",
837
+ },
838
+ serviceId: config?.serviceId ?? "MediaPackage Vod",
839
+ urlParser: config?.urlParser ?? parseUrl,
840
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
841
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
842
+ };
843
+ };
844
+
845
+ const getRuntimeConfig = (config) => {
846
+ emitWarningIfUnsupportedVersion(process.version);
847
+ const defaultsMode = resolveDefaultsModeConfig(config);
848
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
849
+ const clientSharedValues = getRuntimeConfig$1(config);
850
+ emitWarningIfUnsupportedVersion$1(process.version);
851
+ const loaderConfig = {
852
+ profile: config?.profile,
853
+ logger: clientSharedValues.logger,
854
+ };
855
+ return {
856
+ ...clientSharedValues,
857
+ ...config,
858
+ runtime: "node",
859
+ defaultsMode,
860
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
861
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
862
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
863
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
864
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
865
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
866
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
867
+ retryMode: config?.retryMode ??
868
+ loadConfig({
869
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
870
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
871
+ }, config),
872
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
873
+ streamCollector: config?.streamCollector ?? streamCollector,
874
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
875
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
876
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
877
+ };
878
+ };
879
+
34
880
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
881
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
882
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -404,34 +1250,118 @@ const EncryptionMethod = {
404
1250
  };
405
1251
 
406
1252
  exports.AdMarkers = AdMarkers;
1253
+ exports.AssetShallow$ = AssetShallow$;
1254
+ exports.Authorization$ = Authorization$;
1255
+ exports.CmafEncryption$ = CmafEncryption$;
1256
+ exports.CmafPackage$ = CmafPackage$;
1257
+ exports.ConfigureLogs$ = ConfigureLogs$;
407
1258
  exports.ConfigureLogsCommand = ConfigureLogsCommand;
1259
+ exports.ConfigureLogsRequest$ = ConfigureLogsRequest$;
1260
+ exports.ConfigureLogsResponse$ = ConfigureLogsResponse$;
1261
+ exports.CreateAsset$ = CreateAsset$;
408
1262
  exports.CreateAssetCommand = CreateAssetCommand;
1263
+ exports.CreateAssetRequest$ = CreateAssetRequest$;
1264
+ exports.CreateAssetResponse$ = CreateAssetResponse$;
1265
+ exports.CreatePackagingConfiguration$ = CreatePackagingConfiguration$;
409
1266
  exports.CreatePackagingConfigurationCommand = CreatePackagingConfigurationCommand;
1267
+ exports.CreatePackagingConfigurationRequest$ = CreatePackagingConfigurationRequest$;
1268
+ exports.CreatePackagingConfigurationResponse$ = CreatePackagingConfigurationResponse$;
1269
+ exports.CreatePackagingGroup$ = CreatePackagingGroup$;
410
1270
  exports.CreatePackagingGroupCommand = CreatePackagingGroupCommand;
1271
+ exports.CreatePackagingGroupRequest$ = CreatePackagingGroupRequest$;
1272
+ exports.CreatePackagingGroupResponse$ = CreatePackagingGroupResponse$;
1273
+ exports.DashEncryption$ = DashEncryption$;
1274
+ exports.DashManifest$ = DashManifest$;
1275
+ exports.DashPackage$ = DashPackage$;
1276
+ exports.DeleteAsset$ = DeleteAsset$;
411
1277
  exports.DeleteAssetCommand = DeleteAssetCommand;
1278
+ exports.DeleteAssetRequest$ = DeleteAssetRequest$;
1279
+ exports.DeleteAssetResponse$ = DeleteAssetResponse$;
1280
+ exports.DeletePackagingConfiguration$ = DeletePackagingConfiguration$;
412
1281
  exports.DeletePackagingConfigurationCommand = DeletePackagingConfigurationCommand;
1282
+ exports.DeletePackagingConfigurationRequest$ = DeletePackagingConfigurationRequest$;
1283
+ exports.DeletePackagingConfigurationResponse$ = DeletePackagingConfigurationResponse$;
1284
+ exports.DeletePackagingGroup$ = DeletePackagingGroup$;
413
1285
  exports.DeletePackagingGroupCommand = DeletePackagingGroupCommand;
1286
+ exports.DeletePackagingGroupRequest$ = DeletePackagingGroupRequest$;
1287
+ exports.DeletePackagingGroupResponse$ = DeletePackagingGroupResponse$;
1288
+ exports.DescribeAsset$ = DescribeAsset$;
414
1289
  exports.DescribeAssetCommand = DescribeAssetCommand;
1290
+ exports.DescribeAssetRequest$ = DescribeAssetRequest$;
1291
+ exports.DescribeAssetResponse$ = DescribeAssetResponse$;
1292
+ exports.DescribePackagingConfiguration$ = DescribePackagingConfiguration$;
415
1293
  exports.DescribePackagingConfigurationCommand = DescribePackagingConfigurationCommand;
1294
+ exports.DescribePackagingConfigurationRequest$ = DescribePackagingConfigurationRequest$;
1295
+ exports.DescribePackagingConfigurationResponse$ = DescribePackagingConfigurationResponse$;
1296
+ exports.DescribePackagingGroup$ = DescribePackagingGroup$;
416
1297
  exports.DescribePackagingGroupCommand = DescribePackagingGroupCommand;
1298
+ exports.DescribePackagingGroupRequest$ = DescribePackagingGroupRequest$;
1299
+ exports.DescribePackagingGroupResponse$ = DescribePackagingGroupResponse$;
1300
+ exports.EgressAccessLogs$ = EgressAccessLogs$;
1301
+ exports.EgressEndpoint$ = EgressEndpoint$;
1302
+ exports.EncryptionContractConfiguration$ = EncryptionContractConfiguration$;
417
1303
  exports.EncryptionMethod = EncryptionMethod;
1304
+ exports.ForbiddenException = ForbiddenException;
1305
+ exports.ForbiddenException$ = ForbiddenException$;
1306
+ exports.HlsEncryption$ = HlsEncryption$;
1307
+ exports.HlsManifest$ = HlsManifest$;
1308
+ exports.HlsPackage$ = HlsPackage$;
1309
+ exports.InternalServerErrorException = InternalServerErrorException;
1310
+ exports.InternalServerErrorException$ = InternalServerErrorException$;
1311
+ exports.ListAssets$ = ListAssets$;
418
1312
  exports.ListAssetsCommand = ListAssetsCommand;
1313
+ exports.ListAssetsRequest$ = ListAssetsRequest$;
1314
+ exports.ListAssetsResponse$ = ListAssetsResponse$;
1315
+ exports.ListPackagingConfigurations$ = ListPackagingConfigurations$;
419
1316
  exports.ListPackagingConfigurationsCommand = ListPackagingConfigurationsCommand;
1317
+ exports.ListPackagingConfigurationsRequest$ = ListPackagingConfigurationsRequest$;
1318
+ exports.ListPackagingConfigurationsResponse$ = ListPackagingConfigurationsResponse$;
1319
+ exports.ListPackagingGroups$ = ListPackagingGroups$;
420
1320
  exports.ListPackagingGroupsCommand = ListPackagingGroupsCommand;
1321
+ exports.ListPackagingGroupsRequest$ = ListPackagingGroupsRequest$;
1322
+ exports.ListPackagingGroupsResponse$ = ListPackagingGroupsResponse$;
1323
+ exports.ListTagsForResource$ = ListTagsForResource$;
421
1324
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1325
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1326
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
422
1327
  exports.ManifestLayout = ManifestLayout;
423
1328
  exports.MediaPackageVod = MediaPackageVod;
424
1329
  exports.MediaPackageVodClient = MediaPackageVodClient;
1330
+ exports.MediaPackageVodServiceException = MediaPackageVodServiceException;
1331
+ exports.MediaPackageVodServiceException$ = MediaPackageVodServiceException$;
1332
+ exports.MssEncryption$ = MssEncryption$;
1333
+ exports.MssManifest$ = MssManifest$;
1334
+ exports.MssPackage$ = MssPackage$;
1335
+ exports.NotFoundException = NotFoundException;
1336
+ exports.NotFoundException$ = NotFoundException$;
1337
+ exports.PackagingConfiguration$ = PackagingConfiguration$;
1338
+ exports.PackagingGroup$ = PackagingGroup$;
425
1339
  exports.PresetSpeke20Audio = PresetSpeke20Audio;
426
1340
  exports.PresetSpeke20Video = PresetSpeke20Video;
427
1341
  exports.Profile = Profile;
428
1342
  exports.ScteMarkersSource = ScteMarkersSource;
429
1343
  exports.SegmentTemplateFormat = SegmentTemplateFormat;
1344
+ exports.ServiceUnavailableException = ServiceUnavailableException;
1345
+ exports.ServiceUnavailableException$ = ServiceUnavailableException$;
1346
+ exports.SpekeKeyProvider$ = SpekeKeyProvider$;
430
1347
  exports.StreamOrder = StreamOrder;
1348
+ exports.StreamSelection$ = StreamSelection$;
1349
+ exports.TagResource$ = TagResource$;
431
1350
  exports.TagResourceCommand = TagResourceCommand;
1351
+ exports.TagResourceRequest$ = TagResourceRequest$;
1352
+ exports.TooManyRequestsException = TooManyRequestsException;
1353
+ exports.TooManyRequestsException$ = TooManyRequestsException$;
1354
+ exports.UnprocessableEntityException = UnprocessableEntityException;
1355
+ exports.UnprocessableEntityException$ = UnprocessableEntityException$;
1356
+ exports.UntagResource$ = UntagResource$;
432
1357
  exports.UntagResourceCommand = UntagResourceCommand;
1358
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1359
+ exports.UpdatePackagingGroup$ = UpdatePackagingGroup$;
433
1360
  exports.UpdatePackagingGroupCommand = UpdatePackagingGroupCommand;
1361
+ exports.UpdatePackagingGroupRequest$ = UpdatePackagingGroupRequest$;
1362
+ exports.UpdatePackagingGroupResponse$ = UpdatePackagingGroupResponse$;
434
1363
  exports.__PeriodTriggersElement = __PeriodTriggersElement;
1364
+ exports.errorTypeRegistries = errorTypeRegistries;
435
1365
  exports.paginateListAssets = paginateListAssets;
436
1366
  exports.paginateListPackagingConfigurations = paginateListPackagingConfigurations;
437
1367
  exports.paginateListPackagingGroups = paginateListPackagingGroups;