@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,352 +0,0 @@
1
- import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
2
- import { CreateComponentCommandInput, CreateComponentCommandOutput } from "./commands/CreateComponentCommand";
3
- import { CreateLogPatternCommandInput, CreateLogPatternCommandOutput } from "./commands/CreateLogPatternCommand";
4
- import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
5
- import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "./commands/DeleteComponentCommand";
6
- import { DeleteLogPatternCommandInput, DeleteLogPatternCommandOutput } from "./commands/DeleteLogPatternCommand";
7
- import {
8
- DescribeApplicationCommandInput,
9
- DescribeApplicationCommandOutput,
10
- } from "./commands/DescribeApplicationCommand";
11
- import { DescribeComponentCommandInput, DescribeComponentCommandOutput } from "./commands/DescribeComponentCommand";
12
- import {
13
- DescribeComponentConfigurationCommandInput,
14
- DescribeComponentConfigurationCommandOutput,
15
- } from "./commands/DescribeComponentConfigurationCommand";
16
- import {
17
- DescribeComponentConfigurationRecommendationCommandInput,
18
- DescribeComponentConfigurationRecommendationCommandOutput,
19
- } from "./commands/DescribeComponentConfigurationRecommendationCommand";
20
- import { DescribeLogPatternCommandInput, DescribeLogPatternCommandOutput } from "./commands/DescribeLogPatternCommand";
21
- import {
22
- DescribeObservationCommandInput,
23
- DescribeObservationCommandOutput,
24
- } from "./commands/DescribeObservationCommand";
25
- import { DescribeProblemCommandInput, DescribeProblemCommandOutput } from "./commands/DescribeProblemCommand";
26
- import {
27
- DescribeProblemObservationsCommandInput,
28
- DescribeProblemObservationsCommandOutput,
29
- } from "./commands/DescribeProblemObservationsCommand";
30
- import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
31
- import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
32
- import {
33
- ListConfigurationHistoryCommandInput,
34
- ListConfigurationHistoryCommandOutput,
35
- } from "./commands/ListConfigurationHistoryCommand";
36
- import { ListLogPatternSetsCommandInput, ListLogPatternSetsCommandOutput } from "./commands/ListLogPatternSetsCommand";
37
- import { ListLogPatternsCommandInput, ListLogPatternsCommandOutput } from "./commands/ListLogPatternsCommand";
38
- import { ListProblemsCommandInput, ListProblemsCommandOutput } from "./commands/ListProblemsCommand";
39
- import {
40
- ListTagsForResourceCommandInput,
41
- ListTagsForResourceCommandOutput,
42
- } from "./commands/ListTagsForResourceCommand";
43
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
44
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
45
- import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
46
- import { UpdateComponentCommandInput, UpdateComponentCommandOutput } from "./commands/UpdateComponentCommand";
47
- import {
48
- UpdateComponentConfigurationCommandInput,
49
- UpdateComponentConfigurationCommandOutput,
50
- } from "./commands/UpdateComponentConfigurationCommand";
51
- import { UpdateLogPatternCommandInput, UpdateLogPatternCommandOutput } from "./commands/UpdateLogPatternCommand";
52
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
53
- import {
54
- EndpointsInputConfig,
55
- EndpointsResolvedConfig,
56
- RegionInputConfig,
57
- RegionResolvedConfig,
58
- resolveEndpointsConfig,
59
- resolveRegionConfig,
60
- } from "@aws-sdk/config-resolver";
61
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
62
- import {
63
- HostHeaderInputConfig,
64
- HostHeaderResolvedConfig,
65
- getHostHeaderPlugin,
66
- resolveHostHeaderConfig,
67
- } from "@aws-sdk/middleware-host-header";
68
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
69
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
70
- import {
71
- AwsAuthInputConfig,
72
- AwsAuthResolvedConfig,
73
- getAwsAuthPlugin,
74
- resolveAwsAuthConfig,
75
- } from "@aws-sdk/middleware-signing";
76
- import {
77
- UserAgentInputConfig,
78
- UserAgentResolvedConfig,
79
- getUserAgentPlugin,
80
- resolveUserAgentConfig,
81
- } from "@aws-sdk/middleware-user-agent";
82
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
83
- import {
84
- Client as __Client,
85
- SmithyConfiguration as __SmithyConfiguration,
86
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
87
- } from "@aws-sdk/smithy-client";
88
- import {
89
- Provider,
90
- RegionInfoProvider,
91
- Credentials as __Credentials,
92
- Decoder as __Decoder,
93
- Encoder as __Encoder,
94
- Hash as __Hash,
95
- HashConstructor as __HashConstructor,
96
- HttpHandlerOptions as __HttpHandlerOptions,
97
- Logger as __Logger,
98
- Provider as __Provider,
99
- StreamCollector as __StreamCollector,
100
- UrlParser as __UrlParser,
101
- UserAgent as __UserAgent,
102
- } from "@aws-sdk/types";
103
-
104
- export type ServiceInputTypes =
105
- | CreateApplicationCommandInput
106
- | CreateComponentCommandInput
107
- | CreateLogPatternCommandInput
108
- | DeleteApplicationCommandInput
109
- | DeleteComponentCommandInput
110
- | DeleteLogPatternCommandInput
111
- | DescribeApplicationCommandInput
112
- | DescribeComponentCommandInput
113
- | DescribeComponentConfigurationCommandInput
114
- | DescribeComponentConfigurationRecommendationCommandInput
115
- | DescribeLogPatternCommandInput
116
- | DescribeObservationCommandInput
117
- | DescribeProblemCommandInput
118
- | DescribeProblemObservationsCommandInput
119
- | ListApplicationsCommandInput
120
- | ListComponentsCommandInput
121
- | ListConfigurationHistoryCommandInput
122
- | ListLogPatternSetsCommandInput
123
- | ListLogPatternsCommandInput
124
- | ListProblemsCommandInput
125
- | ListTagsForResourceCommandInput
126
- | TagResourceCommandInput
127
- | UntagResourceCommandInput
128
- | UpdateApplicationCommandInput
129
- | UpdateComponentCommandInput
130
- | UpdateComponentConfigurationCommandInput
131
- | UpdateLogPatternCommandInput;
132
-
133
- export type ServiceOutputTypes =
134
- | CreateApplicationCommandOutput
135
- | CreateComponentCommandOutput
136
- | CreateLogPatternCommandOutput
137
- | DeleteApplicationCommandOutput
138
- | DeleteComponentCommandOutput
139
- | DeleteLogPatternCommandOutput
140
- | DescribeApplicationCommandOutput
141
- | DescribeComponentCommandOutput
142
- | DescribeComponentConfigurationCommandOutput
143
- | DescribeComponentConfigurationRecommendationCommandOutput
144
- | DescribeLogPatternCommandOutput
145
- | DescribeObservationCommandOutput
146
- | DescribeProblemCommandOutput
147
- | DescribeProblemObservationsCommandOutput
148
- | ListApplicationsCommandOutput
149
- | ListComponentsCommandOutput
150
- | ListConfigurationHistoryCommandOutput
151
- | ListLogPatternSetsCommandOutput
152
- | ListLogPatternsCommandOutput
153
- | ListProblemsCommandOutput
154
- | ListTagsForResourceCommandOutput
155
- | TagResourceCommandOutput
156
- | UntagResourceCommandOutput
157
- | UpdateApplicationCommandOutput
158
- | UpdateComponentCommandOutput
159
- | UpdateComponentConfigurationCommandOutput
160
- | UpdateLogPatternCommandOutput;
161
-
162
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
163
- /**
164
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
165
- */
166
- requestHandler?: __HttpHandler;
167
-
168
- /**
169
- * A constructor for a class implementing the {@link __Hash} interface
170
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
171
- * @internal
172
- */
173
- sha256?: __HashConstructor;
174
-
175
- /**
176
- * The function that will be used to convert strings into HTTP endpoints.
177
- * @internal
178
- */
179
- urlParser?: __UrlParser;
180
-
181
- /**
182
- * A function that can calculate the length of a request body.
183
- * @internal
184
- */
185
- bodyLengthChecker?: (body: any) => number | undefined;
186
-
187
- /**
188
- * A function that converts a stream into an array of bytes.
189
- * @internal
190
- */
191
- streamCollector?: __StreamCollector;
192
-
193
- /**
194
- * The function that will be used to convert a base64-encoded string to a byte array.
195
- * @internal
196
- */
197
- base64Decoder?: __Decoder;
198
-
199
- /**
200
- * The function that will be used to convert binary data to a base64-encoded string.
201
- * @internal
202
- */
203
- base64Encoder?: __Encoder;
204
-
205
- /**
206
- * The function that will be used to convert a UTF8-encoded string to a byte array.
207
- * @internal
208
- */
209
- utf8Decoder?: __Decoder;
210
-
211
- /**
212
- * The function that will be used to convert binary data to a UTF-8 encoded string.
213
- * @internal
214
- */
215
- utf8Encoder?: __Encoder;
216
-
217
- /**
218
- * The runtime environment.
219
- * @internal
220
- */
221
- runtime?: string;
222
-
223
- /**
224
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
225
- * trait of an operation.
226
- */
227
- disableHostPrefix?: boolean;
228
-
229
- /**
230
- * Value for how many times a request will be made at most in case of retry.
231
- */
232
- maxAttempts?: number | __Provider<number>;
233
-
234
- /**
235
- * Specifies which retry algorithm to use.
236
- */
237
- retryMode?: string | __Provider<string>;
238
-
239
- /**
240
- * Optional logger for logging debug/info/warn/error.
241
- */
242
- logger?: __Logger;
243
-
244
- /**
245
- * Unique service identifier.
246
- * @internal
247
- */
248
- serviceId?: string;
249
-
250
- /**
251
- * The AWS region to which this client will send requests
252
- */
253
- region?: string | __Provider<string>;
254
-
255
- /**
256
- * Default credentials provider; Not available in browser runtime.
257
- * @internal
258
- */
259
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
260
-
261
- /**
262
- * Fetch related hostname, signing name or signing region with given region.
263
- * @internal
264
- */
265
- regionInfoProvider?: RegionInfoProvider;
266
-
267
- /**
268
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
269
- * @internal
270
- */
271
- defaultUserAgentProvider?: Provider<__UserAgent>;
272
- }
273
-
274
- type ApplicationInsightsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
275
- ClientDefaults &
276
- RegionInputConfig &
277
- EndpointsInputConfig &
278
- RetryInputConfig &
279
- HostHeaderInputConfig &
280
- AwsAuthInputConfig &
281
- UserAgentInputConfig;
282
- /**
283
- * The configuration interface of ApplicationInsightsClient class constructor that set the region, credentials and other options.
284
- */
285
- export interface ApplicationInsightsClientConfig extends ApplicationInsightsClientConfigType {}
286
-
287
- type ApplicationInsightsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
288
- Required<ClientDefaults> &
289
- RegionResolvedConfig &
290
- EndpointsResolvedConfig &
291
- RetryResolvedConfig &
292
- HostHeaderResolvedConfig &
293
- AwsAuthResolvedConfig &
294
- UserAgentResolvedConfig;
295
- /**
296
- * The resolved configuration interface of ApplicationInsightsClient class. This is resolved and normalized from the {@link ApplicationInsightsClientConfig | constructor configuration interface}.
297
- */
298
- export interface ApplicationInsightsClientResolvedConfig extends ApplicationInsightsClientResolvedConfigType {}
299
-
300
- /**
301
- * <fullname>Amazon CloudWatch Application Insights</fullname>
302
- * <p> Amazon CloudWatch Application Insights is a service that
303
- * helps you detect common problems with your applications. It
304
- * enables you to pinpoint the source of issues in your applications (built with technologies
305
- * such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into
306
- * detected problems.</p>
307
- * <p>After you onboard your application, CloudWatch Application Insights identifies,
308
- * recommends, and sets up metrics and logs. It continuously analyzes and
309
- * correlates your metrics and logs for unusual behavior to surface actionable problems with
310
- * your application. For example, if your application is slow and unresponsive and leading to
311
- * HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you
312
- * that a memory pressure problem with your SQL Server database is occurring. It bases this
313
- * analysis on impactful metrics and log errors. </p>
314
- */
315
- export class ApplicationInsightsClient extends __Client<
316
- __HttpHandlerOptions,
317
- ServiceInputTypes,
318
- ServiceOutputTypes,
319
- ApplicationInsightsClientResolvedConfig
320
- > {
321
- /**
322
- * The resolved configuration of ApplicationInsightsClient class. This is resolved and normalized from the {@link ApplicationInsightsClientConfig | constructor configuration interface}.
323
- */
324
- readonly config: ApplicationInsightsClientResolvedConfig;
325
-
326
- constructor(configuration: ApplicationInsightsClientConfig) {
327
- let _config_0 = __getRuntimeConfig(configuration);
328
- let _config_1 = resolveRegionConfig(_config_0);
329
- let _config_2 = resolveEndpointsConfig(_config_1);
330
- let _config_3 = resolveRetryConfig(_config_2);
331
- let _config_4 = resolveHostHeaderConfig(_config_3);
332
- let _config_5 = resolveAwsAuthConfig(_config_4);
333
- let _config_6 = resolveUserAgentConfig(_config_5);
334
- super(_config_6);
335
- this.config = _config_6;
336
- this.middlewareStack.use(getRetryPlugin(this.config));
337
- this.middlewareStack.use(getContentLengthPlugin(this.config));
338
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
339
- this.middlewareStack.use(getLoggerPlugin(this.config));
340
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
341
- this.middlewareStack.use(getUserAgentPlugin(this.config));
342
- }
343
-
344
- /**
345
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
346
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
347
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
348
- */
349
- destroy(): void {
350
- super.destroy();
351
- }
352
- }
@@ -1,98 +0,0 @@
1
- import {
2
- ApplicationInsightsClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../ApplicationInsightsClient";
6
- import { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_json1_1CreateApplicationCommand,
9
- serializeAws_json1_1CreateApplicationCommand,
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 CreateApplicationCommandInput extends CreateApplicationRequest {}
25
- export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Adds an application that is created from a resource group.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ApplicationInsightsClient, CreateApplicationCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
33
- * // const { ApplicationInsightsClient, CreateApplicationCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
34
- * const client = new ApplicationInsightsClient(config);
35
- * const command = new CreateApplicationCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link CreateApplicationCommandInput} for command's `input` shape.
40
- * @see {@link CreateApplicationCommandOutput} for command's `response` shape.
41
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class CreateApplicationCommand extends $Command<
45
- CreateApplicationCommandInput,
46
- CreateApplicationCommandOutput,
47
- ApplicationInsightsClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: CreateApplicationCommandInput) {
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<CreateApplicationCommandInput, CreateApplicationCommandOutput> {
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 = "CreateApplicationCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: CreateApplicationRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: CreateApplicationResponse.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: CreateApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1CreateApplicationCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateApplicationCommandOutput> {
93
- return deserializeAws_json1_1CreateApplicationCommand(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 { CreateComponentRequest, CreateComponentResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_json1_1CreateComponentCommand,
9
- serializeAws_json1_1CreateComponentCommand,
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 CreateComponentCommandInput extends CreateComponentRequest {}
25
- export interface CreateComponentCommandOutput extends CreateComponentResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Creates a custom component by grouping similar standalone instances to monitor.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ApplicationInsightsClient, CreateComponentCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
33
- * // const { ApplicationInsightsClient, CreateComponentCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
34
- * const client = new ApplicationInsightsClient(config);
35
- * const command = new CreateComponentCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link CreateComponentCommandInput} for command's `input` shape.
40
- * @see {@link CreateComponentCommandOutput} for command's `response` shape.
41
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class CreateComponentCommand extends $Command<
45
- CreateComponentCommandInput,
46
- CreateComponentCommandOutput,
47
- ApplicationInsightsClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: CreateComponentCommandInput) {
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<CreateComponentCommandInput, CreateComponentCommandOutput> {
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 = "CreateComponentCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: CreateComponentRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: CreateComponentResponse.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: CreateComponentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1CreateComponentCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateComponentCommandOutput> {
93
- return deserializeAws_json1_1CreateComponentCommand(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 { CreateLogPatternRequest, CreateLogPatternResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_json1_1CreateLogPatternCommand,
9
- serializeAws_json1_1CreateLogPatternCommand,
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 CreateLogPatternCommandInput extends CreateLogPatternRequest {}
25
- export interface CreateLogPatternCommandOutput extends CreateLogPatternResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Adds an log pattern to a <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, CreateLogPatternCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
33
- * // const { ApplicationInsightsClient, CreateLogPatternCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
34
- * const client = new ApplicationInsightsClient(config);
35
- * const command = new CreateLogPatternCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link CreateLogPatternCommandInput} for command's `input` shape.
40
- * @see {@link CreateLogPatternCommandOutput} for command's `response` shape.
41
- * @see {@link ApplicationInsightsClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class CreateLogPatternCommand extends $Command<
45
- CreateLogPatternCommandInput,
46
- CreateLogPatternCommandOutput,
47
- ApplicationInsightsClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: CreateLogPatternCommandInput) {
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<CreateLogPatternCommandInput, CreateLogPatternCommandOutput> {
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 = "CreateLogPatternCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: CreateLogPatternRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: CreateLogPatternResponse.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: CreateLogPatternCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1CreateLogPatternCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateLogPatternCommandOutput> {
93
- return deserializeAws_json1_1CreateLogPatternCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }