@aws-sdk/client-cloudtrail 3.54.1 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/CloudTrailClient.js +13 -13
  3. package/dist-cjs/commands/AddTagsCommand.js +3 -3
  4. package/dist-cjs/commands/CancelQueryCommand.js +3 -3
  5. package/dist-cjs/commands/CreateEventDataStoreCommand.js +3 -3
  6. package/dist-cjs/commands/CreateTrailCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteEventDataStoreCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteTrailCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeQueryCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeTrailsCommand.js +3 -3
  11. package/dist-cjs/commands/GetEventDataStoreCommand.js +3 -3
  12. package/dist-cjs/commands/GetEventSelectorsCommand.js +3 -3
  13. package/dist-cjs/commands/GetInsightSelectorsCommand.js +3 -3
  14. package/dist-cjs/commands/GetQueryResultsCommand.js +3 -3
  15. package/dist-cjs/commands/GetTrailCommand.js +3 -3
  16. package/dist-cjs/commands/GetTrailStatusCommand.js +3 -3
  17. package/dist-cjs/commands/ListEventDataStoresCommand.js +3 -3
  18. package/dist-cjs/commands/ListPublicKeysCommand.js +3 -3
  19. package/dist-cjs/commands/ListQueriesCommand.js +3 -3
  20. package/dist-cjs/commands/ListTagsCommand.js +3 -3
  21. package/dist-cjs/commands/ListTrailsCommand.js +3 -3
  22. package/dist-cjs/commands/LookupEventsCommand.js +3 -3
  23. package/dist-cjs/commands/PutEventSelectorsCommand.js +3 -3
  24. package/dist-cjs/commands/PutInsightSelectorsCommand.js +3 -3
  25. package/dist-cjs/commands/RemoveTagsCommand.js +3 -3
  26. package/dist-cjs/commands/RestoreEventDataStoreCommand.js +3 -3
  27. package/dist-cjs/commands/StartLoggingCommand.js +3 -3
  28. package/dist-cjs/commands/StartQueryCommand.js +3 -3
  29. package/dist-cjs/commands/StopLoggingCommand.js +3 -3
  30. package/dist-cjs/commands/UpdateEventDataStoreCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateTrailCommand.js +3 -3
  32. package/dist-cjs/endpoints.js +1 -1
  33. package/dist-cjs/protocols/Aws_json1_1.js +309 -309
  34. package/dist-cjs/runtimeConfig.browser.js +4 -4
  35. package/dist-cjs/runtimeConfig.js +9 -9
  36. package/dist-cjs/runtimeConfig.native.js +1 -1
  37. package/dist-es/CloudTrail.js +29 -29
  38. package/dist-es/pagination/GetQueryResultsPaginator.js +4 -4
  39. package/dist-es/pagination/ListEventDataStoresPaginator.js +4 -4
  40. package/dist-es/pagination/ListPublicKeysPaginator.js +4 -4
  41. package/dist-es/pagination/ListQueriesPaginator.js +4 -4
  42. package/dist-es/pagination/ListTagsPaginator.js +4 -4
  43. package/dist-es/pagination/ListTrailsPaginator.js +4 -4
  44. package/dist-es/pagination/LookupEventsPaginator.js +4 -4
  45. package/dist-types/runtimeConfig.native.d.ts +2 -2
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  47. package/package.json +34 -34
@@ -362,7 +362,7 @@ const deserializeAws_json1_1AddTagsCommandError = async (output, context) => {
362
362
  $fault: "client",
363
363
  $metadata: deserializeMetadata(output),
364
364
  });
365
- throw smithy_client_1.decorateServiceException(response, parsedBody);
365
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
366
366
  }
367
367
  };
368
368
  const deserializeAws_json1_1CancelQueryCommand = async (output, context) => {
@@ -422,7 +422,7 @@ const deserializeAws_json1_1CancelQueryCommandError = async (output, context) =>
422
422
  $fault: "client",
423
423
  $metadata: deserializeMetadata(output),
424
424
  });
425
- throw smithy_client_1.decorateServiceException(response, parsedBody);
425
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
426
426
  }
427
427
  };
428
428
  const deserializeAws_json1_1CreateEventDataStoreCommand = async (output, context) => {
@@ -491,7 +491,7 @@ const deserializeAws_json1_1CreateEventDataStoreCommandError = async (output, co
491
491
  $fault: "client",
492
492
  $metadata: deserializeMetadata(output),
493
493
  });
494
- throw smithy_client_1.decorateServiceException(response, parsedBody);
494
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
495
495
  }
496
496
  };
497
497
  const deserializeAws_json1_1CreateTrailCommand = async (output, context) => {
@@ -611,7 +611,7 @@ const deserializeAws_json1_1CreateTrailCommandError = async (output, context) =>
611
611
  $fault: "client",
612
612
  $metadata: deserializeMetadata(output),
613
613
  });
614
- throw smithy_client_1.decorateServiceException(response, parsedBody);
614
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
615
615
  }
616
616
  };
617
617
  const deserializeAws_json1_1DeleteEventDataStoreCommand = async (output, context) => {
@@ -668,7 +668,7 @@ const deserializeAws_json1_1DeleteEventDataStoreCommandError = async (output, co
668
668
  $fault: "client",
669
669
  $metadata: deserializeMetadata(output),
670
670
  });
671
- throw smithy_client_1.decorateServiceException(response, parsedBody);
671
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
672
672
  }
673
673
  };
674
674
  const deserializeAws_json1_1DeleteTrailCommand = async (output, context) => {
@@ -725,7 +725,7 @@ const deserializeAws_json1_1DeleteTrailCommandError = async (output, context) =>
725
725
  $fault: "client",
726
726
  $metadata: deserializeMetadata(output),
727
727
  });
728
- throw smithy_client_1.decorateServiceException(response, parsedBody);
728
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
729
729
  }
730
730
  };
731
731
  const deserializeAws_json1_1DescribeQueryCommand = async (output, context) => {
@@ -779,7 +779,7 @@ const deserializeAws_json1_1DescribeQueryCommandError = async (output, context)
779
779
  $fault: "client",
780
780
  $metadata: deserializeMetadata(output),
781
781
  });
782
- throw smithy_client_1.decorateServiceException(response, parsedBody);
782
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
783
783
  }
784
784
  };
785
785
  const deserializeAws_json1_1DescribeTrailsCommand = async (output, context) => {
@@ -821,7 +821,7 @@ const deserializeAws_json1_1DescribeTrailsCommandError = async (output, context)
821
821
  $fault: "client",
822
822
  $metadata: deserializeMetadata(output),
823
823
  });
824
- throw smithy_client_1.decorateServiceException(response, parsedBody);
824
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
825
825
  }
826
826
  };
827
827
  const deserializeAws_json1_1GetEventDataStoreCommand = async (output, context) => {
@@ -869,7 +869,7 @@ const deserializeAws_json1_1GetEventDataStoreCommandError = async (output, conte
869
869
  $fault: "client",
870
870
  $metadata: deserializeMetadata(output),
871
871
  });
872
- throw smithy_client_1.decorateServiceException(response, parsedBody);
872
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
873
873
  }
874
874
  };
875
875
  const deserializeAws_json1_1GetEventSelectorsCommand = async (output, context) => {
@@ -914,7 +914,7 @@ const deserializeAws_json1_1GetEventSelectorsCommandError = async (output, conte
914
914
  $fault: "client",
915
915
  $metadata: deserializeMetadata(output),
916
916
  });
917
- throw smithy_client_1.decorateServiceException(response, parsedBody);
917
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
918
918
  }
919
919
  };
920
920
  const deserializeAws_json1_1GetInsightSelectorsCommand = async (output, context) => {
@@ -962,7 +962,7 @@ const deserializeAws_json1_1GetInsightSelectorsCommandError = async (output, con
962
962
  $fault: "client",
963
963
  $metadata: deserializeMetadata(output),
964
964
  });
965
- throw smithy_client_1.decorateServiceException(response, parsedBody);
965
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
966
966
  }
967
967
  };
968
968
  const deserializeAws_json1_1GetQueryResultsCommand = async (output, context) => {
@@ -1022,7 +1022,7 @@ const deserializeAws_json1_1GetQueryResultsCommandError = async (output, context
1022
1022
  $fault: "client",
1023
1023
  $metadata: deserializeMetadata(output),
1024
1024
  });
1025
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1025
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1026
1026
  }
1027
1027
  };
1028
1028
  const deserializeAws_json1_1GetTrailCommand = async (output, context) => {
@@ -1067,7 +1067,7 @@ const deserializeAws_json1_1GetTrailCommandError = async (output, context) => {
1067
1067
  $fault: "client",
1068
1068
  $metadata: deserializeMetadata(output),
1069
1069
  });
1070
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1070
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1071
1071
  }
1072
1072
  };
1073
1073
  const deserializeAws_json1_1GetTrailStatusCommand = async (output, context) => {
@@ -1112,7 +1112,7 @@ const deserializeAws_json1_1GetTrailStatusCommandError = async (output, context)
1112
1112
  $fault: "client",
1113
1113
  $metadata: deserializeMetadata(output),
1114
1114
  });
1115
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1115
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1116
1116
  }
1117
1117
  };
1118
1118
  const deserializeAws_json1_1ListEventDataStoresCommand = async (output, context) => {
@@ -1157,7 +1157,7 @@ const deserializeAws_json1_1ListEventDataStoresCommandError = async (output, con
1157
1157
  $fault: "client",
1158
1158
  $metadata: deserializeMetadata(output),
1159
1159
  });
1160
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1160
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1161
1161
  }
1162
1162
  };
1163
1163
  const deserializeAws_json1_1ListPublicKeysCommand = async (output, context) => {
@@ -1202,7 +1202,7 @@ const deserializeAws_json1_1ListPublicKeysCommandError = async (output, context)
1202
1202
  $fault: "client",
1203
1203
  $metadata: deserializeMetadata(output),
1204
1204
  });
1205
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1205
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1206
1206
  }
1207
1207
  };
1208
1208
  const deserializeAws_json1_1ListQueriesCommand = async (output, context) => {
@@ -1265,7 +1265,7 @@ const deserializeAws_json1_1ListQueriesCommandError = async (output, context) =>
1265
1265
  $fault: "client",
1266
1266
  $metadata: deserializeMetadata(output),
1267
1267
  });
1268
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1268
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1269
1269
  }
1270
1270
  };
1271
1271
  const deserializeAws_json1_1ListTagsCommand = async (output, context) => {
@@ -1325,7 +1325,7 @@ const deserializeAws_json1_1ListTagsCommandError = async (output, context) => {
1325
1325
  $fault: "client",
1326
1326
  $metadata: deserializeMetadata(output),
1327
1327
  });
1328
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1328
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1329
1329
  }
1330
1330
  };
1331
1331
  const deserializeAws_json1_1ListTrailsCommand = async (output, context) => {
@@ -1364,7 +1364,7 @@ const deserializeAws_json1_1ListTrailsCommandError = async (output, context) =>
1364
1364
  $fault: "client",
1365
1365
  $metadata: deserializeMetadata(output),
1366
1366
  });
1367
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1367
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1368
1368
  }
1369
1369
  };
1370
1370
  const deserializeAws_json1_1LookupEventsCommand = async (output, context) => {
@@ -1418,7 +1418,7 @@ const deserializeAws_json1_1LookupEventsCommandError = async (output, context) =
1418
1418
  $fault: "client",
1419
1419
  $metadata: deserializeMetadata(output),
1420
1420
  });
1421
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1421
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1422
1422
  }
1423
1423
  };
1424
1424
  const deserializeAws_json1_1PutEventSelectorsCommand = async (output, context) => {
@@ -1475,7 +1475,7 @@ const deserializeAws_json1_1PutEventSelectorsCommandError = async (output, conte
1475
1475
  $fault: "client",
1476
1476
  $metadata: deserializeMetadata(output),
1477
1477
  });
1478
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1478
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1479
1479
  }
1480
1480
  };
1481
1481
  const deserializeAws_json1_1PutInsightSelectorsCommand = async (output, context) => {
@@ -1541,7 +1541,7 @@ const deserializeAws_json1_1PutInsightSelectorsCommandError = async (output, con
1541
1541
  $fault: "client",
1542
1542
  $metadata: deserializeMetadata(output),
1543
1543
  });
1544
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1544
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1545
1545
  }
1546
1546
  };
1547
1547
  const deserializeAws_json1_1RemoveTagsCommand = async (output, context) => {
@@ -1604,7 +1604,7 @@ const deserializeAws_json1_1RemoveTagsCommandError = async (output, context) =>
1604
1604
  $fault: "client",
1605
1605
  $metadata: deserializeMetadata(output),
1606
1606
  });
1607
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1607
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1608
1608
  }
1609
1609
  };
1610
1610
  const deserializeAws_json1_1RestoreEventDataStoreCommand = async (output, context) => {
@@ -1673,7 +1673,7 @@ const deserializeAws_json1_1RestoreEventDataStoreCommandError = async (output, c
1673
1673
  $fault: "client",
1674
1674
  $metadata: deserializeMetadata(output),
1675
1675
  });
1676
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1676
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1677
1677
  }
1678
1678
  };
1679
1679
  const deserializeAws_json1_1StartLoggingCommand = async (output, context) => {
@@ -1727,7 +1727,7 @@ const deserializeAws_json1_1StartLoggingCommandError = async (output, context) =
1727
1727
  $fault: "client",
1728
1728
  $metadata: deserializeMetadata(output),
1729
1729
  });
1730
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1730
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1731
1731
  }
1732
1732
  };
1733
1733
  const deserializeAws_json1_1StartQueryCommand = async (output, context) => {
@@ -1784,7 +1784,7 @@ const deserializeAws_json1_1StartQueryCommandError = async (output, context) =>
1784
1784
  $fault: "client",
1785
1785
  $metadata: deserializeMetadata(output),
1786
1786
  });
1787
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1787
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1788
1788
  }
1789
1789
  };
1790
1790
  const deserializeAws_json1_1StopLoggingCommand = async (output, context) => {
@@ -1838,7 +1838,7 @@ const deserializeAws_json1_1StopLoggingCommandError = async (output, context) =>
1838
1838
  $fault: "client",
1839
1839
  $metadata: deserializeMetadata(output),
1840
1840
  });
1841
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1841
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1842
1842
  }
1843
1843
  };
1844
1844
  const deserializeAws_json1_1UpdateEventDataStoreCommand = async (output, context) => {
@@ -1904,7 +1904,7 @@ const deserializeAws_json1_1UpdateEventDataStoreCommandError = async (output, co
1904
1904
  $fault: "client",
1905
1905
  $metadata: deserializeMetadata(output),
1906
1906
  });
1907
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1907
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1908
1908
  }
1909
1909
  };
1910
1910
  const deserializeAws_json1_1UpdateTrailCommand = async (output, context) => {
@@ -2021,7 +2021,7 @@ const deserializeAws_json1_1UpdateTrailCommandError = async (output, context) =>
2021
2021
  $fault: "client",
2022
2022
  $metadata: deserializeMetadata(output),
2023
2023
  });
2024
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2024
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2025
2025
  }
2026
2026
  };
2027
2027
  const deserializeAws_json1_1CloudTrailAccessNotEnabledExceptionResponse = async (parsedOutput, context) => {
@@ -2031,7 +2031,7 @@ const deserializeAws_json1_1CloudTrailAccessNotEnabledExceptionResponse = async
2031
2031
  $metadata: deserializeMetadata(parsedOutput),
2032
2032
  ...deserialized,
2033
2033
  });
2034
- return smithy_client_1.decorateServiceException(exception, body);
2034
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2035
2035
  };
2036
2036
  const deserializeAws_json1_1CloudTrailARNInvalidExceptionResponse = async (parsedOutput, context) => {
2037
2037
  const body = parsedOutput.body;
@@ -2040,7 +2040,7 @@ const deserializeAws_json1_1CloudTrailARNInvalidExceptionResponse = async (parse
2040
2040
  $metadata: deserializeMetadata(parsedOutput),
2041
2041
  ...deserialized,
2042
2042
  });
2043
- return smithy_client_1.decorateServiceException(exception, body);
2043
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2044
2044
  };
2045
2045
  const deserializeAws_json1_1CloudTrailInvalidClientTokenIdExceptionResponse = async (parsedOutput, context) => {
2046
2046
  const body = parsedOutput.body;
@@ -2049,7 +2049,7 @@ const deserializeAws_json1_1CloudTrailInvalidClientTokenIdExceptionResponse = as
2049
2049
  $metadata: deserializeMetadata(parsedOutput),
2050
2050
  ...deserialized,
2051
2051
  });
2052
- return smithy_client_1.decorateServiceException(exception, body);
2052
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2053
2053
  };
2054
2054
  const deserializeAws_json1_1CloudWatchLogsDeliveryUnavailableExceptionResponse = async (parsedOutput, context) => {
2055
2055
  const body = parsedOutput.body;
@@ -2058,7 +2058,7 @@ const deserializeAws_json1_1CloudWatchLogsDeliveryUnavailableExceptionResponse =
2058
2058
  $metadata: deserializeMetadata(parsedOutput),
2059
2059
  ...deserialized,
2060
2060
  });
2061
- return smithy_client_1.decorateServiceException(exception, body);
2061
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2062
2062
  };
2063
2063
  const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
2064
2064
  const body = parsedOutput.body;
@@ -2067,7 +2067,7 @@ const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, con
2067
2067
  $metadata: deserializeMetadata(parsedOutput),
2068
2068
  ...deserialized,
2069
2069
  });
2070
- return smithy_client_1.decorateServiceException(exception, body);
2070
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2071
2071
  };
2072
2072
  const deserializeAws_json1_1EventDataStoreAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
2073
2073
  const body = parsedOutput.body;
@@ -2076,7 +2076,7 @@ const deserializeAws_json1_1EventDataStoreAlreadyExistsExceptionResponse = async
2076
2076
  $metadata: deserializeMetadata(parsedOutput),
2077
2077
  ...deserialized,
2078
2078
  });
2079
- return smithy_client_1.decorateServiceException(exception, body);
2079
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2080
2080
  };
2081
2081
  const deserializeAws_json1_1EventDataStoreARNInvalidExceptionResponse = async (parsedOutput, context) => {
2082
2082
  const body = parsedOutput.body;
@@ -2085,7 +2085,7 @@ const deserializeAws_json1_1EventDataStoreARNInvalidExceptionResponse = async (p
2085
2085
  $metadata: deserializeMetadata(parsedOutput),
2086
2086
  ...deserialized,
2087
2087
  });
2088
- return smithy_client_1.decorateServiceException(exception, body);
2088
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2089
2089
  };
2090
2090
  const deserializeAws_json1_1EventDataStoreMaxLimitExceededExceptionResponse = async (parsedOutput, context) => {
2091
2091
  const body = parsedOutput.body;
@@ -2094,7 +2094,7 @@ const deserializeAws_json1_1EventDataStoreMaxLimitExceededExceptionResponse = as
2094
2094
  $metadata: deserializeMetadata(parsedOutput),
2095
2095
  ...deserialized,
2096
2096
  });
2097
- return smithy_client_1.decorateServiceException(exception, body);
2097
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2098
2098
  };
2099
2099
  const deserializeAws_json1_1EventDataStoreNotFoundExceptionResponse = async (parsedOutput, context) => {
2100
2100
  const body = parsedOutput.body;
@@ -2103,7 +2103,7 @@ const deserializeAws_json1_1EventDataStoreNotFoundExceptionResponse = async (par
2103
2103
  $metadata: deserializeMetadata(parsedOutput),
2104
2104
  ...deserialized,
2105
2105
  });
2106
- return smithy_client_1.decorateServiceException(exception, body);
2106
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2107
2107
  };
2108
2108
  const deserializeAws_json1_1EventDataStoreTerminationProtectedExceptionResponse = async (parsedOutput, context) => {
2109
2109
  const body = parsedOutput.body;
@@ -2112,7 +2112,7 @@ const deserializeAws_json1_1EventDataStoreTerminationProtectedExceptionResponse
2112
2112
  $metadata: deserializeMetadata(parsedOutput),
2113
2113
  ...deserialized,
2114
2114
  });
2115
- return smithy_client_1.decorateServiceException(exception, body);
2115
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2116
2116
  };
2117
2117
  const deserializeAws_json1_1InactiveEventDataStoreExceptionResponse = async (parsedOutput, context) => {
2118
2118
  const body = parsedOutput.body;
@@ -2121,7 +2121,7 @@ const deserializeAws_json1_1InactiveEventDataStoreExceptionResponse = async (par
2121
2121
  $metadata: deserializeMetadata(parsedOutput),
2122
2122
  ...deserialized,
2123
2123
  });
2124
- return smithy_client_1.decorateServiceException(exception, body);
2124
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2125
2125
  };
2126
2126
  const deserializeAws_json1_1InactiveQueryExceptionResponse = async (parsedOutput, context) => {
2127
2127
  const body = parsedOutput.body;
@@ -2130,7 +2130,7 @@ const deserializeAws_json1_1InactiveQueryExceptionResponse = async (parsedOutput
2130
2130
  $metadata: deserializeMetadata(parsedOutput),
2131
2131
  ...deserialized,
2132
2132
  });
2133
- return smithy_client_1.decorateServiceException(exception, body);
2133
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2134
2134
  };
2135
2135
  const deserializeAws_json1_1InsightNotEnabledExceptionResponse = async (parsedOutput, context) => {
2136
2136
  const body = parsedOutput.body;
@@ -2139,7 +2139,7 @@ const deserializeAws_json1_1InsightNotEnabledExceptionResponse = async (parsedOu
2139
2139
  $metadata: deserializeMetadata(parsedOutput),
2140
2140
  ...deserialized,
2141
2141
  });
2142
- return smithy_client_1.decorateServiceException(exception, body);
2142
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2143
2143
  };
2144
2144
  const deserializeAws_json1_1InsufficientDependencyServiceAccessPermissionExceptionResponse = async (parsedOutput, context) => {
2145
2145
  const body = parsedOutput.body;
@@ -2148,7 +2148,7 @@ const deserializeAws_json1_1InsufficientDependencyServiceAccessPermissionExcepti
2148
2148
  $metadata: deserializeMetadata(parsedOutput),
2149
2149
  ...deserialized,
2150
2150
  });
2151
- return smithy_client_1.decorateServiceException(exception, body);
2151
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2152
2152
  };
2153
2153
  const deserializeAws_json1_1InsufficientEncryptionPolicyExceptionResponse = async (parsedOutput, context) => {
2154
2154
  const body = parsedOutput.body;
@@ -2157,7 +2157,7 @@ const deserializeAws_json1_1InsufficientEncryptionPolicyExceptionResponse = asyn
2157
2157
  $metadata: deserializeMetadata(parsedOutput),
2158
2158
  ...deserialized,
2159
2159
  });
2160
- return smithy_client_1.decorateServiceException(exception, body);
2160
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2161
2161
  };
2162
2162
  const deserializeAws_json1_1InsufficientS3BucketPolicyExceptionResponse = async (parsedOutput, context) => {
2163
2163
  const body = parsedOutput.body;
@@ -2166,7 +2166,7 @@ const deserializeAws_json1_1InsufficientS3BucketPolicyExceptionResponse = async
2166
2166
  $metadata: deserializeMetadata(parsedOutput),
2167
2167
  ...deserialized,
2168
2168
  });
2169
- return smithy_client_1.decorateServiceException(exception, body);
2169
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2170
2170
  };
2171
2171
  const deserializeAws_json1_1InsufficientSnsTopicPolicyExceptionResponse = async (parsedOutput, context) => {
2172
2172
  const body = parsedOutput.body;
@@ -2175,7 +2175,7 @@ const deserializeAws_json1_1InsufficientSnsTopicPolicyExceptionResponse = async
2175
2175
  $metadata: deserializeMetadata(parsedOutput),
2176
2176
  ...deserialized,
2177
2177
  });
2178
- return smithy_client_1.decorateServiceException(exception, body);
2178
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2179
2179
  };
2180
2180
  const deserializeAws_json1_1InvalidCloudWatchLogsLogGroupArnExceptionResponse = async (parsedOutput, context) => {
2181
2181
  const body = parsedOutput.body;
@@ -2184,7 +2184,7 @@ const deserializeAws_json1_1InvalidCloudWatchLogsLogGroupArnExceptionResponse =
2184
2184
  $metadata: deserializeMetadata(parsedOutput),
2185
2185
  ...deserialized,
2186
2186
  });
2187
- return smithy_client_1.decorateServiceException(exception, body);
2187
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2188
2188
  };
2189
2189
  const deserializeAws_json1_1InvalidCloudWatchLogsRoleArnExceptionResponse = async (parsedOutput, context) => {
2190
2190
  const body = parsedOutput.body;
@@ -2193,7 +2193,7 @@ const deserializeAws_json1_1InvalidCloudWatchLogsRoleArnExceptionResponse = asyn
2193
2193
  $metadata: deserializeMetadata(parsedOutput),
2194
2194
  ...deserialized,
2195
2195
  });
2196
- return smithy_client_1.decorateServiceException(exception, body);
2196
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2197
2197
  };
2198
2198
  const deserializeAws_json1_1InvalidDateRangeExceptionResponse = async (parsedOutput, context) => {
2199
2199
  const body = parsedOutput.body;
@@ -2202,7 +2202,7 @@ const deserializeAws_json1_1InvalidDateRangeExceptionResponse = async (parsedOut
2202
2202
  $metadata: deserializeMetadata(parsedOutput),
2203
2203
  ...deserialized,
2204
2204
  });
2205
- return smithy_client_1.decorateServiceException(exception, body);
2205
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2206
2206
  };
2207
2207
  const deserializeAws_json1_1InvalidEventCategoryExceptionResponse = async (parsedOutput, context) => {
2208
2208
  const body = parsedOutput.body;
@@ -2211,7 +2211,7 @@ const deserializeAws_json1_1InvalidEventCategoryExceptionResponse = async (parse
2211
2211
  $metadata: deserializeMetadata(parsedOutput),
2212
2212
  ...deserialized,
2213
2213
  });
2214
- return smithy_client_1.decorateServiceException(exception, body);
2214
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2215
2215
  };
2216
2216
  const deserializeAws_json1_1InvalidEventDataStoreStatusExceptionResponse = async (parsedOutput, context) => {
2217
2217
  const body = parsedOutput.body;
@@ -2220,7 +2220,7 @@ const deserializeAws_json1_1InvalidEventDataStoreStatusExceptionResponse = async
2220
2220
  $metadata: deserializeMetadata(parsedOutput),
2221
2221
  ...deserialized,
2222
2222
  });
2223
- return smithy_client_1.decorateServiceException(exception, body);
2223
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2224
2224
  };
2225
2225
  const deserializeAws_json1_1InvalidEventSelectorsExceptionResponse = async (parsedOutput, context) => {
2226
2226
  const body = parsedOutput.body;
@@ -2229,7 +2229,7 @@ const deserializeAws_json1_1InvalidEventSelectorsExceptionResponse = async (pars
2229
2229
  $metadata: deserializeMetadata(parsedOutput),
2230
2230
  ...deserialized,
2231
2231
  });
2232
- return smithy_client_1.decorateServiceException(exception, body);
2232
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2233
2233
  };
2234
2234
  const deserializeAws_json1_1InvalidHomeRegionExceptionResponse = async (parsedOutput, context) => {
2235
2235
  const body = parsedOutput.body;
@@ -2238,7 +2238,7 @@ const deserializeAws_json1_1InvalidHomeRegionExceptionResponse = async (parsedOu
2238
2238
  $metadata: deserializeMetadata(parsedOutput),
2239
2239
  ...deserialized,
2240
2240
  });
2241
- return smithy_client_1.decorateServiceException(exception, body);
2241
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2242
2242
  };
2243
2243
  const deserializeAws_json1_1InvalidInsightSelectorsExceptionResponse = async (parsedOutput, context) => {
2244
2244
  const body = parsedOutput.body;
@@ -2247,7 +2247,7 @@ const deserializeAws_json1_1InvalidInsightSelectorsExceptionResponse = async (pa
2247
2247
  $metadata: deserializeMetadata(parsedOutput),
2248
2248
  ...deserialized,
2249
2249
  });
2250
- return smithy_client_1.decorateServiceException(exception, body);
2250
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2251
2251
  };
2252
2252
  const deserializeAws_json1_1InvalidKmsKeyIdExceptionResponse = async (parsedOutput, context) => {
2253
2253
  const body = parsedOutput.body;
@@ -2256,7 +2256,7 @@ const deserializeAws_json1_1InvalidKmsKeyIdExceptionResponse = async (parsedOutp
2256
2256
  $metadata: deserializeMetadata(parsedOutput),
2257
2257
  ...deserialized,
2258
2258
  });
2259
- return smithy_client_1.decorateServiceException(exception, body);
2259
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2260
2260
  };
2261
2261
  const deserializeAws_json1_1InvalidLookupAttributesExceptionResponse = async (parsedOutput, context) => {
2262
2262
  const body = parsedOutput.body;
@@ -2265,7 +2265,7 @@ const deserializeAws_json1_1InvalidLookupAttributesExceptionResponse = async (pa
2265
2265
  $metadata: deserializeMetadata(parsedOutput),
2266
2266
  ...deserialized,
2267
2267
  });
2268
- return smithy_client_1.decorateServiceException(exception, body);
2268
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2269
2269
  };
2270
2270
  const deserializeAws_json1_1InvalidMaxResultsExceptionResponse = async (parsedOutput, context) => {
2271
2271
  const body = parsedOutput.body;
@@ -2274,7 +2274,7 @@ const deserializeAws_json1_1InvalidMaxResultsExceptionResponse = async (parsedOu
2274
2274
  $metadata: deserializeMetadata(parsedOutput),
2275
2275
  ...deserialized,
2276
2276
  });
2277
- return smithy_client_1.decorateServiceException(exception, body);
2277
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2278
2278
  };
2279
2279
  const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
2280
2280
  const body = parsedOutput.body;
@@ -2283,7 +2283,7 @@ const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOut
2283
2283
  $metadata: deserializeMetadata(parsedOutput),
2284
2284
  ...deserialized,
2285
2285
  });
2286
- return smithy_client_1.decorateServiceException(exception, body);
2286
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2287
2287
  };
2288
2288
  const deserializeAws_json1_1InvalidParameterCombinationExceptionResponse = async (parsedOutput, context) => {
2289
2289
  const body = parsedOutput.body;
@@ -2292,7 +2292,7 @@ const deserializeAws_json1_1InvalidParameterCombinationExceptionResponse = async
2292
2292
  $metadata: deserializeMetadata(parsedOutput),
2293
2293
  ...deserialized,
2294
2294
  });
2295
- return smithy_client_1.decorateServiceException(exception, body);
2295
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2296
2296
  };
2297
2297
  const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
2298
2298
  const body = parsedOutput.body;
@@ -2301,7 +2301,7 @@ const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOut
2301
2301
  $metadata: deserializeMetadata(parsedOutput),
2302
2302
  ...deserialized,
2303
2303
  });
2304
- return smithy_client_1.decorateServiceException(exception, body);
2304
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2305
2305
  };
2306
2306
  const deserializeAws_json1_1InvalidQueryStatementExceptionResponse = async (parsedOutput, context) => {
2307
2307
  const body = parsedOutput.body;
@@ -2310,7 +2310,7 @@ const deserializeAws_json1_1InvalidQueryStatementExceptionResponse = async (pars
2310
2310
  $metadata: deserializeMetadata(parsedOutput),
2311
2311
  ...deserialized,
2312
2312
  });
2313
- return smithy_client_1.decorateServiceException(exception, body);
2313
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2314
2314
  };
2315
2315
  const deserializeAws_json1_1InvalidQueryStatusExceptionResponse = async (parsedOutput, context) => {
2316
2316
  const body = parsedOutput.body;
@@ -2319,7 +2319,7 @@ const deserializeAws_json1_1InvalidQueryStatusExceptionResponse = async (parsedO
2319
2319
  $metadata: deserializeMetadata(parsedOutput),
2320
2320
  ...deserialized,
2321
2321
  });
2322
- return smithy_client_1.decorateServiceException(exception, body);
2322
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2323
2323
  };
2324
2324
  const deserializeAws_json1_1InvalidS3BucketNameExceptionResponse = async (parsedOutput, context) => {
2325
2325
  const body = parsedOutput.body;
@@ -2328,7 +2328,7 @@ const deserializeAws_json1_1InvalidS3BucketNameExceptionResponse = async (parsed
2328
2328
  $metadata: deserializeMetadata(parsedOutput),
2329
2329
  ...deserialized,
2330
2330
  });
2331
- return smithy_client_1.decorateServiceException(exception, body);
2331
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2332
2332
  };
2333
2333
  const deserializeAws_json1_1InvalidS3PrefixExceptionResponse = async (parsedOutput, context) => {
2334
2334
  const body = parsedOutput.body;
@@ -2337,7 +2337,7 @@ const deserializeAws_json1_1InvalidS3PrefixExceptionResponse = async (parsedOutp
2337
2337
  $metadata: deserializeMetadata(parsedOutput),
2338
2338
  ...deserialized,
2339
2339
  });
2340
- return smithy_client_1.decorateServiceException(exception, body);
2340
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2341
2341
  };
2342
2342
  const deserializeAws_json1_1InvalidSnsTopicNameExceptionResponse = async (parsedOutput, context) => {
2343
2343
  const body = parsedOutput.body;
@@ -2346,7 +2346,7 @@ const deserializeAws_json1_1InvalidSnsTopicNameExceptionResponse = async (parsed
2346
2346
  $metadata: deserializeMetadata(parsedOutput),
2347
2347
  ...deserialized,
2348
2348
  });
2349
- return smithy_client_1.decorateServiceException(exception, body);
2349
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2350
2350
  };
2351
2351
  const deserializeAws_json1_1InvalidTagParameterExceptionResponse = async (parsedOutput, context) => {
2352
2352
  const body = parsedOutput.body;
@@ -2355,7 +2355,7 @@ const deserializeAws_json1_1InvalidTagParameterExceptionResponse = async (parsed
2355
2355
  $metadata: deserializeMetadata(parsedOutput),
2356
2356
  ...deserialized,
2357
2357
  });
2358
- return smithy_client_1.decorateServiceException(exception, body);
2358
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2359
2359
  };
2360
2360
  const deserializeAws_json1_1InvalidTimeRangeExceptionResponse = async (parsedOutput, context) => {
2361
2361
  const body = parsedOutput.body;
@@ -2364,7 +2364,7 @@ const deserializeAws_json1_1InvalidTimeRangeExceptionResponse = async (parsedOut
2364
2364
  $metadata: deserializeMetadata(parsedOutput),
2365
2365
  ...deserialized,
2366
2366
  });
2367
- return smithy_client_1.decorateServiceException(exception, body);
2367
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2368
2368
  };
2369
2369
  const deserializeAws_json1_1InvalidTokenExceptionResponse = async (parsedOutput, context) => {
2370
2370
  const body = parsedOutput.body;
@@ -2373,7 +2373,7 @@ const deserializeAws_json1_1InvalidTokenExceptionResponse = async (parsedOutput,
2373
2373
  $metadata: deserializeMetadata(parsedOutput),
2374
2374
  ...deserialized,
2375
2375
  });
2376
- return smithy_client_1.decorateServiceException(exception, body);
2376
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2377
2377
  };
2378
2378
  const deserializeAws_json1_1InvalidTrailNameExceptionResponse = async (parsedOutput, context) => {
2379
2379
  const body = parsedOutput.body;
@@ -2382,7 +2382,7 @@ const deserializeAws_json1_1InvalidTrailNameExceptionResponse = async (parsedOut
2382
2382
  $metadata: deserializeMetadata(parsedOutput),
2383
2383
  ...deserialized,
2384
2384
  });
2385
- return smithy_client_1.decorateServiceException(exception, body);
2385
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2386
2386
  };
2387
2387
  const deserializeAws_json1_1KmsExceptionResponse = async (parsedOutput, context) => {
2388
2388
  const body = parsedOutput.body;
@@ -2391,7 +2391,7 @@ const deserializeAws_json1_1KmsExceptionResponse = async (parsedOutput, context)
2391
2391
  $metadata: deserializeMetadata(parsedOutput),
2392
2392
  ...deserialized,
2393
2393
  });
2394
- return smithy_client_1.decorateServiceException(exception, body);
2394
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2395
2395
  };
2396
2396
  const deserializeAws_json1_1KmsKeyDisabledExceptionResponse = async (parsedOutput, context) => {
2397
2397
  const body = parsedOutput.body;
@@ -2400,7 +2400,7 @@ const deserializeAws_json1_1KmsKeyDisabledExceptionResponse = async (parsedOutpu
2400
2400
  $metadata: deserializeMetadata(parsedOutput),
2401
2401
  ...deserialized,
2402
2402
  });
2403
- return smithy_client_1.decorateServiceException(exception, body);
2403
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2404
2404
  };
2405
2405
  const deserializeAws_json1_1KmsKeyNotFoundExceptionResponse = async (parsedOutput, context) => {
2406
2406
  const body = parsedOutput.body;
@@ -2409,7 +2409,7 @@ const deserializeAws_json1_1KmsKeyNotFoundExceptionResponse = async (parsedOutpu
2409
2409
  $metadata: deserializeMetadata(parsedOutput),
2410
2410
  ...deserialized,
2411
2411
  });
2412
- return smithy_client_1.decorateServiceException(exception, body);
2412
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2413
2413
  };
2414
2414
  const deserializeAws_json1_1MaxConcurrentQueriesExceptionResponse = async (parsedOutput, context) => {
2415
2415
  const body = parsedOutput.body;
@@ -2418,7 +2418,7 @@ const deserializeAws_json1_1MaxConcurrentQueriesExceptionResponse = async (parse
2418
2418
  $metadata: deserializeMetadata(parsedOutput),
2419
2419
  ...deserialized,
2420
2420
  });
2421
- return smithy_client_1.decorateServiceException(exception, body);
2421
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2422
2422
  };
2423
2423
  const deserializeAws_json1_1MaximumNumberOfTrailsExceededExceptionResponse = async (parsedOutput, context) => {
2424
2424
  const body = parsedOutput.body;
@@ -2427,7 +2427,7 @@ const deserializeAws_json1_1MaximumNumberOfTrailsExceededExceptionResponse = asy
2427
2427
  $metadata: deserializeMetadata(parsedOutput),
2428
2428
  ...deserialized,
2429
2429
  });
2430
- return smithy_client_1.decorateServiceException(exception, body);
2430
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2431
2431
  };
2432
2432
  const deserializeAws_json1_1NotOrganizationMasterAccountExceptionResponse = async (parsedOutput, context) => {
2433
2433
  const body = parsedOutput.body;
@@ -2436,7 +2436,7 @@ const deserializeAws_json1_1NotOrganizationMasterAccountExceptionResponse = asyn
2436
2436
  $metadata: deserializeMetadata(parsedOutput),
2437
2437
  ...deserialized,
2438
2438
  });
2439
- return smithy_client_1.decorateServiceException(exception, body);
2439
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2440
2440
  };
2441
2441
  const deserializeAws_json1_1OperationNotPermittedExceptionResponse = async (parsedOutput, context) => {
2442
2442
  const body = parsedOutput.body;
@@ -2445,7 +2445,7 @@ const deserializeAws_json1_1OperationNotPermittedExceptionResponse = async (pars
2445
2445
  $metadata: deserializeMetadata(parsedOutput),
2446
2446
  ...deserialized,
2447
2447
  });
2448
- return smithy_client_1.decorateServiceException(exception, body);
2448
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2449
2449
  };
2450
2450
  const deserializeAws_json1_1OrganizationNotInAllFeaturesModeExceptionResponse = async (parsedOutput, context) => {
2451
2451
  const body = parsedOutput.body;
@@ -2454,7 +2454,7 @@ const deserializeAws_json1_1OrganizationNotInAllFeaturesModeExceptionResponse =
2454
2454
  $metadata: deserializeMetadata(parsedOutput),
2455
2455
  ...deserialized,
2456
2456
  });
2457
- return smithy_client_1.decorateServiceException(exception, body);
2457
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2458
2458
  };
2459
2459
  const deserializeAws_json1_1OrganizationsNotInUseExceptionResponse = async (parsedOutput, context) => {
2460
2460
  const body = parsedOutput.body;
@@ -2463,7 +2463,7 @@ const deserializeAws_json1_1OrganizationsNotInUseExceptionResponse = async (pars
2463
2463
  $metadata: deserializeMetadata(parsedOutput),
2464
2464
  ...deserialized,
2465
2465
  });
2466
- return smithy_client_1.decorateServiceException(exception, body);
2466
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2467
2467
  };
2468
2468
  const deserializeAws_json1_1QueryIdNotFoundExceptionResponse = async (parsedOutput, context) => {
2469
2469
  const body = parsedOutput.body;
@@ -2472,7 +2472,7 @@ const deserializeAws_json1_1QueryIdNotFoundExceptionResponse = async (parsedOutp
2472
2472
  $metadata: deserializeMetadata(parsedOutput),
2473
2473
  ...deserialized,
2474
2474
  });
2475
- return smithy_client_1.decorateServiceException(exception, body);
2475
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2476
2476
  };
2477
2477
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2478
2478
  const body = parsedOutput.body;
@@ -2481,7 +2481,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
2481
2481
  $metadata: deserializeMetadata(parsedOutput),
2482
2482
  ...deserialized,
2483
2483
  });
2484
- return smithy_client_1.decorateServiceException(exception, body);
2484
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2485
2485
  };
2486
2486
  const deserializeAws_json1_1ResourceTypeNotSupportedExceptionResponse = async (parsedOutput, context) => {
2487
2487
  const body = parsedOutput.body;
@@ -2490,7 +2490,7 @@ const deserializeAws_json1_1ResourceTypeNotSupportedExceptionResponse = async (p
2490
2490
  $metadata: deserializeMetadata(parsedOutput),
2491
2491
  ...deserialized,
2492
2492
  });
2493
- return smithy_client_1.decorateServiceException(exception, body);
2493
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2494
2494
  };
2495
2495
  const deserializeAws_json1_1S3BucketDoesNotExistExceptionResponse = async (parsedOutput, context) => {
2496
2496
  const body = parsedOutput.body;
@@ -2499,7 +2499,7 @@ const deserializeAws_json1_1S3BucketDoesNotExistExceptionResponse = async (parse
2499
2499
  $metadata: deserializeMetadata(parsedOutput),
2500
2500
  ...deserialized,
2501
2501
  });
2502
- return smithy_client_1.decorateServiceException(exception, body);
2502
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2503
2503
  };
2504
2504
  const deserializeAws_json1_1TagsLimitExceededExceptionResponse = async (parsedOutput, context) => {
2505
2505
  const body = parsedOutput.body;
@@ -2508,7 +2508,7 @@ const deserializeAws_json1_1TagsLimitExceededExceptionResponse = async (parsedOu
2508
2508
  $metadata: deserializeMetadata(parsedOutput),
2509
2509
  ...deserialized,
2510
2510
  });
2511
- return smithy_client_1.decorateServiceException(exception, body);
2511
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2512
2512
  };
2513
2513
  const deserializeAws_json1_1TrailAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
2514
2514
  const body = parsedOutput.body;
@@ -2517,7 +2517,7 @@ const deserializeAws_json1_1TrailAlreadyExistsExceptionResponse = async (parsedO
2517
2517
  $metadata: deserializeMetadata(parsedOutput),
2518
2518
  ...deserialized,
2519
2519
  });
2520
- return smithy_client_1.decorateServiceException(exception, body);
2520
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2521
2521
  };
2522
2522
  const deserializeAws_json1_1TrailNotFoundExceptionResponse = async (parsedOutput, context) => {
2523
2523
  const body = parsedOutput.body;
@@ -2526,7 +2526,7 @@ const deserializeAws_json1_1TrailNotFoundExceptionResponse = async (parsedOutput
2526
2526
  $metadata: deserializeMetadata(parsedOutput),
2527
2527
  ...deserialized,
2528
2528
  });
2529
- return smithy_client_1.decorateServiceException(exception, body);
2529
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2530
2530
  };
2531
2531
  const deserializeAws_json1_1TrailNotProvidedExceptionResponse = async (parsedOutput, context) => {
2532
2532
  const body = parsedOutput.body;
@@ -2535,7 +2535,7 @@ const deserializeAws_json1_1TrailNotProvidedExceptionResponse = async (parsedOut
2535
2535
  $metadata: deserializeMetadata(parsedOutput),
2536
2536
  ...deserialized,
2537
2537
  });
2538
- return smithy_client_1.decorateServiceException(exception, body);
2538
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2539
2539
  };
2540
2540
  const deserializeAws_json1_1UnsupportedOperationExceptionResponse = async (parsedOutput, context) => {
2541
2541
  const body = parsedOutput.body;
@@ -2544,7 +2544,7 @@ const deserializeAws_json1_1UnsupportedOperationExceptionResponse = async (parse
2544
2544
  $metadata: deserializeMetadata(parsedOutput),
2545
2545
  ...deserialized,
2546
2546
  });
2547
- return smithy_client_1.decorateServiceException(exception, body);
2547
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2548
2548
  };
2549
2549
  const serializeAws_json1_1AddTagsRequest = (input, context) => {
2550
2550
  return {
@@ -3012,7 +3012,7 @@ const deserializeAws_json1_1AdvancedEventSelector = (output, context) => {
3012
3012
  FieldSelectors: output.FieldSelectors !== undefined && output.FieldSelectors !== null
3013
3013
  ? deserializeAws_json1_1AdvancedFieldSelectors(output.FieldSelectors, context)
3014
3014
  : undefined,
3015
- Name: smithy_client_1.expectString(output.Name),
3015
+ Name: (0, smithy_client_1.expectString)(output.Name),
3016
3016
  };
3017
3017
  };
3018
3018
  const deserializeAws_json1_1AdvancedEventSelectors = (output, context) => {
@@ -3034,7 +3034,7 @@ const deserializeAws_json1_1AdvancedFieldSelector = (output, context) => {
3034
3034
  Equals: output.Equals !== undefined && output.Equals !== null
3035
3035
  ? deserializeAws_json1_1Operator(output.Equals, context)
3036
3036
  : undefined,
3037
- Field: smithy_client_1.expectString(output.Field),
3037
+ Field: (0, smithy_client_1.expectString)(output.Field),
3038
3038
  NotEndsWith: output.NotEndsWith !== undefined && output.NotEndsWith !== null
3039
3039
  ? deserializeAws_json1_1Operator(output.NotEndsWith, context)
3040
3040
  : undefined,
@@ -3062,33 +3062,33 @@ const deserializeAws_json1_1AdvancedFieldSelectors = (output, context) => {
3062
3062
  };
3063
3063
  const deserializeAws_json1_1CancelQueryResponse = (output, context) => {
3064
3064
  return {
3065
- QueryId: smithy_client_1.expectString(output.QueryId),
3066
- QueryStatus: smithy_client_1.expectString(output.QueryStatus),
3065
+ QueryId: (0, smithy_client_1.expectString)(output.QueryId),
3066
+ QueryStatus: (0, smithy_client_1.expectString)(output.QueryStatus),
3067
3067
  };
3068
3068
  };
3069
3069
  const deserializeAws_json1_1CloudTrailAccessNotEnabledException = (output, context) => {
3070
3070
  return {
3071
- Message: smithy_client_1.expectString(output.Message),
3071
+ Message: (0, smithy_client_1.expectString)(output.Message),
3072
3072
  };
3073
3073
  };
3074
3074
  const deserializeAws_json1_1CloudTrailARNInvalidException = (output, context) => {
3075
3075
  return {
3076
- Message: smithy_client_1.expectString(output.Message),
3076
+ Message: (0, smithy_client_1.expectString)(output.Message),
3077
3077
  };
3078
3078
  };
3079
3079
  const deserializeAws_json1_1CloudTrailInvalidClientTokenIdException = (output, context) => {
3080
3080
  return {
3081
- Message: smithy_client_1.expectString(output.Message),
3081
+ Message: (0, smithy_client_1.expectString)(output.Message),
3082
3082
  };
3083
3083
  };
3084
3084
  const deserializeAws_json1_1CloudWatchLogsDeliveryUnavailableException = (output, context) => {
3085
3085
  return {
3086
- Message: smithy_client_1.expectString(output.Message),
3086
+ Message: (0, smithy_client_1.expectString)(output.Message),
3087
3087
  };
3088
3088
  };
3089
3089
  const deserializeAws_json1_1ConflictException = (output, context) => {
3090
3090
  return {
3091
- Message: smithy_client_1.expectString(output.Message),
3091
+ Message: (0, smithy_client_1.expectString)(output.Message),
3092
3092
  };
3093
3093
  };
3094
3094
  const deserializeAws_json1_1CreateEventDataStoreResponse = (output, context) => {
@@ -3097,43 +3097,43 @@ const deserializeAws_json1_1CreateEventDataStoreResponse = (output, context) =>
3097
3097
  ? deserializeAws_json1_1AdvancedEventSelectors(output.AdvancedEventSelectors, context)
3098
3098
  : undefined,
3099
3099
  CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
3100
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
3100
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
3101
3101
  : undefined,
3102
- EventDataStoreArn: smithy_client_1.expectString(output.EventDataStoreArn),
3103
- MultiRegionEnabled: smithy_client_1.expectBoolean(output.MultiRegionEnabled),
3104
- Name: smithy_client_1.expectString(output.Name),
3105
- OrganizationEnabled: smithy_client_1.expectBoolean(output.OrganizationEnabled),
3106
- RetentionPeriod: smithy_client_1.expectInt32(output.RetentionPeriod),
3107
- Status: smithy_client_1.expectString(output.Status),
3102
+ EventDataStoreArn: (0, smithy_client_1.expectString)(output.EventDataStoreArn),
3103
+ MultiRegionEnabled: (0, smithy_client_1.expectBoolean)(output.MultiRegionEnabled),
3104
+ Name: (0, smithy_client_1.expectString)(output.Name),
3105
+ OrganizationEnabled: (0, smithy_client_1.expectBoolean)(output.OrganizationEnabled),
3106
+ RetentionPeriod: (0, smithy_client_1.expectInt32)(output.RetentionPeriod),
3107
+ Status: (0, smithy_client_1.expectString)(output.Status),
3108
3108
  TagsList: output.TagsList !== undefined && output.TagsList !== null
3109
3109
  ? deserializeAws_json1_1TagsList(output.TagsList, context)
3110
3110
  : undefined,
3111
- TerminationProtectionEnabled: smithy_client_1.expectBoolean(output.TerminationProtectionEnabled),
3111
+ TerminationProtectionEnabled: (0, smithy_client_1.expectBoolean)(output.TerminationProtectionEnabled),
3112
3112
  UpdatedTimestamp: output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
3113
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedTimestamp)))
3113
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
3114
3114
  : undefined,
3115
3115
  };
3116
3116
  };
3117
3117
  const deserializeAws_json1_1CreateTrailResponse = (output, context) => {
3118
3118
  return {
3119
- CloudWatchLogsLogGroupArn: smithy_client_1.expectString(output.CloudWatchLogsLogGroupArn),
3120
- CloudWatchLogsRoleArn: smithy_client_1.expectString(output.CloudWatchLogsRoleArn),
3121
- IncludeGlobalServiceEvents: smithy_client_1.expectBoolean(output.IncludeGlobalServiceEvents),
3122
- IsMultiRegionTrail: smithy_client_1.expectBoolean(output.IsMultiRegionTrail),
3123
- IsOrganizationTrail: smithy_client_1.expectBoolean(output.IsOrganizationTrail),
3124
- KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
3125
- LogFileValidationEnabled: smithy_client_1.expectBoolean(output.LogFileValidationEnabled),
3126
- Name: smithy_client_1.expectString(output.Name),
3127
- S3BucketName: smithy_client_1.expectString(output.S3BucketName),
3128
- S3KeyPrefix: smithy_client_1.expectString(output.S3KeyPrefix),
3129
- SnsTopicARN: smithy_client_1.expectString(output.SnsTopicARN),
3130
- SnsTopicName: smithy_client_1.expectString(output.SnsTopicName),
3131
- TrailARN: smithy_client_1.expectString(output.TrailARN),
3119
+ CloudWatchLogsLogGroupArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsLogGroupArn),
3120
+ CloudWatchLogsRoleArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsRoleArn),
3121
+ IncludeGlobalServiceEvents: (0, smithy_client_1.expectBoolean)(output.IncludeGlobalServiceEvents),
3122
+ IsMultiRegionTrail: (0, smithy_client_1.expectBoolean)(output.IsMultiRegionTrail),
3123
+ IsOrganizationTrail: (0, smithy_client_1.expectBoolean)(output.IsOrganizationTrail),
3124
+ KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
3125
+ LogFileValidationEnabled: (0, smithy_client_1.expectBoolean)(output.LogFileValidationEnabled),
3126
+ Name: (0, smithy_client_1.expectString)(output.Name),
3127
+ S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
3128
+ S3KeyPrefix: (0, smithy_client_1.expectString)(output.S3KeyPrefix),
3129
+ SnsTopicARN: (0, smithy_client_1.expectString)(output.SnsTopicARN),
3130
+ SnsTopicName: (0, smithy_client_1.expectString)(output.SnsTopicName),
3131
+ TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
3132
3132
  };
3133
3133
  };
3134
3134
  const deserializeAws_json1_1DataResource = (output, context) => {
3135
3135
  return {
3136
- Type: smithy_client_1.expectString(output.Type),
3136
+ Type: (0, smithy_client_1.expectString)(output.Type),
3137
3137
  Values: output.Values !== undefined && output.Values !== null
3138
3138
  ? deserializeAws_json1_1DataResourceValues(output.Values, context)
3139
3139
  : undefined,
@@ -3157,7 +3157,7 @@ const deserializeAws_json1_1DataResourceValues = (output, context) => {
3157
3157
  if (entry === null) {
3158
3158
  return null;
3159
3159
  }
3160
- return smithy_client_1.expectString(entry);
3160
+ return (0, smithy_client_1.expectString)(entry);
3161
3161
  });
3162
3162
  return retVal;
3163
3163
  };
@@ -3169,13 +3169,13 @@ const deserializeAws_json1_1DeleteTrailResponse = (output, context) => {
3169
3169
  };
3170
3170
  const deserializeAws_json1_1DescribeQueryResponse = (output, context) => {
3171
3171
  return {
3172
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
3173
- QueryId: smithy_client_1.expectString(output.QueryId),
3172
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
3173
+ QueryId: (0, smithy_client_1.expectString)(output.QueryId),
3174
3174
  QueryStatistics: output.QueryStatistics !== undefined && output.QueryStatistics !== null
3175
3175
  ? deserializeAws_json1_1QueryStatisticsForDescribeQuery(output.QueryStatistics, context)
3176
3176
  : undefined,
3177
- QueryStatus: smithy_client_1.expectString(output.QueryStatus),
3178
- QueryString: smithy_client_1.expectString(output.QueryString),
3177
+ QueryStatus: (0, smithy_client_1.expectString)(output.QueryStatus),
3178
+ QueryString: (0, smithy_client_1.expectString)(output.QueryString),
3179
3179
  };
3180
3180
  };
3181
3181
  const deserializeAws_json1_1DescribeTrailsResponse = (output, context) => {
@@ -3187,19 +3187,19 @@ const deserializeAws_json1_1DescribeTrailsResponse = (output, context) => {
3187
3187
  };
3188
3188
  const deserializeAws_json1_1Event = (output, context) => {
3189
3189
  return {
3190
- AccessKeyId: smithy_client_1.expectString(output.AccessKeyId),
3191
- CloudTrailEvent: smithy_client_1.expectString(output.CloudTrailEvent),
3192
- EventId: smithy_client_1.expectString(output.EventId),
3193
- EventName: smithy_client_1.expectString(output.EventName),
3194
- EventSource: smithy_client_1.expectString(output.EventSource),
3190
+ AccessKeyId: (0, smithy_client_1.expectString)(output.AccessKeyId),
3191
+ CloudTrailEvent: (0, smithy_client_1.expectString)(output.CloudTrailEvent),
3192
+ EventId: (0, smithy_client_1.expectString)(output.EventId),
3193
+ EventName: (0, smithy_client_1.expectString)(output.EventName),
3194
+ EventSource: (0, smithy_client_1.expectString)(output.EventSource),
3195
3195
  EventTime: output.EventTime !== undefined && output.EventTime !== null
3196
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventTime)))
3196
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventTime)))
3197
3197
  : undefined,
3198
- ReadOnly: smithy_client_1.expectString(output.ReadOnly),
3198
+ ReadOnly: (0, smithy_client_1.expectString)(output.ReadOnly),
3199
3199
  Resources: output.Resources !== undefined && output.Resources !== null
3200
3200
  ? deserializeAws_json1_1ResourceList(output.Resources, context)
3201
3201
  : undefined,
3202
- Username: smithy_client_1.expectString(output.Username),
3202
+ Username: (0, smithy_client_1.expectString)(output.Username),
3203
3203
  };
3204
3204
  };
3205
3205
  const deserializeAws_json1_1EventDataStore = (output, context) => {
@@ -3208,38 +3208,38 @@ const deserializeAws_json1_1EventDataStore = (output, context) => {
3208
3208
  ? deserializeAws_json1_1AdvancedEventSelectors(output.AdvancedEventSelectors, context)
3209
3209
  : undefined,
3210
3210
  CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
3211
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
3211
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
3212
3212
  : undefined,
3213
- EventDataStoreArn: smithy_client_1.expectString(output.EventDataStoreArn),
3214
- MultiRegionEnabled: smithy_client_1.expectBoolean(output.MultiRegionEnabled),
3215
- Name: smithy_client_1.expectString(output.Name),
3216
- OrganizationEnabled: smithy_client_1.expectBoolean(output.OrganizationEnabled),
3217
- RetentionPeriod: smithy_client_1.expectInt32(output.RetentionPeriod),
3218
- Status: smithy_client_1.expectString(output.Status),
3219
- TerminationProtectionEnabled: smithy_client_1.expectBoolean(output.TerminationProtectionEnabled),
3213
+ EventDataStoreArn: (0, smithy_client_1.expectString)(output.EventDataStoreArn),
3214
+ MultiRegionEnabled: (0, smithy_client_1.expectBoolean)(output.MultiRegionEnabled),
3215
+ Name: (0, smithy_client_1.expectString)(output.Name),
3216
+ OrganizationEnabled: (0, smithy_client_1.expectBoolean)(output.OrganizationEnabled),
3217
+ RetentionPeriod: (0, smithy_client_1.expectInt32)(output.RetentionPeriod),
3218
+ Status: (0, smithy_client_1.expectString)(output.Status),
3219
+ TerminationProtectionEnabled: (0, smithy_client_1.expectBoolean)(output.TerminationProtectionEnabled),
3220
3220
  UpdatedTimestamp: output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
3221
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedTimestamp)))
3221
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
3222
3222
  : undefined,
3223
3223
  };
3224
3224
  };
3225
3225
  const deserializeAws_json1_1EventDataStoreAlreadyExistsException = (output, context) => {
3226
3226
  return {
3227
- Message: smithy_client_1.expectString(output.Message),
3227
+ Message: (0, smithy_client_1.expectString)(output.Message),
3228
3228
  };
3229
3229
  };
3230
3230
  const deserializeAws_json1_1EventDataStoreARNInvalidException = (output, context) => {
3231
3231
  return {
3232
- Message: smithy_client_1.expectString(output.Message),
3232
+ Message: (0, smithy_client_1.expectString)(output.Message),
3233
3233
  };
3234
3234
  };
3235
3235
  const deserializeAws_json1_1EventDataStoreMaxLimitExceededException = (output, context) => {
3236
3236
  return {
3237
- Message: smithy_client_1.expectString(output.Message),
3237
+ Message: (0, smithy_client_1.expectString)(output.Message),
3238
3238
  };
3239
3239
  };
3240
3240
  const deserializeAws_json1_1EventDataStoreNotFoundException = (output, context) => {
3241
3241
  return {
3242
- Message: smithy_client_1.expectString(output.Message),
3242
+ Message: (0, smithy_client_1.expectString)(output.Message),
3243
3243
  };
3244
3244
  };
3245
3245
  const deserializeAws_json1_1EventDataStores = (output, context) => {
@@ -3255,7 +3255,7 @@ const deserializeAws_json1_1EventDataStores = (output, context) => {
3255
3255
  };
3256
3256
  const deserializeAws_json1_1EventDataStoreTerminationProtectedException = (output, context) => {
3257
3257
  return {
3258
- Message: smithy_client_1.expectString(output.Message),
3258
+ Message: (0, smithy_client_1.expectString)(output.Message),
3259
3259
  };
3260
3260
  };
3261
3261
  const deserializeAws_json1_1EventSelector = (output, context) => {
@@ -3266,8 +3266,8 @@ const deserializeAws_json1_1EventSelector = (output, context) => {
3266
3266
  ExcludeManagementEventSources: output.ExcludeManagementEventSources !== undefined && output.ExcludeManagementEventSources !== null
3267
3267
  ? deserializeAws_json1_1ExcludeManagementEventSources(output.ExcludeManagementEventSources, context)
3268
3268
  : undefined,
3269
- IncludeManagementEvents: smithy_client_1.expectBoolean(output.IncludeManagementEvents),
3270
- ReadWriteType: smithy_client_1.expectString(output.ReadWriteType),
3269
+ IncludeManagementEvents: (0, smithy_client_1.expectBoolean)(output.IncludeManagementEvents),
3270
+ ReadWriteType: (0, smithy_client_1.expectString)(output.ReadWriteType),
3271
3271
  };
3272
3272
  };
3273
3273
  const deserializeAws_json1_1EventSelectors = (output, context) => {
@@ -3299,7 +3299,7 @@ const deserializeAws_json1_1ExcludeManagementEventSources = (output, context) =>
3299
3299
  if (entry === null) {
3300
3300
  return null;
3301
3301
  }
3302
- return smithy_client_1.expectString(entry);
3302
+ return (0, smithy_client_1.expectString)(entry);
3303
3303
  });
3304
3304
  return retVal;
3305
3305
  };
@@ -3309,17 +3309,17 @@ const deserializeAws_json1_1GetEventDataStoreResponse = (output, context) => {
3309
3309
  ? deserializeAws_json1_1AdvancedEventSelectors(output.AdvancedEventSelectors, context)
3310
3310
  : undefined,
3311
3311
  CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
3312
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
3312
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
3313
3313
  : undefined,
3314
- EventDataStoreArn: smithy_client_1.expectString(output.EventDataStoreArn),
3315
- MultiRegionEnabled: smithy_client_1.expectBoolean(output.MultiRegionEnabled),
3316
- Name: smithy_client_1.expectString(output.Name),
3317
- OrganizationEnabled: smithy_client_1.expectBoolean(output.OrganizationEnabled),
3318
- RetentionPeriod: smithy_client_1.expectInt32(output.RetentionPeriod),
3319
- Status: smithy_client_1.expectString(output.Status),
3320
- TerminationProtectionEnabled: smithy_client_1.expectBoolean(output.TerminationProtectionEnabled),
3314
+ EventDataStoreArn: (0, smithy_client_1.expectString)(output.EventDataStoreArn),
3315
+ MultiRegionEnabled: (0, smithy_client_1.expectBoolean)(output.MultiRegionEnabled),
3316
+ Name: (0, smithy_client_1.expectString)(output.Name),
3317
+ OrganizationEnabled: (0, smithy_client_1.expectBoolean)(output.OrganizationEnabled),
3318
+ RetentionPeriod: (0, smithy_client_1.expectInt32)(output.RetentionPeriod),
3319
+ Status: (0, smithy_client_1.expectString)(output.Status),
3320
+ TerminationProtectionEnabled: (0, smithy_client_1.expectBoolean)(output.TerminationProtectionEnabled),
3321
3321
  UpdatedTimestamp: output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
3322
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedTimestamp)))
3322
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
3323
3323
  : undefined,
3324
3324
  };
3325
3325
  };
@@ -3331,7 +3331,7 @@ const deserializeAws_json1_1GetEventSelectorsResponse = (output, context) => {
3331
3331
  EventSelectors: output.EventSelectors !== undefined && output.EventSelectors !== null
3332
3332
  ? deserializeAws_json1_1EventSelectors(output.EventSelectors, context)
3333
3333
  : undefined,
3334
- TrailARN: smithy_client_1.expectString(output.TrailARN),
3334
+ TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
3335
3335
  };
3336
3336
  };
3337
3337
  const deserializeAws_json1_1GetInsightSelectorsResponse = (output, context) => {
@@ -3339,20 +3339,20 @@ const deserializeAws_json1_1GetInsightSelectorsResponse = (output, context) => {
3339
3339
  InsightSelectors: output.InsightSelectors !== undefined && output.InsightSelectors !== null
3340
3340
  ? deserializeAws_json1_1InsightSelectors(output.InsightSelectors, context)
3341
3341
  : undefined,
3342
- TrailARN: smithy_client_1.expectString(output.TrailARN),
3342
+ TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
3343
3343
  };
3344
3344
  };
3345
3345
  const deserializeAws_json1_1GetQueryResultsResponse = (output, context) => {
3346
3346
  return {
3347
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
3348
- NextToken: smithy_client_1.expectString(output.NextToken),
3347
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
3348
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3349
3349
  QueryResultRows: output.QueryResultRows !== undefined && output.QueryResultRows !== null
3350
3350
  ? deserializeAws_json1_1QueryResultRows(output.QueryResultRows, context)
3351
3351
  : undefined,
3352
3352
  QueryStatistics: output.QueryStatistics !== undefined && output.QueryStatistics !== null
3353
3353
  ? deserializeAws_json1_1QueryStatistics(output.QueryStatistics, context)
3354
3354
  : undefined,
3355
- QueryStatus: smithy_client_1.expectString(output.QueryStatus),
3355
+ QueryStatus: (0, smithy_client_1.expectString)(output.QueryStatus),
3356
3356
  };
3357
3357
  };
3358
3358
  const deserializeAws_json1_1GetTrailResponse = (output, context) => {
@@ -3364,55 +3364,55 @@ const deserializeAws_json1_1GetTrailResponse = (output, context) => {
3364
3364
  };
3365
3365
  const deserializeAws_json1_1GetTrailStatusResponse = (output, context) => {
3366
3366
  return {
3367
- IsLogging: smithy_client_1.expectBoolean(output.IsLogging),
3368
- LatestCloudWatchLogsDeliveryError: smithy_client_1.expectString(output.LatestCloudWatchLogsDeliveryError),
3367
+ IsLogging: (0, smithy_client_1.expectBoolean)(output.IsLogging),
3368
+ LatestCloudWatchLogsDeliveryError: (0, smithy_client_1.expectString)(output.LatestCloudWatchLogsDeliveryError),
3369
3369
  LatestCloudWatchLogsDeliveryTime: output.LatestCloudWatchLogsDeliveryTime !== undefined && output.LatestCloudWatchLogsDeliveryTime !== null
3370
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestCloudWatchLogsDeliveryTime)))
3370
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestCloudWatchLogsDeliveryTime)))
3371
3371
  : undefined,
3372
- LatestDeliveryAttemptSucceeded: smithy_client_1.expectString(output.LatestDeliveryAttemptSucceeded),
3373
- LatestDeliveryAttemptTime: smithy_client_1.expectString(output.LatestDeliveryAttemptTime),
3374
- LatestDeliveryError: smithy_client_1.expectString(output.LatestDeliveryError),
3372
+ LatestDeliveryAttemptSucceeded: (0, smithy_client_1.expectString)(output.LatestDeliveryAttemptSucceeded),
3373
+ LatestDeliveryAttemptTime: (0, smithy_client_1.expectString)(output.LatestDeliveryAttemptTime),
3374
+ LatestDeliveryError: (0, smithy_client_1.expectString)(output.LatestDeliveryError),
3375
3375
  LatestDeliveryTime: output.LatestDeliveryTime !== undefined && output.LatestDeliveryTime !== null
3376
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestDeliveryTime)))
3376
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestDeliveryTime)))
3377
3377
  : undefined,
3378
- LatestDigestDeliveryError: smithy_client_1.expectString(output.LatestDigestDeliveryError),
3378
+ LatestDigestDeliveryError: (0, smithy_client_1.expectString)(output.LatestDigestDeliveryError),
3379
3379
  LatestDigestDeliveryTime: output.LatestDigestDeliveryTime !== undefined && output.LatestDigestDeliveryTime !== null
3380
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestDigestDeliveryTime)))
3380
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestDigestDeliveryTime)))
3381
3381
  : undefined,
3382
- LatestNotificationAttemptSucceeded: smithy_client_1.expectString(output.LatestNotificationAttemptSucceeded),
3383
- LatestNotificationAttemptTime: smithy_client_1.expectString(output.LatestNotificationAttemptTime),
3384
- LatestNotificationError: smithy_client_1.expectString(output.LatestNotificationError),
3382
+ LatestNotificationAttemptSucceeded: (0, smithy_client_1.expectString)(output.LatestNotificationAttemptSucceeded),
3383
+ LatestNotificationAttemptTime: (0, smithy_client_1.expectString)(output.LatestNotificationAttemptTime),
3384
+ LatestNotificationError: (0, smithy_client_1.expectString)(output.LatestNotificationError),
3385
3385
  LatestNotificationTime: output.LatestNotificationTime !== undefined && output.LatestNotificationTime !== null
3386
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestNotificationTime)))
3386
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestNotificationTime)))
3387
3387
  : undefined,
3388
3388
  StartLoggingTime: output.StartLoggingTime !== undefined && output.StartLoggingTime !== null
3389
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartLoggingTime)))
3389
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartLoggingTime)))
3390
3390
  : undefined,
3391
3391
  StopLoggingTime: output.StopLoggingTime !== undefined && output.StopLoggingTime !== null
3392
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StopLoggingTime)))
3392
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StopLoggingTime)))
3393
3393
  : undefined,
3394
- TimeLoggingStarted: smithy_client_1.expectString(output.TimeLoggingStarted),
3395
- TimeLoggingStopped: smithy_client_1.expectString(output.TimeLoggingStopped),
3394
+ TimeLoggingStarted: (0, smithy_client_1.expectString)(output.TimeLoggingStarted),
3395
+ TimeLoggingStopped: (0, smithy_client_1.expectString)(output.TimeLoggingStopped),
3396
3396
  };
3397
3397
  };
3398
3398
  const deserializeAws_json1_1InactiveEventDataStoreException = (output, context) => {
3399
3399
  return {
3400
- Message: smithy_client_1.expectString(output.Message),
3400
+ Message: (0, smithy_client_1.expectString)(output.Message),
3401
3401
  };
3402
3402
  };
3403
3403
  const deserializeAws_json1_1InactiveQueryException = (output, context) => {
3404
3404
  return {
3405
- Message: smithy_client_1.expectString(output.Message),
3405
+ Message: (0, smithy_client_1.expectString)(output.Message),
3406
3406
  };
3407
3407
  };
3408
3408
  const deserializeAws_json1_1InsightNotEnabledException = (output, context) => {
3409
3409
  return {
3410
- Message: smithy_client_1.expectString(output.Message),
3410
+ Message: (0, smithy_client_1.expectString)(output.Message),
3411
3411
  };
3412
3412
  };
3413
3413
  const deserializeAws_json1_1InsightSelector = (output, context) => {
3414
3414
  return {
3415
- InsightType: smithy_client_1.expectString(output.InsightType),
3415
+ InsightType: (0, smithy_client_1.expectString)(output.InsightType),
3416
3416
  };
3417
3417
  };
3418
3418
  const deserializeAws_json1_1InsightSelectors = (output, context) => {
@@ -3428,152 +3428,152 @@ const deserializeAws_json1_1InsightSelectors = (output, context) => {
3428
3428
  };
3429
3429
  const deserializeAws_json1_1InsufficientDependencyServiceAccessPermissionException = (output, context) => {
3430
3430
  return {
3431
- Message: smithy_client_1.expectString(output.Message),
3431
+ Message: (0, smithy_client_1.expectString)(output.Message),
3432
3432
  };
3433
3433
  };
3434
3434
  const deserializeAws_json1_1InsufficientEncryptionPolicyException = (output, context) => {
3435
3435
  return {
3436
- Message: smithy_client_1.expectString(output.Message),
3436
+ Message: (0, smithy_client_1.expectString)(output.Message),
3437
3437
  };
3438
3438
  };
3439
3439
  const deserializeAws_json1_1InsufficientS3BucketPolicyException = (output, context) => {
3440
3440
  return {
3441
- Message: smithy_client_1.expectString(output.Message),
3441
+ Message: (0, smithy_client_1.expectString)(output.Message),
3442
3442
  };
3443
3443
  };
3444
3444
  const deserializeAws_json1_1InsufficientSnsTopicPolicyException = (output, context) => {
3445
3445
  return {
3446
- Message: smithy_client_1.expectString(output.Message),
3446
+ Message: (0, smithy_client_1.expectString)(output.Message),
3447
3447
  };
3448
3448
  };
3449
3449
  const deserializeAws_json1_1InvalidCloudWatchLogsLogGroupArnException = (output, context) => {
3450
3450
  return {
3451
- Message: smithy_client_1.expectString(output.Message),
3451
+ Message: (0, smithy_client_1.expectString)(output.Message),
3452
3452
  };
3453
3453
  };
3454
3454
  const deserializeAws_json1_1InvalidCloudWatchLogsRoleArnException = (output, context) => {
3455
3455
  return {
3456
- Message: smithy_client_1.expectString(output.Message),
3456
+ Message: (0, smithy_client_1.expectString)(output.Message),
3457
3457
  };
3458
3458
  };
3459
3459
  const deserializeAws_json1_1InvalidDateRangeException = (output, context) => {
3460
3460
  return {
3461
- Message: smithy_client_1.expectString(output.Message),
3461
+ Message: (0, smithy_client_1.expectString)(output.Message),
3462
3462
  };
3463
3463
  };
3464
3464
  const deserializeAws_json1_1InvalidEventCategoryException = (output, context) => {
3465
3465
  return {
3466
- Message: smithy_client_1.expectString(output.Message),
3466
+ Message: (0, smithy_client_1.expectString)(output.Message),
3467
3467
  };
3468
3468
  };
3469
3469
  const deserializeAws_json1_1InvalidEventDataStoreStatusException = (output, context) => {
3470
3470
  return {
3471
- Message: smithy_client_1.expectString(output.Message),
3471
+ Message: (0, smithy_client_1.expectString)(output.Message),
3472
3472
  };
3473
3473
  };
3474
3474
  const deserializeAws_json1_1InvalidEventSelectorsException = (output, context) => {
3475
3475
  return {
3476
- Message: smithy_client_1.expectString(output.Message),
3476
+ Message: (0, smithy_client_1.expectString)(output.Message),
3477
3477
  };
3478
3478
  };
3479
3479
  const deserializeAws_json1_1InvalidHomeRegionException = (output, context) => {
3480
3480
  return {
3481
- Message: smithy_client_1.expectString(output.Message),
3481
+ Message: (0, smithy_client_1.expectString)(output.Message),
3482
3482
  };
3483
3483
  };
3484
3484
  const deserializeAws_json1_1InvalidInsightSelectorsException = (output, context) => {
3485
3485
  return {
3486
- Message: smithy_client_1.expectString(output.Message),
3486
+ Message: (0, smithy_client_1.expectString)(output.Message),
3487
3487
  };
3488
3488
  };
3489
3489
  const deserializeAws_json1_1InvalidKmsKeyIdException = (output, context) => {
3490
3490
  return {
3491
- Message: smithy_client_1.expectString(output.Message),
3491
+ Message: (0, smithy_client_1.expectString)(output.Message),
3492
3492
  };
3493
3493
  };
3494
3494
  const deserializeAws_json1_1InvalidLookupAttributesException = (output, context) => {
3495
3495
  return {
3496
- Message: smithy_client_1.expectString(output.Message),
3496
+ Message: (0, smithy_client_1.expectString)(output.Message),
3497
3497
  };
3498
3498
  };
3499
3499
  const deserializeAws_json1_1InvalidMaxResultsException = (output, context) => {
3500
3500
  return {
3501
- Message: smithy_client_1.expectString(output.Message),
3501
+ Message: (0, smithy_client_1.expectString)(output.Message),
3502
3502
  };
3503
3503
  };
3504
3504
  const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
3505
3505
  return {
3506
- Message: smithy_client_1.expectString(output.Message),
3506
+ Message: (0, smithy_client_1.expectString)(output.Message),
3507
3507
  };
3508
3508
  };
3509
3509
  const deserializeAws_json1_1InvalidParameterCombinationException = (output, context) => {
3510
3510
  return {
3511
- Message: smithy_client_1.expectString(output.Message),
3511
+ Message: (0, smithy_client_1.expectString)(output.Message),
3512
3512
  };
3513
3513
  };
3514
3514
  const deserializeAws_json1_1InvalidParameterException = (output, context) => {
3515
3515
  return {
3516
- Message: smithy_client_1.expectString(output.Message),
3516
+ Message: (0, smithy_client_1.expectString)(output.Message),
3517
3517
  };
3518
3518
  };
3519
3519
  const deserializeAws_json1_1InvalidQueryStatementException = (output, context) => {
3520
3520
  return {
3521
- Message: smithy_client_1.expectString(output.Message),
3521
+ Message: (0, smithy_client_1.expectString)(output.Message),
3522
3522
  };
3523
3523
  };
3524
3524
  const deserializeAws_json1_1InvalidQueryStatusException = (output, context) => {
3525
3525
  return {
3526
- Message: smithy_client_1.expectString(output.Message),
3526
+ Message: (0, smithy_client_1.expectString)(output.Message),
3527
3527
  };
3528
3528
  };
3529
3529
  const deserializeAws_json1_1InvalidS3BucketNameException = (output, context) => {
3530
3530
  return {
3531
- Message: smithy_client_1.expectString(output.Message),
3531
+ Message: (0, smithy_client_1.expectString)(output.Message),
3532
3532
  };
3533
3533
  };
3534
3534
  const deserializeAws_json1_1InvalidS3PrefixException = (output, context) => {
3535
3535
  return {
3536
- Message: smithy_client_1.expectString(output.Message),
3536
+ Message: (0, smithy_client_1.expectString)(output.Message),
3537
3537
  };
3538
3538
  };
3539
3539
  const deserializeAws_json1_1InvalidSnsTopicNameException = (output, context) => {
3540
3540
  return {
3541
- Message: smithy_client_1.expectString(output.Message),
3541
+ Message: (0, smithy_client_1.expectString)(output.Message),
3542
3542
  };
3543
3543
  };
3544
3544
  const deserializeAws_json1_1InvalidTagParameterException = (output, context) => {
3545
3545
  return {
3546
- Message: smithy_client_1.expectString(output.Message),
3546
+ Message: (0, smithy_client_1.expectString)(output.Message),
3547
3547
  };
3548
3548
  };
3549
3549
  const deserializeAws_json1_1InvalidTimeRangeException = (output, context) => {
3550
3550
  return {
3551
- Message: smithy_client_1.expectString(output.Message),
3551
+ Message: (0, smithy_client_1.expectString)(output.Message),
3552
3552
  };
3553
3553
  };
3554
3554
  const deserializeAws_json1_1InvalidTokenException = (output, context) => {
3555
3555
  return {
3556
- Message: smithy_client_1.expectString(output.Message),
3556
+ Message: (0, smithy_client_1.expectString)(output.Message),
3557
3557
  };
3558
3558
  };
3559
3559
  const deserializeAws_json1_1InvalidTrailNameException = (output, context) => {
3560
3560
  return {
3561
- Message: smithy_client_1.expectString(output.Message),
3561
+ Message: (0, smithy_client_1.expectString)(output.Message),
3562
3562
  };
3563
3563
  };
3564
3564
  const deserializeAws_json1_1KmsException = (output, context) => {
3565
3565
  return {
3566
- Message: smithy_client_1.expectString(output.Message),
3566
+ Message: (0, smithy_client_1.expectString)(output.Message),
3567
3567
  };
3568
3568
  };
3569
3569
  const deserializeAws_json1_1KmsKeyDisabledException = (output, context) => {
3570
3570
  return {
3571
- Message: smithy_client_1.expectString(output.Message),
3571
+ Message: (0, smithy_client_1.expectString)(output.Message),
3572
3572
  };
3573
3573
  };
3574
3574
  const deserializeAws_json1_1KmsKeyNotFoundException = (output, context) => {
3575
3575
  return {
3576
- Message: smithy_client_1.expectString(output.Message),
3576
+ Message: (0, smithy_client_1.expectString)(output.Message),
3577
3577
  };
3578
3578
  };
3579
3579
  const deserializeAws_json1_1ListEventDataStoresResponse = (output, context) => {
@@ -3581,12 +3581,12 @@ const deserializeAws_json1_1ListEventDataStoresResponse = (output, context) => {
3581
3581
  EventDataStores: output.EventDataStores !== undefined && output.EventDataStores !== null
3582
3582
  ? deserializeAws_json1_1EventDataStores(output.EventDataStores, context)
3583
3583
  : undefined,
3584
- NextToken: smithy_client_1.expectString(output.NextToken),
3584
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3585
3585
  };
3586
3586
  };
3587
3587
  const deserializeAws_json1_1ListPublicKeysResponse = (output, context) => {
3588
3588
  return {
3589
- NextToken: smithy_client_1.expectString(output.NextToken),
3589
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3590
3590
  PublicKeyList: output.PublicKeyList !== undefined && output.PublicKeyList !== null
3591
3591
  ? deserializeAws_json1_1PublicKeyList(output.PublicKeyList, context)
3592
3592
  : undefined,
@@ -3594,7 +3594,7 @@ const deserializeAws_json1_1ListPublicKeysResponse = (output, context) => {
3594
3594
  };
3595
3595
  const deserializeAws_json1_1ListQueriesResponse = (output, context) => {
3596
3596
  return {
3597
- NextToken: smithy_client_1.expectString(output.NextToken),
3597
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3598
3598
  Queries: output.Queries !== undefined && output.Queries !== null
3599
3599
  ? deserializeAws_json1_1Queries(output.Queries, context)
3600
3600
  : undefined,
@@ -3602,7 +3602,7 @@ const deserializeAws_json1_1ListQueriesResponse = (output, context) => {
3602
3602
  };
3603
3603
  const deserializeAws_json1_1ListTagsResponse = (output, context) => {
3604
3604
  return {
3605
- NextToken: smithy_client_1.expectString(output.NextToken),
3605
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3606
3606
  ResourceTagList: output.ResourceTagList !== undefined && output.ResourceTagList !== null
3607
3607
  ? deserializeAws_json1_1ResourceTagList(output.ResourceTagList, context)
3608
3608
  : undefined,
@@ -3610,7 +3610,7 @@ const deserializeAws_json1_1ListTagsResponse = (output, context) => {
3610
3610
  };
3611
3611
  const deserializeAws_json1_1ListTrailsResponse = (output, context) => {
3612
3612
  return {
3613
- NextToken: smithy_client_1.expectString(output.NextToken),
3613
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3614
3614
  Trails: output.Trails !== undefined && output.Trails !== null
3615
3615
  ? deserializeAws_json1_1Trails(output.Trails, context)
3616
3616
  : undefined,
@@ -3621,27 +3621,27 @@ const deserializeAws_json1_1LookupEventsResponse = (output, context) => {
3621
3621
  Events: output.Events !== undefined && output.Events !== null
3622
3622
  ? deserializeAws_json1_1EventsList(output.Events, context)
3623
3623
  : undefined,
3624
- NextToken: smithy_client_1.expectString(output.NextToken),
3624
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3625
3625
  };
3626
3626
  };
3627
3627
  const deserializeAws_json1_1MaxConcurrentQueriesException = (output, context) => {
3628
3628
  return {
3629
- Message: smithy_client_1.expectString(output.Message),
3629
+ Message: (0, smithy_client_1.expectString)(output.Message),
3630
3630
  };
3631
3631
  };
3632
3632
  const deserializeAws_json1_1MaximumNumberOfTrailsExceededException = (output, context) => {
3633
3633
  return {
3634
- Message: smithy_client_1.expectString(output.Message),
3634
+ Message: (0, smithy_client_1.expectString)(output.Message),
3635
3635
  };
3636
3636
  };
3637
3637
  const deserializeAws_json1_1NotOrganizationMasterAccountException = (output, context) => {
3638
3638
  return {
3639
- Message: smithy_client_1.expectString(output.Message),
3639
+ Message: (0, smithy_client_1.expectString)(output.Message),
3640
3640
  };
3641
3641
  };
3642
3642
  const deserializeAws_json1_1OperationNotPermittedException = (output, context) => {
3643
3643
  return {
3644
- Message: smithy_client_1.expectString(output.Message),
3644
+ Message: (0, smithy_client_1.expectString)(output.Message),
3645
3645
  };
3646
3646
  };
3647
3647
  const deserializeAws_json1_1Operator = (output, context) => {
@@ -3651,28 +3651,28 @@ const deserializeAws_json1_1Operator = (output, context) => {
3651
3651
  if (entry === null) {
3652
3652
  return null;
3653
3653
  }
3654
- return smithy_client_1.expectString(entry);
3654
+ return (0, smithy_client_1.expectString)(entry);
3655
3655
  });
3656
3656
  return retVal;
3657
3657
  };
3658
3658
  const deserializeAws_json1_1OrganizationNotInAllFeaturesModeException = (output, context) => {
3659
3659
  return {
3660
- Message: smithy_client_1.expectString(output.Message),
3660
+ Message: (0, smithy_client_1.expectString)(output.Message),
3661
3661
  };
3662
3662
  };
3663
3663
  const deserializeAws_json1_1OrganizationsNotInUseException = (output, context) => {
3664
3664
  return {
3665
- Message: smithy_client_1.expectString(output.Message),
3665
+ Message: (0, smithy_client_1.expectString)(output.Message),
3666
3666
  };
3667
3667
  };
3668
3668
  const deserializeAws_json1_1PublicKey = (output, context) => {
3669
3669
  return {
3670
- Fingerprint: smithy_client_1.expectString(output.Fingerprint),
3670
+ Fingerprint: (0, smithy_client_1.expectString)(output.Fingerprint),
3671
3671
  ValidityEndTime: output.ValidityEndTime !== undefined && output.ValidityEndTime !== null
3672
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ValidityEndTime)))
3672
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ValidityEndTime)))
3673
3673
  : undefined,
3674
3674
  ValidityStartTime: output.ValidityStartTime !== undefined && output.ValidityStartTime !== null
3675
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ValidityStartTime)))
3675
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ValidityStartTime)))
3676
3676
  : undefined,
3677
3677
  Value: output.Value !== undefined && output.Value !== null ? context.base64Decoder(output.Value) : undefined,
3678
3678
  };
@@ -3696,7 +3696,7 @@ const deserializeAws_json1_1PutEventSelectorsResponse = (output, context) => {
3696
3696
  EventSelectors: output.EventSelectors !== undefined && output.EventSelectors !== null
3697
3697
  ? deserializeAws_json1_1EventSelectors(output.EventSelectors, context)
3698
3698
  : undefined,
3699
- TrailARN: smithy_client_1.expectString(output.TrailARN),
3699
+ TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
3700
3700
  };
3701
3701
  };
3702
3702
  const deserializeAws_json1_1PutInsightSelectorsResponse = (output, context) => {
@@ -3704,7 +3704,7 @@ const deserializeAws_json1_1PutInsightSelectorsResponse = (output, context) => {
3704
3704
  InsightSelectors: output.InsightSelectors !== undefined && output.InsightSelectors !== null
3705
3705
  ? deserializeAws_json1_1InsightSelectors(output.InsightSelectors, context)
3706
3706
  : undefined,
3707
- TrailARN: smithy_client_1.expectString(output.TrailARN),
3707
+ TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
3708
3708
  };
3709
3709
  };
3710
3710
  const deserializeAws_json1_1Queries = (output, context) => {
@@ -3721,15 +3721,15 @@ const deserializeAws_json1_1Queries = (output, context) => {
3721
3721
  const deserializeAws_json1_1Query = (output, context) => {
3722
3722
  return {
3723
3723
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3724
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3724
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3725
3725
  : undefined,
3726
- QueryId: smithy_client_1.expectString(output.QueryId),
3727
- QueryStatus: smithy_client_1.expectString(output.QueryStatus),
3726
+ QueryId: (0, smithy_client_1.expectString)(output.QueryId),
3727
+ QueryStatus: (0, smithy_client_1.expectString)(output.QueryStatus),
3728
3728
  };
3729
3729
  };
3730
3730
  const deserializeAws_json1_1QueryIdNotFoundException = (output, context) => {
3731
3731
  return {
3732
- Message: smithy_client_1.expectString(output.Message),
3732
+ Message: (0, smithy_client_1.expectString)(output.Message),
3733
3733
  };
3734
3734
  };
3735
3735
  const deserializeAws_json1_1QueryResultColumn = (output, context) => {
@@ -3739,7 +3739,7 @@ const deserializeAws_json1_1QueryResultColumn = (output, context) => {
3739
3739
  }
3740
3740
  return {
3741
3741
  ...acc,
3742
- [key]: smithy_client_1.expectString(value),
3742
+ [key]: (0, smithy_client_1.expectString)(value),
3743
3743
  };
3744
3744
  }, {});
3745
3745
  };
@@ -3767,20 +3767,20 @@ const deserializeAws_json1_1QueryResultRows = (output, context) => {
3767
3767
  };
3768
3768
  const deserializeAws_json1_1QueryStatistics = (output, context) => {
3769
3769
  return {
3770
- BytesScanned: smithy_client_1.expectLong(output.BytesScanned),
3771
- ResultsCount: smithy_client_1.expectInt32(output.ResultsCount),
3772
- TotalResultsCount: smithy_client_1.expectInt32(output.TotalResultsCount),
3770
+ BytesScanned: (0, smithy_client_1.expectLong)(output.BytesScanned),
3771
+ ResultsCount: (0, smithy_client_1.expectInt32)(output.ResultsCount),
3772
+ TotalResultsCount: (0, smithy_client_1.expectInt32)(output.TotalResultsCount),
3773
3773
  };
3774
3774
  };
3775
3775
  const deserializeAws_json1_1QueryStatisticsForDescribeQuery = (output, context) => {
3776
3776
  return {
3777
- BytesScanned: smithy_client_1.expectLong(output.BytesScanned),
3777
+ BytesScanned: (0, smithy_client_1.expectLong)(output.BytesScanned),
3778
3778
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3779
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3779
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3780
3780
  : undefined,
3781
- EventsMatched: smithy_client_1.expectLong(output.EventsMatched),
3782
- EventsScanned: smithy_client_1.expectLong(output.EventsScanned),
3783
- ExecutionTimeInMillis: smithy_client_1.expectInt32(output.ExecutionTimeInMillis),
3781
+ EventsMatched: (0, smithy_client_1.expectLong)(output.EventsMatched),
3782
+ EventsScanned: (0, smithy_client_1.expectLong)(output.EventsScanned),
3783
+ ExecutionTimeInMillis: (0, smithy_client_1.expectInt32)(output.ExecutionTimeInMillis),
3784
3784
  };
3785
3785
  };
3786
3786
  const deserializeAws_json1_1RemoveTagsResponse = (output, context) => {
@@ -3788,8 +3788,8 @@ const deserializeAws_json1_1RemoveTagsResponse = (output, context) => {
3788
3788
  };
3789
3789
  const deserializeAws_json1_1Resource = (output, context) => {
3790
3790
  return {
3791
- ResourceName: smithy_client_1.expectString(output.ResourceName),
3792
- ResourceType: smithy_client_1.expectString(output.ResourceType),
3791
+ ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
3792
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
3793
3793
  };
3794
3794
  };
3795
3795
  const deserializeAws_json1_1ResourceList = (output, context) => {
@@ -3805,12 +3805,12 @@ const deserializeAws_json1_1ResourceList = (output, context) => {
3805
3805
  };
3806
3806
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
3807
3807
  return {
3808
- Message: smithy_client_1.expectString(output.Message),
3808
+ Message: (0, smithy_client_1.expectString)(output.Message),
3809
3809
  };
3810
3810
  };
3811
3811
  const deserializeAws_json1_1ResourceTag = (output, context) => {
3812
3812
  return {
3813
- ResourceId: smithy_client_1.expectString(output.ResourceId),
3813
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
3814
3814
  TagsList: output.TagsList !== undefined && output.TagsList !== null
3815
3815
  ? deserializeAws_json1_1TagsList(output.TagsList, context)
3816
3816
  : undefined,
@@ -3829,7 +3829,7 @@ const deserializeAws_json1_1ResourceTagList = (output, context) => {
3829
3829
  };
3830
3830
  const deserializeAws_json1_1ResourceTypeNotSupportedException = (output, context) => {
3831
3831
  return {
3832
- Message: smithy_client_1.expectString(output.Message),
3832
+ Message: (0, smithy_client_1.expectString)(output.Message),
3833
3833
  };
3834
3834
  };
3835
3835
  const deserializeAws_json1_1RestoreEventDataStoreResponse = (output, context) => {
@@ -3838,23 +3838,23 @@ const deserializeAws_json1_1RestoreEventDataStoreResponse = (output, context) =>
3838
3838
  ? deserializeAws_json1_1AdvancedEventSelectors(output.AdvancedEventSelectors, context)
3839
3839
  : undefined,
3840
3840
  CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
3841
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
3841
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
3842
3842
  : undefined,
3843
- EventDataStoreArn: smithy_client_1.expectString(output.EventDataStoreArn),
3844
- MultiRegionEnabled: smithy_client_1.expectBoolean(output.MultiRegionEnabled),
3845
- Name: smithy_client_1.expectString(output.Name),
3846
- OrganizationEnabled: smithy_client_1.expectBoolean(output.OrganizationEnabled),
3847
- RetentionPeriod: smithy_client_1.expectInt32(output.RetentionPeriod),
3848
- Status: smithy_client_1.expectString(output.Status),
3849
- TerminationProtectionEnabled: smithy_client_1.expectBoolean(output.TerminationProtectionEnabled),
3843
+ EventDataStoreArn: (0, smithy_client_1.expectString)(output.EventDataStoreArn),
3844
+ MultiRegionEnabled: (0, smithy_client_1.expectBoolean)(output.MultiRegionEnabled),
3845
+ Name: (0, smithy_client_1.expectString)(output.Name),
3846
+ OrganizationEnabled: (0, smithy_client_1.expectBoolean)(output.OrganizationEnabled),
3847
+ RetentionPeriod: (0, smithy_client_1.expectInt32)(output.RetentionPeriod),
3848
+ Status: (0, smithy_client_1.expectString)(output.Status),
3849
+ TerminationProtectionEnabled: (0, smithy_client_1.expectBoolean)(output.TerminationProtectionEnabled),
3850
3850
  UpdatedTimestamp: output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
3851
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedTimestamp)))
3851
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
3852
3852
  : undefined,
3853
3853
  };
3854
3854
  };
3855
3855
  const deserializeAws_json1_1S3BucketDoesNotExistException = (output, context) => {
3856
3856
  return {
3857
- Message: smithy_client_1.expectString(output.Message),
3857
+ Message: (0, smithy_client_1.expectString)(output.Message),
3858
3858
  };
3859
3859
  };
3860
3860
  const deserializeAws_json1_1StartLoggingResponse = (output, context) => {
@@ -3862,7 +3862,7 @@ const deserializeAws_json1_1StartLoggingResponse = (output, context) => {
3862
3862
  };
3863
3863
  const deserializeAws_json1_1StartQueryResponse = (output, context) => {
3864
3864
  return {
3865
- QueryId: smithy_client_1.expectString(output.QueryId),
3865
+ QueryId: (0, smithy_client_1.expectString)(output.QueryId),
3866
3866
  };
3867
3867
  };
3868
3868
  const deserializeAws_json1_1StopLoggingResponse = (output, context) => {
@@ -3870,13 +3870,13 @@ const deserializeAws_json1_1StopLoggingResponse = (output, context) => {
3870
3870
  };
3871
3871
  const deserializeAws_json1_1Tag = (output, context) => {
3872
3872
  return {
3873
- Key: smithy_client_1.expectString(output.Key),
3874
- Value: smithy_client_1.expectString(output.Value),
3873
+ Key: (0, smithy_client_1.expectString)(output.Key),
3874
+ Value: (0, smithy_client_1.expectString)(output.Value),
3875
3875
  };
3876
3876
  };
3877
3877
  const deserializeAws_json1_1TagsLimitExceededException = (output, context) => {
3878
3878
  return {
3879
- Message: smithy_client_1.expectString(output.Message),
3879
+ Message: (0, smithy_client_1.expectString)(output.Message),
3880
3880
  };
3881
3881
  };
3882
3882
  const deserializeAws_json1_1TagsList = (output, context) => {
@@ -3892,34 +3892,34 @@ const deserializeAws_json1_1TagsList = (output, context) => {
3892
3892
  };
3893
3893
  const deserializeAws_json1_1Trail = (output, context) => {
3894
3894
  return {
3895
- CloudWatchLogsLogGroupArn: smithy_client_1.expectString(output.CloudWatchLogsLogGroupArn),
3896
- CloudWatchLogsRoleArn: smithy_client_1.expectString(output.CloudWatchLogsRoleArn),
3897
- HasCustomEventSelectors: smithy_client_1.expectBoolean(output.HasCustomEventSelectors),
3898
- HasInsightSelectors: smithy_client_1.expectBoolean(output.HasInsightSelectors),
3899
- HomeRegion: smithy_client_1.expectString(output.HomeRegion),
3900
- IncludeGlobalServiceEvents: smithy_client_1.expectBoolean(output.IncludeGlobalServiceEvents),
3901
- IsMultiRegionTrail: smithy_client_1.expectBoolean(output.IsMultiRegionTrail),
3902
- IsOrganizationTrail: smithy_client_1.expectBoolean(output.IsOrganizationTrail),
3903
- KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
3904
- LogFileValidationEnabled: smithy_client_1.expectBoolean(output.LogFileValidationEnabled),
3905
- Name: smithy_client_1.expectString(output.Name),
3906
- S3BucketName: smithy_client_1.expectString(output.S3BucketName),
3907
- S3KeyPrefix: smithy_client_1.expectString(output.S3KeyPrefix),
3908
- SnsTopicARN: smithy_client_1.expectString(output.SnsTopicARN),
3909
- SnsTopicName: smithy_client_1.expectString(output.SnsTopicName),
3910
- TrailARN: smithy_client_1.expectString(output.TrailARN),
3895
+ CloudWatchLogsLogGroupArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsLogGroupArn),
3896
+ CloudWatchLogsRoleArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsRoleArn),
3897
+ HasCustomEventSelectors: (0, smithy_client_1.expectBoolean)(output.HasCustomEventSelectors),
3898
+ HasInsightSelectors: (0, smithy_client_1.expectBoolean)(output.HasInsightSelectors),
3899
+ HomeRegion: (0, smithy_client_1.expectString)(output.HomeRegion),
3900
+ IncludeGlobalServiceEvents: (0, smithy_client_1.expectBoolean)(output.IncludeGlobalServiceEvents),
3901
+ IsMultiRegionTrail: (0, smithy_client_1.expectBoolean)(output.IsMultiRegionTrail),
3902
+ IsOrganizationTrail: (0, smithy_client_1.expectBoolean)(output.IsOrganizationTrail),
3903
+ KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
3904
+ LogFileValidationEnabled: (0, smithy_client_1.expectBoolean)(output.LogFileValidationEnabled),
3905
+ Name: (0, smithy_client_1.expectString)(output.Name),
3906
+ S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
3907
+ S3KeyPrefix: (0, smithy_client_1.expectString)(output.S3KeyPrefix),
3908
+ SnsTopicARN: (0, smithy_client_1.expectString)(output.SnsTopicARN),
3909
+ SnsTopicName: (0, smithy_client_1.expectString)(output.SnsTopicName),
3910
+ TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
3911
3911
  };
3912
3912
  };
3913
3913
  const deserializeAws_json1_1TrailAlreadyExistsException = (output, context) => {
3914
3914
  return {
3915
- Message: smithy_client_1.expectString(output.Message),
3915
+ Message: (0, smithy_client_1.expectString)(output.Message),
3916
3916
  };
3917
3917
  };
3918
3918
  const deserializeAws_json1_1TrailInfo = (output, context) => {
3919
3919
  return {
3920
- HomeRegion: smithy_client_1.expectString(output.HomeRegion),
3921
- Name: smithy_client_1.expectString(output.Name),
3922
- TrailARN: smithy_client_1.expectString(output.TrailARN),
3920
+ HomeRegion: (0, smithy_client_1.expectString)(output.HomeRegion),
3921
+ Name: (0, smithy_client_1.expectString)(output.Name),
3922
+ TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
3923
3923
  };
3924
3924
  };
3925
3925
  const deserializeAws_json1_1TrailList = (output, context) => {
@@ -3935,12 +3935,12 @@ const deserializeAws_json1_1TrailList = (output, context) => {
3935
3935
  };
3936
3936
  const deserializeAws_json1_1TrailNotFoundException = (output, context) => {
3937
3937
  return {
3938
- Message: smithy_client_1.expectString(output.Message),
3938
+ Message: (0, smithy_client_1.expectString)(output.Message),
3939
3939
  };
3940
3940
  };
3941
3941
  const deserializeAws_json1_1TrailNotProvidedException = (output, context) => {
3942
3942
  return {
3943
- Message: smithy_client_1.expectString(output.Message),
3943
+ Message: (0, smithy_client_1.expectString)(output.Message),
3944
3944
  };
3945
3945
  };
3946
3946
  const deserializeAws_json1_1Trails = (output, context) => {
@@ -3956,7 +3956,7 @@ const deserializeAws_json1_1Trails = (output, context) => {
3956
3956
  };
3957
3957
  const deserializeAws_json1_1UnsupportedOperationException = (output, context) => {
3958
3958
  return {
3959
- Message: smithy_client_1.expectString(output.Message),
3959
+ Message: (0, smithy_client_1.expectString)(output.Message),
3960
3960
  };
3961
3961
  };
3962
3962
  const deserializeAws_json1_1UpdateEventDataStoreResponse = (output, context) => {
@@ -3965,35 +3965,35 @@ const deserializeAws_json1_1UpdateEventDataStoreResponse = (output, context) =>
3965
3965
  ? deserializeAws_json1_1AdvancedEventSelectors(output.AdvancedEventSelectors, context)
3966
3966
  : undefined,
3967
3967
  CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
3968
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
3968
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
3969
3969
  : undefined,
3970
- EventDataStoreArn: smithy_client_1.expectString(output.EventDataStoreArn),
3971
- MultiRegionEnabled: smithy_client_1.expectBoolean(output.MultiRegionEnabled),
3972
- Name: smithy_client_1.expectString(output.Name),
3973
- OrganizationEnabled: smithy_client_1.expectBoolean(output.OrganizationEnabled),
3974
- RetentionPeriod: smithy_client_1.expectInt32(output.RetentionPeriod),
3975
- Status: smithy_client_1.expectString(output.Status),
3976
- TerminationProtectionEnabled: smithy_client_1.expectBoolean(output.TerminationProtectionEnabled),
3970
+ EventDataStoreArn: (0, smithy_client_1.expectString)(output.EventDataStoreArn),
3971
+ MultiRegionEnabled: (0, smithy_client_1.expectBoolean)(output.MultiRegionEnabled),
3972
+ Name: (0, smithy_client_1.expectString)(output.Name),
3973
+ OrganizationEnabled: (0, smithy_client_1.expectBoolean)(output.OrganizationEnabled),
3974
+ RetentionPeriod: (0, smithy_client_1.expectInt32)(output.RetentionPeriod),
3975
+ Status: (0, smithy_client_1.expectString)(output.Status),
3976
+ TerminationProtectionEnabled: (0, smithy_client_1.expectBoolean)(output.TerminationProtectionEnabled),
3977
3977
  UpdatedTimestamp: output.UpdatedTimestamp !== undefined && output.UpdatedTimestamp !== null
3978
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedTimestamp)))
3978
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedTimestamp)))
3979
3979
  : undefined,
3980
3980
  };
3981
3981
  };
3982
3982
  const deserializeAws_json1_1UpdateTrailResponse = (output, context) => {
3983
3983
  return {
3984
- CloudWatchLogsLogGroupArn: smithy_client_1.expectString(output.CloudWatchLogsLogGroupArn),
3985
- CloudWatchLogsRoleArn: smithy_client_1.expectString(output.CloudWatchLogsRoleArn),
3986
- IncludeGlobalServiceEvents: smithy_client_1.expectBoolean(output.IncludeGlobalServiceEvents),
3987
- IsMultiRegionTrail: smithy_client_1.expectBoolean(output.IsMultiRegionTrail),
3988
- IsOrganizationTrail: smithy_client_1.expectBoolean(output.IsOrganizationTrail),
3989
- KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
3990
- LogFileValidationEnabled: smithy_client_1.expectBoolean(output.LogFileValidationEnabled),
3991
- Name: smithy_client_1.expectString(output.Name),
3992
- S3BucketName: smithy_client_1.expectString(output.S3BucketName),
3993
- S3KeyPrefix: smithy_client_1.expectString(output.S3KeyPrefix),
3994
- SnsTopicARN: smithy_client_1.expectString(output.SnsTopicARN),
3995
- SnsTopicName: smithy_client_1.expectString(output.SnsTopicName),
3996
- TrailARN: smithy_client_1.expectString(output.TrailARN),
3984
+ CloudWatchLogsLogGroupArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsLogGroupArn),
3985
+ CloudWatchLogsRoleArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsRoleArn),
3986
+ IncludeGlobalServiceEvents: (0, smithy_client_1.expectBoolean)(output.IncludeGlobalServiceEvents),
3987
+ IsMultiRegionTrail: (0, smithy_client_1.expectBoolean)(output.IsMultiRegionTrail),
3988
+ IsOrganizationTrail: (0, smithy_client_1.expectBoolean)(output.IsOrganizationTrail),
3989
+ KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
3990
+ LogFileValidationEnabled: (0, smithy_client_1.expectBoolean)(output.LogFileValidationEnabled),
3991
+ Name: (0, smithy_client_1.expectString)(output.Name),
3992
+ S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
3993
+ S3KeyPrefix: (0, smithy_client_1.expectString)(output.S3KeyPrefix),
3994
+ SnsTopicARN: (0, smithy_client_1.expectString)(output.SnsTopicARN),
3995
+ SnsTopicName: (0, smithy_client_1.expectString)(output.SnsTopicName),
3996
+ TrailARN: (0, smithy_client_1.expectString)(output.TrailARN),
3997
3997
  };
3998
3998
  };
3999
3999
  const deserializeMetadata = (output) => {