@aws-sdk/client-codeguruprofiler 3.34.0 → 3.37.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 (303) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CodeGuruProfiler.js +0 -26
  3. package/dist-cjs/CodeGuruProfilerClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/AddNotificationChannelsCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/BatchGetFrameMetricDataCommand.js +2 -29
  6. package/{dist/cjs → dist-cjs}/commands/ConfigureAgentCommand.js +2 -31
  7. package/{dist/cjs → dist-cjs}/commands/CreateProfilingGroupCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/DeleteProfilingGroupCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DescribeProfilingGroupCommand.js +2 -32
  10. package/{dist/cjs → dist-cjs}/commands/GetFindingsReportAccountSummaryCommand.js +2 -33
  11. package/{dist/cjs → dist-cjs}/commands/GetNotificationConfigurationCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/GetPolicyCommand.js +2 -29
  13. package/dist-cjs/commands/GetProfileCommand.js +36 -0
  14. package/{dist/cjs → dist-cjs}/commands/GetRecommendationsCommand.js +2 -38
  15. package/{dist/cjs → dist-cjs}/commands/ListFindingsReportsCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/ListProfileTimesCommand.js +2 -28
  17. package/{dist/cjs → dist-cjs}/commands/ListProfilingGroupsCommand.js +2 -33
  18. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -29
  19. package/{dist/cjs → dist-cjs}/commands/PostAgentProfileCommand.js +2 -33
  20. package/dist-cjs/commands/PutPermissionCommand.js +36 -0
  21. package/{dist/cjs → dist-cjs}/commands/RemoveNotificationChannelCommand.js +2 -27
  22. package/dist-cjs/commands/RemovePermissionCommand.js +36 -0
  23. package/{dist/cjs → dist-cjs}/commands/SubmitFeedbackCommand.js +2 -28
  24. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -29
  25. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -29
  26. package/{dist/cjs → dist-cjs}/commands/UpdateProfilingGroupCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  28. package/{dist/cjs → dist-cjs}/index.js +0 -1
  29. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  30. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -292
  31. package/{dist/cjs → dist-cjs}/pagination/GetFindingsReportAccountSummaryPaginator.js +0 -11
  32. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  33. package/{dist/cjs → dist-cjs}/pagination/ListFindingsReportsPaginator.js +0 -11
  34. package/{dist/cjs → dist-cjs}/pagination/ListProfileTimesPaginator.js +0 -11
  35. package/{dist/cjs → dist-cjs}/pagination/ListProfilingGroupsPaginator.js +0 -11
  36. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +3 -9
  37. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  38. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  39. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  40. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  41. package/{dist/es → dist-es}/CodeGuruProfiler.js +0 -1
  42. package/{dist/es → dist-es}/CodeGuruProfilerClient.js +1 -2
  43. package/{dist/es → dist-es}/commands/AddNotificationChannelsCommand.js +2 -3
  44. package/{dist/es → dist-es}/commands/BatchGetFrameMetricDataCommand.js +2 -3
  45. package/{dist/es → dist-es}/commands/ConfigureAgentCommand.js +2 -3
  46. package/{dist/es → dist-es}/commands/CreateProfilingGroupCommand.js +2 -3
  47. package/{dist/es → dist-es}/commands/DeleteProfilingGroupCommand.js +2 -3
  48. package/{dist/es → dist-es}/commands/DescribeProfilingGroupCommand.js +2 -3
  49. package/{dist/es → dist-es}/commands/GetFindingsReportAccountSummaryCommand.js +2 -3
  50. package/{dist/es → dist-es}/commands/GetNotificationConfigurationCommand.js +2 -3
  51. package/{dist/es → dist-es}/commands/GetPolicyCommand.js +2 -3
  52. package/{dist/es → dist-es}/commands/GetProfileCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/GetRecommendationsCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/ListFindingsReportsCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/ListProfileTimesCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/ListProfilingGroupsCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/PostAgentProfileCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/PutPermissionCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/RemoveNotificationChannelCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/RemovePermissionCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/SubmitFeedbackCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/UpdateProfilingGroupCommand.js +2 -3
  66. package/{dist/es → dist-es}/endpoints.js +1 -2
  67. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  68. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  69. package/{dist/es → dist-es}/models/models_0.js +0 -1
  70. package/{dist/es → dist-es}/pagination/GetFindingsReportAccountSummaryPaginator.js +0 -1
  71. package/dist-es/pagination/Interfaces.js +1 -0
  72. package/{dist/es → dist-es}/pagination/ListFindingsReportsPaginator.js +0 -1
  73. package/{dist/es → dist-es}/pagination/ListProfileTimesPaginator.js +0 -1
  74. package/{dist/es → dist-es}/pagination/ListProfilingGroupsPaginator.js +0 -1
  75. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  76. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  77. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  78. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  79. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  80. package/{dist/types → dist-types}/CodeGuruProfiler.d.ts +1 -1
  81. package/{dist/types → dist-types}/CodeGuruProfilerClient.d.ts +8 -8
  82. package/{dist/types → dist-types}/commands/AddNotificationChannelsCommand.d.ts +2 -2
  83. package/{dist/types → dist-types}/commands/BatchGetFrameMetricDataCommand.d.ts +2 -2
  84. package/{dist/types → dist-types}/commands/ConfigureAgentCommand.d.ts +2 -2
  85. package/{dist/types → dist-types}/commands/CreateProfilingGroupCommand.d.ts +2 -2
  86. package/{dist/types → dist-types}/commands/DeleteProfilingGroupCommand.d.ts +2 -2
  87. package/{dist/types → dist-types}/commands/DescribeProfilingGroupCommand.d.ts +2 -2
  88. package/{dist/types → dist-types}/commands/GetFindingsReportAccountSummaryCommand.d.ts +2 -2
  89. package/{dist/types → dist-types}/commands/GetNotificationConfigurationCommand.d.ts +2 -2
  90. package/{dist/types → dist-types}/commands/GetPolicyCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/commands/GetProfileCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/commands/GetRecommendationsCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/ListFindingsReportsCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/ListProfileTimesCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/ListProfilingGroupsCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/PostAgentProfileCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/PutPermissionCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/RemoveNotificationChannelCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/RemovePermissionCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/SubmitFeedbackCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/UpdateProfilingGroupCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  106. package/{index.ts → dist-types/index.d.ts} +0 -0
  107. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  108. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  109. package/{dist/types → dist-types}/pagination/GetFindingsReportAccountSummaryPaginator.d.ts +1 -1
  110. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  111. package/{dist/types → dist-types}/pagination/ListFindingsReportsPaginator.d.ts +1 -1
  112. package/{dist/types → dist-types}/pagination/ListProfileTimesPaginator.d.ts +1 -1
  113. package/{dist/types → dist-types}/pagination/ListProfilingGroupsPaginator.d.ts +1 -1
  114. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  115. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  116. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
  117. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  118. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  119. package/{dist/types → dist-types}/ts3.4/CodeGuruProfiler.d.ts +25 -249
  120. package/{dist/types → dist-types}/ts3.4/CodeGuruProfilerClient.d.ts +32 -119
  121. package/{dist/types → dist-types}/ts3.4/commands/AddNotificationChannelsCommand.d.ts +4 -22
  122. package/dist-types/ts3.4/commands/BatchGetFrameMetricDataCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/ConfigureAgentCommand.d.ts +17 -0
  124. package/{dist/types → dist-types}/ts3.4/commands/CreateProfilingGroupCommand.d.ts +4 -22
  125. package/{dist/types → dist-types}/ts3.4/commands/DeleteProfilingGroupCommand.d.ts +4 -22
  126. package/dist-types/ts3.4/commands/DescribeProfilingGroupCommand.d.ts +17 -0
  127. package/dist-types/ts3.4/commands/GetFindingsReportAccountSummaryCommand.d.ts +17 -0
  128. package/{dist/types → dist-types}/ts3.4/commands/GetNotificationConfigurationCommand.d.ts +4 -22
  129. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +17 -0
  132. package/{dist/types → dist-types}/ts3.4/commands/ListFindingsReportsCommand.d.ts +4 -22
  133. package/dist-types/ts3.4/commands/ListProfileTimesCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/ListProfilingGroupsCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/PostAgentProfileCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +17 -0
  138. package/{dist/types → dist-types}/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +4 -22
  139. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  143. package/{dist/types → dist-types}/ts3.4/commands/UpdateProfilingGroupCommand.d.ts +4 -22
  144. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  145. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  146. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  147. package/dist-types/ts3.4/models/models_0.d.ts +937 -0
  148. package/{dist/types → dist-types}/ts3.4/pagination/GetFindingsReportAccountSummaryPaginator.d.ts +1 -1
  149. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  150. package/{dist/types → dist-types}/ts3.4/pagination/ListFindingsReportsPaginator.d.ts +1 -1
  151. package/{dist/types → dist-types}/ts3.4/pagination/ListProfileTimesPaginator.d.ts +1 -1
  152. package/{dist/types → dist-types}/ts3.4/pagination/ListProfilingGroupsPaginator.d.ts +1 -1
  153. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  154. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  155. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
  156. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  157. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  158. package/package.json +45 -42
  159. package/CodeGuruProfiler.ts +0 -1004
  160. package/CodeGuruProfilerClient.ts +0 -362
  161. package/commands/AddNotificationChannelsCommand.ts +0 -94
  162. package/commands/BatchGetFrameMetricDataCommand.ts +0 -96
  163. package/commands/ConfigureAgentCommand.ts +0 -98
  164. package/commands/CreateProfilingGroupCommand.ts +0 -94
  165. package/commands/DeleteProfilingGroupCommand.ts +0 -94
  166. package/commands/DescribeProfilingGroupCommand.ts +0 -99
  167. package/commands/GetFindingsReportAccountSummaryCommand.ts +0 -108
  168. package/commands/GetNotificationConfigurationCommand.ts +0 -99
  169. package/commands/GetPolicyCommand.ts +0 -96
  170. package/commands/GetProfileCommand.ts +0 -165
  171. package/commands/GetRecommendationsCommand.ts +0 -105
  172. package/commands/ListFindingsReportsCommand.ts +0 -94
  173. package/commands/ListProfileTimesCommand.ts +0 -95
  174. package/commands/ListProfilingGroupsCommand.ts +0 -100
  175. package/commands/ListTagsForResourceCommand.ts +0 -96
  176. package/commands/PostAgentProfileCommand.ts +0 -100
  177. package/commands/PutPermissionCommand.ts +0 -119
  178. package/commands/RemoveNotificationChannelCommand.ts +0 -97
  179. package/commands/RemovePermissionCommand.ts +0 -102
  180. package/commands/SubmitFeedbackCommand.ts +0 -95
  181. package/commands/TagResourceCommand.ts +0 -96
  182. package/commands/UntagResourceCommand.ts +0 -96
  183. package/commands/UpdateProfilingGroupCommand.ts +0 -94
  184. package/dist/cjs/CodeGuruProfiler.js.map +0 -1
  185. package/dist/cjs/CodeGuruProfilerClient.js +0 -66
  186. package/dist/cjs/CodeGuruProfilerClient.js.map +0 -1
  187. package/dist/cjs/commands/AddNotificationChannelsCommand.js.map +0 -1
  188. package/dist/cjs/commands/BatchGetFrameMetricDataCommand.js.map +0 -1
  189. package/dist/cjs/commands/ConfigureAgentCommand.js.map +0 -1
  190. package/dist/cjs/commands/CreateProfilingGroupCommand.js.map +0 -1
  191. package/dist/cjs/commands/DeleteProfilingGroupCommand.js.map +0 -1
  192. package/dist/cjs/commands/DescribeProfilingGroupCommand.js.map +0 -1
  193. package/dist/cjs/commands/GetFindingsReportAccountSummaryCommand.js.map +0 -1
  194. package/dist/cjs/commands/GetNotificationConfigurationCommand.js.map +0 -1
  195. package/dist/cjs/commands/GetPolicyCommand.js.map +0 -1
  196. package/dist/cjs/commands/GetProfileCommand.js +0 -132
  197. package/dist/cjs/commands/GetProfileCommand.js.map +0 -1
  198. package/dist/cjs/commands/GetRecommendationsCommand.js.map +0 -1
  199. package/dist/cjs/commands/ListFindingsReportsCommand.js.map +0 -1
  200. package/dist/cjs/commands/ListProfileTimesCommand.js.map +0 -1
  201. package/dist/cjs/commands/ListProfilingGroupsCommand.js.map +0 -1
  202. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  203. package/dist/cjs/commands/PostAgentProfileCommand.js.map +0 -1
  204. package/dist/cjs/commands/PutPermissionCommand.js +0 -86
  205. package/dist/cjs/commands/PutPermissionCommand.js.map +0 -1
  206. package/dist/cjs/commands/RemoveNotificationChannelCommand.js.map +0 -1
  207. package/dist/cjs/commands/RemovePermissionCommand.js +0 -69
  208. package/dist/cjs/commands/RemovePermissionCommand.js.map +0 -1
  209. package/dist/cjs/commands/SubmitFeedbackCommand.js.map +0 -1
  210. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  211. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  212. package/dist/cjs/commands/UpdateProfilingGroupCommand.js.map +0 -1
  213. package/dist/cjs/endpoints.js.map +0 -1
  214. package/dist/cjs/index.js.map +0 -1
  215. package/dist/cjs/models/index.js.map +0 -1
  216. package/dist/cjs/models/models_0.js.map +0 -1
  217. package/dist/cjs/package.json +0 -93
  218. package/dist/cjs/pagination/GetFindingsReportAccountSummaryPaginator.js.map +0 -1
  219. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  220. package/dist/cjs/pagination/ListFindingsReportsPaginator.js.map +0 -1
  221. package/dist/cjs/pagination/ListProfileTimesPaginator.js.map +0 -1
  222. package/dist/cjs/pagination/ListProfilingGroupsPaginator.js.map +0 -1
  223. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  224. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  225. package/dist/cjs/runtimeConfig.js.map +0 -1
  226. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  227. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  228. package/dist/es/CodeGuruProfiler.js.map +0 -1
  229. package/dist/es/CodeGuruProfilerClient.js.map +0 -1
  230. package/dist/es/commands/AddNotificationChannelsCommand.js.map +0 -1
  231. package/dist/es/commands/BatchGetFrameMetricDataCommand.js.map +0 -1
  232. package/dist/es/commands/ConfigureAgentCommand.js.map +0 -1
  233. package/dist/es/commands/CreateProfilingGroupCommand.js.map +0 -1
  234. package/dist/es/commands/DeleteProfilingGroupCommand.js.map +0 -1
  235. package/dist/es/commands/DescribeProfilingGroupCommand.js.map +0 -1
  236. package/dist/es/commands/GetFindingsReportAccountSummaryCommand.js.map +0 -1
  237. package/dist/es/commands/GetNotificationConfigurationCommand.js.map +0 -1
  238. package/dist/es/commands/GetPolicyCommand.js.map +0 -1
  239. package/dist/es/commands/GetProfileCommand.js.map +0 -1
  240. package/dist/es/commands/GetRecommendationsCommand.js.map +0 -1
  241. package/dist/es/commands/ListFindingsReportsCommand.js.map +0 -1
  242. package/dist/es/commands/ListProfileTimesCommand.js.map +0 -1
  243. package/dist/es/commands/ListProfilingGroupsCommand.js.map +0 -1
  244. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  245. package/dist/es/commands/PostAgentProfileCommand.js.map +0 -1
  246. package/dist/es/commands/PutPermissionCommand.js.map +0 -1
  247. package/dist/es/commands/RemoveNotificationChannelCommand.js.map +0 -1
  248. package/dist/es/commands/RemovePermissionCommand.js.map +0 -1
  249. package/dist/es/commands/SubmitFeedbackCommand.js.map +0 -1
  250. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  251. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  252. package/dist/es/commands/UpdateProfilingGroupCommand.js.map +0 -1
  253. package/dist/es/endpoints.js.map +0 -1
  254. package/dist/es/index.js +0 -32
  255. package/dist/es/index.js.map +0 -1
  256. package/dist/es/models/index.js +0 -2
  257. package/dist/es/models/index.js.map +0 -1
  258. package/dist/es/models/models_0.js.map +0 -1
  259. package/dist/es/package.json +0 -93
  260. package/dist/es/pagination/GetFindingsReportAccountSummaryPaginator.js.map +0 -1
  261. package/dist/es/pagination/Interfaces.js +0 -2
  262. package/dist/es/pagination/Interfaces.js.map +0 -1
  263. package/dist/es/pagination/ListFindingsReportsPaginator.js.map +0 -1
  264. package/dist/es/pagination/ListProfileTimesPaginator.js.map +0 -1
  265. package/dist/es/pagination/ListProfilingGroupsPaginator.js.map +0 -1
  266. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  267. package/dist/es/runtimeConfig.browser.js.map +0 -1
  268. package/dist/es/runtimeConfig.js.map +0 -1
  269. package/dist/es/runtimeConfig.native.js.map +0 -1
  270. package/dist/es/runtimeConfig.shared.js.map +0 -1
  271. package/dist/types/ts3.4/commands/BatchGetFrameMetricDataCommand.d.ts +0 -37
  272. package/dist/types/ts3.4/commands/ConfigureAgentCommand.d.ts +0 -39
  273. package/dist/types/ts3.4/commands/DescribeProfilingGroupCommand.d.ts +0 -40
  274. package/dist/types/ts3.4/commands/GetFindingsReportAccountSummaryCommand.d.ts +0 -41
  275. package/dist/types/ts3.4/commands/GetPolicyCommand.d.ts +0 -37
  276. package/dist/types/ts3.4/commands/GetProfileCommand.d.ts +0 -106
  277. package/dist/types/ts3.4/commands/GetRecommendationsCommand.d.ts +0 -46
  278. package/dist/types/ts3.4/commands/ListProfileTimesCommand.d.ts +0 -36
  279. package/dist/types/ts3.4/commands/ListProfilingGroupsCommand.d.ts +0 -41
  280. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -37
  281. package/dist/types/ts3.4/commands/PostAgentProfileCommand.d.ts +0 -41
  282. package/dist/types/ts3.4/commands/PutPermissionCommand.d.ts +0 -60
  283. package/dist/types/ts3.4/commands/RemovePermissionCommand.d.ts +0 -43
  284. package/dist/types/ts3.4/commands/SubmitFeedbackCommand.d.ts +0 -36
  285. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -37
  286. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -37
  287. package/dist/types/ts3.4/models/models_0.d.ts +0 -2337
  288. package/endpoints.ts +0 -57
  289. package/jest.config.js +0 -4
  290. package/models/models_0.ts +0 -2721
  291. package/pagination/GetFindingsReportAccountSummaryPaginator.ts +0 -58
  292. package/pagination/Interfaces.ts +0 -7
  293. package/pagination/ListFindingsReportsPaginator.ts +0 -58
  294. package/pagination/ListProfileTimesPaginator.ts +0 -58
  295. package/pagination/ListProfilingGroupsPaginator.ts +0 -58
  296. package/protocols/Aws_restJson1.ts +0 -3595
  297. package/runtimeConfig.browser.ts +0 -40
  298. package/runtimeConfig.native.ts +0 -16
  299. package/runtimeConfig.shared.ts +0 -16
  300. package/runtimeConfig.ts +0 -45
  301. package/tsconfig.es.json +0 -10
  302. package/tsconfig.json +0 -31
  303. package/tsconfig.types.json +0 -8
@@ -1,3 +1,4 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
1
2
  import { CodeGuruProfilerClient } from "./CodeGuruProfilerClient";
2
3
  import { AddNotificationChannelsCommandInput, AddNotificationChannelsCommandOutput } from "./commands/AddNotificationChannelsCommand";
3
4
  import { BatchGetFrameMetricDataCommandInput, BatchGetFrameMetricDataCommandOutput } from "./commands/BatchGetFrameMetricDataCommand";
@@ -22,322 +23,97 @@ import { SubmitFeedbackCommandInput, SubmitFeedbackCommandOutput } from "./comma
22
23
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
23
24
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
24
25
  import { UpdateProfilingGroupCommandInput, UpdateProfilingGroupCommandOutput } from "./commands/UpdateProfilingGroupCommand";
25
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
26
- /**
27
- * <p>
28
- * This section provides documentation for the Amazon CodeGuru Profiler API operations.
29
- * </p>
30
- * <p>
31
- * Amazon CodeGuru Profiler collects runtime performance data from your live applications, and provides
32
- * recommendations that can help you fine-tune your application performance. Using machine learning
33
- * algorithms, CodeGuru Profiler can help you find your most expensive lines of code and suggest ways you can
34
- * improve efficiency and remove CPU bottlenecks.
35
- * </p>
36
- * <p>
37
- * Amazon CodeGuru Profiler provides different visualizations of profiling data to help you identify what code is
38
- * running on the CPU, see how much time is consumed, and suggest ways to reduce CPU utilization.
39
- * </p>
40
- * <note>
41
- * <p>Amazon CodeGuru Profiler currently supports applications written in all Java virtual machine (JVM)
42
- * languages and Python. While CodeGuru Profiler supports both visualizations and recommendations for applications
43
- * written in Java, it can also generate visualizations and a subset of recommendations for
44
- * applications written in other JVM languages and Python.</p>
45
- * </note>
46
- * <p>
47
- * For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/what-is-codeguru-profiler.html">What is Amazon CodeGuru Profiler</a> in
48
- * the <i>Amazon CodeGuru Profiler User Guide</i>.
49
- * </p>
50
- */
26
+
51
27
  export declare class CodeGuruProfiler extends CodeGuruProfilerClient {
52
- /**
53
- * <p>Add up to 2 anomaly notifications channels for a profiling group.</p>
54
- */
28
+
55
29
  addNotificationChannels(args: AddNotificationChannelsCommandInput, options?: __HttpHandlerOptions): Promise<AddNotificationChannelsCommandOutput>;
56
30
  addNotificationChannels(args: AddNotificationChannelsCommandInput, cb: (err: any, data?: AddNotificationChannelsCommandOutput) => void): void;
57
31
  addNotificationChannels(args: AddNotificationChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddNotificationChannelsCommandOutput) => void): void;
58
- /**
59
- * <p>
60
- * Returns the time series of values for a requested list
61
- * of frame metrics from a time period.</p>
62
- */
32
+
63
33
  batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetFrameMetricDataCommandOutput>;
64
34
  batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, cb: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void): void;
65
35
  batchGetFrameMetricData(args: BatchGetFrameMetricDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void): void;
66
- /**
67
- * <p>
68
- * Used by profiler agents to report their current state and to receive remote
69
- * configuration updates. For example, <code>ConfigureAgent</code> can be used
70
- * to tell an agent whether to profile or not and for how long to return profiling data.
71
- * </p>
72
- */
36
+
73
37
  configureAgent(args: ConfigureAgentCommandInput, options?: __HttpHandlerOptions): Promise<ConfigureAgentCommandOutput>;
74
38
  configureAgent(args: ConfigureAgentCommandInput, cb: (err: any, data?: ConfigureAgentCommandOutput) => void): void;
75
39
  configureAgent(args: ConfigureAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfigureAgentCommandOutput) => void): void;
76
- /**
77
- * <p>Creates a profiling group.</p>
78
- */
40
+
79
41
  createProfilingGroup(args: CreateProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateProfilingGroupCommandOutput>;
80
42
  createProfilingGroup(args: CreateProfilingGroupCommandInput, cb: (err: any, data?: CreateProfilingGroupCommandOutput) => void): void;
81
43
  createProfilingGroup(args: CreateProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProfilingGroupCommandOutput) => void): void;
82
- /**
83
- * <p>Deletes a profiling group.</p>
84
- */
44
+
85
45
  deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProfilingGroupCommandOutput>;
86
46
  deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, cb: (err: any, data?: DeleteProfilingGroupCommandOutput) => void): void;
87
47
  deleteProfilingGroup(args: DeleteProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfilingGroupCommandOutput) => void): void;
88
- /**
89
- * <p>
90
- * Returns a <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
91
- * <code>ProfilingGroupDescription</code>
92
- * </a>
93
- * object that contains information about the requested profiling group.
94
- * </p>
95
- */
48
+
96
49
  describeProfilingGroup(args: DescribeProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProfilingGroupCommandOutput>;
97
50
  describeProfilingGroup(args: DescribeProfilingGroupCommandInput, cb: (err: any, data?: DescribeProfilingGroupCommandOutput) => void): void;
98
51
  describeProfilingGroup(args: DescribeProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProfilingGroupCommandOutput) => void): void;
99
- /**
100
- * <p>
101
- * Returns a list of
102
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_FindingsReportSummary.html">
103
- * <code>FindingsReportSummary</code>
104
- * </a>
105
- * objects that contain analysis results for all profiling groups in your AWS account.
106
- * </p>
107
- */
52
+
108
53
  getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetFindingsReportAccountSummaryCommandOutput>;
109
54
  getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, cb: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void): void;
110
55
  getFindingsReportAccountSummary(args: GetFindingsReportAccountSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void): void;
111
- /**
112
- * <p>Get the current configuration for anomaly notifications for a profiling group.</p>
113
- */
56
+
114
57
  getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetNotificationConfigurationCommandOutput>;
115
58
  getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void): void;
116
59
  getNotificationConfiguration(args: GetNotificationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void): void;
117
- /**
118
- * <p>
119
- * Returns the JSON-formatted resource-based policy on a profiling group.
120
- * </p>
121
- */
60
+
122
61
  getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyCommandOutput>;
123
62
  getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
124
63
  getPolicy(args: GetPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
125
- /**
126
- * <p>
127
- * Gets the aggregated profile of a profiling group for a specified time range.
128
- * Amazon CodeGuru Profiler collects posted agent profiles for a profiling group
129
- * into aggregated profiles.
130
- * </p>
131
- *
132
- * <note>
133
- * <p>
134
- * Because aggregated profiles expire over time <code>GetProfile</code> is not idempotent.
135
- * </p>
136
- * </note>
137
- *
138
- * <p>
139
- * Specify the time range for the requested aggregated profile using 1 or 2 of the following parameters: <code>startTime</code>,
140
- * <code>endTime</code>, <code>period</code>. The maximum time range allowed is 7 days. If you specify all 3 parameters,
141
- * an exception is thrown. If you specify only <code>period</code>, the latest aggregated profile is returned.
142
- * </p>
143
- *
144
- * <p>
145
- * Aggregated profiles are available with aggregation periods of 5 minutes, 1 hour, and 1 day, aligned to
146
- * UTC. The aggregation period of an aggregated profile determines how long it is retained. For more
147
- * information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html">
148
- * <code>AggregatedProfileTime</code>
149
- * </a>. The aggregated profile's aggregation period determines how long
150
- * it is retained by CodeGuru Profiler.
151
- * </p>
152
- *
153
- * <ul>
154
- * <li>
155
- * <p>
156
- * If the aggregation period is 5 minutes, the aggregated profile is retained for 15 days.
157
- * </p>
158
- * </li>
159
- * <li>
160
- * <p>
161
- * If the aggregation period is 1 hour, the aggregated profile is retained for 60 days.
162
- * </p>
163
- * </li>
164
- * <li>
165
- * <p>
166
- * If the aggregation period is 1 day, the aggregated profile is retained for 3 years.
167
- * </p>
168
- * </li>
169
- * </ul>
170
- *
171
- * <p>There are two use cases for calling <code>GetProfile</code>.</p>
172
- * <ol>
173
- * <li>
174
- * <p>
175
- * If you want to return an aggregated profile that already exists, use
176
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ListProfileTimes.html">
177
- * <code>ListProfileTimes</code>
178
- * </a> to
179
- * view the time ranges of existing aggregated profiles. Use them in a <code>GetProfile</code> request to return a specific,
180
- * existing aggregated profile.
181
- * </p>
182
- * </li>
183
- * <li>
184
- * <p>
185
- * If you want to return an aggregated profile for a time range that doesn't align with an existing aggregated profile,
186
- * then CodeGuru Profiler makes a best effort to combine existing aggregated profiles from the requested time
187
- * range and return them as one aggregated profile.
188
- * </p>
189
- *
190
- * <p> If aggregated profiles do not exist for the full time range requested, then
191
- * aggregated profiles for a smaller time range are returned. For example, if the
192
- * requested time range is from 00:00 to 00:20, and the existing aggregated profiles are
193
- * from 00:15 and 00:25, then the aggregated profiles from 00:15 to 00:20 are returned. </p>
194
- *
195
- *
196
- * </li>
197
- * </ol>
198
- */
64
+
199
65
  getProfile(args: GetProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileCommandOutput>;
200
66
  getProfile(args: GetProfileCommandInput, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
201
67
  getProfile(args: GetProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
202
- /**
203
- * <p>
204
- * Returns a list of
205
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Recommendation.html">
206
- * <code>Recommendation</code>
207
- * </a>
208
- * objects that contain recommendations for a profiling group for a given time period. A list of
209
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Anomaly.html">
210
- * <code>Anomaly</code>
211
- * </a>
212
- * objects that contains details about anomalies detected in the profiling group for the same time period is also
213
- * returned.
214
- * </p>
215
- */
68
+
216
69
  getRecommendations(args: GetRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendationsCommandOutput>;
217
70
  getRecommendations(args: GetRecommendationsCommandInput, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
218
71
  getRecommendations(args: GetRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationsCommandOutput) => void): void;
219
- /**
220
- * <p>List the available reports for a given profiling group and time range.</p>
221
- */
72
+
222
73
  listFindingsReports(args: ListFindingsReportsCommandInput, options?: __HttpHandlerOptions): Promise<ListFindingsReportsCommandOutput>;
223
74
  listFindingsReports(args: ListFindingsReportsCommandInput, cb: (err: any, data?: ListFindingsReportsCommandOutput) => void): void;
224
75
  listFindingsReports(args: ListFindingsReportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsReportsCommandOutput) => void): void;
225
- /**
226
- * <p>Lists the start times of the available aggregated profiles of a profiling group
227
- * for an aggregation period within the specified time range.</p>
228
- */
76
+
229
77
  listProfileTimes(args: ListProfileTimesCommandInput, options?: __HttpHandlerOptions): Promise<ListProfileTimesCommandOutput>;
230
78
  listProfileTimes(args: ListProfileTimesCommandInput, cb: (err: any, data?: ListProfileTimesCommandOutput) => void): void;
231
79
  listProfileTimes(args: ListProfileTimesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfileTimesCommandOutput) => void): void;
232
- /**
233
- * <p>
234
- * Returns a list of profiling groups. The profiling groups are returned as
235
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
236
- * <code>ProfilingGroupDescription</code>
237
- * </a>
238
- * objects.
239
- * </p>
240
- */
80
+
241
81
  listProfilingGroups(args: ListProfilingGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListProfilingGroupsCommandOutput>;
242
82
  listProfilingGroups(args: ListProfilingGroupsCommandInput, cb: (err: any, data?: ListProfilingGroupsCommandOutput) => void): void;
243
83
  listProfilingGroups(args: ListProfilingGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfilingGroupsCommandOutput) => void): void;
244
- /**
245
- * <p>
246
- * Returns a list of the tags that are assigned to a specified resource.
247
- * </p>
248
- */
84
+
249
85
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
250
86
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
251
87
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
252
- /**
253
- * <p>
254
- * Submits profiling data to an aggregated profile of a profiling group. To get an
255
- * aggregated profile that is created with this profiling data, use
256
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_GetProfile.html">
257
- * <code>GetProfile</code>
258
- * </a>.
259
- * </p>
260
- */
88
+
261
89
  postAgentProfile(args: PostAgentProfileCommandInput, options?: __HttpHandlerOptions): Promise<PostAgentProfileCommandOutput>;
262
90
  postAgentProfile(args: PostAgentProfileCommandInput, cb: (err: any, data?: PostAgentProfileCommandOutput) => void): void;
263
91
  postAgentProfile(args: PostAgentProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostAgentProfileCommandOutput) => void): void;
264
- /**
265
- * <p>
266
- * Adds permissions to a profiling group's resource-based policy
267
- * that are provided using an action group. If a profiling group doesn't have
268
- * a resource-based policy, one is created for it using the permissions in the action group and
269
- * the roles and users in the <code>principals</code> parameter.
270
- * </p>
271
- *
272
- * <p> The one supported action group that can be added is <code>agentPermission</code>
273
- * which grants <code>ConfigureAgent</code> and <code>PostAgent</code> permissions. For
274
- * more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html">Resource-based
275
- * policies in CodeGuru Profiler</a> in the <i>Amazon CodeGuru Profiler User
276
- * Guide</i>, <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html">
277
- * <code>ConfigureAgent</code>
278
- * </a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html">
279
- * <code>PostAgentProfile</code>
280
- * </a>. </p>
281
- *
282
- * <p>
283
- * The first time you call <code>PutPermission</code> on a profiling group, do not specify a <code>revisionId</code> because
284
- * it doesn't have a resource-based policy. Subsequent calls must provide a <code>revisionId</code> to specify
285
- * which revision of the resource-based policy to add the permissions to.
286
- * </p>
287
- *
288
- * <p>
289
- * The response contains the profiling group's JSON-formatted resource policy.
290
- * </p>
291
- */
92
+
292
93
  putPermission(args: PutPermissionCommandInput, options?: __HttpHandlerOptions): Promise<PutPermissionCommandOutput>;
293
94
  putPermission(args: PutPermissionCommandInput, cb: (err: any, data?: PutPermissionCommandOutput) => void): void;
294
95
  putPermission(args: PutPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPermissionCommandOutput) => void): void;
295
- /**
296
- * <p>Remove one anomaly notifications channel for a profiling group.</p>
297
- */
96
+
298
97
  removeNotificationChannel(args: RemoveNotificationChannelCommandInput, options?: __HttpHandlerOptions): Promise<RemoveNotificationChannelCommandOutput>;
299
98
  removeNotificationChannel(args: RemoveNotificationChannelCommandInput, cb: (err: any, data?: RemoveNotificationChannelCommandOutput) => void): void;
300
99
  removeNotificationChannel(args: RemoveNotificationChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveNotificationChannelCommandOutput) => void): void;
301
- /**
302
- * <p> Removes permissions from a profiling group's resource-based policy that are provided
303
- * using an action group. The one supported action group that can be removed is
304
- * <code>agentPermission</code> which grants <code>ConfigureAgent</code> and
305
- * <code>PostAgent</code> permissions. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html">Resource-based policies in CodeGuru Profiler</a> in the <i>Amazon
306
- * CodeGuru Profiler User Guide</i>, <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html">
307
- * <code>ConfigureAgent</code>
308
- * </a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html">
309
- * <code>PostAgentProfile</code>
310
- * </a>. </p>
311
- */
100
+
312
101
  removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemovePermissionCommandOutput>;
313
102
  removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
314
103
  removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
315
- /**
316
- * <p>Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is
317
- * useful or not.</p>
318
- */
104
+
319
105
  submitFeedback(args: SubmitFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<SubmitFeedbackCommandOutput>;
320
106
  submitFeedback(args: SubmitFeedbackCommandInput, cb: (err: any, data?: SubmitFeedbackCommandOutput) => void): void;
321
107
  submitFeedback(args: SubmitFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitFeedbackCommandOutput) => void): void;
322
- /**
323
- * <p>
324
- * Use to assign one or more tags to a resource.
325
- * </p>
326
- */
108
+
327
109
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
328
110
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
329
111
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
330
- /**
331
- * <p>
332
- * Use to remove one or more tags from a resource.
333
- * </p>
334
- */
112
+
335
113
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
336
114
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
337
115
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
338
- /**
339
- * <p>Updates a profiling group.</p>
340
- */
116
+
341
117
  updateProfilingGroup(args: UpdateProfilingGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProfilingGroupCommandOutput>;
342
118
  updateProfilingGroup(args: UpdateProfilingGroupCommandInput, cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void): void;
343
119
  updateProfilingGroup(args: UpdateProfilingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void): void;
@@ -1,3 +1,11 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
1
9
  import { AddNotificationChannelsCommandInput, AddNotificationChannelsCommandOutput } from "./commands/AddNotificationChannelsCommand";
2
10
  import { BatchGetFrameMetricDataCommandInput, BatchGetFrameMetricDataCommandOutput } from "./commands/BatchGetFrameMetricDataCommand";
3
11
  import { ConfigureAgentCommandInput, ConfigureAgentCommandOutput } from "./commands/ConfigureAgentCommand";
@@ -21,157 +29,62 @@ import { SubmitFeedbackCommandInput, SubmitFeedbackCommandOutput } from "./comma
21
29
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
22
30
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
23
31
  import { UpdateProfilingGroupCommandInput, UpdateProfilingGroupCommandOutput } from "./commands/UpdateProfilingGroupCommand";
24
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
25
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
26
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
27
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
28
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
29
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
30
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
31
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
32
32
  export declare type ServiceInputTypes = AddNotificationChannelsCommandInput | BatchGetFrameMetricDataCommandInput | ConfigureAgentCommandInput | CreateProfilingGroupCommandInput | DeleteProfilingGroupCommandInput | DescribeProfilingGroupCommandInput | GetFindingsReportAccountSummaryCommandInput | GetNotificationConfigurationCommandInput | GetPolicyCommandInput | GetProfileCommandInput | GetRecommendationsCommandInput | ListFindingsReportsCommandInput | ListProfileTimesCommandInput | ListProfilingGroupsCommandInput | ListTagsForResourceCommandInput | PostAgentProfileCommandInput | PutPermissionCommandInput | RemoveNotificationChannelCommandInput | RemovePermissionCommandInput | SubmitFeedbackCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateProfilingGroupCommandInput;
33
33
  export declare type ServiceOutputTypes = AddNotificationChannelsCommandOutput | BatchGetFrameMetricDataCommandOutput | ConfigureAgentCommandOutput | CreateProfilingGroupCommandOutput | DeleteProfilingGroupCommandOutput | DescribeProfilingGroupCommandOutput | GetFindingsReportAccountSummaryCommandOutput | GetNotificationConfigurationCommandOutput | GetPolicyCommandOutput | GetProfileCommandOutput | GetRecommendationsCommandOutput | ListFindingsReportsCommandOutput | ListProfileTimesCommandOutput | ListProfilingGroupsCommandOutput | ListTagsForResourceCommandOutput | PostAgentProfileCommandOutput | PutPermissionCommandOutput | RemoveNotificationChannelCommandOutput | RemovePermissionCommandOutput | SubmitFeedbackCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateProfilingGroupCommandOutput;
34
34
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
35
- /**
36
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
37
- */
35
+
38
36
  requestHandler?: __HttpHandler;
39
- /**
40
- * A constructor for a class implementing the {@link __Hash} interface
41
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
42
- * @internal
43
- */
37
+
44
38
  sha256?: __HashConstructor;
45
- /**
46
- * The function that will be used to convert strings into HTTP endpoints.
47
- * @internal
48
- */
39
+
49
40
  urlParser?: __UrlParser;
50
- /**
51
- * A function that can calculate the length of a request body.
52
- * @internal
53
- */
41
+
54
42
  bodyLengthChecker?: (body: any) => number | undefined;
55
- /**
56
- * A function that converts a stream into an array of bytes.
57
- * @internal
58
- */
43
+
59
44
  streamCollector?: __StreamCollector;
60
- /**
61
- * The function that will be used to convert a base64-encoded string to a byte array.
62
- * @internal
63
- */
45
+
64
46
  base64Decoder?: __Decoder;
65
- /**
66
- * The function that will be used to convert binary data to a base64-encoded string.
67
- * @internal
68
- */
47
+
69
48
  base64Encoder?: __Encoder;
70
- /**
71
- * The function that will be used to convert a UTF8-encoded string to a byte array.
72
- * @internal
73
- */
49
+
74
50
  utf8Decoder?: __Decoder;
75
- /**
76
- * The function that will be used to convert binary data to a UTF-8 encoded string.
77
- * @internal
78
- */
51
+
79
52
  utf8Encoder?: __Encoder;
80
- /**
81
- * The runtime environment.
82
- * @internal
83
- */
53
+
84
54
  runtime?: string;
85
- /**
86
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
87
- * trait of an operation.
88
- */
55
+
89
56
  disableHostPrefix?: boolean;
90
- /**
91
- * Value for how many times a request will be made at most in case of retry.
92
- */
57
+
93
58
  maxAttempts?: number | __Provider<number>;
94
- /**
95
- * Specifies which retry algorithm to use.
96
- */
59
+
97
60
  retryMode?: string | __Provider<string>;
98
- /**
99
- * Optional logger for logging debug/info/warn/error.
100
- */
61
+
101
62
  logger?: __Logger;
102
- /**
103
- * Unique service identifier.
104
- * @internal
105
- */
63
+
106
64
  serviceId?: string;
107
- /**
108
- * The AWS region to which this client will send requests
109
- */
65
+
110
66
  region?: string | __Provider<string>;
111
- /**
112
- * Default credentials provider; Not available in browser runtime.
113
- * @internal
114
- */
67
+
115
68
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
116
- /**
117
- * Fetch related hostname, signing name or signing region with given region.
118
- * @internal
119
- */
69
+
120
70
  regionInfoProvider?: RegionInfoProvider;
121
- /**
122
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
123
- * @internal
124
- */
71
+
125
72
  defaultUserAgentProvider?: Provider<__UserAgent>;
126
73
  }
