@aws-sdk/client-codeartifact 3.54.1 → 3.55.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/CodeartifactClient.js +13 -13
  3. package/dist-cjs/commands/AssociateExternalConnectionCommand.js +3 -3
  4. package/dist-cjs/commands/CopyPackageVersionsCommand.js +3 -3
  5. package/dist-cjs/commands/CreateDomainCommand.js +3 -3
  6. package/dist-cjs/commands/CreateRepositoryCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteDomainCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js +3 -3
  9. package/dist-cjs/commands/DeletePackageVersionsCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteRepositoryCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeDomainCommand.js +3 -3
  13. package/dist-cjs/commands/DescribePackageVersionCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeRepositoryCommand.js +3 -3
  15. package/dist-cjs/commands/DisassociateExternalConnectionCommand.js +3 -3
  16. package/dist-cjs/commands/DisposePackageVersionsCommand.js +3 -3
  17. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +3 -3
  18. package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js +3 -3
  19. package/dist-cjs/commands/GetPackageVersionAssetCommand.js +3 -3
  20. package/dist-cjs/commands/GetPackageVersionReadmeCommand.js +3 -3
  21. package/dist-cjs/commands/GetRepositoryEndpointCommand.js +3 -3
  22. package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js +3 -3
  23. package/dist-cjs/commands/ListDomainsCommand.js +3 -3
  24. package/dist-cjs/commands/ListPackageVersionAssetsCommand.js +3 -3
  25. package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js +3 -3
  26. package/dist-cjs/commands/ListPackageVersionsCommand.js +3 -3
  27. package/dist-cjs/commands/ListPackagesCommand.js +3 -3
  28. package/dist-cjs/commands/ListRepositoriesCommand.js +3 -3
  29. package/dist-cjs/commands/ListRepositoriesInDomainCommand.js +3 -3
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  31. package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js +3 -3
  32. package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js +3 -3
  33. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  34. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  35. package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js +3 -3
  36. package/dist-cjs/commands/UpdateRepositoryCommand.js +3 -3
  37. package/dist-cjs/endpoints.js +1 -1
  38. package/dist-cjs/protocols/Aws_restJson1.js +183 -183
  39. package/dist-cjs/runtimeConfig.browser.js +4 -4
  40. package/dist-cjs/runtimeConfig.js +9 -9
  41. package/dist-cjs/runtimeConfig.native.js +1 -1
  42. package/dist-es/Codeartifact.js +34 -34
  43. package/dist-es/pagination/ListDomainsPaginator.js +4 -4
  44. package/dist-es/pagination/ListPackageVersionAssetsPaginator.js +4 -4
  45. package/dist-es/pagination/ListPackageVersionsPaginator.js +4 -4
  46. package/dist-es/pagination/ListPackagesPaginator.js +4 -4
  47. package/dist-es/pagination/ListRepositoriesInDomainPaginator.js +4 -4
  48. package/dist-es/pagination/ListRepositoriesPaginator.js +4 -4
  49. package/dist-es/protocols/Aws_restJson1.js +34 -34
  50. package/dist-types/runtimeConfig.native.d.ts +2 -2
  51. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  52. package/package.json +34 -34
@@ -906,7 +906,7 @@ const deserializeAws_restJson1AssociateExternalConnectionCommand = async (output
906
906
  $metadata: deserializeMetadata(output),
907
907
  repository: undefined,
908
908
  };
909
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
909
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
910
910
  if (data.repository !== undefined && data.repository !== null) {
911
911
  contents.repository = deserializeAws_restJson1RepositoryDescription(data.repository, context);
912
912
  }
@@ -950,7 +950,7 @@ const deserializeAws_restJson1AssociateExternalConnectionCommandError = async (o
950
950
  $fault: "client",
951
951
  $metadata: deserializeMetadata(output),
952
952
  });
953
- throw smithy_client_1.decorateServiceException(response, parsedBody);
953
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
954
954
  }
955
955
  };
956
956
  const deserializeAws_restJson1CopyPackageVersionsCommand = async (output, context) => {
@@ -962,7 +962,7 @@ const deserializeAws_restJson1CopyPackageVersionsCommand = async (output, contex
962
962
  failedVersions: undefined,
963
963
  successfulVersions: undefined,
964
964
  };
965
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
965
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
966
966
  if (data.failedVersions !== undefined && data.failedVersions !== null) {
967
967
  contents.failedVersions = deserializeAws_restJson1PackageVersionErrorMap(data.failedVersions, context);
968
968
  }
@@ -1009,7 +1009,7 @@ const deserializeAws_restJson1CopyPackageVersionsCommandError = async (output, c
1009
1009
  $fault: "client",
1010
1010
  $metadata: deserializeMetadata(output),
1011
1011
  });
1012
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1012
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1013
1013
  }
1014
1014
  };
1015
1015
  const deserializeAws_restJson1CreateDomainCommand = async (output, context) => {
@@ -1020,7 +1020,7 @@ const deserializeAws_restJson1CreateDomainCommand = async (output, context) => {
1020
1020
  $metadata: deserializeMetadata(output),
1021
1021
  domain: undefined,
1022
1022
  };
1023
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1023
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1024
1024
  if (data.domain !== undefined && data.domain !== null) {
1025
1025
  contents.domain = deserializeAws_restJson1DomainDescription(data.domain, context);
1026
1026
  }
@@ -1064,7 +1064,7 @@ const deserializeAws_restJson1CreateDomainCommandError = async (output, context)
1064
1064
  $fault: "client",
1065
1065
  $metadata: deserializeMetadata(output),
1066
1066
  });
1067
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1067
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1068
1068
  }
1069
1069
  };
1070
1070
  const deserializeAws_restJson1CreateRepositoryCommand = async (output, context) => {
@@ -1075,7 +1075,7 @@ const deserializeAws_restJson1CreateRepositoryCommand = async (output, context)
1075
1075
  $metadata: deserializeMetadata(output),
1076
1076
  repository: undefined,
1077
1077
  };
1078
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1078
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1079
1079
  if (data.repository !== undefined && data.repository !== null) {
1080
1080
  contents.repository = deserializeAws_restJson1RepositoryDescription(data.repository, context);
1081
1081
  }
@@ -1119,7 +1119,7 @@ const deserializeAws_restJson1CreateRepositoryCommandError = async (output, cont
1119
1119
  $fault: "client",
1120
1120
  $metadata: deserializeMetadata(output),
1121
1121
  });
1122
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1122
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1123
1123
  }
1124
1124
  };
1125
1125
  const deserializeAws_restJson1DeleteDomainCommand = async (output, context) => {
@@ -1130,7 +1130,7 @@ const deserializeAws_restJson1DeleteDomainCommand = async (output, context) => {
1130
1130
  $metadata: deserializeMetadata(output),
1131
1131
  domain: undefined,
1132
1132
  };
1133
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1133
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1134
1134
  if (data.domain !== undefined && data.domain !== null) {
1135
1135
  contents.domain = deserializeAws_restJson1DomainDescription(data.domain, context);
1136
1136
  }
@@ -1168,7 +1168,7 @@ const deserializeAws_restJson1DeleteDomainCommandError = async (output, context)
1168
1168
  $fault: "client",
1169
1169
  $metadata: deserializeMetadata(output),
1170
1170
  });
1171
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1171
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1172
1172
  }
1173
1173
  };
1174
1174
  const deserializeAws_restJson1DeleteDomainPermissionsPolicyCommand = async (output, context) => {
@@ -1179,7 +1179,7 @@ const deserializeAws_restJson1DeleteDomainPermissionsPolicyCommand = async (outp
1179
1179
  $metadata: deserializeMetadata(output),
1180
1180
  policy: undefined,
1181
1181
  };
1182
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1182
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1183
1183
  if (data.policy !== undefined && data.policy !== null) {
1184
1184
  contents.policy = deserializeAws_restJson1ResourcePolicy(data.policy, context);
1185
1185
  }
@@ -1220,7 +1220,7 @@ const deserializeAws_restJson1DeleteDomainPermissionsPolicyCommandError = async
1220
1220
  $fault: "client",
1221
1221
  $metadata: deserializeMetadata(output),
1222
1222
  });
1223
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1223
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1224
1224
  }
1225
1225
  };
1226
1226
  const deserializeAws_restJson1DeletePackageVersionsCommand = async (output, context) => {
@@ -1232,7 +1232,7 @@ const deserializeAws_restJson1DeletePackageVersionsCommand = async (output, cont
1232
1232
  failedVersions: undefined,
1233
1233
  successfulVersions: undefined,
1234
1234
  };
1235
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1235
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1236
1236
  if (data.failedVersions !== undefined && data.failedVersions !== null) {
1237
1237
  contents.failedVersions = deserializeAws_restJson1PackageVersionErrorMap(data.failedVersions, context);
1238
1238
  }
@@ -1276,7 +1276,7 @@ const deserializeAws_restJson1DeletePackageVersionsCommandError = async (output,
1276
1276
  $fault: "client",
1277
1277
  $metadata: deserializeMetadata(output),
1278
1278
  });
1279
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1279
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1280
1280
  }
1281
1281
  };
1282
1282
  const deserializeAws_restJson1DeleteRepositoryCommand = async (output, context) => {
@@ -1287,7 +1287,7 @@ const deserializeAws_restJson1DeleteRepositoryCommand = async (output, context)
1287
1287
  $metadata: deserializeMetadata(output),
1288
1288
  repository: undefined,
1289
1289
  };
1290
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1290
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1291
1291
  if (data.repository !== undefined && data.repository !== null) {
1292
1292
  contents.repository = deserializeAws_restJson1RepositoryDescription(data.repository, context);
1293
1293
  }
@@ -1328,7 +1328,7 @@ const deserializeAws_restJson1DeleteRepositoryCommandError = async (output, cont
1328
1328
  $fault: "client",
1329
1329
  $metadata: deserializeMetadata(output),
1330
1330
  });
1331
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1331
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1332
1332
  }
1333
1333
  };
1334
1334
  const deserializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = async (output, context) => {
@@ -1339,7 +1339,7 @@ const deserializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = async (
1339
1339
  $metadata: deserializeMetadata(output),
1340
1340
  policy: undefined,
1341
1341
  };
1342
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1342
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1343
1343
  if (data.policy !== undefined && data.policy !== null) {
1344
1344
  contents.policy = deserializeAws_restJson1ResourcePolicy(data.policy, context);
1345
1345
  }
@@ -1380,7 +1380,7 @@ const deserializeAws_restJson1DeleteRepositoryPermissionsPolicyCommandError = as
1380
1380
  $fault: "client",
1381
1381
  $metadata: deserializeMetadata(output),
1382
1382
  });
1383
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1383
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1384
1384
  }
1385
1385
  };
1386
1386
  const deserializeAws_restJson1DescribeDomainCommand = async (output, context) => {
@@ -1391,7 +1391,7 @@ const deserializeAws_restJson1DescribeDomainCommand = async (output, context) =>
1391
1391
  $metadata: deserializeMetadata(output),
1392
1392
  domain: undefined,
1393
1393
  };
1394
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1394
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1395
1395
  if (data.domain !== undefined && data.domain !== null) {
1396
1396
  contents.domain = deserializeAws_restJson1DomainDescription(data.domain, context);
1397
1397
  }
@@ -1429,7 +1429,7 @@ const deserializeAws_restJson1DescribeDomainCommandError = async (output, contex
1429
1429
  $fault: "client",
1430
1430
  $metadata: deserializeMetadata(output),
1431
1431
  });
1432
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1432
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1433
1433
  }
1434
1434
  };
1435
1435
  const deserializeAws_restJson1DescribePackageVersionCommand = async (output, context) => {
@@ -1440,7 +1440,7 @@ const deserializeAws_restJson1DescribePackageVersionCommand = async (output, con
1440
1440
  $metadata: deserializeMetadata(output),
1441
1441
  packageVersion: undefined,
1442
1442
  };
1443
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1443
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1444
1444
  if (data.packageVersion !== undefined && data.packageVersion !== null) {
1445
1445
  contents.packageVersion = deserializeAws_restJson1PackageVersionDescription(data.packageVersion, context);
1446
1446
  }
@@ -1481,7 +1481,7 @@ const deserializeAws_restJson1DescribePackageVersionCommandError = async (output
1481
1481
  $fault: "client",
1482
1482
  $metadata: deserializeMetadata(output),
1483
1483
  });
1484
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1484
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1485
1485
  }
1486
1486
  };
1487
1487
  const deserializeAws_restJson1DescribeRepositoryCommand = async (output, context) => {
@@ -1492,7 +1492,7 @@ const deserializeAws_restJson1DescribeRepositoryCommand = async (output, context
1492
1492
  $metadata: deserializeMetadata(output),
1493
1493
  repository: undefined,
1494
1494
  };
1495
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1495
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1496
1496
  if (data.repository !== undefined && data.repository !== null) {
1497
1497
  contents.repository = deserializeAws_restJson1RepositoryDescription(data.repository, context);
1498
1498
  }
@@ -1530,7 +1530,7 @@ const deserializeAws_restJson1DescribeRepositoryCommandError = async (output, co
1530
1530
  $fault: "client",
1531
1531
  $metadata: deserializeMetadata(output),
1532
1532
  });
1533
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1533
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1534
1534
  }
1535
1535
  };
1536
1536
  const deserializeAws_restJson1DisassociateExternalConnectionCommand = async (output, context) => {
@@ -1541,7 +1541,7 @@ const deserializeAws_restJson1DisassociateExternalConnectionCommand = async (out
1541
1541
  $metadata: deserializeMetadata(output),
1542
1542
  repository: undefined,
1543
1543
  };
1544
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1544
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1545
1545
  if (data.repository !== undefined && data.repository !== null) {
1546
1546
  contents.repository = deserializeAws_restJson1RepositoryDescription(data.repository, context);
1547
1547
  }
@@ -1585,7 +1585,7 @@ const deserializeAws_restJson1DisassociateExternalConnectionCommandError = async
1585
1585
  $fault: "client",
1586
1586
  $metadata: deserializeMetadata(output),
1587
1587
  });
1588
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1588
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1589
1589
  }
1590
1590
  };
