@aws-sdk/client-application-insights 3.32.0 → 3.36.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 (323) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/ApplicationInsights.js +1 -2
  3. package/{dist/cjs → dist-cjs}/ApplicationInsightsClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CreateApplicationCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateComponentCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreateLogPatternCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/DeleteApplicationCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/DeleteComponentCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DeleteLogPatternCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DescribeApplicationCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DescribeComponentCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DescribeComponentConfigurationCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DescribeComponentConfigurationRecommendationCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DescribeLogPatternCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DescribeObservationCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/DescribeProblemCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/DescribeProblemObservationsCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/ListApplicationsCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/ListComponentsCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/ListConfigurationHistoryCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/ListLogPatternSetsCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/ListLogPatternsCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/ListProblemsCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/UpdateApplicationCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/UpdateComponentCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/UpdateComponentConfigurationCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/UpdateLogPatternCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  32. package/{dist/cjs → dist-cjs}/index.js +0 -1
  33. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  34. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  35. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  36. package/{dist/cjs → dist-cjs}/pagination/ListApplicationsPaginator.js +0 -1
  37. package/{dist/cjs → dist-cjs}/pagination/ListComponentsPaginator.js +0 -1
  38. package/{dist/cjs → dist-cjs}/pagination/ListConfigurationHistoryPaginator.js +0 -1
  39. package/{dist/cjs → dist-cjs}/pagination/ListLogPatternSetsPaginator.js +0 -1
  40. package/{dist/cjs → dist-cjs}/pagination/ListLogPatternsPaginator.js +0 -1
  41. package/{dist/cjs → dist-cjs}/pagination/ListProblemsPaginator.js +0 -1
  42. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  46. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  47. package/{dist/es → dist-es}/ApplicationInsights.js +2 -18
  48. package/{dist/es → dist-es}/ApplicationInsightsClient.js +2 -23
  49. package/{dist/es → dist-es}/commands/CreateApplicationCommand.js +4 -30
  50. package/{dist/es → dist-es}/commands/CreateComponentCommand.js +4 -30
  51. package/{dist/es → dist-es}/commands/CreateLogPatternCommand.js +4 -30
  52. package/{dist/es → dist-es}/commands/DeleteApplicationCommand.js +4 -30
  53. package/{dist/es → dist-es}/commands/DeleteComponentCommand.js +4 -31
  54. package/{dist/es → dist-es}/commands/DeleteLogPatternCommand.js +4 -30
  55. package/{dist/es → dist-es}/commands/DescribeApplicationCommand.js +4 -30
  56. package/{dist/es → dist-es}/commands/DescribeComponentCommand.js +4 -30
  57. package/{dist/es → dist-es}/commands/DescribeComponentConfigurationCommand.js +4 -30
  58. package/{dist/es → dist-es}/commands/DescribeComponentConfigurationRecommendationCommand.js +4 -30
  59. package/{dist/es → dist-es}/commands/DescribeLogPatternCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/DescribeObservationCommand.js +4 -30
  61. package/{dist/es → dist-es}/commands/DescribeProblemCommand.js +4 -30
  62. package/{dist/es → dist-es}/commands/DescribeProblemObservationsCommand.js +4 -30
  63. package/{dist/es → dist-es}/commands/ListApplicationsCommand.js +4 -30
  64. package/{dist/es → dist-es}/commands/ListComponentsCommand.js +4 -30
  65. package/{dist/es → dist-es}/commands/ListConfigurationHistoryCommand.js +4 -43
  66. package/{dist/es → dist-es}/commands/ListLogPatternSetsCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/ListLogPatternsCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/ListProblemsCommand.js +4 -30
  69. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -35
  70. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -37
  71. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/UpdateApplicationCommand.js +4 -30
  73. package/{dist/es → dist-es}/commands/UpdateComponentCommand.js +4 -31
  74. package/{dist/es → dist-es}/commands/UpdateComponentConfigurationCommand.js +4 -32
  75. package/{dist/es → dist-es}/commands/UpdateLogPatternCommand.js +4 -30
  76. package/{dist/es → dist-es}/endpoints.js +1 -2
  77. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  78. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  79. package/{dist/es → dist-es}/models/models_0.js +0 -211
  80. package/dist-es/pagination/Interfaces.js +1 -0
  81. package/{dist/es → dist-es}/pagination/ListApplicationsPaginator.js +16 -29
  82. package/{dist/es → dist-es}/pagination/ListComponentsPaginator.js +16 -29
  83. package/{dist/es → dist-es}/pagination/ListConfigurationHistoryPaginator.js +16 -29
  84. package/{dist/es → dist-es}/pagination/ListLogPatternSetsPaginator.js +16 -29
  85. package/{dist/es → dist-es}/pagination/ListLogPatternsPaginator.js +16 -29
  86. package/{dist/es → dist-es}/pagination/ListProblemsPaginator.js +16 -29
  87. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +547 -553
  88. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  89. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  90. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  91. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  92. package/{dist/types → dist-types}/ApplicationInsights.d.ts +2 -2
  93. package/{dist/types → dist-types}/ApplicationInsightsClient.d.ts +9 -9
  94. package/{dist/types → dist-types}/commands/CreateApplicationCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/CreateComponentCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/CreateLogPatternCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/DeleteApplicationCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/DeleteComponentCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/DeleteLogPatternCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/DescribeApplicationCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/DescribeComponentCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/DescribeComponentConfigurationCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/DescribeLogPatternCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/DescribeObservationCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/DescribeProblemCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/DescribeProblemObservationsCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/ListApplicationsCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/ListComponentsCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/ListConfigurationHistoryCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/ListLogPatternSetsCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/ListLogPatternsCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/ListProblemsCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/UpdateApplicationCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/UpdateComponentCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/UpdateComponentConfigurationCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/UpdateLogPatternCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  122. package/{index.ts → dist-types/index.d.ts} +0 -0
  123. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  124. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  125. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  126. package/{dist/types → dist-types}/pagination/ListApplicationsPaginator.d.ts +1 -1
  127. package/{dist/types → dist-types}/pagination/ListComponentsPaginator.d.ts +1 -1
  128. package/{dist/types → dist-types}/pagination/ListConfigurationHistoryPaginator.d.ts +1 -1
  129. package/{dist/types → dist-types}/pagination/ListLogPatternSetsPaginator.d.ts +1 -1
  130. package/{dist/types → dist-types}/pagination/ListLogPatternsPaginator.d.ts +1 -1
  131. package/{dist/types → dist-types}/pagination/ListProblemsPaginator.d.ts +1 -1
  132. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +3 -3
  133. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  134. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  135. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  136. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  137. package/{dist/types → dist-types}/ts3.4/ApplicationInsights.d.ts +2 -2
  138. package/{dist/types → dist-types}/ts3.4/ApplicationInsightsClient.d.ts +9 -9
  139. package/{dist/types → dist-types}/ts3.4/commands/CreateApplicationCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/ts3.4/commands/CreateComponentCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/ts3.4/commands/CreateLogPatternCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/ts3.4/commands/DeleteComponentCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/ts3.4/commands/DeleteLogPatternCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/ts3.4/commands/DescribeApplicationCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/ts3.4/commands/DescribeComponentCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/ts3.4/commands/DescribeComponentConfigurationCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/ts3.4/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/ts3.4/commands/DescribeLogPatternCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/ts3.4/commands/DescribeObservationCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/ts3.4/commands/DescribeProblemCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/ts3.4/commands/DescribeProblemObservationsCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/ts3.4/commands/ListApplicationsCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/ts3.4/commands/ListComponentsCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/ts3.4/commands/ListConfigurationHistoryCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/ts3.4/commands/ListLogPatternSetsCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/ts3.4/commands/ListLogPatternsCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/ts3.4/commands/ListProblemsCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/ts3.4/commands/UpdateComponentCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/ts3.4/commands/UpdateComponentConfigurationCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/ts3.4/commands/UpdateLogPatternCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  167. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  168. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  169. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  170. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  171. package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationsPaginator.d.ts +1 -1
  172. package/{dist/types → dist-types}/ts3.4/pagination/ListComponentsPaginator.d.ts +1 -1
  173. package/{dist/types → dist-types}/ts3.4/pagination/ListConfigurationHistoryPaginator.d.ts +1 -1
  174. package/{dist/types → dist-types}/ts3.4/pagination/ListLogPatternSetsPaginator.d.ts +1 -1
  175. package/{dist/types → dist-types}/ts3.4/pagination/ListLogPatternsPaginator.d.ts +1 -1
  176. package/{dist/types → dist-types}/ts3.4/pagination/ListProblemsPaginator.d.ts +1 -1
  177. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +3 -3
  178. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  179. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  180. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  181. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  182. package/package.json +52 -49
  183. package/ApplicationInsights.ts +0 -1036
  184. package/ApplicationInsightsClient.ts +0 -352
  185. package/commands/CreateApplicationCommand.ts +0 -98
  186. package/commands/CreateComponentCommand.ts +0 -98
  187. package/commands/CreateLogPatternCommand.ts +0 -98
  188. package/commands/DeleteApplicationCommand.ts +0 -98
  189. package/commands/DeleteComponentCommand.ts +0 -99
  190. package/commands/DeleteLogPatternCommand.ts +0 -98
  191. package/commands/DescribeApplicationCommand.ts +0 -98
  192. package/commands/DescribeComponentCommand.ts +0 -98
  193. package/commands/DescribeComponentConfigurationCommand.ts +0 -106
  194. package/commands/DescribeComponentConfigurationRecommendationCommand.ts +0 -113
  195. package/commands/DescribeLogPatternCommand.ts +0 -98
  196. package/commands/DescribeObservationCommand.ts +0 -98
  197. package/commands/DescribeProblemCommand.ts +0 -98
  198. package/commands/DescribeProblemObservationsCommand.ts +0 -103
  199. package/commands/ListApplicationsCommand.ts +0 -98
  200. package/commands/ListComponentsCommand.ts +0 -98
  201. package/commands/ListConfigurationHistoryCommand.ts +0 -111
  202. package/commands/ListLogPatternSetsCommand.ts +0 -98
  203. package/commands/ListLogPatternsCommand.ts +0 -98
  204. package/commands/ListProblemsCommand.ts +0 -98
  205. package/commands/ListTagsForResourceCommand.ts +0 -103
  206. package/commands/TagResourceCommand.ts +0 -105
  207. package/commands/UntagResourceCommand.ts +0 -98
  208. package/commands/UpdateApplicationCommand.ts +0 -98
  209. package/commands/UpdateComponentCommand.ts +0 -99
  210. package/commands/UpdateComponentConfigurationCommand.ts +0 -105
  211. package/commands/UpdateLogPatternCommand.ts +0 -98
  212. package/dist/cjs/ApplicationInsights.js.map +0 -1
  213. package/dist/cjs/ApplicationInsightsClient.js.map +0 -1
  214. package/dist/cjs/commands/CreateApplicationCommand.js.map +0 -1
  215. package/dist/cjs/commands/CreateComponentCommand.js.map +0 -1
  216. package/dist/cjs/commands/CreateLogPatternCommand.js.map +0 -1
  217. package/dist/cjs/commands/DeleteApplicationCommand.js.map +0 -1
  218. package/dist/cjs/commands/DeleteComponentCommand.js.map +0 -1
  219. package/dist/cjs/commands/DeleteLogPatternCommand.js.map +0 -1
  220. package/dist/cjs/commands/DescribeApplicationCommand.js.map +0 -1
  221. package/dist/cjs/commands/DescribeComponentCommand.js.map +0 -1
  222. package/dist/cjs/commands/DescribeComponentConfigurationCommand.js.map +0 -1
  223. package/dist/cjs/commands/DescribeComponentConfigurationRecommendationCommand.js.map +0 -1
  224. package/dist/cjs/commands/DescribeLogPatternCommand.js.map +0 -1
  225. package/dist/cjs/commands/DescribeObservationCommand.js.map +0 -1
  226. package/dist/cjs/commands/DescribeProblemCommand.js.map +0 -1
  227. package/dist/cjs/commands/DescribeProblemObservationsCommand.js.map +0 -1
  228. package/dist/cjs/commands/ListApplicationsCommand.js.map +0 -1
  229. package/dist/cjs/commands/ListComponentsCommand.js.map +0 -1
  230. package/dist/cjs/commands/ListConfigurationHistoryCommand.js.map +0 -1
  231. package/dist/cjs/commands/ListLogPatternSetsCommand.js.map +0 -1
  232. package/dist/cjs/commands/ListLogPatternsCommand.js.map +0 -1
  233. package/dist/cjs/commands/ListProblemsCommand.js.map +0 -1
  234. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  235. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  236. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  237. package/dist/cjs/commands/UpdateApplicationCommand.js.map +0 -1
  238. package/dist/cjs/commands/UpdateComponentCommand.js.map +0 -1
  239. package/dist/cjs/commands/UpdateComponentConfigurationCommand.js.map +0 -1
  240. package/dist/cjs/commands/UpdateLogPatternCommand.js.map +0 -1
  241. package/dist/cjs/endpoints.js.map +0 -1
  242. package/dist/cjs/index.js.map +0 -1
  243. package/dist/cjs/models/index.js.map +0 -1
  244. package/dist/cjs/models/models_0.js.map +0 -1
  245. package/dist/cjs/package.json +0 -91
  246. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  247. package/dist/cjs/pagination/ListApplicationsPaginator.js.map +0 -1
  248. package/dist/cjs/pagination/ListComponentsPaginator.js.map +0 -1
  249. package/dist/cjs/pagination/ListConfigurationHistoryPaginator.js.map +0 -1
  250. package/dist/cjs/pagination/ListLogPatternSetsPaginator.js.map +0 -1
  251. package/dist/cjs/pagination/ListLogPatternsPaginator.js.map +0 -1
  252. package/dist/cjs/pagination/ListProblemsPaginator.js.map +0 -1
  253. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  254. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  255. package/dist/cjs/runtimeConfig.js.map +0 -1
  256. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  257. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  258. package/dist/es/ApplicationInsights.js.map +0 -1
  259. package/dist/es/ApplicationInsightsClient.js.map +0 -1
  260. package/dist/es/commands/CreateApplicationCommand.js.map +0 -1
  261. package/dist/es/commands/CreateComponentCommand.js.map +0 -1
  262. package/dist/es/commands/CreateLogPatternCommand.js.map +0 -1
  263. package/dist/es/commands/DeleteApplicationCommand.js.map +0 -1
  264. package/dist/es/commands/DeleteComponentCommand.js.map +0 -1
  265. package/dist/es/commands/DeleteLogPatternCommand.js.map +0 -1
  266. package/dist/es/commands/DescribeApplicationCommand.js.map +0 -1
  267. package/dist/es/commands/DescribeComponentCommand.js.map +0 -1
  268. package/dist/es/commands/DescribeComponentConfigurationCommand.js.map +0 -1
  269. package/dist/es/commands/DescribeComponentConfigurationRecommendationCommand.js.map +0 -1
  270. package/dist/es/commands/DescribeLogPatternCommand.js.map +0 -1
  271. package/dist/es/commands/DescribeObservationCommand.js.map +0 -1
  272. package/dist/es/commands/DescribeProblemCommand.js.map +0 -1
  273. package/dist/es/commands/DescribeProblemObservationsCommand.js.map +0 -1
  274. package/dist/es/commands/ListApplicationsCommand.js.map +0 -1
  275. package/dist/es/commands/ListComponentsCommand.js.map +0 -1
  276. package/dist/es/commands/ListConfigurationHistoryCommand.js.map +0 -1
  277. package/dist/es/commands/ListLogPatternSetsCommand.js.map +0 -1
  278. package/dist/es/commands/ListLogPatternsCommand.js.map +0 -1
  279. package/dist/es/commands/ListProblemsCommand.js.map +0 -1
  280. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  281. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  282. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  283. package/dist/es/commands/UpdateApplicationCommand.js.map +0 -1
  284. package/dist/es/commands/UpdateComponentCommand.js.map +0 -1
  285. package/dist/es/commands/UpdateComponentConfigurationCommand.js.map +0 -1
  286. package/dist/es/commands/UpdateLogPatternCommand.js.map +0 -1
  287. package/dist/es/endpoints.js.map +0 -1
  288. package/dist/es/index.js +0 -38
  289. package/dist/es/index.js.map +0 -1
  290. package/dist/es/models/index.js +0 -2
  291. package/dist/es/models/index.js.map +0 -1
  292. package/dist/es/models/models_0.js.map +0 -1
  293. package/dist/es/package.json +0 -91
  294. package/dist/es/pagination/Interfaces.js +0 -2
  295. package/dist/es/pagination/Interfaces.js.map +0 -1
  296. package/dist/es/pagination/ListApplicationsPaginator.js.map +0 -1
  297. package/dist/es/pagination/ListComponentsPaginator.js.map +0 -1
  298. package/dist/es/pagination/ListConfigurationHistoryPaginator.js.map +0 -1
  299. package/dist/es/pagination/ListLogPatternSetsPaginator.js.map +0 -1
  300. package/dist/es/pagination/ListLogPatternsPaginator.js.map +0 -1
  301. package/dist/es/pagination/ListProblemsPaginator.js.map +0 -1
  302. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  303. package/dist/es/runtimeConfig.browser.js.map +0 -1
  304. package/dist/es/runtimeConfig.js.map +0 -1
  305. package/dist/es/runtimeConfig.native.js.map +0 -1
  306. package/dist/es/runtimeConfig.shared.js.map +0 -1
  307. package/endpoints.ts +0 -57
  308. package/jest.config.js +0 -4
  309. package/models/models_0.ts +0 -2046
  310. package/pagination/Interfaces.ts +0 -7
  311. package/pagination/ListApplicationsPaginator.ts +0 -58
  312. package/pagination/ListComponentsPaginator.ts +0 -58
  313. package/pagination/ListConfigurationHistoryPaginator.ts +0 -58
  314. package/pagination/ListLogPatternSetsPaginator.ts +0 -58
  315. package/pagination/ListLogPatternsPaginator.ts +0 -58
  316. package/pagination/ListProblemsPaginator.ts +0 -58
  317. package/protocols/Aws_json1_1.ts +0 -3616
  318. package/runtimeConfig.browser.ts +0 -40
  319. package/runtimeConfig.native.ts +0 -16
  320. package/runtimeConfig.shared.ts +0 -16
  321. package/runtimeConfig.ts +0 -45
  322. package/tsconfig.es.json +0 -12
  323. package/tsconfig.json +0 -32
