@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,1036 +0,0 @@
1
- import { ApplicationInsightsClient } from "./ApplicationInsightsClient";
2
- import {
3
- CreateApplicationCommand,
4
- CreateApplicationCommandInput,
5
- CreateApplicationCommandOutput,
6
- } from "./commands/CreateApplicationCommand";
7
- import {
8
- CreateComponentCommand,
9
- CreateComponentCommandInput,
10
- CreateComponentCommandOutput,
11
- } from "./commands/CreateComponentCommand";
12
- import {
13
- CreateLogPatternCommand,
14
- CreateLogPatternCommandInput,
15
- CreateLogPatternCommandOutput,
16
- } from "./commands/CreateLogPatternCommand";
17
- import {
18
- DeleteApplicationCommand,
19
- DeleteApplicationCommandInput,
20
- DeleteApplicationCommandOutput,
21
- } from "./commands/DeleteApplicationCommand";
22
- import {
23
- DeleteComponentCommand,
24
- DeleteComponentCommandInput,
25
- DeleteComponentCommandOutput,
26
- } from "./commands/DeleteComponentCommand";
27
- import {
28
- DeleteLogPatternCommand,
29
- DeleteLogPatternCommandInput,
30
- DeleteLogPatternCommandOutput,
31
- } from "./commands/DeleteLogPatternCommand";
32
- import {
33
- DescribeApplicationCommand,
34
- DescribeApplicationCommandInput,
35
- DescribeApplicationCommandOutput,
36
- } from "./commands/DescribeApplicationCommand";
37
- import {
38
- DescribeComponentCommand,
39
- DescribeComponentCommandInput,
40
- DescribeComponentCommandOutput,
41
- } from "./commands/DescribeComponentCommand";
42
- import {
43
- DescribeComponentConfigurationCommand,
44
- DescribeComponentConfigurationCommandInput,
45
- DescribeComponentConfigurationCommandOutput,
46
- } from "./commands/DescribeComponentConfigurationCommand";
47
- import {
48
- DescribeComponentConfigurationRecommendationCommand,
49
- DescribeComponentConfigurationRecommendationCommandInput,
50
- DescribeComponentConfigurationRecommendationCommandOutput,
51
- } from "./commands/DescribeComponentConfigurationRecommendationCommand";
52
- import {
53
- DescribeLogPatternCommand,
54
- DescribeLogPatternCommandInput,
55
- DescribeLogPatternCommandOutput,
56
- } from "./commands/DescribeLogPatternCommand";
57
- import {
58
- DescribeObservationCommand,
59
- DescribeObservationCommandInput,
60
- DescribeObservationCommandOutput,
61
- } from "./commands/DescribeObservationCommand";
62
- import {
63
- DescribeProblemCommand,
64
- DescribeProblemCommandInput,
65
- DescribeProblemCommandOutput,
66
- } from "./commands/DescribeProblemCommand";
67
- import {
68
- DescribeProblemObservationsCommand,
69
- DescribeProblemObservationsCommandInput,
70
- DescribeProblemObservationsCommandOutput,
71
- } from "./commands/DescribeProblemObservationsCommand";
72
- import {
73
- ListApplicationsCommand,
74
- ListApplicationsCommandInput,
75
- ListApplicationsCommandOutput,
76
- } from "./commands/ListApplicationsCommand";
77
- import {
78
- ListComponentsCommand,
79
- ListComponentsCommandInput,
80
- ListComponentsCommandOutput,
81
- } from "./commands/ListComponentsCommand";
82
- import {
83
- ListConfigurationHistoryCommand,
84
- ListConfigurationHistoryCommandInput,
85
- ListConfigurationHistoryCommandOutput,
86
- } from "./commands/ListConfigurationHistoryCommand";
87
- import {
88
- ListLogPatternSetsCommand,
89
- ListLogPatternSetsCommandInput,
90
- ListLogPatternSetsCommandOutput,
91
- } from "./commands/ListLogPatternSetsCommand";
92
- import {
93
- ListLogPatternsCommand,
94
- ListLogPatternsCommandInput,
95
- ListLogPatternsCommandOutput,
96
- } from "./commands/ListLogPatternsCommand";
97
- import {
98
- ListProblemsCommand,
99
- ListProblemsCommandInput,
100
- ListProblemsCommandOutput,
101
- } from "./commands/ListProblemsCommand";
102
- import {
103
- ListTagsForResourceCommand,
104
- ListTagsForResourceCommandInput,
105
- ListTagsForResourceCommandOutput,
106
- } from "./commands/ListTagsForResourceCommand";
107
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
108
- import {
109
- UntagResourceCommand,
110
- UntagResourceCommandInput,
111
- UntagResourceCommandOutput,
112
- } from "./commands/UntagResourceCommand";
113
- import {
114
- UpdateApplicationCommand,
115
- UpdateApplicationCommandInput,
116
- UpdateApplicationCommandOutput,
117
- } from "./commands/UpdateApplicationCommand";
118
- import {
119
- UpdateComponentCommand,
120
- UpdateComponentCommandInput,
121
- UpdateComponentCommandOutput,
122
- } from "./commands/UpdateComponentCommand";
123
- import {
124
- UpdateComponentConfigurationCommand,
125
- UpdateComponentConfigurationCommandInput,
126
- UpdateComponentConfigurationCommandOutput,
127
- } from "./commands/UpdateComponentConfigurationCommand";
128
- import {
129
- UpdateLogPatternCommand,
130
- UpdateLogPatternCommandInput,
131
- UpdateLogPatternCommandOutput,
132
- } from "./commands/UpdateLogPatternCommand";
133
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
134
-
135
- /**
136
- * <fullname>Amazon CloudWatch Application Insights</fullname>
137
- * <p> Amazon CloudWatch Application Insights is a service that
138
- * helps you detect common problems with your applications. It
139
- * enables you to pinpoint the source of issues in your applications (built with technologies
140
- * such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into
141
- * detected problems.</p>
142
- * <p>After you onboard your application, CloudWatch Application Insights identifies,
143
- * recommends, and sets up metrics and logs. It continuously analyzes and
144
- * correlates your metrics and logs for unusual behavior to surface actionable problems with
145
- * your application. For example, if your application is slow and unresponsive and leading to
146
- * HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you
147
- * that a memory pressure problem with your SQL Server database is occurring. It bases this
148
- * analysis on impactful metrics and log errors. </p>
149
- */
150
- export class ApplicationInsights extends ApplicationInsightsClient {
151
- /**
152
- * <p>Adds an application that is created from a resource group.</p>
153
- */
154
- public createApplication(
155
- args: CreateApplicationCommandInput,
156
- options?: __HttpHandlerOptions
157
- ): Promise<CreateApplicationCommandOutput>;
158
- public createApplication(
159
- args: CreateApplicationCommandInput,
160
- cb: (err: any, data?: CreateApplicationCommandOutput) => void
161
- ): void;
162
- public createApplication(
163
- args: CreateApplicationCommandInput,
164
- options: __HttpHandlerOptions,
165
- cb: (err: any, data?: CreateApplicationCommandOutput) => void
166
- ): void;
167
- public createApplication(
168
- args: CreateApplicationCommandInput,
169
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateApplicationCommandOutput) => void),
170
- cb?: (err: any, data?: CreateApplicationCommandOutput) => void
171
- ): Promise<CreateApplicationCommandOutput> | void {
172
- const command = new CreateApplicationCommand(args);
173
- if (typeof optionsOrCb === "function") {
174
- this.send(command, optionsOrCb);
175
- } else if (typeof cb === "function") {
176
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
177
- this.send(command, optionsOrCb || {}, cb);
178
- } else {
179
- return this.send(command, optionsOrCb);
180
- }
181
- }
182
-
183
- /**
184
- * <p>Creates a custom component by grouping similar standalone instances to monitor.</p>
185
- */
186
- public createComponent(
187
- args: CreateComponentCommandInput,
188
- options?: __HttpHandlerOptions
189
- ): Promise<CreateComponentCommandOutput>;
190
- public createComponent(
191
- args: CreateComponentCommandInput,
192
- cb: (err: any, data?: CreateComponentCommandOutput) => void
193
- ): void;
194
- public createComponent(
195
- args: CreateComponentCommandInput,
196
- options: __HttpHandlerOptions,
197
- cb: (err: any, data?: CreateComponentCommandOutput) => void
198
- ): void;
199
- public createComponent(
200
- args: CreateComponentCommandInput,
201
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateComponentCommandOutput) => void),
202
- cb?: (err: any, data?: CreateComponentCommandOutput) => void
203
- ): Promise<CreateComponentCommandOutput> | void {
204
- const command = new CreateComponentCommand(args);
205
- if (typeof optionsOrCb === "function") {
206
- this.send(command, optionsOrCb);
207
- } else if (typeof cb === "function") {
208
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
209
- this.send(command, optionsOrCb || {}, cb);
210
- } else {
211
- return this.send(command, optionsOrCb);
212
- }
213
- }
214
-
215
- /**
216
- * <p>Adds an log pattern to a <code>LogPatternSet</code>.</p>
217
- */
218
- public createLogPattern(
219
- args: CreateLogPatternCommandInput,
220
- options?: __HttpHandlerOptions
221
- ): Promise<CreateLogPatternCommandOutput>;
222
- public createLogPattern(
223
- args: CreateLogPatternCommandInput,
224
- cb: (err: any, data?: CreateLogPatternCommandOutput) => void
225
- ): void;
226
- public createLogPattern(
227
- args: CreateLogPatternCommandInput,
228
- options: __HttpHandlerOptions,
229
- cb: (err: any, data?: CreateLogPatternCommandOutput) => void
230
- ): void;
231
- public createLogPattern(
232
- args: CreateLogPatternCommandInput,
233
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLogPatternCommandOutput) => void),
234
- cb?: (err: any, data?: CreateLogPatternCommandOutput) => void
235
- ): Promise<CreateLogPatternCommandOutput> | void {
236
- const command = new CreateLogPatternCommand(args);
237
- if (typeof optionsOrCb === "function") {
238
- this.send(command, optionsOrCb);
239
- } else if (typeof cb === "function") {
240
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
241
- this.send(command, optionsOrCb || {}, cb);
242
- } else {
243
- return this.send(command, optionsOrCb);
244
- }
245
- }
246
-
247
- /**
248
- * <p>Removes the specified application from monitoring. Does not delete the application.</p>
249
- */
250
- public deleteApplication(
251
- args: DeleteApplicationCommandInput,
252
- options?: __HttpHandlerOptions
253
- ): Promise<DeleteApplicationCommandOutput>;
254
- public deleteApplication(
255
- args: DeleteApplicationCommandInput,
256
- cb: (err: any, data?: DeleteApplicationCommandOutput) => void
257
- ): void;
258
- public deleteApplication(
259
- args: DeleteApplicationCommandInput,
260
- options: __HttpHandlerOptions,
261
- cb: (err: any, data?: DeleteApplicationCommandOutput) => void
262
- ): void;
263
- public deleteApplication(
264
- args: DeleteApplicationCommandInput,
265
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteApplicationCommandOutput) => void),
266
- cb?: (err: any, data?: DeleteApplicationCommandOutput) => void
267
- ): Promise<DeleteApplicationCommandOutput> | void {
268
- const command = new DeleteApplicationCommand(args);
269
- if (typeof optionsOrCb === "function") {
270
- this.send(command, optionsOrCb);
271
- } else if (typeof cb === "function") {
272
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
273
- this.send(command, optionsOrCb || {}, cb);
274
- } else {
275
- return this.send(command, optionsOrCb);
276
- }
277
- }
278
-
279
- /**
280
- * <p>Ungroups a custom component. When you ungroup custom components, all applicable
281
- * monitors that are set up for the component are removed and the instances revert to their standalone status.</p>
282
- */
283
- public deleteComponent(
284
- args: DeleteComponentCommandInput,
285
- options?: __HttpHandlerOptions
286
- ): Promise<DeleteComponentCommandOutput>;
287
- public deleteComponent(
288
- args: DeleteComponentCommandInput,
289
- cb: (err: any, data?: DeleteComponentCommandOutput) => void
290
- ): void;
291
- public deleteComponent(
292
- args: DeleteComponentCommandInput,
293
- options: __HttpHandlerOptions,
294
- cb: (err: any, data?: DeleteComponentCommandOutput) => void
295
- ): void;
296
- public deleteComponent(
297
- args: DeleteComponentCommandInput,
298
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteComponentCommandOutput) => void),
299
- cb?: (err: any, data?: DeleteComponentCommandOutput) => void
300
- ): Promise<DeleteComponentCommandOutput> | void {
301
- const command = new DeleteComponentCommand(args);
302
- if (typeof optionsOrCb === "function") {
303
- this.send(command, optionsOrCb);
304
- } else if (typeof cb === "function") {
305
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
306
- this.send(command, optionsOrCb || {}, cb);
307
- } else {
308
- return this.send(command, optionsOrCb);
309
- }
310
- }
311
-
312
- /**
313
- * <p>Removes the specified log pattern from a <code>LogPatternSet</code>.</p>
314
- */
315
- public deleteLogPattern(
316
- args: DeleteLogPatternCommandInput,
317
- options?: __HttpHandlerOptions
318
- ): Promise<DeleteLogPatternCommandOutput>;
319
- public deleteLogPattern(
320
- args: DeleteLogPatternCommandInput,
321
- cb: (err: any, data?: DeleteLogPatternCommandOutput) => void
322
- ): void;
323
- public deleteLogPattern(
324
- args: DeleteLogPatternCommandInput,
325
- options: __HttpHandlerOptions,
326
- cb: (err: any, data?: DeleteLogPatternCommandOutput) => void
327
- ): void;
328
- public deleteLogPattern(
329
- args: DeleteLogPatternCommandInput,
330
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLogPatternCommandOutput) => void),
331
- cb?: (err: any, data?: DeleteLogPatternCommandOutput) => void
332
- ): Promise<DeleteLogPatternCommandOutput> | void {
333
- const command = new DeleteLogPatternCommand(args);
334
- if (typeof optionsOrCb === "function") {
335
- this.send(command, optionsOrCb);
336
- } else if (typeof cb === "function") {
337
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
338
- this.send(command, optionsOrCb || {}, cb);
339
- } else {
340
- return this.send(command, optionsOrCb);
341
- }
342
- }
343
-
344
- /**
345
- * <p>Describes the application.</p>
346
- */
347
- public describeApplication(
348
- args: DescribeApplicationCommandInput,
349
- options?: __HttpHandlerOptions
350
- ): Promise<DescribeApplicationCommandOutput>;
351
- public describeApplication(
352
- args: DescribeApplicationCommandInput,
353
- cb: (err: any, data?: DescribeApplicationCommandOutput) => void
354
- ): void;
355
- public describeApplication(
356
- args: DescribeApplicationCommandInput,
357
- options: __HttpHandlerOptions,
358
- cb: (err: any, data?: DescribeApplicationCommandOutput) => void
359
- ): void;
360
- public describeApplication(
361
- args: DescribeApplicationCommandInput,
362
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeApplicationCommandOutput) => void),
363
- cb?: (err: any, data?: DescribeApplicationCommandOutput) => void
364
- ): Promise<DescribeApplicationCommandOutput> | void {
365
- const command = new DescribeApplicationCommand(args);
366
- if (typeof optionsOrCb === "function") {
367
- this.send(command, optionsOrCb);
368
- } else if (typeof cb === "function") {
369
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
370
- this.send(command, optionsOrCb || {}, cb);
371
- } else {
372
- return this.send(command, optionsOrCb);
373
- }
374
- }
375
-
376
- /**
377
- * <p>Describes a component and lists the resources that are grouped together in a component.</p>
378
- */
379
- public describeComponent(
380
- args: DescribeComponentCommandInput,
381
- options?: __HttpHandlerOptions
382
- ): Promise<DescribeComponentCommandOutput>;
383
- public describeComponent(
384
- args: DescribeComponentCommandInput,
385
- cb: (err: any, data?: DescribeComponentCommandOutput) => void
386
- ): void;
387
- public describeComponent(
388
- args: DescribeComponentCommandInput,
389
- options: __HttpHandlerOptions,
390
- cb: (err: any, data?: DescribeComponentCommandOutput) => void
391
- ): void;
392
- public describeComponent(
393
- args: DescribeComponentCommandInput,
394
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeComponentCommandOutput) => void),
395
- cb?: (err: any, data?: DescribeComponentCommandOutput) => void
396
- ): Promise<DescribeComponentCommandOutput> | void {
397
- const command = new DescribeComponentCommand(args);
398
- if (typeof optionsOrCb === "function") {
399
- this.send(command, optionsOrCb);
400
- } else if (typeof cb === "function") {
401
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
402
- this.send(command, optionsOrCb || {}, cb);
403
- } else {
404
- return this.send(command, optionsOrCb);
405
- }
406
- }
407
-
408
- /**
409
- * <p>Describes the monitoring configuration of the component.</p>
410
- */
411
- public describeComponentConfiguration(
412
- args: DescribeComponentConfigurationCommandInput,
413
- options?: __HttpHandlerOptions
414
- ): Promise<DescribeComponentConfigurationCommandOutput>;
415
- public describeComponentConfiguration(
416
- args: DescribeComponentConfigurationCommandInput,
417
- cb: (err: any, data?: DescribeComponentConfigurationCommandOutput) => void
418
- ): void;
419
- public describeComponentConfiguration(
420
- args: DescribeComponentConfigurationCommandInput,
421
- options: __HttpHandlerOptions,
422
- cb: (err: any, data?: DescribeComponentConfigurationCommandOutput) => void
423
- ): void;
424
- public describeComponentConfiguration(
425
- args: DescribeComponentConfigurationCommandInput,
426
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeComponentConfigurationCommandOutput) => void),
427
- cb?: (err: any, data?: DescribeComponentConfigurationCommandOutput) => void
428
- ): Promise<DescribeComponentConfigurationCommandOutput> | void {
429
- const command = new DescribeComponentConfigurationCommand(args);
430
- if (typeof optionsOrCb === "function") {
431
- this.send(command, optionsOrCb);
432
- } else if (typeof cb === "function") {
433
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
434
- this.send(command, optionsOrCb || {}, cb);
435
- } else {
436
- return this.send(command, optionsOrCb);
437
- }
438
- }
439
-
440
- /**
441
- * <p>Describes the recommended monitoring configuration of the component.</p>
442
- */
443
- public describeComponentConfigurationRecommendation(
444
- args: DescribeComponentConfigurationRecommendationCommandInput,
445
- options?: __HttpHandlerOptions
446
- ): Promise<DescribeComponentConfigurationRecommendationCommandOutput>;
447
- public describeComponentConfigurationRecommendation(
448
- args: DescribeComponentConfigurationRecommendationCommandInput,
449
- cb: (err: any, data?: DescribeComponentConfigurationRecommendationCommandOutput) => void
450
- ): void;
451
- public describeComponentConfigurationRecommendation(
452
- args: DescribeComponentConfigurationRecommendationCommandInput,
453
- options: __HttpHandlerOptions,
454
- cb: (err: any, data?: DescribeComponentConfigurationRecommendationCommandOutput) => void
455
- ): void;
456
- public describeComponentConfigurationRecommendation(
457
- args: DescribeComponentConfigurationRecommendationCommandInput,
458
- optionsOrCb?:
459
- | __HttpHandlerOptions
460
- | ((err: any, data?: DescribeComponentConfigurationRecommendationCommandOutput) => void),
461
- cb?: (err: any, data?: DescribeComponentConfigurationRecommendationCommandOutput) => void
462
- ): Promise<DescribeComponentConfigurationRecommendationCommandOutput> | void {
463
- const command = new DescribeComponentConfigurationRecommendationCommand(args);
464
- if (typeof optionsOrCb === "function") {
465
- this.send(command, optionsOrCb);
466
- } else if (typeof cb === "function") {
467
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
468
- this.send(command, optionsOrCb || {}, cb);
469
- } else {
470
- return this.send(command, optionsOrCb);
471
- }
472
- }
473
-
474
- /**
475
- * <p>Describe a specific log pattern from a <code>LogPatternSet</code>.</p>
476
- */
477
- public describeLogPattern(
478
- args: DescribeLogPatternCommandInput,
479
- options?: __HttpHandlerOptions
480
- ): Promise<DescribeLogPatternCommandOutput>;
481
- public describeLogPattern(
482
- args: DescribeLogPatternCommandInput,
483
- cb: (err: any, data?: DescribeLogPatternCommandOutput) => void
484
- ): void;
485
- public describeLogPattern(
486
- args: DescribeLogPatternCommandInput,
487
- options: __HttpHandlerOptions,
488
- cb: (err: any, data?: DescribeLogPatternCommandOutput) => void
489
- ): void;
490
- public describeLogPattern(
491
- args: DescribeLogPatternCommandInput,
492
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLogPatternCommandOutput) => void),
493
- cb?: (err: any, data?: DescribeLogPatternCommandOutput) => void
494
- ): Promise<DescribeLogPatternCommandOutput> | void {
495
- const command = new DescribeLogPatternCommand(args);
496
- if (typeof optionsOrCb === "function") {
497
- this.send(command, optionsOrCb);
498
- } else if (typeof cb === "function") {
499
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
500
- this.send(command, optionsOrCb || {}, cb);
501
- } else {
502
- return this.send(command, optionsOrCb);
503
- }
504
- }
505
-
506
- /**
507
- * <p>Describes an anomaly or error with the application.</p>
508
- */
509
- public describeObservation(
510
- args: DescribeObservationCommandInput,
511
- options?: __HttpHandlerOptions
512
- ): Promise<DescribeObservationCommandOutput>;
513
- public describeObservation(
514
- args: DescribeObservationCommandInput,
515
- cb: (err: any, data?: DescribeObservationCommandOutput) => void
516
- ): void;
517
- public describeObservation(
518
- args: DescribeObservationCommandInput,
519
- options: __HttpHandlerOptions,
520
- cb: (err: any, data?: DescribeObservationCommandOutput) => void
521
- ): void;
522
- public describeObservation(
523
- args: DescribeObservationCommandInput,
524
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeObservationCommandOutput) => void),
525
- cb?: (err: any, data?: DescribeObservationCommandOutput) => void
526
- ): Promise<DescribeObservationCommandOutput> | void {
527
- const command = new DescribeObservationCommand(args);
528
- if (typeof optionsOrCb === "function") {
529
- this.send(command, optionsOrCb);
530
- } else if (typeof cb === "function") {
531
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
532
- this.send(command, optionsOrCb || {}, cb);
533
- } else {
534
- return this.send(command, optionsOrCb);
535
- }
536
- }
537
-
538
- /**
539
- * <p>Describes an application problem.</p>
540
- */
541
- public describeProblem(
542
- args: DescribeProblemCommandInput,
543
- options?: __HttpHandlerOptions
544
- ): Promise<DescribeProblemCommandOutput>;
545
- public describeProblem(
546
- args: DescribeProblemCommandInput,
547
- cb: (err: any, data?: DescribeProblemCommandOutput) => void
548
- ): void;
549
- public describeProblem(
550
- args: DescribeProblemCommandInput,
551
- options: __HttpHandlerOptions,
552
- cb: (err: any, data?: DescribeProblemCommandOutput) => void
553
- ): void;
554
- public describeProblem(
555
- args: DescribeProblemCommandInput,
556
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeProblemCommandOutput) => void),
557
- cb?: (err: any, data?: DescribeProblemCommandOutput) => void
558
- ): Promise<DescribeProblemCommandOutput> | void {
559
- const command = new DescribeProblemCommand(args);
560
- if (typeof optionsOrCb === "function") {
561
- this.send(command, optionsOrCb);
562
- } else if (typeof cb === "function") {
563
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
564
- this.send(command, optionsOrCb || {}, cb);
565
- } else {
566
- return this.send(command, optionsOrCb);
567
- }
568
- }
569
-
570
- /**
571
- * <p>Describes the anomalies or errors associated with the problem.</p>
572
- */
573
- public describeProblemObservations(
574
- args: DescribeProblemObservationsCommandInput,
575
- options?: __HttpHandlerOptions
576
- ): Promise<DescribeProblemObservationsCommandOutput>;
577
- public describeProblemObservations(
578
- args: DescribeProblemObservationsCommandInput,
579
- cb: (err: any, data?: DescribeProblemObservationsCommandOutput) => void
580
- ): void;
581
- public describeProblemObservations(
582
- args: DescribeProblemObservationsCommandInput,
583
- options: __HttpHandlerOptions,
584
- cb: (err: any, data?: DescribeProblemObservationsCommandOutput) => void
585
- ): void;
586
- public describeProblemObservations(
587
- args: DescribeProblemObservationsCommandInput,
588
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeProblemObservationsCommandOutput) => void),
589
- cb?: (err: any, data?: DescribeProblemObservationsCommandOutput) => void
590
- ): Promise<DescribeProblemObservationsCommandOutput> | void {
591
- const command = new DescribeProblemObservationsCommand(args);
592
- if (typeof optionsOrCb === "function") {
593
- this.send(command, optionsOrCb);
594
- } else if (typeof cb === "function") {
595
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
596
- this.send(command, optionsOrCb || {}, cb);
597
- } else {
598
- return this.send(command, optionsOrCb);
599
- }
600
- }
601
-
602
- /**
603
- * <p>Lists the IDs of the applications that you are monitoring. </p>
604
- */
605
- public listApplications(
606
- args: ListApplicationsCommandInput,
607
- options?: __HttpHandlerOptions
608
- ): Promise<ListApplicationsCommandOutput>;
609
- public listApplications(
610
- args: ListApplicationsCommandInput,
611
- cb: (err: any, data?: ListApplicationsCommandOutput) => void
612
- ): void;
613
- public listApplications(
614
- args: ListApplicationsCommandInput,
615
- options: __HttpHandlerOptions,
616
- cb: (err: any, data?: ListApplicationsCommandOutput) => void
617
- ): void;
618
- public listApplications(
619
- args: ListApplicationsCommandInput,
620
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationsCommandOutput) => void),
621
- cb?: (err: any, data?: ListApplicationsCommandOutput) => void
622
- ): Promise<ListApplicationsCommandOutput> | void {
623
- const command = new ListApplicationsCommand(args);
624
- if (typeof optionsOrCb === "function") {
625
- this.send(command, optionsOrCb);
626
- } else if (typeof cb === "function") {
627
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
628
- this.send(command, optionsOrCb || {}, cb);
629
- } else {
630
- return this.send(command, optionsOrCb);
631
- }
632
- }
633
-
634
- /**
635
- * <p>Lists the auto-grouped, standalone, and custom components of the application.</p>
636
- */
637
- public listComponents(
638
- args: ListComponentsCommandInput,
639
- options?: __HttpHandlerOptions
640
- ): Promise<ListComponentsCommandOutput>;
641
- public listComponents(
642
- args: ListComponentsCommandInput,
643
- cb: (err: any, data?: ListComponentsCommandOutput) => void
644
- ): void;
645
- public listComponents(
646
- args: ListComponentsCommandInput,
647
- options: __HttpHandlerOptions,
648
- cb: (err: any, data?: ListComponentsCommandOutput) => void
649
- ): void;
650
- public listComponents(
651
- args: ListComponentsCommandInput,
652
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListComponentsCommandOutput) => void),
653
- cb?: (err: any, data?: ListComponentsCommandOutput) => void
654
- ): Promise<ListComponentsCommandOutput> | void {
655
- const command = new ListComponentsCommand(args);
656
- if (typeof optionsOrCb === "function") {
657
- this.send(command, optionsOrCb);
658
- } else if (typeof cb === "function") {
659
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
660
- this.send(command, optionsOrCb || {}, cb);
661
- } else {
662
- return this.send(command, optionsOrCb);
663
- }
664
- }
665
-
666
- /**
667
- * <p>
668
- * Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are:
669
- * </p>
670
- * <ul>
671
- * <li>
672
- * <p>INFO: creating a new alarm or updating an alarm threshold.</p>
673
- * </li>
674
- * <li>
675
- * <p>WARN: alarm not created due to insufficient data points used to predict thresholds.</p>
676
- * </li>
677
- * <li>
678
- * <p>ERROR: alarm not created due to permission errors or exceeding quotas. </p>
679
- * </li>
680
- * </ul>
681
- */
682
- public listConfigurationHistory(
683
- args: ListConfigurationHistoryCommandInput,
684
- options?: __HttpHandlerOptions
685
- ): Promise<ListConfigurationHistoryCommandOutput>;
686
- public listConfigurationHistory(
687
- args: ListConfigurationHistoryCommandInput,
688
- cb: (err: any, data?: ListConfigurationHistoryCommandOutput) => void
689
- ): void;
690
- public listConfigurationHistory(
691
- args: ListConfigurationHistoryCommandInput,
692
- options: __HttpHandlerOptions,
693
- cb: (err: any, data?: ListConfigurationHistoryCommandOutput) => void
694
- ): void;
695
- public listConfigurationHistory(
696
- args: ListConfigurationHistoryCommandInput,
697
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListConfigurationHistoryCommandOutput) => void),
698
- cb?: (err: any, data?: ListConfigurationHistoryCommandOutput) => void
699
- ): Promise<ListConfigurationHistoryCommandOutput> | void {
700
- const command = new ListConfigurationHistoryCommand(args);
701
- if (typeof optionsOrCb === "function") {
702
- this.send(command, optionsOrCb);
703
- } else if (typeof cb === "function") {
704
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
705
- this.send(command, optionsOrCb || {}, cb);
706
- } else {
707
- return this.send(command, optionsOrCb);
708
- }
709
- }
710
-
711
- /**
712
- * <p>Lists the log patterns in the specific log <code>LogPatternSet</code>.</p>
713
- */
714
- public listLogPatterns(
715
- args: ListLogPatternsCommandInput,
716
- options?: __HttpHandlerOptions
717
- ): Promise<ListLogPatternsCommandOutput>;
718
- public listLogPatterns(
719
- args: ListLogPatternsCommandInput,
720
- cb: (err: any, data?: ListLogPatternsCommandOutput) => void
721
- ): void;
722
- public listLogPatterns(
723
- args: ListLogPatternsCommandInput,
724
- options: __HttpHandlerOptions,
725
- cb: (err: any, data?: ListLogPatternsCommandOutput) => void
726
- ): void;
727
- public listLogPatterns(
728
- args: ListLogPatternsCommandInput,
729
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLogPatternsCommandOutput) => void),
730
- cb?: (err: any, data?: ListLogPatternsCommandOutput) => void
731
- ): Promise<ListLogPatternsCommandOutput> | void {
732
- const command = new ListLogPatternsCommand(args);
733
- if (typeof optionsOrCb === "function") {
734
- this.send(command, optionsOrCb);
735
- } else if (typeof cb === "function") {
736
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
737
- this.send(command, optionsOrCb || {}, cb);
738
- } else {
739
- return this.send(command, optionsOrCb);
740
- }
741
- }
742
-
743
- /**
744
- * <p>Lists the log pattern sets in the specific application.</p>
745
- */
746
- public listLogPatternSets(
747
- args: ListLogPatternSetsCommandInput,
748
- options?: __HttpHandlerOptions
749
- ): Promise<ListLogPatternSetsCommandOutput>;
750
- public listLogPatternSets(
751
- args: ListLogPatternSetsCommandInput,
752
- cb: (err: any, data?: ListLogPatternSetsCommandOutput) => void
753
- ): void;
754
- public listLogPatternSets(
755
- args: ListLogPatternSetsCommandInput,
756
- options: __HttpHandlerOptions,
757
- cb: (err: any, data?: ListLogPatternSetsCommandOutput) => void
758
- ): void;
759
- public listLogPatternSets(
760
- args: ListLogPatternSetsCommandInput,
761
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLogPatternSetsCommandOutput) => void),
762
- cb?: (err: any, data?: ListLogPatternSetsCommandOutput) => void
763
- ): Promise<ListLogPatternSetsCommandOutput> | void {
764
- const command = new ListLogPatternSetsCommand(args);
765
- if (typeof optionsOrCb === "function") {
766
- this.send(command, optionsOrCb);
767
- } else if (typeof cb === "function") {
768
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
769
- this.send(command, optionsOrCb || {}, cb);
770
- } else {
771
- return this.send(command, optionsOrCb);
772
- }
773
- }
774
-
775
- /**
776
- * <p>Lists the problems with your application.</p>
777
- */
778
- public listProblems(
779
- args: ListProblemsCommandInput,
780
- options?: __HttpHandlerOptions
781
- ): Promise<ListProblemsCommandOutput>;
782
- public listProblems(args: ListProblemsCommandInput, cb: (err: any, data?: ListProblemsCommandOutput) => void): void;
783
- public listProblems(
784
- args: ListProblemsCommandInput,
785
- options: __HttpHandlerOptions,
786
- cb: (err: any, data?: ListProblemsCommandOutput) => void
787
- ): void;
788
- public listProblems(
789
- args: ListProblemsCommandInput,
790
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProblemsCommandOutput) => void),
791
- cb?: (err: any, data?: ListProblemsCommandOutput) => void
792
- ): Promise<ListProblemsCommandOutput> | void {
793
- const command = new ListProblemsCommand(args);
794
- if (typeof optionsOrCb === "function") {
795
- this.send(command, optionsOrCb);
796
- } else if (typeof cb === "function") {
797
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
798
- this.send(command, optionsOrCb || {}, cb);
799
- } else {
800
- return this.send(command, optionsOrCb);
801
- }
802
- }
803
-
804
- /**
805
- * <p>Retrieve a list of the tags (keys and values) that are associated with a specified
806
- * application. A <i>tag</i> is a label that you optionally define and associate
807
- * with an application. Each tag consists of a required <i>tag key</i> and an
808
- * optional associated <i>tag value</i>. A tag key is a general label that
809
- * acts as a category for more specific tag values. A tag value acts as a descriptor within
810
- * a tag key.</p>
811
- */
812
- public listTagsForResource(
813
- args: ListTagsForResourceCommandInput,
814
- options?: __HttpHandlerOptions
815
- ): Promise<ListTagsForResourceCommandOutput>;
816
- public listTagsForResource(
817
- args: ListTagsForResourceCommandInput,
818
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
819
- ): void;
820
- public listTagsForResource(
821
- args: ListTagsForResourceCommandInput,
822
- options: __HttpHandlerOptions,
823
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
824
- ): void;
825
- public listTagsForResource(
826
- args: ListTagsForResourceCommandInput,
827
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
828
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
829
- ): Promise<ListTagsForResourceCommandOutput> | void {
830
- const command = new ListTagsForResourceCommand(args);
831
- if (typeof optionsOrCb === "function") {
832
- this.send(command, optionsOrCb);
833
- } else if (typeof cb === "function") {
834
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
835
- this.send(command, optionsOrCb || {}, cb);
836
- } else {
837
- return this.send(command, optionsOrCb);
838
- }
839
- }
840
-
841
- /**
842
- * <p>Add one or more tags (keys and values) to a specified application. A
843
- * <i>tag</i> is a label that you optionally define and associate with an
844
- * application. Tags can help you categorize and manage application in different ways, such as
845
- * by purpose, owner, environment, or other criteria. </p>
846
- * <p>Each tag consists of a required <i>tag key</i> and an
847
- * associated <i>tag value</i>, both of which you define. A tag key is a
848
- * general label that acts as a category for more specific tag values. A tag value acts as
849
- * a descriptor within a tag key.</p>
850
- */
851
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
852
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
853
- public tagResource(
854
- args: TagResourceCommandInput,
855
- options: __HttpHandlerOptions,
856
- cb: (err: any, data?: TagResourceCommandOutput) => void
857
- ): void;
858
- public tagResource(
859
- args: TagResourceCommandInput,
860
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
861
- cb?: (err: any, data?: TagResourceCommandOutput) => void
862
- ): Promise<TagResourceCommandOutput> | void {
863
- const command = new TagResourceCommand(args);
864
- if (typeof optionsOrCb === "function") {
865
- this.send(command, optionsOrCb);
866
- } else if (typeof cb === "function") {
867
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
868
- this.send(command, optionsOrCb || {}, cb);
869
- } else {
870
- return this.send(command, optionsOrCb);
871
- }
872
- }
873
-
874
- /**
875
- * <p>Remove one or more tags (keys and values) from a specified application.</p>
876
- */
877
- public untagResource(
878
- args: UntagResourceCommandInput,
879
- options?: __HttpHandlerOptions
880
- ): Promise<UntagResourceCommandOutput>;
881
- public untagResource(
882
- args: UntagResourceCommandInput,
883
- cb: (err: any, data?: UntagResourceCommandOutput) => void
884
- ): void;
885
- public untagResource(
886
- args: UntagResourceCommandInput,
887
- options: __HttpHandlerOptions,
888
- cb: (err: any, data?: UntagResourceCommandOutput) => void
889
- ): void;
890
- public untagResource(
891
- args: UntagResourceCommandInput,
892
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
893
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
894
- ): Promise<UntagResourceCommandOutput> | void {
895
- const command = new UntagResourceCommand(args);
896
- if (typeof optionsOrCb === "function") {
897
- this.send(command, optionsOrCb);
898
- } else if (typeof cb === "function") {
899
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
900
- this.send(command, optionsOrCb || {}, cb);
901
- } else {
902
- return this.send(command, optionsOrCb);
903
- }
904
- }
905
-
906
- /**
907
- * <p>Updates the application.</p>
908
- */
909
- public updateApplication(
910
- args: UpdateApplicationCommandInput,
911
- options?: __HttpHandlerOptions
912
- ): Promise<UpdateApplicationCommandOutput>;
913
- public updateApplication(
914
- args: UpdateApplicationCommandInput,
915
- cb: (err: any, data?: UpdateApplicationCommandOutput) => void
916
- ): void;
917
- public updateApplication(
918
- args: UpdateApplicationCommandInput,
919
- options: __HttpHandlerOptions,
920
- cb: (err: any, data?: UpdateApplicationCommandOutput) => void
921
- ): void;
922
- public updateApplication(
923
- args: UpdateApplicationCommandInput,
924
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateApplicationCommandOutput) => void),
925
- cb?: (err: any, data?: UpdateApplicationCommandOutput) => void
926
- ): Promise<UpdateApplicationCommandOutput> | void {
927
- const command = new UpdateApplicationCommand(args);
928
- if (typeof optionsOrCb === "function") {
929
- this.send(command, optionsOrCb);
930
- } else if (typeof cb === "function") {
931
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
932
- this.send(command, optionsOrCb || {}, cb);
933
- } else {
934
- return this.send(command, optionsOrCb);
935
- }
936
- }
937
-
938
- /**
939
- * <p>Updates the custom component name and/or the list of resources that make up the
940
- * component.</p>
941
- */
942
- public updateComponent(
943
- args: UpdateComponentCommandInput,
944
- options?: __HttpHandlerOptions
945
- ): Promise<UpdateComponentCommandOutput>;
946
- public updateComponent(
947
- args: UpdateComponentCommandInput,
948
- cb: (err: any, data?: UpdateComponentCommandOutput) => void
949
- ): void;
950
- public updateComponent(
951
- args: UpdateComponentCommandInput,
952
- options: __HttpHandlerOptions,
953
- cb: (err: any, data?: UpdateComponentCommandOutput) => void
954
- ): void;
955
- public updateComponent(
956
- args: UpdateComponentCommandInput,
957
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateComponentCommandOutput) => void),
958
- cb?: (err: any, data?: UpdateComponentCommandOutput) => void
959
- ): Promise<UpdateComponentCommandOutput> | void {
960
- const command = new UpdateComponentCommand(args);
961
- if (typeof optionsOrCb === "function") {
962
- this.send(command, optionsOrCb);
963
- } else if (typeof cb === "function") {
964
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
965
- this.send(command, optionsOrCb || {}, cb);
966
- } else {
967
- return this.send(command, optionsOrCb);
968
- }
969
- }
970
-
971
- /**
972
- * <p>Updates the monitoring configurations for the component. The configuration input parameter
973
- * is an escaped JSON of the configuration and should match the schema of what is returned
974
- * by <code>DescribeComponentConfigurationRecommendation</code>. </p>
975
- */
976
- public updateComponentConfiguration(
977
- args: UpdateComponentConfigurationCommandInput,
978
- options?: __HttpHandlerOptions
979
- ): Promise<UpdateComponentConfigurationCommandOutput>;
980
- public updateComponentConfiguration(
981
- args: UpdateComponentConfigurationCommandInput,
982
- cb: (err: any, data?: UpdateComponentConfigurationCommandOutput) => void
983
- ): void;
984
- public updateComponentConfiguration(
985
- args: UpdateComponentConfigurationCommandInput,
986
- options: __HttpHandlerOptions,
987
- cb: (err: any, data?: UpdateComponentConfigurationCommandOutput) => void
988
- ): void;
989
- public updateComponentConfiguration(
990
- args: UpdateComponentConfigurationCommandInput,
991
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateComponentConfigurationCommandOutput) => void),
992
- cb?: (err: any, data?: UpdateComponentConfigurationCommandOutput) => void
993
- ): Promise<UpdateComponentConfigurationCommandOutput> | void {
994
- const command = new UpdateComponentConfigurationCommand(args);
995
- if (typeof optionsOrCb === "function") {
996
- this.send(command, optionsOrCb);
997
- } else if (typeof cb === "function") {
998
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
999
- this.send(command, optionsOrCb || {}, cb);
1000
- } else {
1001
- return this.send(command, optionsOrCb);
1002
- }
1003
- }
1004
-
1005
- /**
1006
- * <p>Adds a log pattern to a <code>LogPatternSet</code>.</p>
1007
- */
1008
- public updateLogPattern(
1009
- args: UpdateLogPatternCommandInput,
1010
- options?: __HttpHandlerOptions
1011
- ): Promise<UpdateLogPatternCommandOutput>;
1012
- public updateLogPattern(
1013
- args: UpdateLogPatternCommandInput,
1014
- cb: (err: any, data?: UpdateLogPatternCommandOutput) => void
1015
- ): void;
1016
- public updateLogPattern(
1017
- args: UpdateLogPatternCommandInput,
1018
- options: __HttpHandlerOptions,
1019
- cb: (err: any, data?: UpdateLogPatternCommandOutput) => void
1020
- ): void;
1021
- public updateLogPattern(
1022
- args: UpdateLogPatternCommandInput,
1023
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateLogPatternCommandOutput) => void),
1024
- cb?: (err: any, data?: UpdateLogPatternCommandOutput) => void
1025
- ): Promise<UpdateLogPatternCommandOutput> | void {
1026
- const command = new UpdateLogPatternCommand(args);
1027
- if (typeof optionsOrCb === "function") {
1028
- this.send(command, optionsOrCb);
1029
- } else if (typeof cb === "function") {
1030
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1031
- this.send(command, optionsOrCb || {}, cb);
1032
- } else {
1033
- return this.send(command, optionsOrCb);
1034
- }
1035
- }
1036
- }