127
74
  declare type CodeGuruProfilerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
128
- /**
129
- * The configuration interface of CodeGuruProfilerClient class constructor that set the region, credentials and other options.
130
- */
75
+
131
76
  export interface CodeGuruProfilerClientConfig extends CodeGuruProfilerClientConfigType {
132
77
  }
133
78
  declare type CodeGuruProfilerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
134
- /**
135
- * The resolved configuration interface of CodeGuruProfilerClient class. This is resolved and normalized from the {@link CodeGuruProfilerClientConfig | constructor configuration interface}.
136
- */
79
+
137
80
  export interface CodeGuruProfilerClientResolvedConfig extends CodeGuruProfilerClientResolvedConfigType {
138
81
  }
139
- /**
140
- * <p>
141
- * This section provides documentation for the Amazon CodeGuru Profiler API operations.
142
- * </p>
143
- * <p>
144
- * Amazon CodeGuru Profiler collects runtime performance data from your live applications, and provides
145
- * recommendations that can help you fine-tune your application performance. Using machine learning
146
- * algorithms, CodeGuru Profiler can help you find your most expensive lines of code and suggest ways you can
147
- * improve efficiency and remove CPU bottlenecks.
148
- * </p>
149
- * <p>
150
- * Amazon CodeGuru Profiler provides different visualizations of profiling data to help you identify what code is
151
- * running on the CPU, see how much time is consumed, and suggest ways to reduce CPU utilization.
152
- * </p>
153
- * <note>
154
- * <p>Amazon CodeGuru Profiler currently supports applications written in all Java virtual machine (JVM)
155
- * languages and Python. While CodeGuru Profiler supports both visualizations and recommendations for applications
156
- * written in Java, it can also generate visualizations and a subset of recommendations for
157
- * applications written in other JVM languages and Python.</p>
158
- * </note>
159
- * <p>
160
- * For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/what-is-codeguru-profiler.html">What is Amazon CodeGuru Profiler</a> in
161
- * the <i>Amazon CodeGuru Profiler User Guide</i>.
162
- * </p>
163
- */
82
+
164
83
  export declare class CodeGuruProfilerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodeGuruProfilerClientResolvedConfig> {
165
- /**
166
- * The resolved configuration of CodeGuruProfilerClient class. This is resolved and normalized from the {@link CodeGuruProfilerClientConfig | constructor configuration interface}.
167
- */
84
+
168
85
  readonly config: CodeGuruProfilerClientResolvedConfig;
169
86
  constructor(configuration: CodeGuruProfilerClientConfig);
170
- /**
171
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
172
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
173
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
174
- */
87
+
175
88
  destroy(): void;
176
89
  }
177
90
  export {};
@@ -1,34 +1,16 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodeGuruProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruProfilerClient";
2
4
  import { AddNotificationChannelsRequest, AddNotificationChannelsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface AddNotificationChannelsCommandInput extends AddNotificationChannelsRequest {
6
6
  }
7
7
  export interface AddNotificationChannelsCommandOutput extends AddNotificationChannelsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Add up to 2 anomaly notifications channels for a profiling group.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeGuruProfilerClient, AddNotificationChannelsCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import
15
- * // const { CodeGuruProfilerClient, AddNotificationChannelsCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import
16
- * const client = new CodeGuruProfilerClient(config);
17
- * const command = new AddNotificationChannelsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link AddNotificationChannelsCommandInput} for command's `input` shape.
22
- * @see {@link AddNotificationChannelsCommandOutput} for command's `response` shape.
23
- * @see {@link CodeGuruProfilerClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class AddNotificationChannelsCommand extends $Command<AddNotificationChannelsCommandInput, AddNotificationChannelsCommandOutput, CodeGuruProfilerClientResolvedConfig> {
27
11
  readonly input: AddNotificationChannelsCommandInput;
28
12
  constructor(input: AddNotificationChannelsCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddNotificationChannelsCommandInput, AddNotificationChannelsCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CodeGuruProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruProfilerClient";
4
+ import { BatchGetFrameMetricDataRequest, BatchGetFrameMetricDataResponse } from "../models/models_0";
5
+ export interface BatchGetFrameMetricDataCommandInput extends BatchGetFrameMetricDataRequest {
6
+ }
7
+ export interface BatchGetFrameMetricDataCommandOutput extends BatchGetFrameMetricDataResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class BatchGetFrameMetricDataCommand extends $Command<BatchGetFrameMetricDataCommandInput, BatchGetFrameMetricDataCommandOutput, CodeGuruProfilerClientResolvedConfig> {
11
+ readonly input: BatchGetFrameMetricDataCommandInput;
12
+ constructor(input: BatchGetFrameMetricDataCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetFrameMetricDataCommandInput, BatchGetFrameMetricDataCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CodeGuruProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruProfilerClient";
4
+ import { ConfigureAgentRequest, ConfigureAgentResponse } from "../models/models_0";
5
+ export interface ConfigureAgentCommandInput extends ConfigureAgentRequest {
6
+ }
7
+ export interface ConfigureAgentCommandOutput extends ConfigureAgentResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ConfigureAgentCommand extends $Command<ConfigureAgentCommandInput, ConfigureAgentCommandOutput, CodeGuruProfilerClientResolvedConfig> {
11
+ readonly input: ConfigureAgentCommandInput;
12
+ constructor(input: ConfigureAgentCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ConfigureAgentCommandInput, ConfigureAgentCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }