@aws-sdk/client-mediatailor 3.987.0 → 3.988.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 +63 -1535
- package/dist-cjs/models/MediaTailorServiceException.js +12 -0
- package/dist-cjs/models/errors.js +19 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1307 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +19 -13
- package/dist-types/schemas/schemas_0.d.ts +9 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -2
- package/package.json +13 -13
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultMediaTailorHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2018-04-23",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.mediatailor",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2018-04-23",
|
|
30
32
|
serviceTarget: "MediaTailor",
|
|
31
33
|
},
|
|
@@ -179,7 +179,7 @@ const _LTFRRi = "ListTagsForResourceResponse";
|
|
|
179
179
|
const _LVS = "ListVodSources";
|
|
180
180
|
const _LVSR = "ListVodSourcesRequest";
|
|
181
181
|
const _LVSRi = "ListVodSourcesResponse";
|
|
182
|
-
const _M = "
|
|
182
|
+
const _M = "Message";
|
|
183
183
|
const _MBTS = "MinBufferTimeSeconds";
|
|
184
184
|
const _MDS = "MaxDurationSeconds";
|
|
185
185
|
const _MEP = "ManifestEndpointPrefix";
|
|
@@ -192,8 +192,8 @@ const _MT = "MessageType";
|
|
|
192
192
|
const _MTDS = "MaxTimeDelaySeconds";
|
|
193
193
|
const _MUPS = "MinUpdatePeriodSeconds";
|
|
194
194
|
const _MWS = "ManifestWindowSeconds";
|
|
195
|
-
const _Me = "
|
|
196
|
-
const
|
|
195
|
+
const _Me = "Method";
|
|
196
|
+
const _Mo = "Mode";
|
|
197
197
|
const _N = "Name";
|
|
198
198
|
const _NT = "NextToken";
|
|
199
199
|
const _O = "Operator";
|
|
@@ -351,6 +351,20 @@ const n0 = "com.amazonaws.mediatailor";
|
|
|
351
351
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
352
352
|
import { BadRequestException } from "../models/errors";
|
|
353
353
|
import { MediaTailorServiceException } from "../models/MediaTailorServiceException";
|
|
354
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
355
|
+
export var MediaTailorServiceException$ = [-3, _s, "MediaTailorServiceException", 0, [], []];
|
|
356
|
+
_s_registry.registerError(MediaTailorServiceException$, MediaTailorServiceException);
|
|
357
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
358
|
+
export var BadRequestException$ = [-3, n0, _BRE,
|
|
359
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
360
|
+
[_M],
|
|
361
|
+
[0]
|
|
362
|
+
];
|
|
363
|
+
n0_registry.registerError(BadRequestException$, BadRequestException);
|
|
364
|
+
export const errorTypeRegistries = [
|
|
365
|
+
_s_registry,
|
|
366
|
+
n0_registry,
|
|
367
|
+
];
|
|
354
368
|
export var AccessConfiguration$ = [3, n0, _AC,
|
|
355
369
|
0,
|
|
356
370
|
[_AT, _SMATC],
|
|
@@ -408,15 +422,9 @@ export var AvailMatchingCriteria$ = [3, n0, _AMC,
|
|
|
408
422
|
];
|
|
409
423
|
export var AvailSuppression$ = [3, n0, _AS,
|
|
410
424
|
0,
|
|
411
|
-
[
|
|
425
|
+
[_Mo, _V, _FP],
|
|
412
426
|
[0, 0, 0]
|
|
413
427
|
];
|
|
414
|
-
export var BadRequestException$ = [-3, n0, _BRE,
|
|
415
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
416
|
-
[_Me],
|
|
417
|
-
[0]
|
|
418
|
-
];
|
|
419
|
-
TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
|
|
420
428
|
export var Bumper$ = [3, n0, _B,
|
|
421
429
|
0,
|
|
422
430
|
[_EU, _SU],
|
|
@@ -729,7 +737,7 @@ export var HttpPackageConfiguration$ = [3, n0, _HPCt,
|
|
|
729
737
|
];
|
|
730
738
|
export var HttpRequest$ = [3, n0, _HR,
|
|
731
739
|
0,
|
|
732
|
-
[
|
|
740
|
+
[_Me, _Bo, _H, _CRo],
|
|
733
741
|
[0, 0, 128 | 0, 0]
|
|
734
742
|
];
|
|
735
743
|
export var KeyValuePair$ = [3, n0, _KVP,
|
|
@@ -1078,8 +1086,6 @@ export var VodSource$ = [3, n0, _VS,
|
|
|
1078
1086
|
[0, () => HttpPackageConfigurations, 0, 0, 7, 7, [128 | 0, { [_jN]: _t }]], 4
|
|
1079
1087
|
];
|
|
1080
1088
|
var __Unit = "unit";
|
|
1081
|
-
export var MediaTailorServiceException$ = [-3, _s, "MediaTailorServiceException", 0, [], []];
|
|
1082
|
-
TypeRegistry.for(_s).registerError(MediaTailorServiceException$, MediaTailorServiceException);
|
|
1083
1089
|
var __adsInteractionExcludeEventTypesList = 64 | 0;
|
|
1084
1090
|
var __adsInteractionPublishOptInEventTypesList = 64 | 0;
|
|
1085
1091
|
var __listOf__string = 64 | 0;
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var MediaTailorServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var BadRequestException$: StaticErrorSchema;
|
|
5
|
+
/**
|
|
6
|
+
* TypeRegistry instances containing modeled errors.
|
|
7
|
+
* @internal
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
2
11
|
export declare var AccessConfiguration$: StaticStructureSchema;
|
|
3
12
|
export declare var AdBreak$: StaticStructureSchema;
|
|
4
13
|
export declare var AdBreakOpportunity$: StaticStructureSchema;
|
|
@@ -11,7 +20,6 @@ export declare var AlternateMedia$: StaticStructureSchema;
|
|
|
11
20
|
export declare var AudienceMedia$: StaticStructureSchema;
|
|
12
21
|
export declare var AvailMatchingCriteria$: StaticStructureSchema;
|
|
13
22
|
export declare var AvailSuppression$: StaticStructureSchema;
|
|
14
|
-
export declare var BadRequestException$: StaticErrorSchema;
|
|
15
23
|
export declare var Bumper$: StaticStructureSchema;
|
|
16
24
|
export declare var CdnConfiguration$: StaticStructureSchema;
|
|
17
25
|
export declare var Channel$: StaticStructureSchema;
|
|
@@ -144,7 +152,6 @@ export declare var UpdateSourceLocationResponse$: StaticStructureSchema;
|
|
|
144
152
|
export declare var UpdateVodSourceRequest$: StaticStructureSchema;
|
|
145
153
|
export declare var UpdateVodSourceResponse$: StaticStructureSchema;
|
|
146
154
|
export declare var VodSource$: StaticStructureSchema;
|
|
147
|
-
export declare var MediaTailorServiceException$: StaticErrorSchema;
|
|
148
155
|
export declare var ConfigureLogsForChannel$: StaticOperationSchema;
|
|
149
156
|
export declare var ConfigureLogsForPlaybackConfiguration$: StaticOperationSchema;
|
|
150
157
|
export declare var CreateChannel$: StaticOperationSchema;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var MediaTailorServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var BadRequestException$: StaticErrorSchema;
|
|
9
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
6
10
|
export declare var AccessConfiguration$: StaticStructureSchema;
|
|
7
11
|
export declare var AdBreak$: StaticStructureSchema;
|
|
8
12
|
export declare var AdBreakOpportunity$: StaticStructureSchema;
|
|
@@ -15,7 +19,6 @@ export declare var AlternateMedia$: StaticStructureSchema;
|
|
|
15
19
|
export declare var AudienceMedia$: StaticStructureSchema;
|
|
16
20
|
export declare var AvailMatchingCriteria$: StaticStructureSchema;
|
|
17
21
|
export declare var AvailSuppression$: StaticStructureSchema;
|
|
18
|
-
export declare var BadRequestException$: StaticErrorSchema;
|
|
19
22
|
export declare var Bumper$: StaticStructureSchema;
|
|
20
23
|
export declare var CdnConfiguration$: StaticStructureSchema;
|
|
21
24
|
export declare var Channel$: StaticStructureSchema;
|
|
@@ -148,7 +151,6 @@ export declare var UpdateSourceLocationResponse$: StaticStructureSchema;
|
|
|
148
151
|
export declare var UpdateVodSourceRequest$: StaticStructureSchema;
|
|
149
152
|
export declare var UpdateVodSourceResponse$: StaticStructureSchema;
|
|
150
153
|
export declare var VodSource$: StaticStructureSchema;
|
|
151
|
-
export declare var MediaTailorServiceException$: StaticErrorSchema;
|
|
152
154
|
export declare var ConfigureLogsForChannel$: StaticOperationSchema;
|
|
153
155
|
export declare var ConfigureLogsForPlaybackConfiguration$: StaticOperationSchema;
|
|
154
156
|
export declare var CreateChannel$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediatailor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediatailor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mediatailor",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|