@aws-sdk/client-devops-guru 3.31.0 → 3.35.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 (384) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/cjs → dist-cjs}/DevOpsGuru.js +1 -1
  3. package/dist-cjs/DevOpsGuru.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/DevOpsGuruClient.js +14 -14
  5. package/dist-cjs/DevOpsGuruClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/AddNotificationChannelCommand.js +5 -5
  7. package/dist-cjs/commands/AddNotificationChannelCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/DescribeAccountHealthCommand.js +5 -5
  9. package/dist-cjs/commands/DescribeAccountHealthCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/DescribeAccountOverviewCommand.js +5 -5
  11. package/dist-cjs/commands/DescribeAccountOverviewCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/DescribeAnomalyCommand.js +5 -5
  13. package/dist-cjs/commands/DescribeAnomalyCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/commands/DescribeFeedbackCommand.js +5 -5
  15. package/dist-cjs/commands/DescribeFeedbackCommand.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/commands/DescribeInsightCommand.js +5 -5
  17. package/dist-cjs/commands/DescribeInsightCommand.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/commands/DescribeResourceCollectionHealthCommand.js +5 -5
  19. package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/commands/DescribeServiceIntegrationCommand.js +5 -5
  21. package/dist-cjs/commands/DescribeServiceIntegrationCommand.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/commands/GetCostEstimationCommand.js +5 -5
  23. package/dist-cjs/commands/GetCostEstimationCommand.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/commands/GetResourceCollectionCommand.js +5 -5
  25. package/dist-cjs/commands/GetResourceCollectionCommand.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/commands/ListAnomaliesForInsightCommand.js +5 -5
  27. package/dist-cjs/commands/ListAnomaliesForInsightCommand.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/commands/ListEventsCommand.js +5 -5
  29. package/dist-cjs/commands/ListEventsCommand.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/commands/ListInsightsCommand.js +5 -5
  31. package/dist-cjs/commands/ListInsightsCommand.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/commands/ListNotificationChannelsCommand.js +5 -5
  33. package/dist-cjs/commands/ListNotificationChannelsCommand.js.map +1 -0
  34. package/{dist/cjs → dist-cjs}/commands/ListRecommendationsCommand.js +5 -5
  35. package/dist-cjs/commands/ListRecommendationsCommand.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/commands/PutFeedbackCommand.js +5 -5
  37. package/dist-cjs/commands/PutFeedbackCommand.js.map +1 -0
  38. package/{dist/cjs → dist-cjs}/commands/RemoveNotificationChannelCommand.js +5 -5
  39. package/dist-cjs/commands/RemoveNotificationChannelCommand.js.map +1 -0
  40. package/{dist/cjs → dist-cjs}/commands/SearchInsightsCommand.js +5 -5
  41. package/dist-cjs/commands/SearchInsightsCommand.js.map +1 -0
  42. package/{dist/cjs → dist-cjs}/commands/StartCostEstimationCommand.js +5 -5
  43. package/dist-cjs/commands/StartCostEstimationCommand.js.map +1 -0
  44. package/{dist/cjs → dist-cjs}/commands/UpdateResourceCollectionCommand.js +5 -5
  45. package/dist-cjs/commands/UpdateResourceCollectionCommand.js.map +1 -0
  46. package/{dist/cjs → dist-cjs}/commands/UpdateServiceIntegrationCommand.js +5 -5
  47. package/dist-cjs/commands/UpdateServiceIntegrationCommand.js.map +1 -0
  48. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  49. package/dist-cjs/endpoints.js.map +1 -0
  50. package/dist-cjs/index.js +38 -0
  51. package/dist-cjs/index.js.map +1 -0
  52. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  53. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  54. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  55. package/dist-cjs/models/models_0.js.map +1 -0
  56. package/{dist/cjs → dist-cjs}/pagination/DescribeResourceCollectionHealthPaginator.js +1 -1
  57. package/dist-cjs/pagination/DescribeResourceCollectionHealthPaginator.js.map +1 -0
  58. package/{dist/cjs → dist-cjs}/pagination/GetCostEstimationPaginator.js +1 -1
  59. package/dist-cjs/pagination/GetCostEstimationPaginator.js.map +1 -0
  60. package/{dist/cjs → dist-cjs}/pagination/GetResourceCollectionPaginator.js +1 -1
  61. package/dist-cjs/pagination/GetResourceCollectionPaginator.js.map +1 -0
  62. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  63. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  64. package/{dist/cjs → dist-cjs}/pagination/ListAnomaliesForInsightPaginator.js +1 -1
  65. package/dist-cjs/pagination/ListAnomaliesForInsightPaginator.js.map +1 -0
  66. package/{dist/cjs → dist-cjs}/pagination/ListEventsPaginator.js +1 -1
  67. package/dist-cjs/pagination/ListEventsPaginator.js.map +1 -0
  68. package/{dist/cjs → dist-cjs}/pagination/ListInsightsPaginator.js +1 -1
  69. package/dist-cjs/pagination/ListInsightsPaginator.js.map +1 -0
  70. package/{dist/cjs → dist-cjs}/pagination/ListNotificationChannelsPaginator.js +1 -1
  71. package/dist-cjs/pagination/ListNotificationChannelsPaginator.js.map +1 -0
  72. package/{dist/cjs → dist-cjs}/pagination/ListRecommendationsPaginator.js +1 -1
  73. package/dist-cjs/pagination/ListRecommendationsPaginator.js.map +1 -0
  74. package/{dist/cjs → dist-cjs}/pagination/SearchInsightsPaginator.js +1 -1
  75. package/dist-cjs/pagination/SearchInsightsPaginator.js.map +1 -0
  76. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +170 -170
  77. package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
  78. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  79. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  80. package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
  81. package/dist-cjs/runtimeConfig.js.map +1 -0
  82. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  83. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  84. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  85. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  86. package/{dist/es → dist-es}/DevOpsGuru.js +2 -20
  87. package/dist-es/DevOpsGuru.js.map +1 -0
  88. package/{dist/es → dist-es}/DevOpsGuruClient.js +2 -25
  89. package/dist-es/DevOpsGuruClient.js.map +1 -0
  90. package/dist-es/commands/AddNotificationChannelCommand.js +40 -0
  91. package/dist-es/commands/AddNotificationChannelCommand.js.map +1 -0
  92. package/{dist/es → dist-es}/commands/DescribeAccountHealthCommand.js +4 -32
  93. package/dist-es/commands/DescribeAccountHealthCommand.js.map +1 -0
  94. package/{dist/es → dist-es}/commands/DescribeAccountOverviewCommand.js +4 -32
  95. package/dist-es/commands/DescribeAccountOverviewCommand.js.map +1 -0
  96. package/{dist/es → dist-es}/commands/DescribeAnomalyCommand.js +4 -31
  97. package/dist-es/commands/DescribeAnomalyCommand.js.map +1 -0
  98. package/{dist/es → dist-es}/commands/DescribeFeedbackCommand.js +4 -31
  99. package/dist-es/commands/DescribeFeedbackCommand.js.map +1 -0
  100. package/{dist/es → dist-es}/commands/DescribeInsightCommand.js +4 -31
  101. package/dist-es/commands/DescribeInsightCommand.js.map +1 -0
  102. package/{dist/es → dist-es}/commands/DescribeResourceCollectionHealthCommand.js +4 -33
  103. package/dist-es/commands/DescribeResourceCollectionHealthCommand.js.map +1 -0
  104. package/{dist/es → dist-es}/commands/DescribeServiceIntegrationCommand.js +4 -33
  105. package/dist-es/commands/DescribeServiceIntegrationCommand.js.map +1 -0
  106. package/{dist/es → dist-es}/commands/GetCostEstimationCommand.js +4 -33
  107. package/dist-es/commands/GetCostEstimationCommand.js.map +1 -0
  108. package/{dist/es → dist-es}/commands/GetResourceCollectionCommand.js +4 -32
  109. package/dist-es/commands/GetResourceCollectionCommand.js.map +1 -0
  110. package/{dist/es → dist-es}/commands/ListAnomaliesForInsightCommand.js +4 -31
  111. package/dist-es/commands/ListAnomaliesForInsightCommand.js.map +1 -0
  112. package/{dist/es → dist-es}/commands/ListEventsCommand.js +4 -31
  113. package/dist-es/commands/ListEventsCommand.js.map +1 -0
  114. package/{dist/es → dist-es}/commands/ListInsightsCommand.js +4 -32
  115. package/dist-es/commands/ListInsightsCommand.js.map +1 -0
  116. package/{dist/es → dist-es}/commands/ListNotificationChannelsCommand.js +4 -33
  117. package/dist-es/commands/ListNotificationChannelsCommand.js.map +1 -0
  118. package/{dist/es → dist-es}/commands/ListRecommendationsCommand.js +4 -31
  119. package/dist-es/commands/ListRecommendationsCommand.js.map +1 -0
  120. package/{dist/es → dist-es}/commands/PutFeedbackCommand.js +4 -31
  121. package/dist-es/commands/PutFeedbackCommand.js.map +1 -0
  122. package/{dist/es → dist-es}/commands/RemoveNotificationChannelCommand.js +4 -32
  123. package/dist-es/commands/RemoveNotificationChannelCommand.js.map +1 -0
  124. package/{dist/es → dist-es}/commands/SearchInsightsCommand.js +4 -37
  125. package/dist-es/commands/SearchInsightsCommand.js.map +1 -0
  126. package/{dist/es → dist-es}/commands/StartCostEstimationCommand.js +4 -29
  127. package/dist-es/commands/StartCostEstimationCommand.js.map +1 -0
  128. package/{dist/es → dist-es}/commands/UpdateResourceCollectionCommand.js +4 -32
  129. package/dist-es/commands/UpdateResourceCollectionCommand.js.map +1 -0
  130. package/{dist/es → dist-es}/commands/UpdateServiceIntegrationCommand.js +4 -32
  131. package/dist-es/commands/UpdateServiceIntegrationCommand.js.map +1 -0
  132. package/{dist/es → dist-es}/endpoints.js +1 -1
  133. package/dist-es/endpoints.js.map +1 -0
  134. package/{dist/es → dist-es}/index.js +0 -0
  135. package/dist-es/index.js.map +1 -0
  136. package/{dist/es → dist-es}/models/index.js +0 -0
  137. package/dist-es/models/index.js.map +1 -0
  138. package/{dist/es → dist-es}/models/models_0.js +0 -318
  139. package/dist-es/models/models_0.js.map +1 -0
  140. package/{dist/es → dist-es}/pagination/DescribeResourceCollectionHealthPaginator.js +17 -29
  141. package/dist-es/pagination/DescribeResourceCollectionHealthPaginator.js.map +1 -0
  142. package/{dist/es → dist-es}/pagination/GetCostEstimationPaginator.js +17 -29
  143. package/dist-es/pagination/GetCostEstimationPaginator.js.map +1 -0
  144. package/{dist/es → dist-es}/pagination/GetResourceCollectionPaginator.js +17 -29
  145. package/dist-es/pagination/GetResourceCollectionPaginator.js.map +1 -0
  146. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  147. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  148. package/{dist/es → dist-es}/pagination/ListAnomaliesForInsightPaginator.js +17 -29
  149. package/dist-es/pagination/ListAnomaliesForInsightPaginator.js.map +1 -0
  150. package/{dist/es → dist-es}/pagination/ListEventsPaginator.js +17 -29
  151. package/dist-es/pagination/ListEventsPaginator.js.map +1 -0
  152. package/{dist/es → dist-es}/pagination/ListInsightsPaginator.js +17 -29
  153. package/dist-es/pagination/ListInsightsPaginator.js.map +1 -0
  154. package/{dist/es → dist-es}/pagination/ListNotificationChannelsPaginator.js +17 -29
  155. package/dist-es/pagination/ListNotificationChannelsPaginator.js.map +1 -0
  156. package/{dist/es → dist-es}/pagination/ListRecommendationsPaginator.js +17 -29
  157. package/dist-es/pagination/ListRecommendationsPaginator.js.map +1 -0
  158. package/{dist/es → dist-es}/pagination/SearchInsightsPaginator.js +17 -29
  159. package/dist-es/pagination/SearchInsightsPaginator.js.map +1 -0
  160. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +608 -613
  161. package/dist-es/protocols/Aws_restJson1.js.map +1 -0
  162. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  163. package/dist-es/runtimeConfig.browser.js.map +1 -0
  164. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  165. package/dist-es/runtimeConfig.js.map +1 -0
  166. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  167. package/dist-es/runtimeConfig.native.js.map +1 -0
  168. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  169. package/dist-es/runtimeConfig.shared.js.map +1 -0
  170. package/{dist/types → dist-types}/DevOpsGuru.d.ts +2 -2
  171. package/{dist/types → dist-types}/DevOpsGuruClient.d.ts +8 -8
  172. package/{dist/types → dist-types}/commands/AddNotificationChannelCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/commands/DescribeAccountHealthCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/commands/DescribeAccountOverviewCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/commands/DescribeAnomalyCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/commands/DescribeFeedbackCommand.d.ts +2 -2
  177. package/{dist/types → dist-types}/commands/DescribeInsightCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/commands/DescribeResourceCollectionHealthCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/commands/DescribeServiceIntegrationCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/commands/GetCostEstimationCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/commands/GetResourceCollectionCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/commands/ListAnomaliesForInsightCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/commands/ListEventsCommand.d.ts +2 -2
  184. package/{dist/types → dist-types}/commands/ListInsightsCommand.d.ts +2 -2
  185. package/{dist/types → dist-types}/commands/ListNotificationChannelsCommand.d.ts +2 -2
  186. package/{dist/types → dist-types}/commands/ListRecommendationsCommand.d.ts +2 -2
  187. package/{dist/types → dist-types}/commands/PutFeedbackCommand.d.ts +2 -2
  188. package/{dist/types → dist-types}/commands/RemoveNotificationChannelCommand.d.ts +2 -2
  189. package/{dist/types → dist-types}/commands/SearchInsightsCommand.d.ts +2 -2
  190. package/{dist/types → dist-types}/commands/StartCostEstimationCommand.d.ts +2 -2
  191. package/{dist/types → dist-types}/commands/UpdateResourceCollectionCommand.d.ts +2 -2
  192. package/{dist/types → dist-types}/commands/UpdateServiceIntegrationCommand.d.ts +2 -2
  193. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  194. package/{dist/types → dist-types}/index.d.ts +0 -0
  195. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  196. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  197. package/{dist/types → dist-types}/pagination/DescribeResourceCollectionHealthPaginator.d.ts +1 -1
  198. package/{dist/types → dist-types}/pagination/GetCostEstimationPaginator.d.ts +1 -1
  199. package/{dist/types → dist-types}/pagination/GetResourceCollectionPaginator.d.ts +1 -1
  200. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  201. package/{dist/types → dist-types}/pagination/ListAnomaliesForInsightPaginator.d.ts +1 -1
  202. package/{dist/types → dist-types}/pagination/ListEventsPaginator.d.ts +1 -1
  203. package/{dist/types → dist-types}/pagination/ListInsightsPaginator.d.ts +1 -1
  204. package/{dist/types → dist-types}/pagination/ListNotificationChannelsPaginator.d.ts +1 -1
  205. package/{dist/types → dist-types}/pagination/ListRecommendationsPaginator.d.ts +1 -1
  206. package/{dist/types → dist-types}/pagination/SearchInsightsPaginator.d.ts +1 -1
  207. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  208. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  209. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  210. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  211. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  212. package/{dist/types → dist-types}/ts3.4/DevOpsGuru.d.ts +2 -2
  213. package/{dist/types → dist-types}/ts3.4/DevOpsGuruClient.d.ts +8 -8
  214. package/{dist/types → dist-types}/ts3.4/commands/AddNotificationChannelCommand.d.ts +2 -2
  215. package/{dist/types → dist-types}/ts3.4/commands/DescribeAccountHealthCommand.d.ts +2 -2
  216. package/{dist/types → dist-types}/ts3.4/commands/DescribeAccountOverviewCommand.d.ts +2 -2
  217. package/{dist/types → dist-types}/ts3.4/commands/DescribeAnomalyCommand.d.ts +2 -2
  218. package/{dist/types → dist-types}/ts3.4/commands/DescribeFeedbackCommand.d.ts +2 -2
  219. package/{dist/types → dist-types}/ts3.4/commands/DescribeInsightCommand.d.ts +2 -2
  220. package/{dist/types → dist-types}/ts3.4/commands/DescribeResourceCollectionHealthCommand.d.ts +2 -2
  221. package/{dist/types → dist-types}/ts3.4/commands/DescribeServiceIntegrationCommand.d.ts +2 -2
  222. package/{dist/types → dist-types}/ts3.4/commands/GetCostEstimationCommand.d.ts +2 -2
  223. package/{dist/types → dist-types}/ts3.4/commands/GetResourceCollectionCommand.d.ts +2 -2
  224. package/{dist/types → dist-types}/ts3.4/commands/ListAnomaliesForInsightCommand.d.ts +2 -2
  225. package/{dist/types → dist-types}/ts3.4/commands/ListEventsCommand.d.ts +2 -2
  226. package/{dist/types → dist-types}/ts3.4/commands/ListInsightsCommand.d.ts +2 -2
  227. package/{dist/types → dist-types}/ts3.4/commands/ListNotificationChannelsCommand.d.ts +2 -2
  228. package/{dist/types → dist-types}/ts3.4/commands/ListRecommendationsCommand.d.ts +2 -2
  229. package/{dist/types → dist-types}/ts3.4/commands/PutFeedbackCommand.d.ts +2 -2
  230. package/{dist/types → dist-types}/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +2 -2
  231. package/{dist/types → dist-types}/ts3.4/commands/SearchInsightsCommand.d.ts +2 -2
  232. package/{dist/types → dist-types}/ts3.4/commands/StartCostEstimationCommand.d.ts +2 -2
  233. package/{dist/types → dist-types}/ts3.4/commands/UpdateResourceCollectionCommand.d.ts +2 -2
  234. package/{dist/types → dist-types}/ts3.4/commands/UpdateServiceIntegrationCommand.d.ts +2 -2
  235. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  236. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  237. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  238. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  239. package/{dist/types → dist-types}/ts3.4/pagination/DescribeResourceCollectionHealthPaginator.d.ts +1 -1
  240. package/{dist/types → dist-types}/ts3.4/pagination/GetCostEstimationPaginator.d.ts +1 -1
  241. package/{dist/types → dist-types}/ts3.4/pagination/GetResourceCollectionPaginator.d.ts +1 -1
  242. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  243. package/{dist/types → dist-types}/ts3.4/pagination/ListAnomaliesForInsightPaginator.d.ts +1 -1
  244. package/{dist/types → dist-types}/ts3.4/pagination/ListEventsPaginator.d.ts +1 -1
  245. package/{dist/types → dist-types}/ts3.4/pagination/ListInsightsPaginator.d.ts +1 -1
  246. package/{dist/types → dist-types}/ts3.4/pagination/ListNotificationChannelsPaginator.d.ts +1 -1
  247. package/{dist/types → dist-types}/ts3.4/pagination/ListRecommendationsPaginator.d.ts +1 -1
  248. package/{dist/types → dist-types}/ts3.4/pagination/SearchInsightsPaginator.d.ts +1 -1
  249. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  250. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  251. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  252. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  253. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  254. package/package.json +50 -50
  255. package/{DevOpsGuru.ts → src/DevOpsGuru.ts} +3 -2
  256. package/{DevOpsGuruClient.ts → src/DevOpsGuruClient.ts} +58 -57
  257. package/{commands → src/commands}/AddNotificationChannelCommand.ts +8 -7
  258. package/{commands → src/commands}/DescribeAccountHealthCommand.ts +8 -7
  259. package/{commands → src/commands}/DescribeAccountOverviewCommand.ts +8 -7
  260. package/{commands → src/commands}/DescribeAnomalyCommand.ts +8 -7
  261. package/{commands → src/commands}/DescribeFeedbackCommand.ts +8 -7
  262. package/{commands → src/commands}/DescribeInsightCommand.ts +8 -7
  263. package/{commands → src/commands}/DescribeResourceCollectionHealthCommand.ts +8 -7
  264. package/{commands → src/commands}/DescribeServiceIntegrationCommand.ts +8 -7
  265. package/{commands → src/commands}/GetCostEstimationCommand.ts +8 -7
  266. package/{commands → src/commands}/GetResourceCollectionCommand.ts +8 -7
  267. package/{commands → src/commands}/ListAnomaliesForInsightCommand.ts +8 -7
  268. package/{commands → src/commands}/ListEventsCommand.ts +8 -7
  269. package/{commands → src/commands}/ListInsightsCommand.ts +8 -7
  270. package/{commands → src/commands}/ListNotificationChannelsCommand.ts +8 -7
  271. package/{commands → src/commands}/ListRecommendationsCommand.ts +8 -7
  272. package/{commands → src/commands}/PutFeedbackCommand.ts +8 -7
  273. package/{commands → src/commands}/RemoveNotificationChannelCommand.ts +8 -7
  274. package/{commands → src/commands}/SearchInsightsCommand.ts +8 -7
  275. package/{commands → src/commands}/StartCostEstimationCommand.ts +8 -7
  276. package/{commands → src/commands}/UpdateResourceCollectionCommand.ts +8 -7
  277. package/{commands → src/commands}/UpdateServiceIntegrationCommand.ts +8 -7
  278. package/{endpoints.ts → src/endpoints.ts} +1 -1
  279. package/{index.ts → src/index.ts} +0 -0
  280. package/{models → src/models}/index.ts +0 -0
  281. package/{models → src/models}/models_0.ts +0 -0
  282. package/{pagination → src/pagination}/DescribeResourceCollectionHealthPaginator.ts +4 -3
  283. package/{pagination → src/pagination}/GetCostEstimationPaginator.ts +4 -3
  284. package/{pagination → src/pagination}/GetResourceCollectionPaginator.ts +4 -3
  285. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  286. package/{pagination → src/pagination}/ListAnomaliesForInsightPaginator.ts +4 -3
  287. package/{pagination → src/pagination}/ListEventsPaginator.ts +3 -2
  288. package/{pagination → src/pagination}/ListInsightsPaginator.ts +4 -3
  289. package/{pagination → src/pagination}/ListNotificationChannelsPaginator.ts +4 -3
  290. package/{pagination → src/pagination}/ListRecommendationsPaginator.ts +4 -3
  291. package/{pagination → src/pagination}/SearchInsightsPaginator.ts +4 -3
  292. package/{protocols → src/protocols}/Aws_restJson1.ts +58 -57
  293. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  294. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  295. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  296. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  297. package/tsconfig.es.json +1 -3
  298. package/tsconfig.json +7 -7
  299. package/tsconfig.types.json +9 -0
  300. package/dist/cjs/DevOpsGuru.js.map +0 -1
  301. package/dist/cjs/DevOpsGuruClient.js.map +0 -1
  302. package/dist/cjs/commands/AddNotificationChannelCommand.js.map +0 -1
  303. package/dist/cjs/commands/DescribeAccountHealthCommand.js.map +0 -1
  304. package/dist/cjs/commands/DescribeAccountOverviewCommand.js.map +0 -1
  305. package/dist/cjs/commands/DescribeAnomalyCommand.js.map +0 -1
  306. package/dist/cjs/commands/DescribeFeedbackCommand.js.map +0 -1
  307. package/dist/cjs/commands/DescribeInsightCommand.js.map +0 -1
  308. package/dist/cjs/commands/DescribeResourceCollectionHealthCommand.js.map +0 -1
  309. package/dist/cjs/commands/DescribeServiceIntegrationCommand.js.map +0 -1
  310. package/dist/cjs/commands/GetCostEstimationCommand.js.map +0 -1
  311. package/dist/cjs/commands/GetResourceCollectionCommand.js.map +0 -1
  312. package/dist/cjs/commands/ListAnomaliesForInsightCommand.js.map +0 -1
  313. package/dist/cjs/commands/ListEventsCommand.js.map +0 -1
  314. package/dist/cjs/commands/ListInsightsCommand.js.map +0 -1
  315. package/dist/cjs/commands/ListNotificationChannelsCommand.js.map +0 -1
  316. package/dist/cjs/commands/ListRecommendationsCommand.js.map +0 -1
  317. package/dist/cjs/commands/PutFeedbackCommand.js.map +0 -1
  318. package/dist/cjs/commands/RemoveNotificationChannelCommand.js.map +0 -1
  319. package/dist/cjs/commands/SearchInsightsCommand.js.map +0 -1
  320. package/dist/cjs/commands/StartCostEstimationCommand.js.map +0 -1
  321. package/dist/cjs/commands/UpdateResourceCollectionCommand.js.map +0 -1
  322. package/dist/cjs/commands/UpdateServiceIntegrationCommand.js.map +0 -1
  323. package/dist/cjs/endpoints.js.map +0 -1
  324. package/dist/cjs/index.js +0 -38
  325. package/dist/cjs/index.js.map +0 -1
  326. package/dist/cjs/models/models_0.js.map +0 -1
  327. package/dist/cjs/package.json +0 -93
  328. package/dist/cjs/pagination/DescribeResourceCollectionHealthPaginator.js.map +0 -1
  329. package/dist/cjs/pagination/GetCostEstimationPaginator.js.map +0 -1
  330. package/dist/cjs/pagination/GetResourceCollectionPaginator.js.map +0 -1
  331. package/dist/cjs/pagination/ListAnomaliesForInsightPaginator.js.map +0 -1
  332. package/dist/cjs/pagination/ListEventsPaginator.js.map +0 -1
  333. package/dist/cjs/pagination/ListInsightsPaginator.js.map +0 -1
  334. package/dist/cjs/pagination/ListNotificationChannelsPaginator.js.map +0 -1
  335. package/dist/cjs/pagination/ListRecommendationsPaginator.js.map +0 -1
  336. package/dist/cjs/pagination/SearchInsightsPaginator.js.map +0 -1
  337. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  338. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  339. package/dist/cjs/runtimeConfig.js.map +0 -1
  340. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  341. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  342. package/dist/es/DevOpsGuru.js.map +0 -1
  343. package/dist/es/DevOpsGuruClient.js.map +0 -1
  344. package/dist/es/commands/AddNotificationChannelCommand.js +0 -75
  345. package/dist/es/commands/AddNotificationChannelCommand.js.map +0 -1
  346. package/dist/es/commands/DescribeAccountHealthCommand.js.map +0 -1
  347. package/dist/es/commands/DescribeAccountOverviewCommand.js.map +0 -1
  348. package/dist/es/commands/DescribeAnomalyCommand.js.map +0 -1
  349. package/dist/es/commands/DescribeFeedbackCommand.js.map +0 -1
  350. package/dist/es/commands/DescribeInsightCommand.js.map +0 -1
  351. package/dist/es/commands/DescribeResourceCollectionHealthCommand.js.map +0 -1
  352. package/dist/es/commands/DescribeServiceIntegrationCommand.js.map +0 -1
  353. package/dist/es/commands/GetCostEstimationCommand.js.map +0 -1
  354. package/dist/es/commands/GetResourceCollectionCommand.js.map +0 -1
  355. package/dist/es/commands/ListAnomaliesForInsightCommand.js.map +0 -1
  356. package/dist/es/commands/ListEventsCommand.js.map +0 -1
  357. package/dist/es/commands/ListInsightsCommand.js.map +0 -1
  358. package/dist/es/commands/ListNotificationChannelsCommand.js.map +0 -1
  359. package/dist/es/commands/ListRecommendationsCommand.js.map +0 -1
  360. package/dist/es/commands/PutFeedbackCommand.js.map +0 -1
  361. package/dist/es/commands/RemoveNotificationChannelCommand.js.map +0 -1
  362. package/dist/es/commands/SearchInsightsCommand.js.map +0 -1
  363. package/dist/es/commands/StartCostEstimationCommand.js.map +0 -1
  364. package/dist/es/commands/UpdateResourceCollectionCommand.js.map +0 -1
  365. package/dist/es/commands/UpdateServiceIntegrationCommand.js.map +0 -1
  366. package/dist/es/endpoints.js.map +0 -1
  367. package/dist/es/index.js.map +0 -1
  368. package/dist/es/models/index.js.map +0 -1
  369. package/dist/es/models/models_0.js.map +0 -1
  370. package/dist/es/package.json +0 -93
  371. package/dist/es/pagination/DescribeResourceCollectionHealthPaginator.js.map +0 -1
  372. package/dist/es/pagination/GetCostEstimationPaginator.js.map +0 -1
  373. package/dist/es/pagination/GetResourceCollectionPaginator.js.map +0 -1
  374. package/dist/es/pagination/ListAnomaliesForInsightPaginator.js.map +0 -1
  375. package/dist/es/pagination/ListEventsPaginator.js.map +0 -1
  376. package/dist/es/pagination/ListInsightsPaginator.js.map +0 -1
  377. package/dist/es/pagination/ListNotificationChannelsPaginator.js.map +0 -1
  378. package/dist/es/pagination/ListRecommendationsPaginator.js.map +0 -1
  379. package/dist/es/pagination/SearchInsightsPaginator.js.map +0 -1
  380. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  381. package/dist/es/runtimeConfig.browser.js.map +0 -1
  382. package/dist/es/runtimeConfig.js.map +0 -1
  383. package/dist/es/runtimeConfig.native.js.map +0 -1
  384. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -9,7 +9,7 @@ const serializeAws_restJson1AddNotificationChannelCommand = async (input, contex
9
9
  const headers = {
10
10
  "content-type": "application/json",
11
11
  };
12
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
12
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
13
13
  let body;
14
14
  body = JSON.stringify({
15
15
  ...(input.Config !== undefined &&
@@ -31,7 +31,7 @@ const serializeAws_restJson1DescribeAccountHealthCommand = async (input, context
31
31
  const headers = {
32
32
  "content-type": "application/json",
33
33
  };
34
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/health";
34
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/health";
35
35
  let body;
36
36
  body = "";
37
37
  return new protocol_http_1.HttpRequest({
@@ -50,7 +50,7 @@ const serializeAws_restJson1DescribeAccountOverviewCommand = async (input, conte
50
50
  const headers = {
51
51
  "content-type": "application/json",
52
52
  };
53
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/overview";
53
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/overview";
54
54
  let body;
55
55
  body = JSON.stringify({
56
56
  ...(input.FromTime !== undefined &&
@@ -77,7 +77,7 @@ const serializeAws_restJson1DescribeAnomalyCommand = async (input, context) => {
77
77
  if (labelValue.length <= 0) {
78
78
  throw new Error("Empty value provided for input HTTP label: Id.");
79
79
  }
80
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
80
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
81
81
  }
82
82
  else {
83
83
  throw new Error("No value provided for input HTTP label: Id.");
@@ -99,7 +99,7 @@ const serializeAws_restJson1DescribeFeedbackCommand = async (input, context) =>
99
99
  const headers = {
100
100
  "content-type": "application/json",
101
101
  };
102
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/feedback";
102
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/feedback";
103
103
  let body;
104
104
  body = JSON.stringify({
105
105
  ...(input.InsightId !== undefined && input.InsightId !== null && { InsightId: input.InsightId }),
@@ -124,7 +124,7 @@ const serializeAws_restJson1DescribeInsightCommand = async (input, context) => {
124
124
  if (labelValue.length <= 0) {
125
125
  throw new Error("Empty value provided for input HTTP label: Id.");
126
126
  }
127
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
127
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
128
128
  }
129
129
  else {
130
130
  throw new Error("No value provided for input HTTP label: Id.");
@@ -151,7 +151,7 @@ const serializeAws_restJson1DescribeResourceCollectionHealthCommand = async (inp
151
151
  if (labelValue.length <= 0) {
152
152
  throw new Error("Empty value provided for input HTTP label: ResourceCollectionType.");
153
153
  }
154
- resolvedPath = resolvedPath.replace("{ResourceCollectionType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
154
+ resolvedPath = resolvedPath.replace("{ResourceCollectionType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
155
155
  }
156
156
  else {
157
157
  throw new Error("No value provided for input HTTP label: ResourceCollectionType.");
@@ -177,7 +177,7 @@ const serializeAws_restJson1DescribeServiceIntegrationCommand = async (input, co
177
177
  const headers = {
178
178
  "content-type": "application/json",
179
179
  };
180
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/service-integrations";
180
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/service-integrations";
181
181
  let body;
182
182
  body = "";
183
183
  return new protocol_http_1.HttpRequest({
@@ -194,7 +194,7 @@ exports.serializeAws_restJson1DescribeServiceIntegrationCommand = serializeAws_r
194
194
  const serializeAws_restJson1GetCostEstimationCommand = async (input, context) => {
195
195
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
196
196
  const headers = {};
197
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/cost-estimation";
197
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/cost-estimation";
198
198
  const query = {
199
199
  ...(input.NextToken !== undefined && { NextToken: input.NextToken }),
200
200
  };
@@ -221,7 +221,7 @@ const serializeAws_restJson1GetResourceCollectionCommand = async (input, context
221
221
  if (labelValue.length <= 0) {
222
222
  throw new Error("Empty value provided for input HTTP label: ResourceCollectionType.");
223
223
  }
224
- resolvedPath = resolvedPath.replace("{ResourceCollectionType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
224
+ resolvedPath = resolvedPath.replace("{ResourceCollectionType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
225
225
  }
226
226
  else {
227
227
  throw new Error("No value provided for input HTTP label: ResourceCollectionType.");
@@ -253,7 +253,7 @@ const serializeAws_restJson1ListAnomaliesForInsightCommand = async (input, conte
253
253
  if (labelValue.length <= 0) {
254
254
  throw new Error("Empty value provided for input HTTP label: InsightId.");
255
255
  }
256
- resolvedPath = resolvedPath.replace("{InsightId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
256
+ resolvedPath = resolvedPath.replace("{InsightId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
257
257
  }
258
258
  else {
259
259
  throw new Error("No value provided for input HTTP label: InsightId.");
@@ -283,7 +283,7 @@ const serializeAws_restJson1ListEventsCommand = async (input, context) => {
283
283
  const headers = {
284
284
  "content-type": "application/json",
285
285
  };
286
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/events";
286
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/events";
287
287
  let body;
288
288
  body = JSON.stringify({
289
289
  ...(input.Filters !== undefined &&
@@ -307,7 +307,7 @@ const serializeAws_restJson1ListInsightsCommand = async (input, context) => {
307
307
  const headers = {
308
308
  "content-type": "application/json",
309
309
  };
310
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/insights";
310
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/insights";
311
311
  let body;
312
312
  body = JSON.stringify({
313
313
  ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
@@ -333,7 +333,7 @@ const serializeAws_restJson1ListNotificationChannelsCommand = async (input, cont
333
333
  const headers = {
334
334
  "content-type": "application/json",
335
335
  };
336
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
336
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
337
337
  let body;
338
338
  body = JSON.stringify({
339
339
  ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
@@ -354,7 +354,7 @@ const serializeAws_restJson1ListRecommendationsCommand = async (input, context)
354
354
  const headers = {
355
355
  "content-type": "application/json",
356
356
  };
357
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/recommendations";
357
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/recommendations";
358
358
  let body;
359
359
  body = JSON.stringify({
360
360
  ...(input.InsightId !== undefined && input.InsightId !== null && { InsightId: input.InsightId }),
@@ -377,7 +377,7 @@ const serializeAws_restJson1PutFeedbackCommand = async (input, context) => {
377
377
  const headers = {
378
378
  "content-type": "application/json",
379
379
  };
380
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/feedback";
380
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/feedback";
381
381
  let body;
382
382
  body = JSON.stringify({
383
383
  ...(input.InsightFeedback !== undefined &&
@@ -405,7 +405,7 @@ const serializeAws_restJson1RemoveNotificationChannelCommand = async (input, con
405
405
  if (labelValue.length <= 0) {
406
406
  throw new Error("Empty value provided for input HTTP label: Id.");
407
407
  }
408
- resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
408
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
409
409
  }
410
410
  else {
411
411
  throw new Error("No value provided for input HTTP label: Id.");
@@ -427,7 +427,7 @@ const serializeAws_restJson1SearchInsightsCommand = async (input, context) => {
427
427
  const headers = {
428
428
  "content-type": "application/json",
429
429
  };
430
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/insights/search";
430
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/insights/search";
431
431
  let body;
432
432
  body = JSON.stringify({
433
433
  ...(input.Filters !== undefined &&
@@ -457,10 +457,10 @@ const serializeAws_restJson1StartCostEstimationCommand = async (input, context)
457
457
  const headers = {
458
458
  "content-type": "application/json",
459
459
  };
460
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/cost-estimation";
460
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/cost-estimation";
461
461
  let body;
462
462
  body = JSON.stringify({
463
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
463
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
464
464
  ...(input.ResourceCollection !== undefined &&
465
465
  input.ResourceCollection !== null && {
466
466
  ResourceCollection: serializeAws_restJson1CostEstimationResourceCollectionFilter(input.ResourceCollection, context),
@@ -482,7 +482,7 @@ const serializeAws_restJson1UpdateResourceCollectionCommand = async (input, cont
482
482
  const headers = {
483
483
  "content-type": "application/json",
484
484
  };
485
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/resource-collections";
485
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/resource-collections";
486
486
  let body;
487
487
  body = JSON.stringify({
488
488
  ...(input.Action !== undefined && input.Action !== null && { Action: input.Action }),
@@ -507,7 +507,7 @@ const serializeAws_restJson1UpdateServiceIntegrationCommand = async (input, cont
507
507
  const headers = {
508
508
  "content-type": "application/json",
509
509
  };
510
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/service-integrations";
510
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/service-integrations";
511
511
  let body;
512
512
  body = JSON.stringify({
513
513
  ...(input.ServiceIntegration !== undefined &&
@@ -534,9 +534,9 @@ const deserializeAws_restJson1AddNotificationChannelCommand = async (output, con
534
534
  $metadata: deserializeMetadata(output),
535
535
  Id: undefined,
536
536
  };
537
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
537
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
538
538
  if (data.Id !== undefined && data.Id !== null) {
539
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
539
+ contents.Id = smithy_client_1.expectString(data.Id);
540
540
  }
541
541
  return Promise.resolve(contents);
542
542
  };
@@ -633,18 +633,18 @@ const deserializeAws_restJson1DescribeAccountHealthCommand = async (output, cont
633
633
  OpenReactiveInsights: undefined,
634
634
  ResourceHours: undefined,
635
635
  };
636
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
636
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
637
637
  if (data.MetricsAnalyzed !== undefined && data.MetricsAnalyzed !== null) {
638
- contents.MetricsAnalyzed = (0, smithy_client_1.expectInt32)(data.MetricsAnalyzed);
638
+ contents.MetricsAnalyzed = smithy_client_1.expectInt32(data.MetricsAnalyzed);
639
639
  }
640
640
  if (data.OpenProactiveInsights !== undefined && data.OpenProactiveInsights !== null) {
641
- contents.OpenProactiveInsights = (0, smithy_client_1.expectInt32)(data.OpenProactiveInsights);
641
+ contents.OpenProactiveInsights = smithy_client_1.expectInt32(data.OpenProactiveInsights);
642
642
  }
643
643
  if (data.OpenReactiveInsights !== undefined && data.OpenReactiveInsights !== null) {
644
- contents.OpenReactiveInsights = (0, smithy_client_1.expectInt32)(data.OpenReactiveInsights);
644
+ contents.OpenReactiveInsights = smithy_client_1.expectInt32(data.OpenReactiveInsights);
645
645
  }
646
646
  if (data.ResourceHours !== undefined && data.ResourceHours !== null) {
647
- contents.ResourceHours = (0, smithy_client_1.expectLong)(data.ResourceHours);
647
+ contents.ResourceHours = smithy_client_1.expectLong(data.ResourceHours);
648
648
  }
649
649
  return Promise.resolve(contents);
650
650
  };
@@ -716,15 +716,15 @@ const deserializeAws_restJson1DescribeAccountOverviewCommand = async (output, co
716
716
  ProactiveInsights: undefined,
717
717
  ReactiveInsights: undefined,
718
718
  };
719
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
719
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
720
720
  if (data.MeanTimeToRecoverInMilliseconds !== undefined && data.MeanTimeToRecoverInMilliseconds !== null) {
721
- contents.MeanTimeToRecoverInMilliseconds = (0, smithy_client_1.expectLong)(data.MeanTimeToRecoverInMilliseconds);
721
+ contents.MeanTimeToRecoverInMilliseconds = smithy_client_1.expectLong(data.MeanTimeToRecoverInMilliseconds);
722
722
  }
723
723
  if (data.ProactiveInsights !== undefined && data.ProactiveInsights !== null) {
724
- contents.ProactiveInsights = (0, smithy_client_1.expectInt32)(data.ProactiveInsights);
724
+ contents.ProactiveInsights = smithy_client_1.expectInt32(data.ProactiveInsights);
725
725
  }
726
726
  if (data.ReactiveInsights !== undefined && data.ReactiveInsights !== null) {
727
- contents.ReactiveInsights = (0, smithy_client_1.expectInt32)(data.ReactiveInsights);
727
+ contents.ReactiveInsights = smithy_client_1.expectInt32(data.ReactiveInsights);
728
728
  }
729
729
  return Promise.resolve(contents);
730
730
  };
@@ -795,7 +795,7 @@ const deserializeAws_restJson1DescribeAnomalyCommand = async (output, context) =
795
795
  ProactiveAnomaly: undefined,
796
796
  ReactiveAnomaly: undefined,
797
797
  };
798
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
798
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
799
799
  if (data.ProactiveAnomaly !== undefined && data.ProactiveAnomaly !== null) {
800
800
  contents.ProactiveAnomaly = deserializeAws_restJson1ProactiveAnomaly(data.ProactiveAnomaly, context);
801
801
  }
@@ -878,7 +878,7 @@ const deserializeAws_restJson1DescribeFeedbackCommand = async (output, context)
878
878
  $metadata: deserializeMetadata(output),
879
879
  InsightFeedback: undefined,
880
880
  };
881
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
881
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
882
882
  if (data.InsightFeedback !== undefined && data.InsightFeedback !== null) {
883
883
  contents.InsightFeedback = deserializeAws_restJson1InsightFeedback(data.InsightFeedback, context);
884
884
  }
@@ -959,7 +959,7 @@ const deserializeAws_restJson1DescribeInsightCommand = async (output, context) =
959
959
  ProactiveInsight: undefined,
960
960
  ReactiveInsight: undefined,
961
961
  };
962
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
962
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
963
963
  if (data.ProactiveInsight !== undefined && data.ProactiveInsight !== null) {
964
964
  contents.ProactiveInsight = deserializeAws_restJson1ProactiveInsight(data.ProactiveInsight, context);
965
965
  }
@@ -1044,12 +1044,12 @@ const deserializeAws_restJson1DescribeResourceCollectionHealthCommand = async (o
1044
1044
  NextToken: undefined,
1045
1045
  Service: undefined,
1046
1046
  };
1047
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1047
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1048
1048
  if (data.CloudFormation !== undefined && data.CloudFormation !== null) {
1049
1049
  contents.CloudFormation = deserializeAws_restJson1CloudFormationHealths(data.CloudFormation, context);
1050
1050
  }
1051
1051
  if (data.NextToken !== undefined && data.NextToken !== null) {
1052
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1052
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1053
1053
  }
1054
1054
  if (data.Service !== undefined && data.Service !== null) {
1055
1055
  contents.Service = deserializeAws_restJson1ServiceHealths(data.Service, context);
@@ -1122,7 +1122,7 @@ const deserializeAws_restJson1DescribeServiceIntegrationCommand = async (output,
1122
1122
  $metadata: deserializeMetadata(output),
1123
1123
  ServiceIntegration: undefined,
1124
1124
  };
1125
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1125
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1126
1126
  if (data.ServiceIntegration !== undefined && data.ServiceIntegration !== null) {
1127
1127
  contents.ServiceIntegration = deserializeAws_restJson1ServiceIntegrationConfig(data.ServiceIntegration, context);
1128
1128
  }
@@ -1199,24 +1199,24 @@ const deserializeAws_restJson1GetCostEstimationCommand = async (output, context)
1199
1199
  TimeRange: undefined,
1200
1200
  TotalCost: undefined,
1201
1201
  };
1202
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1202
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1203
1203
  if (data.Costs !== undefined && data.Costs !== null) {
1204
1204
  contents.Costs = deserializeAws_restJson1ServiceResourceCosts(data.Costs, context);
1205
1205
  }
1206
1206
  if (data.NextToken !== undefined && data.NextToken !== null) {
1207
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1207
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1208
1208
  }
1209
1209
  if (data.ResourceCollection !== undefined && data.ResourceCollection !== null) {
1210
1210
  contents.ResourceCollection = deserializeAws_restJson1CostEstimationResourceCollectionFilter(data.ResourceCollection, context);
1211
1211
  }
1212
1212
  if (data.Status !== undefined && data.Status !== null) {
1213
- contents.Status = (0, smithy_client_1.expectString)(data.Status);
1213
+ contents.Status = smithy_client_1.expectString(data.Status);
1214
1214
  }
1215
1215
  if (data.TimeRange !== undefined && data.TimeRange !== null) {
1216
1216
  contents.TimeRange = deserializeAws_restJson1CostEstimationTimeRange(data.TimeRange, context);
1217
1217
  }
1218
1218
  if (data.TotalCost !== undefined && data.TotalCost !== null) {
1219
- contents.TotalCost = (0, smithy_client_1.limitedParseDouble)(data.TotalCost);
1219
+ contents.TotalCost = smithy_client_1.limitedParseDouble(data.TotalCost);
1220
1220
  }
1221
1221
  return Promise.resolve(contents);
1222
1222
  };
@@ -1295,9 +1295,9 @@ const deserializeAws_restJson1GetResourceCollectionCommand = async (output, cont
1295
1295
  NextToken: undefined,
1296
1296
  ResourceCollection: undefined,
1297
1297
  };
1298
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1298
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1299
1299
  if (data.NextToken !== undefined && data.NextToken !== null) {
1300
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1300
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1301
1301
  }
1302
1302
  if (data.ResourceCollection !== undefined && data.ResourceCollection !== null) {
1303
1303
  contents.ResourceCollection = deserializeAws_restJson1ResourceCollectionFilter(data.ResourceCollection, context);
@@ -1380,9 +1380,9 @@ const deserializeAws_restJson1ListAnomaliesForInsightCommand = async (output, co
1380
1380
  ProactiveAnomalies: undefined,
1381
1381
  ReactiveAnomalies: undefined,
1382
1382
  };
1383
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1383
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1384
1384
  if (data.NextToken !== undefined && data.NextToken !== null) {
1385
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1385
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1386
1386
  }
1387
1387
  if (data.ProactiveAnomalies !== undefined && data.ProactiveAnomalies !== null) {
1388
1388
  contents.ProactiveAnomalies = deserializeAws_restJson1ProactiveAnomalies(data.ProactiveAnomalies, context);
@@ -1467,12 +1467,12 @@ const deserializeAws_restJson1ListEventsCommand = async (output, context) => {
1467
1467
  Events: undefined,
1468
1468
  NextToken: undefined,
1469
1469
  };
1470
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1470
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1471
1471
  if (data.Events !== undefined && data.Events !== null) {
1472
1472
  contents.Events = deserializeAws_restJson1Events(data.Events, context);
1473
1473
  }
1474
1474
  if (data.NextToken !== undefined && data.NextToken !== null) {
1475
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1475
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1476
1476
  }
1477
1477
  return Promise.resolve(contents);
1478
1478
  };
@@ -1552,9 +1552,9 @@ const deserializeAws_restJson1ListInsightsCommand = async (output, context) => {
1552
1552
  ProactiveInsights: undefined,
1553
1553
  ReactiveInsights: undefined,
1554
1554
  };
1555
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1555
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1556
1556
  if (data.NextToken !== undefined && data.NextToken !== null) {
1557
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1557
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1558
1558
  }
1559
1559
  if (data.ProactiveInsights !== undefined && data.ProactiveInsights !== null) {
1560
1560
  contents.ProactiveInsights = deserializeAws_restJson1ProactiveInsights(data.ProactiveInsights, context);
@@ -1631,12 +1631,12 @@ const deserializeAws_restJson1ListNotificationChannelsCommand = async (output, c
1631
1631
  Channels: undefined,
1632
1632
  NextToken: undefined,
1633
1633
  };
1634
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1634
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1635
1635
  if (data.Channels !== undefined && data.Channels !== null) {
1636
1636
  contents.Channels = deserializeAws_restJson1Channels(data.Channels, context);
1637
1637
  }
1638
1638
  if (data.NextToken !== undefined && data.NextToken !== null) {
1639
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1639
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1640
1640
  }
1641
1641
  return Promise.resolve(contents);
1642
1642
  };
@@ -1707,9 +1707,9 @@ const deserializeAws_restJson1ListRecommendationsCommand = async (output, contex
1707
1707
  NextToken: undefined,
1708
1708
  Recommendations: undefined,
1709
1709
  };
1710
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1710
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1711
1711
  if (data.NextToken !== undefined && data.NextToken !== null) {
1712
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1712
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1713
1713
  }
1714
1714
  if (data.Recommendations !== undefined && data.Recommendations !== null) {
1715
1715
  contents.Recommendations = deserializeAws_restJson1Recommendations(data.Recommendations, context);
@@ -1960,9 +1960,9 @@ const deserializeAws_restJson1SearchInsightsCommand = async (output, context) =>
1960
1960
  ProactiveInsights: undefined,
1961
1961
  ReactiveInsights: undefined,
1962
1962
  };
1963
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1963
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1964
1964
  if (data.NextToken !== undefined && data.NextToken !== null) {
1965
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1965
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
1966
1966
  }
1967
1967
  if (data.ProactiveInsights !== undefined && data.ProactiveInsights !== null) {
1968
1968
  contents.ProactiveInsights = deserializeAws_restJson1ProactiveInsights(data.ProactiveInsights, context);
@@ -2275,7 +2275,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2275
2275
  };
2276
2276
  const data = parsedOutput.body;
2277
2277
  if (data.Message !== undefined && data.Message !== null) {
2278
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2278
+ contents.Message = smithy_client_1.expectString(data.Message);
2279
2279
  }
2280
2280
  return contents;
2281
2281
  };
@@ -2290,13 +2290,13 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2290
2290
  };
2291
2291
  const data = parsedOutput.body;
2292
2292
  if (data.Message !== undefined && data.Message !== null) {
2293
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2293
+ contents.Message = smithy_client_1.expectString(data.Message);
2294
2294
  }
2295
2295
  if (data.ResourceId !== undefined && data.ResourceId !== null) {
2296
- contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
2296
+ contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
2297
2297
  }
2298
2298
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
2299
- contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
2299
+ contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
2300
2300
  }
2301
2301
  return contents;
2302
2302
  };
@@ -2309,11 +2309,11 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2309
2309
  RetryAfterSeconds: undefined,
2310
2310
  };
2311
2311
  if (parsedOutput.headers["retry-after"] !== undefined) {
2312
- contents.RetryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
2312
+ contents.RetryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
2313
2313
  }
2314
2314
  const data = parsedOutput.body;
2315
2315
  if (data.Message !== undefined && data.Message !== null) {
2316
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2316
+ contents.Message = smithy_client_1.expectString(data.Message);
2317
2317
  }
2318
2318
  return contents;
2319
2319
  };
@@ -2328,13 +2328,13 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2328
2328
  };
2329
2329
  const data = parsedOutput.body;
2330
2330
  if (data.Message !== undefined && data.Message !== null) {
2331
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2331
+ contents.Message = smithy_client_1.expectString(data.Message);
2332
2332
  }
2333
2333
  if (data.ResourceId !== undefined && data.ResourceId !== null) {
2334
- contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
2334
+ contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
2335
2335
  }
2336
2336
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
2337
- contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
2337
+ contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
2338
2338
  }
2339
2339
  return contents;
2340
2340
  };
@@ -2347,7 +2347,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2347
2347
  };
2348
2348
  const data = parsedOutput.body;
2349
2349
  if (data.Message !== undefined && data.Message !== null) {
2350
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2350
+ contents.Message = smithy_client_1.expectString(data.Message);
2351
2351
  }
2352
2352
  return contents;
2353
2353
  };
@@ -2362,17 +2362,17 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2362
2362
  ServiceCode: undefined,
2363
2363
  };
2364
2364
  if (parsedOutput.headers["retry-after"] !== undefined) {
2365
- contents.RetryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
2365
+ contents.RetryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
2366
2366
  }
2367
2367
  const data = parsedOutput.body;
2368
2368
  if (data.Message !== undefined && data.Message !== null) {
2369
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2369
+ contents.Message = smithy_client_1.expectString(data.Message);
2370
2370
  }
2371
2371
  if (data.QuotaCode !== undefined && data.QuotaCode !== null) {
2372
- contents.QuotaCode = (0, smithy_client_1.expectString)(data.QuotaCode);
2372
+ contents.QuotaCode = smithy_client_1.expectString(data.QuotaCode);
2373
2373
  }
2374
2374
  if (data.ServiceCode !== undefined && data.ServiceCode !== null) {
2375
- contents.ServiceCode = (0, smithy_client_1.expectString)(data.ServiceCode);
2375
+ contents.ServiceCode = smithy_client_1.expectString(data.ServiceCode);
2376
2376
  }
2377
2377
  return contents;
2378
2378
  };
@@ -2390,10 +2390,10 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2390
2390
  contents.Fields = deserializeAws_restJson1ValidationExceptionFields(data.Fields, context);
2391
2391
  }
2392
2392
  if (data.Message !== undefined && data.Message !== null) {
2393
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
2393
+ contents.Message = smithy_client_1.expectString(data.Message);
2394
2394
  }
2395
2395
  if (data.Reason !== undefined && data.Reason !== null) {
2396
- contents.Reason = (0, smithy_client_1.expectString)(data.Reason);
2396
+ contents.Reason = smithy_client_1.expectString(data.Reason);
2397
2397
  }
2398
2398
  return contents;
2399
2399
  };
@@ -2626,10 +2626,10 @@ const serializeAws_restJson1UpdateStackNames = (input, context) => {
2626
2626
  const deserializeAws_restJson1AnomalyReportedTimeRange = (output, context) => {
2627
2627
  return {
2628
2628
  CloseTime: output.CloseTime !== undefined && output.CloseTime !== null
2629
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CloseTime)))
2629
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CloseTime)))
2630
2630
  : undefined,
2631
2631
  OpenTime: output.OpenTime !== undefined && output.OpenTime !== null
2632
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OpenTime)))
2632
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.OpenTime)))
2633
2633
  : undefined,
2634
2634
  };
2635
2635
  };
@@ -2643,10 +2643,10 @@ const deserializeAws_restJson1AnomalySourceDetails = (output, context) => {
2643
2643
  const deserializeAws_restJson1AnomalyTimeRange = (output, context) => {
2644
2644
  return {
2645
2645
  EndTime: output.EndTime !== undefined && output.EndTime !== null
2646
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
2646
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2647
2647
  : undefined,
2648
2648
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2649
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
2649
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2650
2650
  : undefined,
2651
2651
  };
2652
2652
  };
@@ -2686,7 +2686,7 @@ const deserializeAws_restJson1CloudFormationHealth = (output, context) => {
2686
2686
  Insight: output.Insight !== undefined && output.Insight !== null
2687
2687
  ? deserializeAws_restJson1InsightHealth(output.Insight, context)
2688
2688
  : undefined,
2689
- StackName: (0, smithy_client_1.expectString)(output.StackName),
2689
+ StackName: smithy_client_1.expectString(output.StackName),
2690
2690
  };
2691
2691
  };
2692
2692
  const deserializeAws_restJson1CloudFormationHealths = (output, context) => {
@@ -2704,11 +2704,11 @@ const deserializeAws_restJson1CloudWatchMetricsDetail = (output, context) => {
2704
2704
  Dimensions: output.Dimensions !== undefined && output.Dimensions !== null
2705
2705
  ? deserializeAws_restJson1CloudWatchMetricsDimensions(output.Dimensions, context)
2706
2706
  : undefined,
2707
- MetricName: (0, smithy_client_1.expectString)(output.MetricName),
2708
- Namespace: (0, smithy_client_1.expectString)(output.Namespace),
2709
- Period: (0, smithy_client_1.expectInt32)(output.Period),
2710
- Stat: (0, smithy_client_1.expectString)(output.Stat),
2711
- Unit: (0, smithy_client_1.expectString)(output.Unit),
2707
+ MetricName: smithy_client_1.expectString(output.MetricName),
2708
+ Namespace: smithy_client_1.expectString(output.Namespace),
2709
+ Period: smithy_client_1.expectInt32(output.Period),
2710
+ Stat: smithy_client_1.expectString(output.Stat),
2711
+ Unit: smithy_client_1.expectString(output.Unit),
2712
2712
  };
2713
2713
  };
2714
2714
  const deserializeAws_restJson1CloudWatchMetricsDetails = (output, context) => {
@@ -2723,8 +2723,8 @@ const deserializeAws_restJson1CloudWatchMetricsDetails = (output, context) => {
2723
2723
  };
2724
2724
  const deserializeAws_restJson1CloudWatchMetricsDimension = (output, context) => {
2725
2725
  return {
2726
- Name: (0, smithy_client_1.expectString)(output.Name),
2727
- Value: (0, smithy_client_1.expectString)(output.Value),
2726
+ Name: smithy_client_1.expectString(output.Name),
2727
+ Value: smithy_client_1.expectString(output.Value),
2728
2728
  };
2729
2729
  };
2730
2730
  const deserializeAws_restJson1CloudWatchMetricsDimensions = (output, context) => {
@@ -2751,26 +2751,26 @@ const deserializeAws_restJson1CostEstimationStackNames = (output, context) => {
2751
2751
  if (entry === null) {
2752
2752
  return null;
2753
2753
  }
2754
- return (0, smithy_client_1.expectString)(entry);
2754
+ return smithy_client_1.expectString(entry);
2755
2755
  });
2756
2756
  };
2757
2757
  const deserializeAws_restJson1CostEstimationTimeRange = (output, context) => {
2758
2758
  return {
2759
2759
  EndTime: output.EndTime !== undefined && output.EndTime !== null
2760
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
2760
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2761
2761
  : undefined,
2762
2762
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2763
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
2763
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2764
2764
  : undefined,
2765
2765
  };
2766
2766
  };
2767
2767
  const deserializeAws_restJson1Event = (output, context) => {
2768
2768
  return {
2769
- DataSource: (0, smithy_client_1.expectString)(output.DataSource),
2770
- EventClass: (0, smithy_client_1.expectString)(output.EventClass),
2771
- EventSource: (0, smithy_client_1.expectString)(output.EventSource),
2772
- Id: (0, smithy_client_1.expectString)(output.Id),
2773
- Name: (0, smithy_client_1.expectString)(output.Name),
2769
+ DataSource: smithy_client_1.expectString(output.DataSource),
2770
+ EventClass: smithy_client_1.expectString(output.EventClass),
2771
+ EventSource: smithy_client_1.expectString(output.EventSource),
2772
+ Id: smithy_client_1.expectString(output.Id),
2773
+ Name: smithy_client_1.expectString(output.Name),
2774
2774
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
2775
2775
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
2776
2776
  : undefined,
@@ -2778,15 +2778,15 @@ const deserializeAws_restJson1Event = (output, context) => {
2778
2778
  ? deserializeAws_restJson1EventResources(output.Resources, context)
2779
2779
  : undefined,
2780
2780
  Time: output.Time !== undefined && output.Time !== null
2781
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Time)))
2781
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Time)))
2782
2782
  : undefined,
2783
2783
  };
2784
2784
  };
2785
2785
  const deserializeAws_restJson1EventResource = (output, context) => {
2786
2786
  return {
2787
- Arn: (0, smithy_client_1.expectString)(output.Arn),
2788
- Name: (0, smithy_client_1.expectString)(output.Name),
2789
- Type: (0, smithy_client_1.expectString)(output.Type),
2787
+ Arn: smithy_client_1.expectString(output.Arn),
2788
+ Name: smithy_client_1.expectString(output.Name),
2789
+ Type: smithy_client_1.expectString(output.Type),
2790
2790
  };
2791
2791
  };
2792
2792
  const deserializeAws_restJson1EventResources = (output, context) => {
@@ -2811,24 +2811,24 @@ const deserializeAws_restJson1Events = (output, context) => {
2811
2811
  };
2812
2812
  const deserializeAws_restJson1InsightFeedback = (output, context) => {
2813
2813
  return {
2814
- Feedback: (0, smithy_client_1.expectString)(output.Feedback),
2815
- Id: (0, smithy_client_1.expectString)(output.Id),
2814
+ Feedback: smithy_client_1.expectString(output.Feedback),
2815
+ Id: smithy_client_1.expectString(output.Id),
2816
2816
  };
2817
2817
  };
2818
2818
  const deserializeAws_restJson1InsightHealth = (output, context) => {
2819
2819
  return {
2820
- MeanTimeToRecoverInMilliseconds: (0, smithy_client_1.expectLong)(output.MeanTimeToRecoverInMilliseconds),
2821
- OpenProactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenProactiveInsights),
2822
- OpenReactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenReactiveInsights),
2820
+ MeanTimeToRecoverInMilliseconds: smithy_client_1.expectLong(output.MeanTimeToRecoverInMilliseconds),
2821
+ OpenProactiveInsights: smithy_client_1.expectInt32(output.OpenProactiveInsights),
2822
+ OpenReactiveInsights: smithy_client_1.expectInt32(output.OpenReactiveInsights),
2823
2823
  };
2824
2824
  };
2825
2825
  const deserializeAws_restJson1InsightTimeRange = (output, context) => {
2826
2826
  return {
2827
2827
  EndTime: output.EndTime !== undefined && output.EndTime !== null
2828
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
2828
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2829
2829
  : undefined,
2830
2830
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2831
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
2831
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2832
2832
  : undefined,
2833
2833
  };
2834
2834
  };
@@ -2837,7 +2837,7 @@ const deserializeAws_restJson1NotificationChannel = (output, context) => {
2837
2837
  Config: output.Config !== undefined && output.Config !== null
2838
2838
  ? deserializeAws_restJson1NotificationChannelConfig(output.Config, context)
2839
2839
  : undefined,
2840
- Id: (0, smithy_client_1.expectString)(output.Id),
2840
+ Id: smithy_client_1.expectString(output.Id),
2841
2841
  };
2842
2842
  };
2843
2843
  const deserializeAws_restJson1NotificationChannelConfig = (output, context) => {
@@ -2849,16 +2849,16 @@ const deserializeAws_restJson1NotificationChannelConfig = (output, context) => {
2849
2849
  };
2850
2850
  const deserializeAws_restJson1OpsCenterIntegration = (output, context) => {
2851
2851
  return {
2852
- OptInStatus: (0, smithy_client_1.expectString)(output.OptInStatus),
2852
+ OptInStatus: smithy_client_1.expectString(output.OptInStatus),
2853
2853
  };
2854
2854
  };
2855
2855
  const deserializeAws_restJson1PredictionTimeRange = (output, context) => {
2856
2856
  return {
2857
2857
  EndTime: output.EndTime !== undefined && output.EndTime !== null
2858
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
2858
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2859
2859
  : undefined,
2860
2860
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2861
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
2861
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2862
2862
  : undefined,
2863
2863
  };
2864
2864
  };
@@ -2880,22 +2880,22 @@ const deserializeAws_restJson1ProactiveAnomaly = (output, context) => {
2880
2880
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
2881
2881
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
2882
2882
  : undefined,
2883
- AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
2884
- Id: (0, smithy_client_1.expectString)(output.Id),
2885
- Limit: (0, smithy_client_1.limitedParseDouble)(output.Limit),
2883
+ AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
2884
+ Id: smithy_client_1.expectString(output.Id),
2885
+ Limit: smithy_client_1.limitedParseDouble(output.Limit),
2886
2886
  PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
2887
2887
  ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
2888
2888
  : undefined,
2889
2889
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
2890
2890
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
2891
2891
  : undefined,
2892
- Severity: (0, smithy_client_1.expectString)(output.Severity),
2892
+ Severity: smithy_client_1.expectString(output.Severity),
2893
2893
  SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
2894
2894
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
2895
2895
  : undefined,
2896
- Status: (0, smithy_client_1.expectString)(output.Status),
2896
+ Status: smithy_client_1.expectString(output.Status),
2897
2897
  UpdateTime: output.UpdateTime !== undefined && output.UpdateTime !== null
2898
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateTime)))
2898
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateTime)))
2899
2899
  : undefined,
2900
2900
  };
2901
2901
  };
@@ -2907,41 +2907,41 @@ const deserializeAws_restJson1ProactiveAnomalySummary = (output, context) => {
2907
2907
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
2908
2908
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
2909
2909
  : undefined,
2910
- AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
2911
- Id: (0, smithy_client_1.expectString)(output.Id),
2912
- Limit: (0, smithy_client_1.limitedParseDouble)(output.Limit),
2910
+ AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
2911
+ Id: smithy_client_1.expectString(output.Id),
2912
+ Limit: smithy_client_1.limitedParseDouble(output.Limit),
2913
2913
  PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
2914
2914
  ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
2915
2915
  : undefined,
2916
2916
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
2917
2917
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
2918
2918
  : undefined,
2919
- Severity: (0, smithy_client_1.expectString)(output.Severity),
2919
+ Severity: smithy_client_1.expectString(output.Severity),
2920
2920
  SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
2921
2921
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
2922
2922
  : undefined,
2923
- Status: (0, smithy_client_1.expectString)(output.Status),
2923
+ Status: smithy_client_1.expectString(output.Status),
2924
2924
  UpdateTime: output.UpdateTime !== undefined && output.UpdateTime !== null
2925
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateTime)))
2925
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateTime)))
2926
2926
  : undefined,
2927
2927
  };
2928
2928
  };
2929
2929
  const deserializeAws_restJson1ProactiveInsight = (output, context) => {
2930
2930
  return {
2931
- Id: (0, smithy_client_1.expectString)(output.Id),
2931
+ Id: smithy_client_1.expectString(output.Id),
2932
2932
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
2933
2933
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
2934
2934
  : undefined,
2935
- Name: (0, smithy_client_1.expectString)(output.Name),
2935
+ Name: smithy_client_1.expectString(output.Name),
2936
2936
  PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
2937
2937
  ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
2938
2938
  : undefined,
2939
2939
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
2940
2940
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
2941
2941
  : undefined,
2942
- Severity: (0, smithy_client_1.expectString)(output.Severity),
2943
- SsmOpsItemId: (0, smithy_client_1.expectString)(output.SsmOpsItemId),
2944
- Status: (0, smithy_client_1.expectString)(output.Status),
2942
+ Severity: smithy_client_1.expectString(output.Severity),
2943
+ SsmOpsItemId: smithy_client_1.expectString(output.SsmOpsItemId),
2944
+ Status: smithy_client_1.expectString(output.Status),
2945
2945
  };
2946
2946
  };
2947
2947
  const deserializeAws_restJson1ProactiveInsights = (output, context) => {
@@ -2956,11 +2956,11 @@ const deserializeAws_restJson1ProactiveInsights = (output, context) => {
2956
2956
  };
2957
2957
  const deserializeAws_restJson1ProactiveInsightSummary = (output, context) => {
2958
2958
  return {
2959
- Id: (0, smithy_client_1.expectString)(output.Id),
2959
+ Id: smithy_client_1.expectString(output.Id),
2960
2960
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
2961
2961
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
2962
2962
  : undefined,
2963
- Name: (0, smithy_client_1.expectString)(output.Name),
2963
+ Name: smithy_client_1.expectString(output.Name),
2964
2964
  PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
2965
2965
  ? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
2966
2966
  : undefined,
@@ -2970,8 +2970,8 @@ const deserializeAws_restJson1ProactiveInsightSummary = (output, context) => {
2970
2970
  ServiceCollection: output.ServiceCollection !== undefined && output.ServiceCollection !== null
2971
2971
  ? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
2972
2972
  : undefined,
2973
- Severity: (0, smithy_client_1.expectString)(output.Severity),
2974
- Status: (0, smithy_client_1.expectString)(output.Status),
2973
+ Severity: smithy_client_1.expectString(output.Severity),
2974
+ Status: smithy_client_1.expectString(output.Status),
2975
2975
  };
2976
2976
  };
2977
2977
  const deserializeAws_restJson1ReactiveAnomalies = (output, context) => {
@@ -2992,16 +2992,16 @@ const deserializeAws_restJson1ReactiveAnomaly = (output, context) => {
2992
2992
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
2993
2993
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
2994
2994
  : undefined,
2995
- AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
2996
- Id: (0, smithy_client_1.expectString)(output.Id),
2995
+ AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
2996
+ Id: smithy_client_1.expectString(output.Id),
2997
2997
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
2998
2998
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
2999
2999
  : undefined,
3000
- Severity: (0, smithy_client_1.expectString)(output.Severity),
3000
+ Severity: smithy_client_1.expectString(output.Severity),
3001
3001
  SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
3002
3002
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3003
3003
  : undefined,
3004
- Status: (0, smithy_client_1.expectString)(output.Status),
3004
+ Status: smithy_client_1.expectString(output.Status),
3005
3005
  };
3006
3006
  };
3007
3007
  const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
@@ -3012,31 +3012,31 @@ const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
3012
3012
  AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
3013
3013
  ? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
3014
3014
  : undefined,
3015
- AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
3016
- Id: (0, smithy_client_1.expectString)(output.Id),
3015
+ AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
3016
+ Id: smithy_client_1.expectString(output.Id),
3017
3017
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
3018
3018
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3019
3019
  : undefined,
3020
- Severity: (0, smithy_client_1.expectString)(output.Severity),
3020
+ Severity: smithy_client_1.expectString(output.Severity),
3021
3021
  SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
3022
3022
  ? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
3023
3023
  : undefined,
3024
- Status: (0, smithy_client_1.expectString)(output.Status),
3024
+ Status: smithy_client_1.expectString(output.Status),
3025
3025
  };
3026
3026
  };
3027
3027
  const deserializeAws_restJson1ReactiveInsight = (output, context) => {
3028
3028
  return {
3029
- Id: (0, smithy_client_1.expectString)(output.Id),
3029
+ Id: smithy_client_1.expectString(output.Id),
3030
3030
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
3031
3031
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
3032
3032
  : undefined,
3033
- Name: (0, smithy_client_1.expectString)(output.Name),
3033
+ Name: smithy_client_1.expectString(output.Name),
3034
3034
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
3035
3035
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3036
3036
  : undefined,
3037
- Severity: (0, smithy_client_1.expectString)(output.Severity),
3038
- SsmOpsItemId: (0, smithy_client_1.expectString)(output.SsmOpsItemId),
3039
- Status: (0, smithy_client_1.expectString)(output.Status),
3037
+ Severity: smithy_client_1.expectString(output.Severity),
3038
+ SsmOpsItemId: smithy_client_1.expectString(output.SsmOpsItemId),
3039
+ Status: smithy_client_1.expectString(output.Status),
3040
3040
  };
3041
3041
  };
3042
3042
  const deserializeAws_restJson1ReactiveInsights = (output, context) => {
@@ -3051,27 +3051,27 @@ const deserializeAws_restJson1ReactiveInsights = (output, context) => {
3051
3051
  };
3052
3052
  const deserializeAws_restJson1ReactiveInsightSummary = (output, context) => {
3053
3053
  return {
3054
- Id: (0, smithy_client_1.expectString)(output.Id),
3054
+ Id: smithy_client_1.expectString(output.Id),
3055
3055
  InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
3056
3056
  ? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
3057
3057
  : undefined,
3058
- Name: (0, smithy_client_1.expectString)(output.Name),
3058
+ Name: smithy_client_1.expectString(output.Name),
3059
3059
  ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
3060
3060
  ? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
3061
3061
  : undefined,
3062
3062
  ServiceCollection: output.ServiceCollection !== undefined && output.ServiceCollection !== null
3063
3063
  ? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
3064
3064
  : undefined,
3065
- Severity: (0, smithy_client_1.expectString)(output.Severity),
3066
- Status: (0, smithy_client_1.expectString)(output.Status),
3065
+ Severity: smithy_client_1.expectString(output.Severity),
3066
+ Status: smithy_client_1.expectString(output.Status),
3067
3067
  };
3068
3068
  };
3069
3069
  const deserializeAws_restJson1Recommendation = (output, context) => {
3070
3070
  return {
3071
- Description: (0, smithy_client_1.expectString)(output.Description),
3072
- Link: (0, smithy_client_1.expectString)(output.Link),
3073
- Name: (0, smithy_client_1.expectString)(output.Name),
3074
- Reason: (0, smithy_client_1.expectString)(output.Reason),
3071
+ Description: smithy_client_1.expectString(output.Description),
3072
+ Link: smithy_client_1.expectString(output.Link),
3073
+ Name: smithy_client_1.expectString(output.Name),
3074
+ Reason: smithy_client_1.expectString(output.Reason),
3075
3075
  RelatedAnomalies: output.RelatedAnomalies !== undefined && output.RelatedAnomalies !== null
3076
3076
  ? deserializeAws_restJson1RecommendationRelatedAnomalies(output.RelatedAnomalies, context)
3077
3077
  : undefined,
@@ -3102,8 +3102,8 @@ const deserializeAws_restJson1RecommendationRelatedAnomaly = (output, context) =
3102
3102
  };
3103
3103
  const deserializeAws_restJson1RecommendationRelatedAnomalyResource = (output, context) => {
3104
3104
  return {
3105
- Name: (0, smithy_client_1.expectString)(output.Name),
3106
- Type: (0, smithy_client_1.expectString)(output.Type),
3105
+ Name: smithy_client_1.expectString(output.Name),
3106
+ Type: smithy_client_1.expectString(output.Type),
3107
3107
  };
3108
3108
  };
3109
3109
  const deserializeAws_restJson1RecommendationRelatedAnomalyResources = (output, context) => {
@@ -3125,8 +3125,8 @@ const deserializeAws_restJson1RecommendationRelatedAnomalySourceDetail = (output
3125
3125
  };
3126
3126
  const deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetail = (output, context) => {
3127
3127
  return {
3128
- MetricName: (0, smithy_client_1.expectString)(output.MetricName),
3129
- Namespace: (0, smithy_client_1.expectString)(output.Namespace),
3128
+ MetricName: smithy_client_1.expectString(output.MetricName),
3129
+ Namespace: smithy_client_1.expectString(output.Namespace),
3130
3130
  };
3131
3131
  };
3132
3132
  const deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetails = (output, context) => {
@@ -3141,7 +3141,7 @@ const deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetail
3141
3141
  };
3142
3142
  const deserializeAws_restJson1RecommendationRelatedEvent = (output, context) => {
3143
3143
  return {
3144
- Name: (0, smithy_client_1.expectString)(output.Name),
3144
+ Name: smithy_client_1.expectString(output.Name),
3145
3145
  Resources: output.Resources !== undefined && output.Resources !== null
3146
3146
  ? deserializeAws_restJson1RecommendationRelatedEventResources(output.Resources, context)
3147
3147
  : undefined,
@@ -3149,8 +3149,8 @@ const deserializeAws_restJson1RecommendationRelatedEvent = (output, context) =>
3149
3149
  };
3150
3150
  const deserializeAws_restJson1RecommendationRelatedEventResource = (output, context) => {
3151
3151
  return {
3152
- Name: (0, smithy_client_1.expectString)(output.Name),
3153
- Type: (0, smithy_client_1.expectString)(output.Type),
3152
+ Name: smithy_client_1.expectString(output.Name),
3153
+ Type: smithy_client_1.expectString(output.Type),
3154
3154
  };
3155
3155
  };
3156
3156
  const deserializeAws_restJson1RecommendationRelatedEventResources = (output, context) => {
@@ -3219,7 +3219,7 @@ const deserializeAws_restJson1ServiceHealth = (output, context) => {
3219
3219
  Insight: output.Insight !== undefined && output.Insight !== null
3220
3220
  ? deserializeAws_restJson1ServiceInsightHealth(output.Insight, context)
3221
3221
  : undefined,
3222
- ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
3222
+ ServiceName: smithy_client_1.expectString(output.ServiceName),
3223
3223
  };
3224
3224
  };
3225
3225
  const deserializeAws_restJson1ServiceHealths = (output, context) => {
@@ -3234,8 +3234,8 @@ const deserializeAws_restJson1ServiceHealths = (output, context) => {
3234
3234
  };
3235
3235
  const deserializeAws_restJson1ServiceInsightHealth = (output, context) => {
3236
3236
  return {
3237
- OpenProactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenProactiveInsights),
3238
- OpenReactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenReactiveInsights),
3237
+ OpenProactiveInsights: smithy_client_1.expectInt32(output.OpenProactiveInsights),
3238
+ OpenReactiveInsights: smithy_client_1.expectInt32(output.OpenReactiveInsights),
3239
3239
  };
3240
3240
  };
3241
3241
  const deserializeAws_restJson1ServiceIntegrationConfig = (output, context) => {
@@ -3252,16 +3252,16 @@ const deserializeAws_restJson1ServiceNames = (output, context) => {
3252
3252
  if (entry === null) {
3253
3253
  return null;
3254
3254
  }
3255
- return (0, smithy_client_1.expectString)(entry);
3255
+ return smithy_client_1.expectString(entry);
3256
3256
  });
3257
3257
  };
3258
3258
  const deserializeAws_restJson1ServiceResourceCost = (output, context) => {
3259
3259
  return {
3260
- Cost: (0, smithy_client_1.limitedParseDouble)(output.Cost),
3261
- Count: (0, smithy_client_1.expectInt32)(output.Count),
3262
- State: (0, smithy_client_1.expectString)(output.State),
3263
- Type: (0, smithy_client_1.expectString)(output.Type),
3264
- UnitCost: (0, smithy_client_1.limitedParseDouble)(output.UnitCost),
3260
+ Cost: smithy_client_1.limitedParseDouble(output.Cost),
3261
+ Count: smithy_client_1.expectInt32(output.Count),
3262
+ State: smithy_client_1.expectString(output.State),
3263
+ Type: smithy_client_1.expectString(output.Type),
3264
+ UnitCost: smithy_client_1.limitedParseDouble(output.UnitCost),
3265
3265
  };
3266
3266
  };
3267
3267
  const deserializeAws_restJson1ServiceResourceCosts = (output, context) => {
@@ -3276,7 +3276,7 @@ const deserializeAws_restJson1ServiceResourceCosts = (output, context) => {
3276
3276
  };
3277
3277
  const deserializeAws_restJson1SnsChannelConfig = (output, context) => {
3278
3278
  return {
3279
- TopicArn: (0, smithy_client_1.expectString)(output.TopicArn),
3279
+ TopicArn: smithy_client_1.expectString(output.TopicArn),
3280
3280
  };
3281
3281
  };
3282
3282
  const deserializeAws_restJson1StackNames = (output, context) => {
@@ -3286,13 +3286,13 @@ const deserializeAws_restJson1StackNames = (output, context) => {
3286
3286
  if (entry === null) {
3287
3287
  return null;
3288
3288
  }
3289
- return (0, smithy_client_1.expectString)(entry);
3289
+ return smithy_client_1.expectString(entry);
3290
3290
  });
3291
3291
  };
3292
3292
  const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
3293
3293
  return {
3294
- Message: (0, smithy_client_1.expectString)(output.Message),
3295
- Name: (0, smithy_client_1.expectString)(output.Name),
3294
+ Message: smithy_client_1.expectString(output.Message),
3295
+ Name: smithy_client_1.expectString(output.Name),
3296
3296
  };
3297
3297
  };
3298
3298
  const deserializeAws_restJson1ValidationExceptionFields = (output, context) => {