1591
1591
  const deserializeAws_restJson1DisposePackageVersionsCommand = async (output, context) => {
@@ -1597,7 +1597,7 @@ const deserializeAws_restJson1DisposePackageVersionsCommand = async (output, con
1597
1597
  failedVersions: undefined,
1598
1598
  successfulVersions: undefined,
1599
1599
  };
1600
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1600
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1601
1601
  if (data.failedVersions !== undefined && data.failedVersions !== null) {
1602
1602
  contents.failedVersions = deserializeAws_restJson1PackageVersionErrorMap(data.failedVersions, context);
1603
1603
  }
@@ -1641,7 +1641,7 @@ const deserializeAws_restJson1DisposePackageVersionsCommandError = async (output
1641
1641
  $fault: "client",
1642
1642
  $metadata: deserializeMetadata(output),
1643
1643
  });
1644
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1644
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1645
1645
  }
1646
1646
  };
1647
1647
  const deserializeAws_restJson1GetAuthorizationTokenCommand = async (output, context) => {
@@ -1653,12 +1653,12 @@ const deserializeAws_restJson1GetAuthorizationTokenCommand = async (output, cont
1653
1653
  authorizationToken: undefined,
1654
1654
  expiration: undefined,
1655
1655
  };
1656
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1656
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1657
1657
  if (data.authorizationToken !== undefined && data.authorizationToken !== null) {
1658
- contents.authorizationToken = smithy_client_1.expectString(data.authorizationToken);
1658
+ contents.authorizationToken = (0, smithy_client_1.expectString)(data.authorizationToken);
1659
1659
  }
1660
1660
  if (data.expiration !== undefined && data.expiration !== null) {
1661
- contents.expiration = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.expiration)));
1661
+ contents.expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.expiration)));
1662
1662
  }
1663
1663
  return Promise.resolve(contents);
1664
1664
  };
@@ -1694,7 +1694,7 @@ const deserializeAws_restJson1GetAuthorizationTokenCommandError = async (output,
1694
1694
  $fault: "client",
1695
1695
  $metadata: deserializeMetadata(output),
1696
1696
  });
1697
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1697
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1698
1698
  }
1699
1699
  };
1700
1700
  const deserializeAws_restJson1GetDomainPermissionsPolicyCommand = async (output, context) => {
@@ -1705,7 +1705,7 @@ const deserializeAws_restJson1GetDomainPermissionsPolicyCommand = async (output,
1705
1705
  $metadata: deserializeMetadata(output),
1706
1706
  policy: undefined,
1707
1707
  };
1708
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1708
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1709
1709
  if (data.policy !== undefined && data.policy !== null) {
1710
1710
  contents.policy = deserializeAws_restJson1ResourcePolicy(data.policy, context);
1711
1711
  }
@@ -1743,7 +1743,7 @@ const deserializeAws_restJson1GetDomainPermissionsPolicyCommandError = async (ou
1743
1743
  $fault: "client",
1744
1744
  $metadata: deserializeMetadata(output),
1745
1745
  });
1746
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1746
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1747
1747
  }
1748
1748
  };
1749
1749
  const deserializeAws_restJson1GetPackageVersionAssetCommand = async (output, context) => {
@@ -1805,7 +1805,7 @@ const deserializeAws_restJson1GetPackageVersionAssetCommandError = async (output
1805
1805
  $fault: "client",
1806
1806
  $metadata: deserializeMetadata(output),
1807
1807
  });
1808
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1808
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1809
1809
  }
1810
1810
  };
1811
1811
  const deserializeAws_restJson1GetPackageVersionReadmeCommand = async (output, context) => {
@@ -1821,24 +1821,24 @@ const deserializeAws_restJson1GetPackageVersionReadmeCommand = async (output, co
1821
1821
  version: undefined,
1822
1822
  versionRevision: undefined,
1823
1823
  };
1824
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1824
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1825
1825
  if (data.format !== undefined && data.format !== null) {
1826
- contents.format = smithy_client_1.expectString(data.format);
1826
+ contents.format = (0, smithy_client_1.expectString)(data.format);
1827
1827
  }
1828
1828
  if (data.namespace !== undefined && data.namespace !== null) {
1829
- contents.namespace = smithy_client_1.expectString(data.namespace);
1829
+ contents.namespace = (0, smithy_client_1.expectString)(data.namespace);
1830
1830
  }
1831
1831
  if (data.package !== undefined && data.package !== null) {
1832
- contents.package = smithy_client_1.expectString(data.package);
1832
+ contents.package = (0, smithy_client_1.expectString)(data.package);
1833
1833
  }
1834
1834
  if (data.readme !== undefined && data.readme !== null) {
1835
- contents.readme = smithy_client_1.expectString(data.readme);
1835
+ contents.readme = (0, smithy_client_1.expectString)(data.readme);
1836
1836
  }
1837
1837
  if (data.version !== undefined && data.version !== null) {
1838
- contents.version = smithy_client_1.expectString(data.version);
1838
+ contents.version = (0, smithy_client_1.expectString)(data.version);
1839
1839
  }
1840
1840
  if (data.versionRevision !== undefined && data.versionRevision !== null) {
1841
- contents.versionRevision = smithy_client_1.expectString(data.versionRevision);
1841
+ contents.versionRevision = (0, smithy_client_1.expectString)(data.versionRevision);
1842
1842
  }
1843
1843
  return Promise.resolve(contents);
1844
1844
  };
@@ -1874,7 +1874,7 @@ const deserializeAws_restJson1GetPackageVersionReadmeCommandError = async (outpu
1874
1874
  $fault: "client",
1875
1875
  $metadata: deserializeMetadata(output),
1876
1876
  });
1877
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1877
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1878
1878
  }
1879
1879
  };
1880
1880
  const deserializeAws_restJson1GetRepositoryEndpointCommand = async (output, context) => {
@@ -1885,9 +1885,9 @@ const deserializeAws_restJson1GetRepositoryEndpointCommand = async (output, cont
1885
1885
  $metadata: deserializeMetadata(output),
1886
1886
  repositoryEndpoint: undefined,
1887
1887
  };
1888
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1888
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1889
1889
  if (data.repositoryEndpoint !== undefined && data.repositoryEndpoint !== null) {
1890
- contents.repositoryEndpoint = smithy_client_1.expectString(data.repositoryEndpoint);
1890
+ contents.repositoryEndpoint = (0, smithy_client_1.expectString)(data.repositoryEndpoint);
1891
1891
  }
1892
1892
  return Promise.resolve(contents);
1893
1893
  };
@@ -1923,7 +1923,7 @@ const deserializeAws_restJson1GetRepositoryEndpointCommandError = async (output,
1923
1923
  $fault: "client",
1924
1924
  $metadata: deserializeMetadata(output),
1925
1925
  });
1926
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1926
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1927
1927
  }
1928
1928
  };
1929
1929
  const deserializeAws_restJson1GetRepositoryPermissionsPolicyCommand = async (output, context) => {
@@ -1934,7 +1934,7 @@ const deserializeAws_restJson1GetRepositoryPermissionsPolicyCommand = async (out
1934
1934
  $metadata: deserializeMetadata(output),
1935
1935
  policy: undefined,
1936
1936
  };
1937
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1937
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1938
1938
  if (data.policy !== undefined && data.policy !== null) {
1939
1939
  contents.policy = deserializeAws_restJson1ResourcePolicy(data.policy, context);
1940
1940
  }
@@ -1972,7 +1972,7 @@ const deserializeAws_restJson1GetRepositoryPermissionsPolicyCommandError = async
1972
1972
  $fault: "client",
1973
1973
  $metadata: deserializeMetadata(output),
1974
1974
  });