@@ -1,98 +0,0 @@
1
- import {
2
- ApplicationInsightsClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ApplicationInsightsClient";
6
- import { ListComponentsRequest, ListComponentsResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_json1_1ListComponentsCommand,
9
- serializeAws_json1_1ListComponentsCommand,
10
- } from "../protocols/Aws_json1_1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ListComponentsCommandInput extends ListComponentsRequest {}
25
- export interface ListComponentsCommandOutput extends ListComponentsResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Lists the auto-grouped, standalone, and custom components of the application.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ApplicationInsightsClient, ListComponentsCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
33
- * // const { ApplicationInsightsClient, ListComponentsCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
34
- * const client = new ApplicationInsightsClient(config);
35
- * const command = new ListComponentsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link ListComponentsCommandInput} for command's `input` shape.
40
- * @see {@link ListComponentsCommandOutput} for command's `response` shape.
41
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class ListComponentsCommand extends $Command<
45
- ListComponentsCommandInput,
46
- ListComponentsCommandOutput,
47
- ApplicationInsightsClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: ListComponentsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: ApplicationInsightsClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<ListComponentsCommandInput, ListComponentsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "ApplicationInsightsClient";
72
- const commandName = "ListComponentsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: ListComponentsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: ListComponentsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: ListComponentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1ListComponentsCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListComponentsCommandOutput> {
93
- return deserializeAws_json1_1ListComponentsCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,111 +0,0 @@
1
- import {
2
- ApplicationInsightsClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ApplicationInsightsClient";
6
- import { ListConfigurationHistoryRequest, ListConfigurationHistoryResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_json1_1ListConfigurationHistoryCommand,
9
- serializeAws_json1_1ListConfigurationHistoryCommand,
10
- } from "../protocols/Aws_json1_1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ListConfigurationHistoryCommandInput extends ListConfigurationHistoryRequest {}
25
- export interface ListConfigurationHistoryCommandOutput extends ListConfigurationHistoryResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>
29
- * Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
30
- * </p>
31
- * <ul>
32
- * <li>
33
- * <p>INFO: creating a new alarm or updating an alarm threshold.</p>
34
- * </li>
35
- * <li>
36
- * <p>WARN: alarm not created due to insufficient data points used to predict thresholds.</p>
37
- * </li>
38
- * <li>
39
- * <p>ERROR: alarm not created due to permission errors or exceeding quotas. </p>
40
- * </li>
41
- * </ul>
42
- * @example
43
- * Use a bare-bones client and the command you need to make an API call.
44
- * ```javascript
45
- * import { ApplicationInsightsClient, ListConfigurationHistoryCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
46
- * // const { ApplicationInsightsClient, ListConfigurationHistoryCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
47
- * const client = new ApplicationInsightsClient(config);
48
- * const command = new ListConfigurationHistoryCommand(input);
49
- * const response = await client.send(command);
50
- * ```
51
- *
52
- * @see {@link ListConfigurationHistoryCommandInput} for command's `input` shape.
53
- * @see {@link ListConfigurationHistoryCommandOutput} for command's `response` shape.
54
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
55
- *
56
- */
57
- export class ListConfigurationHistoryCommand extends $Command<
58
- ListConfigurationHistoryCommandInput,
59
- ListConfigurationHistoryCommandOutput,
60
- ApplicationInsightsClientResolvedConfig
61
- > {
62
- // Start section: command_properties
63
- // End section: command_properties
64
-
65
- constructor(readonly input: ListConfigurationHistoryCommandInput) {
66
- // Start section: command_constructor
67
- super();
68
- // End section: command_constructor
69
- }
70
-
71
- /**
72
- * @internal
73
- */
74
- resolveMiddleware(
75
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
76
- configuration: ApplicationInsightsClientResolvedConfig,
77
- options?: __HttpHandlerOptions
78
- ): Handler<ListConfigurationHistoryCommandInput, ListConfigurationHistoryCommandOutput> {
79
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
80
-
81
- const stack = clientStack.concat(this.middlewareStack);
82
-
83
- const { logger } = configuration;
84
- const clientName = "ApplicationInsightsClient";
85
- const commandName = "ListConfigurationHistoryCommand";
86
- const handlerExecutionContext: HandlerExecutionContext = {
87
- logger,
88
- clientName,
89
- commandName,
90
- inputFilterSensitiveLog: ListConfigurationHistoryRequest.filterSensitiveLog,
91
- outputFilterSensitiveLog: ListConfigurationHistoryResponse.filterSensitiveLog,
92
- };
93
- const { requestHandler } = configuration;
94
- return stack.resolve(
95
- (request: FinalizeHandlerArguments<any>) =>
96
- requestHandler.handle(request.request as __HttpRequest, options || {}),
97
- handlerExecutionContext
98
- );
99
- }
100
-
101
- private serialize(input: ListConfigurationHistoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
102
- return serializeAws_json1_1ListConfigurationHistoryCommand(input, context);
103
- }
104
-
105
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListConfigurationHistoryCommandOutput> {
106
- return deserializeAws_json1_1ListConfigurationHistoryCommand(output, context);
107
- }
108
-
109
- // Start section: command_body_extra
110
- // End section: command_body_extra
111
- }
@@ -1,98 +0,0 @@
1
- import {
2
- ApplicationInsightsClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ApplicationInsightsClient";
6
- import { ListLogPatternSetsRequest, ListLogPatternSetsResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_json1_1ListLogPatternSetsCommand,
9
- serializeAws_json1_1ListLogPatternSetsCommand,
10
- } from "../protocols/Aws_json1_1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ListLogPatternSetsCommandInput extends ListLogPatternSetsRequest {}
25
- export interface ListLogPatternSetsCommandOutput extends ListLogPatternSetsResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Lists the log pattern sets in the specific application.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ApplicationInsightsClient, ListLogPatternSetsCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
33
- * // const { ApplicationInsightsClient, ListLogPatternSetsCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
34
- * const client = new ApplicationInsightsClient(config);
35
- * const command = new ListLogPatternSetsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link ListLogPatternSetsCommandInput} for command's `input` shape.
40
- * @see {@link ListLogPatternSetsCommandOutput} for command's `response` shape.
41
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class ListLogPatternSetsCommand extends $Command<
45
- ListLogPatternSetsCommandInput,
46
- ListLogPatternSetsCommandOutput,
47
- ApplicationInsightsClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: ListLogPatternSetsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: ApplicationInsightsClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<ListLogPatternSetsCommandInput, ListLogPatternSetsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "ApplicationInsightsClient";
72
- const commandName = "ListLogPatternSetsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: ListLogPatternSetsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: ListLogPatternSetsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: ListLogPatternSetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1ListLogPatternSetsCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListLogPatternSetsCommandOutput> {
93
- return deserializeAws_json1_1ListLogPatternSetsCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,98 +0,0 @@
1
- import {
2
- ApplicationInsightsClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ApplicationInsightsClient";
6
- import { ListLogPatternsRequest, ListLogPatternsResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_json1_1ListLogPatternsCommand,
9
- serializeAws_json1_1ListLogPatternsCommand,
10
- } from "../protocols/Aws_json1_1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ListLogPatternsCommandInput extends ListLogPatternsRequest {}
25
- export interface ListLogPatternsCommandOutput extends ListLogPatternsResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Lists the log patterns in the specific log <code>LogPatternSet</code>.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ApplicationInsightsClient, ListLogPatternsCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
33
- * // const { ApplicationInsightsClient, ListLogPatternsCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
34
- * const client = new ApplicationInsightsClient(config);
35
- * const command = new ListLogPatternsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link ListLogPatternsCommandInput} for command's `input` shape.
40
- * @see {@link ListLogPatternsCommandOutput} for command's `response` shape.
41
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class ListLogPatternsCommand extends $Command<
45
- ListLogPatternsCommandInput,
46
- ListLogPatternsCommandOutput,
47
- ApplicationInsightsClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: ListLogPatternsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: ApplicationInsightsClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<ListLogPatternsCommandInput, ListLogPatternsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "ApplicationInsightsClient";
72
- const commandName = "ListLogPatternsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: ListLogPatternsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: ListLogPatternsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: ListLogPatternsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1ListLogPatternsCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListLogPatternsCommandOutput> {
93
- return deserializeAws_json1_1ListLogPatternsCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,98 +0,0 @@
1
- import {
2
- ApplicationInsightsClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ApplicationInsightsClient";
6
- import { ListProblemsRequest, ListProblemsResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_json1_1ListProblemsCommand,
9
- serializeAws_json1_1ListProblemsCommand,
10
- } from "../protocols/Aws_json1_1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ListProblemsCommandInput extends ListProblemsRequest {}
25
- export interface ListProblemsCommandOutput extends ListProblemsResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Lists the problems with your application.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ApplicationInsightsClient, ListProblemsCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
33
- * // const { ApplicationInsightsClient, ListProblemsCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
34
- * const client = new ApplicationInsightsClient(config);
35
- * const command = new ListProblemsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link ListProblemsCommandInput} for command's `input` shape.
40
- * @see {@link ListProblemsCommandOutput} for command's `response` shape.
41
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class ListProblemsCommand extends $Command<
45
- ListProblemsCommandInput,
46
- ListProblemsCommandOutput,
47
- ApplicationInsightsClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: ListProblemsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: ApplicationInsightsClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<ListProblemsCommandInput, ListProblemsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "ApplicationInsightsClient";
72
- const commandName = "ListProblemsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: ListProblemsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: ListProblemsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: ListProblemsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1ListProblemsCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListProblemsCommandOutput> {
93
- return deserializeAws_json1_1ListProblemsCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,103 +0,0 @@
1
- import {
2
- ApplicationInsightsClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ApplicationInsightsClient";
6
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_json1_1ListTagsForResourceCommand,
9
- serializeAws_json1_1ListTagsForResourceCommand,
10
- } from "../protocols/Aws_json1_1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
25
- export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Retrieve a list of the tags (keys and values) that are associated with a specified
29
- * application. A <i>tag</i> is a label that you optionally define and associate
30
- * with an application. Each tag consists of a required <i>tag key</i> and an
31
- * optional associated <i>tag value</i>. A tag key is a general label that
32
- * acts as a category for more specific tag values. A tag value acts as a descriptor within
33
- * a tag key.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { ApplicationInsightsClient, ListTagsForResourceCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
38
- * // const { ApplicationInsightsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
39
- * const client = new ApplicationInsightsClient(config);
40
- * const command = new ListTagsForResourceCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
45
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
46
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class ListTagsForResourceCommand extends $Command<
50
- ListTagsForResourceCommandInput,
51
- ListTagsForResourceCommandOutput,
52
- ApplicationInsightsClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: ListTagsForResourceCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: ApplicationInsightsClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "ApplicationInsightsClient";
77
- const commandName = "ListTagsForResourceCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_json1_1ListTagsForResourceCommand(input, context);
95
- }
96
-
97
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
98
- return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }