@aws-sdk/client-macie2 3.54.0 → 3.56.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 (79) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/Macie2Client.js +13 -13
  3. package/dist-cjs/commands/AcceptInvitationCommand.js +3 -3
  4. package/dist-cjs/commands/BatchGetCustomDataIdentifiersCommand.js +3 -3
  5. package/dist-cjs/commands/CreateClassificationJobCommand.js +3 -3
  6. package/dist-cjs/commands/CreateCustomDataIdentifierCommand.js +3 -3
  7. package/dist-cjs/commands/CreateFindingsFilterCommand.js +3 -3
  8. package/dist-cjs/commands/CreateInvitationsCommand.js +3 -3
  9. package/dist-cjs/commands/CreateMemberCommand.js +3 -3
  10. package/dist-cjs/commands/CreateSampleFindingsCommand.js +3 -3
  11. package/dist-cjs/commands/DeclineInvitationsCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteCustomDataIdentifierCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteFindingsFilterCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteInvitationsCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteMemberCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeBucketsCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeClassificationJobCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +3 -3
  19. package/dist-cjs/commands/DisableMacieCommand.js +3 -3
  20. package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +3 -3
  21. package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +3 -3
  22. package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +3 -3
  23. package/dist-cjs/commands/DisassociateMemberCommand.js +3 -3
  24. package/dist-cjs/commands/EnableMacieCommand.js +3 -3
  25. package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +3 -3
  26. package/dist-cjs/commands/GetAdministratorAccountCommand.js +3 -3
  27. package/dist-cjs/commands/GetBucketStatisticsCommand.js +3 -3
  28. package/dist-cjs/commands/GetClassificationExportConfigurationCommand.js +3 -3
  29. package/dist-cjs/commands/GetCustomDataIdentifierCommand.js +3 -3
  30. package/dist-cjs/commands/GetFindingStatisticsCommand.js +3 -3
  31. package/dist-cjs/commands/GetFindingsCommand.js +3 -3
  32. package/dist-cjs/commands/GetFindingsFilterCommand.js +3 -3
  33. package/dist-cjs/commands/GetFindingsPublicationConfigurationCommand.js +3 -3
  34. package/dist-cjs/commands/GetInvitationsCountCommand.js +3 -3
  35. package/dist-cjs/commands/GetMacieSessionCommand.js +3 -3
  36. package/dist-cjs/commands/GetMasterAccountCommand.js +3 -3
  37. package/dist-cjs/commands/GetMemberCommand.js +3 -3
  38. package/dist-cjs/commands/GetUsageStatisticsCommand.js +3 -3
  39. package/dist-cjs/commands/GetUsageTotalsCommand.js +3 -3
  40. package/dist-cjs/commands/ListClassificationJobsCommand.js +3 -3
  41. package/dist-cjs/commands/ListCustomDataIdentifiersCommand.js +3 -3
  42. package/dist-cjs/commands/ListFindingsCommand.js +3 -3
  43. package/dist-cjs/commands/ListFindingsFiltersCommand.js +3 -3
  44. package/dist-cjs/commands/ListInvitationsCommand.js +3 -3
  45. package/dist-cjs/commands/ListManagedDataIdentifiersCommand.js +3 -3
  46. package/dist-cjs/commands/ListMembersCommand.js +3 -3
  47. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +3 -3
  48. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  49. package/dist-cjs/commands/PutClassificationExportConfigurationCommand.js +3 -3
  50. package/dist-cjs/commands/PutFindingsPublicationConfigurationCommand.js +3 -3
  51. package/dist-cjs/commands/SearchResourcesCommand.js +3 -3
  52. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  53. package/dist-cjs/commands/TestCustomDataIdentifierCommand.js +3 -3
  54. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  55. package/dist-cjs/commands/UpdateClassificationJobCommand.js +3 -3
  56. package/dist-cjs/commands/UpdateFindingsFilterCommand.js +3 -3
  57. package/dist-cjs/commands/UpdateMacieSessionCommand.js +3 -3
  58. package/dist-cjs/commands/UpdateMemberSessionCommand.js +3 -3
  59. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
  60. package/dist-cjs/endpoints.js +1 -1
  61. package/dist-cjs/protocols/Aws_restJson1.js +456 -456
  62. package/dist-cjs/runtimeConfig.browser.js +4 -4
  63. package/dist-cjs/runtimeConfig.js +9 -9
  64. package/dist-cjs/runtimeConfig.native.js +1 -1
  65. package/dist-es/Macie2.js +57 -57
  66. package/dist-es/pagination/DescribeBucketsPaginator.js +4 -4
  67. package/dist-es/pagination/GetUsageStatisticsPaginator.js +4 -4
  68. package/dist-es/pagination/ListClassificationJobsPaginator.js +4 -4
  69. package/dist-es/pagination/ListCustomDataIdentifiersPaginator.js +4 -4
  70. package/dist-es/pagination/ListFindingsFiltersPaginator.js +4 -4
  71. package/dist-es/pagination/ListFindingsPaginator.js +4 -4
  72. package/dist-es/pagination/ListInvitationsPaginator.js +4 -4
  73. package/dist-es/pagination/ListMembersPaginator.js +4 -4
  74. package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +4 -4
  75. package/dist-es/pagination/SearchResourcesPaginator.js +4 -4
  76. package/dist-es/protocols/Aws_restJson1.js +57 -57
  77. package/dist-types/runtimeConfig.native.d.ts +2 -2
  78. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  79. package/package.json +34 -34
@@ -63,7 +63,7 @@ const serializeAws_restJson1CreateClassificationJobCommand = async (input, conte
63
63
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/jobs";
64
64
  let body;
65
65
  body = JSON.stringify({
66
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
66
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
67
67
  ...(input.customDataIdentifierIds !== undefined &&
68
68
  input.customDataIdentifierIds !== null && {
69
69
  customDataIdentifierIds: serializeAws_restJson1__listOf__string(input.customDataIdentifierIds, context),
@@ -112,7 +112,7 @@ const serializeAws_restJson1CreateCustomDataIdentifierCommand = async (input, co
112
112
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/custom-data-identifiers";
113
113
  let body;
114
114
  body = JSON.stringify({
115
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
115
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
116
116
  ...(input.description !== undefined && input.description !== null && { description: input.description }),
117
117
  ...(input.ignoreWords !== undefined &&
118
118
  input.ignoreWords !== null && {
@@ -151,7 +151,7 @@ const serializeAws_restJson1CreateFindingsFilterCommand = async (input, context)
151
151
  let body;
152
152
  body = JSON.stringify({
153
153
  ...(input.action !== undefined && input.action !== null && { action: input.action }),
154
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
154
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
155
155
  ...(input.description !== undefined && input.description !== null && { description: input.description }),
156
156
  ...(input.findingCriteria !== undefined &&
157
157
  input.findingCriteria !== null && {
@@ -275,7 +275,7 @@ const serializeAws_restJson1DeleteCustomDataIdentifierCommand = async (input, co
275
275
  if (labelValue.length <= 0) {
276
276
  throw new Error("Empty value provided for input HTTP label: id.");
277
277
  }
278
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
278
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
279
279
  }
280
280
  else {
281
281
  throw new Error("No value provided for input HTTP label: id.");
@@ -301,7 +301,7 @@ const serializeAws_restJson1DeleteFindingsFilterCommand = async (input, context)
301
301
  if (labelValue.length <= 0) {
302
302
  throw new Error("Empty value provided for input HTTP label: id.");
303
303
  }
304
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
304
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
305
305
  }
306
306
  else {
307
307
  throw new Error("No value provided for input HTTP label: id.");
@@ -349,7 +349,7 @@ const serializeAws_restJson1DeleteMemberCommand = async (input, context) => {
349
349
  if (labelValue.length <= 0) {
350
350
  throw new Error("Empty value provided for input HTTP label: id.");
351
351
  }
352
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
352
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
353
353
  }
354
354
  else {
355
355
  throw new Error("No value provided for input HTTP label: id.");
@@ -403,7 +403,7 @@ const serializeAws_restJson1DescribeClassificationJobCommand = async (input, con
403
403
  if (labelValue.length <= 0) {
404
404
  throw new Error("Empty value provided for input HTTP label: jobId.");
405
405
  }
406
- resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
406
+ resolvedPath = resolvedPath.replace("{jobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
407
407
  }
408
408
  else {
409
409
  throw new Error("No value provided for input HTTP label: jobId.");
@@ -525,7 +525,7 @@ const serializeAws_restJson1DisassociateMemberCommand = async (input, context) =
525
525
  if (labelValue.length <= 0) {
526
526
  throw new Error("Empty value provided for input HTTP label: id.");
527
527
  }
528
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
528
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
529
529
  }
530
530
  else {
531
531
  throw new Error("No value provided for input HTTP label: id.");
@@ -551,7 +551,7 @@ const serializeAws_restJson1EnableMacieCommand = async (input, context) => {
551
551
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/macie";
552
552
  let body;
553
553
  body = JSON.stringify({
554
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
554
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
555
555
  ...(input.findingPublishingFrequency !== undefined &&
556
556
  input.findingPublishingFrequency !== null && { findingPublishingFrequency: input.findingPublishingFrequency }),
557
557
  ...(input.status !== undefined && input.status !== null && { status: input.status }),
@@ -578,7 +578,7 @@ const serializeAws_restJson1EnableOrganizationAdminAccountCommand = async (input
578
578
  body = JSON.stringify({
579
579
  ...(input.adminAccountId !== undefined &&
580
580
  input.adminAccountId !== null && { adminAccountId: input.adminAccountId }),
581
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
581
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
582
582
  });
583
583
  return new protocol_http_1.HttpRequest({
584
584
  protocol,
@@ -659,7 +659,7 @@ const serializeAws_restJson1GetCustomDataIdentifierCommand = async (input, conte
659
659
  if (labelValue.length <= 0) {
660
660
  throw new Error("Empty value provided for input HTTP label: id.");
661
661
  }
662
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
662
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
663
663
  }
664
664
  else {
665
665
  throw new Error("No value provided for input HTTP label: id.");
@@ -709,7 +709,7 @@ const serializeAws_restJson1GetFindingsFilterCommand = async (input, context) =>
709
709
  if (labelValue.length <= 0) {
710
710
  throw new Error("Empty value provided for input HTTP label: id.");
711
711
  }
712
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
712
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
713
713
  }
714
714
  else {
715
715
  throw new Error("No value provided for input HTTP label: id.");
@@ -841,7 +841,7 @@ const serializeAws_restJson1GetMemberCommand = async (input, context) => {
841
841
  if (labelValue.length <= 0) {
842
842
  throw new Error("Empty value provided for input HTTP label: id.");
843
843
  }
844
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
844
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
845
845
  }
846
846
  else {
847
847
  throw new Error("No value provided for input HTTP label: id.");
@@ -1102,7 +1102,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
1102
1102
  if (labelValue.length <= 0) {
1103
1103
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1104
1104
  }
1105
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1105
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1106
1106
  }
1107
1107
  else {
1108
1108
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1152,7 +1152,7 @@ const serializeAws_restJson1PutFindingsPublicationConfigurationCommand = async (
1152
1152
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/findings-publication-configuration";
1153
1153
  let body;
1154
1154
  body = JSON.stringify({
1155
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1155
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1156
1156
  ...(input.securityHubConfiguration !== undefined &&
1157
1157
  input.securityHubConfiguration !== null && {
1158
1158
  securityHubConfiguration: serializeAws_restJson1SecurityHubConfiguration(input.securityHubConfiguration, context),
@@ -1210,7 +1210,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
1210
1210
  if (labelValue.length <= 0) {
1211
1211
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1212
1212
  }
1213
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1213
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1214
1214
  }
1215
1215
  else {
1216
1216
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1269,7 +1269,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
1269
1269
  if (labelValue.length <= 0) {
1270
1270
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
1271
1271
  }
1272
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1272
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1273
1273
  }
1274
1274
  else {
1275
1275
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -1301,7 +1301,7 @@ const serializeAws_restJson1UpdateClassificationJobCommand = async (input, conte
1301
1301
  if (labelValue.length <= 0) {
1302
1302
  throw new Error("Empty value provided for input HTTP label: jobId.");
1303
1303
  }
1304
- resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1304
+ resolvedPath = resolvedPath.replace("{jobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1305
1305
  }
1306
1306
  else {
1307
1307
  throw new Error("No value provided for input HTTP label: jobId.");
@@ -1333,7 +1333,7 @@ const serializeAws_restJson1UpdateFindingsFilterCommand = async (input, context)
1333
1333
  if (labelValue.length <= 0) {
1334
1334
  throw new Error("Empty value provided for input HTTP label: id.");
1335
1335
  }
1336
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1336
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1337
1337
  }
1338
1338
  else {
1339
1339
  throw new Error("No value provided for input HTTP label: id.");
@@ -1341,7 +1341,7 @@ const serializeAws_restJson1UpdateFindingsFilterCommand = async (input, context)
1341
1341
  let body;
1342
1342
  body = JSON.stringify({
1343
1343
  ...(input.action !== undefined && input.action !== null && { action: input.action }),
1344
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1344
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1345
1345
  ...(input.description !== undefined && input.description !== null && { description: input.description }),
1346
1346
  ...(input.findingCriteria !== undefined &&
1347
1347
  input.findingCriteria !== null && {
@@ -1395,7 +1395,7 @@ const serializeAws_restJson1UpdateMemberSessionCommand = async (input, context)
1395
1395
  if (labelValue.length <= 0) {
1396
1396
  throw new Error("Empty value provided for input HTTP label: id.");
1397
1397
  }
1398
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1398
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1399
1399
  }
1400
1400
  else {
1401
1401
  throw new Error("No value provided for input HTTP label: id.");
@@ -1484,7 +1484,7 @@ const deserializeAws_restJson1AcceptInvitationCommandError = async (output, cont
1484
1484
  $fault: "client",
1485
1485
  $metadata: deserializeMetadata(output),
1486
1486
  });
1487
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1487
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1488
1488
  }
1489
1489
  };
1490
1490
  const deserializeAws_restJson1BatchGetCustomDataIdentifiersCommand = async (output, context) => {
@@ -1496,7 +1496,7 @@ const deserializeAws_restJson1BatchGetCustomDataIdentifiersCommand = async (outp
1496
1496
  customDataIdentifiers: undefined,
1497
1497
  notFoundIdentifierIds: undefined,
1498
1498
  };
1499
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1499
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1500
1500
  if (data.customDataIdentifiers !== undefined && data.customDataIdentifiers !== null) {
1501
1501
  contents.customDataIdentifiers = deserializeAws_restJson1__listOfBatchGetCustomDataIdentifierSummary(data.customDataIdentifiers, context);
1502
1502
  }
@@ -1543,7 +1543,7 @@ const deserializeAws_restJson1BatchGetCustomDataIdentifiersCommandError = async
1543
1543
  $fault: "client",
1544
1544
  $metadata: deserializeMetadata(output),
1545
1545
  });
1546
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1546
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1547
1547
  }
1548
1548
  };
1549
1549
  const deserializeAws_restJson1CreateClassificationJobCommand = async (output, context) => {
@@ -1555,12 +1555,12 @@ const deserializeAws_restJson1CreateClassificationJobCommand = async (output, co
1555
1555
  jobArn: undefined,
1556
1556
  jobId: undefined,
1557
1557
  };
1558
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1558
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1559
1559
  if (data.jobArn !== undefined && data.jobArn !== null) {
1560
- contents.jobArn = smithy_client_1.expectString(data.jobArn);
1560
+ contents.jobArn = (0, smithy_client_1.expectString)(data.jobArn);
1561
1561
  }
1562
1562
  if (data.jobId !== undefined && data.jobId !== null) {
1563
- contents.jobId = smithy_client_1.expectString(data.jobId);
1563
+ contents.jobId = (0, smithy_client_1.expectString)(data.jobId);
1564
1564
  }
1565
1565
  return Promise.resolve(contents);
1566
1566
  };
@@ -1602,7 +1602,7 @@ const deserializeAws_restJson1CreateClassificationJobCommandError = async (outpu
1602
1602
  $fault: "client",
1603
1603
  $metadata: deserializeMetadata(output),
1604
1604
  });
1605
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1605
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1606
1606
  }
1607
1607
  };
1608
1608
  const deserializeAws_restJson1CreateCustomDataIdentifierCommand = async (output, context) => {
@@ -1613,9 +1613,9 @@ const deserializeAws_restJson1CreateCustomDataIdentifierCommand = async (output,
1613
1613
  $metadata: deserializeMetadata(output),
1614
1614
  customDataIdentifierId: undefined,
1615
1615
  };
1616
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1616
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1617
1617
  if (data.customDataIdentifierId !== undefined && data.customDataIdentifierId !== null) {
1618
- contents.customDataIdentifierId = smithy_client_1.expectString(data.customDataIdentifierId);
1618
+ contents.customDataIdentifierId = (0, smithy_client_1.expectString)(data.customDataIdentifierId);
1619
1619
  }
1620
1620
  return Promise.resolve(contents);
1621
1621
  };
@@ -1657,7 +1657,7 @@ const deserializeAws_restJson1CreateCustomDataIdentifierCommandError = async (ou
1657
1657
  $fault: "client",
1658
1658
  $metadata: deserializeMetadata(output),
1659
1659
  });
1660
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1660
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1661
1661
  }
1662
1662
  };
1663
1663
  const deserializeAws_restJson1CreateFindingsFilterCommand = async (output, context) => {
@@ -1669,12 +1669,12 @@ const deserializeAws_restJson1CreateFindingsFilterCommand = async (output, conte
1669
1669
  arn: undefined,
1670
1670
  id: undefined,
1671
1671
  };
1672
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1672
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1673
1673
  if (data.arn !== undefined && data.arn !== null) {
1674
- contents.arn = smithy_client_1.expectString(data.arn);
1674
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
1675
1675
  }
1676
1676
  if (data.id !== undefined && data.id !== null) {
1677
- contents.id = smithy_client_1.expectString(data.id);
1677
+ contents.id = (0, smithy_client_1.expectString)(data.id);
1678
1678
  }
1679
1679
  return Promise.resolve(contents);
1680
1680
  };
@@ -1716,7 +1716,7 @@ const deserializeAws_restJson1CreateFindingsFilterCommandError = async (output,
1716
1716
  $fault: "client",
1717
1717
  $metadata: deserializeMetadata(output),
1718
1718
  });
1719
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1719
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1720
1720
  }
1721
1721
  };
1722
1722
  const deserializeAws_restJson1CreateInvitationsCommand = async (output, context) => {
@@ -1727,7 +1727,7 @@ const deserializeAws_restJson1CreateInvitationsCommand = async (output, context)
1727
1727
  $metadata: deserializeMetadata(output),
1728
1728
  unprocessedAccounts: undefined,
1729
1729
  };
1730
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1730
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1731
1731
  if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
1732
1732
  contents.unprocessedAccounts = deserializeAws_restJson1__listOfUnprocessedAccount(data.unprocessedAccounts, context);
1733
1733
  }
@@ -1771,7 +1771,7 @@ const deserializeAws_restJson1CreateInvitationsCommandError = async (output, con
1771
1771
  $fault: "client",
1772
1772
  $metadata: deserializeMetadata(output),
1773
1773
  });
1774
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1774
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1775
1775
  }
1776
1776
  };
1777
1777
  const deserializeAws_restJson1CreateMemberCommand = async (output, context) => {
@@ -1782,9 +1782,9 @@ const deserializeAws_restJson1CreateMemberCommand = async (output, context) => {
1782
1782
  $metadata: deserializeMetadata(output),
1783
1783
  arn: undefined,
1784
1784
  };
1785
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1785
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1786
1786
  if (data.arn !== undefined && data.arn !== null) {
1787
- contents.arn = smithy_client_1.expectString(data.arn);
1787
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
1788
1788
  }
1789
1789
  return Promise.resolve(contents);
1790
1790
  };
@@ -1826,7 +1826,7 @@ const deserializeAws_restJson1CreateMemberCommandError = async (output, context)
1826
1826
  $fault: "client",
1827
1827
  $metadata: deserializeMetadata(output),
1828
1828
  });
1829
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1829
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1830
1830
  }
1831
1831
  };
1832
1832
  const deserializeAws_restJson1CreateSampleFindingsCommand = async (output, context) => {
@@ -1877,7 +1877,7 @@ const deserializeAws_restJson1CreateSampleFindingsCommandError = async (output,
1877
1877
  $fault: "client",
1878
1878
  $metadata: deserializeMetadata(output),
1879
1879
  });
1880
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1880
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1881
1881
  }
1882
1882
  };
1883
1883
  const deserializeAws_restJson1DeclineInvitationsCommand = async (output, context) => {
@@ -1888,7 +1888,7 @@ const deserializeAws_restJson1DeclineInvitationsCommand = async (output, context
1888
1888
  $metadata: deserializeMetadata(output),
1889
1889
  unprocessedAccounts: undefined,
1890
1890
  };
1891
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1891
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1892
1892
  if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
1893
1893
  contents.unprocessedAccounts = deserializeAws_restJson1__listOfUnprocessedAccount(data.unprocessedAccounts, context);
1894
1894
  }
@@ -1932,7 +1932,7 @@ const deserializeAws_restJson1DeclineInvitationsCommandError = async (output, co
1932
1932
  $fault: "client",
1933
1933
  $metadata: deserializeMetadata(output),
1934
1934
  });
1935
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1935
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1936
1936
  }
1937
1937
  };
1938
1938
  const deserializeAws_restJson1DeleteCustomDataIdentifierCommand = async (output, context) => {
@@ -1983,7 +1983,7 @@ const deserializeAws_restJson1DeleteCustomDataIdentifierCommandError = async (ou
1983
1983
  $fault: "client",
1984
1984
  $metadata: deserializeMetadata(output),
1985
1985
  });
1986
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1986
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1987
1987
  }
1988
1988
  };
1989
1989
  const deserializeAws_restJson1DeleteFindingsFilterCommand = async (output, context) => {
@@ -2034,7 +2034,7 @@ const deserializeAws_restJson1DeleteFindingsFilterCommandError = async (output,
2034
2034
  $fault: "client",
2035
2035
  $metadata: deserializeMetadata(output),
2036
2036
  });
2037
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2037
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2038
2038
  }
2039
2039
  };
2040
2040
  const deserializeAws_restJson1DeleteInvitationsCommand = async (output, context) => {
@@ -2045,7 +2045,7 @@ const deserializeAws_restJson1DeleteInvitationsCommand = async (output, context)
2045
2045
  $metadata: deserializeMetadata(output),
2046
2046
  unprocessedAccounts: undefined,
2047
2047
  };
2048
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2048
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2049
2049
  if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
2050
2050
  contents.unprocessedAccounts = deserializeAws_restJson1__listOfUnprocessedAccount(data.unprocessedAccounts, context);
2051
2051
  }
@@ -2089,7 +2089,7 @@ const deserializeAws_restJson1DeleteInvitationsCommandError = async (output, con
2089
2089
  $fault: "client",
2090
2090
  $metadata: deserializeMetadata(output),
2091
2091
  });
2092
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2092
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2093
2093
  }
2094
2094
  };
2095
2095
  const deserializeAws_restJson1DeleteMemberCommand = async (output, context) => {
@@ -2140,7 +2140,7 @@ const deserializeAws_restJson1DeleteMemberCommandError = async (output, context)
2140
2140
  $fault: "client",
2141
2141
  $metadata: deserializeMetadata(output),
2142
2142
  });
2143
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2143
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2144
2144
  }
2145
2145
  };
2146
2146
  const deserializeAws_restJson1DescribeBucketsCommand = async (output, context) => {
@@ -2152,12 +2152,12 @@ const deserializeAws_restJson1DescribeBucketsCommand = async (output, context) =
2152
2152
  buckets: undefined,
2153
2153
  nextToken: undefined,
2154
2154
  };
2155
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2155
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2156
2156
  if (data.buckets !== undefined && data.buckets !== null) {
2157
2157
  contents.buckets = deserializeAws_restJson1__listOfBucketMetadata(data.buckets, context);
2158
2158
  }
2159
2159
  if (data.nextToken !== undefined && data.nextToken !== null) {
2160
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
2160
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2161
2161
  }
2162
2162
  return Promise.resolve(contents);
2163
2163
  };
@@ -2199,7 +2199,7 @@ const deserializeAws_restJson1DescribeBucketsCommandError = async (output, conte
2199
2199
  $fault: "client",
2200
2200
  $metadata: deserializeMetadata(output),
2201
2201
  });
2202
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2202
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2203
2203
  }
2204
2204
  };
2205
2205
  const deserializeAws_restJson1DescribeClassificationJobCommand = async (output, context) => {
@@ -2229,54 +2229,54 @@ const deserializeAws_restJson1DescribeClassificationJobCommand = async (output,
2229
2229
  tags: undefined,
2230
2230
  userPausedDetails: undefined,
2231
2231
  };
2232
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2232
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2233
2233
  if (data.clientToken !== undefined && data.clientToken !== null) {
2234
- contents.clientToken = smithy_client_1.expectString(data.clientToken);
2234
+ contents.clientToken = (0, smithy_client_1.expectString)(data.clientToken);
2235
2235
  }
2236
2236
  if (data.createdAt !== undefined && data.createdAt !== null) {
2237
- contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdAt));
2237
+ contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdAt));
2238
2238
  }
2239
2239
  if (data.customDataIdentifierIds !== undefined && data.customDataIdentifierIds !== null) {
2240
2240
  contents.customDataIdentifierIds = deserializeAws_restJson1__listOf__string(data.customDataIdentifierIds, context);
2241
2241
  }
2242
2242
  if (data.description !== undefined && data.description !== null) {
2243
- contents.description = smithy_client_1.expectString(data.description);
2243
+ contents.description = (0, smithy_client_1.expectString)(data.description);
2244
2244
  }
2245
2245
  if (data.initialRun !== undefined && data.initialRun !== null) {
2246
- contents.initialRun = smithy_client_1.expectBoolean(data.initialRun);
2246
+ contents.initialRun = (0, smithy_client_1.expectBoolean)(data.initialRun);
2247
2247
  }
2248
2248
  if (data.jobArn !== undefined && data.jobArn !== null) {
2249
- contents.jobArn = smithy_client_1.expectString(data.jobArn);
2249
+ contents.jobArn = (0, smithy_client_1.expectString)(data.jobArn);
2250
2250
  }
2251
2251
  if (data.jobId !== undefined && data.jobId !== null) {
2252
- contents.jobId = smithy_client_1.expectString(data.jobId);
2252
+ contents.jobId = (0, smithy_client_1.expectString)(data.jobId);
2253
2253
  }
2254
2254
  if (data.jobStatus !== undefined && data.jobStatus !== null) {
2255
- contents.jobStatus = smithy_client_1.expectString(data.jobStatus);
2255
+ contents.jobStatus = (0, smithy_client_1.expectString)(data.jobStatus);
2256
2256
  }
2257
2257
  if (data.jobType !== undefined && data.jobType !== null) {
2258
- contents.jobType = smithy_client_1.expectString(data.jobType);
2258
+ contents.jobType = (0, smithy_client_1.expectString)(data.jobType);
2259
2259
  }
2260
2260
  if (data.lastRunErrorStatus !== undefined && data.lastRunErrorStatus !== null) {
2261
2261
  contents.lastRunErrorStatus = deserializeAws_restJson1LastRunErrorStatus(data.lastRunErrorStatus, context);
2262
2262
  }
2263
2263
  if (data.lastRunTime !== undefined && data.lastRunTime !== null) {
2264
- contents.lastRunTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.lastRunTime));
2264
+ contents.lastRunTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.lastRunTime));
2265
2265
  }
2266
2266
  if (data.managedDataIdentifierIds !== undefined && data.managedDataIdentifierIds !== null) {
2267
2267
  contents.managedDataIdentifierIds = deserializeAws_restJson1__listOf__string(data.managedDataIdentifierIds, context);
2268
2268
  }
2269
2269
  if (data.managedDataIdentifierSelector !== undefined && data.managedDataIdentifierSelector !== null) {
2270
- contents.managedDataIdentifierSelector = smithy_client_1.expectString(data.managedDataIdentifierSelector);
2270
+ contents.managedDataIdentifierSelector = (0, smithy_client_1.expectString)(data.managedDataIdentifierSelector);
2271
2271
  }
2272
2272
  if (data.name !== undefined && data.name !== null) {
2273
- contents.name = smithy_client_1.expectString(data.name);
2273
+ contents.name = (0, smithy_client_1.expectString)(data.name);
2274
2274
  }
2275
2275
  if (data.s3JobDefinition !== undefined && data.s3JobDefinition !== null) {
2276
2276
  contents.s3JobDefinition = deserializeAws_restJson1S3JobDefinition(data.s3JobDefinition, context);
2277
2277
  }
2278
2278
  if (data.samplingPercentage !== undefined && data.samplingPercentage !== null) {
2279
- contents.samplingPercentage = smithy_client_1.expectInt32(data.samplingPercentage);
2279
+ contents.samplingPercentage = (0, smithy_client_1.expectInt32)(data.samplingPercentage);
2280
2280
  }
2281
2281
  if (data.scheduleFrequency !== undefined && data.scheduleFrequency !== null) {
2282
2282
  contents.scheduleFrequency = deserializeAws_restJson1JobScheduleFrequency(data.scheduleFrequency, context);
@@ -2330,7 +2330,7 @@ const deserializeAws_restJson1DescribeClassificationJobCommandError = async (out
2330
2330
  $fault: "client",
2331
2331
  $metadata: deserializeMetadata(output),
2332
2332
  });
2333
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2333
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2334
2334
  }
2335
2335
  };
2336
2336
  const deserializeAws_restJson1DescribeOrganizationConfigurationCommand = async (output, context) => {
@@ -2342,12 +2342,12 @@ const deserializeAws_restJson1DescribeOrganizationConfigurationCommand = async (
2342
2342
  autoEnable: undefined,
2343
2343
  maxAccountLimitReached: undefined,
2344
2344
  };
2345
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2345
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2346
2346
  if (data.autoEnable !== undefined && data.autoEnable !== null) {
2347
- contents.autoEnable = smithy_client_1.expectBoolean(data.autoEnable);
2347
+ contents.autoEnable = (0, smithy_client_1.expectBoolean)(data.autoEnable);
2348
2348
  }
2349
2349
  if (data.maxAccountLimitReached !== undefined && data.maxAccountLimitReached !== null) {
2350
- contents.maxAccountLimitReached = smithy_client_1.expectBoolean(data.maxAccountLimitReached);
2350
+ contents.maxAccountLimitReached = (0, smithy_client_1.expectBoolean)(data.maxAccountLimitReached);
2351
2351
  }
2352
2352
  return Promise.resolve(contents);
2353
2353
  };
@@ -2389,7 +2389,7 @@ const deserializeAws_restJson1DescribeOrganizationConfigurationCommandError = as
2389
2389
  $fault: "client",
2390
2390
  $metadata: deserializeMetadata(output),
2391
2391
  });
2392
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2392
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2393
2393
  }
2394
2394
  };
2395
2395
  const deserializeAws_restJson1DisableMacieCommand = async (output, context) => {
@@ -2440,7 +2440,7 @@ const deserializeAws_restJson1DisableMacieCommandError = async (output, context)
2440
2440
  $fault: "client",
2441
2441
  $metadata: deserializeMetadata(output),
2442
2442
  });
2443
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2443
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2444
2444
  }
2445
2445
  };
2446
2446
  const deserializeAws_restJson1DisableOrganizationAdminAccountCommand = async (output, context) => {
@@ -2491,7 +2491,7 @@ const deserializeAws_restJson1DisableOrganizationAdminAccountCommandError = asyn
2491
2491
  $fault: "client",
2492
2492
  $metadata: deserializeMetadata(output),
2493
2493
  });
2494
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2494
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2495
2495
  }
2496
2496
  };
2497
2497
  const deserializeAws_restJson1DisassociateFromAdministratorAccountCommand = async (output, context) => {
@@ -2542,7 +2542,7 @@ const deserializeAws_restJson1DisassociateFromAdministratorAccountCommandError =
2542
2542
  $fault: "client",
2543
2543
  $metadata: deserializeMetadata(output),
2544
2544
  });
2545
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2545
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2546
2546
  }
2547
2547
  };
2548
2548
  const deserializeAws_restJson1DisassociateFromMasterAccountCommand = async (output, context) => {
@@ -2593,7 +2593,7 @@ const deserializeAws_restJson1DisassociateFromMasterAccountCommandError = async
2593
2593
  $fault: "client",
2594
2594
  $metadata: deserializeMetadata(output),
2595
2595
  });
2596
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2596
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2597
2597
  }
2598
2598
  };
2599
2599
  const deserializeAws_restJson1DisassociateMemberCommand = async (output, context) => {
@@ -2644,7 +2644,7 @@ const deserializeAws_restJson1DisassociateMemberCommandError = async (output, co
2644
2644
  $fault: "client",
2645
2645
  $metadata: deserializeMetadata(output),
2646
2646
  });
2647
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2647
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2648
2648
  }
2649
2649
  };
2650
2650
  const deserializeAws_restJson1EnableMacieCommand = async (output, context) => {
@@ -2695,7 +2695,7 @@ const deserializeAws_restJson1EnableMacieCommandError = async (output, context)
2695
2695
  $fault: "client",
2696
2696
  $metadata: deserializeMetadata(output),
2697
2697
  });
2698
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2698
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2699
2699
  }
2700
2700
  };
2701
2701
  const deserializeAws_restJson1EnableOrganizationAdminAccountCommand = async (output, context) => {
@@ -2746,7 +2746,7 @@ const deserializeAws_restJson1EnableOrganizationAdminAccountCommandError = async
2746
2746
  $fault: "client",
2747
2747
  $metadata: deserializeMetadata(output),
2748
2748
  });
2749
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2749
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2750
2750
  }
2751
2751
  };
2752
2752
  const deserializeAws_restJson1GetAdministratorAccountCommand = async (output, context) => {
@@ -2757,7 +2757,7 @@ const deserializeAws_restJson1GetAdministratorAccountCommand = async (output, co
2757
2757
  $metadata: deserializeMetadata(output),
2758
2758
  administrator: undefined,
2759
2759
  };
2760
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2760
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2761
2761
  if (data.administrator !== undefined && data.administrator !== null) {
2762
2762
  contents.administrator = deserializeAws_restJson1Invitation(data.administrator, context);
2763
2763
  }
@@ -2801,7 +2801,7 @@ const deserializeAws_restJson1GetAdministratorAccountCommandError = async (outpu
2801
2801
  $fault: "client",
2802
2802
  $metadata: deserializeMetadata(output),
2803
2803
  });
2804
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2804
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2805
2805
  }
2806
2806
  };
2807
2807
  const deserializeAws_restJson1GetBucketStatisticsCommand = async (output, context) => {
@@ -2824,9 +2824,9 @@ const deserializeAws_restJson1GetBucketStatisticsCommand = async (output, contex
2824
2824
  unclassifiableObjectCount: undefined,
2825
2825
  unclassifiableObjectSizeInBytes: undefined,
2826
2826
  };
2827
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2827
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2828
2828
  if (data.bucketCount !== undefined && data.bucketCount !== null) {
2829
- contents.bucketCount = smithy_client_1.expectLong(data.bucketCount);
2829
+ contents.bucketCount = (0, smithy_client_1.expectLong)(data.bucketCount);
2830
2830
  }
2831
2831
  if (data.bucketCountByEffectivePermission !== undefined && data.bucketCountByEffectivePermission !== null) {
2832
2832
  contents.bucketCountByEffectivePermission = deserializeAws_restJson1BucketCountByEffectivePermission(data.bucketCountByEffectivePermission, context);
@@ -2843,22 +2843,22 @@ const deserializeAws_restJson1GetBucketStatisticsCommand = async (output, contex
2843
2843
  contents.bucketCountBySharedAccessType = deserializeAws_restJson1BucketCountBySharedAccessType(data.bucketCountBySharedAccessType, context);
2844
2844
  }
2845
2845
  if (data.classifiableObjectCount !== undefined && data.classifiableObjectCount !== null) {
2846
- contents.classifiableObjectCount = smithy_client_1.expectLong(data.classifiableObjectCount);
2846
+ contents.classifiableObjectCount = (0, smithy_client_1.expectLong)(data.classifiableObjectCount);
2847
2847
  }
2848
2848
  if (data.classifiableSizeInBytes !== undefined && data.classifiableSizeInBytes !== null) {
2849
- contents.classifiableSizeInBytes = smithy_client_1.expectLong(data.classifiableSizeInBytes);
2849
+ contents.classifiableSizeInBytes = (0, smithy_client_1.expectLong)(data.classifiableSizeInBytes);
2850
2850
  }
2851
2851
  if (data.lastUpdated !== undefined && data.lastUpdated !== null) {
2852
- contents.lastUpdated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.lastUpdated));
2852
+ contents.lastUpdated = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.lastUpdated));
2853
2853
  }
2854
2854
  if (data.objectCount !== undefined && data.objectCount !== null) {
2855
- contents.objectCount = smithy_client_1.expectLong(data.objectCount);
2855
+ contents.objectCount = (0, smithy_client_1.expectLong)(data.objectCount);
2856
2856
  }
2857
2857
  if (data.sizeInBytes !== undefined && data.sizeInBytes !== null) {
2858
- contents.sizeInBytes = smithy_client_1.expectLong(data.sizeInBytes);
2858
+ contents.sizeInBytes = (0, smithy_client_1.expectLong)(data.sizeInBytes);
2859
2859
  }
2860
2860
  if (data.sizeInBytesCompressed !== undefined && data.sizeInBytesCompressed !== null) {
2861
- contents.sizeInBytesCompressed = smithy_client_1.expectLong(data.sizeInBytesCompressed);
2861
+ contents.sizeInBytesCompressed = (0, smithy_client_1.expectLong)(data.sizeInBytesCompressed);
2862
2862
  }
2863
2863
  if (data.unclassifiableObjectCount !== undefined && data.unclassifiableObjectCount !== null) {
2864
2864
  contents.unclassifiableObjectCount = deserializeAws_restJson1ObjectLevelStatistics(data.unclassifiableObjectCount, context);
@@ -2906,7 +2906,7 @@ const deserializeAws_restJson1GetBucketStatisticsCommandError = async (output, c
2906
2906
  $fault: "client",
2907
2907
  $metadata: deserializeMetadata(output),
2908
2908
  });
2909
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2909
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2910
2910
  }
2911
2911
  };
2912
2912
  const deserializeAws_restJson1GetClassificationExportConfigurationCommand = async (output, context) => {
@@ -2917,7 +2917,7 @@ const deserializeAws_restJson1GetClassificationExportConfigurationCommand = asyn
2917
2917
  $metadata: deserializeMetadata(output),
2918
2918
  configuration: undefined,
2919
2919
  };
2920
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2920
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2921
2921
  if (data.configuration !== undefined && data.configuration !== null) {
2922
2922
  contents.configuration = deserializeAws_restJson1ClassificationExportConfiguration(data.configuration, context);
2923
2923
  }
@@ -2961,7 +2961,7 @@ const deserializeAws_restJson1GetClassificationExportConfigurationCommandError =
2961
2961
  $fault: "client",
2962
2962
  $metadata: deserializeMetadata(output),
2963
2963
  });
2964
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2964
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2965
2965
  }
2966
2966
  };
2967
2967
  const deserializeAws_restJson1GetCustomDataIdentifierCommand = async (output, context) => {
@@ -2983,21 +2983,21 @@ const deserializeAws_restJson1GetCustomDataIdentifierCommand = async (output, co
2983
2983
  severityLevels: undefined,
2984
2984
  tags: undefined,
2985
2985
  };
2986
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2986
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2987
2987
  if (data.arn !== undefined && data.arn !== null) {
2988
- contents.arn = smithy_client_1.expectString(data.arn);
2988
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
2989
2989
  }
2990
2990
  if (data.createdAt !== undefined && data.createdAt !== null) {
2991
- contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdAt));
2991
+ contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdAt));
2992
2992
  }
2993
2993
  if (data.deleted !== undefined && data.deleted !== null) {
2994
- contents.deleted = smithy_client_1.expectBoolean(data.deleted);
2994
+ contents.deleted = (0, smithy_client_1.expectBoolean)(data.deleted);
2995
2995
  }
2996
2996
  if (data.description !== undefined && data.description !== null) {
2997
- contents.description = smithy_client_1.expectString(data.description);
2997
+ contents.description = (0, smithy_client_1.expectString)(data.description);
2998
2998
  }
2999
2999
  if (data.id !== undefined && data.id !== null) {
3000
- contents.id = smithy_client_1.expectString(data.id);
3000
+ contents.id = (0, smithy_client_1.expectString)(data.id);
3001
3001
  }
3002
3002
  if (data.ignoreWords !== undefined && data.ignoreWords !== null) {
3003
3003
  contents.ignoreWords = deserializeAws_restJson1__listOf__string(data.ignoreWords, context);
@@ -3006,13 +3006,13 @@ const deserializeAws_restJson1GetCustomDataIdentifierCommand = async (output, co
3006
3006
  contents.keywords = deserializeAws_restJson1__listOf__string(data.keywords, context);
3007
3007
  }
3008
3008
  if (data.maximumMatchDistance !== undefined && data.maximumMatchDistance !== null) {
3009
- contents.maximumMatchDistance = smithy_client_1.expectInt32(data.maximumMatchDistance);
3009
+ contents.maximumMatchDistance = (0, smithy_client_1.expectInt32)(data.maximumMatchDistance);
3010
3010
  }
3011
3011
  if (data.name !== undefined && data.name !== null) {
3012
- contents.name = smithy_client_1.expectString(data.name);
3012
+ contents.name = (0, smithy_client_1.expectString)(data.name);
3013
3013
  }
3014
3014
  if (data.regex !== undefined && data.regex !== null) {
3015
- contents.regex = smithy_client_1.expectString(data.regex);
3015
+ contents.regex = (0, smithy_client_1.expectString)(data.regex);
3016
3016
  }
3017
3017
  if (data.severityLevels !== undefined && data.severityLevels !== null) {
3018
3018
  contents.severityLevels = deserializeAws_restJson1SeverityLevelList(data.severityLevels, context);
@@ -3060,7 +3060,7 @@ const deserializeAws_restJson1GetCustomDataIdentifierCommandError = async (outpu
3060
3060
  $fault: "client",
3061
3061
  $metadata: deserializeMetadata(output),
3062
3062
  });
3063
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3063
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3064
3064
  }
3065
3065
  };
3066
3066
  const deserializeAws_restJson1GetFindingsCommand = async (output, context) => {
@@ -3071,7 +3071,7 @@ const deserializeAws_restJson1GetFindingsCommand = async (output, context) => {
3071
3071
  $metadata: deserializeMetadata(output),
3072
3072
  findings: undefined,
3073
3073
  };
3074
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3074
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3075
3075
  if (data.findings !== undefined && data.findings !== null) {
3076
3076
  contents.findings = deserializeAws_restJson1__listOfFinding(data.findings, context);
3077
3077
  }
@@ -3115,7 +3115,7 @@ const deserializeAws_restJson1GetFindingsCommandError = async (output, context)
3115
3115
  $fault: "client",
3116
3116
  $metadata: deserializeMetadata(output),
3117
3117
  });
3118
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3118
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3119
3119
  }
3120
3120
  };
3121
3121
  const deserializeAws_restJson1GetFindingsFilterCommand = async (output, context) => {
@@ -3133,27 +3133,27 @@ const deserializeAws_restJson1GetFindingsFilterCommand = async (output, context)
3133
3133
  position: undefined,
3134
3134
  tags: undefined,
3135
3135
  };
3136
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3136
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3137
3137
  if (data.action !== undefined && data.action !== null) {
3138
- contents.action = smithy_client_1.expectString(data.action);
3138
+ contents.action = (0, smithy_client_1.expectString)(data.action);
3139
3139
  }
3140
3140
  if (data.arn !== undefined && data.arn !== null) {
3141
- contents.arn = smithy_client_1.expectString(data.arn);
3141
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
3142
3142
  }
3143
3143
  if (data.description !== undefined && data.description !== null) {
3144
- contents.description = smithy_client_1.expectString(data.description);
3144
+ contents.description = (0, smithy_client_1.expectString)(data.description);
3145
3145
  }
3146
3146
  if (data.findingCriteria !== undefined && data.findingCriteria !== null) {
3147
3147
  contents.findingCriteria = deserializeAws_restJson1FindingCriteria(data.findingCriteria, context);
3148
3148
  }
3149
3149
  if (data.id !== undefined && data.id !== null) {
3150
- contents.id = smithy_client_1.expectString(data.id);
3150
+ contents.id = (0, smithy_client_1.expectString)(data.id);
3151
3151
  }
3152
3152
  if (data.name !== undefined && data.name !== null) {
3153
- contents.name = smithy_client_1.expectString(data.name);
3153
+ contents.name = (0, smithy_client_1.expectString)(data.name);
3154
3154
  }
3155
3155
  if (data.position !== undefined && data.position !== null) {
3156
- contents.position = smithy_client_1.expectInt32(data.position);
3156
+ contents.position = (0, smithy_client_1.expectInt32)(data.position);
3157
3157
  }
3158
3158
  if (data.tags !== undefined && data.tags !== null) {
3159
3159
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
@@ -3198,7 +3198,7 @@ const deserializeAws_restJson1GetFindingsFilterCommandError = async (output, con
3198
3198
  $fault: "client",
3199
3199
  $metadata: deserializeMetadata(output),
3200
3200
  });
3201
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3201
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3202
3202
  }
3203
3203
  };
3204
3204
  const deserializeAws_restJson1GetFindingsPublicationConfigurationCommand = async (output, context) => {
@@ -3209,7 +3209,7 @@ const deserializeAws_restJson1GetFindingsPublicationConfigurationCommand = async
3209
3209
  $metadata: deserializeMetadata(output),
3210
3210
  securityHubConfiguration: undefined,
3211
3211
  };
3212
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3212
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3213
3213
  if (data.securityHubConfiguration !== undefined && data.securityHubConfiguration !== null) {
3214
3214
  contents.securityHubConfiguration = deserializeAws_restJson1SecurityHubConfiguration(data.securityHubConfiguration, context);
3215
3215
  }
@@ -3253,7 +3253,7 @@ const deserializeAws_restJson1GetFindingsPublicationConfigurationCommandError =
3253
3253
  $fault: "client",
3254
3254
  $metadata: deserializeMetadata(output),
3255
3255
  });
3256
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3256
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3257
3257
  }
3258
3258
  };
3259
3259
  const deserializeAws_restJson1GetFindingStatisticsCommand = async (output, context) => {
@@ -3264,7 +3264,7 @@ const deserializeAws_restJson1GetFindingStatisticsCommand = async (output, conte
3264
3264
  $metadata: deserializeMetadata(output),
3265
3265
  countsByGroup: undefined,
3266
3266
  };
3267
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3267
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3268
3268
  if (data.countsByGroup !== undefined && data.countsByGroup !== null) {
3269
3269
  contents.countsByGroup = deserializeAws_restJson1__listOfGroupCount(data.countsByGroup, context);
3270
3270
  }
@@ -3308,7 +3308,7 @@ const deserializeAws_restJson1GetFindingStatisticsCommandError = async (output,
3308
3308
  $fault: "client",
3309
3309
  $metadata: deserializeMetadata(output),
3310
3310
  });
3311
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3311
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3312
3312
  }
3313
3313
  };
3314
3314
  const deserializeAws_restJson1GetInvitationsCountCommand = async (output, context) => {
@@ -3319,9 +3319,9 @@ const deserializeAws_restJson1GetInvitationsCountCommand = async (output, contex
3319
3319
  $metadata: deserializeMetadata(output),
3320
3320
  invitationsCount: undefined,
3321
3321
  };
3322
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3322
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3323
3323
  if (data.invitationsCount !== undefined && data.invitationsCount !== null) {
3324
- contents.invitationsCount = smithy_client_1.expectLong(data.invitationsCount);
3324
+ contents.invitationsCount = (0, smithy_client_1.expectLong)(data.invitationsCount);
3325
3325
  }
3326
3326
  return Promise.resolve(contents);
3327
3327
  };
@@ -3363,7 +3363,7 @@ const deserializeAws_restJson1GetInvitationsCountCommandError = async (output, c
3363
3363
  $fault: "client",
3364
3364
  $metadata: deserializeMetadata(output),
3365
3365
  });
3366
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3366
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3367
3367
  }
3368
3368
  };
3369
3369
  const deserializeAws_restJson1GetMacieSessionCommand = async (output, context) => {
@@ -3378,21 +3378,21 @@ const deserializeAws_restJson1GetMacieSessionCommand = async (output, context) =
3378
3378
  status: undefined,
3379
3379
  updatedAt: undefined,
3380
3380
  };
3381
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3381
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3382
3382
  if (data.createdAt !== undefined && data.createdAt !== null) {
3383
- contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.createdAt));
3383
+ contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdAt));
3384
3384
  }
3385
3385
  if (data.findingPublishingFrequency !== undefined && data.findingPublishingFrequency !== null) {
3386
- contents.findingPublishingFrequency = smithy_client_1.expectString(data.findingPublishingFrequency);
3386
+ contents.findingPublishingFrequency = (0, smithy_client_1.expectString)(data.findingPublishingFrequency);
3387
3387
  }
3388
3388
  if (data.serviceRole !== undefined && data.serviceRole !== null) {
3389
- contents.serviceRole = smithy_client_1.expectString(data.serviceRole);
3389
+ contents.serviceRole = (0, smithy_client_1.expectString)(data.serviceRole);
3390
3390
  }
3391
3391
  if (data.status !== undefined && data.status !== null) {
3392
- contents.status = smithy_client_1.expectString(data.status);
3392
+ contents.status = (0, smithy_client_1.expectString)(data.status);
3393
3393
  }
3394
3394
  if (data.updatedAt !== undefined && data.updatedAt !== null) {
3395
- contents.updatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.updatedAt));
3395
+ contents.updatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.updatedAt));
3396
3396
  }
3397
3397
  return Promise.resolve(contents);
3398
3398
  };
@@ -3434,7 +3434,7 @@ const deserializeAws_restJson1GetMacieSessionCommandError = async (output, conte
3434
3434
  $fault: "client",
3435
3435
  $metadata: deserializeMetadata(output),
3436
3436
  });
3437
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3437
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3438
3438
  }
3439
3439
  };
3440
3440
  const deserializeAws_restJson1GetMasterAccountCommand = async (output, context) => {
@@ -3445,7 +3445,7 @@ const deserializeAws_restJson1GetMasterAccountCommand = async (output, context)
3445
3445
  $metadata: deserializeMetadata(output),
3446
3446
  master: undefined,
3447
3447
  };
3448
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3448
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3449
3449
  if (data.master !== undefined && data.master !== null) {
3450
3450
  contents.master = deserializeAws_restJson1Invitation(data.master, context);
3451
3451
  }
@@ -3489,7 +3489,7 @@ const deserializeAws_restJson1GetMasterAccountCommandError = async (output, cont
3489
3489
  $fault: "client",
3490
3490
  $metadata: deserializeMetadata(output),
3491
3491
  });
3492
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3492
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3493
3493
  }
3494
3494
  };
3495
3495
  const deserializeAws_restJson1GetMemberCommand = async (output, context) => {
@@ -3508,33 +3508,33 @@ const deserializeAws_restJson1GetMemberCommand = async (output, context) => {
3508
3508
  tags: undefined,
3509
3509
  updatedAt: undefined,
3510
3510
  };
3511
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3511
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3512
3512
  if (data.accountId !== undefined && data.accountId !== null) {
3513
- contents.accountId = smithy_client_1.expectString(data.accountId);
3513
+ contents.accountId = (0, smithy_client_1.expectString)(data.accountId);
3514
3514
  }
3515
3515
  if (data.administratorAccountId !== undefined && data.administratorAccountId !== null) {
3516
- contents.administratorAccountId = smithy_client_1.expectString(data.administratorAccountId);
3516
+ contents.administratorAccountId = (0, smithy_client_1.expectString)(data.administratorAccountId);
3517
3517
  }
3518
3518
  if (data.arn !== undefined && data.arn !== null) {
3519
- contents.arn = smithy_client_1.expectString(data.arn);
3519
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
3520
3520
  }
3521
3521
  if (data.email !== undefined && data.email !== null) {
3522
- contents.email = smithy_client_1.expectString(data.email);
3522
+ contents.email = (0, smithy_client_1.expectString)(data.email);
3523
3523
  }
3524
3524
  if (data.invitedAt !== undefined && data.invitedAt !== null) {
3525
- contents.invitedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.invitedAt));
3525
+ contents.invitedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.invitedAt));
3526
3526
  }
3527
3527
  if (data.masterAccountId !== undefined && data.masterAccountId !== null) {
3528
- contents.masterAccountId = smithy_client_1.expectString(data.masterAccountId);
3528
+ contents.masterAccountId = (0, smithy_client_1.expectString)(data.masterAccountId);
3529
3529
  }
3530
3530
  if (data.relationshipStatus !== undefined && data.relationshipStatus !== null) {
3531
- contents.relationshipStatus = smithy_client_1.expectString(data.relationshipStatus);
3531
+ contents.relationshipStatus = (0, smithy_client_1.expectString)(data.relationshipStatus);
3532
3532
  }
3533
3533
  if (data.tags !== undefined && data.tags !== null) {
3534
3534
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
3535
3535
  }
3536
3536
  if (data.updatedAt !== undefined && data.updatedAt !== null) {
3537
- contents.updatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.updatedAt));
3537
+ contents.updatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.updatedAt));
3538
3538
  }
3539
3539
  return Promise.resolve(contents);
3540
3540
  };
@@ -3576,7 +3576,7 @@ const deserializeAws_restJson1GetMemberCommandError = async (output, context) =>
3576
3576
  $fault: "client",
3577
3577
  $metadata: deserializeMetadata(output),
3578
3578
  });
3579
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3579
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3580
3580
  }
3581
3581
  };
3582
3582
  const deserializeAws_restJson1GetUsageStatisticsCommand = async (output, context) => {
@@ -3589,15 +3589,15 @@ const deserializeAws_restJson1GetUsageStatisticsCommand = async (output, context
3589
3589
  records: undefined,
3590
3590
  timeRange: undefined,
3591
3591
  };
3592
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3592
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3593
3593
  if (data.nextToken !== undefined && data.nextToken !== null) {
3594
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3594
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3595
3595
  }
3596
3596
  if (data.records !== undefined && data.records !== null) {
3597
3597
  contents.records = deserializeAws_restJson1__listOfUsageRecord(data.records, context);
3598
3598
  }
3599
3599
  if (data.timeRange !== undefined && data.timeRange !== null) {
3600
- contents.timeRange = smithy_client_1.expectString(data.timeRange);
3600
+ contents.timeRange = (0, smithy_client_1.expectString)(data.timeRange);
3601
3601
  }
3602
3602
  return Promise.resolve(contents);
3603
3603
  };
@@ -3639,7 +3639,7 @@ const deserializeAws_restJson1GetUsageStatisticsCommandError = async (output, co
3639
3639
  $fault: "client",
3640
3640
  $metadata: deserializeMetadata(output),
3641
3641
  });
3642
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3642
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3643
3643
  }
3644
3644
  };
3645
3645
  const deserializeAws_restJson1GetUsageTotalsCommand = async (output, context) => {
@@ -3651,9 +3651,9 @@ const deserializeAws_restJson1GetUsageTotalsCommand = async (output, context) =>
3651
3651
  timeRange: undefined,
3652
3652
  usageTotals: undefined,
3653
3653
  };
3654
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3654
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3655
3655
  if (data.timeRange !== undefined && data.timeRange !== null) {
3656
- contents.timeRange = smithy_client_1.expectString(data.timeRange);
3656
+ contents.timeRange = (0, smithy_client_1.expectString)(data.timeRange);
3657
3657
  }
3658
3658
  if (data.usageTotals !== undefined && data.usageTotals !== null) {
3659
3659
  contents.usageTotals = deserializeAws_restJson1__listOfUsageTotal(data.usageTotals, context);
@@ -3698,7 +3698,7 @@ const deserializeAws_restJson1GetUsageTotalsCommandError = async (output, contex
3698
3698
  $fault: "client",
3699
3699
  $metadata: deserializeMetadata(output),
3700
3700
  });
3701
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3701
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3702
3702
  }
3703
3703
  };
3704
3704
  const deserializeAws_restJson1ListClassificationJobsCommand = async (output, context) => {
@@ -3710,12 +3710,12 @@ const deserializeAws_restJson1ListClassificationJobsCommand = async (output, con
3710
3710
  items: undefined,
3711
3711
  nextToken: undefined,
3712
3712
  };
3713
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3713
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3714
3714
  if (data.items !== undefined && data.items !== null) {
3715
3715
  contents.items = deserializeAws_restJson1__listOfJobSummary(data.items, context);
3716
3716
  }
3717
3717
  if (data.nextToken !== undefined && data.nextToken !== null) {
3718
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3718
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3719
3719
  }
3720
3720
  return Promise.resolve(contents);
3721
3721
  };
@@ -3757,7 +3757,7 @@ const deserializeAws_restJson1ListClassificationJobsCommandError = async (output
3757
3757
  $fault: "client",
3758
3758
  $metadata: deserializeMetadata(output),
3759
3759
  });
3760
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3760
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3761
3761
  }
3762
3762
  };
3763
3763
  const deserializeAws_restJson1ListCustomDataIdentifiersCommand = async (output, context) => {
@@ -3769,12 +3769,12 @@ const deserializeAws_restJson1ListCustomDataIdentifiersCommand = async (output,
3769
3769
  items: undefined,
3770
3770
  nextToken: undefined,
3771
3771
  };
3772
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3772
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3773
3773
  if (data.items !== undefined && data.items !== null) {
3774
3774
  contents.items = deserializeAws_restJson1__listOfCustomDataIdentifierSummary(data.items, context);
3775
3775
  }
3776
3776
  if (data.nextToken !== undefined && data.nextToken !== null) {
3777
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3777
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3778
3778
  }
3779
3779
  return Promise.resolve(contents);
3780
3780
  };
@@ -3816,7 +3816,7 @@ const deserializeAws_restJson1ListCustomDataIdentifiersCommandError = async (out
3816
3816
  $fault: "client",
3817
3817
  $metadata: deserializeMetadata(output),
3818
3818
  });
3819
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3819
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3820
3820
  }
3821
3821
  };
3822
3822
  const deserializeAws_restJson1ListFindingsCommand = async (output, context) => {
@@ -3828,12 +3828,12 @@ const deserializeAws_restJson1ListFindingsCommand = async (output, context) => {
3828
3828
  findingIds: undefined,
3829
3829
  nextToken: undefined,
3830
3830
  };
3831
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3831
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3832
3832
  if (data.findingIds !== undefined && data.findingIds !== null) {
3833
3833
  contents.findingIds = deserializeAws_restJson1__listOf__string(data.findingIds, context);
3834
3834
  }
3835
3835
  if (data.nextToken !== undefined && data.nextToken !== null) {
3836
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3836
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3837
3837
  }
3838
3838
  return Promise.resolve(contents);
3839
3839
  };
@@ -3875,7 +3875,7 @@ const deserializeAws_restJson1ListFindingsCommandError = async (output, context)
3875
3875
  $fault: "client",
3876
3876
  $metadata: deserializeMetadata(output),
3877
3877
  });
3878
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3878
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3879
3879
  }
3880
3880
  };
3881
3881
  const deserializeAws_restJson1ListFindingsFiltersCommand = async (output, context) => {
@@ -3887,12 +3887,12 @@ const deserializeAws_restJson1ListFindingsFiltersCommand = async (output, contex
3887
3887
  findingsFilterListItems: undefined,
3888
3888
  nextToken: undefined,
3889
3889
  };
3890
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3890
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3891
3891
  if (data.findingsFilterListItems !== undefined && data.findingsFilterListItems !== null) {
3892
3892
  contents.findingsFilterListItems = deserializeAws_restJson1__listOfFindingsFilterListItem(data.findingsFilterListItems, context);
3893
3893
  }
3894
3894
  if (data.nextToken !== undefined && data.nextToken !== null) {
3895
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3895
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3896
3896
  }
3897
3897
  return Promise.resolve(contents);
3898
3898
  };
@@ -3934,7 +3934,7 @@ const deserializeAws_restJson1ListFindingsFiltersCommandError = async (output, c
3934
3934
  $fault: "client",
3935
3935
  $metadata: deserializeMetadata(output),
3936
3936
  });
3937
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3937
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3938
3938
  }
3939
3939
  };
3940
3940
  const deserializeAws_restJson1ListInvitationsCommand = async (output, context) => {
@@ -3946,12 +3946,12 @@ const deserializeAws_restJson1ListInvitationsCommand = async (output, context) =
3946
3946
  invitations: undefined,
3947
3947
  nextToken: undefined,
3948
3948
  };
3949
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3949
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3950
3950
  if (data.invitations !== undefined && data.invitations !== null) {
3951
3951
  contents.invitations = deserializeAws_restJson1__listOfInvitation(data.invitations, context);
3952
3952
  }
3953
3953
  if (data.nextToken !== undefined && data.nextToken !== null) {
3954
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
3954
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
3955
3955
  }
3956
3956
  return Promise.resolve(contents);
3957
3957
  };
@@ -3993,7 +3993,7 @@ const deserializeAws_restJson1ListInvitationsCommandError = async (output, conte
3993
3993
  $fault: "client",
3994
3994
  $metadata: deserializeMetadata(output),
3995
3995
  });
3996
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3996
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3997
3997
  }
3998
3998
  };
3999
3999
  const deserializeAws_restJson1ListManagedDataIdentifiersCommand = async (output, context) => {
@@ -4005,12 +4005,12 @@ const deserializeAws_restJson1ListManagedDataIdentifiersCommand = async (output,
4005
4005
  items: undefined,
4006
4006
  nextToken: undefined,
4007
4007
  };
4008
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4008
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4009
4009
  if (data.items !== undefined && data.items !== null) {
4010
4010
  contents.items = deserializeAws_restJson1__listOfManagedDataIdentifierSummary(data.items, context);
4011
4011
  }
4012
4012
  if (data.nextToken !== undefined && data.nextToken !== null) {
4013
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
4013
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
4014
4014
  }
4015
4015
  return Promise.resolve(contents);
4016
4016
  };
@@ -4031,7 +4031,7 @@ const deserializeAws_restJson1ListManagedDataIdentifiersCommandError = async (ou
4031
4031
  $fault: "client",
4032
4032
  $metadata: deserializeMetadata(output),
4033
4033
  });
4034
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4034
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4035
4035
  }
4036
4036
  };
4037
4037
  const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
@@ -4043,12 +4043,12 @@ const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
4043
4043
  members: undefined,
4044
4044
  nextToken: undefined,
4045
4045
  };
4046
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4046
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4047
4047
  if (data.members !== undefined && data.members !== null) {
4048
4048
  contents.members = deserializeAws_restJson1__listOfMember(data.members, context);
4049
4049
  }
4050
4050
  if (data.nextToken !== undefined && data.nextToken !== null) {
4051
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
4051
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
4052
4052
  }
4053
4053
  return Promise.resolve(contents);
4054
4054
  };
@@ -4090,7 +4090,7 @@ const deserializeAws_restJson1ListMembersCommandError = async (output, context)
4090
4090
  $fault: "client",
4091
4091
  $metadata: deserializeMetadata(output),
4092
4092
  });
4093
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4093
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4094
4094
  }
4095
4095
  };
4096
4096
  const deserializeAws_restJson1ListOrganizationAdminAccountsCommand = async (output, context) => {
@@ -4102,12 +4102,12 @@ const deserializeAws_restJson1ListOrganizationAdminAccountsCommand = async (outp
4102
4102
  adminAccounts: undefined,
4103
4103
  nextToken: undefined,
4104
4104
  };
4105
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4105
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4106
4106
  if (data.adminAccounts !== undefined && data.adminAccounts !== null) {
4107
4107
  contents.adminAccounts = deserializeAws_restJson1__listOfAdminAccount(data.adminAccounts, context);
4108
4108
  }
4109
4109
  if (data.nextToken !== undefined && data.nextToken !== null) {
4110
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
4110
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
4111
4111
  }
4112
4112
  return Promise.resolve(contents);
4113
4113
  };
@@ -4149,7 +4149,7 @@ const deserializeAws_restJson1ListOrganizationAdminAccountsCommandError = async
4149
4149
  $fault: "client",
4150
4150
  $metadata: deserializeMetadata(output),
4151
4151
  });
4152
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4152
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4153
4153
  }
4154
4154
  };
4155
4155
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -4160,7 +4160,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
4160
4160
  $metadata: deserializeMetadata(output),
4161
4161
  tags: undefined,
4162
4162
  };
4163
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4163
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4164
4164
  if (data.tags !== undefined && data.tags !== null) {
4165
4165
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
4166
4166
  }
@@ -4183,7 +4183,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
4183
4183
  $fault: "client",
4184
4184
  $metadata: deserializeMetadata(output),
4185
4185
  });
4186
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4186
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4187
4187
  }
4188
4188
  };
4189
4189
  const deserializeAws_restJson1PutClassificationExportConfigurationCommand = async (output, context) => {
@@ -4194,7 +4194,7 @@ const deserializeAws_restJson1PutClassificationExportConfigurationCommand = asyn
4194
4194
  $metadata: deserializeMetadata(output),
4195
4195
  configuration: undefined,
4196
4196
  };
4197
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4197
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4198
4198
  if (data.configuration !== undefined && data.configuration !== null) {
4199
4199
  contents.configuration = deserializeAws_restJson1ClassificationExportConfiguration(data.configuration, context);
4200
4200
  }
@@ -4238,7 +4238,7 @@ const deserializeAws_restJson1PutClassificationExportConfigurationCommandError =
4238
4238
  $fault: "client",
4239
4239
  $metadata: deserializeMetadata(output),
4240
4240
  });
4241
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4241
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4242
4242
  }
4243
4243
  };
4244
4244
  const deserializeAws_restJson1PutFindingsPublicationConfigurationCommand = async (output, context) => {
@@ -4289,7 +4289,7 @@ const deserializeAws_restJson1PutFindingsPublicationConfigurationCommandError =
4289
4289
  $fault: "client",
4290
4290
  $metadata: deserializeMetadata(output),
4291
4291
  });
4292
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4292
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4293
4293
  }
4294
4294
  };
4295
4295
  const deserializeAws_restJson1SearchResourcesCommand = async (output, context) => {
@@ -4301,12 +4301,12 @@ const deserializeAws_restJson1SearchResourcesCommand = async (output, context) =
4301
4301
  matchingResources: undefined,
4302
4302
  nextToken: undefined,
4303
4303
  };
4304
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4304
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4305
4305
  if (data.matchingResources !== undefined && data.matchingResources !== null) {
4306
4306
  contents.matchingResources = deserializeAws_restJson1__listOfMatchingResource(data.matchingResources, context);
4307
4307
  }
4308
4308
  if (data.nextToken !== undefined && data.nextToken !== null) {
4309
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
4309
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
4310
4310
  }
4311
4311
  return Promise.resolve(contents);
4312
4312
  };
@@ -4348,7 +4348,7 @@ const deserializeAws_restJson1SearchResourcesCommandError = async (output, conte
4348
4348
  $fault: "client",
4349
4349
  $metadata: deserializeMetadata(output),
4350
4350
  });
4351
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4351
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4352
4352
  }
4353
4353
  };
4354
4354
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -4378,7 +4378,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
4378
4378
  $fault: "client",
4379
4379
  $metadata: deserializeMetadata(output),
4380
4380
  });
4381
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4381
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4382
4382
  }
4383
4383
  };
4384
4384
  const deserializeAws_restJson1TestCustomDataIdentifierCommand = async (output, context) => {
@@ -4389,9 +4389,9 @@ const deserializeAws_restJson1TestCustomDataIdentifierCommand = async (output, c
4389
4389
  $metadata: deserializeMetadata(output),
4390
4390
  matchCount: undefined,
4391
4391
  };
4392
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4392
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4393
4393
  if (data.matchCount !== undefined && data.matchCount !== null) {
4394
- contents.matchCount = smithy_client_1.expectInt32(data.matchCount);
4394
+ contents.matchCount = (0, smithy_client_1.expectInt32)(data.matchCount);
4395
4395
  }
4396
4396
  return Promise.resolve(contents);
4397
4397
  };
@@ -4433,7 +4433,7 @@ const deserializeAws_restJson1TestCustomDataIdentifierCommandError = async (outp
4433
4433
  $fault: "client",
4434
4434
  $metadata: deserializeMetadata(output),
4435
4435
  });
4436
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4436
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4437
4437
  }
4438
4438
  };
4439
4439
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -4463,7 +4463,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
4463
4463
  $fault: "client",
4464
4464
  $metadata: deserializeMetadata(output),
4465
4465
  });
4466
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4466
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4467
4467
  }
4468
4468
  };
4469
4469
  const deserializeAws_restJson1UpdateClassificationJobCommand = async (output, context) => {
@@ -4514,7 +4514,7 @@ const deserializeAws_restJson1UpdateClassificationJobCommandError = async (outpu
4514
4514
  $fault: "client",
4515
4515
  $metadata: deserializeMetadata(output),
4516
4516
  });
4517
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4517
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4518
4518
  }
4519
4519
  };
4520
4520
  const deserializeAws_restJson1UpdateFindingsFilterCommand = async (output, context) => {
@@ -4526,12 +4526,12 @@ const deserializeAws_restJson1UpdateFindingsFilterCommand = async (output, conte
4526
4526
  arn: undefined,
4527
4527
  id: undefined,
4528
4528
  };
4529
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4529
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4530
4530
  if (data.arn !== undefined && data.arn !== null) {
4531
- contents.arn = smithy_client_1.expectString(data.arn);
4531
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
4532
4532
  }
4533
4533
  if (data.id !== undefined && data.id !== null) {
4534
- contents.id = smithy_client_1.expectString(data.id);
4534
+ contents.id = (0, smithy_client_1.expectString)(data.id);
4535
4535
  }
4536
4536
  return Promise.resolve(contents);
4537
4537
  };
@@ -4573,7 +4573,7 @@ const deserializeAws_restJson1UpdateFindingsFilterCommandError = async (output,
4573
4573
  $fault: "client",
4574
4574
  $metadata: deserializeMetadata(output),
4575
4575
  });
4576
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4576
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4577
4577
  }
4578
4578
  };
4579
4579
  const deserializeAws_restJson1UpdateMacieSessionCommand = async (output, context) => {
@@ -4624,7 +4624,7 @@ const deserializeAws_restJson1UpdateMacieSessionCommandError = async (output, co
4624
4624
  $fault: "client",
4625
4625
  $metadata: deserializeMetadata(output),
4626
4626
  });
4627
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4627
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4628
4628
  }
4629
4629
  };
4630
4630
  const deserializeAws_restJson1UpdateMemberSessionCommand = async (output, context) => {
@@ -4675,7 +4675,7 @@ const deserializeAws_restJson1UpdateMemberSessionCommandError = async (output, c
4675
4675
  $fault: "client",
4676
4676
  $metadata: deserializeMetadata(output),
4677
4677
  });
4678
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4678
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4679
4679
  }
4680
4680
  };
4681
4681
  const deserializeAws_restJson1UpdateOrganizationConfigurationCommand = async (output, context) => {
@@ -4726,92 +4726,92 @@ const deserializeAws_restJson1UpdateOrganizationConfigurationCommandError = asyn
4726
4726
  $fault: "client",
4727
4727
  $metadata: deserializeMetadata(output),
4728
4728
  });
4729
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4729
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4730
4730
  }
4731
4731
  };
4732
4732
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
4733
4733
  const contents = {};
4734
4734
  const data = parsedOutput.body;
4735
4735
  if (data.message !== undefined && data.message !== null) {
4736
- contents.message = smithy_client_1.expectString(data.message);
4736
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4737
4737
  }
4738
4738
  const exception = new models_0_1.AccessDeniedException({
4739
4739
  $metadata: deserializeMetadata(parsedOutput),
4740
4740
  ...contents,
4741
4741
  });
4742
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4742
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4743
4743
  };
4744
4744
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
4745
4745
  const contents = {};
4746
4746
  const data = parsedOutput.body;
4747
4747
  if (data.message !== undefined && data.message !== null) {
4748
- contents.message = smithy_client_1.expectString(data.message);
4748
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4749
4749
  }
4750
4750
  const exception = new models_0_1.ConflictException({
4751
4751
  $metadata: deserializeMetadata(parsedOutput),
4752
4752
  ...contents,
4753
4753
  });
4754
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4754
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4755
4755
  };
4756
4756
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
4757
4757
  const contents = {};
4758
4758
  const data = parsedOutput.body;
4759
4759
  if (data.message !== undefined && data.message !== null) {
4760
- contents.message = smithy_client_1.expectString(data.message);
4760
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4761
4761
  }
4762
4762
  const exception = new models_0_1.InternalServerException({
4763
4763
  $metadata: deserializeMetadata(parsedOutput),
4764
4764
  ...contents,
4765
4765
  });
4766
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4766
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4767
4767
  };
4768
4768
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
4769
4769
  const contents = {};
4770
4770
  const data = parsedOutput.body;
4771
4771
  if (data.message !== undefined && data.message !== null) {
4772
- contents.message = smithy_client_1.expectString(data.message);
4772
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4773
4773
  }
4774
4774
  const exception = new models_0_1.ResourceNotFoundException({
4775
4775
  $metadata: deserializeMetadata(parsedOutput),
4776
4776
  ...contents,
4777
4777
  });
4778
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4778
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4779
4779
  };
4780
4780
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
4781
4781
  const contents = {};
4782
4782
  const data = parsedOutput.body;
4783
4783
  if (data.message !== undefined && data.message !== null) {
4784
- contents.message = smithy_client_1.expectString(data.message);
4784
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4785
4785
  }
4786
4786
  const exception = new models_0_1.ServiceQuotaExceededException({
4787
4787
  $metadata: deserializeMetadata(parsedOutput),
4788
4788
  ...contents,
4789
4789
  });
4790
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4790
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4791
4791
  };
4792
4792
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
4793
4793
  const contents = {};
4794
4794
  const data = parsedOutput.body;
4795
4795
  if (data.message !== undefined && data.message !== null) {
4796
- contents.message = smithy_client_1.expectString(data.message);
4796
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4797
4797
  }
4798
4798
  const exception = new models_0_1.ThrottlingException({
4799
4799
  $metadata: deserializeMetadata(parsedOutput),
4800
4800
  ...contents,
4801
4801
  });
4802
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4802
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4803
4803
  };
4804
4804
  const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
4805
4805
  const contents = {};
4806
4806
  const data = parsedOutput.body;
4807
4807
  if (data.message !== undefined && data.message !== null) {
4808
- contents.message = smithy_client_1.expectString(data.message);
4808
+ contents.message = (0, smithy_client_1.expectString)(data.message);
4809
4809
  }
4810
4810
  const exception = new models_0_1.ValidationException({
4811
4811
  $metadata: deserializeMetadata(parsedOutput),
4812
4812
  ...contents,
4813
4813
  });
4814
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
4814
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
4815
4815
  };
4816
4816
  const serializeAws_restJson1__listOf__string = (input, context) => {
4817
4817
  return input
@@ -5309,7 +5309,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
5309
5309
  if (entry === null) {
5310
5310
  return null;
5311
5311
  }
5312
- return smithy_client_1.expectString(entry);
5312
+ return (0, smithy_client_1.expectString)(entry);
5313
5313
  });
5314
5314
  return retVal;
5315
5315
  };
@@ -5557,8 +5557,8 @@ const deserializeAws_restJson1__listOfUsageTotal = (output, context) => {
5557
5557
  };
5558
5558
  const deserializeAws_restJson1AccessControlList = (output, context) => {
5559
5559
  return {
5560
- allowsPublicReadAccess: smithy_client_1.expectBoolean(output.allowsPublicReadAccess),
5561
- allowsPublicWriteAccess: smithy_client_1.expectBoolean(output.allowsPublicWriteAccess),
5560
+ allowsPublicReadAccess: (0, smithy_client_1.expectBoolean)(output.allowsPublicReadAccess),
5561
+ allowsPublicWriteAccess: (0, smithy_client_1.expectBoolean)(output.allowsPublicWriteAccess),
5562
5562
  };
5563
5563
  };
5564
5564
  const deserializeAws_restJson1AccountLevelPermissions = (output, context) => {
@@ -5570,28 +5570,28 @@ const deserializeAws_restJson1AccountLevelPermissions = (output, context) => {
5570
5570
  };
5571
5571
  const deserializeAws_restJson1AdminAccount = (output, context) => {
5572
5572
  return {
5573
- accountId: smithy_client_1.expectString(output.accountId),
5574
- status: smithy_client_1.expectString(output.status),
5573
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
5574
+ status: (0, smithy_client_1.expectString)(output.status),
5575
5575
  };
5576
5576
  };
5577
5577
  const deserializeAws_restJson1ApiCallDetails = (output, context) => {
5578
5578
  return {
5579
- api: smithy_client_1.expectString(output.api),
5580
- apiServiceName: smithy_client_1.expectString(output.apiServiceName),
5579
+ api: (0, smithy_client_1.expectString)(output.api),
5580
+ apiServiceName: (0, smithy_client_1.expectString)(output.apiServiceName),
5581
5581
  firstSeen: output.firstSeen !== undefined && output.firstSeen !== null
5582
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.firstSeen))
5582
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.firstSeen))
5583
5583
  : undefined,
5584
5584
  lastSeen: output.lastSeen !== undefined && output.lastSeen !== null
5585
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.lastSeen))
5585
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastSeen))
5586
5586
  : undefined,
5587
5587
  };
5588
5588
  };
5589
5589
  const deserializeAws_restJson1AssumedRole = (output, context) => {
5590
5590
  return {
5591
- accessKeyId: smithy_client_1.expectString(output.accessKeyId),
5592
- accountId: smithy_client_1.expectString(output.accountId),
5593
- arn: smithy_client_1.expectString(output.arn),
5594
- principalId: smithy_client_1.expectString(output.principalId),
5591
+ accessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId),
5592
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
5593
+ arn: (0, smithy_client_1.expectString)(output.arn),
5594
+ principalId: (0, smithy_client_1.expectString)(output.principalId),
5595
5595
  sessionContext: output.sessionContext !== undefined && output.sessionContext !== null
5596
5596
  ? deserializeAws_restJson1SessionContext(output.sessionContext, context)
5597
5597
  : undefined,
@@ -5599,64 +5599,64 @@ const deserializeAws_restJson1AssumedRole = (output, context) => {
5599
5599
  };
5600
5600
  const deserializeAws_restJson1AwsAccount = (output, context) => {
5601
5601
  return {
5602
- accountId: smithy_client_1.expectString(output.accountId),
5603
- principalId: smithy_client_1.expectString(output.principalId),
5602
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
5603
+ principalId: (0, smithy_client_1.expectString)(output.principalId),
5604
5604
  };
5605
5605
  };
5606
5606
  const deserializeAws_restJson1AwsService = (output, context) => {
5607
5607
  return {
5608
- invokedBy: smithy_client_1.expectString(output.invokedBy),
5608
+ invokedBy: (0, smithy_client_1.expectString)(output.invokedBy),
5609
5609
  };
5610
5610
  };
5611
5611
  const deserializeAws_restJson1BatchGetCustomDataIdentifierSummary = (output, context) => {
5612
5612
  return {
5613
- arn: smithy_client_1.expectString(output.arn),
5613
+ arn: (0, smithy_client_1.expectString)(output.arn),
5614
5614
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5615
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdAt))
5615
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt))
5616
5616
  : undefined,
5617
- deleted: smithy_client_1.expectBoolean(output.deleted),
5618
- description: smithy_client_1.expectString(output.description),
5619
- id: smithy_client_1.expectString(output.id),
5620
- name: smithy_client_1.expectString(output.name),
5617
+ deleted: (0, smithy_client_1.expectBoolean)(output.deleted),
5618
+ description: (0, smithy_client_1.expectString)(output.description),
5619
+ id: (0, smithy_client_1.expectString)(output.id),
5620
+ name: (0, smithy_client_1.expectString)(output.name),
5621
5621
  };
5622
5622
  };
5623
5623
  const deserializeAws_restJson1BlockPublicAccess = (output, context) => {
5624
5624
  return {
5625
- blockPublicAcls: smithy_client_1.expectBoolean(output.blockPublicAcls),
5626
- blockPublicPolicy: smithy_client_1.expectBoolean(output.blockPublicPolicy),
5627
- ignorePublicAcls: smithy_client_1.expectBoolean(output.ignorePublicAcls),
5628
- restrictPublicBuckets: smithy_client_1.expectBoolean(output.restrictPublicBuckets),
5625
+ blockPublicAcls: (0, smithy_client_1.expectBoolean)(output.blockPublicAcls),
5626
+ blockPublicPolicy: (0, smithy_client_1.expectBoolean)(output.blockPublicPolicy),
5627
+ ignorePublicAcls: (0, smithy_client_1.expectBoolean)(output.ignorePublicAcls),
5628
+ restrictPublicBuckets: (0, smithy_client_1.expectBoolean)(output.restrictPublicBuckets),
5629
5629
  };
5630
5630
  };
5631
5631
  const deserializeAws_restJson1BucketCountByEffectivePermission = (output, context) => {
5632
5632
  return {
5633
- publiclyAccessible: smithy_client_1.expectLong(output.publiclyAccessible),
5634
- publiclyReadable: smithy_client_1.expectLong(output.publiclyReadable),
5635
- publiclyWritable: smithy_client_1.expectLong(output.publiclyWritable),
5636
- unknown: smithy_client_1.expectLong(output.unknown),
5633
+ publiclyAccessible: (0, smithy_client_1.expectLong)(output.publiclyAccessible),
5634
+ publiclyReadable: (0, smithy_client_1.expectLong)(output.publiclyReadable),
5635
+ publiclyWritable: (0, smithy_client_1.expectLong)(output.publiclyWritable),
5636
+ unknown: (0, smithy_client_1.expectLong)(output.unknown),
5637
5637
  };
5638
5638
  };
5639
5639
  const deserializeAws_restJson1BucketCountByEncryptionType = (output, context) => {
5640
5640
  return {
5641
- kmsManaged: smithy_client_1.expectLong(output.kmsManaged),
5642
- s3Managed: smithy_client_1.expectLong(output.s3Managed),
5643
- unencrypted: smithy_client_1.expectLong(output.unencrypted),
5644
- unknown: smithy_client_1.expectLong(output.unknown),
5641
+ kmsManaged: (0, smithy_client_1.expectLong)(output.kmsManaged),
5642
+ s3Managed: (0, smithy_client_1.expectLong)(output.s3Managed),
5643
+ unencrypted: (0, smithy_client_1.expectLong)(output.unencrypted),
5644
+ unknown: (0, smithy_client_1.expectLong)(output.unknown),
5645
5645
  };
5646
5646
  };
5647
5647
  const deserializeAws_restJson1BucketCountBySharedAccessType = (output, context) => {
5648
5648
  return {
5649
- external: smithy_client_1.expectLong(output.external),
5650
- internal: smithy_client_1.expectLong(output.internal),
5651
- notShared: smithy_client_1.expectLong(output.notShared),
5652
- unknown: smithy_client_1.expectLong(output.unknown),
5649
+ external: (0, smithy_client_1.expectLong)(output.external),
5650
+ internal: (0, smithy_client_1.expectLong)(output.internal),
5651
+ notShared: (0, smithy_client_1.expectLong)(output.notShared),
5652
+ unknown: (0, smithy_client_1.expectLong)(output.unknown),
5653
5653
  };
5654
5654
  };
5655
5655
  const deserializeAws_restJson1BucketCountPolicyAllowsUnencryptedObjectUploads = (output, context) => {
5656
5656
  return {
5657
- allowsUnencryptedObjectUploads: smithy_client_1.expectLong(output.allowsUnencryptedObjectUploads),
5658
- deniesUnencryptedObjectUploads: smithy_client_1.expectLong(output.deniesUnencryptedObjectUploads),
5659
- unknown: smithy_client_1.expectLong(output.unknown),
5657
+ allowsUnencryptedObjectUploads: (0, smithy_client_1.expectLong)(output.allowsUnencryptedObjectUploads),
5658
+ deniesUnencryptedObjectUploads: (0, smithy_client_1.expectLong)(output.deniesUnencryptedObjectUploads),
5659
+ unknown: (0, smithy_client_1.expectLong)(output.unknown),
5660
5660
  };
5661
5661
  };
5662
5662
  const deserializeAws_restJson1BucketLevelPermissions = (output, context) => {
@@ -5674,40 +5674,40 @@ const deserializeAws_restJson1BucketLevelPermissions = (output, context) => {
5674
5674
  };
5675
5675
  const deserializeAws_restJson1BucketMetadata = (output, context) => {
5676
5676
  return {
5677
- accountId: smithy_client_1.expectString(output.accountId),
5678
- allowsUnencryptedObjectUploads: smithy_client_1.expectString(output.allowsUnencryptedObjectUploads),
5679
- bucketArn: smithy_client_1.expectString(output.bucketArn),
5677
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
5678
+ allowsUnencryptedObjectUploads: (0, smithy_client_1.expectString)(output.allowsUnencryptedObjectUploads),
5679
+ bucketArn: (0, smithy_client_1.expectString)(output.bucketArn),
5680
5680
  bucketCreatedAt: output.bucketCreatedAt !== undefined && output.bucketCreatedAt !== null
5681
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.bucketCreatedAt))
5681
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.bucketCreatedAt))
5682
5682
  : undefined,
5683
- bucketName: smithy_client_1.expectString(output.bucketName),
5684
- classifiableObjectCount: smithy_client_1.expectLong(output.classifiableObjectCount),
5685
- classifiableSizeInBytes: smithy_client_1.expectLong(output.classifiableSizeInBytes),
5686
- errorCode: smithy_client_1.expectString(output.errorCode),
5687
- errorMessage: smithy_client_1.expectString(output.errorMessage),
5683
+ bucketName: (0, smithy_client_1.expectString)(output.bucketName),
5684
+ classifiableObjectCount: (0, smithy_client_1.expectLong)(output.classifiableObjectCount),
5685
+ classifiableSizeInBytes: (0, smithy_client_1.expectLong)(output.classifiableSizeInBytes),
5686
+ errorCode: (0, smithy_client_1.expectString)(output.errorCode),
5687
+ errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
5688
5688
  jobDetails: output.jobDetails !== undefined && output.jobDetails !== null
5689
5689
  ? deserializeAws_restJson1JobDetails(output.jobDetails, context)
5690
5690
  : undefined,
5691
5691
  lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
5692
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.lastUpdated))
5692
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastUpdated))
5693
5693
  : undefined,
5694
- objectCount: smithy_client_1.expectLong(output.objectCount),
5694
+ objectCount: (0, smithy_client_1.expectLong)(output.objectCount),
5695
5695
  objectCountByEncryptionType: output.objectCountByEncryptionType !== undefined && output.objectCountByEncryptionType !== null
5696
5696
  ? deserializeAws_restJson1ObjectCountByEncryptionType(output.objectCountByEncryptionType, context)
5697
5697
  : undefined,
5698
5698
  publicAccess: output.publicAccess !== undefined && output.publicAccess !== null
5699
5699
  ? deserializeAws_restJson1BucketPublicAccess(output.publicAccess, context)
5700
5700
  : undefined,
5701
- region: smithy_client_1.expectString(output.region),
5701
+ region: (0, smithy_client_1.expectString)(output.region),
5702
5702
  replicationDetails: output.replicationDetails !== undefined && output.replicationDetails !== null
5703
5703
  ? deserializeAws_restJson1ReplicationDetails(output.replicationDetails, context)
5704
5704
  : undefined,
5705
5705
  serverSideEncryption: output.serverSideEncryption !== undefined && output.serverSideEncryption !== null
5706
5706
  ? deserializeAws_restJson1BucketServerSideEncryption(output.serverSideEncryption, context)
5707
5707
  : undefined,
5708
- sharedAccess: smithy_client_1.expectString(output.sharedAccess),
5709
- sizeInBytes: smithy_client_1.expectLong(output.sizeInBytes),
5710
- sizeInBytesCompressed: smithy_client_1.expectLong(output.sizeInBytesCompressed),
5708
+ sharedAccess: (0, smithy_client_1.expectString)(output.sharedAccess),
5709
+ sizeInBytes: (0, smithy_client_1.expectLong)(output.sizeInBytes),
5710
+ sizeInBytesCompressed: (0, smithy_client_1.expectLong)(output.sizeInBytesCompressed),
5711
5711
  tags: output.tags !== undefined && output.tags !== null
5712
5712
  ? deserializeAws_restJson1__listOfKeyValuePair(output.tags, context)
5713
5713
  : undefined,
@@ -5717,7 +5717,7 @@ const deserializeAws_restJson1BucketMetadata = (output, context) => {
5717
5717
  unclassifiableObjectSizeInBytes: output.unclassifiableObjectSizeInBytes !== undefined && output.unclassifiableObjectSizeInBytes !== null
5718
5718
  ? deserializeAws_restJson1ObjectLevelStatistics(output.unclassifiableObjectSizeInBytes, context)
5719
5719
  : undefined,
5720
- versioning: smithy_client_1.expectBoolean(output.versioning),
5720
+ versioning: (0, smithy_client_1.expectBoolean)(output.versioning),
5721
5721
  };
5722
5722
  };
5723
5723
  const deserializeAws_restJson1BucketPermissionConfiguration = (output, context) => {
@@ -5732,13 +5732,13 @@ const deserializeAws_restJson1BucketPermissionConfiguration = (output, context)
5732
5732
  };
5733
5733
  const deserializeAws_restJson1BucketPolicy = (output, context) => {
5734
5734
  return {
5735
- allowsPublicReadAccess: smithy_client_1.expectBoolean(output.allowsPublicReadAccess),
5736
- allowsPublicWriteAccess: smithy_client_1.expectBoolean(output.allowsPublicWriteAccess),
5735
+ allowsPublicReadAccess: (0, smithy_client_1.expectBoolean)(output.allowsPublicReadAccess),
5736
+ allowsPublicWriteAccess: (0, smithy_client_1.expectBoolean)(output.allowsPublicWriteAccess),
5737
5737
  };
5738
5738
  };
5739
5739
  const deserializeAws_restJson1BucketPublicAccess = (output, context) => {
5740
5740
  return {
5741
- effectivePermission: smithy_client_1.expectString(output.effectivePermission),
5741
+ effectivePermission: (0, smithy_client_1.expectString)(output.effectivePermission),
5742
5742
  permissionConfiguration: output.permissionConfiguration !== undefined && output.permissionConfiguration !== null
5743
5743
  ? deserializeAws_restJson1BucketPermissionConfiguration(output.permissionConfiguration, context)
5744
5744
  : undefined,
@@ -5746,16 +5746,16 @@ const deserializeAws_restJson1BucketPublicAccess = (output, context) => {
5746
5746
  };
5747
5747
  const deserializeAws_restJson1BucketServerSideEncryption = (output, context) => {
5748
5748
  return {
5749
- kmsMasterKeyId: smithy_client_1.expectString(output.kmsMasterKeyId),
5750
- type: smithy_client_1.expectString(output.type),
5749
+ kmsMasterKeyId: (0, smithy_client_1.expectString)(output.kmsMasterKeyId),
5750
+ type: (0, smithy_client_1.expectString)(output.type),
5751
5751
  };
5752
5752
  };
5753
5753
  const deserializeAws_restJson1Cell = (output, context) => {
5754
5754
  return {
5755
- cellReference: smithy_client_1.expectString(output.cellReference),
5756
- column: smithy_client_1.expectLong(output.column),
5757
- columnName: smithy_client_1.expectString(output.columnName),
5758
- row: smithy_client_1.expectLong(output.row),
5755
+ cellReference: (0, smithy_client_1.expectString)(output.cellReference),
5756
+ column: (0, smithy_client_1.expectLong)(output.column),
5757
+ columnName: (0, smithy_client_1.expectString)(output.columnName),
5758
+ row: (0, smithy_client_1.expectLong)(output.row),
5759
5759
  };
5760
5760
  };
5761
5761
  const deserializeAws_restJson1Cells = (output, context) => {
@@ -5771,9 +5771,9 @@ const deserializeAws_restJson1Cells = (output, context) => {
5771
5771
  };
5772
5772
  const deserializeAws_restJson1ClassificationDetails = (output, context) => {
5773
5773
  return {
5774
- detailedResultsLocation: smithy_client_1.expectString(output.detailedResultsLocation),
5775
- jobArn: smithy_client_1.expectString(output.jobArn),
5776
- jobId: smithy_client_1.expectString(output.jobId),
5774
+ detailedResultsLocation: (0, smithy_client_1.expectString)(output.detailedResultsLocation),
5775
+ jobArn: (0, smithy_client_1.expectString)(output.jobArn),
5776
+ jobId: (0, smithy_client_1.expectString)(output.jobId),
5777
5777
  result: output.result !== undefined && output.result !== null
5778
5778
  ? deserializeAws_restJson1ClassificationResult(output.result, context)
5779
5779
  : undefined,
@@ -5788,15 +5788,15 @@ const deserializeAws_restJson1ClassificationExportConfiguration = (output, conte
5788
5788
  };
5789
5789
  const deserializeAws_restJson1ClassificationResult = (output, context) => {
5790
5790
  return {
5791
- additionalOccurrences: smithy_client_1.expectBoolean(output.additionalOccurrences),
5791
+ additionalOccurrences: (0, smithy_client_1.expectBoolean)(output.additionalOccurrences),
5792
5792
  customDataIdentifiers: output.customDataIdentifiers !== undefined && output.customDataIdentifiers !== null
5793
5793
  ? deserializeAws_restJson1CustomDataIdentifiers(output.customDataIdentifiers, context)
5794
5794
  : undefined,
5795
- mimeType: smithy_client_1.expectString(output.mimeType),
5795
+ mimeType: (0, smithy_client_1.expectString)(output.mimeType),
5796
5796
  sensitiveData: output.sensitiveData !== undefined && output.sensitiveData !== null
5797
5797
  ? deserializeAws_restJson1SensitiveData(output.sensitiveData, context)
5798
5798
  : undefined,
5799
- sizeClassified: smithy_client_1.expectLong(output.sizeClassified),
5799
+ sizeClassified: (0, smithy_client_1.expectLong)(output.sizeClassified),
5800
5800
  status: output.status !== undefined && output.status !== null
5801
5801
  ? deserializeAws_restJson1ClassificationResultStatus(output.status, context)
5802
5802
  : undefined,
@@ -5804,8 +5804,8 @@ const deserializeAws_restJson1ClassificationResult = (output, context) => {
5804
5804
  };
5805
5805
  const deserializeAws_restJson1ClassificationResultStatus = (output, context) => {
5806
5806
  return {
5807
- code: smithy_client_1.expectString(output.code),
5808
- reason: smithy_client_1.expectString(output.reason),
5807
+ code: (0, smithy_client_1.expectString)(output.code),
5808
+ reason: (0, smithy_client_1.expectString)(output.reason),
5809
5809
  };
5810
5810
  };
5811
5811
  const deserializeAws_restJson1CriteriaBlockForJob = (output, context) => {
@@ -5844,10 +5844,10 @@ const deserializeAws_restJson1CriterionAdditionalProperties = (output, context)
5844
5844
  eqExactMatch: output.eqExactMatch !== undefined && output.eqExactMatch !== null
5845
5845
  ? deserializeAws_restJson1__listOf__string(output.eqExactMatch, context)
5846
5846
  : undefined,
5847
- gt: smithy_client_1.expectLong(output.gt),
5848
- gte: smithy_client_1.expectLong(output.gte),
5849
- lt: smithy_client_1.expectLong(output.lt),
5850
- lte: smithy_client_1.expectLong(output.lte),
5847
+ gt: (0, smithy_client_1.expectLong)(output.gt),
5848
+ gte: (0, smithy_client_1.expectLong)(output.gte),
5849
+ lt: (0, smithy_client_1.expectLong)(output.lt),
5850
+ lte: (0, smithy_client_1.expectLong)(output.lte),
5851
5851
  neq: output.neq !== undefined && output.neq !== null
5852
5852
  ? deserializeAws_restJson1__listOf__string(output.neq, context)
5853
5853
  : undefined,
@@ -5858,25 +5858,25 @@ const deserializeAws_restJson1CustomDataIdentifiers = (output, context) => {
5858
5858
  detections: output.detections !== undefined && output.detections !== null
5859
5859
  ? deserializeAws_restJson1CustomDetections(output.detections, context)
5860
5860
  : undefined,
5861
- totalCount: smithy_client_1.expectLong(output.totalCount),
5861
+ totalCount: (0, smithy_client_1.expectLong)(output.totalCount),
5862
5862
  };
5863
5863
  };
5864
5864
  const deserializeAws_restJson1CustomDataIdentifierSummary = (output, context) => {
5865
5865
  return {
5866
- arn: smithy_client_1.expectString(output.arn),
5866
+ arn: (0, smithy_client_1.expectString)(output.arn),
5867
5867
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5868
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdAt))
5868
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt))
5869
5869
  : undefined,
5870
- description: smithy_client_1.expectString(output.description),
5871
- id: smithy_client_1.expectString(output.id),
5872
- name: smithy_client_1.expectString(output.name),
5870
+ description: (0, smithy_client_1.expectString)(output.description),
5871
+ id: (0, smithy_client_1.expectString)(output.id),
5872
+ name: (0, smithy_client_1.expectString)(output.name),
5873
5873
  };
5874
5874
  };
5875
5875
  const deserializeAws_restJson1CustomDetection = (output, context) => {
5876
5876
  return {
5877
- arn: smithy_client_1.expectString(output.arn),
5878
- count: smithy_client_1.expectLong(output.count),
5879
- name: smithy_client_1.expectString(output.name),
5877
+ arn: (0, smithy_client_1.expectString)(output.arn),
5878
+ count: (0, smithy_client_1.expectLong)(output.count),
5879
+ name: (0, smithy_client_1.expectString)(output.name),
5880
5880
  occurrences: output.occurrences !== undefined && output.occurrences !== null
5881
5881
  ? deserializeAws_restJson1Occurrences(output.occurrences, context)
5882
5882
  : undefined,
@@ -5898,11 +5898,11 @@ const deserializeAws_restJson1DailySchedule = (output, context) => {
5898
5898
  };
5899
5899
  const deserializeAws_restJson1DefaultDetection = (output, context) => {
5900
5900
  return {
5901
- count: smithy_client_1.expectLong(output.count),
5901
+ count: (0, smithy_client_1.expectLong)(output.count),
5902
5902
  occurrences: output.occurrences !== undefined && output.occurrences !== null
5903
5903
  ? deserializeAws_restJson1Occurrences(output.occurrences, context)
5904
5904
  : undefined,
5905
- type: smithy_client_1.expectString(output.type),
5905
+ type: (0, smithy_client_1.expectString)(output.type),
5906
5906
  };
5907
5907
  };
5908
5908
  const deserializeAws_restJson1DefaultDetections = (output, context) => {
@@ -5918,15 +5918,15 @@ const deserializeAws_restJson1DefaultDetections = (output, context) => {
5918
5918
  };
5919
5919
  const deserializeAws_restJson1DomainDetails = (output, context) => {
5920
5920
  return {
5921
- domainName: smithy_client_1.expectString(output.domainName),
5921
+ domainName: (0, smithy_client_1.expectString)(output.domainName),
5922
5922
  };
5923
5923
  };
5924
5924
  const deserializeAws_restJson1FederatedUser = (output, context) => {
5925
5925
  return {
5926
- accessKeyId: smithy_client_1.expectString(output.accessKeyId),
5927
- accountId: smithy_client_1.expectString(output.accountId),
5928
- arn: smithy_client_1.expectString(output.arn),
5929
- principalId: smithy_client_1.expectString(output.principalId),
5926
+ accessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId),
5927
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
5928
+ arn: (0, smithy_client_1.expectString)(output.arn),
5929
+ principalId: (0, smithy_client_1.expectString)(output.principalId),
5930
5930
  sessionContext: output.sessionContext !== undefined && output.sessionContext !== null
5931
5931
  ? deserializeAws_restJson1SessionContext(output.sessionContext, context)
5932
5932
  : undefined,
@@ -5934,41 +5934,41 @@ const deserializeAws_restJson1FederatedUser = (output, context) => {
5934
5934
  };
5935
5935
  const deserializeAws_restJson1Finding = (output, context) => {
5936
5936
  return {
5937
- accountId: smithy_client_1.expectString(output.accountId),
5938
- archived: smithy_client_1.expectBoolean(output.archived),
5939
- category: smithy_client_1.expectString(output.category),
5937
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
5938
+ archived: (0, smithy_client_1.expectBoolean)(output.archived),
5939
+ category: (0, smithy_client_1.expectString)(output.category),
5940
5940
  classificationDetails: output.classificationDetails !== undefined && output.classificationDetails !== null
5941
5941
  ? deserializeAws_restJson1ClassificationDetails(output.classificationDetails, context)
5942
5942
  : undefined,
5943
- count: smithy_client_1.expectLong(output.count),
5943
+ count: (0, smithy_client_1.expectLong)(output.count),
5944
5944
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5945
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdAt))
5945
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt))
5946
5946
  : undefined,
5947
- description: smithy_client_1.expectString(output.description),
5948
- id: smithy_client_1.expectString(output.id),
5949
- partition: smithy_client_1.expectString(output.partition),
5947
+ description: (0, smithy_client_1.expectString)(output.description),
5948
+ id: (0, smithy_client_1.expectString)(output.id),
5949
+ partition: (0, smithy_client_1.expectString)(output.partition),
5950
5950
  policyDetails: output.policyDetails !== undefined && output.policyDetails !== null
5951
5951
  ? deserializeAws_restJson1PolicyDetails(output.policyDetails, context)
5952
5952
  : undefined,
5953
- region: smithy_client_1.expectString(output.region),
5953
+ region: (0, smithy_client_1.expectString)(output.region),
5954
5954
  resourcesAffected: output.resourcesAffected !== undefined && output.resourcesAffected !== null
5955
5955
  ? deserializeAws_restJson1ResourcesAffected(output.resourcesAffected, context)
5956
5956
  : undefined,
5957
- sample: smithy_client_1.expectBoolean(output.sample),
5958
- schemaVersion: smithy_client_1.expectString(output.schemaVersion),
5957
+ sample: (0, smithy_client_1.expectBoolean)(output.sample),
5958
+ schemaVersion: (0, smithy_client_1.expectString)(output.schemaVersion),
5959
5959
  severity: output.severity !== undefined && output.severity !== null
5960
5960
  ? deserializeAws_restJson1Severity(output.severity, context)
5961
5961
  : undefined,
5962
- title: smithy_client_1.expectString(output.title),
5963
- type: smithy_client_1.expectString(output.type),
5962
+ title: (0, smithy_client_1.expectString)(output.title),
5963
+ type: (0, smithy_client_1.expectString)(output.type),
5964
5964
  updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
5965
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.updatedAt))
5965
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.updatedAt))
5966
5966
  : undefined,
5967
5967
  };
5968
5968
  };
5969
5969
  const deserializeAws_restJson1FindingAction = (output, context) => {
5970
5970
  return {
5971
- actionType: smithy_client_1.expectString(output.actionType),
5971
+ actionType: (0, smithy_client_1.expectString)(output.actionType),
5972
5972
  apiCallDetails: output.apiCallDetails !== undefined && output.apiCallDetails !== null
5973
5973
  ? deserializeAws_restJson1ApiCallDetails(output.apiCallDetails, context)
5974
5974
  : undefined,
@@ -5996,10 +5996,10 @@ const deserializeAws_restJson1FindingCriteria = (output, context) => {
5996
5996
  };
5997
5997
  const deserializeAws_restJson1FindingsFilterListItem = (output, context) => {
5998
5998
  return {
5999
- action: smithy_client_1.expectString(output.action),
6000
- arn: smithy_client_1.expectString(output.arn),
6001
- id: smithy_client_1.expectString(output.id),
6002
- name: smithy_client_1.expectString(output.name),
5999
+ action: (0, smithy_client_1.expectString)(output.action),
6000
+ arn: (0, smithy_client_1.expectString)(output.arn),
6001
+ id: (0, smithy_client_1.expectString)(output.id),
6002
+ name: (0, smithy_client_1.expectString)(output.name),
6003
6003
  tags: output.tags !== undefined && output.tags !== null
6004
6004
  ? deserializeAws_restJson1TagMap(output.tags, context)
6005
6005
  : undefined,
@@ -6007,31 +6007,31 @@ const deserializeAws_restJson1FindingsFilterListItem = (output, context) => {
6007
6007
  };
6008
6008
  const deserializeAws_restJson1GroupCount = (output, context) => {
6009
6009
  return {
6010
- count: smithy_client_1.expectLong(output.count),
6011
- groupKey: smithy_client_1.expectString(output.groupKey),
6010
+ count: (0, smithy_client_1.expectLong)(output.count),
6011
+ groupKey: (0, smithy_client_1.expectString)(output.groupKey),
6012
6012
  };
6013
6013
  };
6014
6014
  const deserializeAws_restJson1IamUser = (output, context) => {
6015
6015
  return {
6016
- accountId: smithy_client_1.expectString(output.accountId),
6017
- arn: smithy_client_1.expectString(output.arn),
6018
- principalId: smithy_client_1.expectString(output.principalId),
6019
- userName: smithy_client_1.expectString(output.userName),
6016
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
6017
+ arn: (0, smithy_client_1.expectString)(output.arn),
6018
+ principalId: (0, smithy_client_1.expectString)(output.principalId),
6019
+ userName: (0, smithy_client_1.expectString)(output.userName),
6020
6020
  };
6021
6021
  };
6022
6022
  const deserializeAws_restJson1Invitation = (output, context) => {
6023
6023
  return {
6024
- accountId: smithy_client_1.expectString(output.accountId),
6025
- invitationId: smithy_client_1.expectString(output.invitationId),
6024
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
6025
+ invitationId: (0, smithy_client_1.expectString)(output.invitationId),
6026
6026
  invitedAt: output.invitedAt !== undefined && output.invitedAt !== null
6027
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.invitedAt))
6027
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.invitedAt))
6028
6028
  : undefined,
6029
- relationshipStatus: smithy_client_1.expectString(output.relationshipStatus),
6029
+ relationshipStatus: (0, smithy_client_1.expectString)(output.relationshipStatus),
6030
6030
  };
6031
6031
  };
6032
6032
  const deserializeAws_restJson1IpAddressDetails = (output, context) => {
6033
6033
  return {
6034
- ipAddressV4: smithy_client_1.expectString(output.ipAddressV4),
6034
+ ipAddressV4: (0, smithy_client_1.expectString)(output.ipAddressV4),
6035
6035
  ipCity: output.ipCity !== undefined && output.ipCity !== null
6036
6036
  ? deserializeAws_restJson1IpCity(output.ipCity, context)
6037
6037
  : undefined,
@@ -6048,36 +6048,36 @@ const deserializeAws_restJson1IpAddressDetails = (output, context) => {
6048
6048
  };
6049
6049
  const deserializeAws_restJson1IpCity = (output, context) => {
6050
6050
  return {
6051
- name: smithy_client_1.expectString(output.name),
6051
+ name: (0, smithy_client_1.expectString)(output.name),
6052
6052
  };
6053
6053
  };
6054
6054
  const deserializeAws_restJson1IpCountry = (output, context) => {
6055
6055
  return {
6056
- code: smithy_client_1.expectString(output.code),
6057
- name: smithy_client_1.expectString(output.name),
6056
+ code: (0, smithy_client_1.expectString)(output.code),
6057
+ name: (0, smithy_client_1.expectString)(output.name),
6058
6058
  };
6059
6059
  };
6060
6060
  const deserializeAws_restJson1IpGeoLocation = (output, context) => {
6061
6061
  return {
6062
- lat: smithy_client_1.limitedParseDouble(output.lat),
6063
- lon: smithy_client_1.limitedParseDouble(output.lon),
6062
+ lat: (0, smithy_client_1.limitedParseDouble)(output.lat),
6063
+ lon: (0, smithy_client_1.limitedParseDouble)(output.lon),
6064
6064
  };
6065
6065
  };
6066
6066
  const deserializeAws_restJson1IpOwner = (output, context) => {
6067
6067
  return {
6068
- asn: smithy_client_1.expectString(output.asn),
6069
- asnOrg: smithy_client_1.expectString(output.asnOrg),
6070
- isp: smithy_client_1.expectString(output.isp),
6071
- org: smithy_client_1.expectString(output.org),
6068
+ asn: (0, smithy_client_1.expectString)(output.asn),
6069
+ asnOrg: (0, smithy_client_1.expectString)(output.asnOrg),
6070
+ isp: (0, smithy_client_1.expectString)(output.isp),
6071
+ org: (0, smithy_client_1.expectString)(output.org),
6072
6072
  };
6073
6073
  };
6074
6074
  const deserializeAws_restJson1JobDetails = (output, context) => {
6075
6075
  return {
6076
- isDefinedInJob: smithy_client_1.expectString(output.isDefinedInJob),
6077
- isMonitoredByJob: smithy_client_1.expectString(output.isMonitoredByJob),
6078
- lastJobId: smithy_client_1.expectString(output.lastJobId),
6076
+ isDefinedInJob: (0, smithy_client_1.expectString)(output.isDefinedInJob),
6077
+ isMonitoredByJob: (0, smithy_client_1.expectString)(output.isMonitoredByJob),
6078
+ lastJobId: (0, smithy_client_1.expectString)(output.lastJobId),
6079
6079
  lastJobRunTime: output.lastJobRunTime !== undefined && output.lastJobRunTime !== null
6080
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.lastJobRunTime))
6080
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastJobRunTime))
6081
6081
  : undefined,
6082
6082
  };
6083
6083
  };
@@ -6120,15 +6120,15 @@ const deserializeAws_restJson1JobSummary = (output, context) => {
6120
6120
  ? deserializeAws_restJson1__listOfS3BucketDefinitionForJob(output.bucketDefinitions, context)
6121
6121
  : undefined,
6122
6122
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6123
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdAt))
6123
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt))
6124
6124
  : undefined,
6125
- jobId: smithy_client_1.expectString(output.jobId),
6126
- jobStatus: smithy_client_1.expectString(output.jobStatus),
6127
- jobType: smithy_client_1.expectString(output.jobType),
6125
+ jobId: (0, smithy_client_1.expectString)(output.jobId),
6126
+ jobStatus: (0, smithy_client_1.expectString)(output.jobStatus),
6127
+ jobType: (0, smithy_client_1.expectString)(output.jobType),
6128
6128
  lastRunErrorStatus: output.lastRunErrorStatus !== undefined && output.lastRunErrorStatus !== null
6129
6129
  ? deserializeAws_restJson1LastRunErrorStatus(output.lastRunErrorStatus, context)
6130
6130
  : undefined,
6131
- name: smithy_client_1.expectString(output.name),
6131
+ name: (0, smithy_client_1.expectString)(output.name),
6132
6132
  userPausedDetails: output.userPausedDetails !== undefined && output.userPausedDetails !== null
6133
6133
  ? deserializeAws_restJson1UserPausedDetails(output.userPausedDetails, context)
6134
6134
  : undefined,
@@ -6136,8 +6136,8 @@ const deserializeAws_restJson1JobSummary = (output, context) => {
6136
6136
  };
6137
6137
  const deserializeAws_restJson1KeyValuePair = (output, context) => {
6138
6138
  return {
6139
- key: smithy_client_1.expectString(output.key),
6140
- value: smithy_client_1.expectString(output.value),
6139
+ key: (0, smithy_client_1.expectString)(output.key),
6140
+ value: (0, smithy_client_1.expectString)(output.value),
6141
6141
  };
6142
6142
  };
6143
6143
  const deserializeAws_restJson1KeyValuePairList = (output, context) => {
@@ -6153,32 +6153,32 @@ const deserializeAws_restJson1KeyValuePairList = (output, context) => {
6153
6153
  };
6154
6154
  const deserializeAws_restJson1LastRunErrorStatus = (output, context) => {
6155
6155
  return {
6156
- code: smithy_client_1.expectString(output.code),
6156
+ code: (0, smithy_client_1.expectString)(output.code),
6157
6157
  };
6158
6158
  };
6159
6159
  const deserializeAws_restJson1ManagedDataIdentifierSummary = (output, context) => {
6160
6160
  return {
6161
- category: smithy_client_1.expectString(output.category),
6162
- id: smithy_client_1.expectString(output.id),
6161
+ category: (0, smithy_client_1.expectString)(output.category),
6162
+ id: (0, smithy_client_1.expectString)(output.id),
6163
6163
  };
6164
6164
  };
6165
6165
  const deserializeAws_restJson1MatchingBucket = (output, context) => {
6166
6166
  return {
6167
- accountId: smithy_client_1.expectString(output.accountId),
6168
- bucketName: smithy_client_1.expectString(output.bucketName),
6169
- classifiableObjectCount: smithy_client_1.expectLong(output.classifiableObjectCount),
6170
- classifiableSizeInBytes: smithy_client_1.expectLong(output.classifiableSizeInBytes),
6171
- errorCode: smithy_client_1.expectString(output.errorCode),
6172
- errorMessage: smithy_client_1.expectString(output.errorMessage),
6167
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
6168
+ bucketName: (0, smithy_client_1.expectString)(output.bucketName),
6169
+ classifiableObjectCount: (0, smithy_client_1.expectLong)(output.classifiableObjectCount),
6170
+ classifiableSizeInBytes: (0, smithy_client_1.expectLong)(output.classifiableSizeInBytes),
6171
+ errorCode: (0, smithy_client_1.expectString)(output.errorCode),
6172
+ errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
6173
6173
  jobDetails: output.jobDetails !== undefined && output.jobDetails !== null
6174
6174
  ? deserializeAws_restJson1JobDetails(output.jobDetails, context)
6175
6175
  : undefined,
6176
- objectCount: smithy_client_1.expectLong(output.objectCount),
6176
+ objectCount: (0, smithy_client_1.expectLong)(output.objectCount),
6177
6177
  objectCountByEncryptionType: output.objectCountByEncryptionType !== undefined && output.objectCountByEncryptionType !== null
6178
6178
  ? deserializeAws_restJson1ObjectCountByEncryptionType(output.objectCountByEncryptionType, context)
6179
6179
  : undefined,
6180
- sizeInBytes: smithy_client_1.expectLong(output.sizeInBytes),
6181
- sizeInBytesCompressed: smithy_client_1.expectLong(output.sizeInBytesCompressed),
6180
+ sizeInBytes: (0, smithy_client_1.expectLong)(output.sizeInBytes),
6181
+ sizeInBytesCompressed: (0, smithy_client_1.expectLong)(output.sizeInBytesCompressed),
6182
6182
  unclassifiableObjectCount: output.unclassifiableObjectCount !== undefined && output.unclassifiableObjectCount !== null
6183
6183
  ? deserializeAws_restJson1ObjectLevelStatistics(output.unclassifiableObjectCount, context)
6184
6184
  : undefined,
@@ -6196,42 +6196,42 @@ const deserializeAws_restJson1MatchingResource = (output, context) => {
6196
6196
  };
6197
6197
  const deserializeAws_restJson1Member = (output, context) => {
6198
6198
  return {
6199
- accountId: smithy_client_1.expectString(output.accountId),
6200
- administratorAccountId: smithy_client_1.expectString(output.administratorAccountId),
6201
- arn: smithy_client_1.expectString(output.arn),
6202
- email: smithy_client_1.expectString(output.email),
6199
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
6200
+ administratorAccountId: (0, smithy_client_1.expectString)(output.administratorAccountId),
6201
+ arn: (0, smithy_client_1.expectString)(output.arn),
6202
+ email: (0, smithy_client_1.expectString)(output.email),
6203
6203
  invitedAt: output.invitedAt !== undefined && output.invitedAt !== null
6204
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.invitedAt))
6204
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.invitedAt))
6205
6205
  : undefined,
6206
- masterAccountId: smithy_client_1.expectString(output.masterAccountId),
6207
- relationshipStatus: smithy_client_1.expectString(output.relationshipStatus),
6206
+ masterAccountId: (0, smithy_client_1.expectString)(output.masterAccountId),
6207
+ relationshipStatus: (0, smithy_client_1.expectString)(output.relationshipStatus),
6208
6208
  tags: output.tags !== undefined && output.tags !== null
6209
6209
  ? deserializeAws_restJson1TagMap(output.tags, context)
6210
6210
  : undefined,
6211
6211
  updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
6212
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.updatedAt))
6212
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.updatedAt))
6213
6213
  : undefined,
6214
6214
  };
6215
6215
  };
6216
6216
  const deserializeAws_restJson1MonthlySchedule = (output, context) => {
6217
6217
  return {
6218
- dayOfMonth: smithy_client_1.expectInt32(output.dayOfMonth),
6218
+ dayOfMonth: (0, smithy_client_1.expectInt32)(output.dayOfMonth),
6219
6219
  };
6220
6220
  };
6221
6221
  const deserializeAws_restJson1ObjectCountByEncryptionType = (output, context) => {
6222
6222
  return {
6223
- customerManaged: smithy_client_1.expectLong(output.customerManaged),
6224
- kmsManaged: smithy_client_1.expectLong(output.kmsManaged),
6225
- s3Managed: smithy_client_1.expectLong(output.s3Managed),
6226
- unencrypted: smithy_client_1.expectLong(output.unencrypted),
6227
- unknown: smithy_client_1.expectLong(output.unknown),
6223
+ customerManaged: (0, smithy_client_1.expectLong)(output.customerManaged),
6224
+ kmsManaged: (0, smithy_client_1.expectLong)(output.kmsManaged),
6225
+ s3Managed: (0, smithy_client_1.expectLong)(output.s3Managed),
6226
+ unencrypted: (0, smithy_client_1.expectLong)(output.unencrypted),
6227
+ unknown: (0, smithy_client_1.expectLong)(output.unknown),
6228
6228
  };
6229
6229
  };
6230
6230
  const deserializeAws_restJson1ObjectLevelStatistics = (output, context) => {
6231
6231
  return {
6232
- fileType: smithy_client_1.expectLong(output.fileType),
6233
- storageClass: smithy_client_1.expectLong(output.storageClass),
6234
- total: smithy_client_1.expectLong(output.total),
6232
+ fileType: (0, smithy_client_1.expectLong)(output.fileType),
6233
+ storageClass: (0, smithy_client_1.expectLong)(output.storageClass),
6234
+ total: (0, smithy_client_1.expectLong)(output.total),
6235
6235
  };
6236
6236
  };
6237
6237
  const deserializeAws_restJson1Occurrences = (output, context) => {
@@ -6261,7 +6261,7 @@ const deserializeAws_restJson1Page = (output, context) => {
6261
6261
  offsetRange: output.offsetRange !== undefined && output.offsetRange !== null
6262
6262
  ? deserializeAws_restJson1Range(output.offsetRange, context)
6263
6263
  : undefined,
6264
- pageNumber: smithy_client_1.expectLong(output.pageNumber),
6264
+ pageNumber: (0, smithy_client_1.expectLong)(output.pageNumber),
6265
6265
  };
6266
6266
  };
6267
6267
  const deserializeAws_restJson1Pages = (output, context) => {
@@ -6287,9 +6287,9 @@ const deserializeAws_restJson1PolicyDetails = (output, context) => {
6287
6287
  };
6288
6288
  const deserializeAws_restJson1Range = (output, context) => {
6289
6289
  return {
6290
- end: smithy_client_1.expectLong(output.end),
6291
- start: smithy_client_1.expectLong(output.start),
6292
- startColumn: smithy_client_1.expectLong(output.startColumn),
6290
+ end: (0, smithy_client_1.expectLong)(output.end),
6291
+ start: (0, smithy_client_1.expectLong)(output.start),
6292
+ startColumn: (0, smithy_client_1.expectLong)(output.startColumn),
6293
6293
  };
6294
6294
  };
6295
6295
  const deserializeAws_restJson1Ranges = (output, context) => {
@@ -6305,8 +6305,8 @@ const deserializeAws_restJson1Ranges = (output, context) => {
6305
6305
  };
6306
6306
  const deserializeAws_restJson1_Record = (output, context) => {
6307
6307
  return {
6308
- jsonPath: smithy_client_1.expectString(output.jsonPath),
6309
- recordIndex: smithy_client_1.expectLong(output.recordIndex),
6308
+ jsonPath: (0, smithy_client_1.expectString)(output.jsonPath),
6309
+ recordIndex: (0, smithy_client_1.expectLong)(output.recordIndex),
6310
6310
  };
6311
6311
  };
6312
6312
  const deserializeAws_restJson1Records = (output, context) => {
@@ -6322,8 +6322,8 @@ const deserializeAws_restJson1Records = (output, context) => {
6322
6322
  };
6323
6323
  const deserializeAws_restJson1ReplicationDetails = (output, context) => {
6324
6324
  return {
6325
- replicated: smithy_client_1.expectBoolean(output.replicated),
6326
- replicatedExternally: smithy_client_1.expectBoolean(output.replicatedExternally),
6325
+ replicated: (0, smithy_client_1.expectBoolean)(output.replicated),
6326
+ replicatedExternally: (0, smithy_client_1.expectBoolean)(output.replicatedExternally),
6327
6327
  replicationAccounts: output.replicationAccounts !== undefined && output.replicationAccounts !== null
6328
6328
  ? deserializeAws_restJson1__listOf__string(output.replicationAccounts, context)
6329
6329
  : undefined,
@@ -6341,15 +6341,15 @@ const deserializeAws_restJson1ResourcesAffected = (output, context) => {
6341
6341
  };
6342
6342
  const deserializeAws_restJson1S3Bucket = (output, context) => {
6343
6343
  return {
6344
- allowsUnencryptedObjectUploads: smithy_client_1.expectString(output.allowsUnencryptedObjectUploads),
6345
- arn: smithy_client_1.expectString(output.arn),
6344
+ allowsUnencryptedObjectUploads: (0, smithy_client_1.expectString)(output.allowsUnencryptedObjectUploads),
6345
+ arn: (0, smithy_client_1.expectString)(output.arn),
6346
6346
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6347
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdAt))
6347
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt))
6348
6348
  : undefined,
6349
6349
  defaultServerSideEncryption: output.defaultServerSideEncryption !== undefined && output.defaultServerSideEncryption !== null
6350
6350
  ? deserializeAws_restJson1ServerSideEncryption(output.defaultServerSideEncryption, context)
6351
6351
  : undefined,
6352
- name: smithy_client_1.expectString(output.name),
6352
+ name: (0, smithy_client_1.expectString)(output.name),
6353
6353
  owner: output.owner !== undefined && output.owner !== null
6354
6354
  ? deserializeAws_restJson1S3BucketOwner(output.owner, context)
6355
6355
  : undefined,
@@ -6373,7 +6373,7 @@ const deserializeAws_restJson1S3BucketCriteriaForJob = (output, context) => {
6373
6373
  };
6374
6374
  const deserializeAws_restJson1S3BucketDefinitionForJob = (output, context) => {
6375
6375
  return {
6376
- accountId: smithy_client_1.expectString(output.accountId),
6376
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
6377
6377
  buckets: output.buckets !== undefined && output.buckets !== null
6378
6378
  ? deserializeAws_restJson1__listOf__string(output.buckets, context)
6379
6379
  : undefined,
@@ -6381,15 +6381,15 @@ const deserializeAws_restJson1S3BucketDefinitionForJob = (output, context) => {
6381
6381
  };
6382
6382
  const deserializeAws_restJson1S3BucketOwner = (output, context) => {
6383
6383
  return {
6384
- displayName: smithy_client_1.expectString(output.displayName),
6385
- id: smithy_client_1.expectString(output.id),
6384
+ displayName: (0, smithy_client_1.expectString)(output.displayName),
6385
+ id: (0, smithy_client_1.expectString)(output.id),
6386
6386
  };
6387
6387
  };
6388
6388
  const deserializeAws_restJson1S3Destination = (output, context) => {
6389
6389
  return {
6390
- bucketName: smithy_client_1.expectString(output.bucketName),
6391
- keyPrefix: smithy_client_1.expectString(output.keyPrefix),
6392
- kmsKeyArn: smithy_client_1.expectString(output.kmsKeyArn),
6390
+ bucketName: (0, smithy_client_1.expectString)(output.bucketName),
6391
+ keyPrefix: (0, smithy_client_1.expectString)(output.keyPrefix),
6392
+ kmsKeyArn: (0, smithy_client_1.expectString)(output.kmsKeyArn),
6393
6393
  };
6394
6394
  };
6395
6395
  const deserializeAws_restJson1S3JobDefinition = (output, context) => {
@@ -6407,24 +6407,24 @@ const deserializeAws_restJson1S3JobDefinition = (output, context) => {
6407
6407
  };
6408
6408
  const deserializeAws_restJson1S3Object = (output, context) => {
6409
6409
  return {
6410
- bucketArn: smithy_client_1.expectString(output.bucketArn),
6411
- eTag: smithy_client_1.expectString(output.eTag),
6412
- extension: smithy_client_1.expectString(output.extension),
6413
- key: smithy_client_1.expectString(output.key),
6410
+ bucketArn: (0, smithy_client_1.expectString)(output.bucketArn),
6411
+ eTag: (0, smithy_client_1.expectString)(output.eTag),
6412
+ extension: (0, smithy_client_1.expectString)(output.extension),
6413
+ key: (0, smithy_client_1.expectString)(output.key),
6414
6414
  lastModified: output.lastModified !== undefined && output.lastModified !== null
6415
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.lastModified))
6415
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.lastModified))
6416
6416
  : undefined,
6417
- path: smithy_client_1.expectString(output.path),
6418
- publicAccess: smithy_client_1.expectBoolean(output.publicAccess),
6417
+ path: (0, smithy_client_1.expectString)(output.path),
6418
+ publicAccess: (0, smithy_client_1.expectBoolean)(output.publicAccess),
6419
6419
  serverSideEncryption: output.serverSideEncryption !== undefined && output.serverSideEncryption !== null
6420
6420
  ? deserializeAws_restJson1ServerSideEncryption(output.serverSideEncryption, context)
6421
6421
  : undefined,
6422
- size: smithy_client_1.expectLong(output.size),
6423
- storageClass: smithy_client_1.expectString(output.storageClass),
6422
+ size: (0, smithy_client_1.expectLong)(output.size),
6423
+ storageClass: (0, smithy_client_1.expectString)(output.storageClass),
6424
6424
  tags: output.tags !== undefined && output.tags !== null
6425
6425
  ? deserializeAws_restJson1KeyValuePairList(output.tags, context)
6426
6426
  : undefined,
6427
- versionId: smithy_client_1.expectString(output.versionId),
6427
+ versionId: (0, smithy_client_1.expectString)(output.versionId),
6428
6428
  };
6429
6429
  };
6430
6430
  const deserializeAws_restJson1Scoping = (output, context) => {
@@ -6439,8 +6439,8 @@ const deserializeAws_restJson1Scoping = (output, context) => {
6439
6439
  };
6440
6440
  const deserializeAws_restJson1SecurityHubConfiguration = (output, context) => {
6441
6441
  return {
6442
- publishClassificationFindings: smithy_client_1.expectBoolean(output.publishClassificationFindings),
6443
- publishPolicyFindings: smithy_client_1.expectBoolean(output.publishPolicyFindings),
6442
+ publishClassificationFindings: (0, smithy_client_1.expectBoolean)(output.publishClassificationFindings),
6443
+ publishPolicyFindings: (0, smithy_client_1.expectBoolean)(output.publishPolicyFindings),
6444
6444
  };
6445
6445
  };
6446
6446
  const deserializeAws_restJson1SensitiveData = (output, context) => {
@@ -6456,24 +6456,24 @@ const deserializeAws_restJson1SensitiveData = (output, context) => {
6456
6456
  };
6457
6457
  const deserializeAws_restJson1SensitiveDataItem = (output, context) => {
6458
6458
  return {
6459
- category: smithy_client_1.expectString(output.category),
6459
+ category: (0, smithy_client_1.expectString)(output.category),
6460
6460
  detections: output.detections !== undefined && output.detections !== null
6461
6461
  ? deserializeAws_restJson1DefaultDetections(output.detections, context)
6462
6462
  : undefined,
6463
- totalCount: smithy_client_1.expectLong(output.totalCount),
6463
+ totalCount: (0, smithy_client_1.expectLong)(output.totalCount),
6464
6464
  };
6465
6465
  };
6466
6466
  const deserializeAws_restJson1ServerSideEncryption = (output, context) => {
6467
6467
  return {
6468
- encryptionType: smithy_client_1.expectString(output.encryptionType),
6469
- kmsMasterKeyId: smithy_client_1.expectString(output.kmsMasterKeyId),
6468
+ encryptionType: (0, smithy_client_1.expectString)(output.encryptionType),
6469
+ kmsMasterKeyId: (0, smithy_client_1.expectString)(output.kmsMasterKeyId),
6470
6470
  };
6471
6471
  };
6472
6472
  const deserializeAws_restJson1ServiceLimit = (output, context) => {
6473
6473
  return {
6474
- isServiceLimited: smithy_client_1.expectBoolean(output.isServiceLimited),
6475
- unit: smithy_client_1.expectString(output.unit),
6476
- value: smithy_client_1.expectLong(output.value),
6474
+ isServiceLimited: (0, smithy_client_1.expectBoolean)(output.isServiceLimited),
6475
+ unit: (0, smithy_client_1.expectString)(output.unit),
6476
+ value: (0, smithy_client_1.expectLong)(output.value),
6477
6477
  };
6478
6478
  };
6479
6479
  const deserializeAws_restJson1SessionContext = (output, context) => {
@@ -6489,30 +6489,30 @@ const deserializeAws_restJson1SessionContext = (output, context) => {
6489
6489
  const deserializeAws_restJson1SessionContextAttributes = (output, context) => {
6490
6490
  return {
6491
6491
  creationDate: output.creationDate !== undefined && output.creationDate !== null
6492
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.creationDate))
6492
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationDate))
6493
6493
  : undefined,
6494
- mfaAuthenticated: smithy_client_1.expectBoolean(output.mfaAuthenticated),
6494
+ mfaAuthenticated: (0, smithy_client_1.expectBoolean)(output.mfaAuthenticated),
6495
6495
  };
6496
6496
  };
6497
6497
  const deserializeAws_restJson1SessionIssuer = (output, context) => {
6498
6498
  return {
6499
- accountId: smithy_client_1.expectString(output.accountId),
6500
- arn: smithy_client_1.expectString(output.arn),
6501
- principalId: smithy_client_1.expectString(output.principalId),
6502
- type: smithy_client_1.expectString(output.type),
6503
- userName: smithy_client_1.expectString(output.userName),
6499
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
6500
+ arn: (0, smithy_client_1.expectString)(output.arn),
6501
+ principalId: (0, smithy_client_1.expectString)(output.principalId),
6502
+ type: (0, smithy_client_1.expectString)(output.type),
6503
+ userName: (0, smithy_client_1.expectString)(output.userName),
6504
6504
  };
6505
6505
  };
6506
6506
  const deserializeAws_restJson1Severity = (output, context) => {
6507
6507
  return {
6508
- description: smithy_client_1.expectString(output.description),
6509
- score: smithy_client_1.expectLong(output.score),
6508
+ description: (0, smithy_client_1.expectString)(output.description),
6509
+ score: (0, smithy_client_1.expectLong)(output.score),
6510
6510
  };
6511
6511
  };
6512
6512
  const deserializeAws_restJson1SeverityLevel = (output, context) => {
6513
6513
  return {
6514
- occurrencesThreshold: smithy_client_1.expectLong(output.occurrencesThreshold),
6515
- severity: smithy_client_1.expectString(output.severity),
6514
+ occurrencesThreshold: (0, smithy_client_1.expectLong)(output.occurrencesThreshold),
6515
+ severity: (0, smithy_client_1.expectString)(output.severity),
6516
6516
  };
6517
6517
  };
6518
6518
  const deserializeAws_restJson1SeverityLevelList = (output, context) => {
@@ -6528,8 +6528,8 @@ const deserializeAws_restJson1SeverityLevelList = (output, context) => {
6528
6528
  };
6529
6529
  const deserializeAws_restJson1SimpleCriterionForJob = (output, context) => {
6530
6530
  return {
6531
- comparator: smithy_client_1.expectString(output.comparator),
6532
- key: smithy_client_1.expectString(output.key),
6531
+ comparator: (0, smithy_client_1.expectString)(output.comparator),
6532
+ key: (0, smithy_client_1.expectString)(output.key),
6533
6533
  values: output.values !== undefined && output.values !== null
6534
6534
  ? deserializeAws_restJson1__listOf__string(output.values, context)
6535
6535
  : undefined,
@@ -6537,8 +6537,8 @@ const deserializeAws_restJson1SimpleCriterionForJob = (output, context) => {
6537
6537
  };
6538
6538
  const deserializeAws_restJson1SimpleScopeTerm = (output, context) => {
6539
6539
  return {
6540
- comparator: smithy_client_1.expectString(output.comparator),
6541
- key: smithy_client_1.expectString(output.key),
6540
+ comparator: (0, smithy_client_1.expectString)(output.comparator),
6541
+ key: (0, smithy_client_1.expectString)(output.key),
6542
6542
  values: output.values !== undefined && output.values !== null
6543
6543
  ? deserializeAws_restJson1__listOf__string(output.values, context)
6544
6544
  : undefined,
@@ -6546,13 +6546,13 @@ const deserializeAws_restJson1SimpleScopeTerm = (output, context) => {
6546
6546
  };
6547
6547
  const deserializeAws_restJson1Statistics = (output, context) => {
6548
6548
  return {
6549
- approximateNumberOfObjectsToProcess: smithy_client_1.limitedParseDouble(output.approximateNumberOfObjectsToProcess),
6550
- numberOfRuns: smithy_client_1.limitedParseDouble(output.numberOfRuns),
6549
+ approximateNumberOfObjectsToProcess: (0, smithy_client_1.limitedParseDouble)(output.approximateNumberOfObjectsToProcess),
6550
+ numberOfRuns: (0, smithy_client_1.limitedParseDouble)(output.numberOfRuns),
6551
6551
  };
6552
6552
  };
6553
6553
  const deserializeAws_restJson1TagCriterionForJob = (output, context) => {
6554
6554
  return {
6555
- comparator: smithy_client_1.expectString(output.comparator),
6555
+ comparator: (0, smithy_client_1.expectString)(output.comparator),
6556
6556
  tagValues: output.tagValues !== undefined && output.tagValues !== null
6557
6557
  ? deserializeAws_restJson1__listOfTagCriterionPairForJob(output.tagValues, context)
6558
6558
  : undefined,
@@ -6560,8 +6560,8 @@ const deserializeAws_restJson1TagCriterionForJob = (output, context) => {
6560
6560
  };
6561
6561
  const deserializeAws_restJson1TagCriterionPairForJob = (output, context) => {
6562
6562
  return {
6563
- key: smithy_client_1.expectString(output.key),
6564
- value: smithy_client_1.expectString(output.value),
6563
+ key: (0, smithy_client_1.expectString)(output.key),
6564
+ value: (0, smithy_client_1.expectString)(output.value),
6565
6565
  };
6566
6566
  };
6567
6567
  const deserializeAws_restJson1TagMap = (output, context) => {
@@ -6571,48 +6571,48 @@ const deserializeAws_restJson1TagMap = (output, context) => {
6571
6571
  }
6572
6572
  return {
6573
6573
  ...acc,
6574
- [key]: smithy_client_1.expectString(value),
6574
+ [key]: (0, smithy_client_1.expectString)(value),
6575
6575
  };
6576
6576
  }, {});
6577
6577
  };
6578
6578
  const deserializeAws_restJson1TagScopeTerm = (output, context) => {
6579
6579
  return {
6580
- comparator: smithy_client_1.expectString(output.comparator),
6581
- key: smithy_client_1.expectString(output.key),
6580
+ comparator: (0, smithy_client_1.expectString)(output.comparator),
6581
+ key: (0, smithy_client_1.expectString)(output.key),
6582
6582
  tagValues: output.tagValues !== undefined && output.tagValues !== null
6583
6583
  ? deserializeAws_restJson1__listOfTagValuePair(output.tagValues, context)
6584
6584
  : undefined,
6585
- target: smithy_client_1.expectString(output.target),
6585
+ target: (0, smithy_client_1.expectString)(output.target),
6586
6586
  };
6587
6587
  };
6588
6588
  const deserializeAws_restJson1TagValuePair = (output, context) => {
6589
6589
  return {
6590
- key: smithy_client_1.expectString(output.key),
6591
- value: smithy_client_1.expectString(output.value),
6590
+ key: (0, smithy_client_1.expectString)(output.key),
6591
+ value: (0, smithy_client_1.expectString)(output.value),
6592
6592
  };
6593
6593
  };
6594
6594
  const deserializeAws_restJson1UnprocessedAccount = (output, context) => {
6595
6595
  return {
6596
- accountId: smithy_client_1.expectString(output.accountId),
6597
- errorCode: smithy_client_1.expectString(output.errorCode),
6598
- errorMessage: smithy_client_1.expectString(output.errorMessage),
6596
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
6597
+ errorCode: (0, smithy_client_1.expectString)(output.errorCode),
6598
+ errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
6599
6599
  };
6600
6600
  };
6601
6601
  const deserializeAws_restJson1UsageByAccount = (output, context) => {
6602
6602
  return {
6603
- currency: smithy_client_1.expectString(output.currency),
6604
- estimatedCost: smithy_client_1.expectString(output.estimatedCost),
6603
+ currency: (0, smithy_client_1.expectString)(output.currency),
6604
+ estimatedCost: (0, smithy_client_1.expectString)(output.estimatedCost),
6605
6605
  serviceLimit: output.serviceLimit !== undefined && output.serviceLimit !== null
6606
6606
  ? deserializeAws_restJson1ServiceLimit(output.serviceLimit, context)
6607
6607
  : undefined,
6608
- type: smithy_client_1.expectString(output.type),
6608
+ type: (0, smithy_client_1.expectString)(output.type),
6609
6609
  };
6610
6610
  };
6611
6611
  const deserializeAws_restJson1UsageRecord = (output, context) => {
6612
6612
  return {
6613
- accountId: smithy_client_1.expectString(output.accountId),
6613
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
6614
6614
  freeTrialStartDate: output.freeTrialStartDate !== undefined && output.freeTrialStartDate !== null
6615
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.freeTrialStartDate))
6615
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.freeTrialStartDate))
6616
6616
  : undefined,
6617
6617
  usage: output.usage !== undefined && output.usage !== null
6618
6618
  ? deserializeAws_restJson1__listOfUsageByAccount(output.usage, context)
@@ -6621,9 +6621,9 @@ const deserializeAws_restJson1UsageRecord = (output, context) => {
6621
6621
  };
6622
6622
  const deserializeAws_restJson1UsageTotal = (output, context) => {
6623
6623
  return {
6624
- currency: smithy_client_1.expectString(output.currency),
6625
- estimatedCost: smithy_client_1.expectString(output.estimatedCost),
6626
- type: smithy_client_1.expectString(output.type),
6624
+ currency: (0, smithy_client_1.expectString)(output.currency),
6625
+ estimatedCost: (0, smithy_client_1.expectString)(output.estimatedCost),
6626
+ type: (0, smithy_client_1.expectString)(output.type),
6627
6627
  };
6628
6628
  };
6629
6629
  const deserializeAws_restJson1UserIdentity = (output, context) => {
@@ -6646,30 +6646,30 @@ const deserializeAws_restJson1UserIdentity = (output, context) => {
6646
6646
  root: output.root !== undefined && output.root !== null
6647
6647
  ? deserializeAws_restJson1UserIdentityRoot(output.root, context)
6648
6648
  : undefined,
6649
- type: smithy_client_1.expectString(output.type),
6649
+ type: (0, smithy_client_1.expectString)(output.type),
6650
6650
  };
6651
6651
  };
6652
6652
  const deserializeAws_restJson1UserIdentityRoot = (output, context) => {
6653
6653
  return {
6654
- accountId: smithy_client_1.expectString(output.accountId),
6655
- arn: smithy_client_1.expectString(output.arn),
6656
- principalId: smithy_client_1.expectString(output.principalId),
6654
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
6655
+ arn: (0, smithy_client_1.expectString)(output.arn),
6656
+ principalId: (0, smithy_client_1.expectString)(output.principalId),
6657
6657
  };
6658
6658
  };
6659
6659
  const deserializeAws_restJson1UserPausedDetails = (output, context) => {
6660
6660
  return {
6661
6661
  jobExpiresAt: output.jobExpiresAt !== undefined && output.jobExpiresAt !== null
6662
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.jobExpiresAt))
6662
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.jobExpiresAt))
6663
6663
  : undefined,
6664
- jobImminentExpirationHealthEventArn: smithy_client_1.expectString(output.jobImminentExpirationHealthEventArn),
6664
+ jobImminentExpirationHealthEventArn: (0, smithy_client_1.expectString)(output.jobImminentExpirationHealthEventArn),
6665
6665
  jobPausedAt: output.jobPausedAt !== undefined && output.jobPausedAt !== null
6666
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.jobPausedAt))
6666
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.jobPausedAt))
6667
6667
  : undefined,
6668
6668
  };
6669
6669
  };
6670
6670
  const deserializeAws_restJson1WeeklySchedule = (output, context) => {
6671
6671
  return {
6672
- dayOfWeek: smithy_client_1.expectString(output.dayOfWeek),
6672
+ dayOfWeek: (0, smithy_client_1.expectString)(output.dayOfWeek),
6673
6673
  };
6674
6674
  };
6675
6675
  const deserializeMetadata = (output) => {