@aws-sdk/client-inspector2 3.53.0 → 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 (57) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/Inspector2Client.js +13 -13
  3. package/dist-cjs/commands/AssociateMemberCommand.js +3 -3
  4. package/dist-cjs/commands/BatchGetAccountStatusCommand.js +3 -3
  5. package/dist-cjs/commands/BatchGetFreeTrialInfoCommand.js +3 -3
  6. package/dist-cjs/commands/CancelFindingsReportCommand.js +3 -3
  7. package/dist-cjs/commands/CreateFilterCommand.js +3 -3
  8. package/dist-cjs/commands/CreateFindingsReportCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteFilterCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +3 -3
  11. package/dist-cjs/commands/DisableCommand.js +3 -3
  12. package/dist-cjs/commands/DisableDelegatedAdminAccountCommand.js +3 -3
  13. package/dist-cjs/commands/DisassociateMemberCommand.js +3 -3
  14. package/dist-cjs/commands/EnableCommand.js +3 -3
  15. package/dist-cjs/commands/EnableDelegatedAdminAccountCommand.js +3 -3
  16. package/dist-cjs/commands/GetDelegatedAdminAccountCommand.js +3 -3
  17. package/dist-cjs/commands/GetFindingsReportStatusCommand.js +3 -3
  18. package/dist-cjs/commands/GetMemberCommand.js +3 -3
  19. package/dist-cjs/commands/ListAccountPermissionsCommand.js +3 -3
  20. package/dist-cjs/commands/ListCoverageCommand.js +3 -3
  21. package/dist-cjs/commands/ListCoverageStatisticsCommand.js +3 -3
  22. package/dist-cjs/commands/ListDelegatedAdminAccountsCommand.js +3 -3
  23. package/dist-cjs/commands/ListFiltersCommand.js +3 -3
  24. package/dist-cjs/commands/ListFindingAggregationsCommand.js +3 -3
  25. package/dist-cjs/commands/ListFindingsCommand.js +3 -3
  26. package/dist-cjs/commands/ListMembersCommand.js +3 -3
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  28. package/dist-cjs/commands/ListUsageTotalsCommand.js +3 -3
  29. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  30. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateFilterCommand.js +3 -3
  32. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
  33. package/dist-cjs/endpoints.js +1 -1
  34. package/dist-cjs/protocols/Aws_restJson1.js +287 -287
  35. package/dist-cjs/runtimeConfig.browser.js +4 -4
  36. package/dist-cjs/runtimeConfig.js +9 -9
  37. package/dist-cjs/runtimeConfig.native.js +1 -1
  38. package/dist-es/Inspector2.js +30 -30
  39. package/dist-es/pagination/ListAccountPermissionsPaginator.js +4 -4
  40. package/dist-es/pagination/ListCoveragePaginator.js +4 -4
  41. package/dist-es/pagination/ListCoverageStatisticsPaginator.js +4 -4
  42. package/dist-es/pagination/ListDelegatedAdminAccountsPaginator.js +4 -4
  43. package/dist-es/pagination/ListFiltersPaginator.js +4 -4
  44. package/dist-es/pagination/ListFindingAggregationsPaginator.js +4 -4
  45. package/dist-es/pagination/ListFindingsPaginator.js +4 -4
  46. package/dist-es/pagination/ListMembersPaginator.js +4 -4
  47. package/dist-es/pagination/ListUsageTotalsPaginator.js +4 -4
  48. package/dist-es/protocols/Aws_restJson1.js +30 -30
  49. package/dist-types/Inspector2Client.d.ts +2 -2
  50. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  51. package/dist-types/runtimeConfig.d.ts +1 -1
  52. package/dist-types/runtimeConfig.native.d.ts +3 -3
  53. package/dist-types/ts3.4/Inspector2Client.d.ts +2 -2
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  57. package/package.json +34 -34
@@ -272,7 +272,7 @@ const serializeAws_restJson1EnableCommand = async (input, context) => {
272
272
  body = JSON.stringify({
273
273
  ...(input.accountIds !== undefined &&
274
274
  input.accountIds !== null && { accountIds: serializeAws_restJson1AccountIdSet(input.accountIds, context) }),
275
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
275
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
276
276
  ...(input.resourceTypes !== undefined &&
277
277
  input.resourceTypes !== null && {
278
278
  resourceTypes: serializeAws_restJson1EnableResourceTypeList(input.resourceTypes, context),
@@ -298,7 +298,7 @@ const serializeAws_restJson1EnableDelegatedAdminAccountCommand = async (input, c
298
298
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/delegatedadminaccounts/enable";
299
299
  let body;
300
300
  body = JSON.stringify({
301
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
301
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
302
302
  ...(input.delegatedAdminAccountId !== undefined &&
303
303
  input.delegatedAdminAccountId !== null && { delegatedAdminAccountId: input.delegatedAdminAccountId }),
304
304
  });
@@ -587,7 +587,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
587
587
  if (labelValue.length <= 0) {
588
588
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
589
589
  }
590
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
590
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
591
591
  }
592
592
  else {
593
593
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -639,7 +639,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
639
639
  if (labelValue.length <= 0) {
640
640
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
641
641
  }
642
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
642
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
643
643
  }
644
644
  else {
645
645
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -668,7 +668,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
668
668
  if (labelValue.length <= 0) {
669
669
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
670
670
  }
671
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
671
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
672
672
  }
673
673
  else {
674
674
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -747,9 +747,9 @@ const deserializeAws_restJson1AssociateMemberCommand = async (output, context) =
747
747
  $metadata: deserializeMetadata(output),
748
748
  accountId: undefined,
749
749
  };
750
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
750
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
751
751
  if (data.accountId !== undefined && data.accountId !== null) {
752
- contents.accountId = smithy_client_1.expectString(data.accountId);
752
+ contents.accountId = (0, smithy_client_1.expectString)(data.accountId);
753
753
  }
754
754
  return Promise.resolve(contents);
755
755
  };
@@ -782,7 +782,7 @@ const deserializeAws_restJson1AssociateMemberCommandError = async (output, conte
782
782
  $fault: "client",
783
783
  $metadata: deserializeMetadata(output),
784
784
  });
785
- throw smithy_client_1.decorateServiceException(response, parsedBody);
785
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
786
786
  }
787
787
  };
788
788
  const deserializeAws_restJson1BatchGetAccountStatusCommand = async (output, context) => {
@@ -794,7 +794,7 @@ const deserializeAws_restJson1BatchGetAccountStatusCommand = async (output, cont
794
794
  accounts: undefined,
795
795
  failedAccounts: undefined,
796
796
  };
797
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
797
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
798
798
  if (data.accounts !== undefined && data.accounts !== null) {
799
799
  contents.accounts = deserializeAws_restJson1AccountStateList(data.accounts, context);
800
800
  }
@@ -835,7 +835,7 @@ const deserializeAws_restJson1BatchGetAccountStatusCommandError = async (output,
835
835
  $fault: "client",
836
836
  $metadata: deserializeMetadata(output),
837
837
  });
838
- throw smithy_client_1.decorateServiceException(response, parsedBody);
838
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
839
839
  }
840
840
  };
841
841
  const deserializeAws_restJson1BatchGetFreeTrialInfoCommand = async (output, context) => {
@@ -847,7 +847,7 @@ const deserializeAws_restJson1BatchGetFreeTrialInfoCommand = async (output, cont
847
847
  accounts: undefined,
848
848
  failedAccounts: undefined,
849
849
  };
850
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
850
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
851
851
  if (data.accounts !== undefined && data.accounts !== null) {
852
852
  contents.accounts = deserializeAws_restJson1FreeTrialAccountInfoList(data.accounts, context);
853
853
  }
@@ -885,7 +885,7 @@ const deserializeAws_restJson1BatchGetFreeTrialInfoCommandError = async (output,
885
885
  $fault: "client",
886
886
  $metadata: deserializeMetadata(output),
887
887
  });
888
- throw smithy_client_1.decorateServiceException(response, parsedBody);
888
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
889
889
  }
890
890
  };
891
891
  const deserializeAws_restJson1CancelFindingsReportCommand = async (output, context) => {
@@ -896,9 +896,9 @@ const deserializeAws_restJson1CancelFindingsReportCommand = async (output, conte
896
896
  $metadata: deserializeMetadata(output),
897
897
  reportId: undefined,
898
898
  };
899
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
899
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
900
900
  if (data.reportId !== undefined && data.reportId !== null) {
901
- contents.reportId = smithy_client_1.expectString(data.reportId);
901
+ contents.reportId = (0, smithy_client_1.expectString)(data.reportId);
902
902
  }
903
903
  return Promise.resolve(contents);
904
904
  };
@@ -934,7 +934,7 @@ const deserializeAws_restJson1CancelFindingsReportCommandError = async (output,
934
934
  $fault: "client",
935
935
  $metadata: deserializeMetadata(output),
936
936
  });
937
- throw smithy_client_1.decorateServiceException(response, parsedBody);
937
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
938
938
  }
939
939
  };
940
940
  const deserializeAws_restJson1CreateFilterCommand = async (output, context) => {
@@ -945,9 +945,9 @@ const deserializeAws_restJson1CreateFilterCommand = async (output, context) => {
945
945
  $metadata: deserializeMetadata(output),
946
946
  arn: undefined,
947
947
  };
948
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
948
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
949
949
  if (data.arn !== undefined && data.arn !== null) {
950
- contents.arn = smithy_client_1.expectString(data.arn);
950
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
951
951
  }
952
952
  return Promise.resolve(contents);
953
953
  };
@@ -986,7 +986,7 @@ const deserializeAws_restJson1CreateFilterCommandError = async (output, context)
986
986
  $fault: "client",
987
987
  $metadata: deserializeMetadata(output),
988
988
  });
989
- throw smithy_client_1.decorateServiceException(response, parsedBody);
989
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
990
990
  }
991
991
  };
992
992
  const deserializeAws_restJson1CreateFindingsReportCommand = async (output, context) => {
@@ -997,9 +997,9 @@ const deserializeAws_restJson1CreateFindingsReportCommand = async (output, conte
997
997
  $metadata: deserializeMetadata(output),
998
998
  reportId: undefined,
999
999
  };
1000
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1000
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1001
1001
  if (data.reportId !== undefined && data.reportId !== null) {
1002
- contents.reportId = smithy_client_1.expectString(data.reportId);
1002
+ contents.reportId = (0, smithy_client_1.expectString)(data.reportId);
1003
1003
  }
1004
1004
  return Promise.resolve(contents);
1005
1005
  };
@@ -1035,7 +1035,7 @@ const deserializeAws_restJson1CreateFindingsReportCommandError = async (output,
1035
1035
  $fault: "client",
1036
1036
  $metadata: deserializeMetadata(output),
1037
1037
  });
1038
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1038
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1039
1039
  }
1040
1040
  };
1041
1041
  const deserializeAws_restJson1DeleteFilterCommand = async (output, context) => {
@@ -1046,9 +1046,9 @@ const deserializeAws_restJson1DeleteFilterCommand = async (output, context) => {
1046
1046
  $metadata: deserializeMetadata(output),
1047
1047
  arn: undefined,
1048
1048
  };
1049
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1049
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1050
1050
  if (data.arn !== undefined && data.arn !== null) {
1051
- contents.arn = smithy_client_1.expectString(data.arn);
1051
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
1052
1052
  }
1053
1053
  return Promise.resolve(contents);
1054
1054
  };
@@ -1084,7 +1084,7 @@ const deserializeAws_restJson1DeleteFilterCommandError = async (output, context)
1084
1084
  $fault: "client",
1085
1085
  $metadata: deserializeMetadata(output),
1086
1086
  });
1087
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1087
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1088
1088
  }
1089
1089
  };
1090
1090
  const deserializeAws_restJson1DescribeOrganizationConfigurationCommand = async (output, context) => {
@@ -1096,12 +1096,12 @@ const deserializeAws_restJson1DescribeOrganizationConfigurationCommand = async (
1096
1096
  autoEnable: undefined,
1097
1097
  maxAccountLimitReached: undefined,
1098
1098
  };
1099
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1099
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1100
1100
  if (data.autoEnable !== undefined && data.autoEnable !== null) {
1101
1101
  contents.autoEnable = deserializeAws_restJson1AutoEnable(data.autoEnable, context);
1102
1102
  }
1103
1103
  if (data.maxAccountLimitReached !== undefined && data.maxAccountLimitReached !== null) {
1104
- contents.maxAccountLimitReached = smithy_client_1.expectBoolean(data.maxAccountLimitReached);
1104
+ contents.maxAccountLimitReached = (0, smithy_client_1.expectBoolean)(data.maxAccountLimitReached);
1105
1105
  }
1106
1106
  return Promise.resolve(contents);
1107
1107
  };
@@ -1134,7 +1134,7 @@ const deserializeAws_restJson1DescribeOrganizationConfigurationCommandError = as
1134
1134
  $fault: "client",
1135
1135
  $metadata: deserializeMetadata(output),
1136
1136
  });
1137
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1137
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1138
1138
  }
1139
1139
  };
1140
1140
  const deserializeAws_restJson1DisableCommand = async (output, context) => {
@@ -1146,7 +1146,7 @@ const deserializeAws_restJson1DisableCommand = async (output, context) => {
1146
1146
  accounts: undefined,
1147
1147
  failedAccounts: undefined,
1148
1148
  };
1149
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1149
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1150
1150
  if (data.accounts !== undefined && data.accounts !== null) {
1151
1151
  contents.accounts = deserializeAws_restJson1AccountList(data.accounts, context);
1152
1152
  }
@@ -1187,7 +1187,7 @@ const deserializeAws_restJson1DisableCommandError = async (output, context) => {
1187
1187
  $fault: "client",
1188
1188
  $metadata: deserializeMetadata(output),
1189
1189
  });
1190
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1190
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1191
1191
  }
1192
1192
  };
1193
1193
  const deserializeAws_restJson1DisableDelegatedAdminAccountCommand = async (output, context) => {
@@ -1198,9 +1198,9 @@ const deserializeAws_restJson1DisableDelegatedAdminAccountCommand = async (outpu
1198
1198
  $metadata: deserializeMetadata(output),
1199
1199
  delegatedAdminAccountId: undefined,
1200
1200
  };
1201
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1201
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1202
1202
  if (data.delegatedAdminAccountId !== undefined && data.delegatedAdminAccountId !== null) {
1203
- contents.delegatedAdminAccountId = smithy_client_1.expectString(data.delegatedAdminAccountId);
1203
+ contents.delegatedAdminAccountId = (0, smithy_client_1.expectString)(data.delegatedAdminAccountId);
1204
1204
  }
1205
1205
  return Promise.resolve(contents);
1206
1206
  };
@@ -1239,7 +1239,7 @@ const deserializeAws_restJson1DisableDelegatedAdminAccountCommandError = async (
1239
1239
  $fault: "client",
1240
1240
  $metadata: deserializeMetadata(output),
1241
1241
  });
1242
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1242
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1243
1243
  }
1244
1244
  };
1245
1245
  const deserializeAws_restJson1DisassociateMemberCommand = async (output, context) => {
@@ -1250,9 +1250,9 @@ const deserializeAws_restJson1DisassociateMemberCommand = async (output, context
1250
1250
  $metadata: deserializeMetadata(output),
1251
1251
  accountId: undefined,
1252
1252
  };
1253
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1253
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1254
1254
  if (data.accountId !== undefined && data.accountId !== null) {
1255
- contents.accountId = smithy_client_1.expectString(data.accountId);
1255
+ contents.accountId = (0, smithy_client_1.expectString)(data.accountId);
1256
1256
  }
1257
1257
  return Promise.resolve(contents);
1258
1258
  };
@@ -1285,7 +1285,7 @@ const deserializeAws_restJson1DisassociateMemberCommandError = async (output, co
1285
1285
  $fault: "client",
1286
1286
  $metadata: deserializeMetadata(output),
1287
1287
  });
1288
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1288
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1289
1289
  }
1290
1290
  };
1291
1291
  const deserializeAws_restJson1EnableCommand = async (output, context) => {
@@ -1297,7 +1297,7 @@ const deserializeAws_restJson1EnableCommand = async (output, context) => {
1297
1297
  accounts: undefined,
1298
1298
  failedAccounts: undefined,
1299
1299
  };
1300
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1300
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1301
1301
  if (data.accounts !== undefined && data.accounts !== null) {
1302
1302
  contents.accounts = deserializeAws_restJson1AccountList(data.accounts, context);
1303
1303
  }
@@ -1338,7 +1338,7 @@ const deserializeAws_restJson1EnableCommandError = async (output, context) => {
1338
1338
  $fault: "client",
1339
1339
  $metadata: deserializeMetadata(output),
1340
1340
  });
1341
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1341
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1342
1342
  }
1343
1343
  };
1344
1344
  const deserializeAws_restJson1EnableDelegatedAdminAccountCommand = async (output, context) => {
@@ -1349,9 +1349,9 @@ const deserializeAws_restJson1EnableDelegatedAdminAccountCommand = async (output
1349
1349
  $metadata: deserializeMetadata(output),
1350
1350
  delegatedAdminAccountId: undefined,
1351
1351
  };
1352
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1352
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1353
1353
  if (data.delegatedAdminAccountId !== undefined && data.delegatedAdminAccountId !== null) {
1354
- contents.delegatedAdminAccountId = smithy_client_1.expectString(data.delegatedAdminAccountId);
1354
+ contents.delegatedAdminAccountId = (0, smithy_client_1.expectString)(data.delegatedAdminAccountId);
1355
1355
  }
1356
1356
  return Promise.resolve(contents);
1357
1357
  };
@@ -1390,7 +1390,7 @@ const deserializeAws_restJson1EnableDelegatedAdminAccountCommandError = async (o
1390
1390
  $fault: "client",
1391
1391
  $metadata: deserializeMetadata(output),
1392
1392
  });
1393
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1393
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1394
1394
  }
1395
1395
  };
1396
1396
  const deserializeAws_restJson1GetDelegatedAdminAccountCommand = async (output, context) => {
@@ -1401,7 +1401,7 @@ const deserializeAws_restJson1GetDelegatedAdminAccountCommand = async (output, c
1401
1401
  $metadata: deserializeMetadata(output),
1402
1402
  delegatedAdmin: undefined,
1403
1403
  };
1404
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1404
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1405
1405
  if (data.delegatedAdmin !== undefined && data.delegatedAdmin !== null) {
1406
1406
  contents.delegatedAdmin = deserializeAws_restJson1DelegatedAdmin(data.delegatedAdmin, context);
1407
1407
  }
@@ -1439,7 +1439,7 @@ const deserializeAws_restJson1GetDelegatedAdminAccountCommandError = async (outp
1439
1439
  $fault: "client",
1440
1440
  $metadata: deserializeMetadata(output),
1441
1441
  });
1442
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1442
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1443
1443
  }
1444
1444
  };
1445
1445
  const deserializeAws_restJson1GetFindingsReportStatusCommand = async (output, context) => {
@@ -1455,24 +1455,24 @@ const deserializeAws_restJson1GetFindingsReportStatusCommand = async (output, co
1455
1455
  reportId: undefined,
1456
1456
  status: undefined,
1457
1457
  };
1458
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1458
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1459
1459
  if (data.destination !== undefined && data.destination !== null) {
1460
1460
  contents.destination = deserializeAws_restJson1Destination(data.destination, context);
1461
1461
  }
1462
1462
  if (data.errorCode !== undefined && data.errorCode !== null) {
1463
- contents.errorCode = smithy_client_1.expectString(data.errorCode);
1463
+ contents.errorCode = (0, smithy_client_1.expectString)(data.errorCode);
1464
1464
  }
1465
1465
  if (data.errorMessage !== undefined && data.errorMessage !== null) {
1466
- contents.errorMessage = smithy_client_1.expectString(data.errorMessage);
1466
+ contents.errorMessage = (0, smithy_client_1.expectString)(data.errorMessage);
1467
1467
  }
1468
1468
  if (data.filterCriteria !== undefined && data.filterCriteria !== null) {
1469
1469
  contents.filterCriteria = deserializeAws_restJson1FilterCriteria(data.filterCriteria, context);
1470
1470
  }
1471
1471
  if (data.reportId !== undefined && data.reportId !== null) {
1472
- contents.reportId = smithy_client_1.expectString(data.reportId);
1472
+ contents.reportId = (0, smithy_client_1.expectString)(data.reportId);
1473
1473
  }
1474
1474
  if (data.status !== undefined && data.status !== null) {
1475
- contents.status = smithy_client_1.expectString(data.status);
1475
+ contents.status = (0, smithy_client_1.expectString)(data.status);
1476
1476
  }
1477
1477
  return Promise.resolve(contents);
1478
1478
  };
@@ -1508,7 +1508,7 @@ const deserializeAws_restJson1GetFindingsReportStatusCommandError = async (outpu
1508
1508
  $fault: "client",
1509
1509
  $metadata: deserializeMetadata(output),
1510
1510
  });
1511
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1511
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1512
1512
  }
1513
1513
  };
1514
1514
  const deserializeAws_restJson1GetMemberCommand = async (output, context) => {
@@ -1519,7 +1519,7 @@ const deserializeAws_restJson1GetMemberCommand = async (output, context) => {
1519
1519
  $metadata: deserializeMetadata(output),
1520
1520
  member: undefined,
1521
1521
  };
1522
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1522
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1523
1523
  if (data.member !== undefined && data.member !== null) {
1524
1524
  contents.member = deserializeAws_restJson1Member(data.member, context);
1525
1525
  }
@@ -1557,7 +1557,7 @@ const deserializeAws_restJson1GetMemberCommandError = async (output, context) =>
1557
1557
  $fault: "client",
1558
1558
  $metadata: deserializeMetadata(output),
1559
1559
  });
