@aws-sdk/client-serverlessapplicationrepository 3.28.0 → 3.32.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.
@@ -56,8 +56,7 @@ var partitionHash = {
56
56
  };
57
57
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
58
58
  return __generator(this, function (_a) {
59
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "serverlessrepo", regionHash: regionHash,
60
- partitionHash: partitionHash }))];
59
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "serverlessrepo", regionHash: regionHash, partitionHash: partitionHash }))];
61
60
  });
62
61
  }); };
63
62
  //# sourceMappingURL=endpoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,eAAe,EAAE;QACf,QAAQ,EAAE,4CAA4C;QACtD,aAAa,EAAE,eAAe;KAC/B;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,4CAA4C;QACtD,aAAa,EAAE,eAAe;KAC/B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,uCAAuC;KAClD;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,0CAA0C;KACrD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,oCAAoC;KAC/C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,uCAAuC;KAClD;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,uCAAuC;KAClD;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,gBAAgB,EAChC,UAAU,YAAA;gBACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,eAAe,EAAE;QACf,QAAQ,EAAE,4CAA4C;QACtD,aAAa,EAAE,eAAe;KAC/B;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,4CAA4C;QACtD,aAAa,EAAE,eAAe;KAC/B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,uCAAuC;KAClD;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,0CAA0C;KACrD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,oCAAoC;KAC/C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,uCAAuC;KAClD;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,uCAAuC;KAClD;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,gBAAgB,EAChC,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-serverlessapplicationrepository",
3
3
  "description": "AWS SDK for JavaScript Serverlessapplicationrepository Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,45 +27,45 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
58
  "tslib": "^2.3.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.23.0",
61
+ "@aws-sdk/client-documentation-generator": "3.32.0",
62
62
  "@types/node": "^12.7.5",
63
63
  "downlevel-dts": "0.7.0",
64
64
  "jest": "^26.1.0",
65
65
  "rimraf": "^3.0.0",
66
66
  "ts-jest": "^26.4.1",
67
67
  "typedoc": "^0.19.2",
68
- "typescript": "~4.3.2"
68
+ "typescript": "~4.3.5"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=10.0.0"
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectBoolean as __expectBoolean, expectInt as __expectInt, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, } from "@aws-sdk/smithy-client";
3
+ import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, } from "@aws-sdk/smithy-client";
4
4
  export var serializeAws_restJson1CreateApplicationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
5
5
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
6
6
  return __generator(this, function (_c) {
@@ -495,9 +495,9 @@ export var serializeAws_restJson1UpdateApplicationCommand = function (input, con
495
495
  });
496
496
  }); };
497
497
  export var deserializeAws_restJson1CreateApplicationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
498
- var contents, data;
499
- return __generator(this, function (_a) {
500
- switch (_a.label) {
498
+ var contents, data, _a, _b;
499
+ return __generator(this, function (_c) {
500
+ switch (_c.label) {
501
501
  case 0:
502
502
  if (output.statusCode !== 201 && output.statusCode >= 300) {
503
503
  return [2 /*return*/, deserializeAws_restJson1CreateApplicationCommandError(output, context)];
@@ -518,9 +518,11 @@ export var deserializeAws_restJson1CreateApplicationCommand = function (output,
518
518
  VerifiedAuthorUrl: undefined,
519
519
  Version: undefined,
520
520
  };
521
+ _a = __expectNonNull;
522
+ _b = __expectObject;
521
523
  return [4 /*yield*/, parseBody(output.body, context)];
522
524
  case 1:
523
- data = _a.sent();
525
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
524
526
  if (data.applicationId !== undefined && data.applicationId !== null) {
525
527
  contents.ApplicationId = __expectString(data.applicationId);
526
528
  }
@@ -635,9 +637,9 @@ var deserializeAws_restJson1CreateApplicationCommandError = function (output, co
635
637
  });
636
638
  }); };
637
639
  export var deserializeAws_restJson1CreateApplicationVersionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
638
- var contents, data;
639
- return __generator(this, function (_a) {
640
- switch (_a.label) {
640
+ var contents, data, _a, _b;
641
+ return __generator(this, function (_c) {
642
+ switch (_c.label) {
641
643
  case 0:
642
644
  if (output.statusCode !== 201 && output.statusCode >= 300) {
643
645
  return [2 /*return*/, deserializeAws_restJson1CreateApplicationVersionCommandError(output, context)];
@@ -654,9 +656,11 @@ export var deserializeAws_restJson1CreateApplicationVersionCommand = function (o
654
656
  SourceCodeUrl: undefined,
655
657
  TemplateUrl: undefined,
656
658
  };
659
+ _a = __expectNonNull;
660
+ _b = __expectObject;
657
661
  return [4 /*yield*/, parseBody(output.body, context)];
658
662
  case 1:
659
- data = _a.sent();
663
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
660
664
  if (data.applicationId !== undefined && data.applicationId !== null) {
661
665
  contents.ApplicationId = __expectString(data.applicationId);
662
666
  }
@@ -759,9 +763,9 @@ var deserializeAws_restJson1CreateApplicationVersionCommandError = function (out
759
763
  });
760
764
  }); };
761
765
  export var deserializeAws_restJson1CreateCloudFormationChangeSetCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
762
- var contents, data;
763
- return __generator(this, function (_a) {
764
- switch (_a.label) {
766
+ var contents, data, _a, _b;
767
+ return __generator(this, function (_c) {
768
+ switch (_c.label) {
765
769
  case 0:
766
770
  if (output.statusCode !== 201 && output.statusCode >= 300) {
767
771
  return [2 /*return*/, deserializeAws_restJson1CreateCloudFormationChangeSetCommandError(output, context)];
@@ -773,9 +777,11 @@ export var deserializeAws_restJson1CreateCloudFormationChangeSetCommand = functi
773
777
  SemanticVersion: undefined,
774
778
  StackId: undefined,
775
779
  };
780
+ _a = __expectNonNull;
781
+ _b = __expectObject;
776
782
  return [4 /*yield*/, parseBody(output.body, context)];
777
783
  case 1:
778
- data = _a.sent();
784
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
779
785
  if (data.applicationId !== undefined && data.applicationId !== null) {
780
786
  contents.ApplicationId = __expectString(data.applicationId);
781
787
  }
@@ -855,9 +861,9 @@ var deserializeAws_restJson1CreateCloudFormationChangeSetCommandError = function
855
861
  });
856
862
  }); };
857
863
  export var deserializeAws_restJson1CreateCloudFormationTemplateCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
858
- var contents, data;
859
- return __generator(this, function (_a) {
860
- switch (_a.label) {
864
+ var contents, data, _a, _b;
865
+ return __generator(this, function (_c) {
866
+ switch (_c.label) {
861
867
  case 0:
862
868
  if (output.statusCode !== 201 && output.statusCode >= 300) {
863
869
  return [2 /*return*/, deserializeAws_restJson1CreateCloudFormationTemplateCommandError(output, context)];
@@ -872,9 +878,11 @@ export var deserializeAws_restJson1CreateCloudFormationTemplateCommand = functio
872
878
  TemplateId: undefined,
873
879
  TemplateUrl: undefined,
874
880
  };
881
+ _a = __expectNonNull;
882
+ _b = __expectObject;
875
883
  return [4 /*yield*/, parseBody(output.body, context)];
876
884
  case 1:
877
- data = _a.sent();
885
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
878
886
  if (data.applicationId !== undefined && data.applicationId !== null) {
879
887
  contents.ApplicationId = __expectString(data.applicationId);
880
888
  }
@@ -1067,9 +1075,9 @@ var deserializeAws_restJson1DeleteApplicationCommandError = function (output, co
1067
1075
  });
1068
1076
  }); };
1069
1077
  export var deserializeAws_restJson1GetApplicationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1070
- var contents, data;
1071
- return __generator(this, function (_a) {
1072
- switch (_a.label) {
1078
+ var contents, data, _a, _b;
1079
+ return __generator(this, function (_c) {
1080
+ switch (_c.label) {
1073
1081
  case 0:
1074
1082
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1075
1083
  return [2 /*return*/, deserializeAws_restJson1GetApplicationCommandError(output, context)];
@@ -1090,9 +1098,11 @@ export var deserializeAws_restJson1GetApplicationCommand = function (output, con
1090
1098
  VerifiedAuthorUrl: undefined,
1091
1099
  Version: undefined,
1092
1100
  };
1101
+ _a = __expectNonNull;
1102
+ _b = __expectObject;
1093
1103
  return [4 /*yield*/, parseBody(output.body, context)];
1094
1104
  case 1:
1095
- data = _a.sent();
1105
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
1096
1106
  if (data.applicationId !== undefined && data.applicationId !== null) {
1097
1107
  contents.ApplicationId = __expectString(data.applicationId);
1098
1108
  }
@@ -1207,9 +1217,9 @@ var deserializeAws_restJson1GetApplicationCommandError = function (output, conte
1207
1217
  });
1208
1218
  }); };
1209
1219
  export var deserializeAws_restJson1GetApplicationPolicyCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1210
- var contents, data;
1211
- return __generator(this, function (_a) {
1212
- switch (_a.label) {
1220
+ var contents, data, _a, _b;
1221
+ return __generator(this, function (_c) {
1222
+ switch (_c.label) {
1213
1223
  case 0:
1214
1224
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1215
1225
  return [2 /*return*/, deserializeAws_restJson1GetApplicationPolicyCommandError(output, context)];
@@ -1218,9 +1228,11 @@ export var deserializeAws_restJson1GetApplicationPolicyCommand = function (outpu
1218
1228
  $metadata: deserializeMetadata(output),
1219
1229
  Statements: undefined,
1220
1230
  };
1231
+ _a = __expectNonNull;
1232
+ _b = __expectObject;
1221
1233
  return [4 /*yield*/, parseBody(output.body, context)];
1222
1234
  case 1:
1223
- data = _a.sent();
1235
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
1224
1236
  if (data.statements !== undefined && data.statements !== null) {
1225
1237
  contents.Statements = deserializeAws_restJson1__listOfApplicationPolicyStatement(data.statements, context);
1226
1238
  }
@@ -1299,9 +1311,9 @@ var deserializeAws_restJson1GetApplicationPolicyCommandError = function (output,
1299
1311
  });
1300
1312
  }); };
1301
1313
  export var deserializeAws_restJson1GetCloudFormationTemplateCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1302
- var contents, data;
1303
- return __generator(this, function (_a) {
1304
- switch (_a.label) {
1314
+ var contents, data, _a, _b;
1315
+ return __generator(this, function (_c) {
1316
+ switch (_c.label) {
1305
1317
  case 0:
1306
1318
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1307
1319
  return [2 /*return*/, deserializeAws_restJson1GetCloudFormationTemplateCommandError(output, context)];
@@ -1316,9 +1328,11 @@ export var deserializeAws_restJson1GetCloudFormationTemplateCommand = function (
1316
1328
  TemplateId: undefined,
1317
1329
  TemplateUrl: undefined,
1318
1330
  };
1331
+ _a = __expectNonNull;
1332
+ _b = __expectObject;
1319
1333
  return [4 /*yield*/, parseBody(output.body, context)];
1320
1334
  case 1:
1321
- data = _a.sent();
1335
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
1322
1336
  if (data.applicationId !== undefined && data.applicationId !== null) {
1323
1337
  contents.ApplicationId = __expectString(data.applicationId);
1324
1338
  }
@@ -1415,9 +1429,9 @@ var deserializeAws_restJson1GetCloudFormationTemplateCommandError = function (ou
1415
1429
  });
1416
1430
  }); };
1417
1431
  export var deserializeAws_restJson1ListApplicationDependenciesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1418
- var contents, data;
1419
- return __generator(this, function (_a) {
1420
- switch (_a.label) {
1432
+ var contents, data, _a, _b;
1433
+ return __generator(this, function (_c) {
1434
+ switch (_c.label) {
1421
1435
  case 0:
1422
1436
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1423
1437
  return [2 /*return*/, deserializeAws_restJson1ListApplicationDependenciesCommandError(output, context)];
@@ -1427,9 +1441,11 @@ export var deserializeAws_restJson1ListApplicationDependenciesCommand = function
1427
1441
  Dependencies: undefined,
1428
1442
  NextToken: undefined,
1429
1443
  };
1444
+ _a = __expectNonNull;
1445
+ _b = __expectObject;
1430
1446
  return [4 /*yield*/, parseBody(output.body, context)];
1431
1447
  case 1:
1432
- data = _a.sent();
1448
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
1433
1449
  if (data.dependencies !== undefined && data.dependencies !== null) {
1434
1450
  contents.Dependencies = deserializeAws_restJson1__listOfApplicationDependencySummary(data.dependencies, context);
1435
1451
  }
@@ -1511,9 +1527,9 @@ var deserializeAws_restJson1ListApplicationDependenciesCommandError = function (
1511
1527
  });
1512
1528
  }); };
1513
1529
  export var deserializeAws_restJson1ListApplicationsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1514
- var contents, data;
1515
- return __generator(this, function (_a) {
1516
- switch (_a.label) {
1530
+ var contents, data, _a, _b;
1531
+ return __generator(this, function (_c) {
1532
+ switch (_c.label) {
1517
1533
  case 0:
1518
1534
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1519
1535
  return [2 /*return*/, deserializeAws_restJson1ListApplicationsCommandError(output, context)];
@@ -1523,9 +1539,11 @@ export var deserializeAws_restJson1ListApplicationsCommand = function (output, c
1523
1539
  Applications: undefined,
1524
1540
  NextToken: undefined,
1525
1541
  };
1542
+ _a = __expectNonNull;
1543
+ _b = __expectObject;
1526
1544
  return [4 /*yield*/, parseBody(output.body, context)];
1527
1545
  case 1:
1528
- data = _a.sent();
1546
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
1529
1547
  if (data.applications !== undefined && data.applications !== null) {
1530
1548
  contents.Applications = deserializeAws_restJson1__listOfApplicationSummary(data.applications, context);
1531
1549
  }
@@ -1599,9 +1617,9 @@ var deserializeAws_restJson1ListApplicationsCommandError = function (output, con
1599
1617
  });
1600
1618
  }); };
1601
1619
  export var deserializeAws_restJson1ListApplicationVersionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1602
- var contents, data;
1603
- return __generator(this, function (_a) {
1604
- switch (_a.label) {
1620
+ var contents, data, _a, _b;
1621
+ return __generator(this, function (_c) {
1622
+ switch (_c.label) {
1605
1623
  case 0:
1606
1624
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1607
1625
  return [2 /*return*/, deserializeAws_restJson1ListApplicationVersionsCommandError(output, context)];
@@ -1611,9 +1629,11 @@ export var deserializeAws_restJson1ListApplicationVersionsCommand = function (ou
1611
1629
  NextToken: undefined,
1612
1630
  Versions: undefined,
1613
1631
  };
1632
+ _a = __expectNonNull;
1633
+ _b = __expectObject;
1614
1634
  return [4 /*yield*/, parseBody(output.body, context)];
1615
1635
  case 1:
1616
- data = _a.sent();
1636
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
1617
1637
  if (data.nextToken !== undefined && data.nextToken !== null) {
1618
1638
  contents.NextToken = __expectString(data.nextToken);
1619
1639
  }
@@ -1695,9 +1715,9 @@ var deserializeAws_restJson1ListApplicationVersionsCommandError = function (outp
1695
1715
  });
1696
1716
  }); };
1697
1717
  export var deserializeAws_restJson1PutApplicationPolicyCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1698
- var contents, data;
1699
- return __generator(this, function (_a) {
1700
- switch (_a.label) {
1718
+ var contents, data, _a, _b;
1719
+ return __generator(this, function (_c) {
1720
+ switch (_c.label) {
1701
1721
  case 0:
1702
1722
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1703
1723
  return [2 /*return*/, deserializeAws_restJson1PutApplicationPolicyCommandError(output, context)];
@@ -1706,9 +1726,11 @@ export var deserializeAws_restJson1PutApplicationPolicyCommand = function (outpu
1706
1726
  $metadata: deserializeMetadata(output),
1707
1727
  Statements: undefined,
1708
1728
  };
1729
+ _a = __expectNonNull;
1730
+ _b = __expectObject;
1709
1731
  return [4 /*yield*/, parseBody(output.body, context)];
1710
1732
  case 1:
1711
- data = _a.sent();
1733
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
1712
1734
  if (data.statements !== undefined && data.statements !== null) {
1713
1735
  contents.Statements = deserializeAws_restJson1__listOfApplicationPolicyStatement(data.statements, context);
1714
1736
  }
@@ -1875,9 +1897,9 @@ var deserializeAws_restJson1UnshareApplicationCommandError = function (output, c
1875
1897
  });
1876
1898
  }); };
1877
1899
  export var deserializeAws_restJson1UpdateApplicationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1878
- var contents, data;
1879
- return __generator(this, function (_a) {
1880
- switch (_a.label) {
1900
+ var contents, data, _a, _b;
1901
+ return __generator(this, function (_c) {
1902
+ switch (_c.label) {
1881
1903
  case 0:
1882
1904
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1883
1905
  return [2 /*return*/, deserializeAws_restJson1UpdateApplicationCommandError(output, context)];
@@ -1898,9 +1920,11 @@ export var deserializeAws_restJson1UpdateApplicationCommand = function (output,
1898
1920
  VerifiedAuthorUrl: undefined,
1899
1921
  Version: undefined,
1900
1922
  };
1923
+ _a = __expectNonNull;
1924
+ _b = __expectObject;
1901
1925
  return [4 /*yield*/, parseBody(output.body, context)];
1902
1926
  case 1:
1903
- data = _a.sent();
1927
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
1904
1928
  if (data.applicationId !== undefined && data.applicationId !== null) {
1905
1929
  contents.ApplicationId = __expectString(data.applicationId);
1906
1930
  }
@@ -2329,10 +2353,10 @@ var deserializeAws_restJson1ParameterDefinition = function (output, context) {
2329
2353
  ConstraintDescription: __expectString(output.constraintDescription),
2330
2354
  DefaultValue: __expectString(output.defaultValue),
2331
2355
  Description: __expectString(output.description),
2332
- MaxLength: __expectInt(output.maxLength),
2333
- MaxValue: __expectInt(output.maxValue),
2334
- MinLength: __expectInt(output.minLength),
2335
- MinValue: __expectInt(output.minValue),
2356
+ MaxLength: __expectInt32(output.maxLength),
2357
+ MaxValue: __expectInt32(output.maxValue),
2358
+ MinLength: __expectInt32(output.minLength),
2359
+ MinValue: __expectInt32(output.minValue),
2336
2360
  Name: __expectString(output.name),
2337
2361
  NoEcho: __expectBoolean(output.noEcho),
2338
2362
  ReferencedByResources: output.referencedByResources !== undefined && output.referencedByResources !== null