@aws-sdk/client-devops-guru 3.30.0 → 3.34.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 (150) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/DevOpsGuruClient.js +13 -13
  3. package/dist/cjs/DevOpsGuruClient.js.map +1 -1
  4. package/dist/cjs/commands/AddNotificationChannelCommand.js +3 -3
  5. package/dist/cjs/commands/AddNotificationChannelCommand.js.map +1 -1
  6. package/dist/cjs/commands/DescribeAccountHealthCommand.js +3 -3
  7. package/dist/cjs/commands/DescribeAccountHealthCommand.js.map +1 -1
  8. package/dist/cjs/commands/DescribeAccountOverviewCommand.js +3 -3
  9. package/dist/cjs/commands/DescribeAccountOverviewCommand.js.map +1 -1
  10. package/dist/cjs/commands/DescribeAnomalyCommand.js +3 -3
  11. package/dist/cjs/commands/DescribeAnomalyCommand.js.map +1 -1
  12. package/dist/cjs/commands/DescribeFeedbackCommand.js +3 -3
  13. package/dist/cjs/commands/DescribeFeedbackCommand.js.map +1 -1
  14. package/dist/cjs/commands/DescribeInsightCommand.js +3 -3
  15. package/dist/cjs/commands/DescribeInsightCommand.js.map +1 -1
  16. package/dist/cjs/commands/DescribeResourceCollectionHealthCommand.js +3 -3
  17. package/dist/cjs/commands/DescribeResourceCollectionHealthCommand.js.map +1 -1
  18. package/dist/cjs/commands/DescribeServiceIntegrationCommand.js +3 -3
  19. package/dist/cjs/commands/DescribeServiceIntegrationCommand.js.map +1 -1
  20. package/dist/cjs/commands/GetCostEstimationCommand.js +3 -3
  21. package/dist/cjs/commands/GetCostEstimationCommand.js.map +1 -1
  22. package/dist/cjs/commands/GetResourceCollectionCommand.js +3 -3
  23. package/dist/cjs/commands/GetResourceCollectionCommand.js.map +1 -1
  24. package/dist/cjs/commands/ListAnomaliesForInsightCommand.js +3 -3
  25. package/dist/cjs/commands/ListAnomaliesForInsightCommand.js.map +1 -1
  26. package/dist/cjs/commands/ListEventsCommand.js +3 -3
  27. package/dist/cjs/commands/ListEventsCommand.js.map +1 -1
  28. package/dist/cjs/commands/ListInsightsCommand.js +3 -3
  29. package/dist/cjs/commands/ListInsightsCommand.js.map +1 -1
  30. package/dist/cjs/commands/ListNotificationChannelsCommand.js +3 -3
  31. package/dist/cjs/commands/ListNotificationChannelsCommand.js.map +1 -1
  32. package/dist/cjs/commands/ListRecommendationsCommand.js +3 -3
  33. package/dist/cjs/commands/ListRecommendationsCommand.js.map +1 -1
  34. package/dist/cjs/commands/PutFeedbackCommand.js +3 -3
  35. package/dist/cjs/commands/PutFeedbackCommand.js.map +1 -1
  36. package/dist/cjs/commands/RemoveNotificationChannelCommand.js +3 -3
  37. package/dist/cjs/commands/RemoveNotificationChannelCommand.js.map +1 -1
  38. package/dist/cjs/commands/SearchInsightsCommand.js +3 -3
  39. package/dist/cjs/commands/SearchInsightsCommand.js.map +1 -1
  40. package/dist/cjs/commands/StartCostEstimationCommand.js +3 -3
  41. package/dist/cjs/commands/StartCostEstimationCommand.js.map +1 -1
  42. package/dist/cjs/commands/UpdateResourceCollectionCommand.js +3 -3
  43. package/dist/cjs/commands/UpdateResourceCollectionCommand.js.map +1 -1
  44. package/dist/cjs/commands/UpdateServiceIntegrationCommand.js +3 -3
  45. package/dist/cjs/commands/UpdateServiceIntegrationCommand.js.map +1 -1
  46. package/dist/cjs/endpoints.js +1 -1
  47. package/dist/cjs/endpoints.js.map +1 -1
  48. package/dist/cjs/index.js +34 -34
  49. package/dist/cjs/index.js.map +1 -1
  50. package/dist/cjs/models/index.js +1 -1
  51. package/dist/cjs/models/index.js.map +1 -1
  52. package/dist/cjs/package.json +39 -39
  53. package/dist/cjs/protocols/Aws_restJson1.js +165 -155
  54. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  55. package/dist/cjs/runtimeConfig.browser.js +4 -4
  56. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  57. package/dist/cjs/runtimeConfig.js +8 -8
  58. package/dist/cjs/runtimeConfig.js.map +1 -1
  59. package/dist/cjs/runtimeConfig.native.js +1 -1
  60. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  61. package/dist/es/DevOpsGuru.js +1 -19
  62. package/dist/es/DevOpsGuru.js.map +1 -1
  63. package/dist/es/DevOpsGuruClient.js +1 -24
  64. package/dist/es/DevOpsGuruClient.js.map +1 -1
  65. package/dist/es/commands/AddNotificationChannelCommand.js +2 -37
  66. package/dist/es/commands/AddNotificationChannelCommand.js.map +1 -1
  67. package/dist/es/commands/DescribeAccountHealthCommand.js +2 -30
  68. package/dist/es/commands/DescribeAccountHealthCommand.js.map +1 -1
  69. package/dist/es/commands/DescribeAccountOverviewCommand.js +2 -30
  70. package/dist/es/commands/DescribeAccountOverviewCommand.js.map +1 -1
  71. package/dist/es/commands/DescribeAnomalyCommand.js +2 -29
  72. package/dist/es/commands/DescribeAnomalyCommand.js.map +1 -1
  73. package/dist/es/commands/DescribeFeedbackCommand.js +2 -29
  74. package/dist/es/commands/DescribeFeedbackCommand.js.map +1 -1
  75. package/dist/es/commands/DescribeInsightCommand.js +2 -29
  76. package/dist/es/commands/DescribeInsightCommand.js.map +1 -1
  77. package/dist/es/commands/DescribeResourceCollectionHealthCommand.js +2 -31
  78. package/dist/es/commands/DescribeResourceCollectionHealthCommand.js.map +1 -1
  79. package/dist/es/commands/DescribeServiceIntegrationCommand.js +2 -31
  80. package/dist/es/commands/DescribeServiceIntegrationCommand.js.map +1 -1
  81. package/dist/es/commands/GetCostEstimationCommand.js +2 -31
  82. package/dist/es/commands/GetCostEstimationCommand.js.map +1 -1
  83. package/dist/es/commands/GetResourceCollectionCommand.js +2 -30
  84. package/dist/es/commands/GetResourceCollectionCommand.js.map +1 -1
  85. package/dist/es/commands/ListAnomaliesForInsightCommand.js +2 -29
  86. package/dist/es/commands/ListAnomaliesForInsightCommand.js.map +1 -1
  87. package/dist/es/commands/ListEventsCommand.js +2 -29
  88. package/dist/es/commands/ListEventsCommand.js.map +1 -1
  89. package/dist/es/commands/ListInsightsCommand.js +2 -30
  90. package/dist/es/commands/ListInsightsCommand.js.map +1 -1
  91. package/dist/es/commands/ListNotificationChannelsCommand.js +2 -31
  92. package/dist/es/commands/ListNotificationChannelsCommand.js.map +1 -1
  93. package/dist/es/commands/ListRecommendationsCommand.js +2 -29
  94. package/dist/es/commands/ListRecommendationsCommand.js.map +1 -1
  95. package/dist/es/commands/PutFeedbackCommand.js +2 -29
  96. package/dist/es/commands/PutFeedbackCommand.js.map +1 -1
  97. package/dist/es/commands/RemoveNotificationChannelCommand.js +2 -30
  98. package/dist/es/commands/RemoveNotificationChannelCommand.js.map +1 -1
  99. package/dist/es/commands/SearchInsightsCommand.js +2 -35
  100. package/dist/es/commands/SearchInsightsCommand.js.map +1 -1
  101. package/dist/es/commands/StartCostEstimationCommand.js +2 -27
  102. package/dist/es/commands/StartCostEstimationCommand.js.map +1 -1
  103. package/dist/es/commands/UpdateResourceCollectionCommand.js +2 -30
  104. package/dist/es/commands/UpdateResourceCollectionCommand.js.map +1 -1
  105. package/dist/es/commands/UpdateServiceIntegrationCommand.js +2 -30
  106. package/dist/es/commands/UpdateServiceIntegrationCommand.js.map +1 -1
  107. package/dist/es/endpoints.js +1 -1
  108. package/dist/es/endpoints.js.map +1 -1
  109. package/dist/es/models/models_0.js +0 -318
  110. package/dist/es/models/models_0.js.map +1 -1
  111. package/dist/es/package.json +39 -39
  112. package/dist/es/pagination/DescribeResourceCollectionHealthPaginator.js +16 -28
  113. package/dist/es/pagination/DescribeResourceCollectionHealthPaginator.js.map +1 -1
  114. package/dist/es/pagination/GetCostEstimationPaginator.js +16 -28
  115. package/dist/es/pagination/GetCostEstimationPaginator.js.map +1 -1
  116. package/dist/es/pagination/GetResourceCollectionPaginator.js +16 -28
  117. package/dist/es/pagination/GetResourceCollectionPaginator.js.map +1 -1
  118. package/dist/es/pagination/ListAnomaliesForInsightPaginator.js +16 -28
  119. package/dist/es/pagination/ListAnomaliesForInsightPaginator.js.map +1 -1
  120. package/dist/es/pagination/ListEventsPaginator.js +16 -28
  121. package/dist/es/pagination/ListEventsPaginator.js.map +1 -1
  122. package/dist/es/pagination/ListInsightsPaginator.js +16 -28
  123. package/dist/es/pagination/ListInsightsPaginator.js.map +1 -1
  124. package/dist/es/pagination/ListNotificationChannelsPaginator.js +16 -28
  125. package/dist/es/pagination/ListNotificationChannelsPaginator.js.map +1 -1
  126. package/dist/es/pagination/ListRecommendationsPaginator.js +16 -28
  127. package/dist/es/pagination/ListRecommendationsPaginator.js.map +1 -1
  128. package/dist/es/pagination/SearchInsightsPaginator.js +16 -28
  129. package/dist/es/pagination/SearchInsightsPaginator.js.map +1 -1
  130. package/dist/es/protocols/Aws_restJson1.js +632 -627
  131. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  132. package/dist/es/runtimeConfig.browser.js +0 -3
  133. package/dist/es/runtimeConfig.browser.js.map +1 -1
  134. package/dist/es/runtimeConfig.js +0 -3
  135. package/dist/es/runtimeConfig.js.map +1 -1
  136. package/dist/es/runtimeConfig.native.js +0 -3
  137. package/dist/es/runtimeConfig.native.js.map +1 -1
  138. package/dist/es/runtimeConfig.shared.js +0 -3
  139. package/dist/es/runtimeConfig.shared.js.map +1 -1
  140. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  141. package/dist/types/runtimeConfig.d.ts +1 -0
  142. package/dist/types/runtimeConfig.native.d.ts +1 -0
  143. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  144. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  145. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  146. package/package.json +39 -39
  147. package/protocols/Aws_restJson1.ts +26 -13
  148. package/tsconfig.es.json +0 -2
  149. package/tsconfig.json +3 -5
  150. package/tsconfig.types.json +8 -0
@@ -77,7 +77,7 @@ const serializeAws_restJson1DescribeAnomalyCommand = async (input, context) => {
77
77
  if (labelValue.length <= 0) {
78
78
  throw new Error("Empty value provided for input HTTP label: Id.");
79
79
  }
80
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
80
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
81
81
  }
82
82
  else {
83
83
  throw new Error("No value provided for input HTTP label: Id.");
@@ -124,7 +124,7 @@ const serializeAws_restJson1DescribeInsightCommand = async (input, context) => {
124
124
  if (labelValue.length <= 0) {
125
125
  throw new Error("Empty value provided for input HTTP label: Id.");
126
126
  }
127
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
127
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
128
128
  }
129
129
  else {
130
130
  throw new Error("No value provided for input HTTP label: Id.");
@@ -151,7 +151,7 @@ const serializeAws_restJson1DescribeResourceCollectionHealthCommand = async (inp
151
151
  if (labelValue.length <= 0) {
152
152
  throw new Error("Empty value provided for input HTTP label: ResourceCollectionType.");
153
153
  }
154
- resolvedPath = resolvedPath.replace("{ResourceCollectionType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
154
+ resolvedPath = resolvedPath.replace("{ResourceCollectionType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
155
155
  }
156
156
  else {
157
157
  throw new Error("No value provided for input HTTP label: ResourceCollectionType.");
@@ -221,7 +221,7 @@ const serializeAws_restJson1GetResourceCollectionCommand = async (input, context
221
221
  if (labelValue.length <= 0) {
222
222
  throw new Error("Empty value provided for input HTTP label: ResourceCollectionType.");
223
223
  }
224
- resolvedPath = resolvedPath.replace("{ResourceCollectionType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
224
+ resolvedPath = resolvedPath.replace("{ResourceCollectionType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
225
225
  }
226
226
  else {
227
227
  throw new Error("No value provided for input HTTP label: ResourceCollectionType.");
@@ -253,7 +253,7 @@ const serializeAws_restJson1ListAnomaliesForInsightCommand = async (input, conte
253
253
  if (labelValue.length <= 0) {
254
254
  throw new Error("Empty value provided for input HTTP label: InsightId.");
255
255
  }
256
- resolvedPath = resolvedPath.replace("{InsightId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
256
+ resolvedPath = resolvedPath.replace("{InsightId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
257
257
  }
258
258
  else {
259
259
  throw new Error("No value provided for input HTTP label: InsightId.");
@@ -405,7 +405,7 @@ const serializeAws_restJson1RemoveNotificationChannelCommand = async (input, con
405
405
  if (labelValue.length <= 0) {
406
406
  throw new Error("Empty value provided for input HTTP label: Id.");
407
407
  }
408
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
408
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
409
409
  }
410
410
  else {
411
411
  throw new Error("No value provided for input HTTP label: Id.");
@@ -460,7 +460,7 @@ const serializeAws_restJson1StartCostEstimationCommand = async (input, context)
460
460
  let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/cost-estimation";
461
461
  let body;
462
462
  body = JSON.stringify({
463
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
463
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
464
464
  ...(input.ResourceCollection !== undefined &&
465
465
  input.ResourceCollection !== null && {
466
466
  ResourceCollection: serializeAws_restJson1CostEstimationResourceCollectionFilter(input.ResourceCollection, context),
@@ -534,9 +534,9 @@ const deserializeAws_restJson1AddNotificationChannelCommand = async (output, con
534
534
  $metadata: deserializeMetadata(output),
535
535
  Id: undefined,
536
536
  };
537
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
537
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
538
538
  if (data.Id !== undefined && data.Id !== null) {
539
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
539
+ contents.Id = smithy_client_1.expectString(data.Id);
540
540
  }
541
541
  return Promise.resolve(contents);
542
542
  };
@@ -633,18 +633,18 @@ const deserializeAws_restJson1DescribeAccountHealthCommand = async (output, cont
633
633
  OpenReactiveInsights: undefined,
634
634
  ResourceHours: undefined,
635
635
  };
636
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
636
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
637
637
  if (data.MetricsAnalyzed !== undefined && data.MetricsAnalyzed !== null) {
638
- contents.MetricsAnalyzed = (0, smithy_client_1.expectInt32)(data.MetricsAnalyzed);
638
+ contents.MetricsAnalyzed = smithy_client_1.expectInt32(data.MetricsAnalyzed);
639
639
  }
640
640
  if (data.OpenProactiveInsights !== undefined && data.OpenProactiveInsights !== null) {
641
- contents.OpenProactiveInsights = (0, smithy_client_1.expectInt32)(data.OpenProactiveInsights);
641
+ contents.OpenProactiveInsights = smithy_client_1.expectInt32(data.OpenProactiveInsights);
642
642
  }
643
643
  if (data.OpenReactiveInsights !== undefined && data.OpenReactiveInsights !== null) {
644
- contents.OpenReactiveInsights = (0, smithy_client_1.expectInt32)(data.OpenReactiveInsights);
644
+ contents.OpenReactiveInsights = smithy_client_1.expectInt32(data.OpenReactiveInsights);
645
645
  }
646
646
  if (data.ResourceHours !== undefined && data.ResourceHours !== null) {
647
- contents.ResourceHours = (0, smithy_client_1.expectLong)(data.ResourceHours);
647
+ contents.ResourceHours = smithy_client_1.expectLong(data.ResourceHours);
648
648
  }
649
649
  return Promise.resolve(contents);
650
650
  };
@@ -716,15 +716,15 @@ const deserializeAws_restJson1DescribeAccountOverviewCommand = async (output, co
716
716
  ProactiveInsights: undefined,
717
717
  ReactiveInsights: undefined,
718
718
  };
719
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
719
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
720
720
  if (data.MeanTimeToRecoverInMilliseconds !== undefined && data.MeanTimeToRecoverInMilliseconds !== null) {
721
- contents.MeanTimeToRecoverInMilliseconds = (0, smithy_client_1.expectLong)(data.MeanTimeToRecoverInMilliseconds);
721
+ contents.MeanTimeToRecoverInMilliseconds = smithy_client_1.expectLong(data.MeanTimeToRecoverInMilliseconds);
722
722
  }
723
723
  if (data.ProactiveInsights !== undefined && data.ProactiveInsights !== null) {
724
- contents.ProactiveInsights = (0, smithy_client_1.expectInt32)(data.ProactiveInsights);
724
+ contents.ProactiveInsights = smithy_client_1.expectInt32(data.ProactiveInsights);
725
725
  }
726
726
  if (data.ReactiveInsights !== undefined && data.ReactiveInsights !== null) {
727
- contents.ReactiveInsights = (0, smithy_client_1.expectInt32)(data.ReactiveInsights);
727
+ contents.ReactiveInsights = smithy_client_1.expectInt32(data.ReactiveInsights);
728
728
  }
729
729
  return Promise.resolve(contents);
730
730
  };
@@ -795,7 +795,7 @@ const deserializeAws_restJson1DescribeAnomalyCommand = async (output, context) =
795
795
  ProactiveAnomaly: undefined,
796
796
  ReactiveAnomaly: undefined,
797
797
  };
798
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
798
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
799
799
  if (data.ProactiveAnomaly !== undefined && data.ProactiveAnomaly !== null) {
800
800
  contents.ProactiveAnomaly = deserializeAws_restJson1ProactiveAnomaly(data.ProactiveAnomaly, context);
801
801
  }
@@ -878,7 +878,7 @@ const deserializeAws_restJson1DescribeFeedbackCommand = async (output, context)
878
878
  $metadata: deserializeMetadata(output),
879
879
  InsightFeedback: undefined,
880
880
  };
881
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
881
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
882
882
  if (data.InsightFeedback !== undefined && data.InsightFeedback !== null) {
883
883
  contents.InsightFeedback = deserializeAws_restJson1InsightFeedback(data.InsightFeedback, context);
884
884
  }
@@ -959,7 +959,7 @@ const deserializeAws_restJson1DescribeInsightCommand = async (output, context) =
959
959
  ProactiveInsight: undefined,
960
960
  ReactiveInsight: undefined,
961
961
  };
962
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
962
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
963
963
  if (data.ProactiveInsight !== undefined && data.ProactiveInsight !== null) {
964
964
  contents.ProactiveInsight = deserializeAws_restJson1ProactiveInsight(data.ProactiveInsight, context);
965
965
  }
@@ -1044,12 +1044,12 @@ const deserializeAws_restJson1DescribeResourceCollectionHealthCommand = async (o
1044
1044
  NextToken: undefined,
1045
1045
  Service: undefined,
1046
1046
  };
1047
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1047
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1048
1048
  if (data.CloudFormation !== undefined && data.CloudFormation !== null) {
1049
1049
  contents.CloudFormation = deserializeAws_restJson1CloudFormationHealths(data.CloudFormation, context);
1050
1050
  }
1051
1051
  if (data.NextToken !== undefined && data.NextToken !== null) {
1052
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1052
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1053
1053
  }
1054
1054
  if (data.Service !== undefined && data.Service !== null) {
1055
1055
  contents.Service = deserializeAws_restJson1ServiceHealths(data.Service, context);
@@ -1122,7 +1122,7 @@ const deserializeAws_restJson1DescribeServiceIntegrationCommand = async (output,
1122
1122
  $metadata: deserializeMetadata(output),
1123
1123
  ServiceIntegration: undefined,
1124
1124
  };
1125
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1125
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1126
1126
  if (data.ServiceIntegration !== undefined && data.ServiceIntegration !== null) {
1127
1127
  contents.ServiceIntegration = deserializeAws_restJson1ServiceIntegrationConfig(data.ServiceIntegration, context);
1128
1128
  }
@@ -1199,24 +1199,24 @@ const deserializeAws_restJson1GetCostEstimationCommand = async (output, context)
1199
1199
  TimeRange: undefined,
1200
1200
  TotalCost: undefined,
1201
1201
  };
1202
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1202
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1203
1203
  if (data.Costs !== undefined && data.Costs !== null) {
1204
1204
  contents.Costs = deserializeAws_restJson1ServiceResourceCosts(data.Costs, context);
1205
1205
  }
1206
1206
  if (data.NextToken !== undefined && data.NextToken !== null) {
1207
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1207
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1208
1208
  }
1209
1209
  if (data.ResourceCollection !== undefined && data.ResourceCollection !== null) {
1210
1210
  contents.ResourceCollection = deserializeAws_restJson1CostEstimationResourceCollectionFilter(data.ResourceCollection, context);
1211
1211
  }
1212
1212
  if (data.Status !== undefined && data.Status !== null) {
1213
- contents.Status = (0, smithy_client_1.expectString)(data.Status);
1213
+ contents.Status = smithy_client_1.expectString(data.Status);
1214
1214
  }
1215
1215
  if (data.TimeRange !== undefined && data.TimeRange !== null) {
1216
1216
  contents.TimeRange = deserializeAws_restJson1CostEstimationTimeRange(data.TimeRange, context);
1217
1217
  }
1218
1218
  if (data.TotalCost !== undefined && data.TotalCost !== null) {
1219
- contents.TotalCost = (0, smithy_client_1.limitedParseDouble)(data.TotalCost);
1219
+ contents.TotalCost = smithy_client_1.limitedParseDouble(data.TotalCost);
1220
1220
  }
1221
1221
  return Promise.resolve(contents);
1222
1222
  };
@@ -1295,9 +1295,9 @@ const deserializeAws_restJson1GetResourceCollectionCommand = async (output, cont
1295
1295
  NextToken: undefined,
1296
1296
  ResourceCollection: undefined,
1297
1297
  };
1298
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1298
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1299
1299
  if (data.NextToken !== undefined && data.NextToken !== null) {
1300
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1300
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1301
1301
  }
1302
1302
  if (data.ResourceCollection !== undefined && data.ResourceCollection !== null) {
1303
1303
  contents.ResourceCollection = deserializeAws_restJson1ResourceCollectionFilter(data.ResourceCollection, context);
@@ -1380,9 +1380,9 @@ const deserializeAws_restJson1ListAnomaliesForInsightCommand = async (output, co
1380
1380
  ProactiveAnomalies: undefined,
1381
1381
  ReactiveAnomalies: undefined,
1382
1382
  };
1383
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1383
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1384
1384
  if (data.NextToken !== undefined && data.NextToken !== null) {
1385
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1385
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1386
1386
  }
1387
1387
  if (data.ProactiveAnomalies !== undefined && data.ProactiveAnomalies !== null) {
1388
1388
  contents.ProactiveAnomalies = deserializeAws_restJson1ProactiveAnomalies(data.ProactiveAnomalies, context);
@@ -1467,12 +1467,12 @@ const deserializeAws_restJson1ListEventsCommand = async (output, context) => {
1467
1467
  Events: undefined,
1468
1468
  NextToken: undefined,
1469
1469
  };
1470
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1470
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1471
1471
  if (data.Events !== undefined && data.Events !== null) {
1472
1472
  contents.Events = deserializeAws_restJson1Events(data.Events, context);
1473
1473
  }
1474
1474
  if (data.NextToken !== undefined && data.NextToken !== null) {
1475
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1475
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1476
1476
  }
1477
1477
  return Promise.resolve(contents);
1478
1478
  };
@@ -1552,9 +1552,9 @@ const deserializeAws_restJson1ListInsightsCommand = async (output, context) => {
1552
1552
  ProactiveInsights: undefined,
1553
1553
  ReactiveInsights: undefined,
1554
1554
  };
1555
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1555
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1556
1556
  if (data.NextToken !== undefined && data.NextToken !== null) {
1557
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1557
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1558
1558
  }
1559
1559
  if (data.ProactiveInsights !== undefined && data.ProactiveInsights !== null) {
1560
1560
  contents.ProactiveInsights = deserializeAws_restJson1ProactiveInsights(data.ProactiveInsights, context);
@@ -1631,12 +1631,12 @@ const deserializeAws_restJson1ListNotificationChannelsCommand = async (output, c
1631
1631
  Channels: undefined,
1632
1632
  NextToken: undefined,
1633
1633
  };
1634
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1634
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1635
1635
  if (data.Channels !== undefined && data.Channels !== null) {
1636
1636
  contents.Channels = deserializeAws_restJson1Channels(data.Channels, context);
1637
1637
  }
1638
1638
  if (data.NextToken !== undefined && data.NextToken !== null) {
1639
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1639
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1640
1640
  }
1641
1641
  return Promise.resolve(contents);
1642
1642
  };
@@ -1707,9 +1707,9 @@ const deserializeAws_restJson1ListRecommendationsCommand = async (output, contex
1707
1707
  NextToken: undefined,
1708
1708
  Recommendations: undefined,
1709
1709
  };
1710
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1710
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1711
1711
  if (data.NextToken !== undefined && data.NextToken !== null) {
1712
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1712
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1713
1713
  }
1714
1714
  if (data.Recommendations !== undefined && data.Recommendations !== null) {
1715
1715
  contents.Recommendations = deserializeAws_restJson1Recommendations(data.Recommendations, context);
@@ -1960,9 +1960,9 @@ const deserializeAws_restJson1SearchInsightsCommand = async (output, context) =>
1960
1960
  ProactiveInsights: undefined,
1961
1961
  ReactiveInsights: undefined,
1962
1962
  };
1963
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1963
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1964
1964
  if (data.NextToken !== undefined && data.NextToken !== null) {
1965
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1965
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1966
1966
  }
1967
1967
  if (data.ProactiveInsights !== undefined && data.ProactiveInsights !== null) {
1968
1968
  contents.ProactiveInsights = deserializeAws_restJson1ProactiveInsights(data.ProactiveInsights, context);
@@ -2275,7 +2275,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2275
2275
  };
2276
2276
  const data = parsedOutput.body;
2277
2277
  if (data.Message !== undefined && data.Message !== null) {
2278
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2278
+ contents.Message = smithy_client_1.expectString(data.Message);
2279
2279
  }
2280
2280
  return contents;
2281
2281
  };
@@ -2290,13 +2290,13 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2290
2290
  };
2291
2291
  const data = parsedOutput.body;
2292
2292
  if (data.Message !== undefined && data.Message !== null) {
2293
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2293
+ contents.Message = smithy_client_1.expectString(data.Message);
2294
2294
  }
2295
2295
  if (data.ResourceId !== undefined && data.ResourceId !== null) {
2296
- contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
2296
+ contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
2297
2297
  }
2298
2298
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
2299
- contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
2299
+ contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
2300
2300
  }
2301
2301
  return contents;
2302
2302
  };
@@ -2309,11 +2309,11 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2309
2309
  RetryAfterSeconds: undefined,
2310
2310
  };
2311
2311
  if (parsedOutput.headers["retry-after"] !== undefined) {
2312
- contents.RetryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
2312
+ contents.RetryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
2313
2313
  }
2314
2314
  const data = parsedOutput.body;
2315
2315
  if (data.Message !== undefined && data.Message !== null) {
2316
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2316
+ contents.Message = smithy_client_1.expectString(data.Message);
2317
2317
  }
2318
2318
  return contents;
2319
2319
  };
@@ -2328,13 +2328,13 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2328
2328
  };
2329
2329
  const data = parsedOutput.body;
2330
2330
  if (data.Message !== undefined && data.Message !== null) {
2331
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2331
+ contents.Message = smithy_client_1.expectString(data.Message);
2332
2332
  }
2333
2333
  if (data.ResourceId !== undefined && data.ResourceId !== null) {
2334
- contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
2334
+ contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
2335
2335
  }
2336
2336
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
2337
- contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
2337
+ contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
2338
2338
  }
2339
2339
  return contents;
2340
2340
  };
@@ -2347,7 +2347,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2347
2347
  };
2348
2348
  const data = parsedOutput.body;
2349
2349
  if (data.Message !== undefined && data.Message !== null) {
2350
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2350
+ contents.Message = smithy_client_1.expectString(data.Message);
2351
2351
  }
2352
2352
  return contents;
2353
2353
  };
@@ -2362,17 +2362,17 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2362
2362
  ServiceCode: undefined,
2363
2363
  };
2364
2364
  if (parsedOutput.headers["retry-after"] !== undefined) {
2365
- contents.RetryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
2365
+ contents.RetryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
2366
2366
  }
2367
2367
  const data = parsedOutput.body;
2368
2368
  if (data.Message !== undefined && data.Message !== null) {
2369
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2369
+ contents.Message = smithy_client_1.expectString(data.Message);
2370
2370
  }
2371
2371
  if (data.QuotaCode !== undefined && data.QuotaCode !== null) {
2372
- contents.QuotaCode = (0, smithy_client_1.expectString)(data.QuotaCode);
2372
+ contents.QuotaCode = smithy_client_1.expectString(data.QuotaCode);
2373
2373
  }
2374
2374
  if (data.ServiceCode !== undefined && data.ServiceCode !== null) {
2375
- contents.ServiceCode = (0, smithy_client_1.expectString)(data.ServiceCode);
2375
+ contents.ServiceCode = smithy_client_1.expectString(data.ServiceCode);
2376
2376
  }
2377
2377
  return contents;
2378
2378
  };
@@ -2390,10 +2390,10 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2390
2390
  contents.Fields = deserializeAws_restJson1ValidationExceptionFields(data.Fields, context);
2391
2391
  }
2392
2392
  if (data.Message !== undefined && data.Message !== null) {
2393
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2393
+ contents.Message = smithy_client_1.expectString(data.Message);
2394
2394
  }
2395
2395
  if (data.Reason !== undefined && data.Reason !== null) {
2396
- contents.Reason = (0, smithy_client_1.expectString)(data.Reason);
2396
+ contents.Reason = smithy_client_1.expectString(data.Reason);
2397
2397
  }
2398
2398
  return contents;
2399
2399
  };
@@ -2626,10 +2626,10 @@ const serializeAws_restJson1UpdateStackNames = (input, context) => {
2626
2626
  const deserializeAws_restJson1AnomalyReportedTimeRange = (output, context) => {
2627
2627
  return {
2628
2628
  CloseTime: output.CloseTime !== undefined && output.CloseTime !== null
2629
- ? new Date(Math.round(output.CloseTime * 1000))
2629
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CloseTime)))
2630
2630
  : undefined,
2631
2631
  OpenTime: output.OpenTime !== undefined && output.OpenTime !== null
2632
- ? new Date(Math.round(output.OpenTime * 1000))
2632
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.OpenTime)))
2633
2633
  : undefined,
2634
2634
  };
2635
2635
  };
@@ -2642,9 +2642,11 @@ const deserializeAws_restJson1AnomalySourceDetails = (output, context) => {
2642
2642
  };
2643
2643
  const deserializeAws_restJson1AnomalyTimeRange = (output, context) => {
2644
2644
  return {
2645
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
2645
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
2646
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2647
+ : undefined,
2646
2648
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2647
- ? new Date(Math.round(output.StartTime * 1000))
2649
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2648
2650
  : undefined,
2649
2651
  };
2650
2652
  };
@@ -2684,7 +2686,7 @@ const deserializeAws_restJson1CloudFormationHealth = (output, context) => {
2684
2686
  Insight: output.Insight !== undefined && output.Insight !== null
2685
2687
  ? deserializeAws_restJson1InsightHealth(output.Insight, context)
2686
2688
  : undefined,
2687
- StackName: (0, smithy_client_1.expectString)(output.StackName),
2689
+ StackName: smithy_client_1.expectString(output.StackName),
2688
2690
  };
2689
2691
  };
2690
2692
  const deserializeAws_restJson1CloudFormationHealths = (output, context) => {
@@ -2702,11 +2704,11 @@ const deserializeAws_restJson1CloudWatchMetricsDetail = (output, context) => {
2702
2704
  Dimensions: output.Dimensions !== undefined && output.Dimensions !== null
2703
2705
  ? deserializeAws_restJson1CloudWatchMetricsDimensions(output.Dimensions, context)
2704
2706
  : undefined,
2705
- MetricName: (0, smithy_client_1.expectString)(output.MetricName),
2706
- Namespace: (0, smithy_client_1.expectString)(output.Namespace),
2707
- Period: (0, smithy_client_1.expectInt32)(output.Period),
2708
- Stat: (0, smithy_client_1.expectString)(output.Stat),
2709
- Unit: (0, smithy_client_1.expectString)(output.Unit),
2707
+ MetricName: smithy_client_1.expectString(output.MetricName),
2708
+ Namespace: smithy_client_1.expectString(output.Namespace),
2709
+ Period: smithy_client_1.expectInt32(output.Period),
2710
+ Stat: smithy_client_1.expectString(output.Stat),
2711
+ Unit: smithy_client_1.expectString(output.Unit),
2710
2712
  };
2711
2713
  };
2712
2714
  const deserializeAws_restJson1CloudWatchMetricsDetails = (output, context) => {
@@ -2721,8 +2723,8 @@ const deserializeAws_restJson1CloudWatchMetricsDetails = (output, context) => {
2721
2723
  };
2722
2724
  const deserializeAws_restJson1CloudWatchMetricsDimension = (output, context) => {
2723
2725
  return {
2724
- Name: (0, smithy_client_1.expectString)(output.Name),
2725
- Value: (0, smithy_client_1.expectString)(output.Value),
2726
+ Name: smithy_client_1.expectString(output.Name),
2727
+ Value: smithy_client_1.expectString(output.Value),
2726
2728
  };
2727
2729
  };
2728
2730
  const deserializeAws_restJson1CloudWatchMetricsDimensions = (output, context) => {
@@ -2749,38 +2751,42 @@ const deserializeAws_restJson1CostEstimationStackNames = (output, context) => {
2749
2751
  if (entry === null) {
2750
2752
  return null;
2751
2753
  }
2752
- return (0, smithy_client_1.expectString)(entry);
2754
+ return smithy_client_1.expectString(entry);
2753
2755
  });
2754
2756
  };
2755
2757
  const deserializeAws_restJson1CostEstimationTimeRange = (output, context) => {
2756
2758
  return {
2757
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
2759
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
2760
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2761
+ : undefined,
2758
2762
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2759
- ? new Date(Math.round(output.StartTime * 1000))
2763
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2760
2764
  : undefined,
2761
2765
  };
2762
2766
  };
2763
2767
  const deserializeAws_restJson1Event = (output, context) => {
2764
2768
  return {
2765
- DataSource: (0, smithy_client_1.expectString)(output.DataSource),
2766
- EventClass: (0, smithy_client_1.expectString)(output.EventClass),
2767
- EventSource: (0, smithy_client_1.expectString)(output.EventSource),
2768
- Id: (0, smithy_client_1.expectString)(output.Id),
2769
- Name: (0, smithy_client_1.expectString)(output.Name),
2769
+ DataSource: smithy_client_1.expectString(output.DataSource),
2770
+ EventClass: smithy_client_1.expectString(output.EventClass),
2771
+ EventSource: smithy_client_1.expectString(output.EventSource),
2772
+ Id: smithy_client_1.expectString(output.Id),
2773
+ Name: smithy_client_1.expectString(output.Name),
2770
2774
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
2771
2775
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
2772
2776
  : undefined,
2773
2777
  Resources: output.Resources !== undefined && output.Resources !== null
2774
2778
  ? deserializeAws_restJson1EventResources(output.Resources, context)
2775
2779
  : undefined,
2776
- Time: output.Time !== undefined && output.Time !== null ? new Date(Math.round(output.Time * 1000)) : undefined,
2780
+ Time: output.Time !== undefined && output.Time !== null
2781
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Time)))
2782
+ : undefined,
2777
2783
  };
2778
2784
  };
2779
2785
  const deserializeAws_restJson1EventResource = (output, context) => {
2780
2786
  return {
2781
- Arn: (0, smithy_client_1.expectString)(output.Arn),
2782
- Name: (0, smithy_client_1.expectString)(output.Name),
2783
- Type: (0, smithy_client_1.expectString)(output.Type),
2787
+ Arn: smithy_client_1.expectString(output.Arn),
2788
+ Name: smithy_client_1.expectString(output.Name),
2789
+ Type: smithy_client_1.expectString(output.Type),
2784
2790
  };
2785
2791
  };
2786
2792
  const deserializeAws_restJson1EventResources = (output, context) => {
@@ -2805,22 +2811,24 @@ const deserializeAws_restJson1Events = (output, context) => {
2805
2811
  };
2806
2812
  const deserializeAws_restJson1InsightFeedback = (output, context) => {
2807
2813
  return {
2808
- Feedback: (0, smithy_client_1.expectString)(output.Feedback),
2809
- Id: (0, smithy_client_1.expectString)(output.Id),
2814
+ Feedback: smithy_client_1.expectString(output.Feedback),
2815
+ Id: smithy_client_1.expectString(output.Id),
2810
2816
  };
2811
2817
  };
2812
2818
  const deserializeAws_restJson1InsightHealth = (output, context) => {
2813
2819
  return {
2814
- MeanTimeToRecoverInMilliseconds: (0, smithy_client_1.expectLong)(output.MeanTimeToRecoverInMilliseconds),
2815
- OpenProactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenProactiveInsights),
2816
- OpenReactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenReactiveInsights),
2820
+ MeanTimeToRecoverInMilliseconds: smithy_client_1.expectLong(output.MeanTimeToRecoverInMilliseconds),
2821
+ OpenProactiveInsights: smithy_client_1.expectInt32(output.OpenProactiveInsights),
2822
+ OpenReactiveInsights: smithy_client_1.expectInt32(output.OpenReactiveInsights),
2817
2823
  };
2818
2824
  };
2819
2825
  const deserializeAws_restJson1InsightTimeRange = (output, context) => {
2820
2826
  return {
2821
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
2827
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
2828
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2829
+ : undefined,
2822
2830
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2823
- ? new Date(Math.round(output.StartTime * 1000))
2831
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2824
2832
  : undefined,
2825
2833
  };
2826
2834
  };
@@ -2829,7 +2837,7 @@ const deserializeAws_restJson1NotificationChannel = (output, context) => {
2829
2837
  Config: output.Config !== undefined && output.Config !== null
2830
2838
  ? deserializeAws_restJson1NotificationChannelConfig(output.Config, context)
2831
2839
  : undefined,
2832
- Id: (0, smithy_client_1.expectString)(output.Id),
2840
+ Id: smithy_client_1.expectString(output.Id),
2833
2841
  };
2834
2842
  };
2835
2843
  const deserializeAws_restJson1NotificationChannelConfig = (output, context) => {
@@ -2841,14 +2849,16 @@ const deserializeAws_restJson1NotificationChannelConfig = (output, context) => {
2841
2849
  };
2842
2850
  const deserializeAws_restJson1OpsCenterIntegration = (output, context) => {
2843
2851
  return {
2844
- OptInStatus: (0, smithy_client_1.expectString)(output.OptInStatus),
2852
+ OptInStatus: smithy_client_1.expectString(output.OptInStatus),
2845
2853
  };
2846
2854
  };
2847
2855
  const deserializeAws_restJson1PredictionTimeRange = (output, context) => {
2848
2856
  return {
2849
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
2857
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
2858
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2859
+ : undefined,
2850
2860
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2851
- ? new Date(Math.round(output.StartTime * 1000))
2861
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2852
2862
  : undefined,
2853
2863
  };
2854
2864
  };
@@ -2870,22 +2880,22 @@ const deserializeAws_restJson1ProactiveAnomaly = (output, context) => {
2870
2880
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
2871
2881
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
2872
2882
  : undefined,
2873
- AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
2874
- Id: (0, smithy_client_1.expectString)(output.Id),
2875
- Limit: (0, smithy_client_1.limitedParseDouble)(output.Limit),
2883
+ AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
2884
+ Id: smithy_client_1.expectString(output.Id),
2885
+ Limit: smithy_client_1.limitedParseDouble(output.Limit),
2876
2886
  PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
2877
2887
  ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
2878
2888
  : undefined,
2879
2889
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
2880
2890
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
2881
2891
  : undefined,
2882
- Severity: (0, smithy_client_1.expectString)(output.Severity),
2892
+ Severity: smithy_client_1.expectString(output.Severity),
2883
2893
  SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
2884
2894
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
2885
2895
  : undefined,
2886
- Status: (0, smithy_client_1.expectString)(output.Status),
2896
+ Status: smithy_client_1.expectString(output.Status),
2887
2897
  UpdateTime: output.UpdateTime !== undefined && output.UpdateTime !== null
2888
- ? new Date(Math.round(output.UpdateTime * 1000))
2898
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateTime)))
2889
2899
  : undefined,
2890
2900
  };
2891
2901
  };
@@ -2897,41 +2907,41 @@ const deserializeAws_restJson1ProactiveAnomalySummary = (output, context) => {
2897
2907
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
2898
2908
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
2899
2909
  : undefined,
2900
- AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
2901
- Id: (0, smithy_client_1.expectString)(output.Id),
2902
- Limit: (0, smithy_client_1.limitedParseDouble)(output.Limit),
2910
+ AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
2911
+ Id: smithy_client_1.expectString(output.Id),
2912
+ Limit: smithy_client_1.limitedParseDouble(output.Limit),
2903
2913
  PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
2904
2914
  ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
2905
2915
  : undefined,
2906
2916
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
2907
2917
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
2908
2918
  : undefined,
2909
- Severity: (0, smithy_client_1.expectString)(output.Severity),
2919
+ Severity: smithy_client_1.expectString(output.Severity),
2910
2920
  SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
2911
2921
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
2912
2922
  : undefined,
2913
- Status: (0, smithy_client_1.expectString)(output.Status),
2923
+ Status: smithy_client_1.expectString(output.Status),
2914
2924
  UpdateTime: output.UpdateTime !== undefined && output.UpdateTime !== null
2915
- ? new Date(Math.round(output.UpdateTime * 1000))
2925
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateTime)))
2916
2926
  : undefined,
2917
2927
  };
2918
2928
  };
2919
2929
  const deserializeAws_restJson1ProactiveInsight = (output, context) => {
2920
2930
  return {
2921
- Id: (0, smithy_client_1.expectString)(output.Id),
2931
+ Id: smithy_client_1.expectString(output.Id),
2922
2932
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
2923
2933
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
2924
2934
  : undefined,
2925
- Name: (0, smithy_client_1.expectString)(output.Name),
2935
+ Name: smithy_client_1.expectString(output.Name),
2926
2936
  PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
2927
2937
  ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
2928
2938
  : undefined,
2929
2939
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
2930
2940
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
2931
2941
  : undefined,
2932
- Severity: (0, smithy_client_1.expectString)(output.Severity),
2933
- SsmOpsItemId: (0, smithy_client_1.expectString)(output.SsmOpsItemId),
2934
- Status: (0, smithy_client_1.expectString)(output.Status),
2942
+ Severity: smithy_client_1.expectString(output.Severity),
2943
+ SsmOpsItemId: smithy_client_1.expectString(output.SsmOpsItemId),
2944
+ Status: smithy_client_1.expectString(output.Status),
2935
2945
  };
2936
2946
  };
2937
2947
  const deserializeAws_restJson1ProactiveInsights = (output, context) => {
@@ -2946,11 +2956,11 @@ const deserializeAws_restJson1ProactiveInsights = (output, context) => {
2946
2956
  };
2947
2957
  const deserializeAws_restJson1ProactiveInsightSummary = (output, context) => {
2948
2958
  return {
2949
- Id: (0, smithy_client_1.expectString)(output.Id),
2959
+ Id: smithy_client_1.expectString(output.Id),
2950
2960
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
2951
2961
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
2952
2962
  : undefined,
2953
- Name: (0, smithy_client_1.expectString)(output.Name),
2963
+ Name: smithy_client_1.expectString(output.Name),
2954
2964
  PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
2955
2965
  ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
2956
2966
  : undefined,
@@ -2960,8 +2970,8 @@ const deserializeAws_restJson1ProactiveInsightSummary = (output, context) => {
2960
2970
  ServiceCollection: output.ServiceCollection !== undefined && output.ServiceCollection !== null
2961
2971
  ? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
2962
2972
  : undefined,
2963
- Severity: (0, smithy_client_1.expectString)(output.Severity),
2964
- Status: (0, smithy_client_1.expectString)(output.Status),
2973
+ Severity: smithy_client_1.expectString(output.Severity),
2974
+ Status: smithy_client_1.expectString(output.Status),
2965
2975
  };
2966
2976
  };
2967
2977
  const deserializeAws_restJson1ReactiveAnomalies = (output, context) => {
@@ -2982,16 +2992,16 @@ const deserializeAws_restJson1ReactiveAnomaly = (output, context) => {
2982
2992
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
2983
2993
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
2984
2994
  : undefined,
2985
- AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
2986
- Id: (0, smithy_client_1.expectString)(output.Id),
2995
+ AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
2996
+ Id: smithy_client_1.expectString(output.Id),
2987
2997
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
2988
2998
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
2989
2999
  : undefined,
2990
- Severity: (0, smithy_client_1.expectString)(output.Severity),
3000
+ Severity: smithy_client_1.expectString(output.Severity),
2991
3001
  SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
2992
3002
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
2993
3003
  : undefined,
2994
- Status: (0, smithy_client_1.expectString)(output.Status),
3004
+ Status: smithy_client_1.expectString(output.Status),
2995
3005
  };
2996
3006
  };
2997
3007
  const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
@@ -3002,31 +3012,31 @@ const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
3002
3012
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
3003
3013
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
3004
3014
  : undefined,
3005
- AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
3006
- Id: (0, smithy_client_1.expectString)(output.Id),
3015
+ AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
3016
+ Id: smithy_client_1.expectString(output.Id),
3007
3017
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
3008
3018
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3009
3019
  : undefined,
3010
- Severity: (0, smithy_client_1.expectString)(output.Severity),
3020
+ Severity: smithy_client_1.expectString(output.Severity),
3011
3021
  SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
3012
3022
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3013
3023
  : undefined,
3014
- Status: (0, smithy_client_1.expectString)(output.Status),
3024
+ Status: smithy_client_1.expectString(output.Status),
3015
3025
  };
3016
3026
  };
3017
3027
  const deserializeAws_restJson1ReactiveInsight = (output, context) => {
3018
3028
  return {
3019
- Id: (0, smithy_client_1.expectString)(output.Id),
3029
+ Id: smithy_client_1.expectString(output.Id),
3020
3030
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
3021
3031
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
3022
3032
  : undefined,
3023
- Name: (0, smithy_client_1.expectString)(output.Name),
3033
+ Name: smithy_client_1.expectString(output.Name),
3024
3034
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
3025
3035
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3026
3036
  : undefined,
3027
- Severity: (0, smithy_client_1.expectString)(output.Severity),
3028
- SsmOpsItemId: (0, smithy_client_1.expectString)(output.SsmOpsItemId),
3029
- Status: (0, smithy_client_1.expectString)(output.Status),
3037
+ Severity: smithy_client_1.expectString(output.Severity),
3038
+ SsmOpsItemId: smithy_client_1.expectString(output.SsmOpsItemId),
3039
+ Status: smithy_client_1.expectString(output.Status),
3030
3040
  };
3031
3041
  };
3032
3042
  const deserializeAws_restJson1ReactiveInsights = (output, context) => {
@@ -3041,27 +3051,27 @@ const deserializeAws_restJson1ReactiveInsights = (output, context) => {
3041
3051
  };
3042
3052
  const deserializeAws_restJson1ReactiveInsightSummary = (output, context) => {
3043
3053
  return {
3044
- Id: (0, smithy_client_1.expectString)(output.Id),
3054
+ Id: smithy_client_1.expectString(output.Id),
3045
3055
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
3046
3056
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
3047
3057
  : undefined,
3048
- Name: (0, smithy_client_1.expectString)(output.Name),
3058
+ Name: smithy_client_1.expectString(output.Name),
3049
3059
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
3050
3060
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3051
3061
  : undefined,
3052
3062
  ServiceCollection: output.ServiceCollection !== undefined && output.ServiceCollection !== null
3053
3063
  ? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
3054
3064
  : undefined,
3055
- Severity: (0, smithy_client_1.expectString)(output.Severity),
3056
- Status: (0, smithy_client_1.expectString)(output.Status),
3065
+ Severity: smithy_client_1.expectString(output.Severity),
3066
+ Status: smithy_client_1.expectString(output.Status),
3057
3067
  };
3058
3068
  };
3059
3069
  const deserializeAws_restJson1Recommendation = (output, context) => {
3060
3070
  return {
3061
- Description: (0, smithy_client_1.expectString)(output.Description),
3062
- Link: (0, smithy_client_1.expectString)(output.Link),
3063
- Name: (0, smithy_client_1.expectString)(output.Name),
3064
- Reason: (0, smithy_client_1.expectString)(output.Reason),
3071
+ Description: smithy_client_1.expectString(output.Description),
3072
+ Link: smithy_client_1.expectString(output.Link),
3073
+ Name: smithy_client_1.expectString(output.Name),
3074
+ Reason: smithy_client_1.expectString(output.Reason),
3065
3075
  RelatedAnomalies: output.RelatedAnomalies !== undefined && output.RelatedAnomalies !== null
3066
3076
  ? deserializeAws_restJson1RecommendationRelatedAnomalies(output.RelatedAnomalies, context)
3067
3077
  : undefined,
@@ -3092,8 +3102,8 @@ const deserializeAws_restJson1RecommendationRelatedAnomaly = (output, context) =
3092
3102
  };
3093
3103
  const deserializeAws_restJson1RecommendationRelatedAnomalyResource = (output, context) => {
3094
3104
  return {
3095
- Name: (0, smithy_client_1.expectString)(output.Name),
3096
- Type: (0, smithy_client_1.expectString)(output.Type),
3105
+ Name: smithy_client_1.expectString(output.Name),
3106
+ Type: smithy_client_1.expectString(output.Type),
3097
3107
  };
3098
3108
  };
3099
3109
  const deserializeAws_restJson1RecommendationRelatedAnomalyResources = (output, context) => {
@@ -3115,8 +3125,8 @@ const deserializeAws_restJson1RecommendationRelatedAnomalySourceDetail = (output
3115
3125
  };
3116
3126
  const deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetail = (output, context) => {
3117
3127
  return {
3118
- MetricName: (0, smithy_client_1.expectString)(output.MetricName),
3119
- Namespace: (0, smithy_client_1.expectString)(output.Namespace),
3128
+ MetricName: smithy_client_1.expectString(output.MetricName),
3129
+ Namespace: smithy_client_1.expectString(output.Namespace),
3120
3130
  };
3121
3131
  };
3122
3132
  const deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetails = (output, context) => {
@@ -3131,7 +3141,7 @@ const deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetail
3131
3141
  };
3132
3142
  const deserializeAws_restJson1RecommendationRelatedEvent = (output, context) => {
3133
3143
  return {
3134
- Name: (0, smithy_client_1.expectString)(output.Name),
3144
+ Name: smithy_client_1.expectString(output.Name),
3135
3145
  Resources: output.Resources !== undefined && output.Resources !== null
3136
3146
  ? deserializeAws_restJson1RecommendationRelatedEventResources(output.Resources, context)
3137
3147
  : undefined,
@@ -3139,8 +3149,8 @@ const deserializeAws_restJson1RecommendationRelatedEvent = (output, context) =>
3139
3149
  };
3140
3150
  const deserializeAws_restJson1RecommendationRelatedEventResource = (output, context) => {
3141
3151
  return {
3142
- Name: (0, smithy_client_1.expectString)(output.Name),
3143
- Type: (0, smithy_client_1.expectString)(output.Type),
3152
+ Name: smithy_client_1.expectString(output.Name),
3153
+ Type: smithy_client_1.expectString(output.Type),
3144
3154
  };
3145
3155
  };
3146
3156
  const deserializeAws_restJson1RecommendationRelatedEventResources = (output, context) => {
@@ -3209,7 +3219,7 @@ const deserializeAws_restJson1ServiceHealth = (output, context) => {
3209
3219
  Insight: output.Insight !== undefined && output.Insight !== null
3210
3220
  ? deserializeAws_restJson1ServiceInsightHealth(output.Insight, context)
3211
3221
  : undefined,
3212
- ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
3222
+ ServiceName: smithy_client_1.expectString(output.ServiceName),
3213
3223
  };
3214
3224
  };
3215
3225
  const deserializeAws_restJson1ServiceHealths = (output, context) => {
@@ -3224,8 +3234,8 @@ const deserializeAws_restJson1ServiceHealths = (output, context) => {
3224
3234
  };
3225
3235
  const deserializeAws_restJson1ServiceInsightHealth = (output, context) => {
3226
3236
  return {
3227
- OpenProactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenProactiveInsights),
3228
- OpenReactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenReactiveInsights),
3237
+ OpenProactiveInsights: smithy_client_1.expectInt32(output.OpenProactiveInsights),
3238
+ OpenReactiveInsights: smithy_client_1.expectInt32(output.OpenReactiveInsights),
3229
3239
  };
3230
3240
  };
3231
3241
  const deserializeAws_restJson1ServiceIntegrationConfig = (output, context) => {
@@ -3242,16 +3252,16 @@ const deserializeAws_restJson1ServiceNames = (output, context) => {
3242
3252
  if (entry === null) {
3243
3253
  return null;
3244
3254
  }
3245
- return (0, smithy_client_1.expectString)(entry);
3255
+ return smithy_client_1.expectString(entry);
3246
3256
  });
3247
3257
  };
3248
3258
  const deserializeAws_restJson1ServiceResourceCost = (output, context) => {
3249
3259
  return {
3250
- Cost: (0, smithy_client_1.limitedParseDouble)(output.Cost),
3251
- Count: (0, smithy_client_1.expectInt32)(output.Count),
3252
- State: (0, smithy_client_1.expectString)(output.State),
3253
- Type: (0, smithy_client_1.expectString)(output.Type),
3254
- UnitCost: (0, smithy_client_1.limitedParseDouble)(output.UnitCost),
3260
+ Cost: smithy_client_1.limitedParseDouble(output.Cost),
3261
+ Count: smithy_client_1.expectInt32(output.Count),
3262
+ State: smithy_client_1.expectString(output.State),
3263
+ Type: smithy_client_1.expectString(output.Type),
3264
+ UnitCost: smithy_client_1.limitedParseDouble(output.UnitCost),
3255
3265
  };
3256
3266
  };
3257
3267
  const deserializeAws_restJson1ServiceResourceCosts = (output, context) => {
@@ -3266,7 +3276,7 @@ const deserializeAws_restJson1ServiceResourceCosts = (output, context) => {
3266
3276
  };
3267
3277
  const deserializeAws_restJson1SnsChannelConfig = (output, context) => {
3268
3278
  return {
3269
- TopicArn: (0, smithy_client_1.expectString)(output.TopicArn),
3279
+ TopicArn: smithy_client_1.expectString(output.TopicArn),
3270
3280
  };
3271
3281
  };
3272
3282
  const deserializeAws_restJson1StackNames = (output, context) => {
@@ -3276,13 +3286,13 @@ const deserializeAws_restJson1StackNames = (output, context) => {
3276
3286
  if (entry === null) {
3277
3287
  return null;
3278
3288
  }
3279
- return (0, smithy_client_1.expectString)(entry);
3289
+ return smithy_client_1.expectString(entry);
3280
3290
  });
3281
3291
  };
3282
3292
  const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
3283
3293
  return {
3284
- Message: (0, smithy_client_1.expectString)(output.Message),
3285
- Name: (0, smithy_client_1.expectString)(output.Name),
3294
+ Message: smithy_client_1.expectString(output.Message),
3295
+ Name: smithy_client_1.expectString(output.Name),
3286
3296
  };
3287
3297
  };
3288
3298
  const deserializeAws_restJson1ValidationExceptionFields = (output, context) => {