1560
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1560
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1561
1561
  }
1562
1562
  };
1563
1563
  const deserializeAws_restJson1ListAccountPermissionsCommand = async (output, context) => {
@@ -1569,9 +1569,9 @@ const deserializeAws_restJson1ListAccountPermissionsCommand = async (output, con
1569
1569
  nextToken: undefined,
1570
1570
  permissions: undefined,
1571
1571
  };
1572
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1572
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1573
1573
  if (data.nextToken !== undefined && data.nextToken !== null) {
1574
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1574
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1575
1575
  }
1576
1576
  if (data.permissions !== undefined && data.permissions !== null) {
1577
1577
  contents.permissions = deserializeAws_restJson1Permissions(data.permissions, context);
@@ -1607,7 +1607,7 @@ const deserializeAws_restJson1ListAccountPermissionsCommandError = async (output
1607
1607
  $fault: "client",
1608
1608
  $metadata: deserializeMetadata(output),
1609
1609
  });
1610
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1610
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1611
1611
  }
1612
1612
  };
1613
1613
  const deserializeAws_restJson1ListCoverageCommand = async (output, context) => {
@@ -1619,12 +1619,12 @@ const deserializeAws_restJson1ListCoverageCommand = async (output, context) => {
1619
1619
  coveredResources: undefined,
1620
1620
  nextToken: undefined,
1621
1621
  };
1622
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1622
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1623
1623
  if (data.coveredResources !== undefined && data.coveredResources !== null) {
1624
1624
  contents.coveredResources = deserializeAws_restJson1CoveredResources(data.coveredResources, context);
1625
1625
  }
1626
1626
  if (data.nextToken !== undefined && data.nextToken !== null) {
1627
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1627
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1628
1628
  }
1629
1629
  return Promise.resolve(contents);
1630
1630
  };
@@ -1654,7 +1654,7 @@ const deserializeAws_restJson1ListCoverageCommandError = async (output, context)
1654
1654
  $fault: "client",
1655
1655
  $metadata: deserializeMetadata(output),
1656
1656
  });
1657
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1657
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1658
1658
  }
1659
1659
  };
1660
1660
  const deserializeAws_restJson1ListCoverageStatisticsCommand = async (output, context) => {
@@ -1667,15 +1667,15 @@ const deserializeAws_restJson1ListCoverageStatisticsCommand = async (output, con
1667
1667
  nextToken: undefined,
1668
1668
  totalCounts: undefined,
1669
1669
  };
1670
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1670
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1671
1671
  if (data.countsByGroup !== undefined && data.countsByGroup !== null) {
1672
1672
  contents.countsByGroup = deserializeAws_restJson1CountsList(data.countsByGroup, context);
1673
1673
  }
1674
1674
  if (data.nextToken !== undefined && data.nextToken !== null) {
1675
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1675
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1676
1676
  }
1677
1677
  if (data.totalCounts !== undefined && data.totalCounts !== null) {
1678
- contents.totalCounts = smithy_client_1.expectLong(data.totalCounts);
1678
+ contents.totalCounts = (0, smithy_client_1.expectLong)(data.totalCounts);
1679
1679
  }
1680
1680
  return Promise.resolve(contents);
1681
1681
  };
@@ -1705,7 +1705,7 @@ const deserializeAws_restJson1ListCoverageStatisticsCommandError = async (output
1705
1705
  $fault: "client",
1706
1706
  $metadata: deserializeMetadata(output),
1707
1707
  });
1708
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1708
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1709
1709
  }
1710
1710
  };
1711
1711
  const deserializeAws_restJson1ListDelegatedAdminAccountsCommand = async (output, context) => {
@@ -1717,12 +1717,12 @@ const deserializeAws_restJson1ListDelegatedAdminAccountsCommand = async (output,
1717
1717
  delegatedAdminAccounts: undefined,
1718
1718
  nextToken: undefined,
1719
1719
  };
1720
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1720
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1721
1721
  if (data.delegatedAdminAccounts !== undefined && data.delegatedAdminAccounts !== null) {
1722
1722
  contents.delegatedAdminAccounts = deserializeAws_restJson1DelegatedAdminAccountList(data.delegatedAdminAccounts, context);
1723
1723
  }
1724
1724
  if (data.nextToken !== undefined && data.nextToken !== null) {
1725
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1725
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1726
1726
  }
1727
1727
  return Promise.resolve(contents);
1728
1728
  };
@@ -1755,7 +1755,7 @@ const deserializeAws_restJson1ListDelegatedAdminAccountsCommandError = async (ou
1755
1755
  $fault: "client",
1756
1756
  $metadata: deserializeMetadata(output),
1757
1757
  });
1758
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1758
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1759
1759
  }
1760
1760
  };
1761
1761
  const deserializeAws_restJson1ListFiltersCommand = async (output, context) => {
@@ -1767,12 +1767,12 @@ const deserializeAws_restJson1ListFiltersCommand = async (output, context) => {
1767
1767
  filters: undefined,
1768
1768
  nextToken: undefined,
1769
1769
  };
1770
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1770
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1771
1771
  if (data.filters !== undefined && data.filters !== null) {
1772
1772
  contents.filters = deserializeAws_restJson1FilterList(data.filters, context);
1773
1773
  }
1774
1774
  if (data.nextToken !== undefined && data.nextToken !== null) {
1775
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1775
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1776
1776
  }
1777
1777
  return Promise.resolve(contents);
1778
1778
  };
@@ -1805,7 +1805,7 @@ const deserializeAws_restJson1ListFiltersCommandError = async (output, context)
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_restJson1ListFindingAggregationsCommand = async (output, context) => {
@@ -1818,12 +1818,12 @@ const deserializeAws_restJson1ListFindingAggregationsCommand = async (output, co
1818
1818
  nextToken: undefined,
1819
1819
  responses: undefined,
1820
1820
  };
1821
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1821
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1822
1822
  if (data.aggregationType !== undefined && data.aggregationType !== null) {
1823
- contents.aggregationType = smithy_client_1.expectString(data.aggregationType);
1823
+ contents.aggregationType = (0, smithy_client_1.expectString)(data.aggregationType);
1824
1824
  }
1825
1825
  if (data.nextToken !== undefined && data.nextToken !== null) {
1826
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1826
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1827
1827
  }
1828
1828
  if (data.responses !== undefined && data.responses !== null) {
1829
1829
  contents.responses = deserializeAws_restJson1AggregationResponseList(data.responses, context);
@@ -1856,7 +1856,7 @@ const deserializeAws_restJson1ListFindingAggregationsCommandError = async (outpu
1856
1856
  $fault: "client",
1857
1857
  $metadata: deserializeMetadata(output),
1858
1858
  });
1859
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1859
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1860
1860
  }
1861
1861
  };
1862
1862
  const deserializeAws_restJson1ListFindingsCommand = async (output, context) => {
@@ -1868,12 +1868,12 @@ const deserializeAws_restJson1ListFindingsCommand = async (output, context) => {
1868
1868
  findings: undefined,
1869
1869
  nextToken: undefined,
1870
1870
  };
1871
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1871
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1872
1872
  if (data.findings !== undefined && data.findings !== null) {
1873
1873
  contents.findings = deserializeAws_restJson1FindingList(data.findings, context);
1874
1874
  }
1875
1875
  if (data.nextToken !== undefined && data.nextToken !== null) {
1876
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1876
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1877
1877
  }
1878
1878
  return Promise.resolve(contents);
1879
1879
  };
@@ -1903,7 +1903,7 @@ const deserializeAws_restJson1ListFindingsCommandError = async (output, context)
1903
1903
  $fault: "client",
1904
1904
  $metadata: deserializeMetadata(output),
1905
1905
  });
1906
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1906
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1907
1907
  }
1908
1908
  };
1909
1909
  const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
@@ -1915,12 +1915,12 @@ const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
1915
1915
  members: undefined,
1916
1916
  nextToken: undefined,
1917
1917
  };
1918
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1918
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1919
1919
  if (data.members !== undefined && data.members !== null) {
1920
1920
  contents.members = deserializeAws_restJson1MemberList(data.members, context);
1921
1921
  }
1922
1922
  if (data.nextToken !== undefined && data.nextToken !== null) {
1923
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1923
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1924
1924
  }
1925
1925
  return Promise.resolve(contents);
1926
1926
  };
@@ -1953,7 +1953,7 @@ const deserializeAws_restJson1ListMembersCommandError = async (output, context)
1953
1953
  $fault: "client",
1954
1954
  $metadata: deserializeMetadata(output),
1955
1955
  });
1956
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1956
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1957
1957
  }
1958
1958
  };
1959
1959
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -1964,7 +1964,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
1964
1964
  $metadata: deserializeMetadata(output),
1965
1965
  tags: undefined,
1966
1966
  };
1967
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1967
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1968
1968
  if (data.tags !== undefined && data.tags !== null) {
1969
1969
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1970
1970
  }
@@ -1999,7 +1999,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1999
1999
  $fault: "client",
2000
2000
  $metadata: deserializeMetadata(output),
2001
2001
  });
2002
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2002
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2003
2003
  }
2004
2004
  };
2005
2005
  const deserializeAws_restJson1ListUsageTotalsCommand = async (output, context) => {
@@ -2011,9 +2011,9 @@ const deserializeAws_restJson1ListUsageTotalsCommand = async (output, context) =
2011
2011
  nextToken: undefined,
2012
2012
  totals: undefined,
2013
2013
  };
2014
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2014
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2015
2015
  if (data.nextToken !== undefined && data.nextToken !== null) {
2016
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2016
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2017
2017
  }
2018
2018
  if (data.totals !== undefined && data.totals !== null) {
2019
2019
  contents.totals = deserializeAws_restJson1UsageTotalList(data.totals, context);
@@ -2049,7 +2049,7 @@ const deserializeAws_restJson1ListUsageTotalsCommandError = async (output, conte
2049
2049
  $fault: "client",
2050
2050
  $metadata: deserializeMetadata(output),
2051
2051
  });
2052
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2052
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2053
2053
  }
2054
2054
  };
2055
2055
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -2094,7 +2094,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2094
2094
  $fault: "client",
2095
2095
  $metadata: deserializeMetadata(output),
2096
2096
  });
2097
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2097
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2098
2098
  }
2099
2099
  };
2100
2100
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -2136,7 +2136,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2136
2136
  $fault: "client",
2137
2137
  $metadata: deserializeMetadata(output),
2138
2138
  });
2139
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2139
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2140
2140
  }
2141
2141
  };
2142
2142
  const deserializeAws_restJson1UpdateFilterCommand = async (output, context) => {
@@ -2147,9 +2147,9 @@ const deserializeAws_restJson1UpdateFilterCommand = async (output, context) => {
2147
2147
  $metadata: deserializeMetadata(output),
2148
2148
  arn: undefined,
2149
2149
  };
2150
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2150
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2151
2151
  if (data.arn !== undefined && data.arn !== null) {
2152
- contents.arn = smithy_client_1.expectString(data.arn);
2152
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
2153
2153
  }
2154
2154
  return Promise.resolve(contents);
2155
2155
  };
@@ -2185,7 +2185,7 @@ const deserializeAws_restJson1UpdateFilterCommandError = async (output, context)
2185
2185
  $fault: "client",
2186
2186
  $metadata: deserializeMetadata(output),
2187
2187
  });
2188
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2188
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2189
2189
  }
2190
2190
  };
2191
2191
  const deserializeAws_restJson1UpdateOrganizationConfigurationCommand = async (output, context) => {
@@ -2196,7 +2196,7 @@ const deserializeAws_restJson1UpdateOrganizationConfigurationCommand = async (ou
2196
2196
  $metadata: deserializeMetadata(output),
2197
2197
  autoEnable: undefined,
2198
2198
  };
2199
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2199
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2200
2200
  if (data.autoEnable !== undefined && data.autoEnable !== null) {
2201
2201
  contents.autoEnable = deserializeAws_restJson1AutoEnable(data.autoEnable, context);
2202
2202
  }
@@ -2231,104 +2231,104 @@ const deserializeAws_restJson1UpdateOrganizationConfigurationCommandError = asyn
2231
2231
  $fault: "client",
2232
2232
  $metadata: deserializeMetadata(output),
2233
2233
  });
2234
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2234
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2235
2235
  }
2236
2236
  };
2237
2237
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2238
2238
  const contents = {};
2239
2239
  const data = parsedOutput.body;
2240
2240
  if (data.message !== undefined && data.message !== null) {
2241
- contents.message = smithy_client_1.expectString(data.message);
2241
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2242
2242
  }
2243
2243
  const exception = new models_0_1.AccessDeniedException({
2244
2244
  $metadata: deserializeMetadata(parsedOutput),
2245
2245
  ...contents,
2246
2246
  });
2247
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2247
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2248
2248
  };
2249
2249
  const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
2250
2250
  const contents = {};
2251
2251
  const data = parsedOutput.body;
2252
2252
  if (data.message !== undefined && data.message !== null) {
2253
- contents.message = smithy_client_1.expectString(data.message);
2253
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2254
2254
  }
2255
2255
  const exception = new models_0_1.BadRequestException({
2256
2256
  $metadata: deserializeMetadata(parsedOutput),
2257
2257
  ...contents,
2258
2258
  });
2259
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2259
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2260
2260
  };
2261
2261
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2262
2262
  const contents = {};
2263
2263
  const data = parsedOutput.body;
2264
2264
  if (data.message !== undefined && data.message !== null) {
2265
- contents.message = smithy_client_1.expectString(data.message);
2265
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2266
2266
  }
2267
2267
  if (data.resourceId !== undefined && data.resourceId !== null) {
2268
- contents.resourceId = smithy_client_1.expectString(data.resourceId);
2268
+ contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
2269
2269
  }
2270
2270
  if (data.resourceType !== undefined && data.resourceType !== null) {
2271
- contents.resourceType = smithy_client_1.expectString(data.resourceType);
2271
+ contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2272
2272
  }
2273
2273
  const exception = new models_0_1.ConflictException({
2274
2274
  $metadata: deserializeMetadata(parsedOutput),
2275
2275
  ...contents,
2276
2276
  });
2277
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2277
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2278
2278
  };
2279
2279
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2280
2280
  const contents = {};
2281
2281
  if (parsedOutput.headers["retry-after"] !== undefined) {
2282
- contents.retryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
2282
+ contents.retryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
2283
2283
  }
2284
2284
  const data = parsedOutput.body;
2285
2285
  if (data.message !== undefined && data.message !== null) {
2286
- contents.message = smithy_client_1.expectString(data.message);
2286
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2287
2287
  }
2288
2288
  const exception = new models_0_1.InternalServerException({
2289
2289
  $metadata: deserializeMetadata(parsedOutput),
2290
2290
  ...contents,
2291
2291
  });
2292
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2292
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2293
2293
  };
2294
2294
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2295
2295
  const contents = {};
2296
2296
  const data = parsedOutput.body;
2297
2297
  if (data.message !== undefined && data.message !== null) {
2298
- contents.message = smithy_client_1.expectString(data.message);
2298
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2299
2299
  }
2300
2300
  const exception = new models_0_1.ResourceNotFoundException({
2301
2301
  $metadata: deserializeMetadata(parsedOutput),
2302
2302
  ...contents,
2303
2303
  });
2304
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2304
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2305
2305
  };
2306
2306
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2307
2307
  const contents = {};
2308
2308
  const data = parsedOutput.body;
2309
2309
  if (data.message !== undefined && data.message !== null) {
2310
- contents.message = smithy_client_1.expectString(data.message);
2310
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2311
2311
  }
2312
2312
  if (data.resourceId !== undefined && data.resourceId !== null) {
2313
- contents.resourceId = smithy_client_1.expectString(data.resourceId);
2313
+ contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
2314
2314
  }
2315
2315
  const exception = new models_0_1.ServiceQuotaExceededException({
2316
2316
  $metadata: deserializeMetadata(parsedOutput),
2317
2317
  ...contents,
2318
2318
  });
2319
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2319
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2320
2320
  };
2321
2321
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2322
2322
  const contents = {};
2323
2323
  const data = parsedOutput.body;
2324
2324
  if (data.message !== undefined && data.message !== null) {
2325
- contents.message = smithy_client_1.expectString(data.message);
2325
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2326
2326
  }
2327
2327
  const exception = new models_0_1.ThrottlingException({
2328
2328
  $metadata: deserializeMetadata(parsedOutput),
2329
2329
  ...contents,
2330
2330
  });
2331
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2331
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2332
2332
  };
2333
2333
  const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2334
2334
  const contents = {};
@@ -2337,16 +2337,16 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2337
2337
  contents.fields = deserializeAws_restJson1ValidationExceptionFields(data.fields, context);
2338
2338
  }
2339
2339
  if (data.message !== undefined && data.message !== null) {
2340
- contents.message = smithy_client_1.expectString(data.message);
2340
+ contents.message = (0, smithy_client_1.expectString)(data.message);
2341
2341
  }
2342
2342
  if (data.reason !== undefined && data.reason !== null) {
2343
- contents.reason = smithy_client_1.expectString(data.reason);
2343
+ contents.reason = (0, smithy_client_1.expectString)(data.reason);
2344
2344
  }
2345
2345
  const exception = new models_0_1.ValidationException({
2346
2346
  $metadata: deserializeMetadata(parsedOutput),
2347
2347
  ...contents,
2348
2348
  });
2349
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2349
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2350
2350
  };
2351
2351
  const serializeAws_restJson1AccountAggregation = (input, context) => {
2352
2352
  return {
@@ -2744,9 +2744,9 @@ const serializeAws_restJson1MeteringAccountIdList = (input, context) => {
2744
2744
  const serializeAws_restJson1NumberFilter = (input, context) => {
2745
2745
  return {
2746
2746
  ...(input.lowerInclusive !== undefined &&
2747
- input.lowerInclusive !== null && { lowerInclusive: smithy_client_1.serializeFloat(input.lowerInclusive) }),
2747
+ input.lowerInclusive !== null && { lowerInclusive: (0, smithy_client_1.serializeFloat)(input.lowerInclusive) }),
2748
2748
  ...(input.upperInclusive !== undefined &&
2749
- input.upperInclusive !== null && { upperInclusive: smithy_client_1.serializeFloat(input.upperInclusive) }),
2749
+ input.upperInclusive !== null && { upperInclusive: (0, smithy_client_1.serializeFloat)(input.upperInclusive) }),
2750
2750
  };
2751
2751
  };
2752
2752
  const serializeAws_restJson1NumberFilterList = (input, context) => {
@@ -2882,16 +2882,16 @@ const serializeAws_restJson1UsageAccountIdList = (input, context) => {
2882
2882
  };
2883
2883
  const deserializeAws_restJson1Account = (output, context) => {
2884
2884
  return {
2885
- accountId: smithy_client_1.expectString(output.accountId),
2885
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
2886
2886
  resourceStatus: output.resourceStatus !== undefined && output.resourceStatus !== null
2887
2887
  ? deserializeAws_restJson1ResourceStatus(output.resourceStatus, context)
2888
2888
  : undefined,
2889
- status: smithy_client_1.expectString(output.status),
2889
+ status: (0, smithy_client_1.expectString)(output.status),
2890
2890
  };
2891
2891
  };
2892
2892
  const deserializeAws_restJson1AccountAggregationResponse = (output, context) => {
2893
2893
  return {
2894
- accountId: smithy_client_1.expectString(output.accountId),
2894
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
2895
2895
  severityCounts: output.severityCounts !== undefined && output.severityCounts !== null
2896
2896
  ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
2897
2897
  : undefined,
@@ -2910,7 +2910,7 @@ const deserializeAws_restJson1AccountList = (output, context) => {
2910
2910
  };
2911
2911
  const deserializeAws_restJson1AccountState = (output, context) => {
2912
2912
  return {
2913
- accountId: smithy_client_1.expectString(output.accountId),
2913
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
2914
2914
  resourceState: output.resourceState !== undefined && output.resourceState !== null
2915
2915
  ? deserializeAws_restJson1ResourceState(output.resourceState, context)
2916
2916
  : undefined,
@@ -2985,15 +2985,15 @@ const deserializeAws_restJson1AggregationResponseList = (output, context) => {
2985
2985
  if (entry === null) {
2986
2986
  return null;
2987
2987
  }
2988
- return deserializeAws_restJson1AggregationResponse(smithy_client_1.expectUnion(entry), context);
2988
+ return deserializeAws_restJson1AggregationResponse((0, smithy_client_1.expectUnion)(entry), context);
2989
2989
  });
2990
2990
  return retVal;
2991
2991
  };
2992
2992
  const deserializeAws_restJson1AmiAggregationResponse = (output, context) => {
2993
2993
  return {
2994
- accountId: smithy_client_1.expectString(output.accountId),
2995
- affectedInstances: smithy_client_1.expectLong(output.affectedInstances),
2996
- ami: smithy_client_1.expectString(output.ami),
2994
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
2995
+ affectedInstances: (0, smithy_client_1.expectLong)(output.affectedInstances),
2996
+ ami: (0, smithy_client_1.expectString)(output.ami),
2997
2997
  severityCounts: output.severityCounts !== undefined && output.severityCounts !== null
2998
2998
  ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
2999
2999
  : undefined,
@@ -3001,40 +3001,40 @@ const deserializeAws_restJson1AmiAggregationResponse = (output, context) => {
3001
3001
  };
3002
3002
  const deserializeAws_restJson1AutoEnable = (output, context) => {
3003
3003
  return {
3004
- ec2: smithy_client_1.expectBoolean(output.ec2),
3005
- ecr: smithy_client_1.expectBoolean(output.ecr),
3004
+ ec2: (0, smithy_client_1.expectBoolean)(output.ec2),
3005
+ ecr: (0, smithy_client_1.expectBoolean)(output.ecr),
3006
3006
  };
3007
3007
  };
3008
3008
  const deserializeAws_restJson1AwsEc2InstanceDetails = (output, context) => {
3009
3009
  return {
3010
- iamInstanceProfileArn: smithy_client_1.expectString(output.iamInstanceProfileArn),
3011
- imageId: smithy_client_1.expectString(output.imageId),
3010
+ iamInstanceProfileArn: (0, smithy_client_1.expectString)(output.iamInstanceProfileArn),
3011
+ imageId: (0, smithy_client_1.expectString)(output.imageId),
3012
3012
  ipV4Addresses: output.ipV4Addresses !== undefined && output.ipV4Addresses !== null
3013
3013
  ? deserializeAws_restJson1IpV4AddressList(output.ipV4Addresses, context)
3014
3014
  : undefined,
3015
3015
  ipV6Addresses: output.ipV6Addresses !== undefined && output.ipV6Addresses !== null
3016
3016
  ? deserializeAws_restJson1IpV6AddressList(output.ipV6Addresses, context)
3017
3017
  : undefined,
3018
- keyName: smithy_client_1.expectString(output.keyName),
3018
+ keyName: (0, smithy_client_1.expectString)(output.keyName),
3019
3019
  launchedAt: output.launchedAt !== undefined && output.launchedAt !== null
3020
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.launchedAt)))
3020
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.launchedAt)))
3021
3021
  : undefined,
3022
- platform: smithy_client_1.expectString(output.platform),
3023
- subnetId: smithy_client_1.expectString(output.subnetId),
3024
- type: smithy_client_1.expectString(output.type),
3025
- vpcId: smithy_client_1.expectString(output.vpcId),
3022
+ platform: (0, smithy_client_1.expectString)(output.platform),
3023
+ subnetId: (0, smithy_client_1.expectString)(output.subnetId),
3024
+ type: (0, smithy_client_1.expectString)(output.type),
3025
+ vpcId: (0, smithy_client_1.expectString)(output.vpcId),
3026
3026
  };
3027
3027
  };
3028
3028
  const deserializeAws_restJson1AwsEcrContainerAggregationResponse = (output, context) => {
3029
3029
  return {
3030
- accountId: smithy_client_1.expectString(output.accountId),
3031
- architecture: smithy_client_1.expectString(output.architecture),
3032
- imageSha: smithy_client_1.expectString(output.imageSha),
3030
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3031
+ architecture: (0, smithy_client_1.expectString)(output.architecture),
3032
+ imageSha: (0, smithy_client_1.expectString)(output.imageSha),
3033
3033
  imageTags: output.imageTags !== undefined && output.imageTags !== null
3034
3034
  ? deserializeAws_restJson1StringList(output.imageTags, context)
3035
3035
  : undefined,
3036
- repository: smithy_client_1.expectString(output.repository),
3037
- resourceId: smithy_client_1.expectString(output.resourceId),
3036
+ repository: (0, smithy_client_1.expectString)(output.repository),
3037
+ resourceId: (0, smithy_client_1.expectString)(output.resourceId),
3038
3038
  severityCounts: output.severityCounts !== undefined && output.severityCounts !== null
3039
3039
  ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3040
3040
  : undefined,
@@ -3042,24 +3042,24 @@ const deserializeAws_restJson1AwsEcrContainerAggregationResponse = (output, cont
3042
3042
  };
3043
3043
  const deserializeAws_restJson1AwsEcrContainerImageDetails = (output, context) => {
3044
3044
  return {
3045
- architecture: smithy_client_1.expectString(output.architecture),
3046
- author: smithy_client_1.expectString(output.author),
3047
- imageHash: smithy_client_1.expectString(output.imageHash),
3045
+ architecture: (0, smithy_client_1.expectString)(output.architecture),
3046
+ author: (0, smithy_client_1.expectString)(output.author),
3047
+ imageHash: (0, smithy_client_1.expectString)(output.imageHash),
3048
3048
  imageTags: output.imageTags !== undefined && output.imageTags !== null
3049
3049
  ? deserializeAws_restJson1ImageTagList(output.imageTags, context)
3050
3050
  : undefined,
3051
- platform: smithy_client_1.expectString(output.platform),
3051
+ platform: (0, smithy_client_1.expectString)(output.platform),
3052
3052
  pushedAt: output.pushedAt !== undefined && output.pushedAt !== null
3053
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.pushedAt)))
3053
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.pushedAt)))
3054
3054
  : undefined,
3055
- registry: smithy_client_1.expectString(output.registry),
3056
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3055
+ registry: (0, smithy_client_1.expectString)(output.registry),
3056
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3057
3057
  };
3058
3058
  };
3059
3059
  const deserializeAws_restJson1Counts = (output, context) => {
3060
3060
  return {
3061
- count: smithy_client_1.expectLong(output.count),
3062
- groupKey: smithy_client_1.expectString(output.groupKey),
3061
+ count: (0, smithy_client_1.expectLong)(output.count),
3062
+ groupKey: (0, smithy_client_1.expectString)(output.groupKey),
3063
3063
  };
3064
3064
  };
3065
3065
  const deserializeAws_restJson1CountsList = (output, context) => {
@@ -3075,16 +3075,16 @@ const deserializeAws_restJson1CountsList = (output, context) => {
3075
3075
  };
3076
3076
  const deserializeAws_restJson1CoveredResource = (output, context) => {
3077
3077
  return {
3078
- accountId: smithy_client_1.expectString(output.accountId),
3079
- resourceId: smithy_client_1.expectString(output.resourceId),
3078
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3079
+ resourceId: (0, smithy_client_1.expectString)(output.resourceId),
3080
3080
  resourceMetadata: output.resourceMetadata !== undefined && output.resourceMetadata !== null
3081
3081
  ? deserializeAws_restJson1ResourceScanMetadata(output.resourceMetadata, context)
3082
3082
  : undefined,
3083
- resourceType: smithy_client_1.expectString(output.resourceType),
3083
+ resourceType: (0, smithy_client_1.expectString)(output.resourceType),
3084
3084
  scanStatus: output.scanStatus !== undefined && output.scanStatus !== null
3085
3085
  ? deserializeAws_restJson1ScanStatus(output.scanStatus, context)
3086
3086
  : undefined,
3087
- scanType: smithy_client_1.expectString(output.scanType),
3087
+ scanType: (0, smithy_client_1.expectString)(output.scanType),
3088
3088
  };
3089
3089
  };
3090
3090
  const deserializeAws_restJson1CoveredResources = (output, context) => {
@@ -3100,16 +3100,16 @@ const deserializeAws_restJson1CoveredResources = (output, context) => {
3100
3100
  };
3101
3101
  const deserializeAws_restJson1CvssScore = (output, context) => {
3102
3102
  return {
3103
- baseScore: smithy_client_1.limitedParseDouble(output.baseScore),
3104
- scoringVector: smithy_client_1.expectString(output.scoringVector),
3105
- source: smithy_client_1.expectString(output.source),
3106
- version: smithy_client_1.expectString(output.version),
3103
+ baseScore: (0, smithy_client_1.limitedParseDouble)(output.baseScore),
3104
+ scoringVector: (0, smithy_client_1.expectString)(output.scoringVector),
3105
+ source: (0, smithy_client_1.expectString)(output.source),
3106
+ version: (0, smithy_client_1.expectString)(output.version),
3107
3107
  };
3108
3108
  };
3109
3109
  const deserializeAws_restJson1CvssScoreAdjustment = (output, context) => {
3110
3110
  return {
3111
- metric: smithy_client_1.expectString(output.metric),
3112
- reason: smithy_client_1.expectString(output.reason),
3111
+ metric: (0, smithy_client_1.expectString)(output.metric),
3112
+ reason: (0, smithy_client_1.expectString)(output.reason),
3113
3113
  };
3114
3114
  };
3115
3115
  const deserializeAws_restJson1CvssScoreAdjustmentList = (output, context) => {
@@ -3128,11 +3128,11 @@ const deserializeAws_restJson1CvssScoreDetails = (output, context) => {
3128
3128
  adjustments: output.adjustments !== undefined && output.adjustments !== null
3129
3129
  ? deserializeAws_restJson1CvssScoreAdjustmentList(output.adjustments, context)
3130
3130
  : undefined,
3131
- cvssSource: smithy_client_1.expectString(output.cvssSource),
3132
- score: smithy_client_1.limitedParseDouble(output.score),
3133
- scoreSource: smithy_client_1.expectString(output.scoreSource),
3134
- scoringVector: smithy_client_1.expectString(output.scoringVector),
3135
- version: smithy_client_1.expectString(output.version),
3131
+ cvssSource: (0, smithy_client_1.expectString)(output.cvssSource),
3132
+ score: (0, smithy_client_1.limitedParseDouble)(output.score),
3133
+ scoreSource: (0, smithy_client_1.expectString)(output.scoreSource),
3134
+ scoringVector: (0, smithy_client_1.expectString)(output.scoringVector),
3135
+ version: (0, smithy_client_1.expectString)(output.version),
3136
3136
  };
3137
3137
  };
3138
3138
  const deserializeAws_restJson1CvssScoreList = (output, context) => {
@@ -3149,10 +3149,10 @@ const deserializeAws_restJson1CvssScoreList = (output, context) => {
3149
3149
  const deserializeAws_restJson1DateFilter = (output, context) => {
3150
3150
  return {
3151
3151
  endInclusive: output.endInclusive !== undefined && output.endInclusive !== null
3152
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endInclusive)))
3152
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endInclusive)))
3153
3153
  : undefined,
3154
3154
  startInclusive: output.startInclusive !== undefined && output.startInclusive !== null
3155
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startInclusive)))
3155
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startInclusive)))
3156
3156
  : undefined,
3157
3157
  };
3158
3158
  };
@@ -3169,14 +3169,14 @@ const deserializeAws_restJson1DateFilterList = (output, context) => {
3169
3169
  };
3170
3170
  const deserializeAws_restJson1DelegatedAdmin = (output, context) => {
3171
3171
  return {
3172
- accountId: smithy_client_1.expectString(output.accountId),
3173
- relationshipStatus: smithy_client_1.expectString(output.relationshipStatus),
3172
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3173
+ relationshipStatus: (0, smithy_client_1.expectString)(output.relationshipStatus),
3174
3174
  };
3175
3175
  };
3176
3176
  const deserializeAws_restJson1DelegatedAdminAccount = (output, context) => {
3177
3177
  return {
3178
- accountId: smithy_client_1.expectString(output.accountId),
3179
- status: smithy_client_1.expectString(output.status),
3178
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3179
+ status: (0, smithy_client_1.expectString)(output.status),
3180
3180
  };
3181
3181
  };
3182
3182
  const deserializeAws_restJson1DelegatedAdminAccountList = (output, context) => {
@@ -3192,21 +3192,21 @@ const deserializeAws_restJson1DelegatedAdminAccountList = (output, context) => {
3192
3192
  };
3193
3193
  const deserializeAws_restJson1Destination = (output, context) => {
3194
3194
  return {
3195
- bucketName: smithy_client_1.expectString(output.bucketName),
3196
- keyPrefix: smithy_client_1.expectString(output.keyPrefix),
3197
- kmsKeyArn: smithy_client_1.expectString(output.kmsKeyArn),
3195
+ bucketName: (0, smithy_client_1.expectString)(output.bucketName),
3196
+ keyPrefix: (0, smithy_client_1.expectString)(output.keyPrefix),
3197
+ kmsKeyArn: (0, smithy_client_1.expectString)(output.kmsKeyArn),
3198
3198
  };
3199
3199
  };
3200
3200
  const deserializeAws_restJson1Ec2InstanceAggregationResponse = (output, context) => {
3201
3201
  return {
3202
- accountId: smithy_client_1.expectString(output.accountId),
3203
- ami: smithy_client_1.expectString(output.ami),
3204
- instanceId: smithy_client_1.expectString(output.instanceId),
3202
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3203
+ ami: (0, smithy_client_1.expectString)(output.ami),
3204
+ instanceId: (0, smithy_client_1.expectString)(output.instanceId),
3205
3205
  instanceTags: output.instanceTags !== undefined && output.instanceTags !== null
3206
3206
  ? deserializeAws_restJson1TagMap(output.instanceTags, context)
3207
3207
  : undefined,
3208
- networkFindings: smithy_client_1.expectLong(output.networkFindings),
3209
- operatingSystem: smithy_client_1.expectString(output.operatingSystem),
3208
+ networkFindings: (0, smithy_client_1.expectLong)(output.networkFindings),
3209
+ operatingSystem: (0, smithy_client_1.expectString)(output.operatingSystem),
3210
3210
  severityCounts: output.severityCounts !== undefined && output.severityCounts !== null
3211
3211
  ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3212
3212
  : undefined,
@@ -3214,8 +3214,8 @@ const deserializeAws_restJson1Ec2InstanceAggregationResponse = (output, context)
3214
3214
  };
3215
3215
  const deserializeAws_restJson1Ec2Metadata = (output, context) => {
3216
3216
  return {
3217
- amiId: smithy_client_1.expectString(output.amiId),
3218
- platform: smithy_client_1.expectString(output.platform),
3217
+ amiId: (0, smithy_client_1.expectString)(output.amiId),
3218
+ platform: (0, smithy_client_1.expectString)(output.platform),
3219
3219
  tags: output.tags !== undefined && output.tags !== null
3220
3220
  ? deserializeAws_restJson1TagMap(output.tags, context)
3221
3221
  : undefined,
@@ -3230,19 +3230,19 @@ const deserializeAws_restJson1EcrContainerImageMetadata = (output, context) => {
3230
3230
  };
3231
3231
  const deserializeAws_restJson1EcrRepositoryMetadata = (output, context) => {
3232
3232
  return {
3233
- name: smithy_client_1.expectString(output.name),
3234
- scanFrequency: smithy_client_1.expectString(output.scanFrequency),
3233
+ name: (0, smithy_client_1.expectString)(output.name),
3234
+ scanFrequency: (0, smithy_client_1.expectString)(output.scanFrequency),
3235
3235
  };
3236
3236
  };
3237
3237
  const deserializeAws_restJson1FailedAccount = (output, context) => {
3238
3238
  return {
3239
- accountId: smithy_client_1.expectString(output.accountId),
3240
- errorCode: smithy_client_1.expectString(output.errorCode),
3241
- errorMessage: smithy_client_1.expectString(output.errorMessage),
3239
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3240
+ errorCode: (0, smithy_client_1.expectString)(output.errorCode),
3241
+ errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
3242
3242
  resourceStatus: output.resourceStatus !== undefined && output.resourceStatus !== null
3243
3243
  ? deserializeAws_restJson1ResourceStatus(output.resourceStatus, context)
3244
3244
  : undefined,
3245
- status: smithy_client_1.expectString(output.status),
3245
+ status: (0, smithy_client_1.expectString)(output.status),
3246
3246
  };
3247
3247
  };
3248
3248
  const deserializeAws_restJson1FailedAccountList = (output, context) => {
@@ -3258,23 +3258,23 @@ const deserializeAws_restJson1FailedAccountList = (output, context) => {
3258
3258
  };
3259
3259
  const deserializeAws_restJson1Filter = (output, context) => {
3260
3260
  return {
3261
- action: smithy_client_1.expectString(output.action),
3262
- arn: smithy_client_1.expectString(output.arn),
3261
+ action: (0, smithy_client_1.expectString)(output.action),
3262
+ arn: (0, smithy_client_1.expectString)(output.arn),
3263
3263
  createdAt: output.createdAt !== undefined && output.createdAt !== null
3264
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
3264
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
3265
3265
  : undefined,
3266
3266
  criteria: output.criteria !== undefined && output.criteria !== null
3267
3267
  ? deserializeAws_restJson1FilterCriteria(output.criteria, context)
3268
3268
  : undefined,
3269
- description: smithy_client_1.expectString(output.description),
3270
- name: smithy_client_1.expectString(output.name),
3271
- ownerId: smithy_client_1.expectString(output.ownerId),
3272
- reason: smithy_client_1.expectString(output.reason),
3269
+ description: (0, smithy_client_1.expectString)(output.description),
3270
+ name: (0, smithy_client_1.expectString)(output.name),
3271
+ ownerId: (0, smithy_client_1.expectString)(output.ownerId),
3272
+ reason: (0, smithy_client_1.expectString)(output.reason),
3273
3273
  tags: output.tags !== undefined && output.tags !== null
3274
3274
  ? deserializeAws_restJson1TagMap(output.tags, context)
3275
3275
  : undefined,
3276
3276
  updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
3277
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updatedAt)))
3277
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt)))
3278
3278
  : undefined,
3279
3279
  };
3280
3280
  };
@@ -3388,18 +3388,18 @@ const deserializeAws_restJson1FilterList = (output, context) => {
3388
3388
  };
3389
3389
  const deserializeAws_restJson1Finding = (output, context) => {
3390
3390
  return {
3391
- awsAccountId: smithy_client_1.expectString(output.awsAccountId),
3392
- description: smithy_client_1.expectString(output.description),
3393
- findingArn: smithy_client_1.expectString(output.findingArn),
3391
+ awsAccountId: (0, smithy_client_1.expectString)(output.awsAccountId),
3392
+ description: (0, smithy_client_1.expectString)(output.description),
3393
+ findingArn: (0, smithy_client_1.expectString)(output.findingArn),
3394
3394
  firstObservedAt: output.firstObservedAt !== undefined && output.firstObservedAt !== null
3395
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.firstObservedAt)))
3395
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.firstObservedAt)))
3396
3396
  : undefined,
3397
- inspectorScore: smithy_client_1.limitedParseDouble(output.inspectorScore),
3397
+ inspectorScore: (0, smithy_client_1.limitedParseDouble)(output.inspectorScore),
3398
3398
  inspectorScoreDetails: output.inspectorScoreDetails !== undefined && output.inspectorScoreDetails !== null
3399
3399
  ? deserializeAws_restJson1InspectorScoreDetails(output.inspectorScoreDetails, context)
3400
3400
  : undefined,
3401
3401
  lastObservedAt: output.lastObservedAt !== undefined && output.lastObservedAt !== null
3402
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastObservedAt)))
3402
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastObservedAt)))
3403
3403
  : undefined,
3404
3404
  networkReachabilityDetails: output.networkReachabilityDetails !== undefined && output.networkReachabilityDetails !== null
3405
3405
  ? deserializeAws_restJson1NetworkReachabilityDetails(output.networkReachabilityDetails, context)
@@ -3413,12 +3413,12 @@ const deserializeAws_restJson1Finding = (output, context) => {
3413
3413
  resources: output.resources !== undefined && output.resources !== null
3414
3414
  ? deserializeAws_restJson1ResourceList(output.resources, context)
3415
3415
  : undefined,
3416
- severity: smithy_client_1.expectString(output.severity),
3417
- status: smithy_client_1.expectString(output.status),
3418
- title: smithy_client_1.expectString(output.title),
3419
- type: smithy_client_1.expectString(output.type),
3416
+ severity: (0, smithy_client_1.expectString)(output.severity),
3417
+ status: (0, smithy_client_1.expectString)(output.status),
3418
+ title: (0, smithy_client_1.expectString)(output.title),
3419
+ type: (0, smithy_client_1.expectString)(output.type),
3420
3420
  updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
3421
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updatedAt)))
3421
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt)))
3422
3422
  : undefined,
3423
3423
  };
3424
3424
  };
@@ -3435,7 +3435,7 @@ const deserializeAws_restJson1FindingList = (output, context) => {
3435
3435
  };
3436
3436
  const deserializeAws_restJson1FindingTypeAggregationResponse = (output, context) => {
3437
3437
  return {
3438
- accountId: smithy_client_1.expectString(output.accountId),
3438
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3439
3439
  severityCounts: output.severityCounts !== undefined && output.severityCounts !== null
3440
3440
  ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3441
3441
  : undefined,
@@ -3443,7 +3443,7 @@ const deserializeAws_restJson1FindingTypeAggregationResponse = (output, context)
3443
3443
  };
3444
3444
  const deserializeAws_restJson1FreeTrialAccountInfo = (output, context) => {
3445
3445
  return {
3446
- accountId: smithy_client_1.expectString(output.accountId),
3446
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3447
3447
  freeTrialInfo: output.freeTrialInfo !== undefined && output.freeTrialInfo !== null
3448
3448
  ? deserializeAws_restJson1FreeTrialInfoList(output.freeTrialInfo, context)
3449
3449
  : undefined,
@@ -3463,20 +3463,20 @@ const deserializeAws_restJson1FreeTrialAccountInfoList = (output, context) => {
3463
3463
  const deserializeAws_restJson1FreeTrialInfo = (output, context) => {
3464
3464
  return {
3465
3465
  end: output.end !== undefined && output.end !== null
3466
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.end)))
3466
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.end)))
3467
3467
  : undefined,
3468
3468
  start: output.start !== undefined && output.start !== null
3469
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.start)))
3469
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.start)))
3470
3470
  : undefined,
3471
- status: smithy_client_1.expectString(output.status),
3472
- type: smithy_client_1.expectString(output.type),
3471
+ status: (0, smithy_client_1.expectString)(output.status),
3472
+ type: (0, smithy_client_1.expectString)(output.type),
3473
3473
  };
3474
3474
  };
3475
3475
  const deserializeAws_restJson1FreeTrialInfoError = (output, context) => {
3476
3476
  return {
3477
- accountId: smithy_client_1.expectString(output.accountId),
3478
- code: smithy_client_1.expectString(output.code),
3479
- message: smithy_client_1.expectString(output.message),
3477
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3478
+ code: (0, smithy_client_1.expectString)(output.code),
3479
+ message: (0, smithy_client_1.expectString)(output.message),
3480
3480
  };
3481
3481
  };
3482
3482
  const deserializeAws_restJson1FreeTrialInfoErrorList = (output, context) => {
@@ -3503,10 +3503,10 @@ const deserializeAws_restJson1FreeTrialInfoList = (output, context) => {
3503
3503
  };
3504
3504
  const deserializeAws_restJson1ImageLayerAggregationResponse = (output, context) => {
3505
3505
  return {
3506
- accountId: smithy_client_1.expectString(output.accountId),
3507
- layerHash: smithy_client_1.expectString(output.layerHash),
3508
- repository: smithy_client_1.expectString(output.repository),
3509
- resourceId: smithy_client_1.expectString(output.resourceId),
3506
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3507
+ layerHash: (0, smithy_client_1.expectString)(output.layerHash),
3508
+ repository: (0, smithy_client_1.expectString)(output.repository),
3509
+ resourceId: (0, smithy_client_1.expectString)(output.resourceId),
3510
3510
  severityCounts: output.severityCounts !== undefined && output.severityCounts !== null
3511
3511
  ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3512
3512
  : undefined,
@@ -3519,7 +3519,7 @@ const deserializeAws_restJson1ImageTagList = (output, context) => {
3519
3519
  if (entry === null) {
3520
3520
  return null;
3521
3521
  }
3522
- return smithy_client_1.expectString(entry);
3522
+ return (0, smithy_client_1.expectString)(entry);
3523
3523
  });
3524
3524
  return retVal;
3525
3525
  };
@@ -3537,7 +3537,7 @@ const deserializeAws_restJson1IpV4AddressList = (output, context) => {
3537
3537
  if (entry === null) {
3538
3538
  return null;
3539
3539
  }
3540
- return smithy_client_1.expectString(entry);
3540
+ return (0, smithy_client_1.expectString)(entry);
3541
3541
  });
3542
3542
  return retVal;
3543
3543
  };
@@ -3548,15 +3548,15 @@ const deserializeAws_restJson1IpV6AddressList = (output, context) => {
3548
3548
  if (entry === null) {
3549
3549
  return null;
3550
3550
  }
3551
- return smithy_client_1.expectString(entry);
3551
+ return (0, smithy_client_1.expectString)(entry);
3552
3552
  });
3553
3553
  return retVal;
3554
3554
  };
3555
3555
  const deserializeAws_restJson1MapFilter = (output, context) => {
3556
3556
  return {
3557
- comparison: smithy_client_1.expectString(output.comparison),
3558
- key: smithy_client_1.expectString(output.key),
3559
- value: smithy_client_1.expectString(output.value),
3557
+ comparison: (0, smithy_client_1.expectString)(output.comparison),
3558
+ key: (0, smithy_client_1.expectString)(output.key),
3559
+ value: (0, smithy_client_1.expectString)(output.value),
3560
3560
  };
3561
3561
  };
3562
3562
  const deserializeAws_restJson1MapFilterList = (output, context) => {
@@ -3572,11 +3572,11 @@ const deserializeAws_restJson1MapFilterList = (output, context) => {
3572
3572
  };
3573
3573
  const deserializeAws_restJson1Member = (output, context) => {
3574
3574
  return {
3575
- accountId: smithy_client_1.expectString(output.accountId),
3576
- delegatedAdminAccountId: smithy_client_1.expectString(output.delegatedAdminAccountId),
3577
- relationshipStatus: smithy_client_1.expectString(output.relationshipStatus),
3575
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3576
+ delegatedAdminAccountId: (0, smithy_client_1.expectString)(output.delegatedAdminAccountId),
3577
+ relationshipStatus: (0, smithy_client_1.expectString)(output.relationshipStatus),
3578
3578
  updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
3579
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updatedAt)))
3579
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt)))
3580
3580
  : undefined,
3581
3581
  };
3582
3582
  };
@@ -3606,7 +3606,7 @@ const deserializeAws_restJson1NetworkReachabilityDetails = (output, context) =>
3606
3606
  openPortRange: output.openPortRange !== undefined && output.openPortRange !== null
3607
3607
  ? deserializeAws_restJson1PortRange(output.openPortRange, context)
3608
3608
  : undefined,
3609
- protocol: smithy_client_1.expectString(output.protocol),
3609
+ protocol: (0, smithy_client_1.expectString)(output.protocol),
3610
3610
  };
3611
3611
  };
3612
3612
  const deserializeAws_restJson1NonEmptyStringList = (output, context) => {
@@ -3616,14 +3616,14 @@ const deserializeAws_restJson1NonEmptyStringList = (output, context) => {
3616
3616
  if (entry === null) {
3617
3617
  return null;
3618
3618
  }
3619
- return smithy_client_1.expectString(entry);
3619
+ return (0, smithy_client_1.expectString)(entry);
3620
3620
  });
3621
3621
  return retVal;
3622
3622
  };
3623
3623
  const deserializeAws_restJson1NumberFilter = (output, context) => {
3624
3624
  return {
3625
- lowerInclusive: smithy_client_1.limitedParseDouble(output.lowerInclusive),
3626
- upperInclusive: smithy_client_1.limitedParseDouble(output.upperInclusive),
3625
+ lowerInclusive: (0, smithy_client_1.limitedParseDouble)(output.lowerInclusive),
3626
+ upperInclusive: (0, smithy_client_1.limitedParseDouble)(output.upperInclusive),
3627
3627
  };
3628
3628
  };
3629
3629
  const deserializeAws_restJson1NumberFilterList = (output, context) => {
@@ -3639,8 +3639,8 @@ const deserializeAws_restJson1NumberFilterList = (output, context) => {
3639
3639
  };
3640
3640
  const deserializeAws_restJson1PackageAggregationResponse = (output, context) => {
3641
3641
  return {
3642
- accountId: smithy_client_1.expectString(output.accountId),
3643
- packageName: smithy_client_1.expectString(output.packageName),
3642
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3643
+ packageName: (0, smithy_client_1.expectString)(output.packageName),
3644
3644
  severityCounts: output.severityCounts !== undefined && output.severityCounts !== null
3645
3645
  ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3646
3646
  : undefined,
@@ -3690,16 +3690,16 @@ const deserializeAws_restJson1PackageVulnerabilityDetails = (output, context) =>
3690
3690
  relatedVulnerabilities: output.relatedVulnerabilities !== undefined && output.relatedVulnerabilities !== null
3691
3691
  ? deserializeAws_restJson1VulnerabilityIdList(output.relatedVulnerabilities, context)
3692
3692
  : undefined,
3693
- source: smithy_client_1.expectString(output.source),
3694
- sourceUrl: smithy_client_1.expectString(output.sourceUrl),
3693
+ source: (0, smithy_client_1.expectString)(output.source),
3694
+ sourceUrl: (0, smithy_client_1.expectString)(output.sourceUrl),
3695
3695
  vendorCreatedAt: output.vendorCreatedAt !== undefined && output.vendorCreatedAt !== null
3696
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.vendorCreatedAt)))
3696
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.vendorCreatedAt)))
3697
3697
  : undefined,
3698
- vendorSeverity: smithy_client_1.expectString(output.vendorSeverity),
3698
+ vendorSeverity: (0, smithy_client_1.expectString)(output.vendorSeverity),
3699
3699
  vendorUpdatedAt: output.vendorUpdatedAt !== undefined && output.vendorUpdatedAt !== null
3700
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.vendorUpdatedAt)))
3700
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.vendorUpdatedAt)))
3701
3701
  : undefined,
3702
- vulnerabilityId: smithy_client_1.expectString(output.vulnerabilityId),
3702
+ vulnerabilityId: (0, smithy_client_1.expectString)(output.vulnerabilityId),
3703
3703
  vulnerablePackages: output.vulnerablePackages !== undefined && output.vulnerablePackages !== null
3704
3704
  ? deserializeAws_restJson1VulnerablePackageList(output.vulnerablePackages, context)
3705
3705
  : undefined,
@@ -3707,8 +3707,8 @@ const deserializeAws_restJson1PackageVulnerabilityDetails = (output, context) =>
3707
3707
  };
3708
3708
  const deserializeAws_restJson1Permission = (output, context) => {
3709
3709
  return {
3710
- operation: smithy_client_1.expectString(output.operation),
3711
- service: smithy_client_1.expectString(output.service),
3710
+ operation: (0, smithy_client_1.expectString)(output.operation),
3711
+ service: (0, smithy_client_1.expectString)(output.service),
3712
3712
  };
3713
3713
  };