1975
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1975
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1976
1976
  }
1977
1977
  };
1978
1978
  const deserializeAws_restJson1ListDomainsCommand = async (output, context) => {
@@ -1984,12 +1984,12 @@ const deserializeAws_restJson1ListDomainsCommand = async (output, context) => {
1984
1984
  domains: undefined,
1985
1985
  nextToken: undefined,
1986
1986
  };
1987
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1987
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1988
1988
  if (data.domains !== undefined && data.domains !== null) {
1989
1989
  contents.domains = deserializeAws_restJson1DomainSummaryList(data.domains, context);
1990
1990
  }
1991
1991
  if (data.nextToken !== undefined && data.nextToken !== null) {
1992
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1992
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1993
1993
  }
1994
1994
  return Promise.resolve(contents);
1995
1995
  };
@@ -2022,7 +2022,7 @@ const deserializeAws_restJson1ListDomainsCommandError = async (output, context)
2022
2022
  $fault: "client",
2023
2023
  $metadata: deserializeMetadata(output),
2024
2024
  });
2025
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2025
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2026
2026
  }
2027
2027
  };
2028
2028
  const deserializeAws_restJson1ListPackagesCommand = async (output, context) => {
@@ -2034,9 +2034,9 @@ const deserializeAws_restJson1ListPackagesCommand = async (output, context) => {
2034
2034
  nextToken: undefined,
2035
2035
  packages: undefined,
2036
2036
  };
2037
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2037
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2038
2038
  if (data.nextToken !== undefined && data.nextToken !== null) {
2039
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2039
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2040
2040
  }
2041
2041
  if (data.packages !== undefined && data.packages !== null) {
2042
2042
  contents.packages = deserializeAws_restJson1PackageSummaryList(data.packages, context);
@@ -2075,7 +2075,7 @@ const deserializeAws_restJson1ListPackagesCommandError = async (output, context)
2075
2075
  $fault: "client",
2076
2076
  $metadata: deserializeMetadata(output),
2077
2077
  });
2078
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2078
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2079
2079
  }
2080
2080
  };
2081
2081
  const deserializeAws_restJson1ListPackageVersionAssetsCommand = async (output, context) => {
@@ -2092,27 +2092,27 @@ const deserializeAws_restJson1ListPackageVersionAssetsCommand = async (output, c
2092
2092
  version: undefined,
2093
2093
  versionRevision: undefined,
2094
2094
  };
2095
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2095
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2096
2096
  if (data.assets !== undefined && data.assets !== null) {
2097
2097
  contents.assets = deserializeAws_restJson1AssetSummaryList(data.assets, context);
2098
2098
  }
2099
2099
  if (data.format !== undefined && data.format !== null) {
2100
- contents.format = smithy_client_1.expectString(data.format);
2100
+ contents.format = (0, smithy_client_1.expectString)(data.format);
2101
2101
  }
2102
2102
  if (data.namespace !== undefined && data.namespace !== null) {
2103
- contents.namespace = smithy_client_1.expectString(data.namespace);
2103
+ contents.namespace = (0, smithy_client_1.expectString)(data.namespace);
2104
2104
  }
2105
2105
  if (data.nextToken !== undefined && data.nextToken !== null) {
2106
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2106
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2107
2107
  }
2108
2108
  if (data.package !== undefined && data.package !== null) {
2109
- contents.package = smithy_client_1.expectString(data.package);
2109
+ contents.package = (0, smithy_client_1.expectString)(data.package);
2110
2110
  }
2111
2111
  if (data.version !== undefined && data.version !== null) {
2112
- contents.version = smithy_client_1.expectString(data.version);
2112
+ contents.version = (0, smithy_client_1.expectString)(data.version);
2113
2113
  }
2114
2114
  if (data.versionRevision !== undefined && data.versionRevision !== null) {
2115
- contents.versionRevision = smithy_client_1.expectString(data.versionRevision);
2115
+ contents.versionRevision = (0, smithy_client_1.expectString)(data.versionRevision);
2116
2116
  }
2117
2117
  return Promise.resolve(contents);
2118
2118
  };
@@ -2148,7 +2148,7 @@ const deserializeAws_restJson1ListPackageVersionAssetsCommandError = async (outp
2148
2148
  $fault: "client",
2149
2149
  $metadata: deserializeMetadata(output),
2150
2150
  });
2151
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2151
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2152
2152
  }
2153
2153
  };
2154
2154
  const deserializeAws_restJson1ListPackageVersionDependenciesCommand = async (output, context) => {
@@ -2165,27 +2165,27 @@ const deserializeAws_restJson1ListPackageVersionDependenciesCommand = async (out
2165
2165
  version: undefined,
2166
2166
  versionRevision: undefined,
2167
2167
  };
2168
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2168
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2169
2169
  if (data.dependencies !== undefined && data.dependencies !== null) {
2170
2170
  contents.dependencies = deserializeAws_restJson1PackageDependencyList(data.dependencies, context);
2171
2171
  }
2172
2172
  if (data.format !== undefined && data.format !== null) {
2173
- contents.format = smithy_client_1.expectString(data.format);
2173
+ contents.format = (0, smithy_client_1.expectString)(data.format);
2174
2174
  }
2175
2175
  if (data.namespace !== undefined && data.namespace !== null) {
2176
- contents.namespace = smithy_client_1.expectString(data.namespace);
2176
+ contents.namespace = (0, smithy_client_1.expectString)(data.namespace);
2177
2177
  }
2178
2178
  if (data.nextToken !== undefined && data.nextToken !== null) {
2179
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2179
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2180
2180
  }
2181
2181
  if (data.package !== undefined && data.package !== null) {
2182
- contents.package = smithy_client_1.expectString(data.package);
2182
+ contents.package = (0, smithy_client_1.expectString)(data.package);
2183
2183
  }
2184
2184
  if (data.version !== undefined && data.version !== null) {
2185
- contents.version = smithy_client_1.expectString(data.version);
2185
+ contents.version = (0, smithy_client_1.expectString)(data.version);
2186
2186
  }
2187
2187
  if (data.versionRevision !== undefined && data.versionRevision !== null) {
2188
- contents.versionRevision = smithy_client_1.expectString(data.versionRevision);
2188
+ contents.versionRevision = (0, smithy_client_1.expectString)(data.versionRevision);
2189
2189
  }
2190
2190
  return Promise.resolve(contents);
2191
2191
  };
@@ -2221,7 +2221,7 @@ const deserializeAws_restJson1ListPackageVersionDependenciesCommandError = async
2221
2221
  $fault: "client",
2222
2222
  $metadata: deserializeMetadata(output),
2223
2223
  });
2224
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2224
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2225
2225
  }
2226
2226
  };
2227
2227
  const deserializeAws_restJson1ListPackageVersionsCommand = async (output, context) => {
@@ -2237,21 +2237,21 @@ const deserializeAws_restJson1ListPackageVersionsCommand = async (output, contex
2237
2237
  package: undefined,
2238
2238
  versions: undefined,
2239
2239
  };
2240
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2240
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2241
2241
  if (data.defaultDisplayVersion !== undefined && data.defaultDisplayVersion !== null) {
2242
- contents.defaultDisplayVersion = smithy_client_1.expectString(data.defaultDisplayVersion);
2242
+ contents.defaultDisplayVersion = (0, smithy_client_1.expectString)(data.defaultDisplayVersion);
2243
2243
  }
2244
2244
  if (data.format !== undefined && data.format !== null) {
2245
- contents.format = smithy_client_1.expectString(data.format);
2245
+ contents.format = (0, smithy_client_1.expectString)(data.format);
2246
2246
  }
2247
2247
  if (data.namespace !== undefined && data.namespace !== null) {
2248
- contents.namespace = smithy_client_1.expectString(data.namespace);
2248
+ contents.namespace = (0, smithy_client_1.expectString)(data.namespace);
2249
2249
  }
2250
2250
  if (data.nextToken !== undefined && data.nextToken !== null) {
2251
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2251
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2252
2252
  }
2253
2253
  if (data.package !== undefined && data.package !== null) {
2254
- contents.package = smithy_client_1.expectString(data.package);
2254
+ contents.package = (0, smithy_client_1.expectString)(data.package);
2255
2255
  }
2256
2256
  if (data.versions !== undefined && data.versions !== null) {
2257
2257
  contents.versions = deserializeAws_restJson1PackageVersionSummaryList(data.versions, context);
@@ -2290,7 +2290,7 @@ const deserializeAws_restJson1ListPackageVersionsCommandError = async (output, c
2290
2290
  $fault: "client",
2291
2291
  $metadata: deserializeMetadata(output),
2292
2292
  });
2293
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2293
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2294
2294
  }
2295
2295
  };
2296
2296
  const deserializeAws_restJson1ListRepositoriesCommand = async (output, context) => {
@@ -2302,9 +2302,9 @@ const deserializeAws_restJson1ListRepositoriesCommand = async (output, context)
2302
2302
  nextToken: undefined,
2303
2303
  repositories: undefined,
2304
2304
  };
2305
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2305
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2306
2306
  if (data.nextToken !== undefined && data.nextToken !== null) {
2307
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2307
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2308
2308
  }
2309
2309
  if (data.repositories !== undefined && data.repositories !== null) {
2310
2310
  contents.repositories = deserializeAws_restJson1RepositorySummaryList(data.repositories, context);
@@ -2340,7 +2340,7 @@ const deserializeAws_restJson1ListRepositoriesCommandError = async (output, cont
2340
2340
  $fault: "client",
2341
2341
  $metadata: deserializeMetadata(output),
2342
2342
  });
2343
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2343
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2344
2344
  }
2345
2345
  };
2346
2346
  const deserializeAws_restJson1ListRepositoriesInDomainCommand = async (output, context) => {
@@ -2352,9 +2352,9 @@ const deserializeAws_restJson1ListRepositoriesInDomainCommand = async (output, c
2352
2352
  nextToken: undefined,
2353
2353
  repositories: undefined,
2354
2354
  };
2355
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2355
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2356
2356
  if (data.nextToken !== undefined && data.nextToken !== null) {
2357
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2357
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2358
2358
  }
2359
2359
  if (data.repositories !== undefined && data.repositories !== null) {
2360
2360
  contents.repositories = deserializeAws_restJson1RepositorySummaryList(data.repositories, context);
@@ -2393,7 +2393,7 @@ const deserializeAws_restJson1ListRepositoriesInDomainCommandError = async (outp
2393
2393
  $fault: "client",
2394
2394
  $metadata: deserializeMetadata(output),
2395
2395
  });
2396
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2396
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2397
2397
  }
2398
2398
  };
2399
2399
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -2404,7 +2404,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2404
2404
  $metadata: deserializeMetadata(output),
2405
2405
  tags: undefined,
2406
2406
  };
2407
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2407
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2408
2408
  if (data.tags !== undefined && data.tags !== null) {
2409
2409
  contents.tags = deserializeAws_restJson1TagList(data.tags, context);
2410
2410
  }
@@ -2439,7 +2439,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2439
2439
  $fault: "client",
2440
2440
  $metadata: deserializeMetadata(output),
2441
2441
  });
2442
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2442
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2443
2443
  }
2444
2444
  };
2445
2445
  const deserializeAws_restJson1PutDomainPermissionsPolicyCommand = async (output, context) => {
@@ -2450,7 +2450,7 @@ const deserializeAws_restJson1PutDomainPermissionsPolicyCommand = async (output,
2450
2450
  $metadata: deserializeMetadata(output),
2451
2451
  policy: undefined,
2452
2452
  };
2453
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2453
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2454
2454
  if (data.policy !== undefined && data.policy !== null) {
2455
2455
  contents.policy = deserializeAws_restJson1ResourcePolicy(data.policy, context);
2456
2456
  }
@@ -2494,7 +2494,7 @@ const deserializeAws_restJson1PutDomainPermissionsPolicyCommandError = async (ou
2494
2494
  $fault: "client",
2495
2495
  $metadata: deserializeMetadata(output),
2496
2496
  });
2497
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2497
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2498
2498
  }
2499
2499
  };
2500
2500
  const deserializeAws_restJson1PutRepositoryPermissionsPolicyCommand = async (output, context) => {
@@ -2505,7 +2505,7 @@ const deserializeAws_restJson1PutRepositoryPermissionsPolicyCommand = async (out
2505
2505
  $metadata: deserializeMetadata(output),
2506
2506
  policy: undefined,
2507
2507
  };
2508
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2508
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2509
2509
  if (data.policy !== undefined && data.policy !== null) {
2510
2510
  contents.policy = deserializeAws_restJson1ResourcePolicy(data.policy, context);
2511
2511
  }
@@ -2549,7 +2549,7 @@ const deserializeAws_restJson1PutRepositoryPermissionsPolicyCommandError = async
2549
2549
  $fault: "client",
2550
2550
  $metadata: deserializeMetadata(output),
2551
2551
  });
2552
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2552
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2553
2553
  }
2554
2554
  };
2555
2555
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -2594,7 +2594,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2594
2594
  $fault: "client",
2595
2595
  $metadata: deserializeMetadata(output),
2596
2596
  });
2597
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2597
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2598
2598
  }
2599
2599
  };
2600
2600
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -2636,7 +2636,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2636
2636
  $fault: "client",
2637
2637
  $metadata: deserializeMetadata(output),
2638
2638
  });
2639
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2639
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2640
2640
  }
2641
2641
  };
2642
2642
  const deserializeAws_restJson1UpdatePackageVersionsStatusCommand = async (output, context) => {
@@ -2648,7 +2648,7 @@ const deserializeAws_restJson1UpdatePackageVersionsStatusCommand = async (output
2648
2648
  failedVersions: undefined,
2649
2649
  successfulVersions: undefined,
2650
2650
  };
2651
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2651
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2652
2652
  if (data.failedVersions !== undefined && data.failedVersions !== null) {
2653
2653
  contents.failedVersions = deserializeAws_restJson1PackageVersionErrorMap(data.failedVersions, context);
2654
2654
  }
@@ -2692,7 +2692,7 @@ const deserializeAws_restJson1UpdatePackageVersionsStatusCommandError = async (o
2692
2692
  $fault: "client",
2693
2693
  $metadata: deserializeMetadata(output),
2694
2694
  });
2695
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2695
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2696
2696
  }
2697
2697
  };
2698
2698
  const deserializeAws_restJson1UpdateRepositoryCommand = async (output, context) => {
@@ -2703,7 +2703,7 @@ const deserializeAws_restJson1UpdateRepositoryCommand = async (output, context)
2703
2703
  $metadata: deserializeMetadata(output),
2704
2704
  repository: undefined,
2705
2705
  };
2706
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2706
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2707
2707
  if (data.repository !== undefined && data.repository !== null) {
2708
2708
  contents.repository = deserializeAws_restJson1RepositoryDescription(data.repository, context);
2709
2709
  }
@@ -2747,116 +2747,116 @@ const deserializeAws_restJson1UpdateRepositoryCommandError = async (output, cont
2747
2747
  $fault: "client",
2748
2748
  $metadata: deserializeMetadata(output),
2749
2749
  });
2750
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2750
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2751
2751
  }
2752
2752
  };
2753
2753
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2754
2754
  const contents = {};
2755
2755
  const data = parsedOutput.body;
2756
2756
  if (data.message !== undefined && data.message !== null) {
2757
- contents.message = smithy_client_1.expectString(data.message);
2757
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2758
2758
  }
2759
2759
  const exception = new models_0_1.AccessDeniedException({
2760
2760
  $metadata: deserializeMetadata(parsedOutput),
2761
2761
  ...contents,
2762
2762
  });
2763
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2763
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2764
2764
  };
2765
2765
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2766
2766
  const contents = {};
2767
2767
  const data = parsedOutput.body;
2768
2768
  if (data.message !== undefined && data.message !== null) {
2769
- contents.message = smithy_client_1.expectString(data.message);
2769
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2770
2770
  }
2771
2771
  if (data.resourceId !== undefined && data.resourceId !== null) {
2772
- contents.resourceId = smithy_client_1.expectString(data.resourceId);
2772
+ contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
2773
2773
  }
2774
2774
  if (data.resourceType !== undefined && data.resourceType !== null) {
2775
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
2775
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2776
2776
  }
2777
2777
  const exception = new models_0_1.ConflictException({
2778
2778
  $metadata: deserializeMetadata(parsedOutput),
2779
2779
  ...contents,
2780
2780
  });
2781
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2781
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2782
2782
  };
2783
2783
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2784
2784
  const contents = {};
2785
2785
  const data = parsedOutput.body;
2786
2786
  if (data.message !== undefined && data.message !== null) {
2787
- contents.message = smithy_client_1.expectString(data.message);
2787
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2788
2788
  }
2789
2789
  const exception = new models_0_1.InternalServerException({
2790
2790
  $metadata: deserializeMetadata(parsedOutput),
2791
2791
  ...contents,
2792
2792
  });
2793
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2793
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2794
2794
  };
2795
2795
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2796
2796
  const contents = {};
2797
2797
  const data = parsedOutput.body;
2798
2798
  if (data.message !== undefined && data.message !== null) {
2799
- contents.message = smithy_client_1.expectString(data.message);
2799
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2800
2800
  }
2801
2801
  if (data.resourceId !== undefined && data.resourceId !== null) {
2802
- contents.resourceId = smithy_client_1.expectString(data.resourceId);
2802
+ contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
2803
2803
  }
2804
2804
  if (data.resourceType !== undefined && data.resourceType !== null) {
2805
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
2805
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2806
2806
  }
2807
2807
  const exception = new models_0_1.ResourceNotFoundException({
2808
2808
  $metadata: deserializeMetadata(parsedOutput),
2809
2809
  ...contents,
2810
2810
  });
2811
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2811
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2812
2812
  };
2813
2813
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2814
2814
  const contents = {};
2815
2815
  const data = parsedOutput.body;
2816
2816
  if (data.message !== undefined && data.message !== null) {
2817
- contents.message = smithy_client_1.expectString(data.message);
2817
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2818
2818
  }
2819
2819
  if (data.resourceId !== undefined && data.resourceId !== null) {
2820
- contents.resourceId = smithy_client_1.expectString(data.resourceId);
2820
+ contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
2821
2821
  }
2822
2822
  if (data.resourceType !== undefined && data.resourceType !== null) {
2823
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
2823
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2824
2824
  }
2825
2825
  const exception = new models_0_1.ServiceQuotaExceededException({
2826
2826
  $metadata: deserializeMetadata(parsedOutput),
2827
2827
  ...contents,
2828
2828
  });
2829
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2829
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2830
2830
  };
2831
2831
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2832
2832
  const contents = {};
2833
2833
  if (parsedOutput.headers["retry-after"] !== undefined) {
2834
- contents.retryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
2834
+ contents.retryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
2835
2835
  }
2836
2836
  const data = parsedOutput.body;
2837
2837
  if (data.message !== undefined && data.message !== null) {
2838
- contents.message = smithy_client_1.expectString(data.message);
2838
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2839
2839
  }
2840
2840
  const exception = new models_0_1.ThrottlingException({
2841
2841
  $metadata: deserializeMetadata(parsedOutput),
2842
2842
  ...contents,
2843
2843
  });
2844
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2844
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2845
2845
  };
2846
2846
  const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2847
2847
  const contents = {};
2848
2848
  const data = parsedOutput.body;
2849
2849
  if (data.message !== undefined && data.message !== null) {
2850
- contents.message = smithy_client_1.expectString(data.message);
2850
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2851
2851
  }
2852
2852
  if (data.reason !== undefined && data.reason !== null) {
2853
- contents.reason = smithy_client_1.expectString(data.reason);
2853
+ contents.reason = (0, smithy_client_1.expectString)(data.reason);
2854
2854
  }
2855
2855
  const exception = new models_0_1.ValidationException({
2856
2856
  $metadata: deserializeMetadata(parsedOutput),
2857
2857
  ...contents,
2858
2858
  });
2859
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2859
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2860
2860
  };
2861
2861
  const serializeAws_restJson1PackageVersionList = (input, context) => {
2862
2862
  return input
@@ -2928,7 +2928,7 @@ const deserializeAws_restJson1AssetHashes = (output, context) => {
2928
2928
  }
2929
2929
  return {
2930
2930
  ...acc,
2931
- [key]: smithy_client_1.expectString(value),
2931
+ [key]: (0, smithy_client_1.expectString)(value),
2932
2932
  };
2933
2933
  }, {});
2934
2934
  };
@@ -2937,8 +2937,8 @@ const deserializeAws_restJson1AssetSummary = (output, context) => {
2937
2937
  hashes: output.hashes !== undefined && output.hashes !== null
2938
2938
  ? deserializeAws_restJson1AssetHashes(output.hashes, context)
2939
2939
  : undefined,
2940
- name: smithy_client_1.expectString(output.name),
2941
- size: smithy_client_1.expectLong(output.size),
2940
+ name: (0, smithy_client_1.expectString)(output.name),
2941
+ size: (0, smithy_client_1.expectLong)(output.size),
2942
2942
  };
2943
2943
  };
