@aws-sdk/client-cost-explorer 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 (173) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/CostExplorerClient.js +13 -13
  3. package/dist/cjs/CostExplorerClient.js.map +1 -1
  4. package/dist/cjs/commands/CreateAnomalyMonitorCommand.js +3 -3
  5. package/dist/cjs/commands/CreateAnomalyMonitorCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateAnomalySubscriptionCommand.js +3 -3
  7. package/dist/cjs/commands/CreateAnomalySubscriptionCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateCostCategoryDefinitionCommand.js +3 -3
  9. package/dist/cjs/commands/CreateCostCategoryDefinitionCommand.js.map +1 -1
  10. package/dist/cjs/commands/DeleteAnomalyMonitorCommand.js +3 -3
  11. package/dist/cjs/commands/DeleteAnomalyMonitorCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeleteAnomalySubscriptionCommand.js +3 -3
  13. package/dist/cjs/commands/DeleteAnomalySubscriptionCommand.js.map +1 -1
  14. package/dist/cjs/commands/DeleteCostCategoryDefinitionCommand.js +3 -3
  15. package/dist/cjs/commands/DeleteCostCategoryDefinitionCommand.js.map +1 -1
  16. package/dist/cjs/commands/DescribeCostCategoryDefinitionCommand.js +3 -3
  17. package/dist/cjs/commands/DescribeCostCategoryDefinitionCommand.js.map +1 -1
  18. package/dist/cjs/commands/GetAnomaliesCommand.js +3 -3
  19. package/dist/cjs/commands/GetAnomaliesCommand.js.map +1 -1
  20. package/dist/cjs/commands/GetAnomalyMonitorsCommand.js +3 -3
  21. package/dist/cjs/commands/GetAnomalyMonitorsCommand.js.map +1 -1
  22. package/dist/cjs/commands/GetAnomalySubscriptionsCommand.js +3 -3
  23. package/dist/cjs/commands/GetAnomalySubscriptionsCommand.js.map +1 -1
  24. package/dist/cjs/commands/GetCostAndUsageCommand.js +3 -3
  25. package/dist/cjs/commands/GetCostAndUsageCommand.js.map +1 -1
  26. package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js +3 -3
  27. package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js.map +1 -1
  28. package/dist/cjs/commands/GetCostCategoriesCommand.js +3 -3
  29. package/dist/cjs/commands/GetCostCategoriesCommand.js.map +1 -1
  30. package/dist/cjs/commands/GetCostForecastCommand.js +3 -3
  31. package/dist/cjs/commands/GetCostForecastCommand.js.map +1 -1
  32. package/dist/cjs/commands/GetDimensionValuesCommand.js +3 -3
  33. package/dist/cjs/commands/GetDimensionValuesCommand.js.map +1 -1
  34. package/dist/cjs/commands/GetReservationCoverageCommand.js +3 -3
  35. package/dist/cjs/commands/GetReservationCoverageCommand.js.map +1 -1
  36. package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js +3 -3
  37. package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js.map +1 -1
  38. package/dist/cjs/commands/GetReservationUtilizationCommand.js +3 -3
  39. package/dist/cjs/commands/GetReservationUtilizationCommand.js.map +1 -1
  40. package/dist/cjs/commands/GetRightsizingRecommendationCommand.js +3 -3
  41. package/dist/cjs/commands/GetRightsizingRecommendationCommand.js.map +1 -1
  42. package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js +3 -3
  43. package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js.map +1 -1
  44. package/dist/cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js +3 -3
  45. package/dist/cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +1 -1
  46. package/dist/cjs/commands/GetSavingsPlansUtilizationCommand.js +3 -3
  47. package/dist/cjs/commands/GetSavingsPlansUtilizationCommand.js.map +1 -1
  48. package/dist/cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js +3 -3
  49. package/dist/cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +1 -1
  50. package/dist/cjs/commands/GetTagsCommand.js +3 -3
  51. package/dist/cjs/commands/GetTagsCommand.js.map +1 -1
  52. package/dist/cjs/commands/GetUsageForecastCommand.js +3 -3
  53. package/dist/cjs/commands/GetUsageForecastCommand.js.map +1 -1
  54. package/dist/cjs/commands/ListCostCategoryDefinitionsCommand.js +3 -3
  55. package/dist/cjs/commands/ListCostCategoryDefinitionsCommand.js.map +1 -1
  56. package/dist/cjs/commands/ProvideAnomalyFeedbackCommand.js +3 -3
  57. package/dist/cjs/commands/ProvideAnomalyFeedbackCommand.js.map +1 -1
  58. package/dist/cjs/commands/UpdateAnomalyMonitorCommand.js +3 -3
  59. package/dist/cjs/commands/UpdateAnomalyMonitorCommand.js.map +1 -1
  60. package/dist/cjs/commands/UpdateAnomalySubscriptionCommand.js +3 -3
  61. package/dist/cjs/commands/UpdateAnomalySubscriptionCommand.js.map +1 -1
  62. package/dist/cjs/commands/UpdateCostCategoryDefinitionCommand.js +3 -3
  63. package/dist/cjs/commands/UpdateCostCategoryDefinitionCommand.js.map +1 -1
  64. package/dist/cjs/endpoints.js +1 -1
  65. package/dist/cjs/endpoints.js.map +1 -1
  66. package/dist/cjs/index.js +37 -37
  67. package/dist/cjs/index.js.map +1 -1
  68. package/dist/cjs/models/index.js +1 -1
  69. package/dist/cjs/models/index.js.map +1 -1
  70. package/dist/cjs/package.json +39 -39
  71. package/dist/cjs/protocols/Aws_json1_1.js +314 -314
  72. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  73. package/dist/cjs/runtimeConfig.browser.js +4 -4
  74. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  75. package/dist/cjs/runtimeConfig.js +8 -8
  76. package/dist/cjs/runtimeConfig.js.map +1 -1
  77. package/dist/cjs/runtimeConfig.native.js +1 -1
  78. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  79. package/dist/es/CostExplorer.js +1 -19
  80. package/dist/es/CostExplorer.js.map +1 -1
  81. package/dist/es/CostExplorerClient.js +1 -24
  82. package/dist/es/CostExplorerClient.js.map +1 -1
  83. package/dist/es/commands/CreateAnomalyMonitorCommand.js +2 -28
  84. package/dist/es/commands/CreateAnomalyMonitorCommand.js.map +1 -1
  85. package/dist/es/commands/CreateAnomalySubscriptionCommand.js +2 -29
  86. package/dist/es/commands/CreateAnomalySubscriptionCommand.js.map +1 -1
  87. package/dist/es/commands/CreateCostCategoryDefinitionCommand.js +2 -27
  88. package/dist/es/commands/CreateCostCategoryDefinitionCommand.js.map +1 -1
  89. package/dist/es/commands/DeleteAnomalyMonitorCommand.js +2 -27
  90. package/dist/es/commands/DeleteAnomalyMonitorCommand.js.map +1 -1
  91. package/dist/es/commands/DeleteAnomalySubscriptionCommand.js +2 -27
  92. package/dist/es/commands/DeleteAnomalySubscriptionCommand.js.map +1 -1
  93. package/dist/es/commands/DeleteCostCategoryDefinitionCommand.js +2 -27
  94. package/dist/es/commands/DeleteCostCategoryDefinitionCommand.js.map +1 -1
  95. package/dist/es/commands/DescribeCostCategoryDefinitionCommand.js +2 -28
  96. package/dist/es/commands/DescribeCostCategoryDefinitionCommand.js.map +1 -1
  97. package/dist/es/commands/GetAnomaliesCommand.js +2 -28
  98. package/dist/es/commands/GetAnomaliesCommand.js.map +1 -1
  99. package/dist/es/commands/GetAnomalyMonitorsCommand.js +2 -28
  100. package/dist/es/commands/GetAnomalyMonitorsCommand.js.map +1 -1
  101. package/dist/es/commands/GetAnomalySubscriptionsCommand.js +2 -28
  102. package/dist/es/commands/GetAnomalySubscriptionsCommand.js.map +1 -1
  103. package/dist/es/commands/GetCostAndUsageCommand.js +2 -32
  104. package/dist/es/commands/GetCostAndUsageCommand.js.map +1 -1
  105. package/dist/es/commands/GetCostAndUsageWithResourcesCommand.js +2 -34
  106. package/dist/es/commands/GetCostAndUsageWithResourcesCommand.js.map +1 -1
  107. package/dist/es/commands/GetCostCategoriesCommand.js +2 -30
  108. package/dist/es/commands/GetCostCategoriesCommand.js.map +1 -1
  109. package/dist/es/commands/GetCostForecastCommand.js +2 -27
  110. package/dist/es/commands/GetCostForecastCommand.js.map +1 -1
  111. package/dist/es/commands/GetDimensionValuesCommand.js +2 -27
  112. package/dist/es/commands/GetDimensionValuesCommand.js.map +1 -1
  113. package/dist/es/commands/GetReservationCoverageCommand.js +2 -68
  114. package/dist/es/commands/GetReservationCoverageCommand.js.map +1 -1
  115. package/dist/es/commands/GetReservationPurchaseRecommendationCommand.js +2 -36
  116. package/dist/es/commands/GetReservationPurchaseRecommendationCommand.js.map +1 -1
  117. package/dist/es/commands/GetReservationUtilizationCommand.js +2 -29
  118. package/dist/es/commands/GetReservationUtilizationCommand.js.map +1 -1
  119. package/dist/es/commands/GetRightsizingRecommendationCommand.js +2 -36
  120. package/dist/es/commands/GetRightsizingRecommendationCommand.js.map +1 -1
  121. package/dist/es/commands/GetSavingsPlansCoverageCommand.js +2 -50
  122. package/dist/es/commands/GetSavingsPlansCoverageCommand.js.map +1 -1
  123. package/dist/es/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -27
  124. package/dist/es/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +1 -1
  125. package/dist/es/commands/GetSavingsPlansUtilizationCommand.js +2 -30
  126. package/dist/es/commands/GetSavingsPlansUtilizationCommand.js.map +1 -1
  127. package/dist/es/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -31
  128. package/dist/es/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +1 -1
  129. package/dist/es/commands/GetTagsCommand.js +2 -27
  130. package/dist/es/commands/GetTagsCommand.js.map +1 -1
  131. package/dist/es/commands/GetUsageForecastCommand.js +2 -27
  132. package/dist/es/commands/GetUsageForecastCommand.js.map +1 -1
  133. package/dist/es/commands/ListCostCategoryDefinitionsCommand.js +2 -27
  134. package/dist/es/commands/ListCostCategoryDefinitionsCommand.js.map +1 -1
  135. package/dist/es/commands/ProvideAnomalyFeedbackCommand.js +2 -27
  136. package/dist/es/commands/ProvideAnomalyFeedbackCommand.js.map +1 -1
  137. package/dist/es/commands/UpdateAnomalyMonitorCommand.js +2 -28
  138. package/dist/es/commands/UpdateAnomalyMonitorCommand.js.map +1 -1
  139. package/dist/es/commands/UpdateAnomalySubscriptionCommand.js +2 -27
  140. package/dist/es/commands/UpdateAnomalySubscriptionCommand.js.map +1 -1
  141. package/dist/es/commands/UpdateCostCategoryDefinitionCommand.js +2 -27
  142. package/dist/es/commands/UpdateCostCategoryDefinitionCommand.js.map +1 -1
  143. package/dist/es/endpoints.js +1 -1
  144. package/dist/es/endpoints.js.map +1 -1
  145. package/dist/es/models/models_0.js +0 -441
  146. package/dist/es/models/models_0.js.map +1 -1
  147. package/dist/es/package.json +39 -39
  148. package/dist/es/pagination/GetSavingsPlansCoveragePaginator.js +16 -28
  149. package/dist/es/pagination/GetSavingsPlansCoveragePaginator.js.map +1 -1
  150. package/dist/es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +16 -28
  151. package/dist/es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js.map +1 -1
  152. package/dist/es/pagination/ListCostCategoryDefinitionsPaginator.js +16 -28
  153. package/dist/es/pagination/ListCostCategoryDefinitionsPaginator.js.map +1 -1
  154. package/dist/es/protocols/Aws_json1_1.js +550 -555
  155. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  156. package/dist/es/runtimeConfig.browser.js +0 -3
  157. package/dist/es/runtimeConfig.browser.js.map +1 -1
  158. package/dist/es/runtimeConfig.js +0 -3
  159. package/dist/es/runtimeConfig.js.map +1 -1
  160. package/dist/es/runtimeConfig.native.js +0 -3
  161. package/dist/es/runtimeConfig.native.js.map +1 -1
  162. package/dist/es/runtimeConfig.shared.js +0 -3
  163. package/dist/es/runtimeConfig.shared.js.map +1 -1
  164. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  165. package/dist/types/runtimeConfig.d.ts +1 -0
  166. package/dist/types/runtimeConfig.native.d.ts +1 -0
  167. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  168. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  169. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  170. package/package.json +39 -39
  171. package/tsconfig.es.json +0 -2
  172. package/tsconfig.json +3 -5
  173. package/tsconfig.types.json +8 -0
@@ -2280,7 +2280,7 @@ const serializeAws_json1_1AnomalySubscription = (input, context) => {
2280
2280
  input.SubscriptionArn !== null && { SubscriptionArn: input.SubscriptionArn }),
2281
2281
  ...(input.SubscriptionName !== undefined &&
2282
2282
  input.SubscriptionName !== null && { SubscriptionName: input.SubscriptionName }),
2283
- ...(input.Threshold !== undefined && input.Threshold !== null && { Threshold: (0, smithy_client_1.serializeFloat)(input.Threshold) }),
2283
+ ...(input.Threshold !== undefined && input.Threshold !== null && { Threshold: smithy_client_1.serializeFloat(input.Threshold) }),
2284
2284
  };
2285
2285
  };
2286
2286
  const serializeAws_json1_1CostCategoryInheritedValueDimension = (input, context) => {
@@ -2860,11 +2860,11 @@ const serializeAws_json1_1TagValues = (input, context) => {
2860
2860
  };
2861
2861
  const serializeAws_json1_1TotalImpactFilter = (input, context) => {
2862
2862
  return {
2863
- ...(input.EndValue !== undefined && input.EndValue !== null && { EndValue: (0, smithy_client_1.serializeFloat)(input.EndValue) }),
2863
+ ...(input.EndValue !== undefined && input.EndValue !== null && { EndValue: smithy_client_1.serializeFloat(input.EndValue) }),
2864
2864
  ...(input.NumericOperator !== undefined &&
2865
2865
  input.NumericOperator !== null && { NumericOperator: input.NumericOperator }),
2866
2866
  ...(input.StartValue !== undefined &&
2867
- input.StartValue !== null && { StartValue: (0, smithy_client_1.serializeFloat)(input.StartValue) }),
2867
+ input.StartValue !== null && { StartValue: smithy_client_1.serializeFloat(input.StartValue) }),
2868
2868
  };
2869
2869
  };
2870
2870
  const serializeAws_json1_1UpdateAnomalyMonitorRequest = (input, context) => {
@@ -2886,7 +2886,7 @@ const serializeAws_json1_1UpdateAnomalySubscriptionRequest = (input, context) =>
2886
2886
  input.SubscriptionArn !== null && { SubscriptionArn: input.SubscriptionArn }),
2887
2887
  ...(input.SubscriptionName !== undefined &&
2888
2888
  input.SubscriptionName !== null && { SubscriptionName: input.SubscriptionName }),
2889
- ...(input.Threshold !== undefined && input.Threshold !== null && { Threshold: (0, smithy_client_1.serializeFloat)(input.Threshold) }),
2889
+ ...(input.Threshold !== undefined && input.Threshold !== null && { Threshold: smithy_client_1.serializeFloat(input.Threshold) }),
2890
2890
  };
2891
2891
  };
2892
2892
  const serializeAws_json1_1UpdateCostCategoryDefinitionRequest = (input, context) => {
@@ -2925,18 +2925,18 @@ const deserializeAws_json1_1Anomalies = (output, context) => {
2925
2925
  };
2926
2926
  const deserializeAws_json1_1Anomaly = (output, context) => {
2927
2927
  return {
2928
- AnomalyEndDate: (0, smithy_client_1.expectString)(output.AnomalyEndDate),
2929
- AnomalyId: (0, smithy_client_1.expectString)(output.AnomalyId),
2928
+ AnomalyEndDate: smithy_client_1.expectString(output.AnomalyEndDate),
2929
+ AnomalyId: smithy_client_1.expectString(output.AnomalyId),
2930
2930
  AnomalyScore: output.AnomalyScore !== undefined && output.AnomalyScore !== null
2931
2931
  ? deserializeAws_json1_1AnomalyScore(output.AnomalyScore, context)
2932
2932
  : undefined,
2933
- AnomalyStartDate: (0, smithy_client_1.expectString)(output.AnomalyStartDate),
2934
- DimensionValue: (0, smithy_client_1.expectString)(output.DimensionValue),
2935
- Feedback: (0, smithy_client_1.expectString)(output.Feedback),
2933
+ AnomalyStartDate: smithy_client_1.expectString(output.AnomalyStartDate),
2934
+ DimensionValue: smithy_client_1.expectString(output.DimensionValue),
2935
+ Feedback: smithy_client_1.expectString(output.Feedback),
2936
2936
  Impact: output.Impact !== undefined && output.Impact !== null
2937
2937
  ? deserializeAws_json1_1Impact(output.Impact, context)
2938
2938
  : undefined,
2939
- MonitorArn: (0, smithy_client_1.expectString)(output.MonitorArn),
2939
+ MonitorArn: smithy_client_1.expectString(output.MonitorArn),
2940
2940
  RootCauses: output.RootCauses !== undefined && output.RootCauses !== null
2941
2941
  ? deserializeAws_json1_1RootCauses(output.RootCauses, context)
2942
2942
  : undefined,
@@ -2944,17 +2944,17 @@ const deserializeAws_json1_1Anomaly = (output, context) => {
2944
2944
  };
2945
2945
  const deserializeAws_json1_1AnomalyMonitor = (output, context) => {
2946
2946
  return {
2947
- CreationDate: (0, smithy_client_1.expectString)(output.CreationDate),
2948
- DimensionalValueCount: (0, smithy_client_1.expectInt32)(output.DimensionalValueCount),
2949
- LastEvaluatedDate: (0, smithy_client_1.expectString)(output.LastEvaluatedDate),
2950
- LastUpdatedDate: (0, smithy_client_1.expectString)(output.LastUpdatedDate),
2951
- MonitorArn: (0, smithy_client_1.expectString)(output.MonitorArn),
2952
- MonitorDimension: (0, smithy_client_1.expectString)(output.MonitorDimension),
2953
- MonitorName: (0, smithy_client_1.expectString)(output.MonitorName),
2947
+ CreationDate: smithy_client_1.expectString(output.CreationDate),
2948
+ DimensionalValueCount: smithy_client_1.expectInt32(output.DimensionalValueCount),
2949
+ LastEvaluatedDate: smithy_client_1.expectString(output.LastEvaluatedDate),
2950
+ LastUpdatedDate: smithy_client_1.expectString(output.LastUpdatedDate),
2951
+ MonitorArn: smithy_client_1.expectString(output.MonitorArn),
2952
+ MonitorDimension: smithy_client_1.expectString(output.MonitorDimension),
2953
+ MonitorName: smithy_client_1.expectString(output.MonitorName),
2954
2954
  MonitorSpecification: output.MonitorSpecification !== undefined && output.MonitorSpecification !== null
2955
2955
  ? deserializeAws_json1_1Expression(output.MonitorSpecification, context)
2956
2956
  : undefined,
2957
- MonitorType: (0, smithy_client_1.expectString)(output.MonitorType),
2957
+ MonitorType: smithy_client_1.expectString(output.MonitorType),
2958
2958
  };
2959
2959
  };
2960
2960
  const deserializeAws_json1_1AnomalyMonitors = (output, context) => {
@@ -2969,23 +2969,23 @@ const deserializeAws_json1_1AnomalyMonitors = (output, context) => {
2969
2969
  };
2970
2970
  const deserializeAws_json1_1AnomalyScore = (output, context) => {
2971
2971
  return {
2972
- CurrentScore: (0, smithy_client_1.limitedParseDouble)(output.CurrentScore),
2973
- MaxScore: (0, smithy_client_1.limitedParseDouble)(output.MaxScore),
2972
+ CurrentScore: smithy_client_1.limitedParseDouble(output.CurrentScore),
2973
+ MaxScore: smithy_client_1.limitedParseDouble(output.MaxScore),
2974
2974
  };
2975
2975
  };
2976
2976
  const deserializeAws_json1_1AnomalySubscription = (output, context) => {
2977
2977
  return {
2978
- AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2979
- Frequency: (0, smithy_client_1.expectString)(output.Frequency),
2978
+ AccountId: smithy_client_1.expectString(output.AccountId),
2979
+ Frequency: smithy_client_1.expectString(output.Frequency),
2980
2980
  MonitorArnList: output.MonitorArnList !== undefined && output.MonitorArnList !== null
2981
2981
  ? deserializeAws_json1_1MonitorArnList(output.MonitorArnList, context)
2982
2982
  : undefined,
2983
2983
  Subscribers: output.Subscribers !== undefined && output.Subscribers !== null
2984
2984
  ? deserializeAws_json1_1Subscribers(output.Subscribers, context)
2985
2985
  : undefined,
2986
- SubscriptionArn: (0, smithy_client_1.expectString)(output.SubscriptionArn),
2987
- SubscriptionName: (0, smithy_client_1.expectString)(output.SubscriptionName),
2988
- Threshold: (0, smithy_client_1.limitedParseDouble)(output.Threshold),
2986
+ SubscriptionArn: smithy_client_1.expectString(output.SubscriptionArn),
2987
+ SubscriptionName: smithy_client_1.expectString(output.SubscriptionName),
2988
+ Threshold: smithy_client_1.limitedParseDouble(output.Threshold),
2989
2989
  };
2990
2990
  };
2991
2991
  const deserializeAws_json1_1AnomalySubscriptions = (output, context) => {
@@ -3005,26 +3005,26 @@ const deserializeAws_json1_1Attributes = (output, context) => {
3005
3005
  }
3006
3006
  return {
3007
3007
  ...acc,
3008
- [key]: (0, smithy_client_1.expectString)(value),
3008
+ [key]: smithy_client_1.expectString(value),
3009
3009
  };
3010
3010
  }, {});
3011
3011
  };
3012
3012
  const deserializeAws_json1_1BillExpirationException = (output, context) => {
3013
3013
  return {
3014
- Message: (0, smithy_client_1.expectString)(output.Message),
3014
+ Message: smithy_client_1.expectString(output.Message),
3015
3015
  };
3016
3016
  };
3017
3017
  const deserializeAws_json1_1CostCategory = (output, context) => {
3018
3018
  return {
3019
- CostCategoryArn: (0, smithy_client_1.expectString)(output.CostCategoryArn),
3020
- DefaultValue: (0, smithy_client_1.expectString)(output.DefaultValue),
3021
- EffectiveEnd: (0, smithy_client_1.expectString)(output.EffectiveEnd),
3022
- EffectiveStart: (0, smithy_client_1.expectString)(output.EffectiveStart),
3023
- Name: (0, smithy_client_1.expectString)(output.Name),
3019
+ CostCategoryArn: smithy_client_1.expectString(output.CostCategoryArn),
3020
+ DefaultValue: smithy_client_1.expectString(output.DefaultValue),
3021
+ EffectiveEnd: smithy_client_1.expectString(output.EffectiveEnd),
3022
+ EffectiveStart: smithy_client_1.expectString(output.EffectiveStart),
3023
+ Name: smithy_client_1.expectString(output.Name),
3024
3024
  ProcessingStatus: output.ProcessingStatus !== undefined && output.ProcessingStatus !== null
3025
3025
  ? deserializeAws_json1_1CostCategoryProcessingStatusList(output.ProcessingStatus, context)
3026
3026
  : undefined,
3027
- RuleVersion: (0, smithy_client_1.expectString)(output.RuleVersion),
3027
+ RuleVersion: smithy_client_1.expectString(output.RuleVersion),
3028
3028
  Rules: output.Rules !== undefined && output.Rules !== null
3029
3029
  ? deserializeAws_json1_1CostCategoryRulesList(output.Rules, context)
3030
3030
  : undefined,
@@ -3035,8 +3035,8 @@ const deserializeAws_json1_1CostCategory = (output, context) => {
3035
3035
  };
3036
3036
  const deserializeAws_json1_1CostCategoryInheritedValueDimension = (output, context) => {
3037
3037
  return {
3038
- DimensionKey: (0, smithy_client_1.expectString)(output.DimensionKey),
3039
- DimensionName: (0, smithy_client_1.expectString)(output.DimensionName),
3038
+ DimensionKey: smithy_client_1.expectString(output.DimensionKey),
3039
+ DimensionName: smithy_client_1.expectString(output.DimensionName),
3040
3040
  };
3041
3041
  };
3042
3042
  const deserializeAws_json1_1CostCategoryNamesList = (output, context) => {
@@ -3046,13 +3046,13 @@ const deserializeAws_json1_1CostCategoryNamesList = (output, context) => {
3046
3046
  if (entry === null) {
3047
3047
  return null;
3048
3048
  }
3049
- return (0, smithy_client_1.expectString)(entry);
3049
+ return smithy_client_1.expectString(entry);
3050
3050
  });
3051
3051
  };
3052
3052
  const deserializeAws_json1_1CostCategoryProcessingStatus = (output, context) => {
3053
3053
  return {
3054
- Component: (0, smithy_client_1.expectString)(output.Component),
3055
- Status: (0, smithy_client_1.expectString)(output.Status),
3054
+ Component: smithy_client_1.expectString(output.Component),
3055
+ Status: smithy_client_1.expectString(output.Status),
3056
3056
  };
3057
3057
  };
3058
3058
  const deserializeAws_json1_1CostCategoryProcessingStatusList = (output, context) => {
@@ -3067,12 +3067,12 @@ const deserializeAws_json1_1CostCategoryProcessingStatusList = (output, context)
3067
3067
  };
3068
3068
  const deserializeAws_json1_1CostCategoryReference = (output, context) => {
3069
3069
  return {
3070
- CostCategoryArn: (0, smithy_client_1.expectString)(output.CostCategoryArn),
3071
- DefaultValue: (0, smithy_client_1.expectString)(output.DefaultValue),
3072
- EffectiveEnd: (0, smithy_client_1.expectString)(output.EffectiveEnd),
3073
- EffectiveStart: (0, smithy_client_1.expectString)(output.EffectiveStart),
3074
- Name: (0, smithy_client_1.expectString)(output.Name),
3075
- NumberOfRules: (0, smithy_client_1.expectInt32)(output.NumberOfRules),
3070
+ CostCategoryArn: smithy_client_1.expectString(output.CostCategoryArn),
3071
+ DefaultValue: smithy_client_1.expectString(output.DefaultValue),
3072
+ EffectiveEnd: smithy_client_1.expectString(output.EffectiveEnd),
3073
+ EffectiveStart: smithy_client_1.expectString(output.EffectiveStart),
3074
+ Name: smithy_client_1.expectString(output.Name),
3075
+ NumberOfRules: smithy_client_1.expectInt32(output.NumberOfRules),
3076
3076
  ProcessingStatus: output.ProcessingStatus !== undefined && output.ProcessingStatus !== null
3077
3077
  ? deserializeAws_json1_1CostCategoryProcessingStatusList(output.ProcessingStatus, context)
3078
3078
  : undefined,
@@ -3099,8 +3099,8 @@ const deserializeAws_json1_1CostCategoryRule = (output, context) => {
3099
3099
  Rule: output.Rule !== undefined && output.Rule !== null
3100
3100
  ? deserializeAws_json1_1Expression(output.Rule, context)
3101
3101
  : undefined,
3102
- Type: (0, smithy_client_1.expectString)(output.Type),
3103
- Value: (0, smithy_client_1.expectString)(output.Value),
3102
+ Type: smithy_client_1.expectString(output.Type),
3103
+ Value: smithy_client_1.expectString(output.Value),
3104
3104
  };
3105
3105
  };
3106
3106
  const deserializeAws_json1_1CostCategoryRulesList = (output, context) => {
@@ -3115,11 +3115,11 @@ const deserializeAws_json1_1CostCategoryRulesList = (output, context) => {
3115
3115
  };
3116
3116
  const deserializeAws_json1_1CostCategorySplitChargeRule = (output, context) => {
3117
3117
  return {
3118
- Method: (0, smithy_client_1.expectString)(output.Method),
3118
+ Method: smithy_client_1.expectString(output.Method),
3119
3119
  Parameters: output.Parameters !== undefined && output.Parameters !== null
3120
3120
  ? deserializeAws_json1_1CostCategorySplitChargeRuleParametersList(output.Parameters, context)
3121
3121
  : undefined,
3122
- Source: (0, smithy_client_1.expectString)(output.Source),
3122
+ Source: smithy_client_1.expectString(output.Source),
3123
3123
  Targets: output.Targets !== undefined && output.Targets !== null
3124
3124
  ? deserializeAws_json1_1CostCategorySplitChargeRuleTargetsList(output.Targets, context)
3125
3125
  : undefined,
@@ -3127,7 +3127,7 @@ const deserializeAws_json1_1CostCategorySplitChargeRule = (output, context) => {
3127
3127
  };
3128
3128
  const deserializeAws_json1_1CostCategorySplitChargeRuleParameter = (output, context) => {
3129
3129
  return {
3130
- Type: (0, smithy_client_1.expectString)(output.Type),
3130
+ Type: smithy_client_1.expectString(output.Type),
3131
3131
  Values: output.Values !== undefined && output.Values !== null
3132
3132
  ? deserializeAws_json1_1CostCategorySplitChargeRuleParameterValuesList(output.Values, context)
3133
3133
  : undefined,
@@ -3150,7 +3150,7 @@ const deserializeAws_json1_1CostCategorySplitChargeRuleParameterValuesList = (ou
3150
3150
  if (entry === null) {
3151
3151
  return null;
3152
3152
  }
3153
- return (0, smithy_client_1.expectString)(entry);
3153
+ return smithy_client_1.expectString(entry);
3154
3154
  });
3155
3155
  };
3156
3156
  const deserializeAws_json1_1CostCategorySplitChargeRulesList = (output, context) => {
@@ -3170,12 +3170,12 @@ const deserializeAws_json1_1CostCategorySplitChargeRuleTargetsList = (output, co
3170
3170
  if (entry === null) {
3171
3171
  return null;
3172
3172
  }
3173
- return (0, smithy_client_1.expectString)(entry);
3173
+ return smithy_client_1.expectString(entry);
3174
3174
  });
3175
3175
  };
3176
3176
  const deserializeAws_json1_1CostCategoryValues = (output, context) => {
3177
3177
  return {
3178
- Key: (0, smithy_client_1.expectString)(output.Key),
3178
+ Key: smithy_client_1.expectString(output.Key),
3179
3179
  MatchOptions: output.MatchOptions !== undefined && output.MatchOptions !== null
3180
3180
  ? deserializeAws_json1_1MatchOptions(output.MatchOptions, context)
3181
3181
  : undefined,
@@ -3191,7 +3191,7 @@ const deserializeAws_json1_1CostCategoryValuesList = (output, context) => {
3191
3191
  if (entry === null) {
3192
3192
  return null;
3193
3193
  }
3194
- return (0, smithy_client_1.expectString)(entry);
3194
+ return smithy_client_1.expectString(entry);
3195
3195
  });
3196
3196
  };
3197
3197
  const deserializeAws_json1_1Coverage = (output, context) => {
@@ -3222,23 +3222,23 @@ const deserializeAws_json1_1CoverageByTime = (output, context) => {
3222
3222
  };
3223
3223
  const deserializeAws_json1_1CoverageCost = (output, context) => {
3224
3224
  return {
3225
- OnDemandCost: (0, smithy_client_1.expectString)(output.OnDemandCost),
3225
+ OnDemandCost: smithy_client_1.expectString(output.OnDemandCost),
3226
3226
  };
3227
3227
  };
3228
3228
  const deserializeAws_json1_1CoverageHours = (output, context) => {
3229
3229
  return {
3230
- CoverageHoursPercentage: (0, smithy_client_1.expectString)(output.CoverageHoursPercentage),
3231
- OnDemandHours: (0, smithy_client_1.expectString)(output.OnDemandHours),
3232
- ReservedHours: (0, smithy_client_1.expectString)(output.ReservedHours),
3233
- TotalRunningHours: (0, smithy_client_1.expectString)(output.TotalRunningHours),
3230
+ CoverageHoursPercentage: smithy_client_1.expectString(output.CoverageHoursPercentage),
3231
+ OnDemandHours: smithy_client_1.expectString(output.OnDemandHours),
3232
+ ReservedHours: smithy_client_1.expectString(output.ReservedHours),
3233
+ TotalRunningHours: smithy_client_1.expectString(output.TotalRunningHours),
3234
3234
  };
3235
3235
  };
3236
3236
  const deserializeAws_json1_1CoverageNormalizedUnits = (output, context) => {
3237
3237
  return {
3238
- CoverageNormalizedUnitsPercentage: (0, smithy_client_1.expectString)(output.CoverageNormalizedUnitsPercentage),
3239
- OnDemandNormalizedUnits: (0, smithy_client_1.expectString)(output.OnDemandNormalizedUnits),
3240
- ReservedNormalizedUnits: (0, smithy_client_1.expectString)(output.ReservedNormalizedUnits),
3241
- TotalRunningNormalizedUnits: (0, smithy_client_1.expectString)(output.TotalRunningNormalizedUnits),
3238
+ CoverageNormalizedUnitsPercentage: smithy_client_1.expectString(output.CoverageNormalizedUnitsPercentage),
3239
+ OnDemandNormalizedUnits: smithy_client_1.expectString(output.OnDemandNormalizedUnits),
3240
+ ReservedNormalizedUnits: smithy_client_1.expectString(output.ReservedNormalizedUnits),
3241
+ TotalRunningNormalizedUnits: smithy_client_1.expectString(output.TotalRunningNormalizedUnits),
3242
3242
  };
3243
3243
  };
3244
3244
  const deserializeAws_json1_1CoveragesByTime = (output, context) => {
@@ -3253,50 +3253,50 @@ const deserializeAws_json1_1CoveragesByTime = (output, context) => {
3253
3253
  };
3254
3254
  const deserializeAws_json1_1CreateAnomalyMonitorResponse = (output, context) => {
3255
3255
  return {
3256
- MonitorArn: (0, smithy_client_1.expectString)(output.MonitorArn),
3256
+ MonitorArn: smithy_client_1.expectString(output.MonitorArn),
3257
3257
  };
3258
3258
  };
3259
3259
  const deserializeAws_json1_1CreateAnomalySubscriptionResponse = (output, context) => {
3260
3260
  return {
3261
- SubscriptionArn: (0, smithy_client_1.expectString)(output.SubscriptionArn),
3261
+ SubscriptionArn: smithy_client_1.expectString(output.SubscriptionArn),
3262
3262
  };
3263
3263
  };
3264
3264
  const deserializeAws_json1_1CreateCostCategoryDefinitionResponse = (output, context) => {
3265
3265
  return {
3266
- CostCategoryArn: (0, smithy_client_1.expectString)(output.CostCategoryArn),
3267
- EffectiveStart: (0, smithy_client_1.expectString)(output.EffectiveStart),
3266
+ CostCategoryArn: smithy_client_1.expectString(output.CostCategoryArn),
3267
+ EffectiveStart: smithy_client_1.expectString(output.EffectiveStart),
3268
3268
  };
3269
3269
  };
3270
3270
  const deserializeAws_json1_1CurrentInstance = (output, context) => {
3271
3271
  return {
3272
- CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
3273
- InstanceName: (0, smithy_client_1.expectString)(output.InstanceName),
3274
- MonthlyCost: (0, smithy_client_1.expectString)(output.MonthlyCost),
3275
- OnDemandHoursInLookbackPeriod: (0, smithy_client_1.expectString)(output.OnDemandHoursInLookbackPeriod),
3276
- ReservationCoveredHoursInLookbackPeriod: (0, smithy_client_1.expectString)(output.ReservationCoveredHoursInLookbackPeriod),
3272
+ CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
3273
+ InstanceName: smithy_client_1.expectString(output.InstanceName),
3274
+ MonthlyCost: smithy_client_1.expectString(output.MonthlyCost),
3275
+ OnDemandHoursInLookbackPeriod: smithy_client_1.expectString(output.OnDemandHoursInLookbackPeriod),
3276
+ ReservationCoveredHoursInLookbackPeriod: smithy_client_1.expectString(output.ReservationCoveredHoursInLookbackPeriod),
3277
3277
  ResourceDetails: output.ResourceDetails !== undefined && output.ResourceDetails !== null
3278
3278
  ? deserializeAws_json1_1ResourceDetails(output.ResourceDetails, context)
3279
3279
  : undefined,
3280
- ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
3280
+ ResourceId: smithy_client_1.expectString(output.ResourceId),
3281
3281
  ResourceUtilization: output.ResourceUtilization !== undefined && output.ResourceUtilization !== null
3282
3282
  ? deserializeAws_json1_1ResourceUtilization(output.ResourceUtilization, context)
3283
3283
  : undefined,
3284
- SavingsPlansCoveredHoursInLookbackPeriod: (0, smithy_client_1.expectString)(output.SavingsPlansCoveredHoursInLookbackPeriod),
3284
+ SavingsPlansCoveredHoursInLookbackPeriod: smithy_client_1.expectString(output.SavingsPlansCoveredHoursInLookbackPeriod),
3285
3285
  Tags: output.Tags !== undefined && output.Tags !== null
3286
3286
  ? deserializeAws_json1_1TagValuesList(output.Tags, context)
3287
3287
  : undefined,
3288
- TotalRunningHoursInLookbackPeriod: (0, smithy_client_1.expectString)(output.TotalRunningHoursInLookbackPeriod),
3288
+ TotalRunningHoursInLookbackPeriod: smithy_client_1.expectString(output.TotalRunningHoursInLookbackPeriod),
3289
3289
  };
3290
3290
  };
3291
3291
  const deserializeAws_json1_1DataUnavailableException = (output, context) => {
3292
3292
  return {
3293
- Message: (0, smithy_client_1.expectString)(output.Message),
3293
+ Message: smithy_client_1.expectString(output.Message),
3294
3294
  };
3295
3295
  };
3296
3296
  const deserializeAws_json1_1DateInterval = (output, context) => {
3297
3297
  return {
3298
- End: (0, smithy_client_1.expectString)(output.End),
3299
- Start: (0, smithy_client_1.expectString)(output.Start),
3298
+ End: smithy_client_1.expectString(output.End),
3299
+ Start: smithy_client_1.expectString(output.Start),
3300
3300
  };
3301
3301
  };
3302
3302
  const deserializeAws_json1_1DeleteAnomalyMonitorResponse = (output, context) => {
@@ -3307,8 +3307,8 @@ const deserializeAws_json1_1DeleteAnomalySubscriptionResponse = (output, context
3307
3307
  };
3308
3308
  const deserializeAws_json1_1DeleteCostCategoryDefinitionResponse = (output, context) => {
3309
3309
  return {
3310
- CostCategoryArn: (0, smithy_client_1.expectString)(output.CostCategoryArn),
3311
- EffectiveEnd: (0, smithy_client_1.expectString)(output.EffectiveEnd),
3310
+ CostCategoryArn: smithy_client_1.expectString(output.CostCategoryArn),
3311
+ EffectiveEnd: smithy_client_1.expectString(output.EffectiveEnd),
3312
3312
  };
3313
3313
  };
3314
3314
  const deserializeAws_json1_1DescribeCostCategoryDefinitionResponse = (output, context) => {
@@ -3320,7 +3320,7 @@ const deserializeAws_json1_1DescribeCostCategoryDefinitionResponse = (output, co
3320
3320
  };
3321
3321
  const deserializeAws_json1_1DimensionValues = (output, context) => {
3322
3322
  return {
3323
- Key: (0, smithy_client_1.expectString)(output.Key),
3323
+ Key: smithy_client_1.expectString(output.Key),
3324
3324
  MatchOptions: output.MatchOptions !== undefined && output.MatchOptions !== null
3325
3325
  ? deserializeAws_json1_1MatchOptions(output.MatchOptions, context)
3326
3326
  : undefined,
@@ -3334,7 +3334,7 @@ const deserializeAws_json1_1DimensionValuesWithAttributes = (output, context) =>
3334
3334
  Attributes: output.Attributes !== undefined && output.Attributes !== null
3335
3335
  ? deserializeAws_json1_1Attributes(output.Attributes, context)
3336
3336
  : undefined,
3337
- Value: (0, smithy_client_1.expectString)(output.Value),
3337
+ Value: smithy_client_1.expectString(output.Value),
3338
3338
  };
3339
3339
  };
3340
3340
  const deserializeAws_json1_1DimensionValuesWithAttributesList = (output, context) => {
@@ -3349,43 +3349,43 @@ const deserializeAws_json1_1DimensionValuesWithAttributesList = (output, context
3349
3349
  };
3350
3350
  const deserializeAws_json1_1DiskResourceUtilization = (output, context) => {
3351
3351
  return {
3352
- DiskReadBytesPerSecond: (0, smithy_client_1.expectString)(output.DiskReadBytesPerSecond),
3353
- DiskReadOpsPerSecond: (0, smithy_client_1.expectString)(output.DiskReadOpsPerSecond),
3354
- DiskWriteBytesPerSecond: (0, smithy_client_1.expectString)(output.DiskWriteBytesPerSecond),
3355
- DiskWriteOpsPerSecond: (0, smithy_client_1.expectString)(output.DiskWriteOpsPerSecond),
3352
+ DiskReadBytesPerSecond: smithy_client_1.expectString(output.DiskReadBytesPerSecond),
3353
+ DiskReadOpsPerSecond: smithy_client_1.expectString(output.DiskReadOpsPerSecond),
3354
+ DiskWriteBytesPerSecond: smithy_client_1.expectString(output.DiskWriteBytesPerSecond),
3355
+ DiskWriteOpsPerSecond: smithy_client_1.expectString(output.DiskWriteOpsPerSecond),
3356
3356
  };
3357
3357
  };
3358
3358
  const deserializeAws_json1_1EBSResourceUtilization = (output, context) => {
3359
3359
  return {
3360
- EbsReadBytesPerSecond: (0, smithy_client_1.expectString)(output.EbsReadBytesPerSecond),
3361
- EbsReadOpsPerSecond: (0, smithy_client_1.expectString)(output.EbsReadOpsPerSecond),
3362
- EbsWriteBytesPerSecond: (0, smithy_client_1.expectString)(output.EbsWriteBytesPerSecond),
3363
- EbsWriteOpsPerSecond: (0, smithy_client_1.expectString)(output.EbsWriteOpsPerSecond),
3360
+ EbsReadBytesPerSecond: smithy_client_1.expectString(output.EbsReadBytesPerSecond),
3361
+ EbsReadOpsPerSecond: smithy_client_1.expectString(output.EbsReadOpsPerSecond),
3362
+ EbsWriteBytesPerSecond: smithy_client_1.expectString(output.EbsWriteBytesPerSecond),
3363
+ EbsWriteOpsPerSecond: smithy_client_1.expectString(output.EbsWriteOpsPerSecond),
3364
3364
  };
3365
3365
  };
3366
3366
  const deserializeAws_json1_1EC2InstanceDetails = (output, context) => {
3367
3367
  return {
3368
- AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
3369
- CurrentGeneration: (0, smithy_client_1.expectBoolean)(output.CurrentGeneration),
3370
- Family: (0, smithy_client_1.expectString)(output.Family),
3371
- InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
3372
- Platform: (0, smithy_client_1.expectString)(output.Platform),
3373
- Region: (0, smithy_client_1.expectString)(output.Region),
3374
- SizeFlexEligible: (0, smithy_client_1.expectBoolean)(output.SizeFlexEligible),
3375
- Tenancy: (0, smithy_client_1.expectString)(output.Tenancy),
3368
+ AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
3369
+ CurrentGeneration: smithy_client_1.expectBoolean(output.CurrentGeneration),
3370
+ Family: smithy_client_1.expectString(output.Family),
3371
+ InstanceType: smithy_client_1.expectString(output.InstanceType),
3372
+ Platform: smithy_client_1.expectString(output.Platform),
3373
+ Region: smithy_client_1.expectString(output.Region),
3374
+ SizeFlexEligible: smithy_client_1.expectBoolean(output.SizeFlexEligible),
3375
+ Tenancy: smithy_client_1.expectString(output.Tenancy),
3376
3376
  };
3377
3377
  };
3378
3378
  const deserializeAws_json1_1EC2ResourceDetails = (output, context) => {
3379
3379
  return {
3380
- HourlyOnDemandRate: (0, smithy_client_1.expectString)(output.HourlyOnDemandRate),
3381
- InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
3382
- Memory: (0, smithy_client_1.expectString)(output.Memory),
3383
- NetworkPerformance: (0, smithy_client_1.expectString)(output.NetworkPerformance),
3384
- Platform: (0, smithy_client_1.expectString)(output.Platform),
3385
- Region: (0, smithy_client_1.expectString)(output.Region),
3386
- Sku: (0, smithy_client_1.expectString)(output.Sku),
3387
- Storage: (0, smithy_client_1.expectString)(output.Storage),
3388
- Vcpu: (0, smithy_client_1.expectString)(output.Vcpu),
3380
+ HourlyOnDemandRate: smithy_client_1.expectString(output.HourlyOnDemandRate),
3381
+ InstanceType: smithy_client_1.expectString(output.InstanceType),
3382
+ Memory: smithy_client_1.expectString(output.Memory),
3383
+ NetworkPerformance: smithy_client_1.expectString(output.NetworkPerformance),
3384
+ Platform: smithy_client_1.expectString(output.Platform),
3385
+ Region: smithy_client_1.expectString(output.Region),
3386
+ Sku: smithy_client_1.expectString(output.Sku),
3387
+ Storage: smithy_client_1.expectString(output.Storage),
3388
+ Vcpu: smithy_client_1.expectString(output.Vcpu),
3389
3389
  };
3390
3390
  };
3391
3391
  const deserializeAws_json1_1EC2ResourceUtilization = (output, context) => {
@@ -3396,9 +3396,9 @@ const deserializeAws_json1_1EC2ResourceUtilization = (output, context) => {
3396
3396
  EBSResourceUtilization: output.EBSResourceUtilization !== undefined && output.EBSResourceUtilization !== null
3397
3397
  ? deserializeAws_json1_1EBSResourceUtilization(output.EBSResourceUtilization, context)
3398
3398
  : undefined,
3399
- MaxCpuUtilizationPercentage: (0, smithy_client_1.expectString)(output.MaxCpuUtilizationPercentage),
3400
- MaxMemoryUtilizationPercentage: (0, smithy_client_1.expectString)(output.MaxMemoryUtilizationPercentage),
3401
- MaxStorageUtilizationPercentage: (0, smithy_client_1.expectString)(output.MaxStorageUtilizationPercentage),
3399
+ MaxCpuUtilizationPercentage: smithy_client_1.expectString(output.MaxCpuUtilizationPercentage),
3400
+ MaxMemoryUtilizationPercentage: smithy_client_1.expectString(output.MaxMemoryUtilizationPercentage),
3401
+ MaxStorageUtilizationPercentage: smithy_client_1.expectString(output.MaxStorageUtilizationPercentage),
3402
3402
  NetworkResourceUtilization: output.NetworkResourceUtilization !== undefined && output.NetworkResourceUtilization !== null
3403
3403
  ? deserializeAws_json1_1NetworkResourceUtilization(output.NetworkResourceUtilization, context)
3404
3404
  : undefined,
@@ -3406,26 +3406,26 @@ const deserializeAws_json1_1EC2ResourceUtilization = (output, context) => {
3406
3406
  };
3407
3407
  const deserializeAws_json1_1EC2Specification = (output, context) => {
3408
3408
  return {
3409
- OfferingClass: (0, smithy_client_1.expectString)(output.OfferingClass),
3409
+ OfferingClass: smithy_client_1.expectString(output.OfferingClass),
3410
3410
  };
3411
3411
  };
3412
3412
  const deserializeAws_json1_1ElastiCacheInstanceDetails = (output, context) => {
3413
3413
  return {
3414
- CurrentGeneration: (0, smithy_client_1.expectBoolean)(output.CurrentGeneration),
3415
- Family: (0, smithy_client_1.expectString)(output.Family),
3416
- NodeType: (0, smithy_client_1.expectString)(output.NodeType),
3417
- ProductDescription: (0, smithy_client_1.expectString)(output.ProductDescription),
3418
- Region: (0, smithy_client_1.expectString)(output.Region),
3419
- SizeFlexEligible: (0, smithy_client_1.expectBoolean)(output.SizeFlexEligible),
3414
+ CurrentGeneration: smithy_client_1.expectBoolean(output.CurrentGeneration),
3415
+ Family: smithy_client_1.expectString(output.Family),
3416
+ NodeType: smithy_client_1.expectString(output.NodeType),
3417
+ ProductDescription: smithy_client_1.expectString(output.ProductDescription),
3418
+ Region: smithy_client_1.expectString(output.Region),
3419
+ SizeFlexEligible: smithy_client_1.expectBoolean(output.SizeFlexEligible),
3420
3420
  };
3421
3421
  };
3422
3422
  const deserializeAws_json1_1ESInstanceDetails = (output, context) => {
3423
3423
  return {
3424
- CurrentGeneration: (0, smithy_client_1.expectBoolean)(output.CurrentGeneration),
3425
- InstanceClass: (0, smithy_client_1.expectString)(output.InstanceClass),
3426
- InstanceSize: (0, smithy_client_1.expectString)(output.InstanceSize),
3427
- Region: (0, smithy_client_1.expectString)(output.Region),
3428
- SizeFlexEligible: (0, smithy_client_1.expectBoolean)(output.SizeFlexEligible),
3424
+ CurrentGeneration: smithy_client_1.expectBoolean(output.CurrentGeneration),
3425
+ InstanceClass: smithy_client_1.expectString(output.InstanceClass),
3426
+ InstanceSize: smithy_client_1.expectString(output.InstanceSize),
3427
+ Region: smithy_client_1.expectString(output.Region),
3428
+ SizeFlexEligible: smithy_client_1.expectBoolean(output.SizeFlexEligible),
3429
3429
  };
3430
3430
  };
3431
3431
  const deserializeAws_json1_1Expression = (output, context) => {
@@ -3465,14 +3465,14 @@ const deserializeAws_json1_1FindingReasonCodes = (output, context) => {
3465
3465
  if (entry === null) {
3466
3466
  return null;
3467
3467
  }
3468
- return (0, smithy_client_1.expectString)(entry);
3468
+ return smithy_client_1.expectString(entry);
3469
3469
  });
3470
3470
  };
3471
3471
  const deserializeAws_json1_1ForecastResult = (output, context) => {
3472
3472
  return {
3473
- MeanValue: (0, smithy_client_1.expectString)(output.MeanValue),
3474
- PredictionIntervalLowerBound: (0, smithy_client_1.expectString)(output.PredictionIntervalLowerBound),
3475
- PredictionIntervalUpperBound: (0, smithy_client_1.expectString)(output.PredictionIntervalUpperBound),
3473
+ MeanValue: smithy_client_1.expectString(output.MeanValue),
3474
+ PredictionIntervalLowerBound: smithy_client_1.expectString(output.PredictionIntervalLowerBound),
3475
+ PredictionIntervalUpperBound: smithy_client_1.expectString(output.PredictionIntervalUpperBound),
3476
3476
  TimePeriod: output.TimePeriod !== undefined && output.TimePeriod !== null
3477
3477
  ? deserializeAws_json1_1DateInterval(output.TimePeriod, context)
3478
3478
  : undefined,
@@ -3493,7 +3493,7 @@ const deserializeAws_json1_1GetAnomaliesResponse = (output, context) => {
3493
3493
  Anomalies: output.Anomalies !== undefined && output.Anomalies !== null
3494
3494
  ? deserializeAws_json1_1Anomalies(output.Anomalies, context)
3495
3495
  : undefined,
3496
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3496
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3497
3497
  };
3498
3498
  };
3499
3499
  const deserializeAws_json1_1GetAnomalyMonitorsResponse = (output, context) => {
@@ -3501,7 +3501,7 @@ const deserializeAws_json1_1GetAnomalyMonitorsResponse = (output, context) => {
3501
3501
  AnomalyMonitors: output.AnomalyMonitors !== undefined && output.AnomalyMonitors !== null
3502
3502
  ? deserializeAws_json1_1AnomalyMonitors(output.AnomalyMonitors, context)
3503
3503
  : undefined,
3504
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3504
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3505
3505
  };
3506
3506
  };
3507
3507
  const deserializeAws_json1_1GetAnomalySubscriptionsResponse = (output, context) => {
@@ -3509,7 +3509,7 @@ const deserializeAws_json1_1GetAnomalySubscriptionsResponse = (output, context)
3509
3509
  AnomalySubscriptions: output.AnomalySubscriptions !== undefined && output.AnomalySubscriptions !== null
3510
3510
  ? deserializeAws_json1_1AnomalySubscriptions(output.AnomalySubscriptions, context)
3511
3511
  : undefined,
3512
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3512
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3513
3513
  };
3514
3514
  };
3515
3515
  const deserializeAws_json1_1GetCostAndUsageResponse = (output, context) => {
@@ -3520,7 +3520,7 @@ const deserializeAws_json1_1GetCostAndUsageResponse = (output, context) => {
3520
3520
  GroupDefinitions: output.GroupDefinitions !== undefined && output.GroupDefinitions !== null
3521
3521
  ? deserializeAws_json1_1GroupDefinitions(output.GroupDefinitions, context)
3522
3522
  : undefined,
3523
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3523
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3524
3524
  ResultsByTime: output.ResultsByTime !== undefined && output.ResultsByTime !== null
3525
3525
  ? deserializeAws_json1_1ResultsByTime(output.ResultsByTime, context)
3526
3526
  : undefined,
@@ -3534,7 +3534,7 @@ const deserializeAws_json1_1GetCostAndUsageWithResourcesResponse = (output, cont
3534
3534
  GroupDefinitions: output.GroupDefinitions !== undefined && output.GroupDefinitions !== null
3535
3535
  ? deserializeAws_json1_1GroupDefinitions(output.GroupDefinitions, context)
3536
3536
  : undefined,
3537
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3537
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3538
3538
  ResultsByTime: output.ResultsByTime !== undefined && output.ResultsByTime !== null
3539
3539
  ? deserializeAws_json1_1ResultsByTime(output.ResultsByTime, context)
3540
3540
  : undefined,
@@ -3548,9 +3548,9 @@ const deserializeAws_json1_1GetCostCategoriesResponse = (output, context) => {
3548
3548
  CostCategoryValues: output.CostCategoryValues !== undefined && output.CostCategoryValues !== null
3549
3549
  ? deserializeAws_json1_1CostCategoryValuesList(output.CostCategoryValues, context)
3550
3550
  : undefined,
3551
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3552
- ReturnSize: (0, smithy_client_1.expectInt32)(output.ReturnSize),
3553
- TotalSize: (0, smithy_client_1.expectInt32)(output.TotalSize),
3551
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3552
+ ReturnSize: smithy_client_1.expectInt32(output.ReturnSize),
3553
+ TotalSize: smithy_client_1.expectInt32(output.TotalSize),
3554
3554
  };
3555
3555
  };
3556
3556
  const deserializeAws_json1_1GetCostForecastResponse = (output, context) => {
@@ -3568,9 +3568,9 @@ const deserializeAws_json1_1GetDimensionValuesResponse = (output, context) => {
3568
3568
  DimensionValues: output.DimensionValues !== undefined && output.DimensionValues !== null
3569
3569
  ? deserializeAws_json1_1DimensionValuesWithAttributesList(output.DimensionValues, context)
3570
3570
  : undefined,
3571
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3572
- ReturnSize: (0, smithy_client_1.expectInt32)(output.ReturnSize),
3573
- TotalSize: (0, smithy_client_1.expectInt32)(output.TotalSize),
3571
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3572
+ ReturnSize: smithy_client_1.expectInt32(output.ReturnSize),
3573
+ TotalSize: smithy_client_1.expectInt32(output.TotalSize),
3574
3574
  };
3575
3575
  };
3576
3576
  const deserializeAws_json1_1GetReservationCoverageResponse = (output, context) => {
@@ -3578,7 +3578,7 @@ const deserializeAws_json1_1GetReservationCoverageResponse = (output, context) =
3578
3578
  CoveragesByTime: output.CoveragesByTime !== undefined && output.CoveragesByTime !== null
3579
3579
  ? deserializeAws_json1_1CoveragesByTime(output.CoveragesByTime, context)
3580
3580
  : undefined,
3581
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3581
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3582
3582
  Total: output.Total !== undefined && output.Total !== null
3583
3583
  ? deserializeAws_json1_1Coverage(output.Total, context)
3584
3584
  : undefined,
@@ -3589,7 +3589,7 @@ const deserializeAws_json1_1GetReservationPurchaseRecommendationResponse = (outp
3589
3589
  Metadata: output.Metadata !== undefined && output.Metadata !== null
3590
3590
  ? deserializeAws_json1_1ReservationPurchaseRecommendationMetadata(output.Metadata, context)
3591
3591
  : undefined,
3592
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3592
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3593
3593
  Recommendations: output.Recommendations !== undefined && output.Recommendations !== null
3594
3594
  ? deserializeAws_json1_1ReservationPurchaseRecommendations(output.Recommendations, context)
3595
3595
  : undefined,
@@ -3597,7 +3597,7 @@ const deserializeAws_json1_1GetReservationPurchaseRecommendationResponse = (outp
3597
3597
  };
3598
3598
  const deserializeAws_json1_1GetReservationUtilizationResponse = (output, context) => {
3599
3599
  return {
3600
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3600
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3601
3601
  Total: output.Total !== undefined && output.Total !== null
3602
3602
  ? deserializeAws_json1_1ReservationAggregates(output.Total, context)
3603
3603
  : undefined,
@@ -3614,7 +3614,7 @@ const deserializeAws_json1_1GetRightsizingRecommendationResponse = (output, cont
3614
3614
  Metadata: output.Metadata !== undefined && output.Metadata !== null
3615
3615
  ? deserializeAws_json1_1RightsizingRecommendationMetadata(output.Metadata, context)
3616
3616
  : undefined,
3617
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3617
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3618
3618
  RightsizingRecommendations: output.RightsizingRecommendations !== undefined && output.RightsizingRecommendations !== null
3619
3619
  ? deserializeAws_json1_1RightsizingRecommendationList(output.RightsizingRecommendations, context)
3620
3620
  : undefined,
@@ -3625,7 +3625,7 @@ const deserializeAws_json1_1GetRightsizingRecommendationResponse = (output, cont
3625
3625
  };
3626
3626
  const deserializeAws_json1_1GetSavingsPlansCoverageResponse = (output, context) => {
3627
3627
  return {
3628
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3628
+ NextToken: smithy_client_1.expectString(output.NextToken),
3629
3629
  SavingsPlansCoverages: output.SavingsPlansCoverages !== undefined && output.SavingsPlansCoverages !== null
3630
3630
  ? deserializeAws_json1_1SavingsPlansCoverages(output.SavingsPlansCoverages, context)
3631
3631
  : undefined,
@@ -3636,7 +3636,7 @@ const deserializeAws_json1_1GetSavingsPlansPurchaseRecommendationResponse = (out
3636
3636
  Metadata: output.Metadata !== undefined && output.Metadata !== null
3637
3637
  ? deserializeAws_json1_1SavingsPlansPurchaseRecommendationMetadata(output.Metadata, context)
3638
3638
  : undefined,
3639
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3639
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3640
3640
  SavingsPlansPurchaseRecommendation: output.SavingsPlansPurchaseRecommendation !== undefined && output.SavingsPlansPurchaseRecommendation !== null
3641
3641
  ? deserializeAws_json1_1SavingsPlansPurchaseRecommendation(output.SavingsPlansPurchaseRecommendation, context)
3642
3642
  : undefined,
@@ -3644,7 +3644,7 @@ const deserializeAws_json1_1GetSavingsPlansPurchaseRecommendationResponse = (out
3644
3644
  };
3645
3645
  const deserializeAws_json1_1GetSavingsPlansUtilizationDetailsResponse = (output, context) => {
3646
3646
  return {
3647
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3647
+ NextToken: smithy_client_1.expectString(output.NextToken),
3648
3648
  SavingsPlansUtilizationDetails: output.SavingsPlansUtilizationDetails !== undefined && output.SavingsPlansUtilizationDetails !== null
3649
3649
  ? deserializeAws_json1_1SavingsPlansUtilizationDetails(output.SavingsPlansUtilizationDetails, context)
3650
3650
  : undefined,
@@ -3668,12 +3668,12 @@ const deserializeAws_json1_1GetSavingsPlansUtilizationResponse = (output, contex
3668
3668
  };
3669
3669
  const deserializeAws_json1_1GetTagsResponse = (output, context) => {
3670
3670
  return {
3671
- NextPageToken: (0, smithy_client_1.expectString)(output.NextPageToken),
3672
- ReturnSize: (0, smithy_client_1.expectInt32)(output.ReturnSize),
3671
+ NextPageToken: smithy_client_1.expectString(output.NextPageToken),
3672
+ ReturnSize: smithy_client_1.expectInt32(output.ReturnSize),
3673
3673
  Tags: output.Tags !== undefined && output.Tags !== null
3674
3674
  ? deserializeAws_json1_1TagList(output.Tags, context)
3675
3675
  : undefined,
3676
- TotalSize: (0, smithy_client_1.expectInt32)(output.TotalSize),
3676
+ TotalSize: smithy_client_1.expectInt32(output.TotalSize),
3677
3677
  };
3678
3678
  };
3679
3679
  const deserializeAws_json1_1GetUsageForecastResponse = (output, context) => {
@@ -3696,8 +3696,8 @@ const deserializeAws_json1_1Group = (output, context) => {
3696
3696
  };
3697
3697
  const deserializeAws_json1_1GroupDefinition = (output, context) => {
3698
3698
  return {
3699
- Key: (0, smithy_client_1.expectString)(output.Key),
3700
- Type: (0, smithy_client_1.expectString)(output.Type),
3699
+ Key: smithy_client_1.expectString(output.Key),
3700
+ Type: smithy_client_1.expectString(output.Type),
3701
3701
  };
3702
3702
  };
3703
3703
  const deserializeAws_json1_1GroupDefinitions = (output, context) => {
@@ -3722,8 +3722,8 @@ const deserializeAws_json1_1Groups = (output, context) => {
3722
3722
  };
3723
3723
  const deserializeAws_json1_1Impact = (output, context) => {
3724
3724
  return {
3725
- MaxImpact: (0, smithy_client_1.limitedParseDouble)(output.MaxImpact),
3726
- TotalImpact: (0, smithy_client_1.limitedParseDouble)(output.TotalImpact),
3725
+ MaxImpact: smithy_client_1.limitedParseDouble(output.MaxImpact),
3726
+ TotalImpact: smithy_client_1.limitedParseDouble(output.TotalImpact),
3727
3727
  };
3728
3728
  };
3729
3729
  const deserializeAws_json1_1InstanceDetails = (output, context) => {
@@ -3747,7 +3747,7 @@ const deserializeAws_json1_1InstanceDetails = (output, context) => {
3747
3747
  };
3748
3748
  const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
3749
3749
  return {
3750
- Message: (0, smithy_client_1.expectString)(output.Message),
3750
+ Message: smithy_client_1.expectString(output.Message),
3751
3751
  };
3752
3752
  };
3753
3753
  const deserializeAws_json1_1Keys = (output, context) => {
@@ -3757,12 +3757,12 @@ const deserializeAws_json1_1Keys = (output, context) => {
3757
3757
  if (entry === null) {
3758
3758
  return null;
3759
3759
  }
3760
- return (0, smithy_client_1.expectString)(entry);
3760
+ return smithy_client_1.expectString(entry);
3761
3761
  });
3762
3762
  };
3763
3763
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
3764
3764
  return {
3765
- Message: (0, smithy_client_1.expectString)(output.Message),
3765
+ Message: smithy_client_1.expectString(output.Message),
3766
3766
  };
3767
3767
  };
3768
3768
  const deserializeAws_json1_1ListCostCategoryDefinitionsResponse = (output, context) => {
@@ -3770,7 +3770,7 @@ const deserializeAws_json1_1ListCostCategoryDefinitionsResponse = (output, conte
3770
3770
  CostCategoryReferences: output.CostCategoryReferences !== undefined && output.CostCategoryReferences !== null
3771
3771
  ? deserializeAws_json1_1CostCategoryReferencesList(output.CostCategoryReferences, context)
3772
3772
  : undefined,
3773
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3773
+ NextToken: smithy_client_1.expectString(output.NextToken),
3774
3774
  };
3775
3775
  };
3776
3776
  const deserializeAws_json1_1MatchOptions = (output, context) => {
@@ -3780,7 +3780,7 @@ const deserializeAws_json1_1MatchOptions = (output, context) => {
3780
3780
  if (entry === null) {
3781
3781
  return null;
3782
3782
  }
3783
- return (0, smithy_client_1.expectString)(entry);
3783
+ return smithy_client_1.expectString(entry);
3784
3784
  });
3785
3785
  };
3786
3786
  const deserializeAws_json1_1Metrics = (output, context) => {
@@ -3796,8 +3796,8 @@ const deserializeAws_json1_1Metrics = (output, context) => {
3796
3796
  };
3797
3797
  const deserializeAws_json1_1MetricValue = (output, context) => {
3798
3798
  return {
3799
- Amount: (0, smithy_client_1.expectString)(output.Amount),
3800
- Unit: (0, smithy_client_1.expectString)(output.Unit),
3799
+ Amount: smithy_client_1.expectString(output.Amount),
3800
+ Unit: smithy_client_1.expectString(output.Unit),
3801
3801
  };
3802
3802
  };
3803
3803
  const deserializeAws_json1_1ModifyRecommendationDetail = (output, context) => {
@@ -3814,15 +3814,15 @@ const deserializeAws_json1_1MonitorArnList = (output, context) => {
3814
3814
  if (entry === null) {
3815
3815
  return null;
3816
3816
  }
3817
- return (0, smithy_client_1.expectString)(entry);
3817
+ return smithy_client_1.expectString(entry);
3818
3818
  });
3819
3819
  };
3820
3820
  const deserializeAws_json1_1NetworkResourceUtilization = (output, context) => {
3821
3821
  return {
3822
- NetworkInBytesPerSecond: (0, smithy_client_1.expectString)(output.NetworkInBytesPerSecond),
3823
- NetworkOutBytesPerSecond: (0, smithy_client_1.expectString)(output.NetworkOutBytesPerSecond),
3824
- NetworkPacketsInPerSecond: (0, smithy_client_1.expectString)(output.NetworkPacketsInPerSecond),
3825
- NetworkPacketsOutPerSecond: (0, smithy_client_1.expectString)(output.NetworkPacketsOutPerSecond),
3822
+ NetworkInBytesPerSecond: smithy_client_1.expectString(output.NetworkInBytesPerSecond),
3823
+ NetworkOutBytesPerSecond: smithy_client_1.expectString(output.NetworkOutBytesPerSecond),
3824
+ NetworkPacketsInPerSecond: smithy_client_1.expectString(output.NetworkPacketsInPerSecond),
3825
+ NetworkPacketsOutPerSecond: smithy_client_1.expectString(output.NetworkPacketsOutPerSecond),
3826
3826
  };
3827
3827
  };
3828
3828
  const deserializeAws_json1_1PlatformDifferences = (output, context) => {
@@ -3832,60 +3832,60 @@ const deserializeAws_json1_1PlatformDifferences = (output, context) => {
3832
3832
  if (entry === null) {
3833
3833
  return null;
3834
3834
  }
3835
- return (0, smithy_client_1.expectString)(entry);
3835
+ return smithy_client_1.expectString(entry);
3836
3836
  });
3837
3837
  };
3838
3838
  const deserializeAws_json1_1ProvideAnomalyFeedbackResponse = (output, context) => {
3839
3839
  return {
3840
- AnomalyId: (0, smithy_client_1.expectString)(output.AnomalyId),
3840
+ AnomalyId: smithy_client_1.expectString(output.AnomalyId),
3841
3841
  };
3842
3842
  };
3843
3843
  const deserializeAws_json1_1RDSInstanceDetails = (output, context) => {
3844
3844
  return {
3845
- CurrentGeneration: (0, smithy_client_1.expectBoolean)(output.CurrentGeneration),
3846
- DatabaseEdition: (0, smithy_client_1.expectString)(output.DatabaseEdition),
3847
- DatabaseEngine: (0, smithy_client_1.expectString)(output.DatabaseEngine),
3848
- DeploymentOption: (0, smithy_client_1.expectString)(output.DeploymentOption),
3849
- Family: (0, smithy_client_1.expectString)(output.Family),
3850
- InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
3851
- LicenseModel: (0, smithy_client_1.expectString)(output.LicenseModel),
3852
- Region: (0, smithy_client_1.expectString)(output.Region),
3853
- SizeFlexEligible: (0, smithy_client_1.expectBoolean)(output.SizeFlexEligible),
3845
+ CurrentGeneration: smithy_client_1.expectBoolean(output.CurrentGeneration),
3846
+ DatabaseEdition: smithy_client_1.expectString(output.DatabaseEdition),
3847
+ DatabaseEngine: smithy_client_1.expectString(output.DatabaseEngine),
3848
+ DeploymentOption: smithy_client_1.expectString(output.DeploymentOption),
3849
+ Family: smithy_client_1.expectString(output.Family),
3850
+ InstanceType: smithy_client_1.expectString(output.InstanceType),
3851
+ LicenseModel: smithy_client_1.expectString(output.LicenseModel),
3852
+ Region: smithy_client_1.expectString(output.Region),
3853
+ SizeFlexEligible: smithy_client_1.expectBoolean(output.SizeFlexEligible),
3854
3854
  };
3855
3855
  };
3856
3856
  const deserializeAws_json1_1RedshiftInstanceDetails = (output, context) => {
3857
3857
  return {
3858
- CurrentGeneration: (0, smithy_client_1.expectBoolean)(output.CurrentGeneration),
3859
- Family: (0, smithy_client_1.expectString)(output.Family),
3860
- NodeType: (0, smithy_client_1.expectString)(output.NodeType),
3861
- Region: (0, smithy_client_1.expectString)(output.Region),
3862
- SizeFlexEligible: (0, smithy_client_1.expectBoolean)(output.SizeFlexEligible),
3858
+ CurrentGeneration: smithy_client_1.expectBoolean(output.CurrentGeneration),
3859
+ Family: smithy_client_1.expectString(output.Family),
3860
+ NodeType: smithy_client_1.expectString(output.NodeType),
3861
+ Region: smithy_client_1.expectString(output.Region),
3862
+ SizeFlexEligible: smithy_client_1.expectBoolean(output.SizeFlexEligible),
3863
3863
  };
3864
3864
  };
3865
3865
  const deserializeAws_json1_1RequestChangedException = (output, context) => {
3866
3866
  return {
3867
- Message: (0, smithy_client_1.expectString)(output.Message),
3867
+ Message: smithy_client_1.expectString(output.Message),
3868
3868
  };
3869
3869
  };
3870
3870
  const deserializeAws_json1_1ReservationAggregates = (output, context) => {
3871
3871
  return {
3872
- AmortizedRecurringFee: (0, smithy_client_1.expectString)(output.AmortizedRecurringFee),
3873
- AmortizedUpfrontFee: (0, smithy_client_1.expectString)(output.AmortizedUpfrontFee),
3874
- NetRISavings: (0, smithy_client_1.expectString)(output.NetRISavings),
3875
- OnDemandCostOfRIHoursUsed: (0, smithy_client_1.expectString)(output.OnDemandCostOfRIHoursUsed),
3876
- PurchasedHours: (0, smithy_client_1.expectString)(output.PurchasedHours),
3877
- PurchasedUnits: (0, smithy_client_1.expectString)(output.PurchasedUnits),
3878
- RICostForUnusedHours: (0, smithy_client_1.expectString)(output.RICostForUnusedHours),
3879
- RealizedSavings: (0, smithy_client_1.expectString)(output.RealizedSavings),
3880
- TotalActualHours: (0, smithy_client_1.expectString)(output.TotalActualHours),
3881
- TotalActualUnits: (0, smithy_client_1.expectString)(output.TotalActualUnits),
3882
- TotalAmortizedFee: (0, smithy_client_1.expectString)(output.TotalAmortizedFee),
3883
- TotalPotentialRISavings: (0, smithy_client_1.expectString)(output.TotalPotentialRISavings),
3884
- UnrealizedSavings: (0, smithy_client_1.expectString)(output.UnrealizedSavings),
3885
- UnusedHours: (0, smithy_client_1.expectString)(output.UnusedHours),
3886
- UnusedUnits: (0, smithy_client_1.expectString)(output.UnusedUnits),
3887
- UtilizationPercentage: (0, smithy_client_1.expectString)(output.UtilizationPercentage),
3888
- UtilizationPercentageInUnits: (0, smithy_client_1.expectString)(output.UtilizationPercentageInUnits),
3872
+ AmortizedRecurringFee: smithy_client_1.expectString(output.AmortizedRecurringFee),
3873
+ AmortizedUpfrontFee: smithy_client_1.expectString(output.AmortizedUpfrontFee),
3874
+ NetRISavings: smithy_client_1.expectString(output.NetRISavings),
3875
+ OnDemandCostOfRIHoursUsed: smithy_client_1.expectString(output.OnDemandCostOfRIHoursUsed),
3876
+ PurchasedHours: smithy_client_1.expectString(output.PurchasedHours),
3877
+ PurchasedUnits: smithy_client_1.expectString(output.PurchasedUnits),
3878
+ RICostForUnusedHours: smithy_client_1.expectString(output.RICostForUnusedHours),
3879
+ RealizedSavings: smithy_client_1.expectString(output.RealizedSavings),
3880
+ TotalActualHours: smithy_client_1.expectString(output.TotalActualHours),
3881
+ TotalActualUnits: smithy_client_1.expectString(output.TotalActualUnits),
3882
+ TotalAmortizedFee: smithy_client_1.expectString(output.TotalAmortizedFee),
3883
+ TotalPotentialRISavings: smithy_client_1.expectString(output.TotalPotentialRISavings),
3884
+ UnrealizedSavings: smithy_client_1.expectString(output.UnrealizedSavings),
3885
+ UnusedHours: smithy_client_1.expectString(output.UnusedHours),
3886
+ UnusedUnits: smithy_client_1.expectString(output.UnusedUnits),
3887
+ UtilizationPercentage: smithy_client_1.expectString(output.UtilizationPercentage),
3888
+ UtilizationPercentageInUnits: smithy_client_1.expectString(output.UtilizationPercentageInUnits),
3889
3889
  };
3890
3890
  };
3891
3891
  const deserializeAws_json1_1ReservationCoverageGroup = (output, context) => {
@@ -3910,9 +3910,9 @@ const deserializeAws_json1_1ReservationCoverageGroups = (output, context) => {
3910
3910
  };
3911
3911
  const deserializeAws_json1_1ReservationPurchaseRecommendation = (output, context) => {
3912
3912
  return {
3913
- AccountScope: (0, smithy_client_1.expectString)(output.AccountScope),
3914
- LookbackPeriodInDays: (0, smithy_client_1.expectString)(output.LookbackPeriodInDays),
3915
- PaymentOption: (0, smithy_client_1.expectString)(output.PaymentOption),
3913
+ AccountScope: smithy_client_1.expectString(output.AccountScope),
3914
+ LookbackPeriodInDays: smithy_client_1.expectString(output.LookbackPeriodInDays),
3915
+ PaymentOption: smithy_client_1.expectString(output.PaymentOption),
3916
3916
  RecommendationDetails: output.RecommendationDetails !== undefined && output.RecommendationDetails !== null
3917
3917
  ? deserializeAws_json1_1ReservationPurchaseRecommendationDetails(output.RecommendationDetails, context)
3918
3918
  : undefined,
@@ -3922,32 +3922,32 @@ const deserializeAws_json1_1ReservationPurchaseRecommendation = (output, context
3922
3922
  ServiceSpecification: output.ServiceSpecification !== undefined && output.ServiceSpecification !== null
3923
3923
  ? deserializeAws_json1_1ServiceSpecification(output.ServiceSpecification, context)
3924
3924
  : undefined,
3925
- TermInYears: (0, smithy_client_1.expectString)(output.TermInYears),
3925
+ TermInYears: smithy_client_1.expectString(output.TermInYears),
3926
3926
  };
3927
3927
  };
3928
3928
  const deserializeAws_json1_1ReservationPurchaseRecommendationDetail = (output, context) => {
3929
3929
  return {
3930
- AccountId: (0, smithy_client_1.expectString)(output.AccountId),
3931
- AverageNormalizedUnitsUsedPerHour: (0, smithy_client_1.expectString)(output.AverageNormalizedUnitsUsedPerHour),
3932
- AverageNumberOfInstancesUsedPerHour: (0, smithy_client_1.expectString)(output.AverageNumberOfInstancesUsedPerHour),
3933
- AverageUtilization: (0, smithy_client_1.expectString)(output.AverageUtilization),
3934
- CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
3935
- EstimatedBreakEvenInMonths: (0, smithy_client_1.expectString)(output.EstimatedBreakEvenInMonths),
3936
- EstimatedMonthlyOnDemandCost: (0, smithy_client_1.expectString)(output.EstimatedMonthlyOnDemandCost),
3937
- EstimatedMonthlySavingsAmount: (0, smithy_client_1.expectString)(output.EstimatedMonthlySavingsAmount),
3938
- EstimatedMonthlySavingsPercentage: (0, smithy_client_1.expectString)(output.EstimatedMonthlySavingsPercentage),
3939
- EstimatedReservationCostForLookbackPeriod: (0, smithy_client_1.expectString)(output.EstimatedReservationCostForLookbackPeriod),
3930
+ AccountId: smithy_client_1.expectString(output.AccountId),
3931
+ AverageNormalizedUnitsUsedPerHour: smithy_client_1.expectString(output.AverageNormalizedUnitsUsedPerHour),
3932
+ AverageNumberOfInstancesUsedPerHour: smithy_client_1.expectString(output.AverageNumberOfInstancesUsedPerHour),
3933
+ AverageUtilization: smithy_client_1.expectString(output.AverageUtilization),
3934
+ CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
3935
+ EstimatedBreakEvenInMonths: smithy_client_1.expectString(output.EstimatedBreakEvenInMonths),
3936
+ EstimatedMonthlyOnDemandCost: smithy_client_1.expectString(output.EstimatedMonthlyOnDemandCost),
3937
+ EstimatedMonthlySavingsAmount: smithy_client_1.expectString(output.EstimatedMonthlySavingsAmount),
3938
+ EstimatedMonthlySavingsPercentage: smithy_client_1.expectString(output.EstimatedMonthlySavingsPercentage),
3939
+ EstimatedReservationCostForLookbackPeriod: smithy_client_1.expectString(output.EstimatedReservationCostForLookbackPeriod),
3940
3940
  InstanceDetails: output.InstanceDetails !== undefined && output.InstanceDetails !== null
3941
3941
  ? deserializeAws_json1_1InstanceDetails(output.InstanceDetails, context)
3942
3942
  : undefined,
3943
- MaximumNormalizedUnitsUsedPerHour: (0, smithy_client_1.expectString)(output.MaximumNormalizedUnitsUsedPerHour),
3944
- MaximumNumberOfInstancesUsedPerHour: (0, smithy_client_1.expectString)(output.MaximumNumberOfInstancesUsedPerHour),
3945
- MinimumNormalizedUnitsUsedPerHour: (0, smithy_client_1.expectString)(output.MinimumNormalizedUnitsUsedPerHour),
3946
- MinimumNumberOfInstancesUsedPerHour: (0, smithy_client_1.expectString)(output.MinimumNumberOfInstancesUsedPerHour),
3947
- RecommendedNormalizedUnitsToPurchase: (0, smithy_client_1.expectString)(output.RecommendedNormalizedUnitsToPurchase),
3948
- RecommendedNumberOfInstancesToPurchase: (0, smithy_client_1.expectString)(output.RecommendedNumberOfInstancesToPurchase),
3949
- RecurringStandardMonthlyCost: (0, smithy_client_1.expectString)(output.RecurringStandardMonthlyCost),
3950
- UpfrontCost: (0, smithy_client_1.expectString)(output.UpfrontCost),
3943
+ MaximumNormalizedUnitsUsedPerHour: smithy_client_1.expectString(output.MaximumNormalizedUnitsUsedPerHour),
3944
+ MaximumNumberOfInstancesUsedPerHour: smithy_client_1.expectString(output.MaximumNumberOfInstancesUsedPerHour),
3945
+ MinimumNormalizedUnitsUsedPerHour: smithy_client_1.expectString(output.MinimumNormalizedUnitsUsedPerHour),
3946
+ MinimumNumberOfInstancesUsedPerHour: smithy_client_1.expectString(output.MinimumNumberOfInstancesUsedPerHour),
3947
+ RecommendedNormalizedUnitsToPurchase: smithy_client_1.expectString(output.RecommendedNormalizedUnitsToPurchase),
3948
+ RecommendedNumberOfInstancesToPurchase: smithy_client_1.expectString(output.RecommendedNumberOfInstancesToPurchase),
3949
+ RecurringStandardMonthlyCost: smithy_client_1.expectString(output.RecurringStandardMonthlyCost),
3950
+ UpfrontCost: smithy_client_1.expectString(output.UpfrontCost),
3951
3951
  };
3952
3952
  };
3953
3953
  const deserializeAws_json1_1ReservationPurchaseRecommendationDetails = (output, context) => {
@@ -3962,8 +3962,8 @@ const deserializeAws_json1_1ReservationPurchaseRecommendationDetails = (output,
3962
3962
  };
3963
3963
  const deserializeAws_json1_1ReservationPurchaseRecommendationMetadata = (output, context) => {
3964
3964
  return {
3965
- GenerationTimestamp: (0, smithy_client_1.expectString)(output.GenerationTimestamp),
3966
- RecommendationId: (0, smithy_client_1.expectString)(output.RecommendationId),
3965
+ GenerationTimestamp: smithy_client_1.expectString(output.GenerationTimestamp),
3966
+ RecommendationId: smithy_client_1.expectString(output.RecommendationId),
3967
3967
  };
3968
3968
  };
3969
3969
  const deserializeAws_json1_1ReservationPurchaseRecommendations = (output, context) => {
@@ -3978,9 +3978,9 @@ const deserializeAws_json1_1ReservationPurchaseRecommendations = (output, contex
3978
3978
  };
3979
3979
  const deserializeAws_json1_1ReservationPurchaseRecommendationSummary = (output, context) => {
3980
3980
  return {
3981
- CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
3982
- TotalEstimatedMonthlySavingsAmount: (0, smithy_client_1.expectString)(output.TotalEstimatedMonthlySavingsAmount),
3983
- TotalEstimatedMonthlySavingsPercentage: (0, smithy_client_1.expectString)(output.TotalEstimatedMonthlySavingsPercentage),
3981
+ CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
3982
+ TotalEstimatedMonthlySavingsAmount: smithy_client_1.expectString(output.TotalEstimatedMonthlySavingsAmount),
3983
+ TotalEstimatedMonthlySavingsPercentage: smithy_client_1.expectString(output.TotalEstimatedMonthlySavingsPercentage),
3984
3984
  };
3985
3985
  };
3986
3986
  const deserializeAws_json1_1ReservationUtilizationGroup = (output, context) => {
@@ -3988,11 +3988,11 @@ const deserializeAws_json1_1ReservationUtilizationGroup = (output, context) => {
3988
3988
  Attributes: output.Attributes !== undefined && output.Attributes !== null
3989
3989
  ? deserializeAws_json1_1Attributes(output.Attributes, context)
3990
3990
  : undefined,
3991
- Key: (0, smithy_client_1.expectString)(output.Key),
3991
+ Key: smithy_client_1.expectString(output.Key),
3992
3992
  Utilization: output.Utilization !== undefined && output.Utilization !== null
3993
3993
  ? deserializeAws_json1_1ReservationAggregates(output.Utilization, context)
3994
3994
  : undefined,
3995
- Value: (0, smithy_client_1.expectString)(output.Value),
3995
+ Value: smithy_client_1.expectString(output.Value),
3996
3996
  };
3997
3997
  };
3998
3998
  const deserializeAws_json1_1ReservationUtilizationGroups = (output, context) => {
@@ -4014,7 +4014,7 @@ const deserializeAws_json1_1ResourceDetails = (output, context) => {
4014
4014
  };
4015
4015
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
4016
4016
  return {
4017
- Message: (0, smithy_client_1.expectString)(output.Message),
4017
+ Message: smithy_client_1.expectString(output.Message),
4018
4018
  };
4019
4019
  };
4020
4020
  const deserializeAws_json1_1ResourceUtilization = (output, context) => {
@@ -4026,7 +4026,7 @@ const deserializeAws_json1_1ResourceUtilization = (output, context) => {
4026
4026
  };
4027
4027
  const deserializeAws_json1_1ResultByTime = (output, context) => {
4028
4028
  return {
4029
- Estimated: (0, smithy_client_1.expectBoolean)(output.Estimated),
4029
+ Estimated: smithy_client_1.expectBoolean(output.Estimated),
4030
4030
  Groups: output.Groups !== undefined && output.Groups !== null
4031
4031
  ? deserializeAws_json1_1Groups(output.Groups, context)
4032
4032
  : undefined,
@@ -4050,7 +4050,7 @@ const deserializeAws_json1_1ResultsByTime = (output, context) => {
4050
4050
  };
4051
4051
  const deserializeAws_json1_1RightsizingRecommendation = (output, context) => {
4052
4052
  return {
4053
- AccountId: (0, smithy_client_1.expectString)(output.AccountId),
4053
+ AccountId: smithy_client_1.expectString(output.AccountId),
4054
4054
  CurrentInstance: output.CurrentInstance !== undefined && output.CurrentInstance !== null
4055
4055
  ? deserializeAws_json1_1CurrentInstance(output.CurrentInstance, context)
4056
4056
  : undefined,
@@ -4060,7 +4060,7 @@ const deserializeAws_json1_1RightsizingRecommendation = (output, context) => {
4060
4060
  ModifyRecommendationDetail: output.ModifyRecommendationDetail !== undefined && output.ModifyRecommendationDetail !== null
4061
4061
  ? deserializeAws_json1_1ModifyRecommendationDetail(output.ModifyRecommendationDetail, context)
4062
4062
  : undefined,
4063
- RightsizingType: (0, smithy_client_1.expectString)(output.RightsizingType),
4063
+ RightsizingType: smithy_client_1.expectString(output.RightsizingType),
4064
4064
  TerminateRecommendationDetail: output.TerminateRecommendationDetail !== undefined && output.TerminateRecommendationDetail !== null
4065
4065
  ? deserializeAws_json1_1TerminateRecommendationDetail(output.TerminateRecommendationDetail, context)
4066
4066
  : undefined,
@@ -4068,8 +4068,8 @@ const deserializeAws_json1_1RightsizingRecommendation = (output, context) => {
4068
4068
  };
4069
4069
  const deserializeAws_json1_1RightsizingRecommendationConfiguration = (output, context) => {
4070
4070
  return {
4071
- BenefitsConsidered: (0, smithy_client_1.expectBoolean)(output.BenefitsConsidered),
4072
- RecommendationTarget: (0, smithy_client_1.expectString)(output.RecommendationTarget),
4071
+ BenefitsConsidered: smithy_client_1.expectBoolean(output.BenefitsConsidered),
4072
+ RecommendationTarget: smithy_client_1.expectString(output.RecommendationTarget),
4073
4073
  };
4074
4074
  };
4075
4075
  const deserializeAws_json1_1RightsizingRecommendationList = (output, context) => {
@@ -4084,26 +4084,26 @@ const deserializeAws_json1_1RightsizingRecommendationList = (output, context) =>
4084
4084
  };
4085
4085
  const deserializeAws_json1_1RightsizingRecommendationMetadata = (output, context) => {
4086
4086
  return {
4087
- AdditionalMetadata: (0, smithy_client_1.expectString)(output.AdditionalMetadata),
4088
- GenerationTimestamp: (0, smithy_client_1.expectString)(output.GenerationTimestamp),
4089
- LookbackPeriodInDays: (0, smithy_client_1.expectString)(output.LookbackPeriodInDays),
4090
- RecommendationId: (0, smithy_client_1.expectString)(output.RecommendationId),
4087
+ AdditionalMetadata: smithy_client_1.expectString(output.AdditionalMetadata),
4088
+ GenerationTimestamp: smithy_client_1.expectString(output.GenerationTimestamp),
4089
+ LookbackPeriodInDays: smithy_client_1.expectString(output.LookbackPeriodInDays),
4090
+ RecommendationId: smithy_client_1.expectString(output.RecommendationId),
4091
4091
  };
4092
4092
  };
4093
4093
  const deserializeAws_json1_1RightsizingRecommendationSummary = (output, context) => {
4094
4094
  return {
4095
- EstimatedTotalMonthlySavingsAmount: (0, smithy_client_1.expectString)(output.EstimatedTotalMonthlySavingsAmount),
4096
- SavingsCurrencyCode: (0, smithy_client_1.expectString)(output.SavingsCurrencyCode),
4097
- SavingsPercentage: (0, smithy_client_1.expectString)(output.SavingsPercentage),
4098
- TotalRecommendationCount: (0, smithy_client_1.expectString)(output.TotalRecommendationCount),
4095
+ EstimatedTotalMonthlySavingsAmount: smithy_client_1.expectString(output.EstimatedTotalMonthlySavingsAmount),
4096
+ SavingsCurrencyCode: smithy_client_1.expectString(output.SavingsCurrencyCode),
4097
+ SavingsPercentage: smithy_client_1.expectString(output.SavingsPercentage),
4098
+ TotalRecommendationCount: smithy_client_1.expectString(output.TotalRecommendationCount),
4099
4099
  };
4100
4100
  };
4101
4101
  const deserializeAws_json1_1RootCause = (output, context) => {
4102
4102
  return {
4103
- LinkedAccount: (0, smithy_client_1.expectString)(output.LinkedAccount),
4104
- Region: (0, smithy_client_1.expectString)(output.Region),
4105
- Service: (0, smithy_client_1.expectString)(output.Service),
4106
- UsageType: (0, smithy_client_1.expectString)(output.UsageType),
4103
+ LinkedAccount: smithy_client_1.expectString(output.LinkedAccount),
4104
+ Region: smithy_client_1.expectString(output.Region),
4105
+ Service: smithy_client_1.expectString(output.Service),
4106
+ UsageType: smithy_client_1.expectString(output.UsageType),
4107
4107
  };
4108
4108
  };
4109
4109
  const deserializeAws_json1_1RootCauses = (output, context) => {
@@ -4118,9 +4118,9 @@ const deserializeAws_json1_1RootCauses = (output, context) => {
4118
4118
  };
4119
4119
  const deserializeAws_json1_1SavingsPlansAmortizedCommitment = (output, context) => {
4120
4120
  return {
4121
- AmortizedRecurringCommitment: (0, smithy_client_1.expectString)(output.AmortizedRecurringCommitment),
4122
- AmortizedUpfrontCommitment: (0, smithy_client_1.expectString)(output.AmortizedUpfrontCommitment),
4123
- TotalAmortizedCommitment: (0, smithy_client_1.expectString)(output.TotalAmortizedCommitment),
4121
+ AmortizedRecurringCommitment: smithy_client_1.expectString(output.AmortizedRecurringCommitment),
4122
+ AmortizedUpfrontCommitment: smithy_client_1.expectString(output.AmortizedUpfrontCommitment),
4123
+ TotalAmortizedCommitment: smithy_client_1.expectString(output.TotalAmortizedCommitment),
4124
4124
  };
4125
4125
  };
4126
4126
  const deserializeAws_json1_1SavingsPlansCoverage = (output, context) => {
@@ -4138,10 +4138,10 @@ const deserializeAws_json1_1SavingsPlansCoverage = (output, context) => {
4138
4138
  };
4139
4139
  const deserializeAws_json1_1SavingsPlansCoverageData = (output, context) => {
4140
4140
  return {
4141
- CoveragePercentage: (0, smithy_client_1.expectString)(output.CoveragePercentage),
4142
- OnDemandCost: (0, smithy_client_1.expectString)(output.OnDemandCost),
4143
- SpendCoveredBySavingsPlans: (0, smithy_client_1.expectString)(output.SpendCoveredBySavingsPlans),
4144
- TotalCost: (0, smithy_client_1.expectString)(output.TotalCost),
4141
+ CoveragePercentage: smithy_client_1.expectString(output.CoveragePercentage),
4142
+ OnDemandCost: smithy_client_1.expectString(output.OnDemandCost),
4143
+ SpendCoveredBySavingsPlans: smithy_client_1.expectString(output.SpendCoveredBySavingsPlans),
4144
+ TotalCost: smithy_client_1.expectString(output.TotalCost),
4145
4145
  };
4146
4146
  };
4147
4147
  const deserializeAws_json1_1SavingsPlansCoverages = (output, context) => {
@@ -4156,16 +4156,16 @@ const deserializeAws_json1_1SavingsPlansCoverages = (output, context) => {
4156
4156
  };
4157
4157
  const deserializeAws_json1_1SavingsPlansDetails = (output, context) => {
4158
4158
  return {
4159
- InstanceFamily: (0, smithy_client_1.expectString)(output.InstanceFamily),
4160
- OfferingId: (0, smithy_client_1.expectString)(output.OfferingId),
4161
- Region: (0, smithy_client_1.expectString)(output.Region),
4159
+ InstanceFamily: smithy_client_1.expectString(output.InstanceFamily),
4160
+ OfferingId: smithy_client_1.expectString(output.OfferingId),
4161
+ Region: smithy_client_1.expectString(output.Region),
4162
4162
  };
4163
4163
  };
4164
4164
  const deserializeAws_json1_1SavingsPlansPurchaseRecommendation = (output, context) => {
4165
4165
  return {
4166
- AccountScope: (0, smithy_client_1.expectString)(output.AccountScope),
4167
- LookbackPeriodInDays: (0, smithy_client_1.expectString)(output.LookbackPeriodInDays),
4168
- PaymentOption: (0, smithy_client_1.expectString)(output.PaymentOption),
4166
+ AccountScope: smithy_client_1.expectString(output.AccountScope),
4167
+ LookbackPeriodInDays: smithy_client_1.expectString(output.LookbackPeriodInDays),
4168
+ PaymentOption: smithy_client_1.expectString(output.PaymentOption),
4169
4169
  SavingsPlansPurchaseRecommendationDetails: output.SavingsPlansPurchaseRecommendationDetails !== undefined &&
4170
4170
  output.SavingsPlansPurchaseRecommendationDetails !== null
4171
4171
  ? deserializeAws_json1_1SavingsPlansPurchaseRecommendationDetailList(output.SavingsPlansPurchaseRecommendationDetails, context)
@@ -4174,30 +4174,30 @@ const deserializeAws_json1_1SavingsPlansPurchaseRecommendation = (output, contex
4174
4174
  output.SavingsPlansPurchaseRecommendationSummary !== null
4175
4175
  ? deserializeAws_json1_1SavingsPlansPurchaseRecommendationSummary(output.SavingsPlansPurchaseRecommendationSummary, context)
4176
4176
  : undefined,
4177
- SavingsPlansType: (0, smithy_client_1.expectString)(output.SavingsPlansType),
4178
- TermInYears: (0, smithy_client_1.expectString)(output.TermInYears),
4177
+ SavingsPlansType: smithy_client_1.expectString(output.SavingsPlansType),
4178
+ TermInYears: smithy_client_1.expectString(output.TermInYears),
4179
4179
  };
4180
4180
  };
4181
4181
  const deserializeAws_json1_1SavingsPlansPurchaseRecommendationDetail = (output, context) => {
4182
4182
  return {
4183
- AccountId: (0, smithy_client_1.expectString)(output.AccountId),
4184
- CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
4185
- CurrentAverageHourlyOnDemandSpend: (0, smithy_client_1.expectString)(output.CurrentAverageHourlyOnDemandSpend),
4186
- CurrentMaximumHourlyOnDemandSpend: (0, smithy_client_1.expectString)(output.CurrentMaximumHourlyOnDemandSpend),
4187
- CurrentMinimumHourlyOnDemandSpend: (0, smithy_client_1.expectString)(output.CurrentMinimumHourlyOnDemandSpend),
4188
- EstimatedAverageUtilization: (0, smithy_client_1.expectString)(output.EstimatedAverageUtilization),
4189
- EstimatedMonthlySavingsAmount: (0, smithy_client_1.expectString)(output.EstimatedMonthlySavingsAmount),
4190
- EstimatedOnDemandCost: (0, smithy_client_1.expectString)(output.EstimatedOnDemandCost),
4191
- EstimatedOnDemandCostWithCurrentCommitment: (0, smithy_client_1.expectString)(output.EstimatedOnDemandCostWithCurrentCommitment),
4192
- EstimatedROI: (0, smithy_client_1.expectString)(output.EstimatedROI),
4193
- EstimatedSPCost: (0, smithy_client_1.expectString)(output.EstimatedSPCost),
4194
- EstimatedSavingsAmount: (0, smithy_client_1.expectString)(output.EstimatedSavingsAmount),
4195
- EstimatedSavingsPercentage: (0, smithy_client_1.expectString)(output.EstimatedSavingsPercentage),
4196
- HourlyCommitmentToPurchase: (0, smithy_client_1.expectString)(output.HourlyCommitmentToPurchase),
4183
+ AccountId: smithy_client_1.expectString(output.AccountId),
4184
+ CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
4185
+ CurrentAverageHourlyOnDemandSpend: smithy_client_1.expectString(output.CurrentAverageHourlyOnDemandSpend),
4186
+ CurrentMaximumHourlyOnDemandSpend: smithy_client_1.expectString(output.CurrentMaximumHourlyOnDemandSpend),
4187
+ CurrentMinimumHourlyOnDemandSpend: smithy_client_1.expectString(output.CurrentMinimumHourlyOnDemandSpend),
4188
+ EstimatedAverageUtilization: smithy_client_1.expectString(output.EstimatedAverageUtilization),
4189
+ EstimatedMonthlySavingsAmount: smithy_client_1.expectString(output.EstimatedMonthlySavingsAmount),
4190
+ EstimatedOnDemandCost: smithy_client_1.expectString(output.EstimatedOnDemandCost),
4191
+ EstimatedOnDemandCostWithCurrentCommitment: smithy_client_1.expectString(output.EstimatedOnDemandCostWithCurrentCommitment),
4192
+ EstimatedROI: smithy_client_1.expectString(output.EstimatedROI),
4193
+ EstimatedSPCost: smithy_client_1.expectString(output.EstimatedSPCost),
4194
+ EstimatedSavingsAmount: smithy_client_1.expectString(output.EstimatedSavingsAmount),
4195
+ EstimatedSavingsPercentage: smithy_client_1.expectString(output.EstimatedSavingsPercentage),
4196
+ HourlyCommitmentToPurchase: smithy_client_1.expectString(output.HourlyCommitmentToPurchase),
4197
4197
  SavingsPlansDetails: output.SavingsPlansDetails !== undefined && output.SavingsPlansDetails !== null
4198
4198
  ? deserializeAws_json1_1SavingsPlansDetails(output.SavingsPlansDetails, context)
4199
4199
  : undefined,
4200
- UpfrontCost: (0, smithy_client_1.expectString)(output.UpfrontCost),
4200
+ UpfrontCost: smithy_client_1.expectString(output.UpfrontCost),
4201
4201
  };
4202
4202
  };
4203
4203
  const deserializeAws_json1_1SavingsPlansPurchaseRecommendationDetailList = (output, context) => {
@@ -4212,38 +4212,38 @@ const deserializeAws_json1_1SavingsPlansPurchaseRecommendationDetailList = (outp
4212
4212
  };
4213
4213
  const deserializeAws_json1_1SavingsPlansPurchaseRecommendationMetadata = (output, context) => {
4214
4214
  return {
4215
- AdditionalMetadata: (0, smithy_client_1.expectString)(output.AdditionalMetadata),
4216
- GenerationTimestamp: (0, smithy_client_1.expectString)(output.GenerationTimestamp),
4217
- RecommendationId: (0, smithy_client_1.expectString)(output.RecommendationId),
4215
+ AdditionalMetadata: smithy_client_1.expectString(output.AdditionalMetadata),
4216
+ GenerationTimestamp: smithy_client_1.expectString(output.GenerationTimestamp),
4217
+ RecommendationId: smithy_client_1.expectString(output.RecommendationId),
4218
4218
  };
4219
4219
  };
4220
4220
  const deserializeAws_json1_1SavingsPlansPurchaseRecommendationSummary = (output, context) => {
4221
4221
  return {
4222
- CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
4223
- CurrentOnDemandSpend: (0, smithy_client_1.expectString)(output.CurrentOnDemandSpend),
4224
- DailyCommitmentToPurchase: (0, smithy_client_1.expectString)(output.DailyCommitmentToPurchase),
4225
- EstimatedMonthlySavingsAmount: (0, smithy_client_1.expectString)(output.EstimatedMonthlySavingsAmount),
4226
- EstimatedOnDemandCostWithCurrentCommitment: (0, smithy_client_1.expectString)(output.EstimatedOnDemandCostWithCurrentCommitment),
4227
- EstimatedROI: (0, smithy_client_1.expectString)(output.EstimatedROI),
4228
- EstimatedSavingsAmount: (0, smithy_client_1.expectString)(output.EstimatedSavingsAmount),
4229
- EstimatedSavingsPercentage: (0, smithy_client_1.expectString)(output.EstimatedSavingsPercentage),
4230
- EstimatedTotalCost: (0, smithy_client_1.expectString)(output.EstimatedTotalCost),
4231
- HourlyCommitmentToPurchase: (0, smithy_client_1.expectString)(output.HourlyCommitmentToPurchase),
4232
- TotalRecommendationCount: (0, smithy_client_1.expectString)(output.TotalRecommendationCount),
4222
+ CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
4223
+ CurrentOnDemandSpend: smithy_client_1.expectString(output.CurrentOnDemandSpend),
4224
+ DailyCommitmentToPurchase: smithy_client_1.expectString(output.DailyCommitmentToPurchase),
4225
+ EstimatedMonthlySavingsAmount: smithy_client_1.expectString(output.EstimatedMonthlySavingsAmount),
4226
+ EstimatedOnDemandCostWithCurrentCommitment: smithy_client_1.expectString(output.EstimatedOnDemandCostWithCurrentCommitment),
4227
+ EstimatedROI: smithy_client_1.expectString(output.EstimatedROI),
4228
+ EstimatedSavingsAmount: smithy_client_1.expectString(output.EstimatedSavingsAmount),
4229
+ EstimatedSavingsPercentage: smithy_client_1.expectString(output.EstimatedSavingsPercentage),
4230
+ EstimatedTotalCost: smithy_client_1.expectString(output.EstimatedTotalCost),
4231
+ HourlyCommitmentToPurchase: smithy_client_1.expectString(output.HourlyCommitmentToPurchase),
4232
+ TotalRecommendationCount: smithy_client_1.expectString(output.TotalRecommendationCount),
4233
4233
  };
4234
4234
  };
4235
4235
  const deserializeAws_json1_1SavingsPlansSavings = (output, context) => {
4236
4236
  return {
4237
- NetSavings: (0, smithy_client_1.expectString)(output.NetSavings),
4238
- OnDemandCostEquivalent: (0, smithy_client_1.expectString)(output.OnDemandCostEquivalent),
4237
+ NetSavings: smithy_client_1.expectString(output.NetSavings),
4238
+ OnDemandCostEquivalent: smithy_client_1.expectString(output.OnDemandCostEquivalent),
4239
4239
  };
4240
4240
  };
4241
4241
  const deserializeAws_json1_1SavingsPlansUtilization = (output, context) => {
4242
4242
  return {
4243
- TotalCommitment: (0, smithy_client_1.expectString)(output.TotalCommitment),
4244
- UnusedCommitment: (0, smithy_client_1.expectString)(output.UnusedCommitment),
4245
- UsedCommitment: (0, smithy_client_1.expectString)(output.UsedCommitment),
4246
- UtilizationPercentage: (0, smithy_client_1.expectString)(output.UtilizationPercentage),
4243
+ TotalCommitment: smithy_client_1.expectString(output.TotalCommitment),
4244
+ UnusedCommitment: smithy_client_1.expectString(output.UnusedCommitment),
4245
+ UsedCommitment: smithy_client_1.expectString(output.UsedCommitment),
4246
+ UtilizationPercentage: smithy_client_1.expectString(output.UtilizationPercentage),
4247
4247
  };
4248
4248
  };
4249
4249
  const deserializeAws_json1_1SavingsPlansUtilizationAggregates = (output, context) => {
@@ -4286,7 +4286,7 @@ const deserializeAws_json1_1SavingsPlansUtilizationDetail = (output, context) =>
4286
4286
  Savings: output.Savings !== undefined && output.Savings !== null
4287
4287
  ? deserializeAws_json1_1SavingsPlansSavings(output.Savings, context)
4288
4288
  : undefined,
4289
- SavingsPlanArn: (0, smithy_client_1.expectString)(output.SavingsPlanArn),
4289
+ SavingsPlanArn: smithy_client_1.expectString(output.SavingsPlanArn),
4290
4290
  Utilization: output.Utilization !== undefined && output.Utilization !== null
4291
4291
  ? deserializeAws_json1_1SavingsPlansUtilization(output.Utilization, context)
4292
4292
  : undefined,
@@ -4314,7 +4314,7 @@ const deserializeAws_json1_1SavingsPlansUtilizationsByTime = (output, context) =
4314
4314
  };
4315
4315
  const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) => {
4316
4316
  return {
4317
- Message: (0, smithy_client_1.expectString)(output.Message),
4317
+ Message: smithy_client_1.expectString(output.Message),
4318
4318
  };
4319
4319
  };
4320
4320
  const deserializeAws_json1_1ServiceSpecification = (output, context) => {
@@ -4326,9 +4326,9 @@ const deserializeAws_json1_1ServiceSpecification = (output, context) => {
4326
4326
  };
4327
4327
  const deserializeAws_json1_1Subscriber = (output, context) => {
4328
4328
  return {
4329
- Address: (0, smithy_client_1.expectString)(output.Address),
4330
- Status: (0, smithy_client_1.expectString)(output.Status),
4331
- Type: (0, smithy_client_1.expectString)(output.Type),
4329
+ Address: smithy_client_1.expectString(output.Address),
4330
+ Status: smithy_client_1.expectString(output.Status),
4331
+ Type: smithy_client_1.expectString(output.Type),
4332
4332
  };
4333
4333
  };
4334
4334
  const deserializeAws_json1_1Subscribers = (output, context) => {
@@ -4348,12 +4348,12 @@ const deserializeAws_json1_1TagList = (output, context) => {
4348
4348
  if (entry === null) {
4349
4349
  return null;
4350
4350
  }
4351
- return (0, smithy_client_1.expectString)(entry);
4351
+ return smithy_client_1.expectString(entry);
4352
4352
  });
4353
4353
  };
4354
4354
  const deserializeAws_json1_1TagValues = (output, context) => {
4355
4355
  return {
4356
- Key: (0, smithy_client_1.expectString)(output.Key),
4356
+ Key: smithy_client_1.expectString(output.Key),
4357
4357
  MatchOptions: output.MatchOptions !== undefined && output.MatchOptions !== null
4358
4358
  ? deserializeAws_json1_1MatchOptions(output.MatchOptions, context)
4359
4359
  : undefined,
@@ -4374,10 +4374,10 @@ const deserializeAws_json1_1TagValuesList = (output, context) => {
4374
4374
  };
4375
4375
  const deserializeAws_json1_1TargetInstance = (output, context) => {
4376
4376
  return {
4377
- CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
4378
- DefaultTargetInstance: (0, smithy_client_1.expectBoolean)(output.DefaultTargetInstance),
4379
- EstimatedMonthlyCost: (0, smithy_client_1.expectString)(output.EstimatedMonthlyCost),
4380
- EstimatedMonthlySavings: (0, smithy_client_1.expectString)(output.EstimatedMonthlySavings),
4377
+ CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
4378
+ DefaultTargetInstance: smithy_client_1.expectBoolean(output.DefaultTargetInstance),
4379
+ EstimatedMonthlyCost: smithy_client_1.expectString(output.EstimatedMonthlyCost),
4380
+ EstimatedMonthlySavings: smithy_client_1.expectString(output.EstimatedMonthlySavings),
4381
4381
  ExpectedResourceUtilization: output.ExpectedResourceUtilization !== undefined && output.ExpectedResourceUtilization !== null
4382
4382
  ? deserializeAws_json1_1ResourceUtilization(output.ExpectedResourceUtilization, context)
4383
4383
  : undefined,
@@ -4401,39 +4401,39 @@ const deserializeAws_json1_1TargetInstancesList = (output, context) => {
4401
4401
  };
4402
4402
  const deserializeAws_json1_1TerminateRecommendationDetail = (output, context) => {
4403
4403
  return {
4404
- CurrencyCode: (0, smithy_client_1.expectString)(output.CurrencyCode),
4405
- EstimatedMonthlySavings: (0, smithy_client_1.expectString)(output.EstimatedMonthlySavings),
4404
+ CurrencyCode: smithy_client_1.expectString(output.CurrencyCode),
4405
+ EstimatedMonthlySavings: smithy_client_1.expectString(output.EstimatedMonthlySavings),
4406
4406
  };
4407
4407
  };
4408
4408
  const deserializeAws_json1_1UnknownMonitorException = (output, context) => {
4409
4409
  return {
4410
- Message: (0, smithy_client_1.expectString)(output.Message),
4410
+ Message: smithy_client_1.expectString(output.Message),
4411
4411
  };
4412
4412
  };
4413
4413
  const deserializeAws_json1_1UnknownSubscriptionException = (output, context) => {
4414
4414
  return {
4415
- Message: (0, smithy_client_1.expectString)(output.Message),
4415
+ Message: smithy_client_1.expectString(output.Message),
4416
4416
  };
4417
4417
  };
4418
4418
  const deserializeAws_json1_1UnresolvableUsageUnitException = (output, context) => {
4419
4419
  return {
4420
- Message: (0, smithy_client_1.expectString)(output.Message),
4420
+ Message: smithy_client_1.expectString(output.Message),
4421
4421
  };
4422
4422
  };
4423
4423
  const deserializeAws_json1_1UpdateAnomalyMonitorResponse = (output, context) => {
4424
4424
  return {
4425
- MonitorArn: (0, smithy_client_1.expectString)(output.MonitorArn),
4425
+ MonitorArn: smithy_client_1.expectString(output.MonitorArn),
4426
4426
  };
4427
4427
  };
4428
4428
  const deserializeAws_json1_1UpdateAnomalySubscriptionResponse = (output, context) => {
4429
4429
  return {
4430
- SubscriptionArn: (0, smithy_client_1.expectString)(output.SubscriptionArn),
4430
+ SubscriptionArn: smithy_client_1.expectString(output.SubscriptionArn),
4431
4431
  };
4432
4432
  };
4433
4433
  const deserializeAws_json1_1UpdateCostCategoryDefinitionResponse = (output, context) => {
4434
4434
  return {
4435
- CostCategoryArn: (0, smithy_client_1.expectString)(output.CostCategoryArn),
4436
- EffectiveStart: (0, smithy_client_1.expectString)(output.EffectiveStart),
4435
+ CostCategoryArn: smithy_client_1.expectString(output.CostCategoryArn),
4436
+ EffectiveStart: smithy_client_1.expectString(output.EffectiveStart),
4437
4437
  };
4438
4438
  };
4439
4439
  const deserializeAws_json1_1UtilizationByTime = (output, context) => {
@@ -4466,7 +4466,7 @@ const deserializeAws_json1_1Values = (output, context) => {
4466
4466
  if (entry === null) {
4467
4467
  return null;
4468
4468
  }
4469
- return (0, smithy_client_1.expectString)(entry);
4469
+ return smithy_client_1.expectString(entry);
4470
4470
  });
4471
4471
  };
4472
4472
  const deserializeMetadata = (output) => {