3714
3714
  const deserializeAws_restJson1Permissions = (output, context) => {
@@ -3724,14 +3724,14 @@ const deserializeAws_restJson1Permissions = (output, context) => {
3724
3724
  };
3725
3725
  const deserializeAws_restJson1PortRange = (output, context) => {
3726
3726
  return {
3727
- begin: smithy_client_1.expectInt32(output.begin),
3728
- end: smithy_client_1.expectInt32(output.end),
3727
+ begin: (0, smithy_client_1.expectInt32)(output.begin),
3728
+ end: (0, smithy_client_1.expectInt32)(output.end),
3729
3729
  };
3730
3730
  };
3731
3731
  const deserializeAws_restJson1PortRangeFilter = (output, context) => {
3732
3732
  return {
3733
- beginInclusive: smithy_client_1.expectInt32(output.beginInclusive),
3734
- endInclusive: smithy_client_1.expectInt32(output.endInclusive),
3733
+ beginInclusive: (0, smithy_client_1.expectInt32)(output.beginInclusive),
3734
+ endInclusive: (0, smithy_client_1.expectInt32)(output.endInclusive),
3735
3735
  };
3736
3736
  };
3737
3737
  const deserializeAws_restJson1PortRangeFilterList = (output, context) => {
@@ -3747,8 +3747,8 @@ const deserializeAws_restJson1PortRangeFilterList = (output, context) => {
3747
3747
  };
3748
3748
  const deserializeAws_restJson1Recommendation = (output, context) => {
3749
3749
  return {
3750
- Url: smithy_client_1.expectString(output.Url),
3751
- text: smithy_client_1.expectString(output.text),
3750
+ Url: (0, smithy_client_1.expectString)(output.Url),
3751
+ text: (0, smithy_client_1.expectString)(output.text),
3752
3752
  };
3753
3753
  };
3754
3754
  const deserializeAws_restJson1Remediation = (output, context) => {
@@ -3760,9 +3760,9 @@ const deserializeAws_restJson1Remediation = (output, context) => {
3760
3760
  };
3761
3761
  const deserializeAws_restJson1RepositoryAggregationResponse = (output, context) => {
3762
3762
  return {
3763
- accountId: smithy_client_1.expectString(output.accountId),
3764
- affectedImages: smithy_client_1.expectLong(output.affectedImages),
3765
- repository: smithy_client_1.expectString(output.repository),
3763
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3764
+ affectedImages: (0, smithy_client_1.expectLong)(output.affectedImages),
3765
+ repository: (0, smithy_client_1.expectString)(output.repository),
3766
3766
  severityCounts: output.severityCounts !== undefined && output.severityCounts !== null
3767
3767
  ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3768
3768
  : undefined,
@@ -3773,13 +3773,13 @@ const deserializeAws_restJson1Resource = (output, context) => {
3773
3773
  details: output.details !== undefined && output.details !== null
3774
3774
  ? deserializeAws_restJson1ResourceDetails(output.details, context)
3775
3775
  : undefined,
3776
- id: smithy_client_1.expectString(output.id),
3777
- partition: smithy_client_1.expectString(output.partition),
3778
- region: smithy_client_1.expectString(output.region),
3776
+ id: (0, smithy_client_1.expectString)(output.id),
3777
+ partition: (0, smithy_client_1.expectString)(output.partition),
3778
+ region: (0, smithy_client_1.expectString)(output.region),
3779
3779
  tags: output.tags !== undefined && output.tags !== null
3780
3780
  ? deserializeAws_restJson1TagMap(output.tags, context)
3781
3781
  : undefined,
3782
- type: smithy_client_1.expectString(output.type),
3782
+ type: (0, smithy_client_1.expectString)(output.type),
3783
3783
  };
3784
3784
  };
3785
3785
  const deserializeAws_restJson1ResourceDetails = (output, context) => {
@@ -3824,35 +3824,35 @@ const deserializeAws_restJson1ResourceState = (output, context) => {
3824
3824
  };
3825
3825
  const deserializeAws_restJson1ResourceStatus = (output, context) => {
3826
3826
  return {
3827
- ec2: smithy_client_1.expectString(output.ec2),
3828
- ecr: smithy_client_1.expectString(output.ecr),
3827
+ ec2: (0, smithy_client_1.expectString)(output.ec2),
3828
+ ecr: (0, smithy_client_1.expectString)(output.ecr),
3829
3829
  };
3830
3830
  };
3831
3831
  const deserializeAws_restJson1ScanStatus = (output, context) => {
3832
3832
  return {
3833
- reason: smithy_client_1.expectString(output.reason),
3834
- statusCode: smithy_client_1.expectString(output.statusCode),
3833
+ reason: (0, smithy_client_1.expectString)(output.reason),
3834
+ statusCode: (0, smithy_client_1.expectString)(output.statusCode),
3835
3835
  };
3836
3836
  };
3837
3837
  const deserializeAws_restJson1SeverityCounts = (output, context) => {
3838
3838
  return {
3839
- all: smithy_client_1.expectLong(output.all),
3840
- critical: smithy_client_1.expectLong(output.critical),
3841
- high: smithy_client_1.expectLong(output.high),
3842
- medium: smithy_client_1.expectLong(output.medium),
3839
+ all: (0, smithy_client_1.expectLong)(output.all),
3840
+ critical: (0, smithy_client_1.expectLong)(output.critical),
3841
+ high: (0, smithy_client_1.expectLong)(output.high),
3842
+ medium: (0, smithy_client_1.expectLong)(output.medium),
3843
3843
  };
3844
3844
  };
3845
3845
  const deserializeAws_restJson1State = (output, context) => {
3846
3846
  return {
3847
- errorCode: smithy_client_1.expectString(output.errorCode),
3848
- errorMessage: smithy_client_1.expectString(output.errorMessage),
3849
- status: smithy_client_1.expectString(output.status),
3847
+ errorCode: (0, smithy_client_1.expectString)(output.errorCode),
3848
+ errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
3849
+ status: (0, smithy_client_1.expectString)(output.status),
3850
3850
  };
3851
3851
  };
3852
3852
  const deserializeAws_restJson1Step = (output, context) => {
3853
3853
  return {
3854
- componentId: smithy_client_1.expectString(output.componentId),
3855
- componentType: smithy_client_1.expectString(output.componentType),
3854
+ componentId: (0, smithy_client_1.expectString)(output.componentId),
3855
+ componentType: (0, smithy_client_1.expectString)(output.componentType),
3856
3856
  };
3857
3857
  };
3858
3858
  const deserializeAws_restJson1StepList = (output, context) => {
@@ -3868,8 +3868,8 @@ const deserializeAws_restJson1StepList = (output, context) => {
3868
3868
  };
3869
3869
  const deserializeAws_restJson1StringFilter = (output, context) => {
3870
3870
  return {
3871
- comparison: smithy_client_1.expectString(output.comparison),
3872
- value: smithy_client_1.expectString(output.value),
3871
+ comparison: (0, smithy_client_1.expectString)(output.comparison),
3872
+ value: (0, smithy_client_1.expectString)(output.value),
3873
3873
  };
3874
3874
  };
3875
3875
  const deserializeAws_restJson1StringFilterList = (output, context) => {
@@ -3890,7 +3890,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
3890
3890
  if (entry === null) {
3891
3891
  return null;
3892
3892
  }
3893
- return smithy_client_1.expectString(entry);
3893
+ return (0, smithy_client_1.expectString)(entry);
3894
3894
  });
3895
3895
  return retVal;
3896
3896
  };
@@ -3901,7 +3901,7 @@ const deserializeAws_restJson1TagList = (output, context) => {
3901
3901
  if (entry === null) {
3902
3902
  return null;
3903
3903
  }
3904
- return smithy_client_1.expectString(entry);
3904
+ return (0, smithy_client_1.expectString)(entry);
3905
3905
  });
3906
3906
  return retVal;
3907
3907
  };
@@ -3912,26 +3912,26 @@ const deserializeAws_restJson1TagMap = (output, context) => {
3912
3912
  }
3913
3913
  return {
3914
3914
  ...acc,
3915
- [key]: smithy_client_1.expectString(value),
3915
+ [key]: (0, smithy_client_1.expectString)(value),
3916
3916
  };
3917
3917
  }, {});
3918
3918
  };
3919
3919
  const deserializeAws_restJson1TitleAggregationResponse = (output, context) => {
3920
3920
  return {
3921
- accountId: smithy_client_1.expectString(output.accountId),
3921
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3922
3922
  severityCounts: output.severityCounts !== undefined && output.severityCounts !== null
3923
3923
  ? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
3924
3924
  : undefined,
3925
- title: smithy_client_1.expectString(output.title),
3926
- vulnerabilityId: smithy_client_1.expectString(output.vulnerabilityId),
3925
+ title: (0, smithy_client_1.expectString)(output.title),
3926
+ vulnerabilityId: (0, smithy_client_1.expectString)(output.vulnerabilityId),
3927
3927
  };
3928
3928
  };
3929
3929
  const deserializeAws_restJson1Usage = (output, context) => {
3930
3930
  return {
3931
- currency: smithy_client_1.expectString(output.currency),
3932
- estimatedMonthlyCost: smithy_client_1.limitedParseDouble(output.estimatedMonthlyCost),
3933
- total: smithy_client_1.limitedParseDouble(output.total),
3934
- type: smithy_client_1.expectString(output.type),
3931
+ currency: (0, smithy_client_1.expectString)(output.currency),
3932
+ estimatedMonthlyCost: (0, smithy_client_1.limitedParseDouble)(output.estimatedMonthlyCost),
3933
+ total: (0, smithy_client_1.limitedParseDouble)(output.total),
3934
+ type: (0, smithy_client_1.expectString)(output.type),
3935
3935
  };
3936
3936
  };
3937
3937
  const deserializeAws_restJson1UsageList = (output, context) => {
@@ -3947,7 +3947,7 @@ const deserializeAws_restJson1UsageList = (output, context) => {
3947
3947
  };
3948
3948
  const deserializeAws_restJson1UsageTotal = (output, context) => {
3949
3949
  return {
3950
- accountId: smithy_client_1.expectString(output.accountId),
3950
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
3951
3951
  usage: output.usage !== undefined && output.usage !== null
3952
3952
  ? deserializeAws_restJson1UsageList(output.usage, context)
3953
3953
  : undefined,
@@ -3966,8 +3966,8 @@ const deserializeAws_restJson1UsageTotalList = (output, context) => {
3966
3966
  };
3967
3967
  const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
3968
3968
  return {
3969
- message: smithy_client_1.expectString(output.message),
3970
- name: smithy_client_1.expectString(output.name),
3969
+ message: (0, smithy_client_1.expectString)(output.message),
3970
+ name: (0, smithy_client_1.expectString)(output.name),
3971
3971
  };
3972
3972
  };
3973
3973
  const deserializeAws_restJson1ValidationExceptionFields = (output, context) => {
@@ -3988,21 +3988,21 @@ const deserializeAws_restJson1VulnerabilityIdList = (output, context) => {
3988
3988
  if (entry === null) {
3989
3989
  return null;
3990
3990
  }
3991
- return smithy_client_1.expectString(entry);
3991
+ return (0, smithy_client_1.expectString)(entry);
3992
3992
  });
3993
3993
  return retVal;
3994
3994
  };
3995
3995
  const deserializeAws_restJson1VulnerablePackage = (output, context) => {
3996
3996
  return {
3997
- arch: smithy_client_1.expectString(output.arch),
3998
- epoch: smithy_client_1.expectInt32(output.epoch),
3999
- filePath: smithy_client_1.expectString(output.filePath),
4000
- fixedInVersion: smithy_client_1.expectString(output.fixedInVersion),
4001
- name: smithy_client_1.expectString(output.name),
4002
- packageManager: smithy_client_1.expectString(output.packageManager),
4003
- release: smithy_client_1.expectString(output.release),
4004
- sourceLayerHash: smithy_client_1.expectString(output.sourceLayerHash),
4005
- version: smithy_client_1.expectString(output.version),
3997
+ arch: (0, smithy_client_1.expectString)(output.arch),
3998
+ epoch: (0, smithy_client_1.expectInt32)(output.epoch),
3999
+ filePath: (0, smithy_client_1.expectString)(output.filePath),
4000
+ fixedInVersion: (0, smithy_client_1.expectString)(output.fixedInVersion),
4001
+ name: (0, smithy_client_1.expectString)(output.name),
4002
+ packageManager: (0, smithy_client_1.expectString)(output.packageManager),
4003
+ release: (0, smithy_client_1.expectString)(output.release),
4004
+ sourceLayerHash: (0, smithy_client_1.expectString)(output.sourceLayerHash),
4005
+ version: (0, smithy_client_1.expectString)(output.version),
4006
4006
  };
4007
4007
  };
4008
4008
  const deserializeAws_restJson1VulnerablePackageList = (output, context) => {