@aws-sdk/client-codeartifact 3.312.0 → 3.315.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/protocols/Aws_restJson1.js +442 -828
- package/dist-es/protocols/Aws_restJson1.js +361 -747
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map
|
|
2
|
+
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, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { CodeartifactServiceException as __BaseException } from "../models/CodeartifactServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const se_AssociateExternalConnectionCommand = async (input, context) => {
|
|
@@ -40,14 +40,12 @@ export const se_CopyPackageVersionsCommand = async (input, context) => {
|
|
|
40
40
|
package: [, __expectNonNull(input.package, `package`)],
|
|
41
41
|
});
|
|
42
42
|
let body;
|
|
43
|
-
body = JSON.stringify({
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
...(input.versions != null && { versions: se_PackageVersionList(input.versions, context) }),
|
|
50
|
-
});
|
|
43
|
+
body = JSON.stringify(take(input, {
|
|
44
|
+
allowOverwrite: [],
|
|
45
|
+
includeFromUpstream: [],
|
|
46
|
+
versionRevisions: (_) => _json(_),
|
|
47
|
+
versions: (_) => _json(_),
|
|
48
|
+
}));
|
|
51
49
|
return new __HttpRequest({
|
|
52
50
|
protocol,
|
|
53
51
|
hostname,
|
|
@@ -69,10 +67,10 @@ export const se_CreateDomainCommand = async (input, context) => {
|
|
|
69
67
|
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
70
68
|
});
|
|
71
69
|
let body;
|
|
72
|
-
body = JSON.stringify({
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
});
|
|
70
|
+
body = JSON.stringify(take(input, {
|
|
71
|
+
encryptionKey: [],
|
|
72
|
+
tags: (_) => _json(_),
|
|
73
|
+
}));
|
|
76
74
|
return new __HttpRequest({
|
|
77
75
|
protocol,
|
|
78
76
|
hostname,
|
|
@@ -96,11 +94,11 @@ export const se_CreateRepositoryCommand = async (input, context) => {
|
|
|
96
94
|
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
97
95
|
});
|
|
98
96
|
let body;
|
|
99
|
-
body = JSON.stringify({
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
});
|
|
97
|
+
body = JSON.stringify(take(input, {
|
|
98
|
+
description: [],
|
|
99
|
+
tags: (_) => _json(_),
|
|
100
|
+
upstreams: (_) => _json(_),
|
|
101
|
+
}));
|
|
104
102
|
return new __HttpRequest({
|
|
105
103
|
protocol,
|
|
106
104
|
hostname,
|
|
@@ -192,10 +190,10 @@ export const se_DeletePackageVersionsCommand = async (input, context) => {
|
|
|
192
190
|
package: [, __expectNonNull(input.package, `package`)],
|
|
193
191
|
});
|
|
194
192
|
let body;
|
|
195
|
-
body = JSON.stringify({
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
});
|
|
193
|
+
body = JSON.stringify(take(input, {
|
|
194
|
+
expectedStatus: [],
|
|
195
|
+
versions: (_) => _json(_),
|
|
196
|
+
}));
|
|
199
197
|
return new __HttpRequest({
|
|
200
198
|
protocol,
|
|
201
199
|
hostname,
|
|
@@ -377,13 +375,11 @@ export const se_DisposePackageVersionsCommand = async (input, context) => {
|
|
|
377
375
|
package: [, __expectNonNull(input.package, `package`)],
|
|
378
376
|
});
|
|
379
377
|
let body;
|
|
380
|
-
body = JSON.stringify({
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
...(input.versions != null && { versions: se_PackageVersionList(input.versions, context) }),
|
|
386
|
-
});
|
|
378
|
+
body = JSON.stringify(take(input, {
|
|
379
|
+
expectedStatus: [],
|
|
380
|
+
versionRevisions: (_) => _json(_),
|
|
381
|
+
versions: (_) => _json(_),
|
|
382
|
+
}));
|
|
387
383
|
return new __HttpRequest({
|
|
388
384
|
protocol,
|
|
389
385
|
hostname,
|
|
@@ -538,10 +534,10 @@ export const se_ListDomainsCommand = async (input, context) => {
|
|
|
538
534
|
};
|
|
539
535
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domains";
|
|
540
536
|
let body;
|
|
541
|
-
body = JSON.stringify({
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
});
|
|
537
|
+
body = JSON.stringify(take(input, {
|
|
538
|
+
maxResults: [],
|
|
539
|
+
nextToken: [],
|
|
540
|
+
}));
|
|
545
541
|
return new __HttpRequest({
|
|
546
542
|
protocol,
|
|
547
543
|
hostname,
|
|
@@ -766,12 +762,12 @@ export const se_PutDomainPermissionsPolicyCommand = async (input, context) => {
|
|
|
766
762
|
};
|
|
767
763
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
|
|
768
764
|
let body;
|
|
769
|
-
body = JSON.stringify({
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
});
|
|
765
|
+
body = JSON.stringify(take(input, {
|
|
766
|
+
domain: [],
|
|
767
|
+
domainOwner: [],
|
|
768
|
+
policyDocument: [],
|
|
769
|
+
policyRevision: [],
|
|
770
|
+
}));
|
|
775
771
|
return new __HttpRequest({
|
|
776
772
|
protocol,
|
|
777
773
|
hostname,
|
|
@@ -797,9 +793,9 @@ export const se_PutPackageOriginConfigurationCommand = async (input, context) =>
|
|
|
797
793
|
package: [, __expectNonNull(input.package, `package`)],
|
|
798
794
|
});
|
|
799
795
|
let body;
|
|
800
|
-
body = JSON.stringify({
|
|
801
|
-
|
|
802
|
-
});
|
|
796
|
+
body = JSON.stringify(take(input, {
|
|
797
|
+
restrictions: (_) => _json(_),
|
|
798
|
+
}));
|
|
803
799
|
return new __HttpRequest({
|
|
804
800
|
protocol,
|
|
805
801
|
hostname,
|
|
@@ -823,10 +819,10 @@ export const se_PutRepositoryPermissionsPolicyCommand = async (input, context) =
|
|
|
823
819
|
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
824
820
|
});
|
|
825
821
|
let body;
|
|
826
|
-
body = JSON.stringify({
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
});
|
|
822
|
+
body = JSON.stringify(take(input, {
|
|
823
|
+
policyDocument: [],
|
|
824
|
+
policyRevision: [],
|
|
825
|
+
}));
|
|
830
826
|
return new __HttpRequest({
|
|
831
827
|
protocol,
|
|
832
828
|
hostname,
|
|
@@ -848,9 +844,9 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
848
844
|
resourceArn: [, __expectNonNull(input.resourceArn, `resourceArn`)],
|
|
849
845
|
});
|
|
850
846
|
let body;
|
|
851
|
-
body = JSON.stringify({
|
|
852
|
-
|
|
853
|
-
});
|
|
847
|
+
body = JSON.stringify(take(input, {
|
|
848
|
+
tags: (_) => _json(_),
|
|
849
|
+
}));
|
|
854
850
|
return new __HttpRequest({
|
|
855
851
|
protocol,
|
|
856
852
|
hostname,
|
|
@@ -872,9 +868,9 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
872
868
|
resourceArn: [, __expectNonNull(input.resourceArn, `resourceArn`)],
|
|
873
869
|
});
|
|
874
870
|
let body;
|
|
875
|
-
body = JSON.stringify({
|
|
876
|
-
|
|
877
|
-
});
|
|
871
|
+
body = JSON.stringify(take(input, {
|
|
872
|
+
tagKeys: (_) => _json(_),
|
|
873
|
+
}));
|
|
878
874
|
return new __HttpRequest({
|
|
879
875
|
protocol,
|
|
880
876
|
hostname,
|
|
@@ -901,14 +897,12 @@ export const se_UpdatePackageVersionsStatusCommand = async (input, context) => {
|
|
|
901
897
|
package: [, __expectNonNull(input.package, `package`)],
|
|
902
898
|
});
|
|
903
899
|
let body;
|
|
904
|
-
body = JSON.stringify({
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
...(input.versions != null && { versions: se_PackageVersionList(input.versions, context) }),
|
|
911
|
-
});
|
|
900
|
+
body = JSON.stringify(take(input, {
|
|
901
|
+
expectedStatus: [],
|
|
902
|
+
targetStatus: [],
|
|
903
|
+
versionRevisions: (_) => _json(_),
|
|
904
|
+
versions: (_) => _json(_),
|
|
905
|
+
}));
|
|
912
906
|
return new __HttpRequest({
|
|
913
907
|
protocol,
|
|
914
908
|
hostname,
|
|
@@ -932,10 +926,10 @@ export const se_UpdateRepositoryCommand = async (input, context) => {
|
|
|
932
926
|
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
933
927
|
});
|
|
934
928
|
let body;
|
|
935
|
-
body = JSON.stringify({
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
});
|
|
929
|
+
body = JSON.stringify(take(input, {
|
|
930
|
+
description: [],
|
|
931
|
+
upstreams: (_) => _json(_),
|
|
932
|
+
}));
|
|
939
933
|
return new __HttpRequest({
|
|
940
934
|
protocol,
|
|
941
935
|
hostname,
|
|
@@ -955,9 +949,10 @@ export const de_AssociateExternalConnectionCommand = async (output, context) =>
|
|
|
955
949
|
$metadata: deserializeMetadata(output),
|
|
956
950
|
});
|
|
957
951
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
}
|
|
952
|
+
const doc = take(data, {
|
|
953
|
+
repository: (_) => de_RepositoryDescription(_, context),
|
|
954
|
+
});
|
|
955
|
+
Object.assign(contents, doc);
|
|
961
956
|
return contents;
|
|
962
957
|
};
|
|
963
958
|
const de_AssociateExternalConnectionCommandError = async (output, context) => {
|
|
@@ -990,10 +985,9 @@ const de_AssociateExternalConnectionCommandError = async (output, context) => {
|
|
|
990
985
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
991
986
|
default:
|
|
992
987
|
const parsedBody = parsedOutput.body;
|
|
993
|
-
throwDefaultError({
|
|
988
|
+
return throwDefaultError({
|
|
994
989
|
output,
|
|
995
990
|
parsedBody,
|
|
996
|
-
exceptionCtor: __BaseException,
|
|
997
991
|
errorCode,
|
|
998
992
|
});
|
|
999
993
|
}
|
|
@@ -1006,12 +1000,11 @@ export const de_CopyPackageVersionsCommand = async (output, context) => {
|
|
|
1006
1000
|
$metadata: deserializeMetadata(output),
|
|
1007
1001
|
});
|
|
1008
1002
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
}
|
|
1003
|
+
const doc = take(data, {
|
|
1004
|
+
failedVersions: _json,
|
|
1005
|
+
successfulVersions: _json,
|
|
1006
|
+
});
|
|
1007
|
+
Object.assign(contents, doc);
|
|
1015
1008
|
return contents;
|
|
1016
1009
|
};
|
|
1017
1010
|
const de_CopyPackageVersionsCommandError = async (output, context) => {
|
|
@@ -1044,10 +1037,9 @@ const de_CopyPackageVersionsCommandError = async (output, context) => {
|
|
|
1044
1037
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1045
1038
|
default:
|
|
1046
1039
|
const parsedBody = parsedOutput.body;
|
|
1047
|
-
throwDefaultError({
|
|
1040
|
+
return throwDefaultError({
|
|
1048
1041
|
output,
|
|
1049
1042
|
parsedBody,
|
|
1050
|
-
exceptionCtor: __BaseException,
|
|
1051
1043
|
errorCode,
|
|
1052
1044
|
});
|
|
1053
1045
|
}
|
|
@@ -1060,9 +1052,10 @@ export const de_CreateDomainCommand = async (output, context) => {
|
|
|
1060
1052
|
$metadata: deserializeMetadata(output),
|
|
1061
1053
|
});
|
|
1062
1054
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
}
|
|
1055
|
+
const doc = take(data, {
|
|
1056
|
+
domain: (_) => de_DomainDescription(_, context),
|
|
1057
|
+
});
|
|
1058
|
+
Object.assign(contents, doc);
|
|
1066
1059
|
return contents;
|
|
1067
1060
|
};
|
|
1068
1061
|
const de_CreateDomainCommandError = async (output, context) => {
|
|
@@ -1095,10 +1088,9 @@ const de_CreateDomainCommandError = async (output, context) => {
|
|
|
1095
1088
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1096
1089
|
default:
|
|
1097
1090
|
const parsedBody = parsedOutput.body;
|
|
1098
|
-
throwDefaultError({
|
|
1091
|
+
return throwDefaultError({
|
|
1099
1092
|
output,
|
|
1100
1093
|
parsedBody,
|
|
1101
|
-
exceptionCtor: __BaseException,
|
|
1102
1094
|
errorCode,
|
|
1103
1095
|
});
|
|
1104
1096
|
}
|
|
@@ -1111,9 +1103,10 @@ export const de_CreateRepositoryCommand = async (output, context) => {
|
|
|
1111
1103
|
$metadata: deserializeMetadata(output),
|
|
1112
1104
|
});
|
|
1113
1105
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
}
|
|
1106
|
+
const doc = take(data, {
|
|
1107
|
+
repository: (_) => de_RepositoryDescription(_, context),
|
|
1108
|
+
});
|
|
1109
|
+
Object.assign(contents, doc);
|
|
1117
1110
|
return contents;
|
|
1118
1111
|
};
|
|
1119
1112
|
const de_CreateRepositoryCommandError = async (output, context) => {
|
|
@@ -1146,10 +1139,9 @@ const de_CreateRepositoryCommandError = async (output, context) => {
|
|
|
1146
1139
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1147
1140
|
default:
|
|
1148
1141
|
const parsedBody = parsedOutput.body;
|
|
1149
|
-
throwDefaultError({
|
|
1142
|
+
return throwDefaultError({
|
|
1150
1143
|
output,
|
|
1151
1144
|
parsedBody,
|
|
1152
|
-
exceptionCtor: __BaseException,
|
|
1153
1145
|
errorCode,
|
|
1154
1146
|
});
|
|
1155
1147
|
}
|
|
@@ -1162,9 +1154,10 @@ export const de_DeleteDomainCommand = async (output, context) => {
|
|
|
1162
1154
|
$metadata: deserializeMetadata(output),
|
|
1163
1155
|
});
|
|
1164
1156
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
}
|
|
1157
|
+
const doc = take(data, {
|
|
1158
|
+
domain: (_) => de_DomainDescription(_, context),
|
|
1159
|
+
});
|
|
1160
|
+
Object.assign(contents, doc);
|
|
1168
1161
|
return contents;
|
|
1169
1162
|
};
|
|
1170
1163
|
const de_DeleteDomainCommandError = async (output, context) => {
|
|
@@ -1191,10 +1184,9 @@ const de_DeleteDomainCommandError = async (output, context) => {
|
|
|
1191
1184
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1192
1185
|
default:
|
|
1193
1186
|
const parsedBody = parsedOutput.body;
|
|
1194
|
-
throwDefaultError({
|
|
1187
|
+
return throwDefaultError({
|
|
1195
1188
|
output,
|
|
1196
1189
|
parsedBody,
|
|
1197
|
-
exceptionCtor: __BaseException,
|
|
1198
1190
|
errorCode,
|
|
1199
1191
|
});
|
|
1200
1192
|
}
|
|
@@ -1207,9 +1199,10 @@ export const de_DeleteDomainPermissionsPolicyCommand = async (output, context) =
|
|
|
1207
1199
|
$metadata: deserializeMetadata(output),
|
|
1208
1200
|
});
|
|
1209
1201
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
}
|
|
1202
|
+
const doc = take(data, {
|
|
1203
|
+
policy: _json,
|
|
1204
|
+
});
|
|
1205
|
+
Object.assign(contents, doc);
|
|
1213
1206
|
return contents;
|
|
1214
1207
|
};
|
|
1215
1208
|
const de_DeleteDomainPermissionsPolicyCommandError = async (output, context) => {
|
|
@@ -1239,10 +1232,9 @@ const de_DeleteDomainPermissionsPolicyCommandError = async (output, context) =>
|
|
|
1239
1232
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1240
1233
|
default:
|
|
1241
1234
|
const parsedBody = parsedOutput.body;
|
|
1242
|
-
throwDefaultError({
|
|
1235
|
+
return throwDefaultError({
|
|
1243
1236
|
output,
|
|
1244
1237
|
parsedBody,
|
|
1245
|
-
exceptionCtor: __BaseException,
|
|
1246
1238
|
errorCode,
|
|
1247
1239
|
});
|
|
1248
1240
|
}
|
|
@@ -1255,9 +1247,10 @@ export const de_DeletePackageCommand = async (output, context) => {
|
|
|
1255
1247
|
$metadata: deserializeMetadata(output),
|
|
1256
1248
|
});
|
|
1257
1249
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
}
|
|
1250
|
+
const doc = take(data, {
|
|
1251
|
+
deletedPackage: _json,
|
|
1252
|
+
});
|
|
1253
|
+
Object.assign(contents, doc);
|
|
1261
1254
|
return contents;
|
|
1262
1255
|
};
|
|
1263
1256
|
const de_DeletePackageCommandError = async (output, context) => {
|
|
@@ -1287,10 +1280,9 @@ const de_DeletePackageCommandError = async (output, context) => {
|
|
|
1287
1280
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1288
1281
|
default:
|
|
1289
1282
|
const parsedBody = parsedOutput.body;
|
|
1290
|
-
throwDefaultError({
|
|
1283
|
+
return throwDefaultError({
|
|
1291
1284
|
output,
|
|
1292
1285
|
parsedBody,
|
|
1293
|
-
exceptionCtor: __BaseException,
|
|
1294
1286
|
errorCode,
|
|
1295
1287
|
});
|
|
1296
1288
|
}
|
|
@@ -1303,12 +1295,11 @@ export const de_DeletePackageVersionsCommand = async (output, context) => {
|
|
|
1303
1295
|
$metadata: deserializeMetadata(output),
|
|
1304
1296
|
});
|
|
1305
1297
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
}
|
|
1298
|
+
const doc = take(data, {
|
|
1299
|
+
failedVersions: _json,
|
|
1300
|
+
successfulVersions: _json,
|
|
1301
|
+
});
|
|
1302
|
+
Object.assign(contents, doc);
|
|
1312
1303
|
return contents;
|
|
1313
1304
|
};
|
|
1314
1305
|
const de_DeletePackageVersionsCommandError = async (output, context) => {
|
|
@@ -1338,10 +1329,9 @@ const de_DeletePackageVersionsCommandError = async (output, context) => {
|
|
|
1338
1329
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1339
1330
|
default:
|
|
1340
1331
|
const parsedBody = parsedOutput.body;
|
|
1341
|
-
throwDefaultError({
|
|
1332
|
+
return throwDefaultError({
|
|
1342
1333
|
output,
|
|
1343
1334
|
parsedBody,
|
|
1344
|
-
exceptionCtor: __BaseException,
|
|
1345
1335
|
errorCode,
|
|
1346
1336
|
});
|
|
1347
1337
|
}
|
|
@@ -1354,9 +1344,10 @@ export const de_DeleteRepositoryCommand = async (output, context) => {
|
|
|
1354
1344
|
$metadata: deserializeMetadata(output),
|
|
1355
1345
|
});
|
|
1356
1346
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
}
|
|
1347
|
+
const doc = take(data, {
|
|
1348
|
+
repository: (_) => de_RepositoryDescription(_, context),
|
|
1349
|
+
});
|
|
1350
|
+
Object.assign(contents, doc);
|
|
1360
1351
|
return contents;
|
|
1361
1352
|
};
|
|
1362
1353
|
const de_DeleteRepositoryCommandError = async (output, context) => {
|
|
@@ -1386,10 +1377,9 @@ const de_DeleteRepositoryCommandError = async (output, context) => {
|
|
|
1386
1377
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1387
1378
|
default:
|
|
1388
1379
|
const parsedBody = parsedOutput.body;
|
|
1389
|
-
throwDefaultError({
|
|
1380
|
+
return throwDefaultError({
|
|
1390
1381
|
output,
|
|
1391
1382
|
parsedBody,
|
|
1392
|
-
exceptionCtor: __BaseException,
|
|
1393
1383
|
errorCode,
|
|
1394
1384
|
});
|
|
1395
1385
|
}
|
|
@@ -1402,9 +1392,10 @@ export const de_DeleteRepositoryPermissionsPolicyCommand = async (output, contex
|
|
|
1402
1392
|
$metadata: deserializeMetadata(output),
|
|
1403
1393
|
});
|
|
1404
1394
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
}
|
|
1395
|
+
const doc = take(data, {
|
|
1396
|
+
policy: _json,
|
|
1397
|
+
});
|
|
1398
|
+
Object.assign(contents, doc);
|
|
1408
1399
|
return contents;
|
|
1409
1400
|
};
|
|
1410
1401
|
const de_DeleteRepositoryPermissionsPolicyCommandError = async (output, context) => {
|
|
@@ -1434,10 +1425,9 @@ const de_DeleteRepositoryPermissionsPolicyCommandError = async (output, context)
|
|
|
1434
1425
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1435
1426
|
default:
|
|
1436
1427
|
const parsedBody = parsedOutput.body;
|
|
1437
|
-
throwDefaultError({
|
|
1428
|
+
return throwDefaultError({
|
|
1438
1429
|
output,
|
|
1439
1430
|
parsedBody,
|
|
1440
|
-
exceptionCtor: __BaseException,
|
|
1441
1431
|
errorCode,
|
|
1442
1432
|
});
|
|
1443
1433
|
}
|
|
@@ -1450,9 +1440,10 @@ export const de_DescribeDomainCommand = async (output, context) => {
|
|
|
1450
1440
|
$metadata: deserializeMetadata(output),
|
|
1451
1441
|
});
|
|
1452
1442
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
}
|
|
1443
|
+
const doc = take(data, {
|
|
1444
|
+
domain: (_) => de_DomainDescription(_, context),
|
|
1445
|
+
});
|
|
1446
|
+
Object.assign(contents, doc);
|
|
1456
1447
|
return contents;
|
|
1457
1448
|
};
|
|
1458
1449
|
const de_DescribeDomainCommandError = async (output, context) => {
|
|
@@ -1479,10 +1470,9 @@ const de_DescribeDomainCommandError = async (output, context) => {
|
|
|
1479
1470
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1480
1471
|
default:
|
|
1481
1472
|
const parsedBody = parsedOutput.body;
|
|
1482
|
-
throwDefaultError({
|
|
1473
|
+
return throwDefaultError({
|
|
1483
1474
|
output,
|
|
1484
1475
|
parsedBody,
|
|
1485
|
-
exceptionCtor: __BaseException,
|
|
1486
1476
|
errorCode,
|
|
1487
1477
|
});
|
|
1488
1478
|
}
|
|
@@ -1495,9 +1485,10 @@ export const de_DescribePackageCommand = async (output, context) => {
|
|
|
1495
1485
|
$metadata: deserializeMetadata(output),
|
|
1496
1486
|
});
|
|
1497
1487
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
}
|
|
1488
|
+
const doc = take(data, {
|
|
1489
|
+
package: _json,
|
|
1490
|
+
});
|
|
1491
|
+
Object.assign(contents, doc);
|
|
1501
1492
|
return contents;
|
|
1502
1493
|
};
|
|
1503
1494
|
const de_DescribePackageCommandError = async (output, context) => {
|
|
@@ -1524,10 +1515,9 @@ const de_DescribePackageCommandError = async (output, context) => {
|
|
|
1524
1515
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1525
1516
|
default:
|
|
1526
1517
|
const parsedBody = parsedOutput.body;
|
|
1527
|
-
throwDefaultError({
|
|
1518
|
+
return throwDefaultError({
|
|
1528
1519
|
output,
|
|
1529
1520
|
parsedBody,
|
|
1530
|
-
exceptionCtor: __BaseException,
|
|
1531
1521
|
errorCode,
|
|
1532
1522
|
});
|
|
1533
1523
|
}
|
|
@@ -1540,9 +1530,10 @@ export const de_DescribePackageVersionCommand = async (output, context) => {
|
|
|
1540
1530
|
$metadata: deserializeMetadata(output),
|
|
1541
1531
|
});
|
|
1542
1532
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
}
|
|
1533
|
+
const doc = take(data, {
|
|
1534
|
+
packageVersion: (_) => de_PackageVersionDescription(_, context),
|
|
1535
|
+
});
|
|
1536
|
+
Object.assign(contents, doc);
|
|
1546
1537
|
return contents;
|
|
1547
1538
|
};
|
|
1548
1539
|
const de_DescribePackageVersionCommandError = async (output, context) => {
|
|
@@ -1572,10 +1563,9 @@ const de_DescribePackageVersionCommandError = async (output, context) => {
|
|
|
1572
1563
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1573
1564
|
default:
|
|
1574
1565
|
const parsedBody = parsedOutput.body;
|
|
1575
|
-
throwDefaultError({
|
|
1566
|
+
return throwDefaultError({
|
|
1576
1567
|
output,
|
|
1577
1568
|
parsedBody,
|
|
1578
|
-
exceptionCtor: __BaseException,
|
|
1579
1569
|
errorCode,
|
|
1580
1570
|
});
|
|
1581
1571
|
}
|
|
@@ -1588,9 +1578,10 @@ export const de_DescribeRepositoryCommand = async (output, context) => {
|
|
|
1588
1578
|
$metadata: deserializeMetadata(output),
|
|
1589
1579
|
});
|
|
1590
1580
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
}
|
|
1581
|
+
const doc = take(data, {
|
|
1582
|
+
repository: (_) => de_RepositoryDescription(_, context),
|
|
1583
|
+
});
|
|
1584
|
+
Object.assign(contents, doc);
|
|
1594
1585
|
return contents;
|
|
1595
1586
|
};
|
|
1596
1587
|
const de_DescribeRepositoryCommandError = async (output, context) => {
|
|
@@ -1617,10 +1608,9 @@ const de_DescribeRepositoryCommandError = async (output, context) => {
|
|
|
1617
1608
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1618
1609
|
default:
|
|
1619
1610
|
const parsedBody = parsedOutput.body;
|
|
1620
|
-
throwDefaultError({
|
|
1611
|
+
return throwDefaultError({
|
|
1621
1612
|
output,
|
|
1622
1613
|
parsedBody,
|
|
1623
|
-
exceptionCtor: __BaseException,
|
|
1624
1614
|
errorCode,
|
|
1625
1615
|
});
|
|
1626
1616
|
}
|
|
@@ -1633,9 +1623,10 @@ export const de_DisassociateExternalConnectionCommand = async (output, context)
|
|
|
1633
1623
|
$metadata: deserializeMetadata(output),
|
|
1634
1624
|
});
|
|
1635
1625
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
}
|
|
1626
|
+
const doc = take(data, {
|
|
1627
|
+
repository: (_) => de_RepositoryDescription(_, context),
|
|
1628
|
+
});
|
|
1629
|
+
Object.assign(contents, doc);
|
|
1639
1630
|
return contents;
|
|
1640
1631
|
};
|
|
1641
1632
|
const de_DisassociateExternalConnectionCommandError = async (output, context) => {
|
|
@@ -1668,10 +1659,9 @@ const de_DisassociateExternalConnectionCommandError = async (output, context) =>
|
|
|
1668
1659
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1669
1660
|
default:
|
|
1670
1661
|
const parsedBody = parsedOutput.body;
|
|
1671
|
-
throwDefaultError({
|
|
1662
|
+
return throwDefaultError({
|
|
1672
1663
|
output,
|
|
1673
1664
|
parsedBody,
|
|
1674
|
-
exceptionCtor: __BaseException,
|
|
1675
1665
|
errorCode,
|
|
1676
1666
|
});
|
|
1677
1667
|
}
|
|
@@ -1684,12 +1674,11 @@ export const de_DisposePackageVersionsCommand = async (output, context) => {
|
|
|
1684
1674
|
$metadata: deserializeMetadata(output),
|
|
1685
1675
|
});
|
|
1686
1676
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
}
|
|
1677
|
+
const doc = take(data, {
|
|
1678
|
+
failedVersions: _json,
|
|
1679
|
+
successfulVersions: _json,
|
|
1680
|
+
});
|
|
1681
|
+
Object.assign(contents, doc);
|
|
1693
1682
|
return contents;
|
|
1694
1683
|
};
|
|
1695
1684
|
const de_DisposePackageVersionsCommandError = async (output, context) => {
|
|
@@ -1719,10 +1708,9 @@ const de_DisposePackageVersionsCommandError = async (output, context) => {
|
|
|
1719
1708
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1720
1709
|
default:
|
|
1721
1710
|
const parsedBody = parsedOutput.body;
|
|
1722
|
-
throwDefaultError({
|
|
1711
|
+
return throwDefaultError({
|
|
1723
1712
|
output,
|
|
1724
1713
|
parsedBody,
|
|
1725
|
-
exceptionCtor: __BaseException,
|
|
1726
1714
|
errorCode,
|
|
1727
1715
|
});
|
|
1728
1716
|
}
|
|
@@ -1735,12 +1723,11 @@ export const de_GetAuthorizationTokenCommand = async (output, context) => {
|
|
|
1735
1723
|
$metadata: deserializeMetadata(output),
|
|
1736
1724
|
});
|
|
1737
1725
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
}
|
|
1726
|
+
const doc = take(data, {
|
|
1727
|
+
authorizationToken: __expectString,
|
|
1728
|
+
expiration: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1729
|
+
});
|
|
1730
|
+
Object.assign(contents, doc);
|
|
1744
1731
|
return contents;
|
|
1745
1732
|
};
|
|
1746
1733
|
const de_GetAuthorizationTokenCommandError = async (output, context) => {
|
|
@@ -1767,10 +1754,9 @@ const de_GetAuthorizationTokenCommandError = async (output, context) => {
|
|
|
1767
1754
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1768
1755
|
default:
|
|
1769
1756
|
const parsedBody = parsedOutput.body;
|
|
1770
|
-
throwDefaultError({
|
|
1757
|
+
return throwDefaultError({
|
|
1771
1758
|
output,
|
|
1772
1759
|
parsedBody,
|
|
1773
|
-
exceptionCtor: __BaseException,
|
|
1774
1760
|
errorCode,
|
|
1775
1761
|
});
|
|
1776
1762
|
}
|
|
@@ -1783,9 +1769,10 @@ export const de_GetDomainPermissionsPolicyCommand = async (output, context) => {
|
|
|
1783
1769
|
$metadata: deserializeMetadata(output),
|
|
1784
1770
|
});
|
|
1785
1771
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
}
|
|
1772
|
+
const doc = take(data, {
|
|
1773
|
+
policy: _json,
|
|
1774
|
+
});
|
|
1775
|
+
Object.assign(contents, doc);
|
|
1789
1776
|
return contents;
|
|
1790
1777
|
};
|
|
1791
1778
|
const de_GetDomainPermissionsPolicyCommandError = async (output, context) => {
|
|
@@ -1812,10 +1799,9 @@ const de_GetDomainPermissionsPolicyCommandError = async (output, context) => {
|
|
|
1812
1799
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1813
1800
|
default:
|
|
1814
1801
|
const parsedBody = parsedOutput.body;
|
|
1815
|
-
throwDefaultError({
|
|
1802
|
+
return throwDefaultError({
|
|
1816
1803
|
output,
|
|
1817
1804
|
parsedBody,
|
|
1818
|
-
exceptionCtor: __BaseException,
|
|
1819
1805
|
errorCode,
|
|
1820
1806
|
});
|
|
1821
1807
|
}
|
|
@@ -1862,10 +1848,9 @@ const de_GetPackageVersionAssetCommandError = async (output, context) => {
|
|
|
1862
1848
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1863
1849
|
default:
|
|
1864
1850
|
const parsedBody = parsedOutput.body;
|
|
1865
|
-
throwDefaultError({
|
|
1851
|
+
return throwDefaultError({
|
|
1866
1852
|
output,
|
|
1867
1853
|
parsedBody,
|
|
1868
|
-
exceptionCtor: __BaseException,
|
|
1869
1854
|
errorCode,
|
|
1870
1855
|
});
|
|
1871
1856
|
}
|
|
@@ -1878,24 +1863,15 @@ export const de_GetPackageVersionReadmeCommand = async (output, context) => {
|
|
|
1878
1863
|
$metadata: deserializeMetadata(output),
|
|
1879
1864
|
});
|
|
1880
1865
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
if (data.readme != null) {
|
|
1891
|
-
contents.readme = __expectString(data.readme);
|
|
1892
|
-
}
|
|
1893
|
-
if (data.version != null) {
|
|
1894
|
-
contents.version = __expectString(data.version);
|
|
1895
|
-
}
|
|
1896
|
-
if (data.versionRevision != null) {
|
|
1897
|
-
contents.versionRevision = __expectString(data.versionRevision);
|
|
1898
|
-
}
|
|
1866
|
+
const doc = take(data, {
|
|
1867
|
+
format: __expectString,
|
|
1868
|
+
namespace: __expectString,
|
|
1869
|
+
package: __expectString,
|
|
1870
|
+
readme: __expectString,
|
|
1871
|
+
version: __expectString,
|
|
1872
|
+
versionRevision: __expectString,
|
|
1873
|
+
});
|
|
1874
|
+
Object.assign(contents, doc);
|
|
1899
1875
|
return contents;
|
|
1900
1876
|
};
|
|
1901
1877
|
const de_GetPackageVersionReadmeCommandError = async (output, context) => {
|
|
@@ -1922,10 +1898,9 @@ const de_GetPackageVersionReadmeCommandError = async (output, context) => {
|
|
|
1922
1898
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1923
1899
|
default:
|
|
1924
1900
|
const parsedBody = parsedOutput.body;
|
|
1925
|
-
throwDefaultError({
|
|
1901
|
+
return throwDefaultError({
|
|
1926
1902
|
output,
|
|
1927
1903
|
parsedBody,
|
|
1928
|
-
exceptionCtor: __BaseException,
|
|
1929
1904
|
errorCode,
|
|
1930
1905
|
});
|
|
1931
1906
|
}
|
|
@@ -1938,9 +1913,10 @@ export const de_GetRepositoryEndpointCommand = async (output, context) => {
|
|
|
1938
1913
|
$metadata: deserializeMetadata(output),
|
|
1939
1914
|
});
|
|
1940
1915
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
}
|
|
1916
|
+
const doc = take(data, {
|
|
1917
|
+
repositoryEndpoint: __expectString,
|
|
1918
|
+
});
|
|
1919
|
+
Object.assign(contents, doc);
|
|
1944
1920
|
return contents;
|
|
1945
1921
|
};
|
|
1946
1922
|
const de_GetRepositoryEndpointCommandError = async (output, context) => {
|
|
@@ -1967,10 +1943,9 @@ const de_GetRepositoryEndpointCommandError = async (output, context) => {
|
|
|
1967
1943
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1968
1944
|
default:
|
|
1969
1945
|
const parsedBody = parsedOutput.body;
|
|
1970
|
-
throwDefaultError({
|
|
1946
|
+
return throwDefaultError({
|
|
1971
1947
|
output,
|
|
1972
1948
|
parsedBody,
|
|
1973
|
-
exceptionCtor: __BaseException,
|
|
1974
1949
|
errorCode,
|
|
1975
1950
|
});
|
|
1976
1951
|
}
|
|
@@ -1983,9 +1958,10 @@ export const de_GetRepositoryPermissionsPolicyCommand = async (output, context)
|
|
|
1983
1958
|
$metadata: deserializeMetadata(output),
|
|
1984
1959
|
});
|
|
1985
1960
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
}
|
|
1961
|
+
const doc = take(data, {
|
|
1962
|
+
policy: _json,
|
|
1963
|
+
});
|
|
1964
|
+
Object.assign(contents, doc);
|
|
1989
1965
|
return contents;
|
|
1990
1966
|
};
|
|
1991
1967
|
const de_GetRepositoryPermissionsPolicyCommandError = async (output, context) => {
|
|
@@ -2012,10 +1988,9 @@ const de_GetRepositoryPermissionsPolicyCommandError = async (output, context) =>
|
|
|
2012
1988
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2013
1989
|
default:
|
|
2014
1990
|
const parsedBody = parsedOutput.body;
|
|
2015
|
-
throwDefaultError({
|
|
1991
|
+
return throwDefaultError({
|
|
2016
1992
|
output,
|
|
2017
1993
|
parsedBody,
|
|
2018
|
-
exceptionCtor: __BaseException,
|
|
2019
1994
|
errorCode,
|
|
2020
1995
|
});
|
|
2021
1996
|
}
|
|
@@ -2028,12 +2003,11 @@ export const de_ListDomainsCommand = async (output, context) => {
|
|
|
2028
2003
|
$metadata: deserializeMetadata(output),
|
|
2029
2004
|
});
|
|
2030
2005
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
}
|
|
2006
|
+
const doc = take(data, {
|
|
2007
|
+
domains: (_) => de_DomainSummaryList(_, context),
|
|
2008
|
+
nextToken: __expectString,
|
|
2009
|
+
});
|
|
2010
|
+
Object.assign(contents, doc);
|
|
2037
2011
|
return contents;
|
|
2038
2012
|
};
|
|
2039
2013
|
const de_ListDomainsCommandError = async (output, context) => {
|
|
@@ -2057,10 +2031,9 @@ const de_ListDomainsCommandError = async (output, context) => {
|
|
|
2057
2031
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2058
2032
|
default:
|
|
2059
2033
|
const parsedBody = parsedOutput.body;
|
|
2060
|
-
throwDefaultError({
|
|
2034
|
+
return throwDefaultError({
|
|
2061
2035
|
output,
|
|
2062
2036
|
parsedBody,
|
|
2063
|
-
exceptionCtor: __BaseException,
|
|
2064
2037
|
errorCode,
|
|
2065
2038
|
});
|
|
2066
2039
|
}
|
|
@@ -2073,12 +2046,11 @@ export const de_ListPackagesCommand = async (output, context) => {
|
|
|
2073
2046
|
$metadata: deserializeMetadata(output),
|
|
2074
2047
|
});
|
|
2075
2048
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
}
|
|
2049
|
+
const doc = take(data, {
|
|
2050
|
+
nextToken: __expectString,
|
|
2051
|
+
packages: _json,
|
|
2052
|
+
});
|
|
2053
|
+
Object.assign(contents, doc);
|
|
2082
2054
|
return contents;
|
|
2083
2055
|
};
|
|
2084
2056
|
const de_ListPackagesCommandError = async (output, context) => {
|
|
@@ -2105,10 +2077,9 @@ const de_ListPackagesCommandError = async (output, context) => {
|
|
|
2105
2077
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2106
2078
|
default:
|
|
2107
2079
|
const parsedBody = parsedOutput.body;
|
|
2108
|
-
throwDefaultError({
|
|
2080
|
+
return throwDefaultError({
|
|
2109
2081
|
output,
|
|
2110
2082
|
parsedBody,
|
|
2111
|
-
exceptionCtor: __BaseException,
|
|
2112
2083
|
errorCode,
|
|
2113
2084
|
});
|
|
2114
2085
|
}
|
|
@@ -2121,27 +2092,16 @@ export const de_ListPackageVersionAssetsCommand = async (output, context) => {
|
|
|
2121
2092
|
$metadata: deserializeMetadata(output),
|
|
2122
2093
|
});
|
|
2123
2094
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
}
|
|
2133
|
-
|
|
2134
|
-
contents.nextToken = __expectString(data.nextToken);
|
|
2135
|
-
}
|
|
2136
|
-
if (data.package != null) {
|
|
2137
|
-
contents.package = __expectString(data.package);
|
|
2138
|
-
}
|
|
2139
|
-
if (data.version != null) {
|
|
2140
|
-
contents.version = __expectString(data.version);
|
|
2141
|
-
}
|
|
2142
|
-
if (data.versionRevision != null) {
|
|
2143
|
-
contents.versionRevision = __expectString(data.versionRevision);
|
|
2144
|
-
}
|
|
2095
|
+
const doc = take(data, {
|
|
2096
|
+
assets: _json,
|
|
2097
|
+
format: __expectString,
|
|
2098
|
+
namespace: __expectString,
|
|
2099
|
+
nextToken: __expectString,
|
|
2100
|
+
package: __expectString,
|
|
2101
|
+
version: __expectString,
|
|
2102
|
+
versionRevision: __expectString,
|
|
2103
|
+
});
|
|
2104
|
+
Object.assign(contents, doc);
|
|
2145
2105
|
return contents;
|
|
2146
2106
|
};
|
|
2147
2107
|
const de_ListPackageVersionAssetsCommandError = async (output, context) => {
|
|
@@ -2168,10 +2128,9 @@ const de_ListPackageVersionAssetsCommandError = async (output, context) => {
|
|
|
2168
2128
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2169
2129
|
default:
|
|
2170
2130
|
const parsedBody = parsedOutput.body;
|
|
2171
|
-
throwDefaultError({
|
|
2131
|
+
return throwDefaultError({
|
|
2172
2132
|
output,
|
|
2173
2133
|
parsedBody,
|
|
2174
|
-
exceptionCtor: __BaseException,
|
|
2175
2134
|
errorCode,
|
|
2176
2135
|
});
|
|
2177
2136
|
}
|
|
@@ -2184,27 +2143,16 @@ export const de_ListPackageVersionDependenciesCommand = async (output, context)
|
|
|
2184
2143
|
$metadata: deserializeMetadata(output),
|
|
2185
2144
|
});
|
|
2186
2145
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
|
-
contents.nextToken = __expectString(data.nextToken);
|
|
2198
|
-
}
|
|
2199
|
-
if (data.package != null) {
|
|
2200
|
-
contents.package = __expectString(data.package);
|
|
2201
|
-
}
|
|
2202
|
-
if (data.version != null) {
|
|
2203
|
-
contents.version = __expectString(data.version);
|
|
2204
|
-
}
|
|
2205
|
-
if (data.versionRevision != null) {
|
|
2206
|
-
contents.versionRevision = __expectString(data.versionRevision);
|
|
2207
|
-
}
|
|
2146
|
+
const doc = take(data, {
|
|
2147
|
+
dependencies: _json,
|
|
2148
|
+
format: __expectString,
|
|
2149
|
+
namespace: __expectString,
|
|
2150
|
+
nextToken: __expectString,
|
|
2151
|
+
package: __expectString,
|
|
2152
|
+
version: __expectString,
|
|
2153
|
+
versionRevision: __expectString,
|
|
2154
|
+
});
|
|
2155
|
+
Object.assign(contents, doc);
|
|
2208
2156
|
return contents;
|
|
2209
2157
|
};
|
|
2210
2158
|
const de_ListPackageVersionDependenciesCommandError = async (output, context) => {
|
|
@@ -2231,10 +2179,9 @@ const de_ListPackageVersionDependenciesCommandError = async (output, context) =>
|
|
|
2231
2179
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2232
2180
|
default:
|
|
2233
2181
|
const parsedBody = parsedOutput.body;
|
|
2234
|
-
throwDefaultError({
|
|
2182
|
+
return throwDefaultError({
|
|
2235
2183
|
output,
|
|
2236
2184
|
parsedBody,
|
|
2237
|
-
exceptionCtor: __BaseException,
|
|
2238
2185
|
errorCode,
|
|
2239
2186
|
});
|
|
2240
2187
|
}
|
|
@@ -2247,24 +2194,15 @@ export const de_ListPackageVersionsCommand = async (output, context) => {
|
|
|
2247
2194
|
$metadata: deserializeMetadata(output),
|
|
2248
2195
|
});
|
|
2249
2196
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
if (data.nextToken != null) {
|
|
2260
|
-
contents.nextToken = __expectString(data.nextToken);
|
|
2261
|
-
}
|
|
2262
|
-
if (data.package != null) {
|
|
2263
|
-
contents.package = __expectString(data.package);
|
|
2264
|
-
}
|
|
2265
|
-
if (data.versions != null) {
|
|
2266
|
-
contents.versions = de_PackageVersionSummaryList(data.versions, context);
|
|
2267
|
-
}
|
|
2197
|
+
const doc = take(data, {
|
|
2198
|
+
defaultDisplayVersion: __expectString,
|
|
2199
|
+
format: __expectString,
|
|
2200
|
+
namespace: __expectString,
|
|
2201
|
+
nextToken: __expectString,
|
|
2202
|
+
package: __expectString,
|
|
2203
|
+
versions: _json,
|
|
2204
|
+
});
|
|
2205
|
+
Object.assign(contents, doc);
|
|
2268
2206
|
return contents;
|
|
2269
2207
|
};
|
|
2270
2208
|
const de_ListPackageVersionsCommandError = async (output, context) => {
|
|
@@ -2291,10 +2229,9 @@ const de_ListPackageVersionsCommandError = async (output, context) => {
|
|
|
2291
2229
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2292
2230
|
default:
|
|
2293
2231
|
const parsedBody = parsedOutput.body;
|
|
2294
|
-
throwDefaultError({
|
|
2232
|
+
return throwDefaultError({
|
|
2295
2233
|
output,
|
|
2296
2234
|
parsedBody,
|
|
2297
|
-
exceptionCtor: __BaseException,
|
|
2298
2235
|
errorCode,
|
|
2299
2236
|
});
|
|
2300
2237
|
}
|
|
@@ -2307,12 +2244,11 @@ export const de_ListRepositoriesCommand = async (output, context) => {
|
|
|
2307
2244
|
$metadata: deserializeMetadata(output),
|
|
2308
2245
|
});
|
|
2309
2246
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
}
|
|
2247
|
+
const doc = take(data, {
|
|
2248
|
+
nextToken: __expectString,
|
|
2249
|
+
repositories: (_) => de_RepositorySummaryList(_, context),
|
|
2250
|
+
});
|
|
2251
|
+
Object.assign(contents, doc);
|
|
2316
2252
|
return contents;
|
|
2317
2253
|
};
|
|
2318
2254
|
const de_ListRepositoriesCommandError = async (output, context) => {
|
|
@@ -2336,10 +2272,9 @@ const de_ListRepositoriesCommandError = async (output, context) => {
|
|
|
2336
2272
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2337
2273
|
default:
|
|
2338
2274
|
const parsedBody = parsedOutput.body;
|
|
2339
|
-
throwDefaultError({
|
|
2275
|
+
return throwDefaultError({
|
|
2340
2276
|
output,
|
|
2341
2277
|
parsedBody,
|
|
2342
|
-
exceptionCtor: __BaseException,
|
|
2343
2278
|
errorCode,
|
|
2344
2279
|
});
|
|
2345
2280
|
}
|
|
@@ -2352,12 +2287,11 @@ export const de_ListRepositoriesInDomainCommand = async (output, context) => {
|
|
|
2352
2287
|
$metadata: deserializeMetadata(output),
|
|
2353
2288
|
});
|
|
2354
2289
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
}
|
|
2290
|
+
const doc = take(data, {
|
|
2291
|
+
nextToken: __expectString,
|
|
2292
|
+
repositories: (_) => de_RepositorySummaryList(_, context),
|
|
2293
|
+
});
|
|
2294
|
+
Object.assign(contents, doc);
|
|
2361
2295
|
return contents;
|
|
2362
2296
|
};
|
|
2363
2297
|
const de_ListRepositoriesInDomainCommandError = async (output, context) => {
|
|
@@ -2384,10 +2318,9 @@ const de_ListRepositoriesInDomainCommandError = async (output, context) => {
|
|
|
2384
2318
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2385
2319
|
default:
|
|
2386
2320
|
const parsedBody = parsedOutput.body;
|
|
2387
|
-
throwDefaultError({
|
|
2321
|
+
return throwDefaultError({
|
|
2388
2322
|
output,
|
|
2389
2323
|
parsedBody,
|
|
2390
|
-
exceptionCtor: __BaseException,
|
|
2391
2324
|
errorCode,
|
|
2392
2325
|
});
|
|
2393
2326
|
}
|
|
@@ -2400,9 +2333,10 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2400
2333
|
$metadata: deserializeMetadata(output),
|
|
2401
2334
|
});
|
|
2402
2335
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
}
|
|
2336
|
+
const doc = take(data, {
|
|
2337
|
+
tags: _json,
|
|
2338
|
+
});
|
|
2339
|
+
Object.assign(contents, doc);
|
|
2406
2340
|
return contents;
|
|
2407
2341
|
};
|
|
2408
2342
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2426,10 +2360,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2426
2360
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2427
2361
|
default:
|
|
2428
2362
|
const parsedBody = parsedOutput.body;
|
|
2429
|
-
throwDefaultError({
|
|
2363
|
+
return throwDefaultError({
|
|
2430
2364
|
output,
|
|
2431
2365
|
parsedBody,
|
|
2432
|
-
exceptionCtor: __BaseException,
|
|
2433
2366
|
errorCode,
|
|
2434
2367
|
});
|
|
2435
2368
|
}
|
|
@@ -2442,27 +2375,16 @@ export const de_PublishPackageVersionCommand = async (output, context) => {
|
|
|
2442
2375
|
$metadata: deserializeMetadata(output),
|
|
2443
2376
|
});
|
|
2444
2377
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
}
|
|
2454
|
-
|
|
2455
|
-
contents.package = __expectString(data.package);
|
|
2456
|
-
}
|
|
2457
|
-
if (data.status != null) {
|
|
2458
|
-
contents.status = __expectString(data.status);
|
|
2459
|
-
}
|
|
2460
|
-
if (data.version != null) {
|
|
2461
|
-
contents.version = __expectString(data.version);
|
|
2462
|
-
}
|
|
2463
|
-
if (data.versionRevision != null) {
|
|
2464
|
-
contents.versionRevision = __expectString(data.versionRevision);
|
|
2465
|
-
}
|
|
2378
|
+
const doc = take(data, {
|
|
2379
|
+
asset: _json,
|
|
2380
|
+
format: __expectString,
|
|
2381
|
+
namespace: __expectString,
|
|
2382
|
+
package: __expectString,
|
|
2383
|
+
status: __expectString,
|
|
2384
|
+
version: __expectString,
|
|
2385
|
+
versionRevision: __expectString,
|
|
2386
|
+
});
|
|
2387
|
+
Object.assign(contents, doc);
|
|
2466
2388
|
return contents;
|
|
2467
2389
|
};
|
|
2468
2390
|
const de_PublishPackageVersionCommandError = async (output, context) => {
|
|
@@ -2495,10 +2417,9 @@ const de_PublishPackageVersionCommandError = async (output, context) => {
|
|
|
2495
2417
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2496
2418
|
default:
|
|
2497
2419
|
const parsedBody = parsedOutput.body;
|
|
2498
|
-
throwDefaultError({
|
|
2420
|
+
return throwDefaultError({
|
|
2499
2421
|
output,
|
|
2500
2422
|
parsedBody,
|
|
2501
|
-
exceptionCtor: __BaseException,
|
|
2502
2423
|
errorCode,
|
|
2503
2424
|
});
|
|
2504
2425
|
}
|
|
@@ -2511,9 +2432,10 @@ export const de_PutDomainPermissionsPolicyCommand = async (output, context) => {
|
|
|
2511
2432
|
$metadata: deserializeMetadata(output),
|
|
2512
2433
|
});
|
|
2513
2434
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
}
|
|
2435
|
+
const doc = take(data, {
|
|
2436
|
+
policy: _json,
|
|
2437
|
+
});
|
|
2438
|
+
Object.assign(contents, doc);
|
|
2517
2439
|
return contents;
|
|
2518
2440
|
};
|
|
2519
2441
|
const de_PutDomainPermissionsPolicyCommandError = async (output, context) => {
|
|
@@ -2546,10 +2468,9 @@ const de_PutDomainPermissionsPolicyCommandError = async (output, context) => {
|
|
|
2546
2468
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2547
2469
|
default:
|
|
2548
2470
|
const parsedBody = parsedOutput.body;
|
|
2549
|
-
throwDefaultError({
|
|
2471
|
+
return throwDefaultError({
|
|
2550
2472
|
output,
|
|
2551
2473
|
parsedBody,
|
|
2552
|
-
exceptionCtor: __BaseException,
|
|
2553
2474
|
errorCode,
|
|
2554
2475
|
});
|
|
2555
2476
|
}
|
|
@@ -2562,9 +2483,10 @@ export const de_PutPackageOriginConfigurationCommand = async (output, context) =
|
|
|
2562
2483
|
$metadata: deserializeMetadata(output),
|
|
2563
2484
|
});
|
|
2564
2485
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
}
|
|
2486
|
+
const doc = take(data, {
|
|
2487
|
+
originConfiguration: _json,
|
|
2488
|
+
});
|
|
2489
|
+
Object.assign(contents, doc);
|
|
2568
2490
|
return contents;
|
|
2569
2491
|
};
|
|
2570
2492
|
const de_PutPackageOriginConfigurationCommandError = async (output, context) => {
|
|
@@ -2591,10 +2513,9 @@ const de_PutPackageOriginConfigurationCommandError = async (output, context) =>
|
|
|
2591
2513
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2592
2514
|
default:
|
|
2593
2515
|
const parsedBody = parsedOutput.body;
|
|
2594
|
-
throwDefaultError({
|
|
2516
|
+
return throwDefaultError({
|
|
2595
2517
|
output,
|
|
2596
2518
|
parsedBody,
|
|
2597
|
-
exceptionCtor: __BaseException,
|
|
2598
2519
|
errorCode,
|
|
2599
2520
|
});
|
|
2600
2521
|
}
|
|
@@ -2607,9 +2528,10 @@ export const de_PutRepositoryPermissionsPolicyCommand = async (output, context)
|
|
|
2607
2528
|
$metadata: deserializeMetadata(output),
|
|
2608
2529
|
});
|
|
2609
2530
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
}
|
|
2531
|
+
const doc = take(data, {
|
|
2532
|
+
policy: _json,
|
|
2533
|
+
});
|
|
2534
|
+
Object.assign(contents, doc);
|
|
2613
2535
|
return contents;
|
|
2614
2536
|
};
|
|
2615
2537
|
const de_PutRepositoryPermissionsPolicyCommandError = async (output, context) => {
|
|
@@ -2642,10 +2564,9 @@ const de_PutRepositoryPermissionsPolicyCommandError = async (output, context) =>
|
|
|
2642
2564
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2643
2565
|
default:
|
|
2644
2566
|
const parsedBody = parsedOutput.body;
|
|
2645
|
-
throwDefaultError({
|
|
2567
|
+
return throwDefaultError({
|
|
2646
2568
|
output,
|
|
2647
2569
|
parsedBody,
|
|
2648
|
-
exceptionCtor: __BaseException,
|
|
2649
2570
|
errorCode,
|
|
2650
2571
|
});
|
|
2651
2572
|
}
|
|
@@ -2684,10 +2605,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2684
2605
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2685
2606
|
default:
|
|
2686
2607
|
const parsedBody = parsedOutput.body;
|
|
2687
|
-
throwDefaultError({
|
|
2608
|
+
return throwDefaultError({
|
|
2688
2609
|
output,
|
|
2689
2610
|
parsedBody,
|
|
2690
|
-
exceptionCtor: __BaseException,
|
|
2691
2611
|
errorCode,
|
|
2692
2612
|
});
|
|
2693
2613
|
}
|
|
@@ -2723,10 +2643,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2723
2643
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2724
2644
|
default:
|
|
2725
2645
|
const parsedBody = parsedOutput.body;
|
|
2726
|
-
throwDefaultError({
|
|
2646
|
+
return throwDefaultError({
|
|
2727
2647
|
output,
|
|
2728
2648
|
parsedBody,
|
|
2729
|
-
exceptionCtor: __BaseException,
|
|
2730
2649
|
errorCode,
|
|
2731
2650
|
});
|
|
2732
2651
|
}
|
|
@@ -2739,12 +2658,11 @@ export const de_UpdatePackageVersionsStatusCommand = async (output, context) =>
|
|
|
2739
2658
|
$metadata: deserializeMetadata(output),
|
|
2740
2659
|
});
|
|
2741
2660
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
}
|
|
2661
|
+
const doc = take(data, {
|
|
2662
|
+
failedVersions: _json,
|
|
2663
|
+
successfulVersions: _json,
|
|
2664
|
+
});
|
|
2665
|
+
Object.assign(contents, doc);
|
|
2748
2666
|
return contents;
|
|
2749
2667
|
};
|
|
2750
2668
|
const de_UpdatePackageVersionsStatusCommandError = async (output, context) => {
|
|
@@ -2774,10 +2692,9 @@ const de_UpdatePackageVersionsStatusCommandError = async (output, context) => {
|
|
|
2774
2692
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2775
2693
|
default:
|
|
2776
2694
|
const parsedBody = parsedOutput.body;
|
|
2777
|
-
throwDefaultError({
|
|
2695
|
+
return throwDefaultError({
|
|
2778
2696
|
output,
|
|
2779
2697
|
parsedBody,
|
|
2780
|
-
exceptionCtor: __BaseException,
|
|
2781
2698
|
errorCode,
|
|
2782
2699
|
});
|
|
2783
2700
|
}
|
|
@@ -2790,9 +2707,10 @@ export const de_UpdateRepositoryCommand = async (output, context) => {
|
|
|
2790
2707
|
$metadata: deserializeMetadata(output),
|
|
2791
2708
|
});
|
|
2792
2709
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
}
|
|
2710
|
+
const doc = take(data, {
|
|
2711
|
+
repository: (_) => de_RepositoryDescription(_, context),
|
|
2712
|
+
});
|
|
2713
|
+
Object.assign(contents, doc);
|
|
2796
2714
|
return contents;
|
|
2797
2715
|
};
|
|
2798
2716
|
const de_UpdateRepositoryCommandError = async (output, context) => {
|
|
@@ -2825,21 +2743,21 @@ const de_UpdateRepositoryCommandError = async (output, context) => {
|
|
|
2825
2743
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2826
2744
|
default:
|
|
2827
2745
|
const parsedBody = parsedOutput.body;
|
|
2828
|
-
throwDefaultError({
|
|
2746
|
+
return throwDefaultError({
|
|
2829
2747
|
output,
|
|
2830
2748
|
parsedBody,
|
|
2831
|
-
exceptionCtor: __BaseException,
|
|
2832
2749
|
errorCode,
|
|
2833
2750
|
});
|
|
2834
2751
|
}
|
|
2835
2752
|
};
|
|
2836
|
-
const
|
|
2753
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
2837
2754
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2838
2755
|
const contents = map({});
|
|
2839
2756
|
const data = parsedOutput.body;
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
}
|
|
2757
|
+
const doc = take(data, {
|
|
2758
|
+
message: __expectString,
|
|
2759
|
+
});
|
|
2760
|
+
Object.assign(contents, doc);
|
|
2843
2761
|
const exception = new AccessDeniedException({
|
|
2844
2762
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2845
2763
|
...contents,
|
|
@@ -2849,15 +2767,12 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
2849
2767
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2850
2768
|
const contents = map({});
|
|
2851
2769
|
const data = parsedOutput.body;
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
if (data.resourceType != null) {
|
|
2859
|
-
contents.resourceType = __expectString(data.resourceType);
|
|
2860
|
-
}
|
|
2770
|
+
const doc = take(data, {
|
|
2771
|
+
message: __expectString,
|
|
2772
|
+
resourceId: __expectString,
|
|
2773
|
+
resourceType: __expectString,
|
|
2774
|
+
});
|
|
2775
|
+
Object.assign(contents, doc);
|
|
2861
2776
|
const exception = new ConflictException({
|
|
2862
2777
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2863
2778
|
...contents,
|
|
@@ -2867,9 +2782,10 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
2867
2782
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2868
2783
|
const contents = map({});
|
|
2869
2784
|
const data = parsedOutput.body;
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
}
|
|
2785
|
+
const doc = take(data, {
|
|
2786
|
+
message: __expectString,
|
|
2787
|
+
});
|
|
2788
|
+
Object.assign(contents, doc);
|
|
2873
2789
|
const exception = new InternalServerException({
|
|
2874
2790
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2875
2791
|
...contents,
|
|
@@ -2879,15 +2795,12 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
2879
2795
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2880
2796
|
const contents = map({});
|
|
2881
2797
|
const data = parsedOutput.body;
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
if (data.resourceType != null) {
|
|
2889
|
-
contents.resourceType = __expectString(data.resourceType);
|
|
2890
|
-
}
|
|
2798
|
+
const doc = take(data, {
|
|
2799
|
+
message: __expectString,
|
|
2800
|
+
resourceId: __expectString,
|
|
2801
|
+
resourceType: __expectString,
|
|
2802
|
+
});
|
|
2803
|
+
Object.assign(contents, doc);
|
|
2891
2804
|
const exception = new ResourceNotFoundException({
|
|
2892
2805
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2893
2806
|
...contents,
|
|
@@ -2897,15 +2810,12 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2897
2810
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
2898
2811
|
const contents = map({});
|
|
2899
2812
|
const data = parsedOutput.body;
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
if (data.resourceType != null) {
|
|
2907
|
-
contents.resourceType = __expectString(data.resourceType);
|
|
2908
|
-
}
|
|
2813
|
+
const doc = take(data, {
|
|
2814
|
+
message: __expectString,
|
|
2815
|
+
resourceId: __expectString,
|
|
2816
|
+
resourceType: __expectString,
|
|
2817
|
+
});
|
|
2818
|
+
Object.assign(contents, doc);
|
|
2909
2819
|
const exception = new ServiceQuotaExceededException({
|
|
2910
2820
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2911
2821
|
...contents,
|
|
@@ -2920,9 +2830,10 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
2920
2830
|
],
|
|
2921
2831
|
});
|
|
2922
2832
|
const data = parsedOutput.body;
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
}
|
|
2833
|
+
const doc = take(data, {
|
|
2834
|
+
message: __expectString,
|
|
2835
|
+
});
|
|
2836
|
+
Object.assign(contents, doc);
|
|
2926
2837
|
const exception = new ThrottlingException({
|
|
2927
2838
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2928
2839
|
...contents,
|
|
@@ -2932,394 +2843,97 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
2932
2843
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2933
2844
|
const contents = map({});
|
|
2934
2845
|
const data = parsedOutput.body;
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
}
|
|
2846
|
+
const doc = take(data, {
|
|
2847
|
+
message: __expectString,
|
|
2848
|
+
reason: __expectString,
|
|
2849
|
+
});
|
|
2850
|
+
Object.assign(contents, doc);
|
|
2941
2851
|
const exception = new ValidationException({
|
|
2942
2852
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2943
2853
|
...contents,
|
|
2944
2854
|
});
|
|
2945
2855
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2946
2856
|
};
|
|
2947
|
-
const se_PackageOriginRestrictions = (input, context) => {
|
|
2948
|
-
return {
|
|
2949
|
-
...(input.publish != null && { publish: input.publish }),
|
|
2950
|
-
...(input.upstream != null && { upstream: input.upstream }),
|
|
2951
|
-
};
|
|
2952
|
-
};
|
|
2953
|
-
const se_PackageVersionList = (input, context) => {
|
|
2954
|
-
return input
|
|
2955
|
-
.filter((e) => e != null)
|
|
2956
|
-
.map((entry) => {
|
|
2957
|
-
return entry;
|
|
2958
|
-
});
|
|
2959
|
-
};
|
|
2960
|
-
const se_PackageVersionRevisionMap = (input, context) => {
|
|
2961
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2962
|
-
if (value === null) {
|
|
2963
|
-
return acc;
|
|
2964
|
-
}
|
|
2965
|
-
acc[key] = value;
|
|
2966
|
-
return acc;
|
|
2967
|
-
}, {});
|
|
2968
|
-
};
|
|
2969
|
-
const se_Tag = (input, context) => {
|
|
2970
|
-
return {
|
|
2971
|
-
...(input.key != null && { key: input.key }),
|
|
2972
|
-
...(input.value != null && { value: input.value }),
|
|
2973
|
-
};
|
|
2974
|
-
};
|
|
2975
|
-
const se_TagKeyList = (input, context) => {
|
|
2976
|
-
return input
|
|
2977
|
-
.filter((e) => e != null)
|
|
2978
|
-
.map((entry) => {
|
|
2979
|
-
return entry;
|
|
2980
|
-
});
|
|
2981
|
-
};
|
|
2982
|
-
const se_TagList = (input, context) => {
|
|
2983
|
-
return input
|
|
2984
|
-
.filter((e) => e != null)
|
|
2985
|
-
.map((entry) => {
|
|
2986
|
-
return se_Tag(entry, context);
|
|
2987
|
-
});
|
|
2988
|
-
};
|
|
2989
|
-
const se_UpstreamRepository = (input, context) => {
|
|
2990
|
-
return {
|
|
2991
|
-
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
2992
|
-
};
|
|
2993
|
-
};
|
|
2994
|
-
const se_UpstreamRepositoryList = (input, context) => {
|
|
2995
|
-
return input
|
|
2996
|
-
.filter((e) => e != null)
|
|
2997
|
-
.map((entry) => {
|
|
2998
|
-
return se_UpstreamRepository(entry, context);
|
|
2999
|
-
});
|
|
3000
|
-
};
|
|
3001
|
-
const de_AssetHashes = (output, context) => {
|
|
3002
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3003
|
-
if (value === null) {
|
|
3004
|
-
return acc;
|
|
3005
|
-
}
|
|
3006
|
-
acc[key] = __expectString(value);
|
|
3007
|
-
return acc;
|
|
3008
|
-
}, {});
|
|
3009
|
-
};
|
|
3010
|
-
const de_AssetSummary = (output, context) => {
|
|
3011
|
-
return {
|
|
3012
|
-
hashes: output.hashes != null ? de_AssetHashes(output.hashes, context) : undefined,
|
|
3013
|
-
name: __expectString(output.name),
|
|
3014
|
-
size: __expectLong(output.size),
|
|
3015
|
-
};
|
|
3016
|
-
};
|
|
3017
|
-
const de_AssetSummaryList = (output, context) => {
|
|
3018
|
-
const retVal = (output || [])
|
|
3019
|
-
.filter((e) => e != null)
|
|
3020
|
-
.map((entry) => {
|
|
3021
|
-
if (entry === null) {
|
|
3022
|
-
return null;
|
|
3023
|
-
}
|
|
3024
|
-
return de_AssetSummary(entry, context);
|
|
3025
|
-
});
|
|
3026
|
-
return retVal;
|
|
3027
|
-
};
|
|
3028
2857
|
const de_DomainDescription = (output, context) => {
|
|
3029
|
-
return {
|
|
3030
|
-
arn: __expectString
|
|
3031
|
-
assetSizeBytes: __expectLong
|
|
3032
|
-
createdTime:
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
status: __expectString(output.status),
|
|
3041
|
-
};
|
|
3042
|
-
};
|
|
3043
|
-
const de_DomainEntryPoint = (output, context) => {
|
|
3044
|
-
return {
|
|
3045
|
-
externalConnectionName: __expectString(output.externalConnectionName),
|
|
3046
|
-
repositoryName: __expectString(output.repositoryName),
|
|
3047
|
-
};
|
|
2858
|
+
return take(output, {
|
|
2859
|
+
arn: __expectString,
|
|
2860
|
+
assetSizeBytes: __expectLong,
|
|
2861
|
+
createdTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2862
|
+
encryptionKey: __expectString,
|
|
2863
|
+
name: __expectString,
|
|
2864
|
+
owner: __expectString,
|
|
2865
|
+
repositoryCount: __expectInt32,
|
|
2866
|
+
s3BucketArn: __expectString,
|
|
2867
|
+
status: __expectString,
|
|
2868
|
+
});
|
|
3048
2869
|
};
|
|
3049
2870
|
const de_DomainSummary = (output, context) => {
|
|
3050
|
-
return {
|
|
3051
|
-
arn: __expectString
|
|
3052
|
-
createdTime:
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
status: __expectString(output.status),
|
|
3059
|
-
};
|
|
2871
|
+
return take(output, {
|
|
2872
|
+
arn: __expectString,
|
|
2873
|
+
createdTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2874
|
+
encryptionKey: __expectString,
|
|
2875
|
+
name: __expectString,
|
|
2876
|
+
owner: __expectString,
|
|
2877
|
+
status: __expectString,
|
|
2878
|
+
});
|
|
3060
2879
|
};
|
|
3061
2880
|
const de_DomainSummaryList = (output, context) => {
|
|
3062
2881
|
const retVal = (output || [])
|
|
3063
2882
|
.filter((e) => e != null)
|
|
3064
2883
|
.map((entry) => {
|
|
3065
|
-
if (entry === null) {
|
|
3066
|
-
return null;
|
|
3067
|
-
}
|
|
3068
2884
|
return de_DomainSummary(entry, context);
|
|
3069
2885
|
});
|
|
3070
2886
|
return retVal;
|
|
3071
2887
|
};
|
|
3072
|
-
const de_LicenseInfo = (output, context) => {
|
|
3073
|
-
return {
|
|
3074
|
-
name: __expectString(output.name),
|
|
3075
|
-
url: __expectString(output.url),
|
|
3076
|
-
};
|
|
3077
|
-
};
|
|
3078
|
-
const de_LicenseInfoList = (output, context) => {
|
|
3079
|
-
const retVal = (output || [])
|
|
3080
|
-
.filter((e) => e != null)
|
|
3081
|
-
.map((entry) => {
|
|
3082
|
-
if (entry === null) {
|
|
3083
|
-
return null;
|
|
3084
|
-
}
|
|
3085
|
-
return de_LicenseInfo(entry, context);
|
|
3086
|
-
});
|
|
3087
|
-
return retVal;
|
|
3088
|
-
};
|
|
3089
|
-
const de_PackageDependency = (output, context) => {
|
|
3090
|
-
return {
|
|
3091
|
-
dependencyType: __expectString(output.dependencyType),
|
|
3092
|
-
namespace: __expectString(output.namespace),
|
|
3093
|
-
package: __expectString(output.package),
|
|
3094
|
-
versionRequirement: __expectString(output.versionRequirement),
|
|
3095
|
-
};
|
|
3096
|
-
};
|
|
3097
|
-
const de_PackageDependencyList = (output, context) => {
|
|
3098
|
-
const retVal = (output || [])
|
|
3099
|
-
.filter((e) => e != null)
|
|
3100
|
-
.map((entry) => {
|
|
3101
|
-
if (entry === null) {
|
|
3102
|
-
return null;
|
|
3103
|
-
}
|
|
3104
|
-
return de_PackageDependency(entry, context);
|
|
3105
|
-
});
|
|
3106
|
-
return retVal;
|
|
3107
|
-
};
|
|
3108
|
-
const de_PackageDescription = (output, context) => {
|
|
3109
|
-
return {
|
|
3110
|
-
format: __expectString(output.format),
|
|
3111
|
-
name: __expectString(output.name),
|
|
3112
|
-
namespace: __expectString(output.namespace),
|
|
3113
|
-
originConfiguration: output.originConfiguration != null
|
|
3114
|
-
? de_PackageOriginConfiguration(output.originConfiguration, context)
|
|
3115
|
-
: undefined,
|
|
3116
|
-
};
|
|
3117
|
-
};
|
|
3118
|
-
const de_PackageOriginConfiguration = (output, context) => {
|
|
3119
|
-
return {
|
|
3120
|
-
restrictions: output.restrictions != null ? de_PackageOriginRestrictions(output.restrictions, context) : undefined,
|
|
3121
|
-
};
|
|
3122
|
-
};
|
|
3123
|
-
const de_PackageOriginRestrictions = (output, context) => {
|
|
3124
|
-
return {
|
|
3125
|
-
publish: __expectString(output.publish),
|
|
3126
|
-
upstream: __expectString(output.upstream),
|
|
3127
|
-
};
|
|
3128
|
-
};
|
|
3129
|
-
const de_PackageSummary = (output, context) => {
|
|
3130
|
-
return {
|
|
3131
|
-
format: __expectString(output.format),
|
|
3132
|
-
namespace: __expectString(output.namespace),
|
|
3133
|
-
originConfiguration: output.originConfiguration != null
|
|
3134
|
-
? de_PackageOriginConfiguration(output.originConfiguration, context)
|
|
3135
|
-
: undefined,
|
|
3136
|
-
package: __expectString(output.package),
|
|
3137
|
-
};
|
|
3138
|
-
};
|
|
3139
|
-
const de_PackageSummaryList = (output, context) => {
|
|
3140
|
-
const retVal = (output || [])
|
|
3141
|
-
.filter((e) => e != null)
|
|
3142
|
-
.map((entry) => {
|
|
3143
|
-
if (entry === null) {
|
|
3144
|
-
return null;
|
|
3145
|
-
}
|
|
3146
|
-
return de_PackageSummary(entry, context);
|
|
3147
|
-
});
|
|
3148
|
-
return retVal;
|
|
3149
|
-
};
|
|
3150
2888
|
const de_PackageVersionDescription = (output, context) => {
|
|
3151
|
-
return {
|
|
3152
|
-
displayName: __expectString
|
|
3153
|
-
format: __expectString
|
|
3154
|
-
homePage: __expectString
|
|
3155
|
-
licenses:
|
|
3156
|
-
namespace: __expectString
|
|
3157
|
-
origin:
|
|
3158
|
-
packageName: __expectString
|
|
3159
|
-
publishedTime:
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
summary: __expectString(output.summary),
|
|
3166
|
-
version: __expectString(output.version),
|
|
3167
|
-
};
|
|
3168
|
-
};
|
|
3169
|
-
const de_PackageVersionError = (output, context) => {
|
|
3170
|
-
return {
|
|
3171
|
-
errorCode: __expectString(output.errorCode),
|
|
3172
|
-
errorMessage: __expectString(output.errorMessage),
|
|
3173
|
-
};
|
|
3174
|
-
};
|
|
3175
|
-
const de_PackageVersionErrorMap = (output, context) => {
|
|
3176
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3177
|
-
if (value === null) {
|
|
3178
|
-
return acc;
|
|
3179
|
-
}
|
|
3180
|
-
acc[key] = de_PackageVersionError(value, context);
|
|
3181
|
-
return acc;
|
|
3182
|
-
}, {});
|
|
3183
|
-
};
|
|
3184
|
-
const de_PackageVersionOrigin = (output, context) => {
|
|
3185
|
-
return {
|
|
3186
|
-
domainEntryPoint: output.domainEntryPoint != null ? de_DomainEntryPoint(output.domainEntryPoint, context) : undefined,
|
|
3187
|
-
originType: __expectString(output.originType),
|
|
3188
|
-
};
|
|
3189
|
-
};
|
|
3190
|
-
const de_PackageVersionSummary = (output, context) => {
|
|
3191
|
-
return {
|
|
3192
|
-
origin: output.origin != null ? de_PackageVersionOrigin(output.origin, context) : undefined,
|
|
3193
|
-
revision: __expectString(output.revision),
|
|
3194
|
-
status: __expectString(output.status),
|
|
3195
|
-
version: __expectString(output.version),
|
|
3196
|
-
};
|
|
3197
|
-
};
|
|
3198
|
-
const de_PackageVersionSummaryList = (output, context) => {
|
|
3199
|
-
const retVal = (output || [])
|
|
3200
|
-
.filter((e) => e != null)
|
|
3201
|
-
.map((entry) => {
|
|
3202
|
-
if (entry === null) {
|
|
3203
|
-
return null;
|
|
3204
|
-
}
|
|
3205
|
-
return de_PackageVersionSummary(entry, context);
|
|
2889
|
+
return take(output, {
|
|
2890
|
+
displayName: __expectString,
|
|
2891
|
+
format: __expectString,
|
|
2892
|
+
homePage: __expectString,
|
|
2893
|
+
licenses: _json,
|
|
2894
|
+
namespace: __expectString,
|
|
2895
|
+
origin: _json,
|
|
2896
|
+
packageName: __expectString,
|
|
2897
|
+
publishedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2898
|
+
revision: __expectString,
|
|
2899
|
+
sourceCodeRepository: __expectString,
|
|
2900
|
+
status: __expectString,
|
|
2901
|
+
summary: __expectString,
|
|
2902
|
+
version: __expectString,
|
|
3206
2903
|
});
|
|
3207
|
-
return retVal;
|
|
3208
2904
|
};
|
|
3209
2905
|
const de_RepositoryDescription = (output, context) => {
|
|
3210
|
-
return {
|
|
3211
|
-
administratorAccount: __expectString
|
|
3212
|
-
arn: __expectString
|
|
3213
|
-
createdTime:
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
? de_RepositoryExternalConnectionInfoList(output.externalConnections, context)
|
|
3221
|
-
: undefined,
|
|
3222
|
-
name: __expectString(output.name),
|
|
3223
|
-
upstreams: output.upstreams != null ? de_UpstreamRepositoryInfoList(output.upstreams, context) : undefined,
|
|
3224
|
-
};
|
|
3225
|
-
};
|
|
3226
|
-
const de_RepositoryExternalConnectionInfo = (output, context) => {
|
|
3227
|
-
return {
|
|
3228
|
-
externalConnectionName: __expectString(output.externalConnectionName),
|
|
3229
|
-
packageFormat: __expectString(output.packageFormat),
|
|
3230
|
-
status: __expectString(output.status),
|
|
3231
|
-
};
|
|
3232
|
-
};
|
|
3233
|
-
const de_RepositoryExternalConnectionInfoList = (output, context) => {
|
|
3234
|
-
const retVal = (output || [])
|
|
3235
|
-
.filter((e) => e != null)
|
|
3236
|
-
.map((entry) => {
|
|
3237
|
-
if (entry === null) {
|
|
3238
|
-
return null;
|
|
3239
|
-
}
|
|
3240
|
-
return de_RepositoryExternalConnectionInfo(entry, context);
|
|
2906
|
+
return take(output, {
|
|
2907
|
+
administratorAccount: __expectString,
|
|
2908
|
+
arn: __expectString,
|
|
2909
|
+
createdTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2910
|
+
description: __expectString,
|
|
2911
|
+
domainName: __expectString,
|
|
2912
|
+
domainOwner: __expectString,
|
|
2913
|
+
externalConnections: _json,
|
|
2914
|
+
name: __expectString,
|
|
2915
|
+
upstreams: _json,
|
|
3241
2916
|
});
|
|
3242
|
-
return retVal;
|
|
3243
2917
|
};
|
|
3244
2918
|
const de_RepositorySummary = (output, context) => {
|
|
3245
|
-
return {
|
|
3246
|
-
administratorAccount: __expectString
|
|
3247
|
-
arn: __expectString
|
|
3248
|
-
createdTime:
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
name: __expectString(output.name),
|
|
3255
|
-
};
|
|
2919
|
+
return take(output, {
|
|
2920
|
+
administratorAccount: __expectString,
|
|
2921
|
+
arn: __expectString,
|
|
2922
|
+
createdTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2923
|
+
description: __expectString,
|
|
2924
|
+
domainName: __expectString,
|
|
2925
|
+
domainOwner: __expectString,
|
|
2926
|
+
name: __expectString,
|
|
2927
|
+
});
|
|
3256
2928
|
};
|
|
3257
2929
|
const de_RepositorySummaryList = (output, context) => {
|
|
3258
2930
|
const retVal = (output || [])
|
|
3259
2931
|
.filter((e) => e != null)
|
|
3260
2932
|
.map((entry) => {
|
|
3261
|
-
if (entry === null) {
|
|
3262
|
-
return null;
|
|
3263
|
-
}
|
|
3264
2933
|
return de_RepositorySummary(entry, context);
|
|
3265
2934
|
});
|
|
3266
2935
|
return retVal;
|
|
3267
2936
|
};
|
|
3268
|
-
const de_ResourcePolicy = (output, context) => {
|
|
3269
|
-
return {
|
|
3270
|
-
document: __expectString(output.document),
|
|
3271
|
-
resourceArn: __expectString(output.resourceArn),
|
|
3272
|
-
revision: __expectString(output.revision),
|
|
3273
|
-
};
|
|
3274
|
-
};
|
|
3275
|
-
const de_SuccessfulPackageVersionInfo = (output, context) => {
|
|
3276
|
-
return {
|
|
3277
|
-
revision: __expectString(output.revision),
|
|
3278
|
-
status: __expectString(output.status),
|
|
3279
|
-
};
|
|
3280
|
-
};
|
|
3281
|
-
const de_SuccessfulPackageVersionInfoMap = (output, context) => {
|
|
3282
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3283
|
-
if (value === null) {
|
|
3284
|
-
return acc;
|
|
3285
|
-
}
|
|
3286
|
-
acc[key] = de_SuccessfulPackageVersionInfo(value, context);
|
|
3287
|
-
return acc;
|
|
3288
|
-
}, {});
|
|
3289
|
-
};
|
|
3290
|
-
const de_Tag = (output, context) => {
|
|
3291
|
-
return {
|
|
3292
|
-
key: __expectString(output.key),
|
|
3293
|
-
value: __expectString(output.value),
|
|
3294
|
-
};
|
|
3295
|
-
};
|
|
3296
|
-
const de_TagList = (output, context) => {
|
|
3297
|
-
const retVal = (output || [])
|
|
3298
|
-
.filter((e) => e != null)
|
|
3299
|
-
.map((entry) => {
|
|
3300
|
-
if (entry === null) {
|
|
3301
|
-
return null;
|
|
3302
|
-
}
|
|
3303
|
-
return de_Tag(entry, context);
|
|
3304
|
-
});
|
|
3305
|
-
return retVal;
|
|
3306
|
-
};
|
|
3307
|
-
const de_UpstreamRepositoryInfo = (output, context) => {
|
|
3308
|
-
return {
|
|
3309
|
-
repositoryName: __expectString(output.repositoryName),
|
|
3310
|
-
};
|
|
3311
|
-
};
|
|
3312
|
-
const de_UpstreamRepositoryInfoList = (output, context) => {
|
|
3313
|
-
const retVal = (output || [])
|
|
3314
|
-
.filter((e) => e != null)
|
|
3315
|
-
.map((entry) => {
|
|
3316
|
-
if (entry === null) {
|
|
3317
|
-
return null;
|
|
3318
|
-
}
|
|
3319
|
-
return de_UpstreamRepositoryInfo(entry, context);
|
|
3320
|
-
});
|
|
3321
|
-
return retVal;
|
|
3322
|
-
};
|
|
3323
2937
|
const deserializeMetadata = (output) => ({
|
|
3324
2938
|
httpStatusCode: output.statusCode,
|
|
3325
2939
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|