@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,1004 +0,0 @@
1
- import { CodeGuruProfilerClient } from "./CodeGuruProfilerClient";
2
- import {
3
- AddNotificationChannelsCommand,
4
- AddNotificationChannelsCommandInput,
5
- AddNotificationChannelsCommandOutput,
6
- } from "./commands/AddNotificationChannelsCommand";
7
- import {
8
- BatchGetFrameMetricDataCommand,
9
- BatchGetFrameMetricDataCommandInput,
10
- BatchGetFrameMetricDataCommandOutput,
11
- } from "./commands/BatchGetFrameMetricDataCommand";
12
- import {
13
- ConfigureAgentCommand,
14
- ConfigureAgentCommandInput,
15
- ConfigureAgentCommandOutput,
16
- } from "./commands/ConfigureAgentCommand";
17
- import {
18
- CreateProfilingGroupCommand,
19
- CreateProfilingGroupCommandInput,
20
- CreateProfilingGroupCommandOutput,
21
- } from "./commands/CreateProfilingGroupCommand";
22
- import {
23
- DeleteProfilingGroupCommand,
24
- DeleteProfilingGroupCommandInput,
25
- DeleteProfilingGroupCommandOutput,
26
- } from "./commands/DeleteProfilingGroupCommand";
27
- import {
28
- DescribeProfilingGroupCommand,
29
- DescribeProfilingGroupCommandInput,
30
- DescribeProfilingGroupCommandOutput,
31
- } from "./commands/DescribeProfilingGroupCommand";
32
- import {
33
- GetFindingsReportAccountSummaryCommand,
34
- GetFindingsReportAccountSummaryCommandInput,
35
- GetFindingsReportAccountSummaryCommandOutput,
36
- } from "./commands/GetFindingsReportAccountSummaryCommand";
37
- import {
38
- GetNotificationConfigurationCommand,
39
- GetNotificationConfigurationCommandInput,
40
- GetNotificationConfigurationCommandOutput,
41
- } from "./commands/GetNotificationConfigurationCommand";
42
- import { GetPolicyCommand, GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
43
- import { GetProfileCommand, GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
44
- import {
45
- GetRecommendationsCommand,
46
- GetRecommendationsCommandInput,
47
- GetRecommendationsCommandOutput,
48
- } from "./commands/GetRecommendationsCommand";
49
- import {
50
- ListFindingsReportsCommand,
51
- ListFindingsReportsCommandInput,
52
- ListFindingsReportsCommandOutput,
53
- } from "./commands/ListFindingsReportsCommand";
54
- import {
55
- ListProfileTimesCommand,
56
- ListProfileTimesCommandInput,
57
- ListProfileTimesCommandOutput,
58
- } from "./commands/ListProfileTimesCommand";
59
- import {
60
- ListProfilingGroupsCommand,
61
- ListProfilingGroupsCommandInput,
62
- ListProfilingGroupsCommandOutput,
63
- } from "./commands/ListProfilingGroupsCommand";
64
- import {
65
- ListTagsForResourceCommand,
66
- ListTagsForResourceCommandInput,
67
- ListTagsForResourceCommandOutput,
68
- } from "./commands/ListTagsForResourceCommand";
69
- import {
70
- PostAgentProfileCommand,
71
- PostAgentProfileCommandInput,
72
- PostAgentProfileCommandOutput,
73
- } from "./commands/PostAgentProfileCommand";
74
- import {
75
- PutPermissionCommand,
76
- PutPermissionCommandInput,
77
- PutPermissionCommandOutput,
78
- } from "./commands/PutPermissionCommand";
79
- import {
80
- RemoveNotificationChannelCommand,
81
- RemoveNotificationChannelCommandInput,
82
- RemoveNotificationChannelCommandOutput,
83
- } from "./commands/RemoveNotificationChannelCommand";
84
- import {
85
- RemovePermissionCommand,
86
- RemovePermissionCommandInput,
87
- RemovePermissionCommandOutput,
88
- } from "./commands/RemovePermissionCommand";
89
- import {
90
- SubmitFeedbackCommand,
91
- SubmitFeedbackCommandInput,
92
- SubmitFeedbackCommandOutput,
93
- } from "./commands/SubmitFeedbackCommand";
94
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
95
- import {
96
- UntagResourceCommand,
97
- UntagResourceCommandInput,
98
- UntagResourceCommandOutput,
99
- } from "./commands/UntagResourceCommand";
100
- import {
101
- UpdateProfilingGroupCommand,
102
- UpdateProfilingGroupCommandInput,
103
- UpdateProfilingGroupCommandOutput,
104
- } from "./commands/UpdateProfilingGroupCommand";
105
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
106
-
107
- /**
108
- * <p>
109
- * This section provides documentation for the Amazon CodeGuru Profiler API operations.
110
- * </p>
111
- * <p>
112
- * Amazon CodeGuru Profiler collects runtime performance data from your live applications, and provides
113
- * recommendations that can help you fine-tune your application performance. Using machine learning
114
- * algorithms, CodeGuru Profiler can help you find your most expensive lines of code and suggest ways you can
115
- * improve efficiency and remove CPU bottlenecks.
116
- * </p>
117
- * <p>
118
- * Amazon CodeGuru Profiler provides different visualizations of profiling data to help you identify what code is
119
- * running on the CPU, see how much time is consumed, and suggest ways to reduce CPU utilization.
120
- * </p>
121
- * <note>
122
- * <p>Amazon CodeGuru Profiler currently supports applications written in all Java virtual machine (JVM)
123
- * languages and Python. While CodeGuru Profiler supports both visualizations and recommendations for applications
124
- * written in Java, it can also generate visualizations and a subset of recommendations for
125
- * applications written in other JVM languages and Python.</p>
126
- * </note>
127
- * <p>
128
- * 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
129
- * the <i>Amazon CodeGuru Profiler User Guide</i>.
130
- * </p>
131
- */
132
- export class CodeGuruProfiler extends CodeGuruProfilerClient {
133
- /**
134
- * <p>Add up to 2 anomaly notifications channels for a profiling group.</p>
135
- */
136
- public addNotificationChannels(
137
- args: AddNotificationChannelsCommandInput,
138
- options?: __HttpHandlerOptions
139
- ): Promise<AddNotificationChannelsCommandOutput>;
140
- public addNotificationChannels(
141
- args: AddNotificationChannelsCommandInput,
142
- cb: (err: any, data?: AddNotificationChannelsCommandOutput) => void
143
- ): void;
144
- public addNotificationChannels(
145
- args: AddNotificationChannelsCommandInput,
146
- options: __HttpHandlerOptions,
147
- cb: (err: any, data?: AddNotificationChannelsCommandOutput) => void
148
- ): void;
149
- public addNotificationChannels(
150
- args: AddNotificationChannelsCommandInput,
151
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddNotificationChannelsCommandOutput) => void),
152
- cb?: (err: any, data?: AddNotificationChannelsCommandOutput) => void
153
- ): Promise<AddNotificationChannelsCommandOutput> | void {
154
- const command = new AddNotificationChannelsCommand(args);
155
- if (typeof optionsOrCb === "function") {
156
- this.send(command, optionsOrCb);
157
- } else if (typeof cb === "function") {
158
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
159
- this.send(command, optionsOrCb || {}, cb);
160
- } else {
161
- return this.send(command, optionsOrCb);
162
- }
163
- }
164
-
165
- /**
166
- * <p>
167
- * Returns the time series of values for a requested list
168
- * of frame metrics from a time period.</p>
169
- */
170
- public batchGetFrameMetricData(
171
- args: BatchGetFrameMetricDataCommandInput,
172
- options?: __HttpHandlerOptions
173
- ): Promise<BatchGetFrameMetricDataCommandOutput>;
174
- public batchGetFrameMetricData(
175
- args: BatchGetFrameMetricDataCommandInput,
176
- cb: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void
177
- ): void;
178
- public batchGetFrameMetricData(
179
- args: BatchGetFrameMetricDataCommandInput,
180
- options: __HttpHandlerOptions,
181
- cb: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void
182
- ): void;
183
- public batchGetFrameMetricData(
184
- args: BatchGetFrameMetricDataCommandInput,
185
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetFrameMetricDataCommandOutput) => void),
186
- cb?: (err: any, data?: BatchGetFrameMetricDataCommandOutput) => void
187
- ): Promise<BatchGetFrameMetricDataCommandOutput> | void {
188
- const command = new BatchGetFrameMetricDataCommand(args);
189
- if (typeof optionsOrCb === "function") {
190
- this.send(command, optionsOrCb);
191
- } else if (typeof cb === "function") {
192
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
193
- this.send(command, optionsOrCb || {}, cb);
194
- } else {
195
- return this.send(command, optionsOrCb);
196
- }
197
- }
198
-
199
- /**
200
- * <p>
201
- * Used by profiler agents to report their current state and to receive remote
202
- * configuration updates. For example, <code>ConfigureAgent</code> can be used
203
- * to tell an agent whether to profile or not and for how long to return profiling data.
204
- * </p>
205
- */
206
- public configureAgent(
207
- args: ConfigureAgentCommandInput,
208
- options?: __HttpHandlerOptions
209
- ): Promise<ConfigureAgentCommandOutput>;
210
- public configureAgent(
211
- args: ConfigureAgentCommandInput,
212
- cb: (err: any, data?: ConfigureAgentCommandOutput) => void
213
- ): void;
214
- public configureAgent(
215
- args: ConfigureAgentCommandInput,
216
- options: __HttpHandlerOptions,
217
- cb: (err: any, data?: ConfigureAgentCommandOutput) => void
218
- ): void;
219
- public configureAgent(
220
- args: ConfigureAgentCommandInput,
221
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ConfigureAgentCommandOutput) => void),
222
- cb?: (err: any, data?: ConfigureAgentCommandOutput) => void
223
- ): Promise<ConfigureAgentCommandOutput> | void {
224
- const command = new ConfigureAgentCommand(args);
225
- if (typeof optionsOrCb === "function") {
226
- this.send(command, optionsOrCb);
227
- } else if (typeof cb === "function") {
228
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
229
- this.send(command, optionsOrCb || {}, cb);
230
- } else {
231
- return this.send(command, optionsOrCb);
232
- }
233
- }
234
-
235
- /**
236
- * <p>Creates a profiling group.</p>
237
- */
238
- public createProfilingGroup(
239
- args: CreateProfilingGroupCommandInput,
240
- options?: __HttpHandlerOptions
241
- ): Promise<CreateProfilingGroupCommandOutput>;
242
- public createProfilingGroup(
243
- args: CreateProfilingGroupCommandInput,
244
- cb: (err: any, data?: CreateProfilingGroupCommandOutput) => void
245
- ): void;
246
- public createProfilingGroup(
247
- args: CreateProfilingGroupCommandInput,
248
- options: __HttpHandlerOptions,
249
- cb: (err: any, data?: CreateProfilingGroupCommandOutput) => void
250
- ): void;
251
- public createProfilingGroup(
252
- args: CreateProfilingGroupCommandInput,
253
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateProfilingGroupCommandOutput) => void),
254
- cb?: (err: any, data?: CreateProfilingGroupCommandOutput) => void
255
- ): Promise<CreateProfilingGroupCommandOutput> | void {
256
- const command = new CreateProfilingGroupCommand(args);
257
- if (typeof optionsOrCb === "function") {
258
- this.send(command, optionsOrCb);
259
- } else if (typeof cb === "function") {
260
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
261
- this.send(command, optionsOrCb || {}, cb);
262
- } else {
263
- return this.send(command, optionsOrCb);
264
- }
265
- }
266
-
267
- /**
268
- * <p>Deletes a profiling group.</p>
269
- */
270
- public deleteProfilingGroup(
271
- args: DeleteProfilingGroupCommandInput,
272
- options?: __HttpHandlerOptions
273
- ): Promise<DeleteProfilingGroupCommandOutput>;
274
- public deleteProfilingGroup(
275
- args: DeleteProfilingGroupCommandInput,
276
- cb: (err: any, data?: DeleteProfilingGroupCommandOutput) => void
277
- ): void;
278
- public deleteProfilingGroup(
279
- args: DeleteProfilingGroupCommandInput,
280
- options: __HttpHandlerOptions,
281
- cb: (err: any, data?: DeleteProfilingGroupCommandOutput) => void
282
- ): void;
283
- public deleteProfilingGroup(
284
- args: DeleteProfilingGroupCommandInput,
285
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProfilingGroupCommandOutput) => void),
286
- cb?: (err: any, data?: DeleteProfilingGroupCommandOutput) => void
287
- ): Promise<DeleteProfilingGroupCommandOutput> | void {
288
- const command = new DeleteProfilingGroupCommand(args);
289
- if (typeof optionsOrCb === "function") {
290
- this.send(command, optionsOrCb);
291
- } else if (typeof cb === "function") {
292
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
293
- this.send(command, optionsOrCb || {}, cb);
294
- } else {
295
- return this.send(command, optionsOrCb);
296
- }
297
- }
298
-
299
- /**
300
- * <p>
301
- * Returns a <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
302
- * <code>ProfilingGroupDescription</code>
303
- * </a>
304
- * object that contains information about the requested profiling group.
305
- * </p>
306
- */
307
- public describeProfilingGroup(
308
- args: DescribeProfilingGroupCommandInput,
309
- options?: __HttpHandlerOptions
310
- ): Promise<DescribeProfilingGroupCommandOutput>;
311
- public describeProfilingGroup(
312
- args: DescribeProfilingGroupCommandInput,
313
- cb: (err: any, data?: DescribeProfilingGroupCommandOutput) => void
314
- ): void;
315
- public describeProfilingGroup(
316
- args: DescribeProfilingGroupCommandInput,
317
- options: __HttpHandlerOptions,
318
- cb: (err: any, data?: DescribeProfilingGroupCommandOutput) => void
319
- ): void;
320
- public describeProfilingGroup(
321
- args: DescribeProfilingGroupCommandInput,
322
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeProfilingGroupCommandOutput) => void),
323
- cb?: (err: any, data?: DescribeProfilingGroupCommandOutput) => void
324
- ): Promise<DescribeProfilingGroupCommandOutput> | void {
325
- const command = new DescribeProfilingGroupCommand(args);
326
- if (typeof optionsOrCb === "function") {
327
- this.send(command, optionsOrCb);
328
- } else if (typeof cb === "function") {
329
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
330
- this.send(command, optionsOrCb || {}, cb);
331
- } else {
332
- return this.send(command, optionsOrCb);
333
- }
334
- }
335
-
336
- /**
337
- * <p>
338
- * Returns a list of
339
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_FindingsReportSummary.html">
340
- * <code>FindingsReportSummary</code>
341
- * </a>
342
- * objects that contain analysis results for all profiling groups in your AWS account.
343
- * </p>
344
- */
345
- public getFindingsReportAccountSummary(
346
- args: GetFindingsReportAccountSummaryCommandInput,
347
- options?: __HttpHandlerOptions
348
- ): Promise<GetFindingsReportAccountSummaryCommandOutput>;
349
- public getFindingsReportAccountSummary(
350
- args: GetFindingsReportAccountSummaryCommandInput,
351
- cb: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void
352
- ): void;
353
- public getFindingsReportAccountSummary(
354
- args: GetFindingsReportAccountSummaryCommandInput,
355
- options: __HttpHandlerOptions,
356
- cb: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void
357
- ): void;
358
- public getFindingsReportAccountSummary(
359
- args: GetFindingsReportAccountSummaryCommandInput,
360
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void),
361
- cb?: (err: any, data?: GetFindingsReportAccountSummaryCommandOutput) => void
362
- ): Promise<GetFindingsReportAccountSummaryCommandOutput> | void {
363
- const command = new GetFindingsReportAccountSummaryCommand(args);
364
- if (typeof optionsOrCb === "function") {
365
- this.send(command, optionsOrCb);
366
- } else if (typeof cb === "function") {
367
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
368
- this.send(command, optionsOrCb || {}, cb);
369
- } else {
370
- return this.send(command, optionsOrCb);
371
- }
372
- }
373
-
374
- /**
375
- * <p>Get the current configuration for anomaly notifications for a profiling group.</p>
376
- */
377
- public getNotificationConfiguration(
378
- args: GetNotificationConfigurationCommandInput,
379
- options?: __HttpHandlerOptions
380
- ): Promise<GetNotificationConfigurationCommandOutput>;
381
- public getNotificationConfiguration(
382
- args: GetNotificationConfigurationCommandInput,
383
- cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void
384
- ): void;
385
- public getNotificationConfiguration(
386
- args: GetNotificationConfigurationCommandInput,
387
- options: __HttpHandlerOptions,
388
- cb: (err: any, data?: GetNotificationConfigurationCommandOutput) => void
389
- ): void;
390
- public getNotificationConfiguration(
391
- args: GetNotificationConfigurationCommandInput,
392
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetNotificationConfigurationCommandOutput) => void),
393
- cb?: (err: any, data?: GetNotificationConfigurationCommandOutput) => void
394
- ): Promise<GetNotificationConfigurationCommandOutput> | void {
395
- const command = new GetNotificationConfigurationCommand(args);
396
- if (typeof optionsOrCb === "function") {
397
- this.send(command, optionsOrCb);
398
- } else if (typeof cb === "function") {
399
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
400
- this.send(command, optionsOrCb || {}, cb);
401
- } else {
402
- return this.send(command, optionsOrCb);
403
- }
404
- }
405
-
406
- /**
407
- * <p>
408
- * Returns the JSON-formatted resource-based policy on a profiling group.
409
- * </p>
410
- */
411
- public getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyCommandOutput>;
412
- public getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
413
- public getPolicy(
414
- args: GetPolicyCommandInput,
415
- options: __HttpHandlerOptions,
416
- cb: (err: any, data?: GetPolicyCommandOutput) => void
417
- ): void;
418
- public getPolicy(
419
- args: GetPolicyCommandInput,
420
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPolicyCommandOutput) => void),
421
- cb?: (err: any, data?: GetPolicyCommandOutput) => void
422
- ): Promise<GetPolicyCommandOutput> | void {
423
- const command = new GetPolicyCommand(args);
424
- if (typeof optionsOrCb === "function") {
425
- this.send(command, optionsOrCb);
426
- } else if (typeof cb === "function") {
427
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
428
- this.send(command, optionsOrCb || {}, cb);
429
- } else {
430
- return this.send(command, optionsOrCb);
431
- }
432
- }
433
-
434
- /**
435
- * <p>
436
- * Gets the aggregated profile of a profiling group for a specified time range.
437
- * Amazon CodeGuru Profiler collects posted agent profiles for a profiling group
438
- * into aggregated profiles.
439
- * </p>
440
- *
441
- * <note>
442
- * <p>
443
- * Because aggregated profiles expire over time <code>GetProfile</code> is not idempotent.
444
- * </p>
445
- * </note>
446
- *
447
- * <p>
448
- * Specify the time range for the requested aggregated profile using 1 or 2 of the following parameters: <code>startTime</code>,
449
- * <code>endTime</code>, <code>period</code>. The maximum time range allowed is 7 days. If you specify all 3 parameters,
450
- * an exception is thrown. If you specify only <code>period</code>, the latest aggregated profile is returned.
451
- * </p>
452
- *
453
- * <p>
454
- * Aggregated profiles are available with aggregation periods of 5 minutes, 1 hour, and 1 day, aligned to
455
- * UTC. The aggregation period of an aggregated profile determines how long it is retained. For more
456
- * information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html">
457
- * <code>AggregatedProfileTime</code>
458
- * </a>. The aggregated profile's aggregation period determines how long
459
- * it is retained by CodeGuru Profiler.
460
- * </p>
461
- *
462
- * <ul>
463
- * <li>
464
- * <p>
465
- * If the aggregation period is 5 minutes, the aggregated profile is retained for 15 days.
466
- * </p>
467
- * </li>
468
- * <li>
469
- * <p>
470
- * If the aggregation period is 1 hour, the aggregated profile is retained for 60 days.
471
- * </p>
472
- * </li>
473
- * <li>
474
- * <p>
475
- * If the aggregation period is 1 day, the aggregated profile is retained for 3 years.
476
- * </p>
477
- * </li>
478
- * </ul>
479
- *
480
- * <p>There are two use cases for calling <code>GetProfile</code>.</p>
481
- * <ol>
482
- * <li>
483
- * <p>
484
- * If you want to return an aggregated profile that already exists, use
485
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ListProfileTimes.html">
486
- * <code>ListProfileTimes</code>
487
- * </a> to
488
- * view the time ranges of existing aggregated profiles. Use them in a <code>GetProfile</code> request to return a specific,
489
- * existing aggregated profile.
490
- * </p>
491
- * </li>
492
- * <li>
493
- * <p>
494
- * If you want to return an aggregated profile for a time range that doesn't align with an existing aggregated profile,
495
- * then CodeGuru Profiler makes a best effort to combine existing aggregated profiles from the requested time
496
- * range and return them as one aggregated profile.
497
- * </p>
498
- *
499
- * <p> If aggregated profiles do not exist for the full time range requested, then
500
- * aggregated profiles for a smaller time range are returned. For example, if the
501
- * requested time range is from 00:00 to 00:20, and the existing aggregated profiles are
502
- * from 00:15 and 00:25, then the aggregated profiles from 00:15 to 00:20 are returned. </p>
503
- *
504
- *
505
- * </li>
506
- * </ol>
507
- */
508
- public getProfile(args: GetProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileCommandOutput>;
509
- public getProfile(args: GetProfileCommandInput, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
510
- public getProfile(
511
- args: GetProfileCommandInput,
512
- options: __HttpHandlerOptions,
513
- cb: (err: any, data?: GetProfileCommandOutput) => void
514
- ): void;
515
- public getProfile(
516
- args: GetProfileCommandInput,
517
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetProfileCommandOutput) => void),
518
- cb?: (err: any, data?: GetProfileCommandOutput) => void
519
- ): Promise<GetProfileCommandOutput> | void {
520
- const command = new GetProfileCommand(args);
521
- if (typeof optionsOrCb === "function") {
522
- this.send(command, optionsOrCb);
523
- } else if (typeof cb === "function") {
524
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
525
- this.send(command, optionsOrCb || {}, cb);
526
- } else {
527
- return this.send(command, optionsOrCb);
528
- }
529
- }
530
-
531
- /**
532
- * <p>
533
- * Returns a list of
534
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Recommendation.html">
535
- * <code>Recommendation</code>
536
- * </a>
537
- * objects that contain recommendations for a profiling group for a given time period. A list of
538
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Anomaly.html">
539
- * <code>Anomaly</code>
540
- * </a>
541
- * objects that contains details about anomalies detected in the profiling group for the same time period is also
542
- * returned.
543
- * </p>
544
- */
545
- public getRecommendations(
546
- args: GetRecommendationsCommandInput,
547
- options?: __HttpHandlerOptions
548
- ): Promise<GetRecommendationsCommandOutput>;
549
- public getRecommendations(
550
- args: GetRecommendationsCommandInput,
551
- cb: (err: any, data?: GetRecommendationsCommandOutput) => void
552
- ): void;
553
- public getRecommendations(
554
- args: GetRecommendationsCommandInput,
555
- options: __HttpHandlerOptions,
556
- cb: (err: any, data?: GetRecommendationsCommandOutput) => void
557
- ): void;
558
- public getRecommendations(
559
- args: GetRecommendationsCommandInput,
560
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRecommendationsCommandOutput) => void),
561
- cb?: (err: any, data?: GetRecommendationsCommandOutput) => void
562
- ): Promise<GetRecommendationsCommandOutput> | void {
563
- const command = new GetRecommendationsCommand(args);
564
- if (typeof optionsOrCb === "function") {
565
- this.send(command, optionsOrCb);
566
- } else if (typeof cb === "function") {
567
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
568
- this.send(command, optionsOrCb || {}, cb);
569
- } else {
570
- return this.send(command, optionsOrCb);
571
- }
572
- }
573
-
574
- /**
575
- * <p>List the available reports for a given profiling group and time range.</p>
576
- */
577
- public listFindingsReports(
578
- args: ListFindingsReportsCommandInput,
579
- options?: __HttpHandlerOptions
580
- ): Promise<ListFindingsReportsCommandOutput>;
581
- public listFindingsReports(
582
- args: ListFindingsReportsCommandInput,
583
- cb: (err: any, data?: ListFindingsReportsCommandOutput) => void
584
- ): void;
585
- public listFindingsReports(
586
- args: ListFindingsReportsCommandInput,
587
- options: __HttpHandlerOptions,
588
- cb: (err: any, data?: ListFindingsReportsCommandOutput) => void
589
- ): void;
590
- public listFindingsReports(
591
- args: ListFindingsReportsCommandInput,
592
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFindingsReportsCommandOutput) => void),
593
- cb?: (err: any, data?: ListFindingsReportsCommandOutput) => void
594
- ): Promise<ListFindingsReportsCommandOutput> | void {
595
- const command = new ListFindingsReportsCommand(args);
596
- if (typeof optionsOrCb === "function") {
597
- this.send(command, optionsOrCb);
598
- } else if (typeof cb === "function") {
599
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
600
- this.send(command, optionsOrCb || {}, cb);
601
- } else {
602
- return this.send(command, optionsOrCb);
603
- }
604
- }
605
-
606
- /**
607
- * <p>Lists the start times of the available aggregated profiles of a profiling group
608
- * for an aggregation period within the specified time range.</p>
609
- */
610
- public listProfileTimes(
611
- args: ListProfileTimesCommandInput,
612
- options?: __HttpHandlerOptions
613
- ): Promise<ListProfileTimesCommandOutput>;
614
- public listProfileTimes(
615
- args: ListProfileTimesCommandInput,
616
- cb: (err: any, data?: ListProfileTimesCommandOutput) => void
617
- ): void;
618
- public listProfileTimes(
619
- args: ListProfileTimesCommandInput,
620
- options: __HttpHandlerOptions,
621
- cb: (err: any, data?: ListProfileTimesCommandOutput) => void
622
- ): void;
623
- public listProfileTimes(
624
- args: ListProfileTimesCommandInput,
625
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProfileTimesCommandOutput) => void),
626
- cb?: (err: any, data?: ListProfileTimesCommandOutput) => void
627
- ): Promise<ListProfileTimesCommandOutput> | void {
628
- const command = new ListProfileTimesCommand(args);
629
- if (typeof optionsOrCb === "function") {
630
- this.send(command, optionsOrCb);
631
- } else if (typeof cb === "function") {
632
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
633
- this.send(command, optionsOrCb || {}, cb);
634
- } else {
635
- return this.send(command, optionsOrCb);
636
- }
637
- }
638
-
639
- /**
640
- * <p>
641
- * Returns a list of profiling groups. The profiling groups are returned as
642
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
643
- * <code>ProfilingGroupDescription</code>
644
- * </a>
645
- * objects.
646
- * </p>
647
- */
648
- public listProfilingGroups(
649
- args: ListProfilingGroupsCommandInput,
650
- options?: __HttpHandlerOptions
651
- ): Promise<ListProfilingGroupsCommandOutput>;
652
- public listProfilingGroups(
653
- args: ListProfilingGroupsCommandInput,
654
- cb: (err: any, data?: ListProfilingGroupsCommandOutput) => void
655
- ): void;
656
- public listProfilingGroups(
657
- args: ListProfilingGroupsCommandInput,
658
- options: __HttpHandlerOptions,
659
- cb: (err: any, data?: ListProfilingGroupsCommandOutput) => void
660
- ): void;
661
- public listProfilingGroups(
662
- args: ListProfilingGroupsCommandInput,
663
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProfilingGroupsCommandOutput) => void),
664
- cb?: (err: any, data?: ListProfilingGroupsCommandOutput) => void
665
- ): Promise<ListProfilingGroupsCommandOutput> | void {
666
- const command = new ListProfilingGroupsCommand(args);
667
- if (typeof optionsOrCb === "function") {
668
- this.send(command, optionsOrCb);
669
- } else if (typeof cb === "function") {
670
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
671
- this.send(command, optionsOrCb || {}, cb);
672
- } else {
673
- return this.send(command, optionsOrCb);
674
- }
675
- }
676
-
677
- /**
678
- * <p>
679
- * Returns a list of the tags that are assigned to a specified resource.
680
- * </p>
681
- */
682
- public listTagsForResource(
683
- args: ListTagsForResourceCommandInput,
684
- options?: __HttpHandlerOptions
685
- ): Promise<ListTagsForResourceCommandOutput>;
686
- public listTagsForResource(
687
- args: ListTagsForResourceCommandInput,
688
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
689
- ): void;
690
- public listTagsForResource(
691
- args: ListTagsForResourceCommandInput,
692
- options: __HttpHandlerOptions,
693
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
694
- ): void;
695
- public listTagsForResource(
696
- args: ListTagsForResourceCommandInput,
697
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
698
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
699
- ): Promise<ListTagsForResourceCommandOutput> | void {
700
- const command = new ListTagsForResourceCommand(args);
701
- if (typeof optionsOrCb === "function") {
702
- this.send(command, optionsOrCb);
703
- } else if (typeof cb === "function") {
704
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
705
- this.send(command, optionsOrCb || {}, cb);
706
- } else {
707
- return this.send(command, optionsOrCb);
708
- }
709
- }
710
-
711
- /**
712
- * <p>
713
- * Submits profiling data to an aggregated profile of a profiling group. To get an
714
- * aggregated profile that is created with this profiling data, use
715
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_GetProfile.html">
716
- * <code>GetProfile</code>
717
- * </a>.
718
- * </p>
719
- */
720
- public postAgentProfile(
721
- args: PostAgentProfileCommandInput,
722
- options?: __HttpHandlerOptions
723
- ): Promise<PostAgentProfileCommandOutput>;
724
- public postAgentProfile(
725
- args: PostAgentProfileCommandInput,
726
- cb: (err: any, data?: PostAgentProfileCommandOutput) => void
727
- ): void;
728
- public postAgentProfile(
729
- args: PostAgentProfileCommandInput,
730
- options: __HttpHandlerOptions,
731
- cb: (err: any, data?: PostAgentProfileCommandOutput) => void
732
- ): void;
733
- public postAgentProfile(
734
- args: PostAgentProfileCommandInput,
735
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PostAgentProfileCommandOutput) => void),
736
- cb?: (err: any, data?: PostAgentProfileCommandOutput) => void
737
- ): Promise<PostAgentProfileCommandOutput> | void {
738
- const command = new PostAgentProfileCommand(args);
739
- if (typeof optionsOrCb === "function") {
740
- this.send(command, optionsOrCb);
741
- } else if (typeof cb === "function") {
742
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
743
- this.send(command, optionsOrCb || {}, cb);
744
- } else {
745
- return this.send(command, optionsOrCb);
746
- }
747
- }
748
-
749
- /**
750
- * <p>
751
- * Adds permissions to a profiling group's resource-based policy
752
- * that are provided using an action group. If a profiling group doesn't have
753
- * a resource-based policy, one is created for it using the permissions in the action group and
754
- * the roles and users in the <code>principals</code> parameter.
755
- * </p>
756
- *
757
- * <p> The one supported action group that can be added is <code>agentPermission</code>
758
- * which grants <code>ConfigureAgent</code> and <code>PostAgent</code> permissions. For
759
- * more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html">Resource-based
760
- * policies in CodeGuru Profiler</a> in the <i>Amazon CodeGuru Profiler User
761
- * Guide</i>, <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html">
762
- * <code>ConfigureAgent</code>
763
- * </a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html">
764
- * <code>PostAgentProfile</code>
765
- * </a>. </p>
766
- *
767
- * <p>
768
- * The first time you call <code>PutPermission</code> on a profiling group, do not specify a <code>revisionId</code> because
769
- * it doesn't have a resource-based policy. Subsequent calls must provide a <code>revisionId</code> to specify
770
- * which revision of the resource-based policy to add the permissions to.
771
- * </p>
772
- *
773
- * <p>
774
- * The response contains the profiling group's JSON-formatted resource policy.
775
- * </p>
776
- */
777
- public putPermission(
778
- args: PutPermissionCommandInput,
779
- options?: __HttpHandlerOptions
780
- ): Promise<PutPermissionCommandOutput>;
781
- public putPermission(
782
- args: PutPermissionCommandInput,
783
- cb: (err: any, data?: PutPermissionCommandOutput) => void
784
- ): void;
785
- public putPermission(
786
- args: PutPermissionCommandInput,
787
- options: __HttpHandlerOptions,
788
- cb: (err: any, data?: PutPermissionCommandOutput) => void
789
- ): void;
790
- public putPermission(
791
- args: PutPermissionCommandInput,
792
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutPermissionCommandOutput) => void),
793
- cb?: (err: any, data?: PutPermissionCommandOutput) => void
794
- ): Promise<PutPermissionCommandOutput> | void {
795
- const command = new PutPermissionCommand(args);
796
- if (typeof optionsOrCb === "function") {
797
- this.send(command, optionsOrCb);
798
- } else if (typeof cb === "function") {
799
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
800
- this.send(command, optionsOrCb || {}, cb);
801
- } else {
802
- return this.send(command, optionsOrCb);
803
- }
804
- }
805
-
806
- /**
807
- * <p>Remove one anomaly notifications channel for a profiling group.</p>
808
- */
809
- public removeNotificationChannel(
810
- args: RemoveNotificationChannelCommandInput,
811
- options?: __HttpHandlerOptions
812
- ): Promise<RemoveNotificationChannelCommandOutput>;
813
- public removeNotificationChannel(
814
- args: RemoveNotificationChannelCommandInput,
815
- cb: (err: any, data?: RemoveNotificationChannelCommandOutput) => void
816
- ): void;
817
- public removeNotificationChannel(
818
- args: RemoveNotificationChannelCommandInput,
819
- options: __HttpHandlerOptions,
820
- cb: (err: any, data?: RemoveNotificationChannelCommandOutput) => void
821
- ): void;
822
- public removeNotificationChannel(
823
- args: RemoveNotificationChannelCommandInput,
824
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveNotificationChannelCommandOutput) => void),
825
- cb?: (err: any, data?: RemoveNotificationChannelCommandOutput) => void
826
- ): Promise<RemoveNotificationChannelCommandOutput> | void {
827
- const command = new RemoveNotificationChannelCommand(args);
828
- if (typeof optionsOrCb === "function") {
829
- this.send(command, optionsOrCb);
830
- } else if (typeof cb === "function") {
831
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
832
- this.send(command, optionsOrCb || {}, cb);
833
- } else {
834
- return this.send(command, optionsOrCb);
835
- }
836
- }
837
-
838
- /**
839
- * <p> Removes permissions from a profiling group's resource-based policy that are provided
840
- * using an action group. The one supported action group that can be removed is
841
- * <code>agentPermission</code> which grants <code>ConfigureAgent</code> and
842
- * <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
843
- * CodeGuru Profiler User Guide</i>, <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html">
844
- * <code>ConfigureAgent</code>
845
- * </a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html">
846
- * <code>PostAgentProfile</code>
847
- * </a>. </p>
848
- */
849
- public removePermission(
850
- args: RemovePermissionCommandInput,
851
- options?: __HttpHandlerOptions
852
- ): Promise<RemovePermissionCommandOutput>;
853
- public removePermission(
854
- args: RemovePermissionCommandInput,
855
- cb: (err: any, data?: RemovePermissionCommandOutput) => void
856
- ): void;
857
- public removePermission(
858
- args: RemovePermissionCommandInput,
859
- options: __HttpHandlerOptions,
860
- cb: (err: any, data?: RemovePermissionCommandOutput) => void
861
- ): void;
862
- public removePermission(
863
- args: RemovePermissionCommandInput,
864
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemovePermissionCommandOutput) => void),
865
- cb?: (err: any, data?: RemovePermissionCommandOutput) => void
866
- ): Promise<RemovePermissionCommandOutput> | void {
867
- const command = new RemovePermissionCommand(args);
868
- if (typeof optionsOrCb === "function") {
869
- this.send(command, optionsOrCb);
870
- } else if (typeof cb === "function") {
871
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
872
- this.send(command, optionsOrCb || {}, cb);
873
- } else {
874
- return this.send(command, optionsOrCb);
875
- }
876
- }
877
-
878
- /**
879
- * <p>Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is
880
- * useful or not.</p>
881
- */
882
- public submitFeedback(
883
- args: SubmitFeedbackCommandInput,
884
- options?: __HttpHandlerOptions
885
- ): Promise<SubmitFeedbackCommandOutput>;
886
- public submitFeedback(
887
- args: SubmitFeedbackCommandInput,
888
- cb: (err: any, data?: SubmitFeedbackCommandOutput) => void
889
- ): void;
890
- public submitFeedback(
891
- args: SubmitFeedbackCommandInput,
892
- options: __HttpHandlerOptions,
893
- cb: (err: any, data?: SubmitFeedbackCommandOutput) => void
894
- ): void;
895
- public submitFeedback(
896
- args: SubmitFeedbackCommandInput,
897
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SubmitFeedbackCommandOutput) => void),
898
- cb?: (err: any, data?: SubmitFeedbackCommandOutput) => void
899
- ): Promise<SubmitFeedbackCommandOutput> | void {
900
- const command = new SubmitFeedbackCommand(args);
901
- if (typeof optionsOrCb === "function") {
902
- this.send(command, optionsOrCb);
903
- } else if (typeof cb === "function") {
904
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
905
- this.send(command, optionsOrCb || {}, cb);
906
- } else {
907
- return this.send(command, optionsOrCb);
908
- }
909
- }
910
-
911
- /**
912
- * <p>
913
- * Use to assign one or more tags to a resource.
914
- * </p>
915
- */
916
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
917
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
918
- public tagResource(
919
- args: TagResourceCommandInput,
920
- options: __HttpHandlerOptions,
921
- cb: (err: any, data?: TagResourceCommandOutput) => void
922
- ): void;
923
- public tagResource(
924
- args: TagResourceCommandInput,
925
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
926
- cb?: (err: any, data?: TagResourceCommandOutput) => void
927
- ): Promise<TagResourceCommandOutput> | void {
928
- const command = new TagResourceCommand(args);
929
- if (typeof optionsOrCb === "function") {
930
- this.send(command, optionsOrCb);
931
- } else if (typeof cb === "function") {
932
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
933
- this.send(command, optionsOrCb || {}, cb);
934
- } else {
935
- return this.send(command, optionsOrCb);
936
- }
937
- }
938
-
939
- /**
940
- * <p>
941
- * Use to remove one or more tags from a resource.
942
- * </p>
943
- */
944
- public untagResource(
945
- args: UntagResourceCommandInput,
946
- options?: __HttpHandlerOptions
947
- ): Promise<UntagResourceCommandOutput>;
948
- public untagResource(
949
- args: UntagResourceCommandInput,
950
- cb: (err: any, data?: UntagResourceCommandOutput) => void
951
- ): void;
952
- public untagResource(
953
- args: UntagResourceCommandInput,
954
- options: __HttpHandlerOptions,
955
- cb: (err: any, data?: UntagResourceCommandOutput) => void
956
- ): void;
957
- public untagResource(
958
- args: UntagResourceCommandInput,
959
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
960
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
961
- ): Promise<UntagResourceCommandOutput> | void {
962
- const command = new UntagResourceCommand(args);
963
- if (typeof optionsOrCb === "function") {
964
- this.send(command, optionsOrCb);
965
- } else if (typeof cb === "function") {
966
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
967
- this.send(command, optionsOrCb || {}, cb);
968
- } else {
969
- return this.send(command, optionsOrCb);
970
- }
971
- }
972
-
973
- /**
974
- * <p>Updates a profiling group.</p>
975
- */
976
- public updateProfilingGroup(
977
- args: UpdateProfilingGroupCommandInput,
978
- options?: __HttpHandlerOptions
979
- ): Promise<UpdateProfilingGroupCommandOutput>;
980
- public updateProfilingGroup(
981
- args: UpdateProfilingGroupCommandInput,
982
- cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void
983
- ): void;
984
- public updateProfilingGroup(
985
- args: UpdateProfilingGroupCommandInput,
986
- options: __HttpHandlerOptions,
987
- cb: (err: any, data?: UpdateProfilingGroupCommandOutput) => void
988
- ): void;
989
- public updateProfilingGroup(
990
- args: UpdateProfilingGroupCommandInput,
991
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateProfilingGroupCommandOutput) => void),
992
- cb?: (err: any, data?: UpdateProfilingGroupCommandOutput) => void
993
- ): Promise<UpdateProfilingGroupCommandOutput> | void {
994
- const command = new UpdateProfilingGroupCommand(args);
995
- if (typeof optionsOrCb === "function") {
996
- this.send(command, optionsOrCb);
997
- } else if (typeof cb === "function") {
998
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
999
- this.send(command, optionsOrCb || {}, cb);
1000
- } else {
1001
- return this.send(command, optionsOrCb);
1002
- }
1003
- }
1004
- }