@aws-sdk/client-mediapackage 3.1074.0 → 3.1076.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1039 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/MediaPackageServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -85
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -748
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
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 {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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 defaultMediaPackageHttpAuthSchemeParametersProvider = 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",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultMediaPackageHttpAuthSchemeProvider = (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,901 @@ 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-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
92
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
93
|
+
["https://mediapackage-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
94
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
95
|
+
["https://mediapackage.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
96
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
97
|
+
["https://mediapackage.{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 MediaPackageServiceException extends ServiceException {
|
|
133
|
+
constructor(options) {
|
|
134
|
+
super(options);
|
|
135
|
+
Object.setPrototypeOf(this, MediaPackageServiceException.prototype);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class ForbiddenException extends MediaPackageServiceException {
|
|
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 MediaPackageServiceException {
|
|
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 MediaPackageServiceException {
|
|
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 MediaPackageServiceException {
|
|
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 MediaPackageServiceException {
|
|
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 MediaPackageServiceException {
|
|
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 = "Authorization";
|
|
225
|
+
const _AM = "AdMarkers";
|
|
226
|
+
const _AODR = "AdsOnDeliveryRestrictions";
|
|
227
|
+
const _AT = "AdTriggers";
|
|
228
|
+
const _Ar = "Arn";
|
|
229
|
+
const _BN = "BucketName";
|
|
230
|
+
const _C = "Channel";
|
|
231
|
+
const _CA = "CreatedAt";
|
|
232
|
+
const _CAe = "CertificateArn";
|
|
233
|
+
const _CC = "CreateChannel";
|
|
234
|
+
const _CCR = "CreateChannelRequest";
|
|
235
|
+
const _CCRr = "CreateChannelResponse";
|
|
236
|
+
const _CE = "CmafEncryption";
|
|
237
|
+
const _CHJ = "CreateHarvestJob";
|
|
238
|
+
const _CHJR = "CreateHarvestJobRequest";
|
|
239
|
+
const _CHJRr = "CreateHarvestJobResponse";
|
|
240
|
+
const _CI = "ChannelId";
|
|
241
|
+
const _CIS = "CdnIdentifierSecret";
|
|
242
|
+
const _CIV = "ConstantInitializationVector";
|
|
243
|
+
const _CL = "ConfigureLogs";
|
|
244
|
+
const _CLR = "ConfigureLogsRequest";
|
|
245
|
+
const _CLRo = "ConfigureLogsResponse";
|
|
246
|
+
const _COE = "CreateOriginEndpoint";
|
|
247
|
+
const _COER = "CreateOriginEndpointRequest";
|
|
248
|
+
const _COERr = "CreateOriginEndpointResponse";
|
|
249
|
+
const _CP = "CmafPackage";
|
|
250
|
+
const _CPCOUP = "CmafPackageCreateOrUpdateParameters";
|
|
251
|
+
const _Ch = "Channels";
|
|
252
|
+
const _D = "Description";
|
|
253
|
+
const _DC = "DeleteChannel";
|
|
254
|
+
const _DCR = "DeleteChannelRequest";
|
|
255
|
+
const _DCRe = "DeleteChannelResponse";
|
|
256
|
+
const _DCRes = "DescribeChannelRequest";
|
|
257
|
+
const _DCResc = "DescribeChannelResponse";
|
|
258
|
+
const _DCe = "DescribeChannel";
|
|
259
|
+
const _DE = "DashEncryption";
|
|
260
|
+
const _DHJ = "DescribeHarvestJob";
|
|
261
|
+
const _DHJR = "DescribeHarvestJobRequest";
|
|
262
|
+
const _DHJRe = "DescribeHarvestJobResponse";
|
|
263
|
+
const _DOE = "DeleteOriginEndpoint";
|
|
264
|
+
const _DOER = "DeleteOriginEndpointRequest";
|
|
265
|
+
const _DOERe = "DeleteOriginEndpointResponse";
|
|
266
|
+
const _DOERes = "DescribeOriginEndpointRequest";
|
|
267
|
+
const _DOEResc = "DescribeOriginEndpointResponse";
|
|
268
|
+
const _DOEe = "DescribeOriginEndpoint";
|
|
269
|
+
const _DP = "DashPackage";
|
|
270
|
+
const _E = "Encryption";
|
|
271
|
+
const _EAL = "EgressAccessLogs";
|
|
272
|
+
const _ECC = "EncryptionContractConfiguration";
|
|
273
|
+
const _EM = "EncryptionMethod";
|
|
274
|
+
const _ET = "EndTime";
|
|
275
|
+
const _FE = "ForbiddenException";
|
|
276
|
+
const _HE = "HlsEncryption";
|
|
277
|
+
const _HI = "HlsIngest";
|
|
278
|
+
const _HJ = "HarvestJob";
|
|
279
|
+
const _HJa = "HarvestJobs";
|
|
280
|
+
const _HM = "HlsManifests";
|
|
281
|
+
const _HMCOUP = "HlsManifestCreateOrUpdateParameters";
|
|
282
|
+
const _HMl = "HlsManifest";
|
|
283
|
+
const _HP = "HlsPackage";
|
|
284
|
+
const _I = "Id";
|
|
285
|
+
const _IAL = "IngressAccessLogs";
|
|
286
|
+
const _ICI = "IncludeChannelId";
|
|
287
|
+
const _IDS = "IncludeDvbSubtitles";
|
|
288
|
+
const _IE = "IngestEndpoints";
|
|
289
|
+
const _IEI = "IngestEndpointId";
|
|
290
|
+
const _IEn = "IngestEndpoint";
|
|
291
|
+
const _IIOS = "IncludeIframeOnlyStream";
|
|
292
|
+
const _IS = "IncludeStatus";
|
|
293
|
+
const _ISEE = "InternalServerErrorException";
|
|
294
|
+
const _KRIS = "KeyRotationIntervalSeconds";
|
|
295
|
+
const _LC = "ListChannels";
|
|
296
|
+
const _LCR = "ListChannelsRequest";
|
|
297
|
+
const _LCRi = "ListChannelsResponse";
|
|
298
|
+
const _LGN = "LogGroupName";
|
|
299
|
+
const _LHJ = "ListHarvestJobs";
|
|
300
|
+
const _LHJR = "ListHarvestJobsRequest";
|
|
301
|
+
const _LHJRi = "ListHarvestJobsResponse";
|
|
302
|
+
const _LOE = "ListOriginEndpoints";
|
|
303
|
+
const _LOER = "ListOriginEndpointsRequest";
|
|
304
|
+
const _LOERi = "ListOriginEndpointsResponse";
|
|
305
|
+
const _LTFR = "ListTagsForResource";
|
|
306
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
307
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
308
|
+
const _M = "Message";
|
|
309
|
+
const _MBTS = "MinBufferTimeSeconds";
|
|
310
|
+
const _ME = "MssEncryption";
|
|
311
|
+
const _MK = "ManifestKey";
|
|
312
|
+
const _ML = "ManifestLayout";
|
|
313
|
+
const _MN = "ManifestName";
|
|
314
|
+
const _MP = "MssPackage";
|
|
315
|
+
const _MR = "MaxResults";
|
|
316
|
+
const _MUPS = "MinUpdatePeriodSeconds";
|
|
317
|
+
const _MVBPS = "MaxVideoBitsPerSecond";
|
|
318
|
+
const _MVBPSi = "MinVideoBitsPerSecond";
|
|
319
|
+
const _MWS = "ManifestWindowSeconds";
|
|
320
|
+
const _NFE = "NotFoundException";
|
|
321
|
+
const _NT = "NextToken";
|
|
322
|
+
const _O = "Origination";
|
|
323
|
+
const _OE = "OriginEndpoints";
|
|
324
|
+
const _OEI = "OriginEndpointId";
|
|
325
|
+
const _OEr = "OriginEndpoint";
|
|
326
|
+
const _P = "Profile";
|
|
327
|
+
const _PDTIS = "ProgramDateTimeIntervalSeconds";
|
|
328
|
+
const _PSA = "PresetSpeke20Audio";
|
|
329
|
+
const _PSV = "PresetSpeke20Video";
|
|
330
|
+
const _PT = "PeriodTriggers";
|
|
331
|
+
const _PTl = "PlaylistType";
|
|
332
|
+
const _PWS = "PlaylistWindowSeconds";
|
|
333
|
+
const _Pa = "Password";
|
|
334
|
+
const _RA = "ResourceArn";
|
|
335
|
+
const _RAo = "RoleArn";
|
|
336
|
+
const _RCC = "RotateChannelCredentials";
|
|
337
|
+
const _RCCR = "RotateChannelCredentialsRequest";
|
|
338
|
+
const _RCCRo = "RotateChannelCredentialsResponse";
|
|
339
|
+
const _REXK = "RepeatExtXKey";
|
|
340
|
+
const _RI = "ResourceId";
|
|
341
|
+
const _RIEC = "RotateIngestEndpointCredentials";
|
|
342
|
+
const _RIECR = "RotateIngestEndpointCredentialsRequest";
|
|
343
|
+
const _RIECRo = "RotateIngestEndpointCredentialsResponse";
|
|
344
|
+
const _S = "Status";
|
|
345
|
+
const _SD = "S3Destination";
|
|
346
|
+
const _SDS = "SegmentDurationSeconds";
|
|
347
|
+
const _SI = "SystemIds";
|
|
348
|
+
const _SKP = "SpekeKeyProvider";
|
|
349
|
+
const _SO = "StreamOrder";
|
|
350
|
+
const _SP = "SegmentPrefix";
|
|
351
|
+
const _SPDS = "SuggestedPresentationDelaySeconds";
|
|
352
|
+
const _SRA = "SecretsRoleArn";
|
|
353
|
+
const _SS = "SensitiveString";
|
|
354
|
+
const _SSt = "StreamSelection";
|
|
355
|
+
const _ST = "StartTime";
|
|
356
|
+
const _STF = "SegmentTemplateFormat";
|
|
357
|
+
const _SUE = "ServiceUnavailableException";
|
|
358
|
+
const _SWS = "StartoverWindowSeconds";
|
|
359
|
+
const _T = "Tags";
|
|
360
|
+
const _TDS = "TimeDelaySeconds";
|
|
361
|
+
const _TK = "TagKeys";
|
|
362
|
+
const _TMRE = "TooManyRequestsException";
|
|
363
|
+
const _TR = "TagResource";
|
|
364
|
+
const _TRR = "TagResourceRequest";
|
|
365
|
+
const _U = "Url";
|
|
366
|
+
const _UARG = "UseAudioRenditionGroup";
|
|
367
|
+
const _UC = "UpdateChannel";
|
|
368
|
+
const _UCR = "UpdateChannelRequest";
|
|
369
|
+
const _UCRp = "UpdateChannelResponse";
|
|
370
|
+
const _UEE = "UnprocessableEntityException";
|
|
371
|
+
const _UOE = "UpdateOriginEndpoint";
|
|
372
|
+
const _UOER = "UpdateOriginEndpointRequest";
|
|
373
|
+
const _UOERp = "UpdateOriginEndpointResponse";
|
|
374
|
+
const _UR = "UntagResource";
|
|
375
|
+
const _URR = "UntagResourceRequest";
|
|
376
|
+
const _UT = "UtcTiming";
|
|
377
|
+
const _UTU = "UtcTimingUri";
|
|
378
|
+
const _Us = "Username";
|
|
379
|
+
const _W = "Whitelist";
|
|
380
|
+
const _a = "arn";
|
|
381
|
+
const _aM = "adMarkers";
|
|
382
|
+
const _aODR = "adsOnDeliveryRestrictions";
|
|
383
|
+
const _aT = "adTriggers";
|
|
384
|
+
const _au = "authorization";
|
|
385
|
+
const _bN = "bucketName";
|
|
386
|
+
const _c = "client";
|
|
387
|
+
const _cA = "createdAt";
|
|
388
|
+
const _cAe = "certificateArn";
|
|
389
|
+
const _cI = "channelId";
|
|
390
|
+
const _cIS = "cdnIdentifierSecret";
|
|
391
|
+
const _cIV = "constantInitializationVector";
|
|
392
|
+
const _cP = "cmafPackage";
|
|
393
|
+
const _ch = "channels";
|
|
394
|
+
const _d = "description";
|
|
395
|
+
const _dP = "dashPackage";
|
|
396
|
+
const _e = "error";
|
|
397
|
+
const _eAL = "egressAccessLogs";
|
|
398
|
+
const _eCC = "encryptionContractConfiguration";
|
|
399
|
+
const _eM = "encryptionMethod";
|
|
400
|
+
const _eT = "endTime";
|
|
401
|
+
const _en = "encryption";
|
|
402
|
+
const _h = "http";
|
|
403
|
+
const _hE = "httpError";
|
|
404
|
+
const _hI = "hlsIngest";
|
|
405
|
+
const _hJ = "harvestJobs";
|
|
406
|
+
const _hM = "hlsManifests";
|
|
407
|
+
const _hP = "hlsPackage";
|
|
408
|
+
const _hQ = "httpQuery";
|
|
409
|
+
const _i = "id";
|
|
410
|
+
const _iAL = "ingressAccessLogs";
|
|
411
|
+
const _iCI = "includeChannelId";
|
|
412
|
+
const _iDS = "includeDvbSubtitles";
|
|
413
|
+
const _iE = "ingestEndpoints";
|
|
414
|
+
const _iIOS = "includeIframeOnlyStream";
|
|
415
|
+
const _iS = "includeStatus";
|
|
416
|
+
const _jN = "jsonName";
|
|
417
|
+
const _kRIS = "keyRotationIntervalSeconds";
|
|
418
|
+
const _lGN = "logGroupName";
|
|
419
|
+
const _lOC = "__listOfChannel";
|
|
420
|
+
const _lOHJ = "__listOfHarvestJob";
|
|
421
|
+
const _lOHM = "__listOfHlsManifest";
|
|
422
|
+
const _lOHMCOUP = "__listOfHlsManifestCreateOrUpdateParameters";
|
|
423
|
+
const _lOIE = "__listOfIngestEndpoint";
|
|
424
|
+
const _lOOE = "__listOfOriginEndpoint";
|
|
425
|
+
const _m = "message";
|
|
426
|
+
const _mBTS = "minBufferTimeSeconds";
|
|
427
|
+
const _mK = "manifestKey";
|
|
428
|
+
const _mL = "manifestLayout";
|
|
429
|
+
const _mN = "manifestName";
|
|
430
|
+
const _mP = "mssPackage";
|
|
431
|
+
const _mR = "maxResults";
|
|
432
|
+
const _mUPS = "minUpdatePeriodSeconds";
|
|
433
|
+
const _mVBPS = "maxVideoBitsPerSecond";
|
|
434
|
+
const _mVBPSi = "minVideoBitsPerSecond";
|
|
435
|
+
const _mWS = "manifestWindowSeconds";
|
|
436
|
+
const _nT = "nextToken";
|
|
437
|
+
const _o = "origination";
|
|
438
|
+
const _oE = "originEndpoints";
|
|
439
|
+
const _oEI = "originEndpointId";
|
|
440
|
+
const _p = "profile";
|
|
441
|
+
const _pDTIS = "programDateTimeIntervalSeconds";
|
|
442
|
+
const _pSA = "presetSpeke20Audio";
|
|
443
|
+
const _pSV = "presetSpeke20Video";
|
|
444
|
+
const _pT = "periodTriggers";
|
|
445
|
+
const _pTl = "playlistType";
|
|
446
|
+
const _pWS = "playlistWindowSeconds";
|
|
447
|
+
const _pa = "password";
|
|
448
|
+
const _rA = "roleArn";
|
|
449
|
+
const _rEXK = "repeatExtXKey";
|
|
450
|
+
const _rI = "resourceId";
|
|
451
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.mediapackage";
|
|
452
|
+
const _sD = "s3Destination";
|
|
453
|
+
const _sDS = "segmentDurationSeconds";
|
|
454
|
+
const _sI = "systemIds";
|
|
455
|
+
const _sKP = "spekeKeyProvider";
|
|
456
|
+
const _sO = "streamOrder";
|
|
457
|
+
const _sP = "segmentPrefix";
|
|
458
|
+
const _sPDS = "suggestedPresentationDelaySeconds";
|
|
459
|
+
const _sRA = "secretsRoleArn";
|
|
460
|
+
const _sS = "streamSelection";
|
|
461
|
+
const _sT = "startTime";
|
|
462
|
+
const _sTF = "segmentTemplateFormat";
|
|
463
|
+
const _sWS = "startoverWindowSeconds";
|
|
464
|
+
const _se = "server";
|
|
465
|
+
const _st = "status";
|
|
466
|
+
const _t = "tags";
|
|
467
|
+
const _tDS = "timeDelaySeconds";
|
|
468
|
+
const _tK = "tagKeys";
|
|
469
|
+
const _u = "url";
|
|
470
|
+
const _uARG = "useAudioRenditionGroup";
|
|
471
|
+
const _uT = "utcTiming";
|
|
472
|
+
const _uTU = "utcTimingUri";
|
|
473
|
+
const _us = "username";
|
|
474
|
+
const _w = "whitelist";
|
|
475
|
+
const n0 = "com.amazonaws.mediapackage";
|
|
476
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
477
|
+
var MediaPackageServiceException$ = [-3, _s, "MediaPackageServiceException", 0, [], []];
|
|
478
|
+
_s_registry.registerError(MediaPackageServiceException$, MediaPackageServiceException);
|
|
479
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
480
|
+
var ForbiddenException$ = [-3, n0, _FE,
|
|
481
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
482
|
+
[_M],
|
|
483
|
+
[[0, { [_jN]: _m }]]
|
|
484
|
+
];
|
|
485
|
+
n0_registry.registerError(ForbiddenException$, ForbiddenException);
|
|
486
|
+
var InternalServerErrorException$ = [-3, n0, _ISEE,
|
|
487
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
488
|
+
[_M],
|
|
489
|
+
[[0, { [_jN]: _m }]]
|
|
490
|
+
];
|
|
491
|
+
n0_registry.registerError(InternalServerErrorException$, InternalServerErrorException);
|
|
492
|
+
var NotFoundException$ = [-3, n0, _NFE,
|
|
493
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
494
|
+
[_M],
|
|
495
|
+
[[0, { [_jN]: _m }]]
|
|
496
|
+
];
|
|
497
|
+
n0_registry.registerError(NotFoundException$, NotFoundException);
|
|
498
|
+
var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
499
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
500
|
+
[_M],
|
|
501
|
+
[[0, { [_jN]: _m }]]
|
|
502
|
+
];
|
|
503
|
+
n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
504
|
+
var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
505
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
506
|
+
[_M],
|
|
507
|
+
[[0, { [_jN]: _m }]]
|
|
508
|
+
];
|
|
509
|
+
n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
510
|
+
var UnprocessableEntityException$ = [-3, n0, _UEE,
|
|
511
|
+
{ [_e]: _c, [_hE]: 422 },
|
|
512
|
+
[_M],
|
|
513
|
+
[[0, { [_jN]: _m }]]
|
|
514
|
+
];
|
|
515
|
+
n0_registry.registerError(UnprocessableEntityException$, UnprocessableEntityException);
|
|
516
|
+
const errorTypeRegistries = [
|
|
517
|
+
_s_registry,
|
|
518
|
+
n0_registry,
|
|
519
|
+
];
|
|
520
|
+
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
521
|
+
var Authorization$ = [3, n0, _A,
|
|
522
|
+
0,
|
|
523
|
+
[_CIS, _SRA],
|
|
524
|
+
[[0, { [_jN]: _cIS }], [0, { [_jN]: _sRA }]], 2
|
|
525
|
+
];
|
|
526
|
+
var Channel$ = [3, n0, _C,
|
|
527
|
+
0,
|
|
528
|
+
[_Ar, _CA, _D, _EAL, _HI, _I, _IAL, _T],
|
|
529
|
+
[[0, { [_jN]: _a }], [0, { [_jN]: _cA }], [0, { [_jN]: _d }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [() => HlsIngest$, { [_jN]: _hI }], [0, { [_jN]: _i }], [() => IngressAccessLogs$, { [_jN]: _iAL }], [128 | 0, { [_jN]: _t }]]
|
|
530
|
+
];
|
|
531
|
+
var CmafEncryption$ = [3, n0, _CE,
|
|
532
|
+
0,
|
|
533
|
+
[_SKP, _CIV, _EM, _KRIS],
|
|
534
|
+
[[() => SpekeKeyProvider$, { [_jN]: _sKP }], [0, { [_jN]: _cIV }], [0, { [_jN]: _eM }], [1, { [_jN]: _kRIS }]], 1
|
|
535
|
+
];
|
|
536
|
+
var CmafPackage$ = [3, n0, _CP,
|
|
537
|
+
0,
|
|
538
|
+
[_E, _HM, _SDS, _SP, _SSt],
|
|
539
|
+
[[() => CmafEncryption$, { [_jN]: _en }], [() => __listOfHlsManifest, { [_jN]: _hM }], [1, { [_jN]: _sDS }], [0, { [_jN]: _sP }], [() => StreamSelection$, { [_jN]: _sS }]]
|
|
540
|
+
];
|
|
541
|
+
var CmafPackageCreateOrUpdateParameters$ = [3, n0, _CPCOUP,
|
|
542
|
+
0,
|
|
543
|
+
[_E, _HM, _SDS, _SP, _SSt],
|
|
544
|
+
[[() => CmafEncryption$, { [_jN]: _en }], [() => __listOfHlsManifestCreateOrUpdateParameters, { [_jN]: _hM }], [1, { [_jN]: _sDS }], [0, { [_jN]: _sP }], [() => StreamSelection$, { [_jN]: _sS }]]
|
|
545
|
+
];
|
|
546
|
+
var ConfigureLogsRequest$ = [3, n0, _CLR,
|
|
547
|
+
0,
|
|
548
|
+
[_I, _EAL, _IAL],
|
|
549
|
+
[[0, 1], [() => EgressAccessLogs$, { [_jN]: _eAL }], [() => IngressAccessLogs$, { [_jN]: _iAL }]], 1
|
|
550
|
+
];
|
|
551
|
+
var ConfigureLogsResponse$ = [3, n0, _CLRo,
|
|
552
|
+
0,
|
|
553
|
+
[_Ar, _CA, _D, _EAL, _HI, _I, _IAL, _T],
|
|
554
|
+
[[0, { [_jN]: _a }], [0, { [_jN]: _cA }], [0, { [_jN]: _d }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [() => HlsIngest$, { [_jN]: _hI }], [0, { [_jN]: _i }], [() => IngressAccessLogs$, { [_jN]: _iAL }], [128 | 0, { [_jN]: _t }]]
|
|
555
|
+
];
|
|
556
|
+
var CreateChannelRequest$ = [3, n0, _CCR,
|
|
557
|
+
0,
|
|
558
|
+
[_I, _D, _T],
|
|
559
|
+
[[0, { [_jN]: _i }], [0, { [_jN]: _d }], [128 | 0, { [_jN]: _t }]], 1
|
|
560
|
+
];
|
|
561
|
+
var CreateChannelResponse$ = [3, n0, _CCRr,
|
|
562
|
+
0,
|
|
563
|
+
[_Ar, _CA, _D, _EAL, _HI, _I, _IAL, _T],
|
|
564
|
+
[[0, { [_jN]: _a }], [0, { [_jN]: _cA }], [0, { [_jN]: _d }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [() => HlsIngest$, { [_jN]: _hI }], [0, { [_jN]: _i }], [() => IngressAccessLogs$, { [_jN]: _iAL }], [128 | 0, { [_jN]: _t }]]
|
|
565
|
+
];
|
|
566
|
+
var CreateHarvestJobRequest$ = [3, n0, _CHJR,
|
|
567
|
+
0,
|
|
568
|
+
[_ET, _I, _OEI, _SD, _ST],
|
|
569
|
+
[[0, { [_jN]: _eT }], [0, { [_jN]: _i }], [0, { [_jN]: _oEI }], [() => S3Destination$, { [_jN]: _sD }], [0, { [_jN]: _sT }]], 5
|
|
570
|
+
];
|
|
571
|
+
var CreateHarvestJobResponse$ = [3, n0, _CHJRr,
|
|
572
|
+
0,
|
|
573
|
+
[_Ar, _CI, _CA, _ET, _I, _OEI, _SD, _ST, _S],
|
|
574
|
+
[[0, { [_jN]: _a }], [0, { [_jN]: _cI }], [0, { [_jN]: _cA }], [0, { [_jN]: _eT }], [0, { [_jN]: _i }], [0, { [_jN]: _oEI }], [() => S3Destination$, { [_jN]: _sD }], [0, { [_jN]: _sT }], [0, { [_jN]: _st }]]
|
|
575
|
+
];
|
|
576
|
+
var CreateOriginEndpointRequest$ = [3, n0, _COER,
|
|
577
|
+
0,
|
|
578
|
+
[_CI, _I, _A, _CP, _DP, _D, _HP, _MN, _MP, _O, _SWS, _T, _TDS, _W],
|
|
579
|
+
[[0, { [_jN]: _cI }], [0, { [_jN]: _i }], [() => Authorization$, { [_jN]: _au }], [() => CmafPackageCreateOrUpdateParameters$, { [_jN]: _cP }], [() => DashPackage$, { [_jN]: _dP }], [0, { [_jN]: _d }], [() => HlsPackage$, { [_jN]: _hP }], [0, { [_jN]: _mN }], [() => MssPackage$, { [_jN]: _mP }], [0, { [_jN]: _o }], [1, { [_jN]: _sWS }], [128 | 0, { [_jN]: _t }], [1, { [_jN]: _tDS }], [64 | 0, { [_jN]: _w }]], 2
|
|
580
|
+
];
|
|
581
|
+
var CreateOriginEndpointResponse$ = [3, n0, _COERr,
|
|
582
|
+
0,
|
|
583
|
+
[_Ar, _A, _CI, _CP, _CA, _DP, _D, _HP, _I, _MN, _MP, _O, _SWS, _T, _TDS, _U, _W],
|
|
584
|
+
[[0, { [_jN]: _a }], [() => Authorization$, { [_jN]: _au }], [0, { [_jN]: _cI }], [() => CmafPackage$, { [_jN]: _cP }], [0, { [_jN]: _cA }], [() => DashPackage$, { [_jN]: _dP }], [0, { [_jN]: _d }], [() => HlsPackage$, { [_jN]: _hP }], [0, { [_jN]: _i }], [0, { [_jN]: _mN }], [() => MssPackage$, { [_jN]: _mP }], [0, { [_jN]: _o }], [1, { [_jN]: _sWS }], [128 | 0, { [_jN]: _t }], [1, { [_jN]: _tDS }], [0, { [_jN]: _u }], [64 | 0, { [_jN]: _w }]]
|
|
585
|
+
];
|
|
586
|
+
var DashEncryption$ = [3, n0, _DE,
|
|
587
|
+
0,
|
|
588
|
+
[_SKP, _KRIS],
|
|
589
|
+
[[() => SpekeKeyProvider$, { [_jN]: _sKP }], [1, { [_jN]: _kRIS }]], 1
|
|
590
|
+
];
|
|
591
|
+
var DashPackage$ = [3, n0, _DP,
|
|
592
|
+
0,
|
|
593
|
+
[_AT, _AODR, _E, _IIOS, _ML, _MWS, _MBTS, _MUPS, _PT, _P, _SDS, _STF, _SSt, _SPDS, _UT, _UTU],
|
|
594
|
+
[[64 | 0, { [_jN]: _aT }], [0, { [_jN]: _aODR }], [() => DashEncryption$, { [_jN]: _en }], [2, { [_jN]: _iIOS }], [0, { [_jN]: _mL }], [1, { [_jN]: _mWS }], [1, { [_jN]: _mBTS }], [1, { [_jN]: _mUPS }], [64 | 0, { [_jN]: _pT }], [0, { [_jN]: _p }], [1, { [_jN]: _sDS }], [0, { [_jN]: _sTF }], [() => StreamSelection$, { [_jN]: _sS }], [1, { [_jN]: _sPDS }], [0, { [_jN]: _uT }], [0, { [_jN]: _uTU }]]
|
|
595
|
+
];
|
|
596
|
+
var DeleteChannelRequest$ = [3, n0, _DCR,
|
|
597
|
+
0,
|
|
598
|
+
[_I],
|
|
599
|
+
[[0, 1]], 1
|
|
600
|
+
];
|
|
601
|
+
var DeleteChannelResponse$ = [3, n0, _DCRe,
|
|
602
|
+
0,
|
|
603
|
+
[],
|
|
604
|
+
[]
|
|
605
|
+
];
|
|
606
|
+
var DeleteOriginEndpointRequest$ = [3, n0, _DOER,
|
|
607
|
+
0,
|
|
608
|
+
[_I],
|
|
609
|
+
[[0, 1]], 1
|
|
610
|
+
];
|
|
611
|
+
var DeleteOriginEndpointResponse$ = [3, n0, _DOERe,
|
|
612
|
+
0,
|
|
613
|
+
[],
|
|
614
|
+
[]
|
|
615
|
+
];
|
|
616
|
+
var DescribeChannelRequest$ = [3, n0, _DCRes,
|
|
617
|
+
0,
|
|
618
|
+
[_I],
|
|
619
|
+
[[0, 1]], 1
|
|
620
|
+
];
|
|
621
|
+
var DescribeChannelResponse$ = [3, n0, _DCResc,
|
|
622
|
+
0,
|
|
623
|
+
[_Ar, _CA, _D, _EAL, _HI, _I, _IAL, _T],
|
|
624
|
+
[[0, { [_jN]: _a }], [0, { [_jN]: _cA }], [0, { [_jN]: _d }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [() => HlsIngest$, { [_jN]: _hI }], [0, { [_jN]: _i }], [() => IngressAccessLogs$, { [_jN]: _iAL }], [128 | 0, { [_jN]: _t }]]
|
|
625
|
+
];
|
|
626
|
+
var DescribeHarvestJobRequest$ = [3, n0, _DHJR,
|
|
627
|
+
0,
|
|
628
|
+
[_I],
|
|
629
|
+
[[0, 1]], 1
|
|
630
|
+
];
|
|
631
|
+
var DescribeHarvestJobResponse$ = [3, n0, _DHJRe,
|
|
632
|
+
0,
|
|
633
|
+
[_Ar, _CI, _CA, _ET, _I, _OEI, _SD, _ST, _S],
|
|
634
|
+
[[0, { [_jN]: _a }], [0, { [_jN]: _cI }], [0, { [_jN]: _cA }], [0, { [_jN]: _eT }], [0, { [_jN]: _i }], [0, { [_jN]: _oEI }], [() => S3Destination$, { [_jN]: _sD }], [0, { [_jN]: _sT }], [0, { [_jN]: _st }]]
|
|
635
|
+
];
|
|
636
|
+
var DescribeOriginEndpointRequest$ = [3, n0, _DOERes,
|
|
637
|
+
0,
|
|
638
|
+
[_I],
|
|
639
|
+
[[0, 1]], 1
|
|
640
|
+
];
|
|
641
|
+
var DescribeOriginEndpointResponse$ = [3, n0, _DOEResc,
|
|
642
|
+
0,
|
|
643
|
+
[_Ar, _A, _CI, _CP, _CA, _DP, _D, _HP, _I, _MN, _MP, _O, _SWS, _T, _TDS, _U, _W],
|
|
644
|
+
[[0, { [_jN]: _a }], [() => Authorization$, { [_jN]: _au }], [0, { [_jN]: _cI }], [() => CmafPackage$, { [_jN]: _cP }], [0, { [_jN]: _cA }], [() => DashPackage$, { [_jN]: _dP }], [0, { [_jN]: _d }], [() => HlsPackage$, { [_jN]: _hP }], [0, { [_jN]: _i }], [0, { [_jN]: _mN }], [() => MssPackage$, { [_jN]: _mP }], [0, { [_jN]: _o }], [1, { [_jN]: _sWS }], [128 | 0, { [_jN]: _t }], [1, { [_jN]: _tDS }], [0, { [_jN]: _u }], [64 | 0, { [_jN]: _w }]]
|
|
645
|
+
];
|
|
646
|
+
var EgressAccessLogs$ = [3, n0, _EAL,
|
|
647
|
+
0,
|
|
648
|
+
[_LGN],
|
|
649
|
+
[[0, { [_jN]: _lGN }]]
|
|
650
|
+
];
|
|
651
|
+
var EncryptionContractConfiguration$ = [3, n0, _ECC,
|
|
652
|
+
0,
|
|
653
|
+
[_PSA, _PSV],
|
|
654
|
+
[[0, { [_jN]: _pSA }], [0, { [_jN]: _pSV }]], 2
|
|
655
|
+
];
|
|
656
|
+
var HarvestJob$ = [3, n0, _HJ,
|
|
657
|
+
0,
|
|
658
|
+
[_Ar, _CI, _CA, _ET, _I, _OEI, _SD, _ST, _S],
|
|
659
|
+
[[0, { [_jN]: _a }], [0, { [_jN]: _cI }], [0, { [_jN]: _cA }], [0, { [_jN]: _eT }], [0, { [_jN]: _i }], [0, { [_jN]: _oEI }], [() => S3Destination$, { [_jN]: _sD }], [0, { [_jN]: _sT }], [0, { [_jN]: _st }]]
|
|
660
|
+
];
|
|
661
|
+
var HlsEncryption$ = [3, n0, _HE,
|
|
662
|
+
0,
|
|
663
|
+
[_SKP, _CIV, _EM, _KRIS, _REXK],
|
|
664
|
+
[[() => SpekeKeyProvider$, { [_jN]: _sKP }], [0, { [_jN]: _cIV }], [0, { [_jN]: _eM }], [1, { [_jN]: _kRIS }], [2, { [_jN]: _rEXK }]], 1
|
|
665
|
+
];
|
|
666
|
+
var HlsIngest$ = [3, n0, _HI,
|
|
667
|
+
0,
|
|
668
|
+
[_IE],
|
|
669
|
+
[[() => __listOfIngestEndpoint, { [_jN]: _iE }]]
|
|
670
|
+
];
|
|
671
|
+
var HlsManifest$ = [3, n0, _HMl,
|
|
672
|
+
0,
|
|
673
|
+
[_I, _AM, _IIOS, _MN, _PTl, _PWS, _PDTIS, _U, _AT, _AODR],
|
|
674
|
+
[[0, { [_jN]: _i }], [0, { [_jN]: _aM }], [2, { [_jN]: _iIOS }], [0, { [_jN]: _mN }], [0, { [_jN]: _pTl }], [1, { [_jN]: _pWS }], [1, { [_jN]: _pDTIS }], [0, { [_jN]: _u }], [64 | 0, { [_jN]: _aT }], [0, { [_jN]: _aODR }]], 1
|
|
675
|
+
];
|
|
676
|
+
var HlsManifestCreateOrUpdateParameters$ = [3, n0, _HMCOUP,
|
|
677
|
+
0,
|
|
678
|
+
[_I, _AM, _AT, _AODR, _IIOS, _MN, _PTl, _PWS, _PDTIS],
|
|
679
|
+
[[0, { [_jN]: _i }], [0, { [_jN]: _aM }], [64 | 0, { [_jN]: _aT }], [0, { [_jN]: _aODR }], [2, { [_jN]: _iIOS }], [0, { [_jN]: _mN }], [0, { [_jN]: _pTl }], [1, { [_jN]: _pWS }], [1, { [_jN]: _pDTIS }]], 1
|
|
680
|
+
];
|
|
681
|
+
var HlsPackage$ = [3, n0, _HP,
|
|
682
|
+
0,
|
|
683
|
+
[_AM, _AT, _AODR, _E, _IDS, _IIOS, _PTl, _PWS, _PDTIS, _SDS, _SSt, _UARG],
|
|
684
|
+
[[0, { [_jN]: _aM }], [64 | 0, { [_jN]: _aT }], [0, { [_jN]: _aODR }], [() => HlsEncryption$, { [_jN]: _en }], [2, { [_jN]: _iDS }], [2, { [_jN]: _iIOS }], [0, { [_jN]: _pTl }], [1, { [_jN]: _pWS }], [1, { [_jN]: _pDTIS }], [1, { [_jN]: _sDS }], [() => StreamSelection$, { [_jN]: _sS }], [2, { [_jN]: _uARG }]]
|
|
685
|
+
];
|
|
686
|
+
var IngestEndpoint$ = [3, n0, _IEn,
|
|
687
|
+
0,
|
|
688
|
+
[_I, _Pa, _U, _Us],
|
|
689
|
+
[[0, { [_jN]: _i }], [() => SensitiveString, { [_jN]: _pa }], [0, { [_jN]: _u }], [() => SensitiveString, { [_jN]: _us }]]
|
|
690
|
+
];
|
|
691
|
+
var IngressAccessLogs$ = [3, n0, _IAL,
|
|
692
|
+
0,
|
|
693
|
+
[_LGN],
|
|
694
|
+
[[0, { [_jN]: _lGN }]]
|
|
695
|
+
];
|
|
696
|
+
var ListChannelsRequest$ = [3, n0, _LCR,
|
|
697
|
+
0,
|
|
698
|
+
[_MR, _NT],
|
|
699
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
700
|
+
];
|
|
701
|
+
var ListChannelsResponse$ = [3, n0, _LCRi,
|
|
702
|
+
0,
|
|
703
|
+
[_Ch, _NT],
|
|
704
|
+
[[() => __listOfChannel, { [_jN]: _ch }], [0, { [_jN]: _nT }]]
|
|
705
|
+
];
|
|
706
|
+
var ListHarvestJobsRequest$ = [3, n0, _LHJR,
|
|
707
|
+
0,
|
|
708
|
+
[_ICI, _IS, _MR, _NT],
|
|
709
|
+
[[0, { [_hQ]: _iCI }], [0, { [_hQ]: _iS }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
710
|
+
];
|
|
711
|
+
var ListHarvestJobsResponse$ = [3, n0, _LHJRi,
|
|
712
|
+
0,
|
|
713
|
+
[_HJa, _NT],
|
|
714
|
+
[[() => __listOfHarvestJob, { [_jN]: _hJ }], [0, { [_jN]: _nT }]]
|
|
715
|
+
];
|
|
716
|
+
var ListOriginEndpointsRequest$ = [3, n0, _LOER,
|
|
717
|
+
0,
|
|
718
|
+
[_CI, _MR, _NT],
|
|
719
|
+
[[0, { [_hQ]: _cI }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
720
|
+
];
|
|
721
|
+
var ListOriginEndpointsResponse$ = [3, n0, _LOERi,
|
|
722
|
+
0,
|
|
723
|
+
[_NT, _OE],
|
|
724
|
+
[[0, { [_jN]: _nT }], [() => __listOfOriginEndpoint, { [_jN]: _oE }]]
|
|
725
|
+
];
|
|
726
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
727
|
+
0,
|
|
728
|
+
[_RA],
|
|
729
|
+
[[0, 1]], 1
|
|
730
|
+
];
|
|
731
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
732
|
+
0,
|
|
733
|
+
[_T],
|
|
734
|
+
[[128 | 0, { [_jN]: _t }]]
|
|
735
|
+
];
|
|
736
|
+
var MssEncryption$ = [3, n0, _ME,
|
|
737
|
+
0,
|
|
738
|
+
[_SKP],
|
|
739
|
+
[[() => SpekeKeyProvider$, { [_jN]: _sKP }]], 1
|
|
740
|
+
];
|
|
741
|
+
var MssPackage$ = [3, n0, _MP,
|
|
742
|
+
0,
|
|
743
|
+
[_E, _MWS, _SDS, _SSt],
|
|
744
|
+
[[() => MssEncryption$, { [_jN]: _en }], [1, { [_jN]: _mWS }], [1, { [_jN]: _sDS }], [() => StreamSelection$, { [_jN]: _sS }]]
|
|
745
|
+
];
|
|
746
|
+
var OriginEndpoint$ = [3, n0, _OEr,
|
|
747
|
+
0,
|
|
748
|
+
[_Ar, _A, _CI, _CP, _CA, _DP, _D, _HP, _I, _MN, _MP, _O, _SWS, _T, _TDS, _U, _W],
|
|
749
|
+
[[0, { [_jN]: _a }], [() => Authorization$, { [_jN]: _au }], [0, { [_jN]: _cI }], [() => CmafPackage$, { [_jN]: _cP }], [0, { [_jN]: _cA }], [() => DashPackage$, { [_jN]: _dP }], [0, { [_jN]: _d }], [() => HlsPackage$, { [_jN]: _hP }], [0, { [_jN]: _i }], [0, { [_jN]: _mN }], [() => MssPackage$, { [_jN]: _mP }], [0, { [_jN]: _o }], [1, { [_jN]: _sWS }], [128 | 0, { [_jN]: _t }], [1, { [_jN]: _tDS }], [0, { [_jN]: _u }], [64 | 0, { [_jN]: _w }]]
|
|
750
|
+
];
|
|
751
|
+
var RotateChannelCredentialsRequest$ = [3, n0, _RCCR,
|
|
752
|
+
0,
|
|
753
|
+
[_I],
|
|
754
|
+
[[0, 1]], 1
|
|
755
|
+
];
|
|
756
|
+
var RotateChannelCredentialsResponse$ = [3, n0, _RCCRo,
|
|
757
|
+
0,
|
|
758
|
+
[_Ar, _CA, _D, _EAL, _HI, _I, _IAL, _T],
|
|
759
|
+
[[0, { [_jN]: _a }], [0, { [_jN]: _cA }], [0, { [_jN]: _d }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [() => HlsIngest$, { [_jN]: _hI }], [0, { [_jN]: _i }], [() => IngressAccessLogs$, { [_jN]: _iAL }], [128 | 0, { [_jN]: _t }]]
|
|
760
|
+
];
|
|
761
|
+
var RotateIngestEndpointCredentialsRequest$ = [3, n0, _RIECR,
|
|
762
|
+
0,
|
|
763
|
+
[_I, _IEI],
|
|
764
|
+
[[0, 1], [0, 1]], 2
|
|
765
|
+
];
|
|
766
|
+
var RotateIngestEndpointCredentialsResponse$ = [3, n0, _RIECRo,
|
|
767
|
+
0,
|
|
768
|
+
[_Ar, _CA, _D, _EAL, _HI, _I, _IAL, _T],
|
|
769
|
+
[[0, { [_jN]: _a }], [0, { [_jN]: _cA }], [0, { [_jN]: _d }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [() => HlsIngest$, { [_jN]: _hI }], [0, { [_jN]: _i }], [() => IngressAccessLogs$, { [_jN]: _iAL }], [128 | 0, { [_jN]: _t }]]
|
|
770
|
+
];
|
|
771
|
+
var S3Destination$ = [3, n0, _SD,
|
|
772
|
+
0,
|
|
773
|
+
[_BN, _MK, _RAo],
|
|
774
|
+
[[0, { [_jN]: _bN }], [0, { [_jN]: _mK }], [0, { [_jN]: _rA }]], 3
|
|
775
|
+
];
|
|
776
|
+
var SpekeKeyProvider$ = [3, n0, _SKP,
|
|
777
|
+
0,
|
|
778
|
+
[_RI, _RAo, _SI, _U, _CAe, _ECC],
|
|
779
|
+
[[0, { [_jN]: _rI }], [0, { [_jN]: _rA }], [64 | 0, { [_jN]: _sI }], [0, { [_jN]: _u }], [0, { [_jN]: _cAe }], [() => EncryptionContractConfiguration$, { [_jN]: _eCC }]], 4
|
|
780
|
+
];
|
|
781
|
+
var StreamSelection$ = [3, n0, _SSt,
|
|
782
|
+
0,
|
|
783
|
+
[_MVBPS, _MVBPSi, _SO],
|
|
784
|
+
[[1, { [_jN]: _mVBPS }], [1, { [_jN]: _mVBPSi }], [0, { [_jN]: _sO }]]
|
|
785
|
+
];
|
|
786
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
787
|
+
0,
|
|
788
|
+
[_RA, _T],
|
|
789
|
+
[[0, 1], [128 | 0, { [_jN]: _t }]], 2
|
|
790
|
+
];
|
|
791
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
792
|
+
0,
|
|
793
|
+
[_RA, _TK],
|
|
794
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
795
|
+
];
|
|
796
|
+
var UpdateChannelRequest$ = [3, n0, _UCR,
|
|
797
|
+
0,
|
|
798
|
+
[_I, _D],
|
|
799
|
+
[[0, 1], [0, { [_jN]: _d }]], 1
|
|
800
|
+
];
|
|
801
|
+
var UpdateChannelResponse$ = [3, n0, _UCRp,
|
|
802
|
+
0,
|
|
803
|
+
[_Ar, _CA, _D, _EAL, _HI, _I, _IAL, _T],
|
|
804
|
+
[[0, { [_jN]: _a }], [0, { [_jN]: _cA }], [0, { [_jN]: _d }], [() => EgressAccessLogs$, { [_jN]: _eAL }], [() => HlsIngest$, { [_jN]: _hI }], [0, { [_jN]: _i }], [() => IngressAccessLogs$, { [_jN]: _iAL }], [128 | 0, { [_jN]: _t }]]
|
|
805
|
+
];
|
|
806
|
+
var UpdateOriginEndpointRequest$ = [3, n0, _UOER,
|
|
807
|
+
0,
|
|
808
|
+
[_I, _A, _CP, _DP, _D, _HP, _MN, _MP, _O, _SWS, _TDS, _W],
|
|
809
|
+
[[0, 1], [() => Authorization$, { [_jN]: _au }], [() => CmafPackageCreateOrUpdateParameters$, { [_jN]: _cP }], [() => DashPackage$, { [_jN]: _dP }], [0, { [_jN]: _d }], [() => HlsPackage$, { [_jN]: _hP }], [0, { [_jN]: _mN }], [() => MssPackage$, { [_jN]: _mP }], [0, { [_jN]: _o }], [1, { [_jN]: _sWS }], [1, { [_jN]: _tDS }], [64 | 0, { [_jN]: _w }]], 1
|
|
810
|
+
];
|
|
811
|
+
var UpdateOriginEndpointResponse$ = [3, n0, _UOERp,
|
|
812
|
+
0,
|
|
813
|
+
[_Ar, _A, _CI, _CP, _CA, _DP, _D, _HP, _I, _MN, _MP, _O, _SWS, _T, _TDS, _U, _W],
|
|
814
|
+
[[0, { [_jN]: _a }], [() => Authorization$, { [_jN]: _au }], [0, { [_jN]: _cI }], [() => CmafPackage$, { [_jN]: _cP }], [0, { [_jN]: _cA }], [() => DashPackage$, { [_jN]: _dP }], [0, { [_jN]: _d }], [() => HlsPackage$, { [_jN]: _hP }], [0, { [_jN]: _i }], [0, { [_jN]: _mN }], [() => MssPackage$, { [_jN]: _mP }], [0, { [_jN]: _o }], [1, { [_jN]: _sWS }], [128 | 0, { [_jN]: _t }], [1, { [_jN]: _tDS }], [0, { [_jN]: _u }], [64 | 0, { [_jN]: _w }]]
|
|
815
|
+
];
|
|
816
|
+
var __Unit = "unit";
|
|
817
|
+
var __listOfChannel = [1, n0, _lOC,
|
|
818
|
+
0, [() => Channel$,
|
|
819
|
+
0]
|
|
820
|
+
];
|
|
821
|
+
var __listOfHarvestJob = [1, n0, _lOHJ,
|
|
822
|
+
0, [() => HarvestJob$,
|
|
823
|
+
0]
|
|
824
|
+
];
|
|
825
|
+
var __listOfHlsManifest = [1, n0, _lOHM,
|
|
826
|
+
0, [() => HlsManifest$,
|
|
827
|
+
0]
|
|
828
|
+
];
|
|
829
|
+
var __listOfHlsManifestCreateOrUpdateParameters = [1, n0, _lOHMCOUP,
|
|
830
|
+
0, [() => HlsManifestCreateOrUpdateParameters$,
|
|
831
|
+
0]
|
|
832
|
+
];
|
|
833
|
+
var __listOfIngestEndpoint = [1, n0, _lOIE,
|
|
834
|
+
0, [() => IngestEndpoint$,
|
|
835
|
+
0]
|
|
836
|
+
];
|
|
837
|
+
var __listOfOriginEndpoint = [1, n0, _lOOE,
|
|
838
|
+
0, [() => OriginEndpoint$,
|
|
839
|
+
0]
|
|
840
|
+
];
|
|
841
|
+
var ConfigureLogs$ = [9, n0, _CL,
|
|
842
|
+
{ [_h]: ["PUT", "/channels/{Id}/configure_logs", 200] }, () => ConfigureLogsRequest$, () => ConfigureLogsResponse$
|
|
843
|
+
];
|
|
844
|
+
var CreateChannel$ = [9, n0, _CC,
|
|
845
|
+
{ [_h]: ["POST", "/channels", 200] }, () => CreateChannelRequest$, () => CreateChannelResponse$
|
|
846
|
+
];
|
|
847
|
+
var CreateHarvestJob$ = [9, n0, _CHJ,
|
|
848
|
+
{ [_h]: ["POST", "/harvest_jobs", 200] }, () => CreateHarvestJobRequest$, () => CreateHarvestJobResponse$
|
|
849
|
+
];
|
|
850
|
+
var CreateOriginEndpoint$ = [9, n0, _COE,
|
|
851
|
+
{ [_h]: ["POST", "/origin_endpoints", 200] }, () => CreateOriginEndpointRequest$, () => CreateOriginEndpointResponse$
|
|
852
|
+
];
|
|
853
|
+
var DeleteChannel$ = [9, n0, _DC,
|
|
854
|
+
{ [_h]: ["DELETE", "/channels/{Id}", 202] }, () => DeleteChannelRequest$, () => DeleteChannelResponse$
|
|
855
|
+
];
|
|
856
|
+
var DeleteOriginEndpoint$ = [9, n0, _DOE,
|
|
857
|
+
{ [_h]: ["DELETE", "/origin_endpoints/{Id}", 202] }, () => DeleteOriginEndpointRequest$, () => DeleteOriginEndpointResponse$
|
|
858
|
+
];
|
|
859
|
+
var DescribeChannel$ = [9, n0, _DCe,
|
|
860
|
+
{ [_h]: ["GET", "/channels/{Id}", 200] }, () => DescribeChannelRequest$, () => DescribeChannelResponse$
|
|
861
|
+
];
|
|
862
|
+
var DescribeHarvestJob$ = [9, n0, _DHJ,
|
|
863
|
+
{ [_h]: ["GET", "/harvest_jobs/{Id}", 200] }, () => DescribeHarvestJobRequest$, () => DescribeHarvestJobResponse$
|
|
864
|
+
];
|
|
865
|
+
var DescribeOriginEndpoint$ = [9, n0, _DOEe,
|
|
866
|
+
{ [_h]: ["GET", "/origin_endpoints/{Id}", 200] }, () => DescribeOriginEndpointRequest$, () => DescribeOriginEndpointResponse$
|
|
867
|
+
];
|
|
868
|
+
var ListChannels$ = [9, n0, _LC,
|
|
869
|
+
{ [_h]: ["GET", "/channels", 200] }, () => ListChannelsRequest$, () => ListChannelsResponse$
|
|
870
|
+
];
|
|
871
|
+
var ListHarvestJobs$ = [9, n0, _LHJ,
|
|
872
|
+
{ [_h]: ["GET", "/harvest_jobs", 200] }, () => ListHarvestJobsRequest$, () => ListHarvestJobsResponse$
|
|
873
|
+
];
|
|
874
|
+
var ListOriginEndpoints$ = [9, n0, _LOE,
|
|
875
|
+
{ [_h]: ["GET", "/origin_endpoints", 200] }, () => ListOriginEndpointsRequest$, () => ListOriginEndpointsResponse$
|
|
876
|
+
];
|
|
877
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
878
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
879
|
+
];
|
|
880
|
+
var RotateChannelCredentials$ = [9, n0, _RCC,
|
|
881
|
+
{ [_h]: ["PUT", "/channels/{Id}/credentials", 200] }, () => RotateChannelCredentialsRequest$, () => RotateChannelCredentialsResponse$
|
|
882
|
+
];
|
|
883
|
+
var RotateIngestEndpointCredentials$ = [9, n0, _RIEC,
|
|
884
|
+
{ [_h]: ["PUT", "/channels/{Id}/ingest_endpoints/{IngestEndpointId}/credentials", 200] }, () => RotateIngestEndpointCredentialsRequest$, () => RotateIngestEndpointCredentialsResponse$
|
|
885
|
+
];
|
|
886
|
+
var TagResource$ = [9, n0, _TR,
|
|
887
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 204] }, () => TagResourceRequest$, () => __Unit
|
|
888
|
+
];
|
|
889
|
+
var UntagResource$ = [9, n0, _UR,
|
|
890
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () => UntagResourceRequest$, () => __Unit
|
|
891
|
+
];
|
|
892
|
+
var UpdateChannel$ = [9, n0, _UC,
|
|
893
|
+
{ [_h]: ["PUT", "/channels/{Id}", 200] }, () => UpdateChannelRequest$, () => UpdateChannelResponse$
|
|
894
|
+
];
|
|
895
|
+
var UpdateOriginEndpoint$ = [9, n0, _UOE,
|
|
896
|
+
{ [_h]: ["PUT", "/origin_endpoints/{Id}", 200] }, () => UpdateOriginEndpointRequest$, () => UpdateOriginEndpointResponse$
|
|
897
|
+
];
|
|
898
|
+
|
|
899
|
+
const getRuntimeConfig$1 = (config) => {
|
|
900
|
+
return {
|
|
901
|
+
apiVersion: "2017-10-12",
|
|
902
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
903
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
904
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
905
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
906
|
+
extensions: config?.extensions ?? [],
|
|
907
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultMediaPackageHttpAuthSchemeProvider,
|
|
908
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
909
|
+
{
|
|
910
|
+
schemeId: "aws.auth#sigv4",
|
|
911
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
912
|
+
signer: new AwsSdkSigV4Signer(),
|
|
913
|
+
},
|
|
914
|
+
],
|
|
915
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
916
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
917
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
918
|
+
defaultNamespace: "com.amazonaws.mediapackage",
|
|
919
|
+
errorTypeRegistries,
|
|
920
|
+
version: "2017-10-12",
|
|
921
|
+
serviceTarget: "MediaPackage",
|
|
922
|
+
},
|
|
923
|
+
serviceId: config?.serviceId ?? "MediaPackage",
|
|
924
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
925
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
926
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
|
|
930
|
+
const getRuntimeConfig = (config) => {
|
|
931
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
932
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
933
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
934
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
935
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
936
|
+
const loaderConfig = {
|
|
937
|
+
profile: config?.profile,
|
|
938
|
+
logger: clientSharedValues.logger,
|
|
939
|
+
};
|
|
940
|
+
return {
|
|
941
|
+
...clientSharedValues,
|
|
942
|
+
...config,
|
|
943
|
+
runtime: "node",
|
|
944
|
+
defaultsMode,
|
|
945
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
946
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
947
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
948
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
949
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
950
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
951
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
952
|
+
retryMode: config?.retryMode ??
|
|
953
|
+
loadConfig({
|
|
954
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
955
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
956
|
+
}, config),
|
|
957
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
958
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
959
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
960
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
961
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
962
|
+
};
|
|
963
|
+
};
|
|
964
|
+
|
|
34
965
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
966
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
967
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -471,41 +1402,134 @@ const Origination = {
|
|
|
471
1402
|
|
|
472
1403
|
exports.AdMarkers = AdMarkers;
|
|
473
1404
|
exports.AdsOnDeliveryRestrictions = AdsOnDeliveryRestrictions;
|
|
1405
|
+
exports.Authorization$ = Authorization$;
|
|
1406
|
+
exports.Channel$ = Channel$;
|
|
1407
|
+
exports.CmafEncryption$ = CmafEncryption$;
|
|
474
1408
|
exports.CmafEncryptionMethod = CmafEncryptionMethod;
|
|
1409
|
+
exports.CmafPackage$ = CmafPackage$;
|
|
1410
|
+
exports.CmafPackageCreateOrUpdateParameters$ = CmafPackageCreateOrUpdateParameters$;
|
|
1411
|
+
exports.ConfigureLogs$ = ConfigureLogs$;
|
|
475
1412
|
exports.ConfigureLogsCommand = ConfigureLogsCommand;
|
|
1413
|
+
exports.ConfigureLogsRequest$ = ConfigureLogsRequest$;
|
|
1414
|
+
exports.ConfigureLogsResponse$ = ConfigureLogsResponse$;
|
|
1415
|
+
exports.CreateChannel$ = CreateChannel$;
|
|
476
1416
|
exports.CreateChannelCommand = CreateChannelCommand;
|
|
1417
|
+
exports.CreateChannelRequest$ = CreateChannelRequest$;
|
|
1418
|
+
exports.CreateChannelResponse$ = CreateChannelResponse$;
|
|
1419
|
+
exports.CreateHarvestJob$ = CreateHarvestJob$;
|
|
477
1420
|
exports.CreateHarvestJobCommand = CreateHarvestJobCommand;
|
|
1421
|
+
exports.CreateHarvestJobRequest$ = CreateHarvestJobRequest$;
|
|
1422
|
+
exports.CreateHarvestJobResponse$ = CreateHarvestJobResponse$;
|
|
1423
|
+
exports.CreateOriginEndpoint$ = CreateOriginEndpoint$;
|
|
478
1424
|
exports.CreateOriginEndpointCommand = CreateOriginEndpointCommand;
|
|
1425
|
+
exports.CreateOriginEndpointRequest$ = CreateOriginEndpointRequest$;
|
|
1426
|
+
exports.CreateOriginEndpointResponse$ = CreateOriginEndpointResponse$;
|
|
1427
|
+
exports.DashEncryption$ = DashEncryption$;
|
|
1428
|
+
exports.DashPackage$ = DashPackage$;
|
|
1429
|
+
exports.DeleteChannel$ = DeleteChannel$;
|
|
479
1430
|
exports.DeleteChannelCommand = DeleteChannelCommand;
|
|
1431
|
+
exports.DeleteChannelRequest$ = DeleteChannelRequest$;
|
|
1432
|
+
exports.DeleteChannelResponse$ = DeleteChannelResponse$;
|
|
1433
|
+
exports.DeleteOriginEndpoint$ = DeleteOriginEndpoint$;
|
|
480
1434
|
exports.DeleteOriginEndpointCommand = DeleteOriginEndpointCommand;
|
|
1435
|
+
exports.DeleteOriginEndpointRequest$ = DeleteOriginEndpointRequest$;
|
|
1436
|
+
exports.DeleteOriginEndpointResponse$ = DeleteOriginEndpointResponse$;
|
|
1437
|
+
exports.DescribeChannel$ = DescribeChannel$;
|
|
481
1438
|
exports.DescribeChannelCommand = DescribeChannelCommand;
|
|
1439
|
+
exports.DescribeChannelRequest$ = DescribeChannelRequest$;
|
|
1440
|
+
exports.DescribeChannelResponse$ = DescribeChannelResponse$;
|
|
1441
|
+
exports.DescribeHarvestJob$ = DescribeHarvestJob$;
|
|
482
1442
|
exports.DescribeHarvestJobCommand = DescribeHarvestJobCommand;
|
|
1443
|
+
exports.DescribeHarvestJobRequest$ = DescribeHarvestJobRequest$;
|
|
1444
|
+
exports.DescribeHarvestJobResponse$ = DescribeHarvestJobResponse$;
|
|
1445
|
+
exports.DescribeOriginEndpoint$ = DescribeOriginEndpoint$;
|
|
483
1446
|
exports.DescribeOriginEndpointCommand = DescribeOriginEndpointCommand;
|
|
1447
|
+
exports.DescribeOriginEndpointRequest$ = DescribeOriginEndpointRequest$;
|
|
1448
|
+
exports.DescribeOriginEndpointResponse$ = DescribeOriginEndpointResponse$;
|
|
1449
|
+
exports.EgressAccessLogs$ = EgressAccessLogs$;
|
|
1450
|
+
exports.EncryptionContractConfiguration$ = EncryptionContractConfiguration$;
|
|
484
1451
|
exports.EncryptionMethod = EncryptionMethod;
|
|
1452
|
+
exports.ForbiddenException = ForbiddenException;
|
|
1453
|
+
exports.ForbiddenException$ = ForbiddenException$;
|
|
1454
|
+
exports.HarvestJob$ = HarvestJob$;
|
|
1455
|
+
exports.HlsEncryption$ = HlsEncryption$;
|
|
1456
|
+
exports.HlsIngest$ = HlsIngest$;
|
|
1457
|
+
exports.HlsManifest$ = HlsManifest$;
|
|
1458
|
+
exports.HlsManifestCreateOrUpdateParameters$ = HlsManifestCreateOrUpdateParameters$;
|
|
1459
|
+
exports.HlsPackage$ = HlsPackage$;
|
|
1460
|
+
exports.IngestEndpoint$ = IngestEndpoint$;
|
|
1461
|
+
exports.IngressAccessLogs$ = IngressAccessLogs$;
|
|
1462
|
+
exports.InternalServerErrorException = InternalServerErrorException;
|
|
1463
|
+
exports.InternalServerErrorException$ = InternalServerErrorException$;
|
|
1464
|
+
exports.ListChannels$ = ListChannels$;
|
|
485
1465
|
exports.ListChannelsCommand = ListChannelsCommand;
|
|
1466
|
+
exports.ListChannelsRequest$ = ListChannelsRequest$;
|
|
1467
|
+
exports.ListChannelsResponse$ = ListChannelsResponse$;
|
|
1468
|
+
exports.ListHarvestJobs$ = ListHarvestJobs$;
|
|
486
1469
|
exports.ListHarvestJobsCommand = ListHarvestJobsCommand;
|
|
1470
|
+
exports.ListHarvestJobsRequest$ = ListHarvestJobsRequest$;
|
|
1471
|
+
exports.ListHarvestJobsResponse$ = ListHarvestJobsResponse$;
|
|
1472
|
+
exports.ListOriginEndpoints$ = ListOriginEndpoints$;
|
|
487
1473
|
exports.ListOriginEndpointsCommand = ListOriginEndpointsCommand;
|
|
1474
|
+
exports.ListOriginEndpointsRequest$ = ListOriginEndpointsRequest$;
|
|
1475
|
+
exports.ListOriginEndpointsResponse$ = ListOriginEndpointsResponse$;
|
|
1476
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
488
1477
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1478
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1479
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
489
1480
|
exports.ManifestLayout = ManifestLayout;
|
|
490
1481
|
exports.MediaPackage = MediaPackage;
|
|
491
1482
|
exports.MediaPackageClient = MediaPackageClient;
|
|
1483
|
+
exports.MediaPackageServiceException = MediaPackageServiceException;
|
|
1484
|
+
exports.MediaPackageServiceException$ = MediaPackageServiceException$;
|
|
1485
|
+
exports.MssEncryption$ = MssEncryption$;
|
|
1486
|
+
exports.MssPackage$ = MssPackage$;
|
|
1487
|
+
exports.NotFoundException = NotFoundException;
|
|
1488
|
+
exports.NotFoundException$ = NotFoundException$;
|
|
1489
|
+
exports.OriginEndpoint$ = OriginEndpoint$;
|
|
492
1490
|
exports.Origination = Origination;
|
|
493
1491
|
exports.PlaylistType = PlaylistType;
|
|
494
1492
|
exports.PresetSpeke20Audio = PresetSpeke20Audio;
|
|
495
1493
|
exports.PresetSpeke20Video = PresetSpeke20Video;
|
|
496
1494
|
exports.Profile = Profile;
|
|
1495
|
+
exports.RotateChannelCredentials$ = RotateChannelCredentials$;
|
|
497
1496
|
exports.RotateChannelCredentialsCommand = RotateChannelCredentialsCommand;
|
|
1497
|
+
exports.RotateChannelCredentialsRequest$ = RotateChannelCredentialsRequest$;
|
|
1498
|
+
exports.RotateChannelCredentialsResponse$ = RotateChannelCredentialsResponse$;
|
|
1499
|
+
exports.RotateIngestEndpointCredentials$ = RotateIngestEndpointCredentials$;
|
|
498
1500
|
exports.RotateIngestEndpointCredentialsCommand = RotateIngestEndpointCredentialsCommand;
|
|
1501
|
+
exports.RotateIngestEndpointCredentialsRequest$ = RotateIngestEndpointCredentialsRequest$;
|
|
1502
|
+
exports.RotateIngestEndpointCredentialsResponse$ = RotateIngestEndpointCredentialsResponse$;
|
|
1503
|
+
exports.S3Destination$ = S3Destination$;
|
|
499
1504
|
exports.SegmentTemplateFormat = SegmentTemplateFormat;
|
|
1505
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
1506
|
+
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
1507
|
+
exports.SpekeKeyProvider$ = SpekeKeyProvider$;
|
|
500
1508
|
exports.Status = Status;
|
|
501
1509
|
exports.StreamOrder = StreamOrder;
|
|
1510
|
+
exports.StreamSelection$ = StreamSelection$;
|
|
1511
|
+
exports.TagResource$ = TagResource$;
|
|
502
1512
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1513
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1514
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
1515
|
+
exports.TooManyRequestsException$ = TooManyRequestsException$;
|
|
1516
|
+
exports.UnprocessableEntityException = UnprocessableEntityException;
|
|
1517
|
+
exports.UnprocessableEntityException$ = UnprocessableEntityException$;
|
|
1518
|
+
exports.UntagResource$ = UntagResource$;
|
|
503
1519
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1520
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1521
|
+
exports.UpdateChannel$ = UpdateChannel$;
|
|
504
1522
|
exports.UpdateChannelCommand = UpdateChannelCommand;
|
|
1523
|
+
exports.UpdateChannelRequest$ = UpdateChannelRequest$;
|
|
1524
|
+
exports.UpdateChannelResponse$ = UpdateChannelResponse$;
|
|
1525
|
+
exports.UpdateOriginEndpoint$ = UpdateOriginEndpoint$;
|
|
505
1526
|
exports.UpdateOriginEndpointCommand = UpdateOriginEndpointCommand;
|
|
1527
|
+
exports.UpdateOriginEndpointRequest$ = UpdateOriginEndpointRequest$;
|
|
1528
|
+
exports.UpdateOriginEndpointResponse$ = UpdateOriginEndpointResponse$;
|
|
506
1529
|
exports.UtcTiming = UtcTiming;
|
|
507
1530
|
exports.__AdTriggersElement = __AdTriggersElement;
|
|
508
1531
|
exports.__PeriodTriggersElement = __PeriodTriggersElement;
|
|
1532
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
509
1533
|
exports.paginateListChannels = paginateListChannels;
|
|
510
1534
|
exports.paginateListHarvestJobs = paginateListHarvestJobs;
|
|
511
1535
|
exports.paginateListOriginEndpoints = paginateListOriginEndpoints;
|