@aws-sdk/client-mediapackage 3.523.0 → 3.529.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 +18 -58
- package/dist-es/protocols/Aws_restJson1.js +1 -40
- package/package.json +17 -17
- package/dist-cjs/MediaPackage.js +0 -1
- package/dist-cjs/MediaPackageClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/ConfigureLogsCommand.js +0 -1
- package/dist-cjs/commands/CreateChannelCommand.js +0 -1
- package/dist-cjs/commands/CreateHarvestJobCommand.js +0 -1
- package/dist-cjs/commands/CreateOriginEndpointCommand.js +0 -1
- package/dist-cjs/commands/DeleteChannelCommand.js +0 -1
- package/dist-cjs/commands/DeleteOriginEndpointCommand.js +0 -1
- package/dist-cjs/commands/DescribeChannelCommand.js +0 -1
- package/dist-cjs/commands/DescribeHarvestJobCommand.js +0 -1
- package/dist-cjs/commands/DescribeOriginEndpointCommand.js +0 -1
- package/dist-cjs/commands/ListChannelsCommand.js +0 -1
- package/dist-cjs/commands/ListHarvestJobsCommand.js +0 -1
- package/dist-cjs/commands/ListOriginEndpointsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/RotateChannelCredentialsCommand.js +0 -1
- package/dist-cjs/commands/RotateIngestEndpointCredentialsCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateChannelCommand.js +0 -1
- package/dist-cjs/commands/UpdateOriginEndpointCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/MediaPackageServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListChannelsPaginator.js +0 -1
- package/dist-cjs/pagination/ListHarvestJobsPaginator.js +0 -1
- package/dist-cjs/pagination/ListOriginEndpointsPaginator.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -497,6 +497,7 @@ var UpdateChannelResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
497
497
|
}), "UpdateChannelResponseFilterSensitiveLog");
|
|
498
498
|
|
|
499
499
|
// src/protocols/Aws_restJson1.ts
|
|
500
|
+
var import_core2 = require("@aws-sdk/core");
|
|
500
501
|
|
|
501
502
|
|
|
502
503
|
var se_ConfigureLogsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -772,7 +773,7 @@ var de_ConfigureLogsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
772
773
|
const contents = (0, import_smithy_client.map)({
|
|
773
774
|
$metadata: deserializeMetadata(output)
|
|
774
775
|
});
|
|
775
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
776
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
776
777
|
const doc = (0, import_smithy_client.take)(data, {
|
|
777
778
|
Arn: [, import_smithy_client.expectString, `arn`],
|
|
778
779
|
CreatedAt: [, import_smithy_client.expectString, `createdAt`],
|
|
@@ -793,7 +794,7 @@ var de_CreateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
793
794
|
const contents = (0, import_smithy_client.map)({
|
|
794
795
|
$metadata: deserializeMetadata(output)
|
|
795
796
|
});
|
|
796
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
797
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
797
798
|
const doc = (0, import_smithy_client.take)(data, {
|
|
798
799
|
Arn: [, import_smithy_client.expectString, `arn`],
|
|
799
800
|
CreatedAt: [, import_smithy_client.expectString, `createdAt`],
|
|
@@ -814,7 +815,7 @@ var de_CreateHarvestJobCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
814
815
|
const contents = (0, import_smithy_client.map)({
|
|
815
816
|
$metadata: deserializeMetadata(output)
|
|
816
817
|
});
|
|
817
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
818
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
818
819
|
const doc = (0, import_smithy_client.take)(data, {
|
|
819
820
|
Arn: [, import_smithy_client.expectString, `arn`],
|
|
820
821
|
ChannelId: [, import_smithy_client.expectString, `channelId`],
|
|
@@ -836,7 +837,7 @@ var de_CreateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
836
837
|
const contents = (0, import_smithy_client.map)({
|
|
837
838
|
$metadata: deserializeMetadata(output)
|
|
838
839
|
});
|
|
839
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
840
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
840
841
|
const doc = (0, import_smithy_client.take)(data, {
|
|
841
842
|
Arn: [, import_smithy_client.expectString, `arn`],
|
|
842
843
|
Authorization: [, (_) => de_Authorization(_, context), `authorization`],
|
|
@@ -886,7 +887,7 @@ var de_DescribeChannelCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
886
887
|
const contents = (0, import_smithy_client.map)({
|
|
887
888
|
$metadata: deserializeMetadata(output)
|
|
888
889
|
});
|
|
889
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
890
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
890
891
|
const doc = (0, import_smithy_client.take)(data, {
|
|
891
892
|
Arn: [, import_smithy_client.expectString, `arn`],
|
|
892
893
|
CreatedAt: [, import_smithy_client.expectString, `createdAt`],
|
|
@@ -907,7 +908,7 @@ var de_DescribeHarvestJobCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
907
908
|
const contents = (0, import_smithy_client.map)({
|
|
908
909
|
$metadata: deserializeMetadata(output)
|
|
909
910
|
});
|
|
910
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
911
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
911
912
|
const doc = (0, import_smithy_client.take)(data, {
|
|
912
913
|
Arn: [, import_smithy_client.expectString, `arn`],
|
|
913
914
|
ChannelId: [, import_smithy_client.expectString, `channelId`],
|
|
@@ -929,7 +930,7 @@ var de_DescribeOriginEndpointCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
929
930
|
const contents = (0, import_smithy_client.map)({
|
|
930
931
|
$metadata: deserializeMetadata(output)
|
|
931
932
|
});
|
|
932
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
933
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
933
934
|
const doc = (0, import_smithy_client.take)(data, {
|
|
934
935
|
Arn: [, import_smithy_client.expectString, `arn`],
|
|
935
936
|
Authorization: [, (_) => de_Authorization(_, context), `authorization`],
|
|
@@ -959,7 +960,7 @@ var de_ListChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
959
960
|
const contents = (0, import_smithy_client.map)({
|
|
960
961
|
$metadata: deserializeMetadata(output)
|
|
961
962
|
});
|
|
962
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
963
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
963
964
|
const doc = (0, import_smithy_client.take)(data, {
|
|
964
965
|
Channels: [, (_) => de___listOfChannel(_, context), `channels`],
|
|
965
966
|
NextToken: [, import_smithy_client.expectString, `nextToken`]
|
|
@@ -974,7 +975,7 @@ var de_ListHarvestJobsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
974
975
|
const contents = (0, import_smithy_client.map)({
|
|
975
976
|
$metadata: deserializeMetadata(output)
|
|
976
977
|
});
|
|
977
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
978
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
978
979
|
const doc = (0, import_smithy_client.take)(data, {
|
|
979
980
|
HarvestJobs: [, (_) => de___listOfHarvestJob(_, context), `harvestJobs`],
|
|
980
981
|
NextToken: [, import_smithy_client.expectString, `nextToken`]
|
|
@@ -989,7 +990,7 @@ var de_ListOriginEndpointsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
989
990
|
const contents = (0, import_smithy_client.map)({
|
|
990
991
|
$metadata: deserializeMetadata(output)
|
|
991
992
|
});
|
|
992
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
993
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
993
994
|
const doc = (0, import_smithy_client.take)(data, {
|
|
994
995
|
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
995
996
|
OriginEndpoints: [, (_) => de___listOfOriginEndpoint(_, context), `originEndpoints`]
|
|
@@ -1004,7 +1005,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1004
1005
|
const contents = (0, import_smithy_client.map)({
|
|
1005
1006
|
$metadata: deserializeMetadata(output)
|
|
1006
1007
|
});
|
|
1007
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1008
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1008
1009
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1009
1010
|
Tags: [, import_smithy_client._json, `tags`]
|
|
1010
1011
|
});
|
|
@@ -1018,7 +1019,7 @@ var de_RotateChannelCredentialsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1018
1019
|
const contents = (0, import_smithy_client.map)({
|
|
1019
1020
|
$metadata: deserializeMetadata(output)
|
|
1020
1021
|
});
|
|
1021
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1022
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1022
1023
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1023
1024
|
Arn: [, import_smithy_client.expectString, `arn`],
|
|
1024
1025
|
CreatedAt: [, import_smithy_client.expectString, `createdAt`],
|
|
@@ -1039,7 +1040,7 @@ var de_RotateIngestEndpointCredentialsCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1039
1040
|
const contents = (0, import_smithy_client.map)({
|
|
1040
1041
|
$metadata: deserializeMetadata(output)
|
|
1041
1042
|
});
|
|
1042
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1043
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1043
1044
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1044
1045
|
Arn: [, import_smithy_client.expectString, `arn`],
|
|
1045
1046
|
CreatedAt: [, import_smithy_client.expectString, `createdAt`],
|
|
@@ -1080,7 +1081,7 @@ var de_UpdateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1080
1081
|
const contents = (0, import_smithy_client.map)({
|
|
1081
1082
|
$metadata: deserializeMetadata(output)
|
|
1082
1083
|
});
|
|
1083
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1084
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1084
1085
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1085
1086
|
Arn: [, import_smithy_client.expectString, `arn`],
|
|
1086
1087
|
CreatedAt: [, import_smithy_client.expectString, `createdAt`],
|
|
@@ -1101,7 +1102,7 @@ var de_UpdateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1101
1102
|
const contents = (0, import_smithy_client.map)({
|
|
1102
1103
|
$metadata: deserializeMetadata(output)
|
|
1103
1104
|
});
|
|
1104
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1105
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1105
1106
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1106
1107
|
Arn: [, import_smithy_client.expectString, `arn`],
|
|
1107
1108
|
Authorization: [, (_) => de_Authorization(_, context), `authorization`],
|
|
@@ -1127,9 +1128,9 @@ var de_UpdateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1127
1128
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1128
1129
|
const parsedOutput = {
|
|
1129
1130
|
...output,
|
|
1130
|
-
body: await
|
|
1131
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1131
1132
|
};
|
|
1132
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1133
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1133
1134
|
switch (errorCode) {
|
|
1134
1135
|
case "ForbiddenException":
|
|
1135
1136
|
case "com.amazonaws.mediapackage#ForbiddenException":
|
|
@@ -1626,7 +1627,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1626
1627
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1627
1628
|
cfId: output.headers["x-amz-cf-id"]
|
|
1628
1629
|
}), "deserializeMetadata");
|
|
1629
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1630
1630
|
var _CI = "ChannelId";
|
|
1631
1631
|
var _ICI = "IncludeChannelId";
|
|
1632
1632
|
var _IS = "IncludeStatus";
|
|
@@ -1639,46 +1639,6 @@ var _iS = "includeStatus";
|
|
|
1639
1639
|
var _mR = "maxResults";
|
|
1640
1640
|
var _nT = "nextToken";
|
|
1641
1641
|
var _tK = "tagKeys";
|
|
1642
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1643
|
-
if (encoded.length) {
|
|
1644
|
-
return JSON.parse(encoded);
|
|
1645
|
-
}
|
|
1646
|
-
return {};
|
|
1647
|
-
}), "parseBody");
|
|
1648
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1649
|
-
const value = await parseBody(errorBody, context);
|
|
1650
|
-
value.message = value.message ?? value.Message;
|
|
1651
|
-
return value;
|
|
1652
|
-
}, "parseErrorBody");
|
|
1653
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1654
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1655
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1656
|
-
let cleanValue = rawValue;
|
|
1657
|
-
if (typeof cleanValue === "number") {
|
|
1658
|
-
cleanValue = cleanValue.toString();
|
|
1659
|
-
}
|
|
1660
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1661
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1662
|
-
}
|
|
1663
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1664
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1665
|
-
}
|
|
1666
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1667
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1668
|
-
}
|
|
1669
|
-
return cleanValue;
|
|
1670
|
-
}, "sanitizeErrorCode");
|
|
1671
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1672
|
-
if (headerKey !== void 0) {
|
|
1673
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1674
|
-
}
|
|
1675
|
-
if (data.code !== void 0) {
|
|
1676
|
-
return sanitizeErrorCode(data.code);
|
|
1677
|
-
}
|
|
1678
|
-
if (data["__type"] !== void 0) {
|
|
1679
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1680
|
-
}
|
|
1681
|
-
}, "loadRestJsonErrorCode");
|
|
1682
1642
|
|
|
1683
1643
|
// src/commands/ConfigureLogsCommand.ts
|
|
1684
1644
|
var _ConfigureLogsCommand = class _ConfigureLogsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { MediaPackageServiceException as __BaseException } from "../models/MediaPackageServiceException";
|
|
@@ -1145,43 +1146,3 @@ const _iS = "includeStatus";
|
|
|
1145
1146
|
const _mR = "maxResults";
|
|
1146
1147
|
const _nT = "nextToken";
|
|
1147
1148
|
const _tK = "tagKeys";
|
|
1148
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1149
|
-
if (encoded.length) {
|
|
1150
|
-
return JSON.parse(encoded);
|
|
1151
|
-
}
|
|
1152
|
-
return {};
|
|
1153
|
-
});
|
|
1154
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
1155
|
-
const value = await parseBody(errorBody, context);
|
|
1156
|
-
value.message = value.message ?? value.Message;
|
|
1157
|
-
return value;
|
|
1158
|
-
};
|
|
1159
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
1160
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1161
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
1162
|
-
let cleanValue = rawValue;
|
|
1163
|
-
if (typeof cleanValue === "number") {
|
|
1164
|
-
cleanValue = cleanValue.toString();
|
|
1165
|
-
}
|
|
1166
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1167
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1168
|
-
}
|
|
1169
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1170
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1171
|
-
}
|
|
1172
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1173
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1174
|
-
}
|
|
1175
|
-
return cleanValue;
|
|
1176
|
-
};
|
|
1177
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1178
|
-
if (headerKey !== undefined) {
|
|
1179
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1180
|
-
}
|
|
1181
|
-
if (data.code !== undefined) {
|
|
1182
|
-
return sanitizeErrorCode(data.code);
|
|
1183
|
-
}
|
|
1184
|
-
if (data["__type"] !== undefined) {
|
|
1185
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1186
|
-
}
|
|
1187
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackage",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackage Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mediapackage",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.525.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.525.0",
|
|
31
31
|
"@aws-sdk/types": "3.523.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.525.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.523.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.525.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.4",
|
|
36
|
+
"@smithy/core": "^1.3.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.3",
|
|
38
38
|
"@smithy/hash-node": "^2.1.3",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.1.3",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.1.3",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.4",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.4",
|
|
43
43
|
"@smithy/middleware-serde": "^2.1.3",
|
|
44
44
|
"@smithy/middleware-stack": "^2.1.3",
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.4",
|
|
46
46
|
"@smithy/node-http-handler": "^2.4.1",
|
|
47
47
|
"@smithy/protocol-http": "^3.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
48
|
+
"@smithy/smithy-client": "^2.4.2",
|
|
49
49
|
"@smithy/types": "^2.10.1",
|
|
50
50
|
"@smithy/url-parser": "^2.1.3",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.3",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.4",
|
|
57
57
|
"@smithy/util-middleware": "^2.1.3",
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
package/dist-cjs/MediaPackage.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|