@aws-sdk/client-mediatailor 3.354.0 → 3.358.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.
|
@@ -1224,7 +1224,7 @@ const de_DeleteChannelCommand = async (output, context) => {
|
|
|
1224
1224
|
const contents = (0, smithy_client_1.map)({
|
|
1225
1225
|
$metadata: deserializeMetadata(output),
|
|
1226
1226
|
});
|
|
1227
|
-
await collectBody(output.body, context);
|
|
1227
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1228
1228
|
return contents;
|
|
1229
1229
|
};
|
|
1230
1230
|
exports.de_DeleteChannelCommand = de_DeleteChannelCommand;
|
|
@@ -1248,7 +1248,7 @@ const de_DeleteChannelPolicyCommand = async (output, context) => {
|
|
|
1248
1248
|
const contents = (0, smithy_client_1.map)({
|
|
1249
1249
|
$metadata: deserializeMetadata(output),
|
|
1250
1250
|
});
|
|
1251
|
-
await collectBody(output.body, context);
|
|
1251
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1252
1252
|
return contents;
|
|
1253
1253
|
};
|
|
1254
1254
|
exports.de_DeleteChannelPolicyCommand = de_DeleteChannelPolicyCommand;
|
|
@@ -1272,7 +1272,7 @@ const de_DeleteLiveSourceCommand = async (output, context) => {
|
|
|
1272
1272
|
const contents = (0, smithy_client_1.map)({
|
|
1273
1273
|
$metadata: deserializeMetadata(output),
|
|
1274
1274
|
});
|
|
1275
|
-
await collectBody(output.body, context);
|
|
1275
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1276
1276
|
return contents;
|
|
1277
1277
|
};
|
|
1278
1278
|
exports.de_DeleteLiveSourceCommand = de_DeleteLiveSourceCommand;
|
|
@@ -1296,7 +1296,7 @@ const de_DeletePlaybackConfigurationCommand = async (output, context) => {
|
|
|
1296
1296
|
const contents = (0, smithy_client_1.map)({
|
|
1297
1297
|
$metadata: deserializeMetadata(output),
|
|
1298
1298
|
});
|
|
1299
|
-
await collectBody(output.body, context);
|
|
1299
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1300
1300
|
return contents;
|
|
1301
1301
|
};
|
|
1302
1302
|
exports.de_DeletePlaybackConfigurationCommand = de_DeletePlaybackConfigurationCommand;
|
|
@@ -1320,7 +1320,7 @@ const de_DeletePrefetchScheduleCommand = async (output, context) => {
|
|
|
1320
1320
|
const contents = (0, smithy_client_1.map)({
|
|
1321
1321
|
$metadata: deserializeMetadata(output),
|
|
1322
1322
|
});
|
|
1323
|
-
await collectBody(output.body, context);
|
|
1323
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1324
1324
|
return contents;
|
|
1325
1325
|
};
|
|
1326
1326
|
exports.de_DeletePrefetchScheduleCommand = de_DeletePrefetchScheduleCommand;
|
|
@@ -1344,7 +1344,7 @@ const de_DeleteProgramCommand = async (output, context) => {
|
|
|
1344
1344
|
const contents = (0, smithy_client_1.map)({
|
|
1345
1345
|
$metadata: deserializeMetadata(output),
|
|
1346
1346
|
});
|
|
1347
|
-
await collectBody(output.body, context);
|
|
1347
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1348
1348
|
return contents;
|
|
1349
1349
|
};
|
|
1350
1350
|
exports.de_DeleteProgramCommand = de_DeleteProgramCommand;
|
|
@@ -1368,7 +1368,7 @@ const de_DeleteSourceLocationCommand = async (output, context) => {
|
|
|
1368
1368
|
const contents = (0, smithy_client_1.map)({
|
|
1369
1369
|
$metadata: deserializeMetadata(output),
|
|
1370
1370
|
});
|
|
1371
|
-
await collectBody(output.body, context);
|
|
1371
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1372
1372
|
return contents;
|
|
1373
1373
|
};
|
|
1374
1374
|
exports.de_DeleteSourceLocationCommand = de_DeleteSourceLocationCommand;
|
|
@@ -1392,7 +1392,7 @@ const de_DeleteVodSourceCommand = async (output, context) => {
|
|
|
1392
1392
|
const contents = (0, smithy_client_1.map)({
|
|
1393
1393
|
$metadata: deserializeMetadata(output),
|
|
1394
1394
|
});
|
|
1395
|
-
await collectBody(output.body, context);
|
|
1395
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1396
1396
|
return contents;
|
|
1397
1397
|
};
|
|
1398
1398
|
exports.de_DeleteVodSourceCommand = de_DeleteVodSourceCommand;
|
|
@@ -1969,7 +1969,7 @@ const de_PutChannelPolicyCommand = async (output, context) => {
|
|
|
1969
1969
|
const contents = (0, smithy_client_1.map)({
|
|
1970
1970
|
$metadata: deserializeMetadata(output),
|
|
1971
1971
|
});
|
|
1972
|
-
await collectBody(output.body, context);
|
|
1972
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1973
1973
|
return contents;
|
|
1974
1974
|
};
|
|
1975
1975
|
exports.de_PutChannelPolicyCommand = de_PutChannelPolicyCommand;
|
|
@@ -2039,7 +2039,7 @@ const de_StartChannelCommand = async (output, context) => {
|
|
|
2039
2039
|
const contents = (0, smithy_client_1.map)({
|
|
2040
2040
|
$metadata: deserializeMetadata(output),
|
|
2041
2041
|
});
|
|
2042
|
-
await collectBody(output.body, context);
|
|
2042
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2043
2043
|
return contents;
|
|
2044
2044
|
};
|
|
2045
2045
|
exports.de_StartChannelCommand = de_StartChannelCommand;
|
|
@@ -2063,7 +2063,7 @@ const de_StopChannelCommand = async (output, context) => {
|
|
|
2063
2063
|
const contents = (0, smithy_client_1.map)({
|
|
2064
2064
|
$metadata: deserializeMetadata(output),
|
|
2065
2065
|
});
|
|
2066
|
-
await collectBody(output.body, context);
|
|
2066
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2067
2067
|
return contents;
|
|
2068
2068
|
};
|
|
2069
2069
|
exports.de_StopChannelCommand = de_StopChannelCommand;
|
|
@@ -2087,7 +2087,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
2087
2087
|
const contents = (0, smithy_client_1.map)({
|
|
2088
2088
|
$metadata: deserializeMetadata(output),
|
|
2089
2089
|
});
|
|
2090
|
-
await collectBody(output.body, context);
|
|
2090
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2091
2091
|
return contents;
|
|
2092
2092
|
};
|
|
2093
2093
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
@@ -2117,7 +2117,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
2117
2117
|
const contents = (0, smithy_client_1.map)({
|
|
2118
2118
|
$metadata: deserializeMetadata(output),
|
|
2119
2119
|
});
|
|
2120
|
-
await collectBody(output.body, context);
|
|
2120
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2121
2121
|
return contents;
|
|
2122
2122
|
};
|
|
2123
2123
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
@@ -2553,13 +2553,7 @@ const deserializeMetadata = (output) => ({
|
|
|
2553
2553
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2554
2554
|
cfId: output.headers["x-amz-cf-id"],
|
|
2555
2555
|
});
|
|
2556
|
-
const
|
|
2557
|
-
if (streamBody instanceof Uint8Array) {
|
|
2558
|
-
return Promise.resolve(streamBody);
|
|
2559
|
-
}
|
|
2560
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2561
|
-
};
|
|
2562
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2556
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2563
2557
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
2564
2558
|
value !== null &&
|
|
2565
2559
|
value !== "" &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { MediaTailorServiceException as __BaseException } from "../models/MediaTailorServiceException";
|
|
4
4
|
import { BadRequestException, } from "../models/models_0";
|
|
@@ -2461,12 +2461,6 @@ const deserializeMetadata = (output) => ({
|
|
|
2461
2461
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2462
2462
|
cfId: output.headers["x-amz-cf-id"],
|
|
2463
2463
|
});
|
|
2464
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
2465
|
-
if (streamBody instanceof Uint8Array) {
|
|
2466
|
-
return Promise.resolve(streamBody);
|
|
2467
|
-
}
|
|
2468
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2469
|
-
};
|
|
2470
2464
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2471
2465
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
2472
2466
|
value !== null &&
|
|
@@ -117,7 +117,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
117
117
|
*/
|
|
118
118
|
runtime?: string;
|
|
119
119
|
/**
|
|
120
|
-
* Disable
|
|
120
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
121
121
|
* trait of an operation.
|
|
122
122
|
*/
|
|
123
123
|
disableHostPrefix?: boolean;
|
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.358.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.358.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.358.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.358.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.358.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.358.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|