@aws-sdk/client-xray 3.54.0 → 3.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/XRayClient.js +13 -13
  3. package/dist-cjs/commands/BatchGetTracesCommand.js +3 -3
  4. package/dist-cjs/commands/CreateGroupCommand.js +3 -3
  5. package/dist-cjs/commands/CreateSamplingRuleCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteGroupCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteSamplingRuleCommand.js +3 -3
  8. package/dist-cjs/commands/GetEncryptionConfigCommand.js +3 -3
  9. package/dist-cjs/commands/GetGroupCommand.js +3 -3
  10. package/dist-cjs/commands/GetGroupsCommand.js +3 -3
  11. package/dist-cjs/commands/GetInsightCommand.js +3 -3
  12. package/dist-cjs/commands/GetInsightEventsCommand.js +3 -3
  13. package/dist-cjs/commands/GetInsightImpactGraphCommand.js +3 -3
  14. package/dist-cjs/commands/GetInsightSummariesCommand.js +3 -3
  15. package/dist-cjs/commands/GetSamplingRulesCommand.js +3 -3
  16. package/dist-cjs/commands/GetSamplingStatisticSummariesCommand.js +3 -3
  17. package/dist-cjs/commands/GetSamplingTargetsCommand.js +3 -3
  18. package/dist-cjs/commands/GetServiceGraphCommand.js +3 -3
  19. package/dist-cjs/commands/GetTimeSeriesServiceStatisticsCommand.js +3 -3
  20. package/dist-cjs/commands/GetTraceGraphCommand.js +3 -3
  21. package/dist-cjs/commands/GetTraceSummariesCommand.js +3 -3
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  23. package/dist-cjs/commands/PutEncryptionConfigCommand.js +3 -3
  24. package/dist-cjs/commands/PutTelemetryRecordsCommand.js +3 -3
  25. package/dist-cjs/commands/PutTraceSegmentsCommand.js +3 -3
  26. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  27. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  28. package/dist-cjs/commands/UpdateGroupCommand.js +3 -3
  29. package/dist-cjs/commands/UpdateSamplingRuleCommand.js +3 -3
  30. package/dist-cjs/endpoints.js +1 -1
  31. package/dist-cjs/protocols/Aws_restJson1.js +248 -248
  32. package/dist-cjs/runtimeConfig.browser.js +4 -4
  33. package/dist-cjs/runtimeConfig.js +9 -9
  34. package/dist-cjs/runtimeConfig.native.js +1 -1
  35. package/dist-es/XRay.js +27 -27
  36. package/dist-es/pagination/BatchGetTracesPaginator.js +4 -4
  37. package/dist-es/pagination/GetGroupsPaginator.js +4 -4
  38. package/dist-es/pagination/GetInsightEventsPaginator.js +4 -4
  39. package/dist-es/pagination/GetInsightSummariesPaginator.js +4 -4
  40. package/dist-es/pagination/GetSamplingRulesPaginator.js +4 -4
  41. package/dist-es/pagination/GetSamplingStatisticSummariesPaginator.js +4 -4
  42. package/dist-es/pagination/GetServiceGraphPaginator.js +4 -4
  43. package/dist-es/pagination/GetTimeSeriesServiceStatisticsPaginator.js +4 -4
  44. package/dist-es/pagination/GetTraceGraphPaginator.js +4 -4
  45. package/dist-es/pagination/GetTraceSummariesPaginator.js +4 -4
  46. package/dist-es/protocols/Aws_restJson1.js +27 -27
  47. package/dist-types/runtimeConfig.native.d.ts +2 -2
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  49. package/package.json +34 -34
@@ -672,9 +672,9 @@ const deserializeAws_restJson1BatchGetTracesCommand = async (output, context) =>
672
672
  Traces: undefined,
673
673
  UnprocessedTraceIds: undefined,
674
674
  };
675
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
675
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
676
676
  if (data.NextToken !== undefined && data.NextToken !== null) {
677
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
677
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
678
678
  }
679
679
  if (data.Traces !== undefined && data.Traces !== null) {
680
680
  contents.Traces = deserializeAws_restJson1TraceList(data.Traces, context);
@@ -707,7 +707,7 @@ const deserializeAws_restJson1BatchGetTracesCommandError = async (output, contex
707
707
  $fault: "client",
708
708
  $metadata: deserializeMetadata(output),
709
709
  });
710
- throw smithy_client_1.decorateServiceException(response, parsedBody);
710
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
711
711
  }
712
712
  };
713
713
  const deserializeAws_restJson1CreateGroupCommand = async (output, context) => {
@@ -718,7 +718,7 @@ const deserializeAws_restJson1CreateGroupCommand = async (output, context) => {
718
718
  $metadata: deserializeMetadata(output),
719
719
  Group: undefined,
720
720
  };
721
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
721
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
722
722
  if (data.Group !== undefined && data.Group !== null) {
723
723
  contents.Group = deserializeAws_restJson1Group(data.Group, context);
724
724
  }
@@ -747,7 +747,7 @@ const deserializeAws_restJson1CreateGroupCommandError = async (output, context)
747
747
  $fault: "client",
748
748
  $metadata: deserializeMetadata(output),
749
749
  });
750
- throw smithy_client_1.decorateServiceException(response, parsedBody);
750
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
751
751
  }
752
752
  };
753
753
  const deserializeAws_restJson1CreateSamplingRuleCommand = async (output, context) => {
@@ -758,7 +758,7 @@ const deserializeAws_restJson1CreateSamplingRuleCommand = async (output, context
758
758
  $metadata: deserializeMetadata(output),
759
759
  SamplingRuleRecord: undefined,
760
760
  };
761
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
761
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
762
762
  if (data.SamplingRuleRecord !== undefined && data.SamplingRuleRecord !== null) {
763
763
  contents.SamplingRuleRecord = deserializeAws_restJson1SamplingRuleRecord(data.SamplingRuleRecord, context);
764
764
  }
@@ -790,7 +790,7 @@ const deserializeAws_restJson1CreateSamplingRuleCommandError = async (output, co
790
790
  $fault: "client",
791
791
  $metadata: deserializeMetadata(output),
792
792
  });
793
- throw smithy_client_1.decorateServiceException(response, parsedBody);
793
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
794
794
  }
795
795
  };
796
796
  const deserializeAws_restJson1DeleteGroupCommand = async (output, context) => {
@@ -826,7 +826,7 @@ const deserializeAws_restJson1DeleteGroupCommandError = async (output, context)
826
826
  $fault: "client",
827
827
  $metadata: deserializeMetadata(output),
828
828
  });
829
- throw smithy_client_1.decorateServiceException(response, parsedBody);
829
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
830
830
  }
831
831
  };
832
832
  const deserializeAws_restJson1DeleteSamplingRuleCommand = async (output, context) => {
@@ -837,7 +837,7 @@ const deserializeAws_restJson1DeleteSamplingRuleCommand = async (output, context
837
837
  $metadata: deserializeMetadata(output),
838
838
  SamplingRuleRecord: undefined,
839
839
  };
840
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
840
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
841
841
  if (data.SamplingRuleRecord !== undefined && data.SamplingRuleRecord !== null) {
842
842
  contents.SamplingRuleRecord = deserializeAws_restJson1SamplingRuleRecord(data.SamplingRuleRecord, context);
843
843
  }
@@ -866,7 +866,7 @@ const deserializeAws_restJson1DeleteSamplingRuleCommandError = async (output, co
866
866
  $fault: "client",
867
867
  $metadata: deserializeMetadata(output),
868
868
  });
869
- throw smithy_client_1.decorateServiceException(response, parsedBody);
869
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
870
870
  }
871
871
  };
872
872
  const deserializeAws_restJson1GetEncryptionConfigCommand = async (output, context) => {
@@ -877,7 +877,7 @@ const deserializeAws_restJson1GetEncryptionConfigCommand = async (output, contex
877
877
  $metadata: deserializeMetadata(output),
878
878
  EncryptionConfig: undefined,
879
879
  };
880
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
880
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
881
881
  if (data.EncryptionConfig !== undefined && data.EncryptionConfig !== null) {
882
882
  contents.EncryptionConfig = deserializeAws_restJson1EncryptionConfig(data.EncryptionConfig, context);
883
883
  }
@@ -906,7 +906,7 @@ const deserializeAws_restJson1GetEncryptionConfigCommandError = async (output, c
906
906
  $fault: "client",
907
907
  $metadata: deserializeMetadata(output),
908
908
  });
909
- throw smithy_client_1.decorateServiceException(response, parsedBody);
909
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
910
910
  }
911
911
  };
912
912
  const deserializeAws_restJson1GetGroupCommand = async (output, context) => {
@@ -917,7 +917,7 @@ const deserializeAws_restJson1GetGroupCommand = async (output, context) => {
917
917
  $metadata: deserializeMetadata(output),
918
918
  Group: undefined,
919
919
  };
920
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
920
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
921
921
  if (data.Group !== undefined && data.Group !== null) {
922
922
  contents.Group = deserializeAws_restJson1Group(data.Group, context);
923
923
  }
@@ -946,7 +946,7 @@ const deserializeAws_restJson1GetGroupCommandError = async (output, context) =>
946
946
  $fault: "client",
947
947
  $metadata: deserializeMetadata(output),
948
948
  });
949
- throw smithy_client_1.decorateServiceException(response, parsedBody);
949
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
950
950
  }
951
951
  };
952
952
  const deserializeAws_restJson1GetGroupsCommand = async (output, context) => {
@@ -958,12 +958,12 @@ const deserializeAws_restJson1GetGroupsCommand = async (output, context) => {
958
958
  Groups: undefined,
959
959
  NextToken: undefined,
960
960
  };
961
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
961
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
962
962
  if (data.Groups !== undefined && data.Groups !== null) {
963
963
  contents.Groups = deserializeAws_restJson1GroupSummaryList(data.Groups, context);
964
964
  }
965
965
  if (data.NextToken !== undefined && data.NextToken !== null) {
966
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
966
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
967
967
  }
968
968
  return Promise.resolve(contents);
969
969
  };
@@ -990,7 +990,7 @@ const deserializeAws_restJson1GetGroupsCommandError = async (output, context) =>
990
990
  $fault: "client",
991
991
  $metadata: deserializeMetadata(output),
992
992
  });
993
- throw smithy_client_1.decorateServiceException(response, parsedBody);
993
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
994
994
  }
995
995
  };
996
996
  const deserializeAws_restJson1GetInsightCommand = async (output, context) => {
@@ -1001,7 +1001,7 @@ const deserializeAws_restJson1GetInsightCommand = async (output, context) => {
1001
1001
  $metadata: deserializeMetadata(output),
1002
1002
  Insight: undefined,
1003
1003
  };
1004
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1004
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1005
1005
  if (data.Insight !== undefined && data.Insight !== null) {
1006
1006
  contents.Insight = deserializeAws_restJson1Insight(data.Insight, context);
1007
1007
  }
@@ -1030,7 +1030,7 @@ const deserializeAws_restJson1GetInsightCommandError = async (output, context) =
1030
1030
  $fault: "client",
1031
1031
  $metadata: deserializeMetadata(output),
1032
1032
  });
1033
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1033
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1034
1034
  }
1035
1035
  };
1036
1036
  const deserializeAws_restJson1GetInsightEventsCommand = async (output, context) => {
@@ -1042,12 +1042,12 @@ const deserializeAws_restJson1GetInsightEventsCommand = async (output, context)
1042
1042
  InsightEvents: undefined,
1043
1043
  NextToken: undefined,
1044
1044
  };
1045
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1045
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1046
1046
  if (data.InsightEvents !== undefined && data.InsightEvents !== null) {
1047
1047
  contents.InsightEvents = deserializeAws_restJson1InsightEventList(data.InsightEvents, context);
1048
1048
  }
1049
1049
  if (data.NextToken !== undefined && data.NextToken !== null) {
1050
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1050
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1051
1051
  }
1052
1052
  return Promise.resolve(contents);
1053
1053
  };
@@ -1074,7 +1074,7 @@ const deserializeAws_restJson1GetInsightEventsCommandError = async (output, cont
1074
1074
  $fault: "client",
1075
1075
  $metadata: deserializeMetadata(output),
1076
1076
  });
1077
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1077
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1078
1078
  }
1079
1079
  };
1080
1080
  const deserializeAws_restJson1GetInsightImpactGraphCommand = async (output, context) => {
@@ -1091,27 +1091,27 @@ const deserializeAws_restJson1GetInsightImpactGraphCommand = async (output, cont
1091
1091
  Services: undefined,
1092
1092
  StartTime: undefined,
1093
1093
  };
1094
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1094
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1095
1095
  if (data.EndTime !== undefined && data.EndTime !== null) {
1096
- contents.EndTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.EndTime)));
1096
+ contents.EndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.EndTime)));
1097
1097
  }
1098
1098
  if (data.InsightId !== undefined && data.InsightId !== null) {
1099
- contents.InsightId = smithy_client_1.expectString(data.InsightId);
1099
+ contents.InsightId = (0, smithy_client_1.expectString)(data.InsightId);
1100
1100
  }
1101
1101
  if (data.NextToken !== undefined && data.NextToken !== null) {
1102
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1102
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1103
1103
  }
1104
1104
  if (data.ServiceGraphEndTime !== undefined && data.ServiceGraphEndTime !== null) {
1105
- contents.ServiceGraphEndTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.ServiceGraphEndTime)));
1105
+ contents.ServiceGraphEndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.ServiceGraphEndTime)));
1106
1106
  }
1107
1107
  if (data.ServiceGraphStartTime !== undefined && data.ServiceGraphStartTime !== null) {
1108
- contents.ServiceGraphStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.ServiceGraphStartTime)));
1108
+ contents.ServiceGraphStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.ServiceGraphStartTime)));
1109
1109
  }
1110
1110
  if (data.Services !== undefined && data.Services !== null) {
1111
1111
  contents.Services = deserializeAws_restJson1InsightImpactGraphServiceList(data.Services, context);
1112
1112
  }
1113
1113
  if (data.StartTime !== undefined && data.StartTime !== null) {
1114
- contents.StartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.StartTime)));
1114
+ contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.StartTime)));
1115
1115
  }
1116
1116
  return Promise.resolve(contents);
1117
1117
  };
@@ -1138,7 +1138,7 @@ const deserializeAws_restJson1GetInsightImpactGraphCommandError = async (output,
1138
1138
  $fault: "client",
1139
1139
  $metadata: deserializeMetadata(output),
1140
1140
  });
1141
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1141
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1142
1142
  }
1143
1143
  };
1144
1144
  const deserializeAws_restJson1GetInsightSummariesCommand = async (output, context) => {
@@ -1150,12 +1150,12 @@ const deserializeAws_restJson1GetInsightSummariesCommand = async (output, contex
1150
1150
  InsightSummaries: undefined,
1151
1151
  NextToken: undefined,
1152
1152
  };
1153
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1153
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1154
1154
  if (data.InsightSummaries !== undefined && data.InsightSummaries !== null) {
1155
1155
  contents.InsightSummaries = deserializeAws_restJson1InsightSummaryList(data.InsightSummaries, context);
1156
1156
  }
1157
1157
  if (data.NextToken !== undefined && data.NextToken !== null) {
1158
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1158
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1159
1159
  }
1160
1160
  return Promise.resolve(contents);
1161
1161
  };
@@ -1182,7 +1182,7 @@ const deserializeAws_restJson1GetInsightSummariesCommandError = async (output, c
1182
1182
  $fault: "client",
1183
1183
  $metadata: deserializeMetadata(output),
1184
1184
  });
1185
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1185
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1186
1186
  }
1187
1187
  };
1188
1188
  const deserializeAws_restJson1GetSamplingRulesCommand = async (output, context) => {
@@ -1194,9 +1194,9 @@ const deserializeAws_restJson1GetSamplingRulesCommand = async (output, context)
1194
1194
  NextToken: undefined,
1195
1195
  SamplingRuleRecords: undefined,
1196
1196
  };
1197
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1197
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1198
1198
  if (data.NextToken !== undefined && data.NextToken !== null) {
1199
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1199
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1200
1200
  }
1201
1201
  if (data.SamplingRuleRecords !== undefined && data.SamplingRuleRecords !== null) {
1202
1202
  contents.SamplingRuleRecords = deserializeAws_restJson1SamplingRuleRecordList(data.SamplingRuleRecords, context);
@@ -1226,7 +1226,7 @@ const deserializeAws_restJson1GetSamplingRulesCommandError = async (output, cont
1226
1226
  $fault: "client",
1227
1227
  $metadata: deserializeMetadata(output),
1228
1228
  });
1229
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1229
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1230
1230
  }
1231
1231
  };
1232
1232
  const deserializeAws_restJson1GetSamplingStatisticSummariesCommand = async (output, context) => {
@@ -1238,9 +1238,9 @@ const deserializeAws_restJson1GetSamplingStatisticSummariesCommand = async (outp
1238
1238
  NextToken: undefined,
1239
1239
  SamplingStatisticSummaries: undefined,
1240
1240
  };
1241
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1241
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1242
1242
  if (data.NextToken !== undefined && data.NextToken !== null) {
1243
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1243
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1244
1244
  }
1245
1245
  if (data.SamplingStatisticSummaries !== undefined && data.SamplingStatisticSummaries !== null) {
1246
1246
  contents.SamplingStatisticSummaries = deserializeAws_restJson1SamplingStatisticSummaryList(data.SamplingStatisticSummaries, context);
@@ -1270,7 +1270,7 @@ const deserializeAws_restJson1GetSamplingStatisticSummariesCommandError = async
1270
1270
  $fault: "client",
1271
1271
  $metadata: deserializeMetadata(output),
1272
1272
  });
1273
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1273
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1274
1274
  }
1275
1275
  };
1276
1276
  const deserializeAws_restJson1GetSamplingTargetsCommand = async (output, context) => {
@@ -1283,9 +1283,9 @@ const deserializeAws_restJson1GetSamplingTargetsCommand = async (output, context
1283
1283
  SamplingTargetDocuments: undefined,
1284
1284
  UnprocessedStatistics: undefined,
1285
1285
  };
1286
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1286
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1287
1287
  if (data.LastRuleModification !== undefined && data.LastRuleModification !== null) {
1288
- contents.LastRuleModification = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastRuleModification)));
1288
+ contents.LastRuleModification = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastRuleModification)));
1289
1289
  }
1290
1290
  if (data.SamplingTargetDocuments !== undefined && data.SamplingTargetDocuments !== null) {
1291
1291
  contents.SamplingTargetDocuments = deserializeAws_restJson1SamplingTargetDocumentList(data.SamplingTargetDocuments, context);
@@ -1318,7 +1318,7 @@ const deserializeAws_restJson1GetSamplingTargetsCommandError = async (output, co
1318
1318
  $fault: "client",
1319
1319
  $metadata: deserializeMetadata(output),
1320
1320
  });
1321
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1321
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1322
1322
  }
1323
1323
  };
1324
1324
  const deserializeAws_restJson1GetServiceGraphCommand = async (output, context) => {
@@ -1333,21 +1333,21 @@ const deserializeAws_restJson1GetServiceGraphCommand = async (output, context) =
1333
1333
  Services: undefined,
1334
1334
  StartTime: undefined,
1335
1335
  };
1336
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1336
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1337
1337
  if (data.ContainsOldGroupVersions !== undefined && data.ContainsOldGroupVersions !== null) {
1338
- contents.ContainsOldGroupVersions = smithy_client_1.expectBoolean(data.ContainsOldGroupVersions);
1338
+ contents.ContainsOldGroupVersions = (0, smithy_client_1.expectBoolean)(data.ContainsOldGroupVersions);
1339
1339
  }
1340
1340
  if (data.EndTime !== undefined && data.EndTime !== null) {
1341
- contents.EndTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.EndTime)));
1341
+ contents.EndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.EndTime)));
1342
1342
  }
1343
1343
  if (data.NextToken !== undefined && data.NextToken !== null) {
1344
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1344
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1345
1345
  }
1346
1346
  if (data.Services !== undefined && data.Services !== null) {
1347
1347
  contents.Services = deserializeAws_restJson1ServiceList(data.Services, context);
1348
1348
  }
1349
1349
  if (data.StartTime !== undefined && data.StartTime !== null) {
1350
- contents.StartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.StartTime)));
1350
+ contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.StartTime)));
1351
1351
  }
1352
1352
  return Promise.resolve(contents);
1353
1353
  };
@@ -1374,7 +1374,7 @@ const deserializeAws_restJson1GetServiceGraphCommandError = async (output, conte
1374
1374
  $fault: "client",
1375
1375
  $metadata: deserializeMetadata(output),
1376
1376
  });
1377
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1377
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1378
1378
  }
1379
1379
  };
1380
1380
  const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = async (output, context) => {
@@ -1387,12 +1387,12 @@ const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommand = async (out
1387
1387
  NextToken: undefined,
1388
1388
  TimeSeriesServiceStatistics: undefined,
1389
1389
  };
1390
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1390
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1391
1391
  if (data.ContainsOldGroupVersions !== undefined && data.ContainsOldGroupVersions !== null) {
1392
- contents.ContainsOldGroupVersions = smithy_client_1.expectBoolean(data.ContainsOldGroupVersions);
1392
+ contents.ContainsOldGroupVersions = (0, smithy_client_1.expectBoolean)(data.ContainsOldGroupVersions);
1393
1393
  }
1394
1394
  if (data.NextToken !== undefined && data.NextToken !== null) {
1395
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1395
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1396
1396
  }
1397
1397
  if (data.TimeSeriesServiceStatistics !== undefined && data.TimeSeriesServiceStatistics !== null) {
1398
1398
  contents.TimeSeriesServiceStatistics = deserializeAws_restJson1TimeSeriesServiceStatisticsList(data.TimeSeriesServiceStatistics, context);
@@ -1422,7 +1422,7 @@ const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommandError = async
1422
1422
  $fault: "client",
1423
1423
  $metadata: deserializeMetadata(output),
1424
1424
  });
1425
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1425
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1426
1426
  }
1427
1427
  };
1428
1428
  const deserializeAws_restJson1GetTraceGraphCommand = async (output, context) => {
@@ -1434,9 +1434,9 @@ const deserializeAws_restJson1GetTraceGraphCommand = async (output, context) =>
1434
1434
  NextToken: undefined,
1435
1435
  Services: undefined,
1436
1436
  };
1437
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1437
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1438
1438
  if (data.NextToken !== undefined && data.NextToken !== null) {
1439
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1439
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1440
1440
  }
1441
1441
  if (data.Services !== undefined && data.Services !== null) {
1442
1442
  contents.Services = deserializeAws_restJson1ServiceList(data.Services, context);
@@ -1466,7 +1466,7 @@ const deserializeAws_restJson1GetTraceGraphCommandError = async (output, context
1466
1466
  $fault: "client",
1467
1467
  $metadata: deserializeMetadata(output),
1468
1468
  });
1469
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1469
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1470
1470
  }
1471
1471
  };
1472
1472
  const deserializeAws_restJson1GetTraceSummariesCommand = async (output, context) => {
@@ -1480,18 +1480,18 @@ const deserializeAws_restJson1GetTraceSummariesCommand = async (output, context)
1480
1480
  TraceSummaries: undefined,
1481
1481
  TracesProcessedCount: undefined,
1482
1482
  };
1483
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1483
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1484
1484
  if (data.ApproximateTime !== undefined && data.ApproximateTime !== null) {
1485
- contents.ApproximateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.ApproximateTime)));
1485
+ contents.ApproximateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.ApproximateTime)));
1486
1486
  }
1487
1487
  if (data.NextToken !== undefined && data.NextToken !== null) {
1488
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1488
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1489
1489
  }
1490
1490
  if (data.TraceSummaries !== undefined && data.TraceSummaries !== null) {
1491
1491
  contents.TraceSummaries = deserializeAws_restJson1TraceSummaryList(data.TraceSummaries, context);
1492
1492
  }
1493
1493
  if (data.TracesProcessedCount !== undefined && data.TracesProcessedCount !== null) {
1494
- contents.TracesProcessedCount = smithy_client_1.expectLong(data.TracesProcessedCount);
1494
+ contents.TracesProcessedCount = (0, smithy_client_1.expectLong)(data.TracesProcessedCount);
1495
1495
  }
1496
1496
  return Promise.resolve(contents);
1497
1497
  };
@@ -1518,7 +1518,7 @@ const deserializeAws_restJson1GetTraceSummariesCommandError = async (output, con
1518
1518
  $fault: "client",
1519
1519
  $metadata: deserializeMetadata(output),
1520
1520
  });
1521
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1521
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1522
1522
  }
1523
1523
  };
1524
1524
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -1530,9 +1530,9 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
1530
1530
  NextToken: undefined,
1531
1531
  Tags: undefined,
1532
1532
  };
1533
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1533
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1534
1534
  if (data.NextToken !== undefined && data.NextToken !== null) {
1535
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1535
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1536
1536
  }
1537
1537
  if (data.Tags !== undefined && data.Tags !== null) {
1538
1538
  contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
@@ -1565,7 +1565,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1565
1565
  $fault: "client",
1566
1566
  $metadata: deserializeMetadata(output),
1567
1567
  });
1568
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1568
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1569
1569
  }
1570
1570
  };
1571
1571
  const deserializeAws_restJson1PutEncryptionConfigCommand = async (output, context) => {
@@ -1576,7 +1576,7 @@ const deserializeAws_restJson1PutEncryptionConfigCommand = async (output, contex
1576
1576
  $metadata: deserializeMetadata(output),
1577
1577
  EncryptionConfig: undefined,
1578
1578
  };
1579
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1579
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1580
1580
  if (data.EncryptionConfig !== undefined && data.EncryptionConfig !== null) {
1581
1581
  contents.EncryptionConfig = deserializeAws_restJson1EncryptionConfig(data.EncryptionConfig, context);
1582
1582
  }
@@ -1605,7 +1605,7 @@ const deserializeAws_restJson1PutEncryptionConfigCommandError = async (output, c
1605
1605
  $fault: "client",
1606
1606
  $metadata: deserializeMetadata(output),
1607
1607
  });
1608
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1608
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1609
1609
  }
1610
1610
  };
1611
1611
  const deserializeAws_restJson1PutTelemetryRecordsCommand = async (output, context) => {
@@ -1641,7 +1641,7 @@ const deserializeAws_restJson1PutTelemetryRecordsCommandError = async (output, c
1641
1641
  $fault: "client",
1642
1642
  $metadata: deserializeMetadata(output),
1643
1643
  });
1644
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1644
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1645
1645
  }
1646
1646
  };
1647
1647
  const deserializeAws_restJson1PutTraceSegmentsCommand = async (output, context) => {
@@ -1652,7 +1652,7 @@ const deserializeAws_restJson1PutTraceSegmentsCommand = async (output, context)
1652
1652
  $metadata: deserializeMetadata(output),
1653
1653
  UnprocessedTraceSegments: undefined,
1654
1654
  };
1655
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1655
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1656
1656
  if (data.UnprocessedTraceSegments !== undefined && data.UnprocessedTraceSegments !== null) {
1657
1657
  contents.UnprocessedTraceSegments = deserializeAws_restJson1UnprocessedTraceSegmentList(data.UnprocessedTraceSegments, context);
1658
1658
  }
@@ -1681,7 +1681,7 @@ const deserializeAws_restJson1PutTraceSegmentsCommandError = async (output, cont
1681
1681
  $fault: "client",
1682
1682
  $metadata: deserializeMetadata(output),
1683
1683
  });
1684
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1684
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1685
1685
  }
1686
1686
  };
1687
1687
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -1723,7 +1723,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1723
1723
  $fault: "client",
1724
1724
  $metadata: deserializeMetadata(output),
1725
1725
  });
1726
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1726
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1727
1727
  }
1728
1728
  };
1729
1729
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -1762,7 +1762,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1762
1762
  $fault: "client",
1763
1763
  $metadata: deserializeMetadata(output),
1764
1764
  });
1765
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1765
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1766
1766
  }
1767
1767
  };
1768
1768
  const deserializeAws_restJson1UpdateGroupCommand = async (output, context) => {
@@ -1773,7 +1773,7 @@ const deserializeAws_restJson1UpdateGroupCommand = async (output, context) => {
1773
1773
  $metadata: deserializeMetadata(output),
1774
1774
  Group: undefined,
1775
1775
  };
1776
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1776
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1777
1777
  if (data.Group !== undefined && data.Group !== null) {
1778
1778
  contents.Group = deserializeAws_restJson1Group(data.Group, context);
1779
1779
  }
@@ -1802,7 +1802,7 @@ const deserializeAws_restJson1UpdateGroupCommandError = async (output, context)
1802
1802
  $fault: "client",
1803
1803
  $metadata: deserializeMetadata(output),
1804
1804
  });
1805
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1805
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1806
1806
  }
1807
1807
  };
1808
1808
  const deserializeAws_restJson1UpdateSamplingRuleCommand = async (output, context) => {
@@ -1813,7 +1813,7 @@ const deserializeAws_restJson1UpdateSamplingRuleCommand = async (output, context
1813
1813
  $metadata: deserializeMetadata(output),
1814
1814
  SamplingRuleRecord: undefined,
1815
1815
  };
1816
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1816
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1817
1817
  if (data.SamplingRuleRecord !== undefined && data.SamplingRuleRecord !== null) {
1818
1818
  contents.SamplingRuleRecord = deserializeAws_restJson1SamplingRuleRecord(data.SamplingRuleRecord, context);
1819
1819
  }
@@ -1842,74 +1842,74 @@ const deserializeAws_restJson1UpdateSamplingRuleCommandError = async (output, co
1842
1842
  $fault: "client",
1843
1843
  $metadata: deserializeMetadata(output),
1844
1844
  });
1845
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1845
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1846
1846
  }
1847
1847
  };
1848
1848
  const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
1849
1849
  const contents = {};
1850
1850
  const data = parsedOutput.body;
1851
1851
  if (data.Message !== undefined && data.Message !== null) {
1852
- contents.Message = smithy_client_1.expectString(data.Message);
1852
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1853
1853
  }
1854
1854
  const exception = new models_0_1.InvalidRequestException({
1855
1855
  $metadata: deserializeMetadata(parsedOutput),
1856
1856
  ...contents,
1857
1857
  });
1858
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1858
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1859
1859
  };
1860
1860
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1861
1861
  const contents = {};
1862
1862
  const data = parsedOutput.body;
1863
1863
  if (data.Message !== undefined && data.Message !== null) {
1864
- contents.Message = smithy_client_1.expectString(data.Message);
1864
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1865
1865
  }
1866
1866
  if (data.ResourceName !== undefined && data.ResourceName !== null) {
1867
- contents.ResourceName = smithy_client_1.expectString(data.ResourceName);
1867
+ contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
1868
1868
  }
1869
1869
  const exception = new models_0_1.ResourceNotFoundException({
1870
1870
  $metadata: deserializeMetadata(parsedOutput),
1871
1871
  ...contents,
1872
1872
  });
1873
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1873
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1874
1874
  };
1875
1875
  const deserializeAws_restJson1RuleLimitExceededExceptionResponse = async (parsedOutput, context) => {
1876
1876
  const contents = {};
1877
1877
  const data = parsedOutput.body;
1878
1878
  if (data.Message !== undefined && data.Message !== null) {
1879
- contents.Message = smithy_client_1.expectString(data.Message);
1879
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1880
1880
  }
1881
1881
  const exception = new models_0_1.RuleLimitExceededException({
1882
1882
  $metadata: deserializeMetadata(parsedOutput),
1883
1883
  ...contents,
1884
1884
  });
1885
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1885
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1886
1886
  };
1887
1887
  const deserializeAws_restJson1ThrottledExceptionResponse = async (parsedOutput, context) => {
1888
1888
  const contents = {};
1889
1889
  const data = parsedOutput.body;
1890
1890
  if (data.Message !== undefined && data.Message !== null) {
1891
- contents.Message = smithy_client_1.expectString(data.Message);
1891
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1892
1892
  }
1893
1893
  const exception = new models_0_1.ThrottledException({
1894
1894
  $metadata: deserializeMetadata(parsedOutput),
1895
1895
  ...contents,
1896
1896
  });
1897
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1897
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1898
1898
  };
1899
1899
  const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
1900
1900
  const contents = {};
1901
1901
  const data = parsedOutput.body;
1902
1902
  if (data.Message !== undefined && data.Message !== null) {
1903
- contents.Message = smithy_client_1.expectString(data.Message);
1903
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
1904
1904
  }
1905
1905
  if (data.ResourceName !== undefined && data.ResourceName !== null) {
1906
- contents.ResourceName = smithy_client_1.expectString(data.ResourceName);
1906
+ contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
1907
1907
  }
1908
1908
  const exception = new models_0_1.TooManyTagsException({
1909
1909
  $metadata: deserializeMetadata(parsedOutput),
1910
1910
  ...contents,
1911
1911
  });
1912
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1912
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1913
1913
  };
1914
1914
  const serializeAws_restJson1AttributeMap = (input, context) => {
1915
1915
  return Object.entries(input).reduce((acc, [key, value]) => {
@@ -1958,7 +1958,7 @@ const serializeAws_restJson1SamplingRule = (input, context) => {
1958
1958
  return {
1959
1959
  ...(input.Attributes !== undefined &&
1960
1960
  input.Attributes !== null && { Attributes: serializeAws_restJson1AttributeMap(input.Attributes, context) }),
1961
- ...(input.FixedRate !== undefined && input.FixedRate !== null && { FixedRate: smithy_client_1.serializeFloat(input.FixedRate) }),
1961
+ ...(input.FixedRate !== undefined && input.FixedRate !== null && { FixedRate: (0, smithy_client_1.serializeFloat)(input.FixedRate) }),
1962
1962
  ...(input.HTTPMethod !== undefined && input.HTTPMethod !== null && { HTTPMethod: input.HTTPMethod }),
1963
1963
  ...(input.Host !== undefined && input.Host !== null && { Host: input.Host }),
1964
1964
  ...(input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }),
@@ -1976,7 +1976,7 @@ const serializeAws_restJson1SamplingRuleUpdate = (input, context) => {
1976
1976
  return {
1977
1977
  ...(input.Attributes !== undefined &&
1978
1978
  input.Attributes !== null && { Attributes: serializeAws_restJson1AttributeMap(input.Attributes, context) }),
1979
- ...(input.FixedRate !== undefined && input.FixedRate !== null && { FixedRate: smithy_client_1.serializeFloat(input.FixedRate) }),
1979
+ ...(input.FixedRate !== undefined && input.FixedRate !== null && { FixedRate: (0, smithy_client_1.serializeFloat)(input.FixedRate) }),
1980
1980
  ...(input.HTTPMethod !== undefined && input.HTTPMethod !== null && { HTTPMethod: input.HTTPMethod }),
1981
1981
  ...(input.Host !== undefined && input.Host !== null && { Host: input.Host }),
1982
1982
  ...(input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }),
@@ -2013,7 +2013,7 @@ const serializeAws_restJson1SamplingStatisticsDocumentList = (input, context) =>
2013
2013
  const serializeAws_restJson1SamplingStrategy = (input, context) => {
2014
2014
  return {
2015
2015
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
2016
- ...(input.Value !== undefined && input.Value !== null && { Value: smithy_client_1.serializeFloat(input.Value) }),
2016
+ ...(input.Value !== undefined && input.Value !== null && { Value: (0, smithy_client_1.serializeFloat)(input.Value) }),
2017
2017
  };
2018
2018
  };
2019
2019
  const serializeAws_restJson1Tag = (input, context) => {
@@ -2092,11 +2092,11 @@ const serializeAws_restJson1TraceSegmentDocumentList = (input, context) => {
2092
2092
  };
2093
2093
  const deserializeAws_restJson1Alias = (output, context) => {
2094
2094
  return {
2095
- Name: smithy_client_1.expectString(output.Name),
2095
+ Name: (0, smithy_client_1.expectString)(output.Name),
2096
2096
  Names: output.Names !== undefined && output.Names !== null
2097
2097
  ? deserializeAws_restJson1AliasNames(output.Names, context)
2098
2098
  : undefined,
2099
- Type: smithy_client_1.expectString(output.Type),
2099
+ Type: (0, smithy_client_1.expectString)(output.Type),
2100
2100
  };
2101
2101
  };
2102
2102
  const deserializeAws_restJson1AliasList = (output, context) => {
@@ -2117,7 +2117,7 @@ const deserializeAws_restJson1AliasNames = (output, context) => {
2117
2117
  if (entry === null) {
2118
2118
  return null;
2119
2119
  }
2120
- return smithy_client_1.expectString(entry);
2120
+ return (0, smithy_client_1.expectString)(entry);
2121
2121
  });
2122
2122
  return retVal;
2123
2123
  };
@@ -2133,14 +2133,14 @@ const deserializeAws_restJson1Annotations = (output, context) => {
2133
2133
  }, {});
2134
2134
  };
2135
2135
  const deserializeAws_restJson1AnnotationValue = (output, context) => {
2136
- if (smithy_client_1.expectBoolean(output.BooleanValue) !== undefined) {
2137
- return { BooleanValue: smithy_client_1.expectBoolean(output.BooleanValue) };
2136
+ if ((0, smithy_client_1.expectBoolean)(output.BooleanValue) !== undefined) {
2137
+ return { BooleanValue: (0, smithy_client_1.expectBoolean)(output.BooleanValue) };
2138
2138
  }
2139
- if (smithy_client_1.limitedParseDouble(output.NumberValue) !== undefined) {
2140
- return { NumberValue: smithy_client_1.limitedParseDouble(output.NumberValue) };
2139
+ if ((0, smithy_client_1.limitedParseDouble)(output.NumberValue) !== undefined) {
2140
+ return { NumberValue: (0, smithy_client_1.limitedParseDouble)(output.NumberValue) };
2141
2141
  }
2142
- if (smithy_client_1.expectString(output.StringValue) !== undefined) {
2143
- return { StringValue: smithy_client_1.expectString(output.StringValue) };
2142
+ if ((0, smithy_client_1.expectString)(output.StringValue) !== undefined) {
2143
+ return { StringValue: (0, smithy_client_1.expectString)(output.StringValue) };
2144
2144
  }
2145
2145
  return { $unknown: Object.entries(output)[0] };
2146
2146
  };
@@ -2169,13 +2169,13 @@ const deserializeAws_restJson1AttributeMap = (output, context) => {
2169
2169
  }
2170
2170
  return {
2171
2171
  ...acc,
2172
- [key]: smithy_client_1.expectString(value),
2172
+ [key]: (0, smithy_client_1.expectString)(value),
2173
2173
  };
2174
2174
  }, {});
2175
2175
  };
2176
2176
  const deserializeAws_restJson1AvailabilityZoneDetail = (output, context) => {
2177
2177
  return {
2178
- Name: smithy_client_1.expectString(output.Name),
2178
+ Name: (0, smithy_client_1.expectString)(output.Name),
2179
2179
  };
2180
2180
  };
2181
2181
  const deserializeAws_restJson1Edge = (output, context) => {
@@ -2184,14 +2184,14 @@ const deserializeAws_restJson1Edge = (output, context) => {
2184
2184
  ? deserializeAws_restJson1AliasList(output.Aliases, context)
2185
2185
  : undefined,
2186
2186
  EndTime: output.EndTime !== undefined && output.EndTime !== null
2187
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2187
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
2188
2188
  : undefined,
2189
- ReferenceId: smithy_client_1.expectInt32(output.ReferenceId),
2189
+ ReferenceId: (0, smithy_client_1.expectInt32)(output.ReferenceId),
2190
2190
  ResponseTimeHistogram: output.ResponseTimeHistogram !== undefined && output.ResponseTimeHistogram !== null
2191
2191
  ? deserializeAws_restJson1Histogram(output.ResponseTimeHistogram, context)
2192
2192
  : undefined,
2193
2193
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2194
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2194
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
2195
2195
  : undefined,
2196
2196
  SummaryStatistics: output.SummaryStatistics !== undefined && output.SummaryStatistics !== null
2197
2197
  ? deserializeAws_restJson1EdgeStatistics(output.SummaryStatistics, context)
@@ -2217,21 +2217,21 @@ const deserializeAws_restJson1EdgeStatistics = (output, context) => {
2217
2217
  FaultStatistics: output.FaultStatistics !== undefined && output.FaultStatistics !== null
2218
2218
  ? deserializeAws_restJson1FaultStatistics(output.FaultStatistics, context)
2219
2219
  : undefined,
2220
- OkCount: smithy_client_1.expectLong(output.OkCount),
2221
- TotalCount: smithy_client_1.expectLong(output.TotalCount),
2222
- TotalResponseTime: smithy_client_1.limitedParseDouble(output.TotalResponseTime),
2220
+ OkCount: (0, smithy_client_1.expectLong)(output.OkCount),
2221
+ TotalCount: (0, smithy_client_1.expectLong)(output.TotalCount),
2222
+ TotalResponseTime: (0, smithy_client_1.limitedParseDouble)(output.TotalResponseTime),
2223
2223
  };
2224
2224
  };
2225
2225
  const deserializeAws_restJson1EncryptionConfig = (output, context) => {
2226
2226
  return {
2227
- KeyId: smithy_client_1.expectString(output.KeyId),
2228
- Status: smithy_client_1.expectString(output.Status),
2229
- Type: smithy_client_1.expectString(output.Type),
2227
+ KeyId: (0, smithy_client_1.expectString)(output.KeyId),
2228
+ Status: (0, smithy_client_1.expectString)(output.Status),
2229
+ Type: (0, smithy_client_1.expectString)(output.Type),
2230
2230
  };
2231
2231
  };
2232
2232
  const deserializeAws_restJson1ErrorRootCause = (output, context) => {
2233
2233
  return {
2234
- ClientImpacting: smithy_client_1.expectBoolean(output.ClientImpacting),
2234
+ ClientImpacting: (0, smithy_client_1.expectBoolean)(output.ClientImpacting),
2235
2235
  Services: output.Services !== undefined && output.Services !== null
2236
2236
  ? deserializeAws_restJson1ErrorRootCauseServices(output.Services, context)
2237
2237
  : undefined,
@@ -2242,8 +2242,8 @@ const deserializeAws_restJson1ErrorRootCauseEntity = (output, context) => {
2242
2242
  Exceptions: output.Exceptions !== undefined && output.Exceptions !== null
2243
2243
  ? deserializeAws_restJson1RootCauseExceptions(output.Exceptions, context)
2244
2244
  : undefined,
2245
- Name: smithy_client_1.expectString(output.Name),
2246
- Remote: smithy_client_1.expectBoolean(output.Remote),
2245
+ Name: (0, smithy_client_1.expectString)(output.Name),
2246
+ Remote: (0, smithy_client_1.expectBoolean)(output.Remote),
2247
2247
  };
2248
2248
  };
2249
2249
  const deserializeAws_restJson1ErrorRootCauseEntityPath = (output, context) => {
@@ -2270,16 +2270,16 @@ const deserializeAws_restJson1ErrorRootCauses = (output, context) => {
2270
2270
  };
2271
2271
  const deserializeAws_restJson1ErrorRootCauseService = (output, context) => {
2272
2272
  return {
2273
- AccountId: smithy_client_1.expectString(output.AccountId),
2273
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2274
2274
  EntityPath: output.EntityPath !== undefined && output.EntityPath !== null
2275
2275
  ? deserializeAws_restJson1ErrorRootCauseEntityPath(output.EntityPath, context)
2276
2276
  : undefined,
2277
- Inferred: smithy_client_1.expectBoolean(output.Inferred),
2278
- Name: smithy_client_1.expectString(output.Name),
2277
+ Inferred: (0, smithy_client_1.expectBoolean)(output.Inferred),
2278
+ Name: (0, smithy_client_1.expectString)(output.Name),
2279
2279
  Names: output.Names !== undefined && output.Names !== null
2280
2280
  ? deserializeAws_restJson1ServiceNames(output.Names, context)
2281
2281
  : undefined,
2282
- Type: smithy_client_1.expectString(output.Type),
2282
+ Type: (0, smithy_client_1.expectString)(output.Type),
2283
2283
  };
2284
2284
  };
2285
2285
  const deserializeAws_restJson1ErrorRootCauseServices = (output, context) => {
@@ -2295,14 +2295,14 @@ const deserializeAws_restJson1ErrorRootCauseServices = (output, context) => {
2295
2295
  };
2296
2296
  const deserializeAws_restJson1ErrorStatistics = (output, context) => {
2297
2297
  return {
2298
- OtherCount: smithy_client_1.expectLong(output.OtherCount),
2299
- ThrottleCount: smithy_client_1.expectLong(output.ThrottleCount),
2300
- TotalCount: smithy_client_1.expectLong(output.TotalCount),
2298
+ OtherCount: (0, smithy_client_1.expectLong)(output.OtherCount),
2299
+ ThrottleCount: (0, smithy_client_1.expectLong)(output.ThrottleCount),
2300
+ TotalCount: (0, smithy_client_1.expectLong)(output.TotalCount),
2301
2301
  };
2302
2302
  };
2303
2303
  const deserializeAws_restJson1FaultRootCause = (output, context) => {
2304
2304
  return {
2305
- ClientImpacting: smithy_client_1.expectBoolean(output.ClientImpacting),
2305
+ ClientImpacting: (0, smithy_client_1.expectBoolean)(output.ClientImpacting),
2306
2306
  Services: output.Services !== undefined && output.Services !== null
2307
2307
  ? deserializeAws_restJson1FaultRootCauseServices(output.Services, context)
2308
2308
  : undefined,
@@ -2313,8 +2313,8 @@ const deserializeAws_restJson1FaultRootCauseEntity = (output, context) => {
2313
2313
  Exceptions: output.Exceptions !== undefined && output.Exceptions !== null
2314
2314
  ? deserializeAws_restJson1RootCauseExceptions(output.Exceptions, context)
2315
2315
  : undefined,
2316
- Name: smithy_client_1.expectString(output.Name),
2317
- Remote: smithy_client_1.expectBoolean(output.Remote),
2316
+ Name: (0, smithy_client_1.expectString)(output.Name),
2317
+ Remote: (0, smithy_client_1.expectBoolean)(output.Remote),
2318
2318
  };
2319
2319
  };
2320
2320
  const deserializeAws_restJson1FaultRootCauseEntityPath = (output, context) => {
@@ -2341,16 +2341,16 @@ const deserializeAws_restJson1FaultRootCauses = (output, context) => {
2341
2341
  };
2342
2342
  const deserializeAws_restJson1FaultRootCauseService = (output, context) => {
2343
2343
  return {
2344
- AccountId: smithy_client_1.expectString(output.AccountId),
2344
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2345
2345
  EntityPath: output.EntityPath !== undefined && output.EntityPath !== null
2346
2346
  ? deserializeAws_restJson1FaultRootCauseEntityPath(output.EntityPath, context)
2347
2347
  : undefined,
2348
- Inferred: smithy_client_1.expectBoolean(output.Inferred),
2349
- Name: smithy_client_1.expectString(output.Name),
2348
+ Inferred: (0, smithy_client_1.expectBoolean)(output.Inferred),
2349
+ Name: (0, smithy_client_1.expectString)(output.Name),
2350
2350
  Names: output.Names !== undefined && output.Names !== null
2351
2351
  ? deserializeAws_restJson1ServiceNames(output.Names, context)
2352
2352
  : undefined,
2353
- Type: smithy_client_1.expectString(output.Type),
2353
+ Type: (0, smithy_client_1.expectString)(output.Type),
2354
2354
  };
2355
2355
  };
2356
2356
  const deserializeAws_restJson1FaultRootCauseServices = (output, context) => {
@@ -2366,21 +2366,21 @@ const deserializeAws_restJson1FaultRootCauseServices = (output, context) => {
2366
2366
  };
2367
2367
  const deserializeAws_restJson1FaultStatistics = (output, context) => {
2368
2368
  return {
2369
- OtherCount: smithy_client_1.expectLong(output.OtherCount),
2370
- TotalCount: smithy_client_1.expectLong(output.TotalCount),
2369
+ OtherCount: (0, smithy_client_1.expectLong)(output.OtherCount),
2370
+ TotalCount: (0, smithy_client_1.expectLong)(output.TotalCount),
2371
2371
  };
2372
2372
  };
2373
2373
  const deserializeAws_restJson1ForecastStatistics = (output, context) => {
2374
2374
  return {
2375
- FaultCountHigh: smithy_client_1.expectLong(output.FaultCountHigh),
2376
- FaultCountLow: smithy_client_1.expectLong(output.FaultCountLow),
2375
+ FaultCountHigh: (0, smithy_client_1.expectLong)(output.FaultCountHigh),
2376
+ FaultCountLow: (0, smithy_client_1.expectLong)(output.FaultCountLow),
2377
2377
  };
2378
2378
  };
2379
2379
  const deserializeAws_restJson1Group = (output, context) => {
2380
2380
  return {
2381
- FilterExpression: smithy_client_1.expectString(output.FilterExpression),
2382
- GroupARN: smithy_client_1.expectString(output.GroupARN),
2383
- GroupName: smithy_client_1.expectString(output.GroupName),
2381
+ FilterExpression: (0, smithy_client_1.expectString)(output.FilterExpression),
2382
+ GroupARN: (0, smithy_client_1.expectString)(output.GroupARN),
2383
+ GroupName: (0, smithy_client_1.expectString)(output.GroupName),
2384
2384
  InsightsConfiguration: output.InsightsConfiguration !== undefined && output.InsightsConfiguration !== null
2385
2385
  ? deserializeAws_restJson1InsightsConfiguration(output.InsightsConfiguration, context)
2386
2386
  : undefined,
@@ -2388,9 +2388,9 @@ const deserializeAws_restJson1Group = (output, context) => {
2388
2388
  };
2389
2389
  const deserializeAws_restJson1GroupSummary = (output, context) => {
2390
2390
  return {
2391
- FilterExpression: smithy_client_1.expectString(output.FilterExpression),
2392
- GroupARN: smithy_client_1.expectString(output.GroupARN),
2393
- GroupName: smithy_client_1.expectString(output.GroupName),
2391
+ FilterExpression: (0, smithy_client_1.expectString)(output.FilterExpression),
2392
+ GroupARN: (0, smithy_client_1.expectString)(output.GroupARN),
2393
+ GroupName: (0, smithy_client_1.expectString)(output.GroupName),
2394
2394
  InsightsConfiguration: output.InsightsConfiguration !== undefined && output.InsightsConfiguration !== null
2395
2395
  ? deserializeAws_restJson1InsightsConfiguration(output.InsightsConfiguration, context)
2396
2396
  : undefined,
@@ -2420,17 +2420,17 @@ const deserializeAws_restJson1Histogram = (output, context) => {
2420
2420
  };
2421
2421
  const deserializeAws_restJson1HistogramEntry = (output, context) => {
2422
2422
  return {
2423
- Count: smithy_client_1.expectInt32(output.Count),
2424
- Value: smithy_client_1.limitedParseDouble(output.Value),
2423
+ Count: (0, smithy_client_1.expectInt32)(output.Count),
2424
+ Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
2425
2425
  };
2426
2426
  };
2427
2427
  const deserializeAws_restJson1Http = (output, context) => {
2428
2428
  return {
2429
- ClientIp: smithy_client_1.expectString(output.ClientIp),
2430
- HttpMethod: smithy_client_1.expectString(output.HttpMethod),
2431
- HttpStatus: smithy_client_1.expectInt32(output.HttpStatus),
2432
- HttpURL: smithy_client_1.expectString(output.HttpURL),
2433
- UserAgent: smithy_client_1.expectString(output.UserAgent),
2429
+ ClientIp: (0, smithy_client_1.expectString)(output.ClientIp),
2430
+ HttpMethod: (0, smithy_client_1.expectString)(output.HttpMethod),
2431
+ HttpStatus: (0, smithy_client_1.expectInt32)(output.HttpStatus),
2432
+ HttpURL: (0, smithy_client_1.expectString)(output.HttpURL),
2433
+ UserAgent: (0, smithy_client_1.expectString)(output.UserAgent),
2434
2434
  };
2435
2435
  };
2436
2436
  const deserializeAws_restJson1Insight = (output, context) => {
@@ -2442,11 +2442,11 @@ const deserializeAws_restJson1Insight = (output, context) => {
2442
2442
  ? deserializeAws_restJson1RequestImpactStatistics(output.ClientRequestImpactStatistics, context)
2443
2443
  : undefined,
2444
2444
  EndTime: output.EndTime !== undefined && output.EndTime !== null
2445
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2445
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
2446
2446
  : undefined,
2447
- GroupARN: smithy_client_1.expectString(output.GroupARN),
2448
- GroupName: smithy_client_1.expectString(output.GroupName),
2449
- InsightId: smithy_client_1.expectString(output.InsightId),
2447
+ GroupARN: (0, smithy_client_1.expectString)(output.GroupARN),
2448
+ GroupName: (0, smithy_client_1.expectString)(output.GroupName),
2449
+ InsightId: (0, smithy_client_1.expectString)(output.InsightId),
2450
2450
  RootCauseServiceId: output.RootCauseServiceId !== undefined && output.RootCauseServiceId !== null
2451
2451
  ? deserializeAws_restJson1ServiceId(output.RootCauseServiceId, context)
2452
2452
  : undefined,
@@ -2455,10 +2455,10 @@ const deserializeAws_restJson1Insight = (output, context) => {
2455
2455
  ? deserializeAws_restJson1RequestImpactStatistics(output.RootCauseServiceRequestImpactStatistics, context)
2456
2456
  : undefined,
2457
2457
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2458
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2458
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
2459
2459
  : undefined,
2460
- State: smithy_client_1.expectString(output.State),
2461
- Summary: smithy_client_1.expectString(output.Summary),
2460
+ State: (0, smithy_client_1.expectString)(output.State),
2461
+ Summary: (0, smithy_client_1.expectString)(output.Summary),
2462
2462
  TopAnomalousServices: output.TopAnomalousServices !== undefined && output.TopAnomalousServices !== null
2463
2463
  ? deserializeAws_restJson1AnomalousServiceList(output.TopAnomalousServices, context)
2464
2464
  : undefined,
@@ -2471,7 +2471,7 @@ const deserializeAws_restJson1InsightCategoryList = (output, context) => {
2471
2471
  if (entry === null) {
2472
2472
  return null;
2473
2473
  }
2474
- return smithy_client_1.expectString(entry);
2474
+ return (0, smithy_client_1.expectString)(entry);
2475
2475
  });
2476
2476
  return retVal;
2477
2477
  };
@@ -2481,13 +2481,13 @@ const deserializeAws_restJson1InsightEvent = (output, context) => {
2481
2481
  ? deserializeAws_restJson1RequestImpactStatistics(output.ClientRequestImpactStatistics, context)
2482
2482
  : undefined,
2483
2483
  EventTime: output.EventTime !== undefined && output.EventTime !== null
2484
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventTime)))
2484
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EventTime)))
2485
2485
  : undefined,
2486
2486
  RootCauseServiceRequestImpactStatistics: output.RootCauseServiceRequestImpactStatistics !== undefined &&
2487
2487
  output.RootCauseServiceRequestImpactStatistics !== null
2488
2488
  ? deserializeAws_restJson1RequestImpactStatistics(output.RootCauseServiceRequestImpactStatistics, context)
2489
2489
  : undefined,
2490
- Summary: smithy_client_1.expectString(output.Summary),
2490
+ Summary: (0, smithy_client_1.expectString)(output.Summary),
2491
2491
  TopAnomalousServices: output.TopAnomalousServices !== undefined && output.TopAnomalousServices !== null
2492
2492
  ? deserializeAws_restJson1AnomalousServiceList(output.TopAnomalousServices, context)
2493
2493
  : undefined,
@@ -2506,7 +2506,7 @@ const deserializeAws_restJson1InsightEventList = (output, context) => {
2506
2506
  };
2507
2507
  const deserializeAws_restJson1InsightImpactGraphEdge = (output, context) => {
2508
2508
  return {
2509
- ReferenceId: smithy_client_1.expectInt32(output.ReferenceId),
2509
+ ReferenceId: (0, smithy_client_1.expectInt32)(output.ReferenceId),
2510
2510
  };
2511
2511
  };
2512
2512
  const deserializeAws_restJson1InsightImpactGraphEdgeList = (output, context) => {
@@ -2522,16 +2522,16 @@ const deserializeAws_restJson1InsightImpactGraphEdgeList = (output, context) =>
2522
2522
  };
2523
2523
  const deserializeAws_restJson1InsightImpactGraphService = (output, context) => {
2524
2524
  return {
2525
- AccountId: smithy_client_1.expectString(output.AccountId),
2525
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2526
2526
  Edges: output.Edges !== undefined && output.Edges !== null
2527
2527
  ? deserializeAws_restJson1InsightImpactGraphEdgeList(output.Edges, context)
2528
2528
  : undefined,
2529
- Name: smithy_client_1.expectString(output.Name),
2529
+ Name: (0, smithy_client_1.expectString)(output.Name),
2530
2530
  Names: output.Names !== undefined && output.Names !== null
2531
2531
  ? deserializeAws_restJson1ServiceNames(output.Names, context)
2532
2532
  : undefined,
2533
- ReferenceId: smithy_client_1.expectInt32(output.ReferenceId),
2534
- Type: smithy_client_1.expectString(output.Type),
2533
+ ReferenceId: (0, smithy_client_1.expectInt32)(output.ReferenceId),
2534
+ Type: (0, smithy_client_1.expectString)(output.Type),
2535
2535
  };
2536
2536
  };
2537
2537
  const deserializeAws_restJson1InsightImpactGraphServiceList = (output, context) => {
@@ -2547,8 +2547,8 @@ const deserializeAws_restJson1InsightImpactGraphServiceList = (output, context)
2547
2547
  };
2548
2548
  const deserializeAws_restJson1InsightsConfiguration = (output, context) => {
2549
2549
  return {
2550
- InsightsEnabled: smithy_client_1.expectBoolean(output.InsightsEnabled),
2551
- NotificationsEnabled: smithy_client_1.expectBoolean(output.NotificationsEnabled),
2550
+ InsightsEnabled: (0, smithy_client_1.expectBoolean)(output.InsightsEnabled),
2551
+ NotificationsEnabled: (0, smithy_client_1.expectBoolean)(output.NotificationsEnabled),
2552
2552
  };
2553
2553
  };
2554
2554
  const deserializeAws_restJson1InsightSummary = (output, context) => {
@@ -2560,13 +2560,13 @@ const deserializeAws_restJson1InsightSummary = (output, context) => {
2560
2560
  ? deserializeAws_restJson1RequestImpactStatistics(output.ClientRequestImpactStatistics, context)
2561
2561
  : undefined,
2562
2562
  EndTime: output.EndTime !== undefined && output.EndTime !== null
2563
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2563
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
2564
2564
  : undefined,
2565
- GroupARN: smithy_client_1.expectString(output.GroupARN),
2566
- GroupName: smithy_client_1.expectString(output.GroupName),
2567
- InsightId: smithy_client_1.expectString(output.InsightId),
2565
+ GroupARN: (0, smithy_client_1.expectString)(output.GroupARN),
2566
+ GroupName: (0, smithy_client_1.expectString)(output.GroupName),
2567
+ InsightId: (0, smithy_client_1.expectString)(output.InsightId),
2568
2568
  LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
2569
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
2569
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
2570
2570
  : undefined,
2571
2571
  RootCauseServiceId: output.RootCauseServiceId !== undefined && output.RootCauseServiceId !== null
2572
2572
  ? deserializeAws_restJson1ServiceId(output.RootCauseServiceId, context)
@@ -2576,10 +2576,10 @@ const deserializeAws_restJson1InsightSummary = (output, context) => {
2576
2576
  ? deserializeAws_restJson1RequestImpactStatistics(output.RootCauseServiceRequestImpactStatistics, context)
2577
2577
  : undefined,
2578
2578
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2579
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2579
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
2580
2580
  : undefined,
2581
- State: smithy_client_1.expectString(output.State),
2582
- Summary: smithy_client_1.expectString(output.Summary),
2581
+ State: (0, smithy_client_1.expectString)(output.State),
2582
+ Summary: (0, smithy_client_1.expectString)(output.Summary),
2583
2583
  TopAnomalousServices: output.TopAnomalousServices !== undefined && output.TopAnomalousServices !== null
2584
2584
  ? deserializeAws_restJson1AnomalousServiceList(output.TopAnomalousServices, context)
2585
2585
  : undefined,
@@ -2598,24 +2598,24 @@ const deserializeAws_restJson1InsightSummaryList = (output, context) => {
2598
2598
  };
2599
2599
  const deserializeAws_restJson1InstanceIdDetail = (output, context) => {
2600
2600
  return {
2601
- Id: smithy_client_1.expectString(output.Id),
2601
+ Id: (0, smithy_client_1.expectString)(output.Id),
2602
2602
  };
2603
2603
  };
2604
2604
  const deserializeAws_restJson1RequestImpactStatistics = (output, context) => {
2605
2605
  return {
2606
- FaultCount: smithy_client_1.expectLong(output.FaultCount),
2607
- OkCount: smithy_client_1.expectLong(output.OkCount),
2608
- TotalCount: smithy_client_1.expectLong(output.TotalCount),
2606
+ FaultCount: (0, smithy_client_1.expectLong)(output.FaultCount),
2607
+ OkCount: (0, smithy_client_1.expectLong)(output.OkCount),
2608
+ TotalCount: (0, smithy_client_1.expectLong)(output.TotalCount),
2609
2609
  };
2610
2610
  };
2611
2611
  const deserializeAws_restJson1ResourceARNDetail = (output, context) => {
2612
2612
  return {
2613
- ARN: smithy_client_1.expectString(output.ARN),
2613
+ ARN: (0, smithy_client_1.expectString)(output.ARN),
2614
2614
  };
2615
2615
  };
2616
2616
  const deserializeAws_restJson1ResponseTimeRootCause = (output, context) => {
2617
2617
  return {
2618
- ClientImpacting: smithy_client_1.expectBoolean(output.ClientImpacting),
2618
+ ClientImpacting: (0, smithy_client_1.expectBoolean)(output.ClientImpacting),
2619
2619
  Services: output.Services !== undefined && output.Services !== null
2620
2620
  ? deserializeAws_restJson1ResponseTimeRootCauseServices(output.Services, context)
2621
2621
  : undefined,
@@ -2623,9 +2623,9 @@ const deserializeAws_restJson1ResponseTimeRootCause = (output, context) => {
2623
2623
  };
2624
2624
  const deserializeAws_restJson1ResponseTimeRootCauseEntity = (output, context) => {
2625
2625
  return {
2626
- Coverage: smithy_client_1.limitedParseDouble(output.Coverage),
2627
- Name: smithy_client_1.expectString(output.Name),
2628
- Remote: smithy_client_1.expectBoolean(output.Remote),
2626
+ Coverage: (0, smithy_client_1.limitedParseDouble)(output.Coverage),
2627
+ Name: (0, smithy_client_1.expectString)(output.Name),
2628
+ Remote: (0, smithy_client_1.expectBoolean)(output.Remote),
2629
2629
  };
2630
2630
  };
2631
2631
  const deserializeAws_restJson1ResponseTimeRootCauseEntityPath = (output, context) => {
@@ -2652,16 +2652,16 @@ const deserializeAws_restJson1ResponseTimeRootCauses = (output, context) => {
2652
2652
  };
2653
2653
  const deserializeAws_restJson1ResponseTimeRootCauseService = (output, context) => {
2654
2654
  return {
2655
- AccountId: smithy_client_1.expectString(output.AccountId),
2655
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2656
2656
  EntityPath: output.EntityPath !== undefined && output.EntityPath !== null
2657
2657
  ? deserializeAws_restJson1ResponseTimeRootCauseEntityPath(output.EntityPath, context)
2658
2658
  : undefined,
2659
- Inferred: smithy_client_1.expectBoolean(output.Inferred),
2660
- Name: smithy_client_1.expectString(output.Name),
2659
+ Inferred: (0, smithy_client_1.expectBoolean)(output.Inferred),
2660
+ Name: (0, smithy_client_1.expectString)(output.Name),
2661
2661
  Names: output.Names !== undefined && output.Names !== null
2662
2662
  ? deserializeAws_restJson1ServiceNames(output.Names, context)
2663
2663
  : undefined,
2664
- Type: smithy_client_1.expectString(output.Type),
2664
+ Type: (0, smithy_client_1.expectString)(output.Type),
2665
2665
  };
2666
2666
  };
2667
2667
  const deserializeAws_restJson1ResponseTimeRootCauseServices = (output, context) => {
@@ -2677,8 +2677,8 @@ const deserializeAws_restJson1ResponseTimeRootCauseServices = (output, context)
2677
2677
  };
2678
2678
  const deserializeAws_restJson1RootCauseException = (output, context) => {
2679
2679
  return {
2680
- Message: smithy_client_1.expectString(output.Message),
2681
- Name: smithy_client_1.expectString(output.Name),
2680
+ Message: (0, smithy_client_1.expectString)(output.Message),
2681
+ Name: (0, smithy_client_1.expectString)(output.Name),
2682
2682
  };
2683
2683
  };
2684
2684
  const deserializeAws_restJson1RootCauseExceptions = (output, context) => {
@@ -2697,27 +2697,27 @@ const deserializeAws_restJson1SamplingRule = (output, context) => {
2697
2697
  Attributes: output.Attributes !== undefined && output.Attributes !== null
2698
2698
  ? deserializeAws_restJson1AttributeMap(output.Attributes, context)
2699
2699
  : undefined,
2700
- FixedRate: smithy_client_1.limitedParseDouble(output.FixedRate),
2701
- HTTPMethod: smithy_client_1.expectString(output.HTTPMethod),
2702
- Host: smithy_client_1.expectString(output.Host),
2703
- Priority: smithy_client_1.expectInt32(output.Priority),
2704
- ReservoirSize: smithy_client_1.expectInt32(output.ReservoirSize),
2705
- ResourceARN: smithy_client_1.expectString(output.ResourceARN),
2706
- RuleARN: smithy_client_1.expectString(output.RuleARN),
2707
- RuleName: smithy_client_1.expectString(output.RuleName),
2708
- ServiceName: smithy_client_1.expectString(output.ServiceName),
2709
- ServiceType: smithy_client_1.expectString(output.ServiceType),
2710
- URLPath: smithy_client_1.expectString(output.URLPath),
2711
- Version: smithy_client_1.expectInt32(output.Version),
2700
+ FixedRate: (0, smithy_client_1.limitedParseDouble)(output.FixedRate),
2701
+ HTTPMethod: (0, smithy_client_1.expectString)(output.HTTPMethod),
2702
+ Host: (0, smithy_client_1.expectString)(output.Host),
2703
+ Priority: (0, smithy_client_1.expectInt32)(output.Priority),
2704
+ ReservoirSize: (0, smithy_client_1.expectInt32)(output.ReservoirSize),
2705
+ ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
2706
+ RuleARN: (0, smithy_client_1.expectString)(output.RuleARN),
2707
+ RuleName: (0, smithy_client_1.expectString)(output.RuleName),
2708
+ ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
2709
+ ServiceType: (0, smithy_client_1.expectString)(output.ServiceType),
2710
+ URLPath: (0, smithy_client_1.expectString)(output.URLPath),
2711
+ Version: (0, smithy_client_1.expectInt32)(output.Version),
2712
2712
  };
2713
2713
  };
2714
2714
  const deserializeAws_restJson1SamplingRuleRecord = (output, context) => {
2715
2715
  return {
2716
2716
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2717
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2717
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
2718
2718
  : undefined,
2719
2719
  ModifiedAt: output.ModifiedAt !== undefined && output.ModifiedAt !== null
2720
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ModifiedAt)))
2720
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ModifiedAt)))
2721
2721
  : undefined,
2722
2722
  SamplingRule: output.SamplingRule !== undefined && output.SamplingRule !== null
2723
2723
  ? deserializeAws_restJson1SamplingRule(output.SamplingRule, context)
@@ -2737,12 +2737,12 @@ const deserializeAws_restJson1SamplingRuleRecordList = (output, context) => {
2737
2737
  };
2738
2738
  const deserializeAws_restJson1SamplingStatisticSummary = (output, context) => {
2739
2739
  return {
2740
- BorrowCount: smithy_client_1.expectInt32(output.BorrowCount),
2741
- RequestCount: smithy_client_1.expectInt32(output.RequestCount),
2742
- RuleName: smithy_client_1.expectString(output.RuleName),
2743
- SampledCount: smithy_client_1.expectInt32(output.SampledCount),
2740
+ BorrowCount: (0, smithy_client_1.expectInt32)(output.BorrowCount),
2741
+ RequestCount: (0, smithy_client_1.expectInt32)(output.RequestCount),
2742
+ RuleName: (0, smithy_client_1.expectString)(output.RuleName),
2743
+ SampledCount: (0, smithy_client_1.expectInt32)(output.SampledCount),
2744
2744
  Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
2745
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Timestamp)))
2745
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
2746
2746
  : undefined,
2747
2747
  };
2748
2748
  };
@@ -2759,13 +2759,13 @@ const deserializeAws_restJson1SamplingStatisticSummaryList = (output, context) =
2759
2759
  };
2760
2760
  const deserializeAws_restJson1SamplingTargetDocument = (output, context) => {
2761
2761
  return {
2762
- FixedRate: smithy_client_1.limitedParseDouble(output.FixedRate),
2763
- Interval: smithy_client_1.expectInt32(output.Interval),
2764
- ReservoirQuota: smithy_client_1.expectInt32(output.ReservoirQuota),
2762
+ FixedRate: (0, smithy_client_1.limitedParseDouble)(output.FixedRate),
2763
+ Interval: (0, smithy_client_1.expectInt32)(output.Interval),
2764
+ ReservoirQuota: (0, smithy_client_1.expectInt32)(output.ReservoirQuota),
2765
2765
  ReservoirQuotaTTL: output.ReservoirQuotaTTL !== undefined && output.ReservoirQuotaTTL !== null
2766
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReservoirQuotaTTL)))
2766
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReservoirQuotaTTL)))
2767
2767
  : undefined,
2768
- RuleName: smithy_client_1.expectString(output.RuleName),
2768
+ RuleName: (0, smithy_client_1.expectString)(output.RuleName),
2769
2769
  };
2770
2770
  };
2771
2771
  const deserializeAws_restJson1SamplingTargetDocumentList = (output, context) => {
@@ -2781,8 +2781,8 @@ const deserializeAws_restJson1SamplingTargetDocumentList = (output, context) =>
2781
2781
  };
2782
2782
  const deserializeAws_restJson1Segment = (output, context) => {
2783
2783
  return {
2784
- Document: smithy_client_1.expectString(output.Document),
2785
- Id: smithy_client_1.expectString(output.Id),
2784
+ Document: (0, smithy_client_1.expectString)(output.Document),
2785
+ Id: (0, smithy_client_1.expectString)(output.Id),
2786
2786
  };
2787
2787
  };
2788
2788
  const deserializeAws_restJson1SegmentList = (output, context) => {
@@ -2798,7 +2798,7 @@ const deserializeAws_restJson1SegmentList = (output, context) => {
2798
2798
  };
2799
2799
  const deserializeAws_restJson1Service = (output, context) => {
2800
2800
  return {
2801
- AccountId: smithy_client_1.expectString(output.AccountId),
2801
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2802
2802
  DurationHistogram: output.DurationHistogram !== undefined && output.DurationHistogram !== null
2803
2803
  ? deserializeAws_restJson1Histogram(output.DurationHistogram, context)
2804
2804
  : undefined,
@@ -2806,35 +2806,35 @@ const deserializeAws_restJson1Service = (output, context) => {
2806
2806
  ? deserializeAws_restJson1EdgeList(output.Edges, context)
2807
2807
  : undefined,
2808
2808
  EndTime: output.EndTime !== undefined && output.EndTime !== null
2809
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2809
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
2810
2810
  : undefined,
2811
- Name: smithy_client_1.expectString(output.Name),
2811
+ Name: (0, smithy_client_1.expectString)(output.Name),
2812
2812
  Names: output.Names !== undefined && output.Names !== null
2813
2813
  ? deserializeAws_restJson1ServiceNames(output.Names, context)
2814
2814
  : undefined,
2815
- ReferenceId: smithy_client_1.expectInt32(output.ReferenceId),
2815
+ ReferenceId: (0, smithy_client_1.expectInt32)(output.ReferenceId),
2816
2816
  ResponseTimeHistogram: output.ResponseTimeHistogram !== undefined && output.ResponseTimeHistogram !== null
2817
2817
  ? deserializeAws_restJson1Histogram(output.ResponseTimeHistogram, context)
2818
2818
  : undefined,
2819
- Root: smithy_client_1.expectBoolean(output.Root),
2819
+ Root: (0, smithy_client_1.expectBoolean)(output.Root),
2820
2820
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2821
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2821
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
2822
2822
  : undefined,
2823
- State: smithy_client_1.expectString(output.State),
2823
+ State: (0, smithy_client_1.expectString)(output.State),
2824
2824
  SummaryStatistics: output.SummaryStatistics !== undefined && output.SummaryStatistics !== null
2825
2825
  ? deserializeAws_restJson1ServiceStatistics(output.SummaryStatistics, context)
2826
2826
  : undefined,
2827
- Type: smithy_client_1.expectString(output.Type),
2827
+ Type: (0, smithy_client_1.expectString)(output.Type),
2828
2828
  };
2829
2829
  };
2830
2830
  const deserializeAws_restJson1ServiceId = (output, context) => {
2831
2831
  return {
2832
- AccountId: smithy_client_1.expectString(output.AccountId),
2833
- Name: smithy_client_1.expectString(output.Name),
2832
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2833
+ Name: (0, smithy_client_1.expectString)(output.Name),
2834
2834
  Names: output.Names !== undefined && output.Names !== null
2835
2835
  ? deserializeAws_restJson1ServiceNames(output.Names, context)
2836
2836
  : undefined,
2837
- Type: smithy_client_1.expectString(output.Type),
2837
+ Type: (0, smithy_client_1.expectString)(output.Type),
2838
2838
  };
2839
2839
  };
2840
2840
  const deserializeAws_restJson1ServiceIds = (output, context) => {
@@ -2866,7 +2866,7 @@ const deserializeAws_restJson1ServiceNames = (output, context) => {
2866
2866
  if (entry === null) {
2867
2867
  return null;
2868
2868
  }
2869
- return smithy_client_1.expectString(entry);
2869
+ return (0, smithy_client_1.expectString)(entry);
2870
2870
  });
2871
2871
  return retVal;
2872
2872
  };
@@ -2878,15 +2878,15 @@ const deserializeAws_restJson1ServiceStatistics = (output, context) => {
2878
2878
  FaultStatistics: output.FaultStatistics !== undefined && output.FaultStatistics !== null
2879
2879
  ? deserializeAws_restJson1FaultStatistics(output.FaultStatistics, context)
2880
2880
  : undefined,
2881
- OkCount: smithy_client_1.expectLong(output.OkCount),
2882
- TotalCount: smithy_client_1.expectLong(output.TotalCount),
2883
- TotalResponseTime: smithy_client_1.limitedParseDouble(output.TotalResponseTime),
2881
+ OkCount: (0, smithy_client_1.expectLong)(output.OkCount),
2882
+ TotalCount: (0, smithy_client_1.expectLong)(output.TotalCount),
2883
+ TotalResponseTime: (0, smithy_client_1.limitedParseDouble)(output.TotalResponseTime),
2884
2884
  };
2885
2885
  };
2886
2886
  const deserializeAws_restJson1Tag = (output, context) => {
2887
2887
  return {
2888
- Key: smithy_client_1.expectString(output.Key),
2889
- Value: smithy_client_1.expectString(output.Value),
2888
+ Key: (0, smithy_client_1.expectString)(output.Key),
2889
+ Value: (0, smithy_client_1.expectString)(output.Value),
2890
2890
  };
2891
2891
  };
2892
2892
  const deserializeAws_restJson1TagList = (output, context) => {
@@ -2915,7 +2915,7 @@ const deserializeAws_restJson1TimeSeriesServiceStatistics = (output, context) =>
2915
2915
  ? deserializeAws_restJson1ServiceStatistics(output.ServiceSummaryStatistics, context)
2916
2916
  : undefined,
2917
2917
  Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
2918
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Timestamp)))
2918
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
2919
2919
  : undefined,
2920
2920
  };
2921
2921
  };
@@ -2932,9 +2932,9 @@ const deserializeAws_restJson1TimeSeriesServiceStatisticsList = (output, context
2932
2932
  };
2933
2933
  const deserializeAws_restJson1Trace = (output, context) => {
2934
2934
  return {
2935
- Duration: smithy_client_1.limitedParseDouble(output.Duration),
2936
- Id: smithy_client_1.expectString(output.Id),
2937
- LimitExceeded: smithy_client_1.expectBoolean(output.LimitExceeded),
2935
+ Duration: (0, smithy_client_1.limitedParseDouble)(output.Duration),
2936
+ Id: (0, smithy_client_1.expectString)(output.Id),
2937
+ LimitExceeded: (0, smithy_client_1.expectBoolean)(output.LimitExceeded),
2938
2938
  Segments: output.Segments !== undefined && output.Segments !== null
2939
2939
  ? deserializeAws_restJson1SegmentList(output.Segments, context)
2940
2940
  : undefined,
@@ -2992,7 +2992,7 @@ const deserializeAws_restJson1TraceSummary = (output, context) => {
2992
2992
  AvailabilityZones: output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
2993
2993
  ? deserializeAws_restJson1TraceAvailabilityZones(output.AvailabilityZones, context)
2994
2994
  : undefined,
2995
- Duration: smithy_client_1.limitedParseDouble(output.Duration),
2995
+ Duration: (0, smithy_client_1.limitedParseDouble)(output.Duration),
2996
2996
  EntryPoint: output.EntryPoint !== undefined && output.EntryPoint !== null
2997
2997
  ? deserializeAws_restJson1ServiceId(output.EntryPoint, context)
2998
2998
  : undefined,
@@ -3002,28 +3002,28 @@ const deserializeAws_restJson1TraceSummary = (output, context) => {
3002
3002
  FaultRootCauses: output.FaultRootCauses !== undefined && output.FaultRootCauses !== null
3003
3003
  ? deserializeAws_restJson1FaultRootCauses(output.FaultRootCauses, context)
3004
3004
  : undefined,
3005
- HasError: smithy_client_1.expectBoolean(output.HasError),
3006
- HasFault: smithy_client_1.expectBoolean(output.HasFault),
3007
- HasThrottle: smithy_client_1.expectBoolean(output.HasThrottle),
3005
+ HasError: (0, smithy_client_1.expectBoolean)(output.HasError),
3006
+ HasFault: (0, smithy_client_1.expectBoolean)(output.HasFault),
3007
+ HasThrottle: (0, smithy_client_1.expectBoolean)(output.HasThrottle),
3008
3008
  Http: output.Http !== undefined && output.Http !== null
3009
3009
  ? deserializeAws_restJson1Http(output.Http, context)
3010
3010
  : undefined,
3011
- Id: smithy_client_1.expectString(output.Id),
3011
+ Id: (0, smithy_client_1.expectString)(output.Id),
3012
3012
  InstanceIds: output.InstanceIds !== undefined && output.InstanceIds !== null
3013
3013
  ? deserializeAws_restJson1TraceInstanceIds(output.InstanceIds, context)
3014
3014
  : undefined,
3015
- IsPartial: smithy_client_1.expectBoolean(output.IsPartial),
3015
+ IsPartial: (0, smithy_client_1.expectBoolean)(output.IsPartial),
3016
3016
  MatchedEventTime: output.MatchedEventTime !== undefined && output.MatchedEventTime !== null
3017
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.MatchedEventTime)))
3017
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.MatchedEventTime)))
3018
3018
  : undefined,
3019
3019
  ResourceARNs: output.ResourceARNs !== undefined && output.ResourceARNs !== null
3020
3020
  ? deserializeAws_restJson1TraceResourceARNs(output.ResourceARNs, context)
3021
3021
  : undefined,
3022
- ResponseTime: smithy_client_1.limitedParseDouble(output.ResponseTime),
3022
+ ResponseTime: (0, smithy_client_1.limitedParseDouble)(output.ResponseTime),
3023
3023
  ResponseTimeRootCauses: output.ResponseTimeRootCauses !== undefined && output.ResponseTimeRootCauses !== null
3024
3024
  ? deserializeAws_restJson1ResponseTimeRootCauses(output.ResponseTimeRootCauses, context)
3025
3025
  : undefined,
3026
- Revision: smithy_client_1.expectInt32(output.Revision),
3026
+ Revision: (0, smithy_client_1.expectInt32)(output.Revision),
3027
3027
  ServiceIds: output.ServiceIds !== undefined && output.ServiceIds !== null
3028
3028
  ? deserializeAws_restJson1ServiceIds(output.ServiceIds, context)
3029
3029
  : undefined,
@@ -3048,7 +3048,7 @@ const deserializeAws_restJson1TraceUser = (output, context) => {
3048
3048
  ServiceIds: output.ServiceIds !== undefined && output.ServiceIds !== null
3049
3049
  ? deserializeAws_restJson1ServiceIds(output.ServiceIds, context)
3050
3050
  : undefined,
3051
- UserName: smithy_client_1.expectString(output.UserName),
3051
+ UserName: (0, smithy_client_1.expectString)(output.UserName),
3052
3052
  };
3053
3053
  };
3054
3054
  const deserializeAws_restJson1TraceUsers = (output, context) => {
@@ -3064,9 +3064,9 @@ const deserializeAws_restJson1TraceUsers = (output, context) => {
3064
3064
  };
3065
3065
  const deserializeAws_restJson1UnprocessedStatistics = (output, context) => {
3066
3066
  return {
3067
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
3068
- Message: smithy_client_1.expectString(output.Message),
3069
- RuleName: smithy_client_1.expectString(output.RuleName),
3067
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
3068
+ Message: (0, smithy_client_1.expectString)(output.Message),
3069
+ RuleName: (0, smithy_client_1.expectString)(output.RuleName),
3070
3070
  };
3071
3071
  };
3072
3072
  const deserializeAws_restJson1UnprocessedStatisticsList = (output, context) => {
@@ -3087,15 +3087,15 @@ const deserializeAws_restJson1UnprocessedTraceIdList = (output, context) => {
3087
3087
  if (entry === null) {
3088
3088
  return null;
3089
3089
  }
3090
- return smithy_client_1.expectString(entry);
3090
+ return (0, smithy_client_1.expectString)(entry);
3091
3091
  });
3092
3092
  return retVal;
3093
3093
  };
3094
3094
  const deserializeAws_restJson1UnprocessedTraceSegment = (output, context) => {
3095
3095
  return {
3096
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
3097
- Id: smithy_client_1.expectString(output.Id),
3098
- Message: smithy_client_1.expectString(output.Message),
3096
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
3097
+ Id: (0, smithy_client_1.expectString)(output.Id),
3098
+ Message: (0, smithy_client_1.expectString)(output.Message),
3099
3099
  };
3100
3100
  };
3101
3101
  const deserializeAws_restJson1UnprocessedTraceSegmentList = (output, context) => {
@@ -3123,7 +3123,7 @@ const deserializeAws_restJson1ValuesWithServiceIds = (output, context) => {
3123
3123
  const deserializeAws_restJson1ValueWithServiceIds = (output, context) => {
3124
3124
  return {
3125
3125
  AnnotationValue: output.AnnotationValue !== undefined && output.AnnotationValue !== null
3126
- ? deserializeAws_restJson1AnnotationValue(smithy_client_1.expectUnion(output.AnnotationValue), context)
3126
+ ? deserializeAws_restJson1AnnotationValue((0, smithy_client_1.expectUnion)(output.AnnotationValue), context)
3127
3127
  : undefined,
3128
3128
  ServiceIds: output.ServiceIds !== undefined && output.ServiceIds !== null
3129
3129
  ? deserializeAws_restJson1ServiceIds(output.ServiceIds, context)