2944
2944
  const deserializeAws_restJson1AssetSummaryList = (output, context) => {
@@ -2954,29 +2954,29 @@ const deserializeAws_restJson1AssetSummaryList = (output, context) => {
2954
2954
  };
2955
2955
  const deserializeAws_restJson1DomainDescription = (output, context) => {
2956
2956
  return {
2957
- arn: smithy_client_1.expectString(output.arn),
2958
- assetSizeBytes: smithy_client_1.expectLong(output.assetSizeBytes),
2957
+ arn: (0, smithy_client_1.expectString)(output.arn),
2958
+ assetSizeBytes: (0, smithy_client_1.expectLong)(output.assetSizeBytes),
2959
2959
  createdTime: output.createdTime !== undefined && output.createdTime !== null
2960
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdTime)))
2960
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdTime)))
2961
2961
  : undefined,
2962
- encryptionKey: smithy_client_1.expectString(output.encryptionKey),
2963
- name: smithy_client_1.expectString(output.name),
2964
- owner: smithy_client_1.expectString(output.owner),
2965
- repositoryCount: smithy_client_1.expectInt32(output.repositoryCount),
2966
- s3BucketArn: smithy_client_1.expectString(output.s3BucketArn),
2967
- status: smithy_client_1.expectString(output.status),
2962
+ encryptionKey: (0, smithy_client_1.expectString)(output.encryptionKey),
2963
+ name: (0, smithy_client_1.expectString)(output.name),
2964
+ owner: (0, smithy_client_1.expectString)(output.owner),
2965
+ repositoryCount: (0, smithy_client_1.expectInt32)(output.repositoryCount),
2966
+ s3BucketArn: (0, smithy_client_1.expectString)(output.s3BucketArn),
2967
+ status: (0, smithy_client_1.expectString)(output.status),
2968
2968
  };
2969
2969
  };
2970
2970
  const deserializeAws_restJson1DomainSummary = (output, context) => {
2971
2971
  return {
2972
- arn: smithy_client_1.expectString(output.arn),
2972
+ arn: (0, smithy_client_1.expectString)(output.arn),
2973
2973
  createdTime: output.createdTime !== undefined && output.createdTime !== null
2974
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdTime)))
2974
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdTime)))
2975
2975
  : undefined,
2976
- encryptionKey: smithy_client_1.expectString(output.encryptionKey),
2977
- name: smithy_client_1.expectString(output.name),
2978
- owner: smithy_client_1.expectString(output.owner),
2979
- status: smithy_client_1.expectString(output.status),
2976
+ encryptionKey: (0, smithy_client_1.expectString)(output.encryptionKey),
2977
+ name: (0, smithy_client_1.expectString)(output.name),
2978
+ owner: (0, smithy_client_1.expectString)(output.owner),
2979
+ status: (0, smithy_client_1.expectString)(output.status),
2980
2980
  };
2981
2981
  };
2982
2982
  const deserializeAws_restJson1DomainSummaryList = (output, context) => {
@@ -2992,8 +2992,8 @@ const deserializeAws_restJson1DomainSummaryList = (output, context) => {
2992
2992
  };
2993
2993
  const deserializeAws_restJson1LicenseInfo = (output, context) => {
2994
2994
  return {
2995
- name: smithy_client_1.expectString(output.name),
2996
- url: smithy_client_1.expectString(output.url),
2995
+ name: (0, smithy_client_1.expectString)(output.name),
2996
+ url: (0, smithy_client_1.expectString)(output.url),
2997
2997
  };
2998
2998
  };
2999
2999
  const deserializeAws_restJson1LicenseInfoList = (output, context) => {
@@ -3009,10 +3009,10 @@ const deserializeAws_restJson1LicenseInfoList = (output, context) => {
3009
3009
  };
3010
3010
  const deserializeAws_restJson1PackageDependency = (output, context) => {
3011
3011
  return {
3012
- dependencyType: smithy_client_1.expectString(output.dependencyType),
3013
- namespace: smithy_client_1.expectString(output.namespace),
3014
- package: smithy_client_1.expectString(output.package),
3015
- versionRequirement: smithy_client_1.expectString(output.versionRequirement),
3012
+ dependencyType: (0, smithy_client_1.expectString)(output.dependencyType),
3013
+ namespace: (0, smithy_client_1.expectString)(output.namespace),
3014
+ package: (0, smithy_client_1.expectString)(output.package),
3015
+ versionRequirement: (0, smithy_client_1.expectString)(output.versionRequirement),
3016
3016
  };
3017
3017
  };
3018
3018
  const deserializeAws_restJson1PackageDependencyList = (output, context) => {
@@ -3028,9 +3028,9 @@ const deserializeAws_restJson1PackageDependencyList = (output, context) => {
3028
3028
  };
3029
3029
  const deserializeAws_restJson1PackageSummary = (output, context) => {
3030
3030
  return {
3031
- format: smithy_client_1.expectString(output.format),
3032
- namespace: smithy_client_1.expectString(output.namespace),
3033
- package: smithy_client_1.expectString(output.package),
3031
+ format: (0, smithy_client_1.expectString)(output.format),
3032
+ namespace: (0, smithy_client_1.expectString)(output.namespace),
3033
+ package: (0, smithy_client_1.expectString)(output.package),
3034
3034
  };
3035
3035
  };
3036
3036
  const deserializeAws_restJson1PackageSummaryList = (output, context) => {
@@ -3046,28 +3046,28 @@ const deserializeAws_restJson1PackageSummaryList = (output, context) => {
3046
3046
  };
3047
3047
  const deserializeAws_restJson1PackageVersionDescription = (output, context) => {
3048
3048
  return {
3049
- displayName: smithy_client_1.expectString(output.displayName),
3050
- format: smithy_client_1.expectString(output.format),
3051
- homePage: smithy_client_1.expectString(output.homePage),
3049
+ displayName: (0, smithy_client_1.expectString)(output.displayName),
3050
+ format: (0, smithy_client_1.expectString)(output.format),
3051
+ homePage: (0, smithy_client_1.expectString)(output.homePage),
3052
3052
  licenses: output.licenses !== undefined && output.licenses !== null
3053
3053
  ? deserializeAws_restJson1LicenseInfoList(output.licenses, context)
3054
3054
  : undefined,
3055
- namespace: smithy_client_1.expectString(output.namespace),
3056
- packageName: smithy_client_1.expectString(output.packageName),
3055
+ namespace: (0, smithy_client_1.expectString)(output.namespace),
3056
+ packageName: (0, smithy_client_1.expectString)(output.packageName),
3057
3057
  publishedTime: output.publishedTime !== undefined && output.publishedTime !== null
3058
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.publishedTime)))
3058
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.publishedTime)))
3059
3059
  : undefined,
3060
- revision: smithy_client_1.expectString(output.revision),
3061
- sourceCodeRepository: smithy_client_1.expectString(output.sourceCodeRepository),
3062
- status: smithy_client_1.expectString(output.status),
3063
- summary: smithy_client_1.expectString(output.summary),
3064
- version: smithy_client_1.expectString(output.version),
3060
+ revision: (0, smithy_client_1.expectString)(output.revision),
3061
+ sourceCodeRepository: (0, smithy_client_1.expectString)(output.sourceCodeRepository),
3062
+ status: (0, smithy_client_1.expectString)(output.status),
3063
+ summary: (0, smithy_client_1.expectString)(output.summary),
3064
+ version: (0, smithy_client_1.expectString)(output.version),
3065
3065
  };
3066
3066
  };
