@aws-sdk/client-snowball 3.525.0 → 3.529.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js
CHANGED
|
@@ -247,6 +247,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
247
247
|
var import_types = require("@smithy/types");
|
|
248
248
|
|
|
249
249
|
// src/protocols/Aws_json1_1.ts
|
|
250
|
+
var import_core2 = require("@aws-sdk/core");
|
|
250
251
|
|
|
251
252
|
|
|
252
253
|
|
|
@@ -763,7 +764,7 @@ var de_CancelClusterCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
763
764
|
if (output.statusCode >= 300) {
|
|
764
765
|
return de_CommandError(output, context);
|
|
765
766
|
}
|
|
766
|
-
const data = await
|
|
767
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
767
768
|
let contents = {};
|
|
768
769
|
contents = (0, import_smithy_client._json)(data);
|
|
769
770
|
const response = {
|
|
@@ -776,7 +777,7 @@ var de_CancelJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
776
777
|
if (output.statusCode >= 300) {
|
|
777
778
|
return de_CommandError(output, context);
|
|
778
779
|
}
|
|
779
|
-
const data = await
|
|
780
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
780
781
|
let contents = {};
|
|
781
782
|
contents = (0, import_smithy_client._json)(data);
|
|
782
783
|
const response = {
|
|
@@ -789,7 +790,7 @@ var de_CreateAddressCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
789
790
|
if (output.statusCode >= 300) {
|
|
790
791
|
return de_CommandError(output, context);
|
|
791
792
|
}
|
|
792
|
-
const data = await
|
|
793
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
793
794
|
let contents = {};
|
|
794
795
|
contents = (0, import_smithy_client._json)(data);
|
|
795
796
|
const response = {
|
|
@@ -802,7 +803,7 @@ var de_CreateClusterCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
802
803
|
if (output.statusCode >= 300) {
|
|
803
804
|
return de_CommandError(output, context);
|
|
804
805
|
}
|
|
805
|
-
const data = await
|
|
806
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
806
807
|
let contents = {};
|
|
807
808
|
contents = de_CreateClusterResult(data, context);
|
|
808
809
|
const response = {
|
|
@@ -815,7 +816,7 @@ var de_CreateJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
815
816
|
if (output.statusCode >= 300) {
|
|
816
817
|
return de_CommandError(output, context);
|
|
817
818
|
}
|
|
818
|
-
const data = await
|
|
819
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
819
820
|
let contents = {};
|
|
820
821
|
contents = (0, import_smithy_client._json)(data);
|
|
821
822
|
const response = {
|
|
@@ -828,7 +829,7 @@ var de_CreateLongTermPricingCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
828
829
|
if (output.statusCode >= 300) {
|
|
829
830
|
return de_CommandError(output, context);
|
|
830
831
|
}
|
|
831
|
-
const data = await
|
|
832
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
832
833
|
let contents = {};
|
|
833
834
|
contents = (0, import_smithy_client._json)(data);
|
|
834
835
|
const response = {
|
|
@@ -841,7 +842,7 @@ var de_CreateReturnShippingLabelCommand = /* @__PURE__ */ __name(async (output,
|
|
|
841
842
|
if (output.statusCode >= 300) {
|
|
842
843
|
return de_CommandError(output, context);
|
|
843
844
|
}
|
|
844
|
-
const data = await
|
|
845
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
845
846
|
let contents = {};
|
|
846
847
|
contents = (0, import_smithy_client._json)(data);
|
|
847
848
|
const response = {
|
|
@@ -854,7 +855,7 @@ var de_DescribeAddressCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
854
855
|
if (output.statusCode >= 300) {
|
|
855
856
|
return de_CommandError(output, context);
|
|
856
857
|
}
|
|
857
|
-
const data = await
|
|
858
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
858
859
|
let contents = {};
|
|
859
860
|
contents = (0, import_smithy_client._json)(data);
|
|
860
861
|
const response = {
|
|
@@ -867,7 +868,7 @@ var de_DescribeAddressesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
867
868
|
if (output.statusCode >= 300) {
|
|
868
869
|
return de_CommandError(output, context);
|
|
869
870
|
}
|
|
870
|
-
const data = await
|
|
871
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
871
872
|
let contents = {};
|
|
872
873
|
contents = (0, import_smithy_client._json)(data);
|
|
873
874
|
const response = {
|
|
@@ -880,7 +881,7 @@ var de_DescribeClusterCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
880
881
|
if (output.statusCode >= 300) {
|
|
881
882
|
return de_CommandError(output, context);
|
|
882
883
|
}
|
|
883
|
-
const data = await
|
|
884
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
884
885
|
let contents = {};
|
|
885
886
|
contents = de_DescribeClusterResult(data, context);
|
|
886
887
|
const response = {
|
|
@@ -893,7 +894,7 @@ var de_DescribeJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
893
894
|
if (output.statusCode >= 300) {
|
|
894
895
|
return de_CommandError(output, context);
|
|
895
896
|
}
|
|
896
|
-
const data = await
|
|
897
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
897
898
|
let contents = {};
|
|
898
899
|
contents = de_DescribeJobResult(data, context);
|
|
899
900
|
const response = {
|
|
@@ -906,7 +907,7 @@ var de_DescribeReturnShippingLabelCommand = /* @__PURE__ */ __name(async (output
|
|
|
906
907
|
if (output.statusCode >= 300) {
|
|
907
908
|
return de_CommandError(output, context);
|
|
908
909
|
}
|
|
909
|
-
const data = await
|
|
910
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
910
911
|
let contents = {};
|
|
911
912
|
contents = de_DescribeReturnShippingLabelResult(data, context);
|
|
912
913
|
const response = {
|
|
@@ -919,7 +920,7 @@ var de_GetJobManifestCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
919
920
|
if (output.statusCode >= 300) {
|
|
920
921
|
return de_CommandError(output, context);
|
|
921
922
|
}
|
|
922
|
-
const data = await
|
|
923
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
923
924
|
let contents = {};
|
|
924
925
|
contents = (0, import_smithy_client._json)(data);
|
|
925
926
|
const response = {
|
|
@@ -932,7 +933,7 @@ var de_GetJobUnlockCodeCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
932
933
|
if (output.statusCode >= 300) {
|
|
933
934
|
return de_CommandError(output, context);
|
|
934
935
|
}
|
|
935
|
-
const data = await
|
|
936
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
936
937
|
let contents = {};
|
|
937
938
|
contents = (0, import_smithy_client._json)(data);
|
|
938
939
|
const response = {
|
|
@@ -945,7 +946,7 @@ var de_GetSnowballUsageCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
945
946
|
if (output.statusCode >= 300) {
|
|
946
947
|
return de_CommandError(output, context);
|
|
947
948
|
}
|
|
948
|
-
const data = await
|
|
949
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
949
950
|
let contents = {};
|
|
950
951
|
contents = (0, import_smithy_client._json)(data);
|
|
951
952
|
const response = {
|
|
@@ -958,7 +959,7 @@ var de_GetSoftwareUpdatesCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
958
959
|
if (output.statusCode >= 300) {
|
|
959
960
|
return de_CommandError(output, context);
|
|
960
961
|
}
|
|
961
|
-
const data = await
|
|
962
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
962
963
|
let contents = {};
|
|
963
964
|
contents = (0, import_smithy_client._json)(data);
|
|
964
965
|
const response = {
|
|
@@ -971,7 +972,7 @@ var de_ListClusterJobsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
971
972
|
if (output.statusCode >= 300) {
|
|
972
973
|
return de_CommandError(output, context);
|
|
973
974
|
}
|
|
974
|
-
const data = await
|
|
975
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
975
976
|
let contents = {};
|
|
976
977
|
contents = de_ListClusterJobsResult(data, context);
|
|
977
978
|
const response = {
|
|
@@ -984,7 +985,7 @@ var de_ListClustersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
984
985
|
if (output.statusCode >= 300) {
|
|
985
986
|
return de_CommandError(output, context);
|
|
986
987
|
}
|
|
987
|
-
const data = await
|
|
988
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
988
989
|
let contents = {};
|
|
989
990
|
contents = de_ListClustersResult(data, context);
|
|
990
991
|
const response = {
|
|
@@ -997,7 +998,7 @@ var de_ListCompatibleImagesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
997
998
|
if (output.statusCode >= 300) {
|
|
998
999
|
return de_CommandError(output, context);
|
|
999
1000
|
}
|
|
1000
|
-
const data = await
|
|
1001
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1001
1002
|
let contents = {};
|
|
1002
1003
|
contents = (0, import_smithy_client._json)(data);
|
|
1003
1004
|
const response = {
|
|
@@ -1010,7 +1011,7 @@ var de_ListJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1010
1011
|
if (output.statusCode >= 300) {
|
|
1011
1012
|
return de_CommandError(output, context);
|
|
1012
1013
|
}
|
|
1013
|
-
const data = await
|
|
1014
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1014
1015
|
let contents = {};
|
|
1015
1016
|
contents = de_ListJobsResult(data, context);
|
|
1016
1017
|
const response = {
|
|
@@ -1023,7 +1024,7 @@ var de_ListLongTermPricingCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1023
1024
|
if (output.statusCode >= 300) {
|
|
1024
1025
|
return de_CommandError(output, context);
|
|
1025
1026
|
}
|
|
1026
|
-
const data = await
|
|
1027
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1027
1028
|
let contents = {};
|
|
1028
1029
|
contents = de_ListLongTermPricingResult(data, context);
|
|
1029
1030
|
const response = {
|
|
@@ -1036,7 +1037,7 @@ var de_ListPickupLocationsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1036
1037
|
if (output.statusCode >= 300) {
|
|
1037
1038
|
return de_CommandError(output, context);
|
|
1038
1039
|
}
|
|
1039
|
-
const data = await
|
|
1040
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1040
1041
|
let contents = {};
|
|
1041
1042
|
contents = (0, import_smithy_client._json)(data);
|
|
1042
1043
|
const response = {
|
|
@@ -1049,7 +1050,7 @@ var de_ListServiceVersionsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1049
1050
|
if (output.statusCode >= 300) {
|
|
1050
1051
|
return de_CommandError(output, context);
|
|
1051
1052
|
}
|
|
1052
|
-
const data = await
|
|
1053
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1053
1054
|
let contents = {};
|
|
1054
1055
|
contents = (0, import_smithy_client._json)(data);
|
|
1055
1056
|
const response = {
|
|
@@ -1062,7 +1063,7 @@ var de_UpdateClusterCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1062
1063
|
if (output.statusCode >= 300) {
|
|
1063
1064
|
return de_CommandError(output, context);
|
|
1064
1065
|
}
|
|
1065
|
-
const data = await
|
|
1066
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1066
1067
|
let contents = {};
|
|
1067
1068
|
contents = (0, import_smithy_client._json)(data);
|
|
1068
1069
|
const response = {
|
|
@@ -1075,7 +1076,7 @@ var de_UpdateJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1075
1076
|
if (output.statusCode >= 300) {
|
|
1076
1077
|
return de_CommandError(output, context);
|
|
1077
1078
|
}
|
|
1078
|
-
const data = await
|
|
1079
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1079
1080
|
let contents = {};
|
|
1080
1081
|
contents = (0, import_smithy_client._json)(data);
|
|
1081
1082
|
const response = {
|
|
@@ -1088,7 +1089,7 @@ var de_UpdateJobShipmentStateCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1088
1089
|
if (output.statusCode >= 300) {
|
|
1089
1090
|
return de_CommandError(output, context);
|
|
1090
1091
|
}
|
|
1091
|
-
const data = await
|
|
1092
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1092
1093
|
let contents = {};
|
|
1093
1094
|
contents = (0, import_smithy_client._json)(data);
|
|
1094
1095
|
const response = {
|
|
@@ -1101,7 +1102,7 @@ var de_UpdateLongTermPricingCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1101
1102
|
if (output.statusCode >= 300) {
|
|
1102
1103
|
return de_CommandError(output, context);
|
|
1103
1104
|
}
|
|
1104
|
-
const data = await
|
|
1105
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1105
1106
|
let contents = {};
|
|
1106
1107
|
contents = (0, import_smithy_client._json)(data);
|
|
1107
1108
|
const response = {
|
|
@@ -1113,9 +1114,9 @@ var de_UpdateLongTermPricingCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1113
1114
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1114
1115
|
const parsedOutput = {
|
|
1115
1116
|
...output,
|
|
1116
|
-
body: await
|
|
1117
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1117
1118
|
};
|
|
1118
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1119
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1119
1120
|
switch (errorCode) {
|
|
1120
1121
|
case "InvalidJobStateException":
|
|
1121
1122
|
case "com.amazonaws.snowball#InvalidJobStateException":
|
|
@@ -1543,7 +1544,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1543
1544
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1544
1545
|
cfId: output.headers["x-amz-cf-id"]
|
|
1545
1546
|
}), "deserializeMetadata");
|
|
1546
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1547
1547
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(SnowballServiceException);
|
|
1548
1548
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1549
1549
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1570,46 +1570,6 @@ function sharedHeaders(operation) {
|
|
|
1570
1570
|
};
|
|
1571
1571
|
}
|
|
1572
1572
|
__name(sharedHeaders, "sharedHeaders");
|
|
1573
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1574
|
-
if (encoded.length) {
|
|
1575
|
-
return JSON.parse(encoded);
|
|
1576
|
-
}
|
|
1577
|
-
return {};
|
|
1578
|
-
}), "parseBody");
|
|
1579
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1580
|
-
const value = await parseBody(errorBody, context);
|
|
1581
|
-
value.message = value.message ?? value.Message;
|
|
1582
|
-
return value;
|
|
1583
|
-
}, "parseErrorBody");
|
|
1584
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1585
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1586
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1587
|
-
let cleanValue = rawValue;
|
|
1588
|
-
if (typeof cleanValue === "number") {
|
|
1589
|
-
cleanValue = cleanValue.toString();
|
|
1590
|
-
}
|
|
1591
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1592
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1593
|
-
}
|
|
1594
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1595
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1596
|
-
}
|
|
1597
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1598
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1599
|
-
}
|
|
1600
|
-
return cleanValue;
|
|
1601
|
-
}, "sanitizeErrorCode");
|
|
1602
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1603
|
-
if (headerKey !== void 0) {
|
|
1604
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1605
|
-
}
|
|
1606
|
-
if (data.code !== void 0) {
|
|
1607
|
-
return sanitizeErrorCode(data.code);
|
|
1608
|
-
}
|
|
1609
|
-
if (data["__type"] !== void 0) {
|
|
1610
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1611
|
-
}
|
|
1612
|
-
}, "loadRestJsonErrorCode");
|
|
1613
1573
|
|
|
1614
1574
|
// src/commands/CancelClusterCommand.ts
|
|
1615
1575
|
var _CancelClusterCommand = class _CancelClusterCommand 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 { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { ClusterLimitExceededException, ConflictException, Ec2RequestFailedException, InvalidAddressException, InvalidInputCombinationException, InvalidJobStateException, InvalidNextTokenException, InvalidResourceException, KMSRequestFailedException, ReturnShippingLabelAlreadyExistsException, UnsupportedAddressException, } from "../models/models_0";
|
|
@@ -982,43 +983,3 @@ function sharedHeaders(operation) {
|
|
|
982
983
|
"x-amz-target": `AWSIESnowballJobManagementService.${operation}`,
|
|
983
984
|
};
|
|
984
985
|
}
|
|
985
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
986
|
-
if (encoded.length) {
|
|
987
|
-
return JSON.parse(encoded);
|
|
988
|
-
}
|
|
989
|
-
return {};
|
|
990
|
-
});
|
|
991
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
992
|
-
const value = await parseBody(errorBody, context);
|
|
993
|
-
value.message = value.message ?? value.Message;
|
|
994
|
-
return value;
|
|
995
|
-
};
|
|
996
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
997
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
998
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
999
|
-
let cleanValue = rawValue;
|
|
1000
|
-
if (typeof cleanValue === "number") {
|
|
1001
|
-
cleanValue = cleanValue.toString();
|
|
1002
|
-
}
|
|
1003
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1004
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1005
|
-
}
|
|
1006
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1007
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1008
|
-
}
|
|
1009
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1010
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1011
|
-
}
|
|
1012
|
-
return cleanValue;
|
|
1013
|
-
};
|
|
1014
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1015
|
-
if (headerKey !== undefined) {
|
|
1016
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1017
|
-
}
|
|
1018
|
-
if (data.code !== undefined) {
|
|
1019
|
-
return sanitizeErrorCode(data.code);
|
|
1020
|
-
}
|
|
1021
|
-
if (data["__type"] !== undefined) {
|
|
1022
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1023
|
-
}
|
|
1024
|
-
};
|
|
@@ -317,7 +317,7 @@ export interface EKSOnDeviceServiceConfiguration {
|
|
|
317
317
|
KubernetesVersion?: string;
|
|
318
318
|
/**
|
|
319
319
|
* @public
|
|
320
|
-
* <p>The version of EKS Anywhere on the Snow Family device.</p>
|
|
320
|
+
* <p>The optional version of EKS Anywhere on the Snow Family device.</p>
|
|
321
321
|
*/
|
|
322
322
|
EKSAnywhereVersion?: string;
|
|
323
323
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-snowball",
|
|
3
3
|
"description": "AWS SDK for JavaScript Snowball Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.1",
|
|
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-snowball",
|
|
@@ -20,9 +20,9 @@
|
|
|
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.1",
|
|
24
|
+
"@aws-sdk/core": "3.529.1",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.1",
|
|
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",
|