3067
3067
  const deserializeAws_restJson1PackageVersionError = (output, context) => {
3068
3068
  return {
3069
- errorCode: smithy_client_1.expectString(output.errorCode),
3070
- errorMessage: smithy_client_1.expectString(output.errorMessage),
3069
+ errorCode: (0, smithy_client_1.expectString)(output.errorCode),
3070
+ errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
3071
3071
  };
3072
3072
  };
3073
3073
  const deserializeAws_restJson1PackageVersionErrorMap = (output, context) => {
@@ -3083,9 +3083,9 @@ const deserializeAws_restJson1PackageVersionErrorMap = (output, context) => {
3083
3083
  };
3084
3084
  const deserializeAws_restJson1PackageVersionSummary = (output, context) => {
3085
3085
  return {
3086
- revision: smithy_client_1.expectString(output.revision),
3087
- status: smithy_client_1.expectString(output.status),
3088
- version: smithy_client_1.expectString(output.version),
3086
+ revision: (0, smithy_client_1.expectString)(output.revision),
3087
+ status: (0, smithy_client_1.expectString)(output.status),
3088
+ version: (0, smithy_client_1.expectString)(output.version),
3089
3089
  };
3090
3090
  };
3091
3091
  const deserializeAws_restJson1PackageVersionSummaryList = (output, context) => {
@@ -3101,15 +3101,15 @@ const deserializeAws_restJson1PackageVersionSummaryList = (output, context) => {
3101
3101
  };
3102
3102
  const deserializeAws_restJson1RepositoryDescription = (output, context) => {
3103
3103
  return {
3104
- administratorAccount: smithy_client_1.expectString(output.administratorAccount),
3105
- arn: smithy_client_1.expectString(output.arn),
3106
- description: smithy_client_1.expectString(output.description),
3107
- domainName: smithy_client_1.expectString(output.domainName),
3108
- domainOwner: smithy_client_1.expectString(output.domainOwner),
3104
+ administratorAccount: (0, smithy_client_1.expectString)(output.administratorAccount),
3105
+ arn: (0, smithy_client_1.expectString)(output.arn),
3106
+ description: (0, smithy_client_1.expectString)(output.description),
3107
+ domainName: (0, smithy_client_1.expectString)(output.domainName),
3108
+ domainOwner: (0, smithy_client_1.expectString)(output.domainOwner),
3109
3109
  externalConnections: output.externalConnections !== undefined && output.externalConnections !== null
3110
3110
  ? deserializeAws_restJson1RepositoryExternalConnectionInfoList(output.externalConnections, context)
3111
3111
  : undefined,
3112
- name: smithy_client_1.expectString(output.name),
3112
+ name: (0, smithy_client_1.expectString)(output.name),
3113
3113
  upstreams: output.upstreams !== undefined && output.upstreams !== null
3114
3114
  ? deserializeAws_restJson1UpstreamRepositoryInfoList(output.upstreams, context)
3115
3115
  : undefined,
@@ -3117,9 +3117,9 @@ const deserializeAws_restJson1RepositoryDescription = (output, context) => {
3117
3117
  };
3118
3118
  const deserializeAws_restJson1RepositoryExternalConnectionInfo = (output, context) => {
3119
3119
  return {
3120
- externalConnectionName: smithy_client_1.expectString(output.externalConnectionName),
3121
- packageFormat: smithy_client_1.expectString(output.packageFormat),
3122
- status: smithy_client_1.expectString(output.status),
3120
+ externalConnectionName: (0, smithy_client_1.expectString)(output.externalConnectionName),
3121
+ packageFormat: (0, smithy_client_1.expectString)(output.packageFormat),
3122
+ status: (0, smithy_client_1.expectString)(output.status),
3123
3123
  };
3124
3124
  };
3125
3125
  const deserializeAws_restJson1RepositoryExternalConnectionInfoList = (output, context) => {
@@ -3135,12 +3135,12 @@ const deserializeAws_restJson1RepositoryExternalConnectionInfoList = (output, co
3135
3135
  };
3136
3136
  const deserializeAws_restJson1RepositorySummary = (output, context) => {
3137
3137
  return {
3138
- administratorAccount: smithy_client_1.expectString(output.administratorAccount),
3139
- arn: smithy_client_1.expectString(output.arn),
3140
- description: smithy_client_1.expectString(output.description),
3141
- domainName: smithy_client_1.expectString(output.domainName),
3142
- domainOwner: smithy_client_1.expectString(output.domainOwner),
3143
- name: smithy_client_1.expectString(output.name),
3138
+ administratorAccount: (0, smithy_client_1.expectString)(output.administratorAccount),
3139
+ arn: (0, smithy_client_1.expectString)(output.arn),
3140
+ description: (0, smithy_client_1.expectString)(output.description),
3141
+ domainName: (0, smithy_client_1.expectString)(output.domainName),
3142
+ domainOwner: (0, smithy_client_1.expectString)(output.domainOwner),
3143
+ name: (0, smithy_client_1.expectString)(output.name),
3144
3144
  };
3145
3145
  };
3146
3146
  const deserializeAws_restJson1RepositorySummaryList = (output, context) => {
@@ -3156,15 +3156,15 @@ const deserializeAws_restJson1RepositorySummaryList = (output, context) => {
3156
3156
  };
3157
3157
  const deserializeAws_restJson1ResourcePolicy = (output, context) => {
3158
3158
  return {
3159
- document: smithy_client_1.expectString(output.document),
3160
- resourceArn: smithy_client_1.expectString(output.resourceArn),
3161
- revision: smithy_client_1.expectString(output.revision),
3159
+ document: (0, smithy_client_1.expectString)(output.document),
3160
+ resourceArn: (0, smithy_client_1.expectString)(output.resourceArn),
3161
+ revision: (0, smithy_client_1.expectString)(output.revision),
3162
3162
  };
3163
3163
  };
3164
3164
  const deserializeAws_restJson1SuccessfulPackageVersionInfo = (output, context) => {
3165
3165
  return {
3166
- revision: smithy_client_1.expectString(output.revision),
3167
- status: smithy_client_1.expectString(output.status),
3166
+ revision: (0, smithy_client_1.expectString)(output.revision),
3167
+ status: (0, smithy_client_1.expectString)(output.status),
3168
3168
  };
3169
3169
  };
3170
3170
  const deserializeAws_restJson1SuccessfulPackageVersionInfoMap = (output, context) => {
@@ -3180,8 +3180,8 @@ const deserializeAws_restJson1SuccessfulPackageVersionInfoMap = (output, context
3180
3180
  };
3181
3181
  const deserializeAws_restJson1Tag = (output, context) => {
3182
3182
  return {
3183
- key: smithy_client_1.expectString(output.key),
3184
- value: smithy_client_1.expectString(output.value),
3183
+ key: (0, smithy_client_1.expectString)(output.key),
3184
+ value: (0, smithy_client_1.expectString)(output.value),
3185
3185
  };
3186
3186
  };
3187
3187
  const deserializeAws_restJson1TagList = (output, context) => {
@@ -3197,7 +3197,7 @@ const deserializeAws_restJson1TagList = (output, context) => {
3197
3197
  };
3198
3198
  const deserializeAws_restJson1UpstreamRepositoryInfo = (output, context) => {
3199
3199
  return {
3200
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3200
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3201
3201
  };
3202
3202
  };
3203
3203
  const deserializeAws_restJson1UpstreamRepositoryInfoList = (output, context) => {