@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,2337 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- export declare enum ActionGroup {
3
- /**
4
- * Permission group type for Agent APIs - ConfigureAgent, PostAgentProfile
5
- */
6
- AGENT_PERMISSIONS = "agentPermissions"
7
- }
8
- export declare enum EventPublisher {
9
- /**
10
- * Notifications for Anomaly Detection
11
- */
12
- ANOMALY_DETECTION = "AnomalyDetection"
13
- }
14
- /**
15
- * <p>Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel.</p>
16
- */
17
- export interface Channel {
18
- /**
19
- * <p>Unique identifier for each <code>Channel</code> in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request.</p>
20
- */
21
- id?: string;
22
- /**
23
- * <p>Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.</p>
24
- */
25
- uri: string | undefined;
26
- /**
27
- * <p>List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.</p>
28
- */
29
- eventPublishers: (EventPublisher | string)[] | undefined;
30
- }
31
- export declare namespace Channel {
32
- /**
33
- * @internal
34
- */
35
- const filterSensitiveLog: (obj: Channel) => any;
36
- }
37
- /**
38
- * <p>The structure representing the AddNotificationChannelsRequest.</p>
39
- */
40
- export interface AddNotificationChannelsRequest {
41
- /**
42
- * <p>The name of the profiling group that we are setting up notifications for.</p>
43
- */
44
- profilingGroupName: string | undefined;
45
- /**
46
- * <p>One or 2 channels to report to when anomalies are detected.</p>
47
- */
48
- channels: Channel[] | undefined;
49
- }
50
- export declare namespace AddNotificationChannelsRequest {
51
- /**
52
- * @internal
53
- */
54
- const filterSensitiveLog: (obj: AddNotificationChannelsRequest) => any;
55
- }
56
- /**
57
- * <p>The configuration for notifications stored for each profiling group. This includes up to
58
- * to two channels and a list of event publishers associated with each channel.</p>
59
- */
60
- export interface NotificationConfiguration {
61
- /**
62
- * <p>List of up to two channels to be used for sending notifications for events detected from
63
- * the application profile.</p>
64
- */
65
- channels?: Channel[];
66
- }
67
- export declare namespace NotificationConfiguration {
68
- /**
69
- * @internal
70
- */
71
- const filterSensitiveLog: (obj: NotificationConfiguration) => any;
72
- }
73
- /**
74
- * <p>The structure representing the AddNotificationChannelsResponse.</p>
75
- */
76
- export interface AddNotificationChannelsResponse {
77
- /**
78
- * <p>The new notification configuration for this profiling group.</p>
79
- */
80
- notificationConfiguration?: NotificationConfiguration;
81
- }
82
- export declare namespace AddNotificationChannelsResponse {
83
- /**
84
- * @internal
85
- */
86
- const filterSensitiveLog: (obj: AddNotificationChannelsResponse) => any;
87
- }
88
- /**
89
- * <p>The requested operation would cause a conflict with the current state
90
- * of a service resource associated with the request. Resolve the conflict
91
- * before retrying this request.
92
- * </p>
93
- */
94
- export interface ConflictException extends __SmithyException, $MetadataBearer {
95
- name: "ConflictException";
96
- $fault: "client";
97
- message: string | undefined;
98
- }
99
- export declare namespace ConflictException {
100
- /**
101
- * @internal
102
- */
103
- const filterSensitiveLog: (obj: ConflictException) => any;
104
- }
105
- /**
106
- * <p>The server encountered an internal error and is unable to complete the request.</p>
107
- */
108
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
109
- name: "InternalServerException";
110
- $fault: "server";
111
- $retryable: {};
112
- message: string | undefined;
113
- }
114
- export declare namespace InternalServerException {
115
- /**
116
- * @internal
117
- */
118
- const filterSensitiveLog: (obj: InternalServerException) => any;
119
- }
120
- /**
121
- * <p>The resource specified in the request does not exist.</p>
122
- */
123
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
124
- name: "ResourceNotFoundException";
125
- $fault: "client";
126
- message: string | undefined;
127
- }
128
- export declare namespace ResourceNotFoundException {
129
- /**
130
- * @internal
131
- */
132
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
133
- }
134
- /**
135
- * <p>You have exceeded your service quota. To perform the requested action,
136
- * remove some of the relevant resources, or use <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a> to request a
137
- * service quota increase.
138
- * </p>
139
- */
140
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
141
- name: "ServiceQuotaExceededException";
142
- $fault: "client";
143
- $retryable: {};
144
- message: string | undefined;
145
- }
146
- export declare namespace ServiceQuotaExceededException {
147
- /**
148
- * @internal
149
- */
150
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
151
- }
152
- /**
153
- * <p>The request was denied due to request throttling.</p>
154
- */
155
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
156
- name: "ThrottlingException";
157
- $fault: "client";
158
- $retryable: {};
159
- message: string | undefined;
160
- }
161
- export declare namespace ThrottlingException {
162
- /**
163
- * @internal
164
- */
165
- const filterSensitiveLog: (obj: ThrottlingException) => any;
166
- }
167
- /**
168
- * <p>The parameter is not valid.</p>
169
- */
170
- export interface ValidationException extends __SmithyException, $MetadataBearer {
171
- name: "ValidationException";
172
- $fault: "client";
173
- message: string | undefined;
174
- }
175
- export declare namespace ValidationException {
176
- /**
177
- * @internal
178
- */
179
- const filterSensitiveLog: (obj: ValidationException) => any;
180
- }
181
- export declare enum AgentParameterField {
182
- /**
183
- * Maximum stack depth to be captured by the CodeGuru Profiler.
184
- */
185
- MAX_STACK_DEPTH = "MaxStackDepth",
186
- /**
187
- * Percentage of memory to be used by CodeGuru profiler. Minimum of 30MB is required for the agent.
188
- */
189
- MEMORY_USAGE_LIMIT_PERCENT = "MemoryUsageLimitPercent",
190
- /**
191
- * Minimum time in milliseconds between sending reports.
192
- */
193
- MINIMUM_TIME_FOR_REPORTING_IN_MILLISECONDS = "MinimumTimeForReportingInMilliseconds",
194
- /**
195
- * Reporting interval in milliseconds used to report profiles.
196
- */
197
- REPORTING_INTERVAL_IN_MILLISECONDS = "ReportingIntervalInMilliseconds",
198
- /**
199
- * Sampling interval in milliseconds used to sample profiles.
200
- */
201
- SAMPLING_INTERVAL_IN_MILLISECONDS = "SamplingIntervalInMilliseconds"
202
- }
203
- /**
204
- * <p>
205
- * The response of <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html">
206
- * <code>ConfigureAgent</code>
207
- * </a> that
208
- * specifies if an agent profiles or not and for how long to return profiling data.
209
- * </p>
210
- */
211
- export interface AgentConfiguration {
212
- /**
213
- * <p>
214
- * A <code>Boolean</code> that specifies whether the profiling agent collects profiling data or not. Set to <code>true</code>
215
- * to enable profiling.
216
- * </p>
217
- */
218
- shouldProfile: boolean | undefined;
219
- /**
220
- * <p>
221
- * How long a profiling agent should send profiling data using
222
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html">
223
- * <code>ConfigureAgent</code>
224
- * </a>.
225
- * For example, if this is set to 300, the profiling agent calls <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html">
226
- * <code>ConfigureAgent</code>
227
- * </a>
228
- * every 5 minutes to submit the profiled data collected during that period.
229
- * </p>
230
- */
231
- periodInSeconds: number | undefined;
232
- /**
233
- * <p>
234
- * Parameters used by the profiler. The valid parameters are:
235
- * </p>
236
- * <ul>
237
- * <li>
238
- * <p>
239
- * <code>MaxStackDepth</code> - The maximum depth of the stacks in the code that is represented in
240
- * the profile. For example, if CodeGuru Profiler finds a method <code>A</code>,
241
- * which calls method <code>B</code>, which calls method <code>C</code>, which
242
- * calls method <code>D</code>, then the depth is 4. If the <code>maxDepth</code> is
243
- * set to 2, then the profiler evaluates <code>A</code> and <code>B</code>.
244
- * </p>
245
- * </li>
246
- * <li>
247
- * <p>
248
- * <code>MemoryUsageLimitPercent</code> - The percentage of memory that is used by the
249
- * profiler.</p>
250
- * </li>
251
- * <li>
252
- * <p>
253
- * <code>MinimumTimeForReportingInMilliseconds</code> - The minimum time in milliseconds between
254
- * sending reports.
255
- * </p>
256
- * </li>
257
- * <li>
258
- * <p>
259
- * <code>ReportingIntervalInMilliseconds</code> - The reporting interval in milliseconds used
260
- * to report profiles.
261
- * </p>
262
- * </li>
263
- * <li>
264
- * <p>
265
- * <code>SamplingIntervalInMilliseconds</code> - The sampling interval in milliseconds that is used to
266
- * profile samples.
267
- * </p>
268
- * </li>
269
- * </ul>
270
- */
271
- agentParameters?: {
272
- [key: string]: string;
273
- };
274
- }
275
- export declare namespace AgentConfiguration {
276
- /**
277
- * @internal
278
- */
279
- const filterSensitiveLog: (obj: AgentConfiguration) => any;
280
- }
281
- /**
282
- * <p>
283
- * Specifies whether profiling is enabled or disabled for a profiling group. It
284
- * is used by <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html">
285
- * <code>ConfigureAgent</code>
286
- * </a>
287
- * to enable or disable profiling for a profiling group.
288
- * </p>
289
- */
290
- export interface AgentOrchestrationConfig {
291
- /**
292
- * <p>
293
- * A <code>Boolean</code> that specifies whether the profiling agent collects profiling data or not. Set to <code>true</code>
294
- * to enable profiling.
295
- * </p>
296
- */
297
- profilingEnabled: boolean | undefined;
298
- }
299
- export declare namespace AgentOrchestrationConfig {
300
- /**
301
- * @internal
302
- */
303
- const filterSensitiveLog: (obj: AgentOrchestrationConfig) => any;
304
- }
305
- export declare enum AggregationPeriod {
306
- /**
307
- * Period of one day.
308
- */
309
- P1D = "P1D",
310
- /**
311
- * Period of one hour.
312
- */
313
- PT1H = "PT1H",
314
- /**
315
- * Period of five minutes.
316
- */
317
- PT5M = "PT5M"
318
- }
319
- /**
320
- * <p>
321
- * Specifies the aggregation period and aggregation start time for
322
- * an aggregated profile. An aggregated profile is used to collect posted agent profiles
323
- * during an aggregation period. There are three possible aggregation periods (1 day,
324
- * 1 hour, or 5 minutes).
325
- * </p>
326
- */
327
- export interface AggregatedProfileTime {
328
- /**
329
- * <p>
330
- * The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile
331
- * contains profiles posted by the agent starting at this time for an aggregation period
332
- * specified by the <code>period</code> property of the <code>AggregatedProfileTime</code>
333
- * object.
334
- * </p>
335
- * <p>
336
- * Specify <code>start</code> using the ISO 8601 format. For example,
337
- * 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
338
- * </p>
339
- */
340
- start?: Date;
341
- /**
342
- * <p>
343
- * The aggregation period. This indicates the period during which an aggregation profile
344
- * collects posted agent profiles for a profiling group. Use one of three valid
345
- * durations that are specified using the ISO 8601 format.
346
- * </p>
347
- * <ul>
348
- * <li>
349
- * <p>
350
- * <code>P1D</code> — 1 day
351
- * </p>
352
- * </li>
353
- * <li>
354
- * <p>
355
- * <code>PT1H</code> — 1 hour
356
- * </p>
357
- * </li>
358
- * <li>
359
- * <p>
360
- * <code>PT5M</code> — 5 minutes
361
- * </p>
362
- * </li>
363
- * </ul>
364
- */
365
- period?: AggregationPeriod | string;
366
- }
367
- export declare namespace AggregatedProfileTime {
368
- /**
369
- * @internal
370
- */
371
- const filterSensitiveLog: (obj: AggregatedProfileTime) => any;
372
- }
373
- export declare enum FeedbackType {
374
- /**
375
- * Profiler recommendation flagged as not useful.
376
- */
377
- Negative = "Negative",
378
- /**
379
- * Profiler recommendation flagged as useful.
380
- */
381
- Positive = "Positive"
382
- }
383
- /**
384
- * <p>Feedback that can be submitted for each instance of an anomaly by the user.
385
- * Feedback is be used for improvements in generating recommendations for the application.</p>
386
- */
387
- export interface UserFeedback {
388
- /**
389
- * <p>Optional <code>Positive</code> or <code>Negative</code> feedback submitted by
390
- * the user about whether the recommendation is useful or not.</p>
391
- */
392
- type: FeedbackType | string | undefined;
393
- }
394
- export declare namespace UserFeedback {
395
- /**
396
- * @internal
397
- */
398
- const filterSensitiveLog: (obj: UserFeedback) => any;
399
- }
400
- /**
401
- * <p>The specific duration in which the metric is flagged as anomalous.</p>
402
- */
403
- export interface AnomalyInstance {
404
- /**
405
- * <p>
406
- * The universally unique identifier (UUID) of an instance of an anomaly in a metric.
407
- * </p>
408
- */
409
- id: string | undefined;
410
- /**
411
- * <p>
412
- * The start time of the period during which the metric is flagged as anomalous.
413
- * This is specified
414
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
415
- * millisecond past June 1, 2020 1:15:02 PM UTC.
416
- * </p>
417
- */
418
- startTime: Date | undefined;
419
- /**
420
- * <p>
421
- * The end time of the period during which the metric is flagged as anomalous.
422
- * This is specified
423
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
424
- * millisecond past June 1, 2020 1:15:02 PM UTC.
425
- * </p>
426
- */
427
- endTime?: Date;
428
- /**
429
- * <p>Feedback type on a specific instance of anomaly submitted by the user.</p>
430
- */
431
- userFeedback?: UserFeedback;
432
- }
433
- export declare namespace AnomalyInstance {
434
- /**
435
- * @internal
436
- */
437
- const filterSensitiveLog: (obj: AnomalyInstance) => any;
438
- }
439
- export declare enum MetricType {
440
- /**
441
- * Metric value aggregated for all instances of a frame name in a profile relative to the root frame.
442
- */
443
- AggregatedRelativeTotalTime = "AggregatedRelativeTotalTime"
444
- }
445
- /**
446
- * <p>
447
- * Details about the metric that the analysis used when it detected the anomaly.
448
- * The metric what is analyzed to create recommendations. It includes the name of the
449
- * frame that was analyzed and the type and thread states used to derive the metric
450
- * value for that frame.
451
- * </p>
452
- */
453
- export interface Metric {
454
- /**
455
- * <p>
456
- * The name of the method that appears as a frame in any stack in a profile.
457
- * </p>
458
- */
459
- frameName: string | undefined;
460
- /**
461
- * <p>
462
- * A type that specifies how a metric for a frame is analyzed.
463
- * The supported value <code>AggregatedRelativeTotalTime</code> is an
464
- * aggregation of the metric value for one frame that is calculated across the
465
- * occurences of all frames in a profile.</p>
466
- */
467
- type: MetricType | string | undefined;
468
- /**
469
- * <p>
470
- * The list of application runtime thread states that is used to calculate the
471
- * metric value for the frame.
472
- * </p>
473
- */
474
- threadStates: string[] | undefined;
475
- }
476
- export declare namespace Metric {
477
- /**
478
- * @internal
479
- */
480
- const filterSensitiveLog: (obj: Metric) => any;
481
- }
482
- /**
483
- * <p>
484
- * Details about an anomaly in a specific metric of application profile. The anomaly is detected using
485
- * analysis of the metric data over a period of time.
486
- * </p>
487
- */
488
- export interface Anomaly {
489
- /**
490
- * <p>
491
- * Details about the metric that the analysis used when it detected the anomaly.
492
- * The metric includes the name of the frame that was analyzed with the type and
493
- * thread states used to derive the metric value for that frame.
494
- * </p>
495
- */
496
- metric: Metric | undefined;
497
- /**
498
- * <p>The reason for which metric was flagged as anomalous.</p>
499
- */
500
- reason: string | undefined;
501
- /**
502
- * <p>
503
- * A list of the instances of the detected anomalies during the requested period.
504
- * </p>
505
- */
506
- instances: AnomalyInstance[] | undefined;
507
- }
508
- export declare namespace Anomaly {
509
- /**
510
- * @internal
511
- */
512
- const filterSensitiveLog: (obj: Anomaly) => any;
513
- }
514
- /**
515
- * <p>
516
- * The frame name, metric type, and thread states. These are used
517
- * to derive the value of the metric for the frame.</p>
518
- */
519
- export interface FrameMetric {
520
- /**
521
- * <p> Name of the method common across the multiple occurrences of a frame in an application
522
- * profile.</p>
523
- */
524
- frameName: string | undefined;
525
- /**
526
- * <p> A type of aggregation that specifies how a metric for a frame is analyzed. The
527
- * supported value <code>AggregatedRelativeTotalTime</code> is an aggregation of the metric
528
- * value for one frame that is calculated across the occurrences of all frames in a profile. </p>
529
- */
530
- type: MetricType | string | undefined;
531
- /**
532
- * <p>List of application runtime thread states used to get the counts for a frame a derive a metric value.</p>
533
- */
534
- threadStates: string[] | undefined;
535
- }
536
- export declare namespace FrameMetric {
537
- /**
538
- * @internal
539
- */
540
- const filterSensitiveLog: (obj: FrameMetric) => any;
541
- }
542
- /**
543
- * <p>The structure representing the BatchGetFrameMetricDataRequest.</p>
544
- */
545
- export interface BatchGetFrameMetricDataRequest {
546
- /**
547
- * <p>
548
- * The name of the profiling group associated with the
549
- * the frame metrics used to return the time series values.
550
- * </p>
551
- */
552
- profilingGroupName: string | undefined;
553
- /**
554
- * <p>
555
- * The start time of the time period for the frame metrics used to return the time series values.
556
- * This is specified
557
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
558
- * millisecond past June 1, 2020 1:15:02 PM UTC.
559
- * </p>
560
- */
561
- startTime?: Date;
562
- /**
563
- * <p>
564
- * The end time of the time period for the returned time series values.
565
- * This is specified
566
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
567
- * millisecond past June 1, 2020 1:15:02 PM UTC.
568
- * </p>
569
- */
570
- endTime?: Date;
571
- /**
572
- * <p>
573
- * The duration of the frame metrics used to return the time series values.
574
- * Specify using the ISO 8601 format. The maximum period duration
575
- * is one day (<code>PT24H</code> or <code>P1D</code>).
576
- * </p>
577
- */
578
- period?: string;
579
- /**
580
- * <p>The requested resolution of time steps for the returned time series of values.
581
- * If the requested target resolution is not available due to data not being retained we provide a best effort
582
- * result by falling back to the most granular available resolution after the target resolution.
583
- * There are 3 valid values.
584
- * </p>
585
- * <ul>
586
- * <li>
587
- * <p>
588
- * <code>P1D</code> — 1 day
589
- * </p>
590
- * </li>
591
- * <li>
592
- * <p>
593
- * <code>PT1H</code> — 1 hour
594
- * </p>
595
- * </li>
596
- * <li>
597
- * <p>
598
- * <code>PT5M</code> — 5 minutes
599
- * </p>
600
- * </li>
601
- * </ul>
602
- */
603
- targetResolution?: AggregationPeriod | string;
604
- /**
605
- * <p>
606
- * The details of the metrics that are used to request a time series of values. The metric includes
607
- * the name of the frame, the aggregation type to calculate the metric value for the
608
- * frame, and the thread states to use to get the count for the metric value of the frame.</p>
609
- */
610
- frameMetrics?: FrameMetric[];
611
- }
612
- export declare namespace BatchGetFrameMetricDataRequest {
613
- /**
614
- * @internal
615
- */
616
- const filterSensitiveLog: (obj: BatchGetFrameMetricDataRequest) => any;
617
- }
618
- /**
619
- * <p>
620
- * A data type that contains a <code>Timestamp</code> object. This is specified
621
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
622
- * millisecond past June 1, 2020 1:15:02 PM UTC.
623
- * </p>
624
- */
625
- export interface TimestampStructure {
626
- /**
627
- * <p>
628
- * A <code>Timestamp</code>. This is specified
629
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
630
- * millisecond past June 1, 2020 1:15:02 PM UTC.
631
- * </p>
632
- */
633
- value: Date | undefined;
634
- }
635
- export declare namespace TimestampStructure {
636
- /**
637
- * @internal
638
- */
639
- const filterSensitiveLog: (obj: TimestampStructure) => any;
640
- }
641
- /**
642
- * <p>
643
- * Information about a frame metric and its values.
644
- * </p>
645
- */
646
- export interface FrameMetricDatum {
647
- /**
648
- * <p>
649
- * The frame name, metric type, and thread states. These are used
650
- * to derive the value of the metric for the frame.</p>
651
- */
652
- frameMetric: FrameMetric | undefined;
653
- /**
654
- * <p>
655
- * A list of values that are associated with a frame metric.
656
- * </p>
657
- */
658
- values: number[] | undefined;
659
- }
660
- export declare namespace FrameMetricDatum {
661
- /**
662
- * @internal
663
- */
664
- const filterSensitiveLog: (obj: FrameMetricDatum) => any;
665
- }
666
- /**
667
- * <p>The structure representing the BatchGetFrameMetricDataResponse.</p>
668
- */
669
- export interface BatchGetFrameMetricDataResponse {
670
- /**
671
- * <p>
672
- * The start time of the time period for the returned time series values.
673
- * This is specified
674
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
675
- * millisecond past June 1, 2020 1:15:02 PM UTC.
676
- * </p>
677
- */
678
- startTime: Date | undefined;
679
- /**
680
- * <p>
681
- * The end time of the time period for the returned time series values.
682
- * This is specified
683
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
684
- * millisecond past June 1, 2020 1:15:02 PM UTC.
685
- * </p>
686
- */
687
- endTime: Date | undefined;
688
- /**
689
- * <p>Resolution or granularity of the profile data used to generate the time series.
690
- * This is the value used to jump through time steps in a time series. There are 3 valid values.
691
- * </p>
692
- * <ul>
693
- * <li>
694
- * <p>
695
- * <code>P1D</code> — 1 day
696
- * </p>
697
- * </li>
698
- * <li>
699
- * <p>
700
- * <code>PT1H</code> — 1 hour
701
- * </p>
702
- * </li>
703
- * <li>
704
- * <p>
705
- * <code>PT5M</code> — 5 minutes
706
- * </p>
707
- * </li>
708
- * </ul>
709
- */
710
- resolution: AggregationPeriod | string | undefined;
711
- /**
712
- * <p>
713
- * List of instances, or time steps, in the time series. For example, if the
714
- * <code>period</code> is one day (<code>PT24H)</code>), and the <code>resolution</code>
715
- * is five minutes (<code>PT5M</code>), then there are 288 <code>endTimes</code> in the
716
- * list that are each five minutes appart.
717
- * </p>
718
- */
719
- endTimes: TimestampStructure[] | undefined;
720
- /**
721
- * <p>List of instances which remained unprocessed. This will create a missing time step in the list of end times.</p>
722
- */
723
- unprocessedEndTimes: {
724
- [key: string]: TimestampStructure[];
725
- } | undefined;
726
- /**
727
- * <p>Details of the metrics to request a time series of values. The metric includes
728
- * the name of the frame, the aggregation type to calculate the metric value for the frame,
729
- * and the thread states to use to get the count for the metric value of the frame.</p>
730
- */
731
- frameMetricData: FrameMetricDatum[] | undefined;
732
- }
733
- export declare namespace BatchGetFrameMetricDataResponse {
734
- /**
735
- * @internal
736
- */
737
- const filterSensitiveLog: (obj: BatchGetFrameMetricDataResponse) => any;
738
- }
739
- /**
740
- * <p>The structure representing the GetFindingsReportAccountSummaryRequest.</p>
741
- */
742
- export interface GetFindingsReportAccountSummaryRequest {
743
- /**
744
- * <p>The <code>nextToken</code> value returned from a previous paginated <code>GetFindingsReportAccountSummary</code>
745
- * request where <code>maxResults</code> was used and the results exceeded the value of that parameter.
746
- * Pagination continues from the end of the previous results that returned the <code>nextToken</code> value.
747
- * </p>
748
- * <note>
749
- * <p>This token should be treated as an opaque identifier that is only used to retrieve
750
- * the next items in a list and not for other programmatic purposes.</p>
751
- * </note>
752
- */
753
- nextToken?: string;
754
- /**
755
- * <p>The maximum number of results returned by <code> GetFindingsReportAccountSummary</code> in paginated output.
756
- * When this parameter is used, <code>GetFindingsReportAccountSummary</code> only returns <code>maxResults</code>
757
- * results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial
758
- * request can be seen by sending another <code>GetFindingsReportAccountSummary</code> request with the returned
759
- * <code>nextToken</code> value.</p>
760
- */
761
- maxResults?: number;
762
- /**
763
- * <p>A <code>Boolean</code> value indicating whether to only return reports from daily profiles. If set
764
- * to <code>True</code>, only analysis data from daily profiles is returned. If set to <code>False</code>,
765
- * analysis data is returned from smaller time windows (for example, one hour).</p>
766
- */
767
- dailyReportsOnly?: boolean;
768
- }
769
- export declare namespace GetFindingsReportAccountSummaryRequest {
770
- /**
771
- * @internal
772
- */
773
- const filterSensitiveLog: (obj: GetFindingsReportAccountSummaryRequest) => any;
774
- }
775
- /**
776
- * <p>
777
- * Information about potential recommendations that might be created from the
778
- * analysis of profiling data.
779
- * </p>
780
- */
781
- export interface FindingsReportSummary {
782
- /**
783
- * <p>The universally unique identifier (UUID) of the recommendation report.</p>
784
- */
785
- id?: string;
786
- /**
787
- * <p>The name of the profiling group that is associated with the analysis data.</p>
788
- */
789
- profilingGroupName?: string;
790
- /**
791
- * <p>The start time of the profile the analysis data is about.
792
- * This is specified
793
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
794
- * millisecond past June 1, 2020 1:15:02 PM UTC.</p>
795
- */
796
- profileStartTime?: Date;
797
- /**
798
- * <p>
799
- * The end time of the period during which the metric is flagged as anomalous.
800
- * This is specified
801
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
802
- * millisecond past June 1, 2020 1:15:02 PM UTC.
803
- * </p>
804
- */
805
- profileEndTime?: Date;
806
- /**
807
- * <p>The total number of different recommendations that were found by the analysis.</p>
808
- */
809
- totalNumberOfFindings?: number;
810
- }
811
- export declare namespace FindingsReportSummary {
812
- /**
813
- * @internal
814
- */
815
- const filterSensitiveLog: (obj: FindingsReportSummary) => any;
816
- }
817
- /**
818
- * <p>The structure representing the GetFindingsReportAccountSummaryResponse.</p>
819
- */
820
- export interface GetFindingsReportAccountSummaryResponse {
821
- /**
822
- * <p>The return list of
823
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_FindingsReportSummary.html">
824
- * <code>FindingsReportSummary</code>
825
- * </a>
826
- * objects taht contain summaries of analysis results for all profiling groups in your AWS account.</p>
827
- */
828
- reportSummaries: FindingsReportSummary[] | undefined;
829
- /**
830
- * <p>The <code>nextToken</code> value to include in a future <code>GetFindingsReportAccountSummary</code> request.
831
- * When the results of a <code>GetFindingsReportAccountSummary</code> request exceed <code>maxResults</code>, this
832
- * value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more
833
- * results to return.</p>
834
- */
835
- nextToken?: string;
836
- }
837
- export declare namespace GetFindingsReportAccountSummaryResponse {
838
- /**
839
- * @internal
840
- */
841
- const filterSensitiveLog: (obj: GetFindingsReportAccountSummaryResponse) => any;
842
- }
843
- export interface ListTagsForResourceRequest {
844
- /**
845
- * <p>
846
- * The Amazon Resource Name (ARN) of the resource that contains the tags to return.
847
- * </p>
848
- */
849
- resourceArn: string | undefined;
850
- }
851
- export declare namespace ListTagsForResourceRequest {
852
- /**
853
- * @internal
854
- */
855
- const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
856
- }
857
- export interface ListTagsForResourceResponse {
858
- /**
859
- * <p>
860
- * The list of tags assigned to the specified resource. This is the list of tags
861
- * returned in the response.
862
- * </p>
863
- */
864
- tags?: {
865
- [key: string]: string;
866
- };
867
- }
868
- export declare namespace ListTagsForResourceResponse {
869
- /**
870
- * @internal
871
- */
872
- const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
873
- }
874
- export declare enum MetadataField {
875
- /**
876
- * Unique identifier for the agent instance.
877
- */
878
- AGENT_ID = "AgentId",
879
- /**
880
- * AWS requestId of the Lambda invocation.
881
- */
882
- AWS_REQUEST_ID = "AwsRequestId",
883
- /**
884
- * Compute platform on which agent is running.
885
- */
886
- COMPUTE_PLATFORM = "ComputePlatform",
887
- /**
888
- * Execution environment on which Lambda function is running.
889
- */
890
- EXECUTION_ENVIRONMENT = "ExecutionEnvironment",
891
- /**
892
- * Function ARN that's used to invoke the Lambda function.
893
- */
894
- LAMBDA_FUNCTION_ARN = "LambdaFunctionArn",
895
- /**
896
- * Memory allocated for the Lambda function.
897
- */
898
- LAMBDA_MEMORY_LIMIT_IN_MB = "LambdaMemoryLimitInMB",
899
- /**
900
- * Time in milliseconds for the previous Lambda invocation.
901
- */
902
- LAMBDA_PREVIOUS_EXECUTION_TIME_IN_MILLISECONDS = "LambdaPreviousExecutionTimeInMilliseconds",
903
- /**
904
- * Time in milliseconds left before the execution times out.
905
- */
906
- LAMBDA_REMAINING_TIME_IN_MILLISECONDS = "LambdaRemainingTimeInMilliseconds",
907
- /**
908
- * Time in milliseconds between two invocations of the Lambda function.
909
- */
910
- LAMBDA_TIME_GAP_BETWEEN_INVOKES_IN_MILLISECONDS = "LambdaTimeGapBetweenInvokesInMilliseconds"
911
- }
912
- /**
913
- * <p>The structure representing the configureAgentRequest.</p>
914
- */
915
- export interface ConfigureAgentRequest {
916
- /**
917
- * <p>
918
- * The name of the profiling group for which the configured agent is collecting profiling data.
919
- * </p>
920
- */
921
- profilingGroupName: string | undefined;
922
- /**
923
- * <p> A universally unique identifier (UUID) for a profiling instance. For example, if the
924
- * profiling instance is an Amazon EC2 instance, it is the instance ID. If it is an AWS
925
- * Fargate container, it is the container's task ID. </p>
926
- */
927
- fleetInstanceId?: string;
928
- /**
929
- * <p> Metadata captured about the compute platform the agent is running on. It includes
930
- * information about sampling and reporting. The valid fields are:</p>
931
- * <ul>
932
- * <li>
933
- * <p>
934
- * <code>COMPUTE_PLATFORM</code> - The compute platform on which the agent is running
935
- * </p>
936
- * </li>
937
- * <li>
938
- * <p>
939
- * <code>AGENT_ID</code> - The ID for an agent instance.
940
- * </p>
941
- * </li>
942
- * <li>
943
- * <p>
944
- * <code>AWS_REQUEST_ID</code> - The AWS request ID of a Lambda invocation.
945
- * </p>
946
- * </li>
947
- * <li>
948
- * <p>
949
- * <code>EXECUTION_ENVIRONMENT</code> - The execution environment a Lambda function is running on.
950
- * </p>
951
- * </li>
952
- * <li>
953
- * <p>
954
- * <code>LAMBDA_FUNCTION_ARN</code> - The Amazon Resource Name (ARN) that is used to invoke a Lambda function.
955
- * </p>
956
- * </li>
957
- * <li>
958
- * <p>
959
- * <code>LAMBDA_MEMORY_LIMIT_IN_MB</code> - The memory allocated to a Lambda function.
960
- * </p>
961
- * </li>
962
- * <li>
963
- * <p>
964
- * <code>LAMBDA_REMAINING_TIME_IN_MILLISECONDS</code> - The time in milliseconds before execution of a Lambda function times out.
965
- * </p>
966
- * </li>
967
- * <li>
968
- * <p>
969
- * <code>LAMBDA_TIME_GAP_BETWEEN_INVOKES_IN_MILLISECONDS</code> - The time in milliseconds between two invocations of a Lambda function.
970
- * </p>
971
- * </li>
972
- * <li>
973
- * <p>
974
- * <code>LAMBDA_PREVIOUS_EXECUTION_TIME_IN_MILLISECONDS</code> - The time in milliseconds for the previous Lambda invocation.
975
- * </p>
976
- * </li>
977
- * </ul>
978
- */
979
- metadata?: {
980
- [key: string]: string;
981
- };
982
- }
983
- export declare namespace ConfigureAgentRequest {
984
- /**
985
- * @internal
986
- */
987
- const filterSensitiveLog: (obj: ConfigureAgentRequest) => any;
988
- }
989
- /**
990
- * <p>The structure representing the configureAgentResponse.</p>
991
- */
992
- export interface ConfigureAgentResponse {
993
- /**
994
- * <p>
995
- * An <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AgentConfiguration.html">
996
- * <code>AgentConfiguration</code>
997
- * </a>
998
- * object that specifies if an agent profiles or not and for how long to return profiling data.
999
- * </p>
1000
- */
1001
- configuration: AgentConfiguration | undefined;
1002
- }
1003
- export declare namespace ConfigureAgentResponse {
1004
- /**
1005
- * @internal
1006
- */
1007
- const filterSensitiveLog: (obj: ConfigureAgentResponse) => any;
1008
- }
1009
- export declare enum ComputePlatform {
1010
- /**
1011
- * Compute platform meant to used for AWS Lambda.
1012
- */
1013
- AWSLAMBDA = "AWSLambda",
1014
- /**
1015
- * Compute platform meant to used for all usecases (like EC2, Fargate, physical servers etc.) but AWS Lambda.
1016
- */
1017
- DEFAULT = "Default"
1018
- }
1019
- /**
1020
- * <p>The structure representing the createProfiliingGroupRequest.</p>
1021
- */
1022
- export interface CreateProfilingGroupRequest {
1023
- /**
1024
- * <p>The name of the profiling group to create.</p>
1025
- */
1026
- profilingGroupName: string | undefined;
1027
- /**
1028
- * <p>
1029
- * The compute platform of the profiling group. Use <code>AWSLambda</code> if your application
1030
- * runs on AWS Lambda. Use <code>Default</code> if your application runs on a compute platform that
1031
- * is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform.
1032
- * If not specified, <code>Default</code> is used.
1033
- * </p>
1034
- */
1035
- computePlatform?: ComputePlatform | string;
1036
- /**
1037
- * <p> Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the
1038
- * accidental creation of duplicate profiling groups if there are failures and retries. </p>
1039
- */
1040
- clientToken?: string;
1041
- /**
1042
- * <p>
1043
- * Specifies whether profiling is enabled or disabled for the created profiling group.
1044
- * </p>
1045
- */
1046
- agentOrchestrationConfig?: AgentOrchestrationConfig;
1047
- /**
1048
- * <p>
1049
- * A list of tags to add to the created profiling group.
1050
- * </p>
1051
- */
1052
- tags?: {
1053
- [key: string]: string;
1054
- };
1055
- }
1056
- export declare namespace CreateProfilingGroupRequest {
1057
- /**
1058
- * @internal
1059
- */
1060
- const filterSensitiveLog: (obj: CreateProfilingGroupRequest) => any;
1061
- }
1062
- /**
1063
- * <p>
1064
- * Profiling status includes information about the last time a profile agent pinged back,
1065
- * the last time a profile was received, and the aggregation period and start time for the
1066
- * most recent aggregated profile.
1067
- * </p>
1068
- */
1069
- export interface ProfilingStatus {
1070
- /**
1071
- * <p>The date and time when the most recent profile was received. Specify using
1072
- * the ISO 8601 format. For example,
1073
- * 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>
1074
- */
1075
- latestAgentProfileReportedAt?: Date;
1076
- /**
1077
- * <p>
1078
- * An <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html">
1079
- * <code>AggregatedProfileTime</code>
1080
- * </a>
1081
- * object that contains the aggregation period and start time for an aggregated profile.
1082
- * </p>
1083
- */
1084
- latestAggregatedProfile?: AggregatedProfileTime;
1085
- /**
1086
- * <p>The date and time when the profiling agent most recently pinged back. Specify using
1087
- * the ISO 8601 format. For example,
1088
- * 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>
1089
- */
1090
- latestAgentOrchestratedAt?: Date;
1091
- }
1092
- export declare namespace ProfilingStatus {
1093
- /**
1094
- * @internal
1095
- */
1096
- const filterSensitiveLog: (obj: ProfilingStatus) => any;
1097
- }
1098
- /**
1099
- * <p>
1100
- * Contains information about a profiling group.
1101
- * </p>
1102
- */
1103
- export interface ProfilingGroupDescription {
1104
- /**
1105
- * <p>The name of the profiling group.</p>
1106
- */
1107
- name?: string;
1108
- /**
1109
- * <p>
1110
- * An <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AgentOrchestrationConfig.html">
1111
- * <code>AgentOrchestrationConfig</code>
1112
- * </a>
1113
- * object that indicates if the profiling group is enabled for profiled or not.
1114
- * </p>
1115
- */
1116
- agentOrchestrationConfig?: AgentOrchestrationConfig;
1117
- /**
1118
- * <p>The Amazon Resource Name (ARN) identifying the profiling group resource.</p>
1119
- */
1120
- arn?: string;
1121
- /**
1122
- * <p>The time when the profiling group was created. Specify using
1123
- * the ISO 8601 format. For example,
1124
- * 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
1125
- * </p>
1126
- */
1127
- createdAt?: Date;
1128
- /**
1129
- * <p>
1130
- * The date and time when the profiling group was last updated. Specify using
1131
- * the ISO 8601 format. For example,
1132
- * 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
1133
- * </p>
1134
- */
1135
- updatedAt?: Date;
1136
- /**
1137
- * <p>
1138
- * A <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingStatus.html">
1139
- * <code>ProfilingStatus</code>
1140
- * </a> object
1141
- * that includes information about the last time a profile agent pinged back,
1142
- * the last time a profile was received, and the aggregation period and start time for the
1143
- * most recent aggregated profile.
1144
- * </p>
1145
- */
1146
- profilingStatus?: ProfilingStatus;
1147
- /**
1148
- * <p>
1149
- * The compute platform of the profiling group. If it is set to <code>AWSLambda</code>, then
1150
- * the profiled application runs on AWS Lambda. If it is set to <code>Default</code>, then the
1151
- * profiled application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance,
1152
- * an on-premises server, or a different platform. The default is <code>Default</code>.
1153
- * </p>
1154
- */
1155
- computePlatform?: ComputePlatform | string;
1156
- /**
1157
- * <p>
1158
- * A list of the tags that belong to this profiling group.
1159
- * </p>
1160
- */
1161
- tags?: {
1162
- [key: string]: string;
1163
- };
1164
- }
1165
- export declare namespace ProfilingGroupDescription {
1166
- /**
1167
- * @internal
1168
- */
1169
- const filterSensitiveLog: (obj: ProfilingGroupDescription) => any;
1170
- }
1171
- /**
1172
- * <p>The structure representing the createProfilingGroupResponse.</p>
1173
- */
1174
- export interface CreateProfilingGroupResponse {
1175
- /**
1176
- * <p> The returned <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
1177
- * <code>ProfilingGroupDescription</code>
1178
- * </a> object that contains information
1179
- * about the created profiling group. </p>
1180
- */
1181
- profilingGroup: ProfilingGroupDescription | undefined;
1182
- }
1183
- export declare namespace CreateProfilingGroupResponse {
1184
- /**
1185
- * @internal
1186
- */
1187
- const filterSensitiveLog: (obj: CreateProfilingGroupResponse) => any;
1188
- }
1189
- /**
1190
- * <p>The structure representing the deleteProfilingGroupRequest.</p>
1191
- */
1192
- export interface DeleteProfilingGroupRequest {
1193
- /**
1194
- * <p>The name of the profiling group to delete.</p>
1195
- */
1196
- profilingGroupName: string | undefined;
1197
- }
1198
- export declare namespace DeleteProfilingGroupRequest {
1199
- /**
1200
- * @internal
1201
- */
1202
- const filterSensitiveLog: (obj: DeleteProfilingGroupRequest) => any;
1203
- }
1204
- /**
1205
- * <p>The structure representing the deleteProfilingGroupResponse.</p>
1206
- */
1207
- export interface DeleteProfilingGroupResponse {
1208
- }
1209
- export declare namespace DeleteProfilingGroupResponse {
1210
- /**
1211
- * @internal
1212
- */
1213
- const filterSensitiveLog: (obj: DeleteProfilingGroupResponse) => any;
1214
- }
1215
- /**
1216
- * <p>The structure representing the describeProfilingGroupRequest.</p>
1217
- */
1218
- export interface DescribeProfilingGroupRequest {
1219
- /**
1220
- * <p>
1221
- * The name of the profiling group to get information about.
1222
- * </p>
1223
- */
1224
- profilingGroupName: string | undefined;
1225
- }
1226
- export declare namespace DescribeProfilingGroupRequest {
1227
- /**
1228
- * @internal
1229
- */
1230
- const filterSensitiveLog: (obj: DescribeProfilingGroupRequest) => any;
1231
- }
1232
- /**
1233
- * <p>The structure representing the describeProfilingGroupResponse.</p>
1234
- */
1235
- export interface DescribeProfilingGroupResponse {
1236
- /**
1237
- * <p>
1238
- * The returned <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
1239
- * <code>ProfilingGroupDescription</code>
1240
- * </a>
1241
- * object that contains information about the requested profiling group.
1242
- * </p>
1243
- */
1244
- profilingGroup: ProfilingGroupDescription | undefined;
1245
- }
1246
- export declare namespace DescribeProfilingGroupResponse {
1247
- /**
1248
- * @internal
1249
- */
1250
- const filterSensitiveLog: (obj: DescribeProfilingGroupResponse) => any;
1251
- }
1252
- /**
1253
- * <p>The structure representing the GetNotificationConfigurationRequest.</p>
1254
- */
1255
- export interface GetNotificationConfigurationRequest {
1256
- /**
1257
- * <p>The name of the profiling group we want to get the notification configuration for.</p>
1258
- */
1259
- profilingGroupName: string | undefined;
1260
- }
1261
- export declare namespace GetNotificationConfigurationRequest {
1262
- /**
1263
- * @internal
1264
- */
1265
- const filterSensitiveLog: (obj: GetNotificationConfigurationRequest) => any;
1266
- }
1267
- /**
1268
- * <p>The structure representing the GetNotificationConfigurationResponse.</p>
1269
- */
1270
- export interface GetNotificationConfigurationResponse {
1271
- /**
1272
- * <p>The current notification configuration for this profiling group.</p>
1273
- */
1274
- notificationConfiguration: NotificationConfiguration | undefined;
1275
- }
1276
- export declare namespace GetNotificationConfigurationResponse {
1277
- /**
1278
- * @internal
1279
- */
1280
- const filterSensitiveLog: (obj: GetNotificationConfigurationResponse) => any;
1281
- }
1282
- /**
1283
- * <p>
1284
- * The structure representing the <code>getPolicyRequest</code>.
1285
- * </p>
1286
- */
1287
- export interface GetPolicyRequest {
1288
- /**
1289
- * <p>The name of the profiling group.</p>
1290
- */
1291
- profilingGroupName: string | undefined;
1292
- }
1293
- export declare namespace GetPolicyRequest {
1294
- /**
1295
- * @internal
1296
- */
1297
- const filterSensitiveLog: (obj: GetPolicyRequest) => any;
1298
- }
1299
- /**
1300
- * <p>The structure representing the <code>getPolicyResponse</code>.</p>
1301
- */
1302
- export interface GetPolicyResponse {
1303
- /**
1304
- * <p>The JSON-formatted resource-based policy attached to the <code>ProfilingGroup</code>.</p>
1305
- */
1306
- policy: string | undefined;
1307
- /**
1308
- * <p>A unique identifier for the current revision of the returned policy.</p>
1309
- */
1310
- revisionId: string | undefined;
1311
- }
1312
- export declare namespace GetPolicyResponse {
1313
- /**
1314
- * @internal
1315
- */
1316
- const filterSensitiveLog: (obj: GetPolicyResponse) => any;
1317
- }
1318
- /**
1319
- * <p>The structure representing the getProfileRequest.</p>
1320
- */
1321
- export interface GetProfileRequest {
1322
- /**
1323
- * <p>The name of the profiling group to get.</p>
1324
- */
1325
- profilingGroupName: string | undefined;
1326
- /**
1327
- * <p>The start time of the profile to get. Specify using
1328
- * the ISO 8601 format. For example,
1329
- * 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>
1330
- *
1331
- * <p>
1332
- * If you specify <code>startTime</code>, then you must also specify <code>period</code>
1333
- * or <code>endTime</code>, but not both.
1334
- * </p>
1335
- */
1336
- startTime?: Date;
1337
- /**
1338
- * <p>
1339
- * Used with <code>startTime</code> or <code>endTime</code> to specify
1340
- * the time range for the returned aggregated profile. Specify using
1341
- * the ISO 8601 format. For example, <code>P1DT1H1M1S</code>.
1342
- * </p>
1343
- *
1344
- * <p>
1345
- * To get the latest aggregated profile, specify only <code>period</code>.
1346
- * </p>
1347
- */
1348
- period?: string;
1349
- /**
1350
- * <p>
1351
- * The end time of the requested profile. Specify using
1352
- * the ISO 8601 format. For example,
1353
- * 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
1354
- * </p>
1355
- * <p>
1356
- * If you specify <code>endTime</code>, then you must also specify <code>period</code>
1357
- * or <code>startTime</code>, but not both.
1358
- * </p>
1359
- */
1360
- endTime?: Date;
1361
- /**
1362
- * <p>
1363
- * The maximum depth of the stacks in the code that is represented in
1364
- * the aggregated profile. For example, if CodeGuru Profiler finds a method <code>A</code>,
1365
- * which calls method <code>B</code>, which calls method <code>C</code>, which
1366
- * calls method <code>D</code>, then the depth is 4. If the <code>maxDepth</code> is
1367
- * set to 2, then the aggregated profile contains representations of methods <code>A</code>
1368
- * and <code>B</code>.
1369
- * </p>
1370
- */
1371
- maxDepth?: number;
1372
- /**
1373
- * <p>
1374
- * The format of the returned profiling data. The format maps to the
1375
- * <code>Accept</code> and <code>Content-Type</code> headers of the
1376
- * HTTP request. You can specify one of the following:
1377
- * or the default .
1378
- * </p>
1379
- *
1380
- * <ul>
1381
- * <li>
1382
- * <p>
1383
- * <code>application/json</code> — standard JSON format
1384
- * </p>
1385
- * </li>
1386
- * <li>
1387
- * <p>
1388
- * <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information,
1389
- * see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>.
1390
- * </p>
1391
- * </li>
1392
- * </ul>
1393
- */
1394
- accept?: string;
1395
- }
1396
- export declare namespace GetProfileRequest {
1397
- /**
1398
- * @internal
1399
- */
1400
- const filterSensitiveLog: (obj: GetProfileRequest) => any;
1401
- }
1402
- /**
1403
- * <p>The structure representing the getProfileResponse.</p>
1404
- */
1405
- export interface GetProfileResponse {
1406
- /**
1407
- * <p>Information about the profile.</p>
1408
- */
1409
- profile: Uint8Array | undefined;
1410
- /**
1411
- * <p>The content type of the profile in the payload. It is
1412
- * either <code>application/json</code> or the default
1413
- * <code>application/x-amzn-ion</code>.</p>
1414
- */
1415
- contentType: string | undefined;
1416
- /**
1417
- * <p>The content encoding of the profile.</p>
1418
- */
1419
- contentEncoding?: string;
1420
- }
1421
- export declare namespace GetProfileResponse {
1422
- /**
1423
- * @internal
1424
- */
1425
- const filterSensitiveLog: (obj: GetProfileResponse) => any;
1426
- }
1427
- /**
1428
- * <p>The structure representing the GetRecommendationsRequest.</p>
1429
- */
1430
- export interface GetRecommendationsRequest {
1431
- /**
1432
- * <p>
1433
- * The name of the profiling group to get analysis data about.
1434
- * </p>
1435
- */
1436
- profilingGroupName: string | undefined;
1437
- /**
1438
- * <p>
1439
- * The end time of the profile to get analysis data about. You must specify <code>startTime</code> and <code>endTime</code>.
1440
- * This is specified
1441
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
1442
- * millisecond past June 1, 2020 1:15:02 PM UTC.
1443
- * </p>
1444
- */
1445
- startTime: Date | undefined;
1446
- /**
1447
- * <p>
1448
- * The start time of the profile to get analysis data about. You must specify <code>startTime</code> and <code>endTime</code>.
1449
- * This is specified
1450
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
1451
- * millisecond past June 1, 2020 1:15:02 PM UTC.
1452
- * </p>
1453
- */
1454
- endTime: Date | undefined;
1455
- /**
1456
- * <p>
1457
- * The language used to provide analysis. Specify using a string that is one
1458
- * of the following <code>BCP 47</code> language codes.
1459
- * </p>
1460
- * <ul>
1461
- * <li>
1462
- * <p>
1463
- * <code>de-DE</code> - German, Germany
1464
- * </p>
1465
- * </li>
1466
- * <li>
1467
- * <p>
1468
- * <code>en-GB</code> - English, United Kingdom
1469
- * </p>
1470
- * </li>
1471
- * <li>
1472
- * <p>
1473
- * <code>en-US</code> - English, United States
1474
- * </p>
1475
- * </li>
1476
- * <li>
1477
- * <p>
1478
- * <code>es-ES</code> - Spanish, Spain
1479
- * </p>
1480
- * </li>
1481
- * <li>
1482
- * <p>
1483
- * <code>fr-FR</code> - French, France
1484
- * </p>
1485
- * </li>
1486
- * <li>
1487
- * <p>
1488
- * <code>it-IT</code> - Italian, Italy
1489
- * </p>
1490
- * </li>
1491
- * <li>
1492
- * <p>
1493
- * <code>ja-JP</code> - Japanese, Japan
1494
- * </p>
1495
- * </li>
1496
- * <li>
1497
- * <p>
1498
- * <code>ko-KR</code> - Korean, Republic of Korea
1499
- * </p>
1500
- * </li>
1501
- * <li>
1502
- * <p>
1503
- * <code>pt-BR</code> - Portugese, Brazil
1504
- * </p>
1505
- * </li>
1506
- * <li>
1507
- * <p>
1508
- * <code>zh-CN</code> - Chinese, China
1509
- * </p>
1510
- * </li>
1511
- * <li>
1512
- * <p>
1513
- * <code>zh-TW</code> - Chinese, Taiwan
1514
- * </p>
1515
- * </li>
1516
- * </ul>
1517
- */
1518
- locale?: string;
1519
- }
1520
- export declare namespace GetRecommendationsRequest {
1521
- /**
1522
- * @internal
1523
- */
1524
- const filterSensitiveLog: (obj: GetRecommendationsRequest) => any;
1525
- }
1526
- /**
1527
- * <p>
1528
- * A set of rules used to make a recommendation during an analysis.
1529
- * </p>
1530
- */
1531
- export interface Pattern {
1532
- /**
1533
- * <p>The universally unique identifier (UUID) of this pattern.</p>
1534
- */
1535
- id?: string;
1536
- /**
1537
- * <p>The name for this pattern.</p>
1538
- */
1539
- name?: string;
1540
- /**
1541
- * <p>The description of the recommendation. This explains a potential
1542
- * inefficiency in a profiled application.</p>
1543
- */
1544
- description?: string;
1545
- /**
1546
- * <p>
1547
- * A string that contains the steps recommended to address the potential inefficiency.
1548
- * </p>
1549
- */
1550
- resolutionSteps?: string;
1551
- /**
1552
- * <p>A list of frame names that were searched during the analysis that generated
1553
- * a recommendation.</p>
1554
- */
1555
- targetFrames?: string[][];
1556
- /**
1557
- * <p>
1558
- * The percentage of time an application spends in one method that triggers
1559
- * a recommendation. The percentage of time is the same as the percentage of
1560
- * the total gathered sample counts during analysis.
1561
- * </p>
1562
- */
1563
- thresholdPercent?: number;
1564
- /**
1565
- * <p>
1566
- * A list of the different counters used to determine if there is a match.
1567
- * </p>
1568
- */
1569
- countersToAggregate?: string[];
1570
- }
1571
- export declare namespace Pattern {
1572
- /**
1573
- * @internal
1574
- */
1575
- const filterSensitiveLog: (obj: Pattern) => any;
1576
- }
1577
- /**
1578
- * <p>The part of a profile that contains a recommendation found during analysis.</p>
1579
- */
1580
- export interface Match {
1581
- /**
1582
- * <p>The target frame that triggered a match.</p>
1583
- */
1584
- targetFramesIndex?: number;
1585
- /**
1586
- * <p>The location in the profiling graph that contains a recommendation found during analysis.</p>
1587
- */
1588
- frameAddress?: string;
1589
- /**
1590
- * <p>The value in the profile data that exceeded the recommendation threshold.</p>
1591
- */
1592
- thresholdBreachValue?: number;
1593
- }
1594
- export declare namespace Match {
1595
- /**
1596
- * @internal
1597
- */
1598
- const filterSensitiveLog: (obj: Match) => any;
1599
- }
1600
- /**
1601
- * <p>A potential improvement that was found from analyzing the profiling data.</p>
1602
- */
1603
- export interface Recommendation {
1604
- /**
1605
- * <p>How many different places in the profile graph triggered a match.</p>
1606
- */
1607
- allMatchesCount: number | undefined;
1608
- /**
1609
- * <p>How much of the total sample count is potentially affected.</p>
1610
- */
1611
- allMatchesSum: number | undefined;
1612
- /**
1613
- * <p>The pattern that analysis recognized in the profile to make this recommendation.</p>
1614
- */
1615
- pattern: Pattern | undefined;
1616
- /**
1617
- * <p>List of the matches with most impact. </p>
1618
- */
1619
- topMatches: Match[] | undefined;
1620
- /**
1621
- * <p>The start time of the profile that was used by this analysis.
1622
- * This is specified
1623
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
1624
- * millisecond past June 1, 2020 1:15:02 PM UTC.</p>
1625
- */
1626
- startTime: Date | undefined;
1627
- /**
1628
- * <p>End time of the profile that was used by this analysis.
1629
- * This is specified
1630
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
1631
- * millisecond past June 1, 2020 1:15:02 PM UTC.</p>
1632
- */
1633
- endTime: Date | undefined;
1634
- }
1635
- export declare namespace Recommendation {
1636
- /**
1637
- * @internal
1638
- */
1639
- const filterSensitiveLog: (obj: Recommendation) => any;
1640
- }
1641
- /**
1642
- * <p>The structure representing the GetRecommendationsResponse.</p>
1643
- */
1644
- export interface GetRecommendationsResponse {
1645
- /**
1646
- * <p>The name of the profiling group the analysis data is about.</p>
1647
- */
1648
- profilingGroupName: string | undefined;
1649
- /**
1650
- * <p>
1651
- * The start time of the profile the analysis data is about. This is specified
1652
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
1653
- * millisecond past June 1, 2020 1:15:02 PM UTC.
1654
- * </p>
1655
- */
1656
- profileStartTime: Date | undefined;
1657
- /**
1658
- * <p>
1659
- * The end time of the profile the analysis data is about. This is specified
1660
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
1661
- * millisecond past June 1, 2020 1:15:02 PM UTC.
1662
- * </p>
1663
- */
1664
- profileEndTime: Date | undefined;
1665
- /**
1666
- * <p>The list of recommendations that the analysis found for this profile.</p>
1667
- */
1668
- recommendations: Recommendation[] | undefined;
1669
- /**
1670
- * <p>
1671
- * The list of anomalies that the analysis has found for this profile.
1672
- * </p>
1673
- */
1674
- anomalies: Anomaly[] | undefined;
1675
- }
1676
- export declare namespace GetRecommendationsResponse {
1677
- /**
1678
- * @internal
1679
- */
1680
- const filterSensitiveLog: (obj: GetRecommendationsResponse) => any;
1681
- }
1682
- /**
1683
- * <p>The structure representing the ListFindingsReportsRequest.</p>
1684
- */
1685
- export interface ListFindingsReportsRequest {
1686
- /**
1687
- * <p>The name of the profiling group from which to search for analysis data.</p>
1688
- */
1689
- profilingGroupName: string | undefined;
1690
- /**
1691
- * <p>
1692
- * The start time of the profile to get analysis data about. You must specify <code>startTime</code> and <code>endTime</code>.
1693
- * This is specified
1694
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
1695
- * millisecond past June 1, 2020 1:15:02 PM UTC.
1696
- * </p>
1697
- */
1698
- startTime: Date | undefined;
1699
- /**
1700
- * <p>
1701
- * The end time of the profile to get analysis data about. You must specify <code>startTime</code> and <code>endTime</code>.
1702
- * This is specified
1703
- * using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1
1704
- * millisecond past June 1, 2020 1:15:02 PM UTC.
1705
- * </p>
1706
- */
1707
- endTime: Date | undefined;
1708
- /**
1709
- * <p>The <code>nextToken</code> value returned from a previous paginated <code>ListFindingsReportsRequest</code>
1710
- * request where <code>maxResults</code> was used and the results exceeded the value of that parameter.
1711
- * Pagination continues from the end of the previous results that returned the <code>nextToken</code> value.
1712
- * </p>
1713
- * <note>
1714
- * <p>This token should be treated as an opaque identifier that is only used to retrieve
1715
- * the next items in a list and not for other programmatic purposes.</p>
1716
- * </note>
1717
- */
1718
- nextToken?: string;
1719
- /**
1720
- * <p>The maximum number of report results returned by <code>ListFindingsReports</code>
1721
- * in paginated output. When this parameter is used, <code>ListFindingsReports</code> only returns
1722
- * <code>maxResults</code> results in a single page along with a <code>nextToken</code> response
1723
- * element. The remaining results of the initial request
1724
- * can be seen by sending another <code>ListFindingsReports</code> request with the returned
1725
- * <code>nextToken</code> value.</p>
1726
- */
1727
- maxResults?: number;
1728
- /**
1729
- * <p>A <code>Boolean</code> value indicating whether to only return reports from daily profiles. If set
1730
- * to <code>True</code>, only analysis data from daily profiles is returned. If set to <code>False</code>,
1731
- * analysis data is returned from smaller time windows (for example, one hour).</p>
1732
- */
1733
- dailyReportsOnly?: boolean;
1734
- }
1735
- export declare namespace ListFindingsReportsRequest {
1736
- /**
1737
- * @internal
1738
- */
1739
- const filterSensitiveLog: (obj: ListFindingsReportsRequest) => any;
1740
- }
1741
- /**
1742
- * <p>The structure representing the ListFindingsReportsResponse.</p>
1743
- */
1744
- export interface ListFindingsReportsResponse {
1745
- /**
1746
- * <p>The list of analysis results summaries.</p>
1747
- */
1748
- findingsReportSummaries: FindingsReportSummary[] | undefined;
1749
- /**
1750
- * <p>The <code>nextToken</code> value to include in a future <code>ListFindingsReports</code> request.
1751
- * When the results of a <code>ListFindingsReports</code> request exceed <code>maxResults</code>, this
1752
- * value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more
1753
- * results to return.</p>
1754
- */
1755
- nextToken?: string;
1756
- }
1757
- export declare namespace ListFindingsReportsResponse {
1758
- /**
1759
- * @internal
1760
- */
1761
- const filterSensitiveLog: (obj: ListFindingsReportsResponse) => any;
1762
- }
1763
- export declare enum OrderBy {
1764
- /**
1765
- * Order by timestamp in ascending order.
1766
- */
1767
- TIMESTAMP_ASCENDING = "TimestampAscending",
1768
- /**
1769
- * Order by timestamp in descending order.
1770
- */
1771
- TIMESTAMP_DESCENDING = "TimestampDescending"
1772
- }
1773
- /**
1774
- * <p>The structure representing the listProfileTimesRequest.</p>
1775
- */
1776
- export interface ListProfileTimesRequest {
1777
- /**
1778
- * <p>The name of the profiling group.</p>
1779
- */
1780
- profilingGroupName: string | undefined;
1781
- /**
1782
- * <p>The start time of the time range from which to list the profiles.</p>
1783
- */
1784
- startTime: Date | undefined;
1785
- /**
1786
- * <p>The end time of the time range from which to list the profiles.</p>
1787
- */
1788
- endTime: Date | undefined;
1789
- /**
1790
- * <p>
1791
- * The aggregation period. This specifies the period during which an aggregation profile
1792
- * collects posted agent profiles for a profiling group. There are 3 valid values.
1793
- * </p>
1794
- * <ul>
1795
- * <li>
1796
- * <p>
1797
- * <code>P1D</code> — 1 day
1798
- * </p>
1799
- * </li>
1800
- * <li>
1801
- * <p>
1802
- * <code>PT1H</code> — 1 hour
1803
- * </p>
1804
- * </li>
1805
- * <li>
1806
- * <p>
1807
- * <code>PT5M</code> — 5 minutes
1808
- * </p>
1809
- * </li>
1810
- * </ul>
1811
- */
1812
- period: AggregationPeriod | string | undefined;
1813
- /**
1814
- * <p>The order (ascending or descending by start time of the profile) to
1815
- * use when listing profiles. Defaults to <code>TIMESTAMP_DESCENDING</code>.
1816
- * </p>
1817
- */
1818
- orderBy?: OrderBy | string;
1819
- /**
1820
- * <p>The maximum number of profile time results returned by <code>ListProfileTimes</code>
1821
- * in paginated output. When this parameter is used, <code>ListProfileTimes</code> only returns
1822
- * <code>maxResults</code> results in a single page with a <code>nextToken</code> response
1823
- * element. The remaining results of the initial request
1824
- * can be seen by sending another <code>ListProfileTimes</code> request with the returned
1825
- * <code>nextToken</code> value.
1826
- * </p>
1827
- */
1828
- maxResults?: number;
1829
- /**
1830
- * <p>The <code>nextToken</code> value returned from a previous paginated
1831
- * <code>ListProfileTimes</code> request where <code>maxResults</code> was used and the results
1832
- * exceeded the value of that parameter. Pagination continues from the end of the previous results
1833
- * that returned the <code>nextToken</code> value.
1834
- * </p>
1835
- * <note>
1836
- * <p>This token should be treated as an opaque identifier that is only used to retrieve
1837
- * the next items in a list and not for other programmatic purposes.</p>
1838
- * </note>
1839
- */
1840
- nextToken?: string;
1841
- }
1842
- export declare namespace ListProfileTimesRequest {
1843
- /**
1844
- * @internal
1845
- */
1846
- const filterSensitiveLog: (obj: ListProfileTimesRequest) => any;
1847
- }
1848
- /**
1849
- * <p>
1850
- * Contains the start time of a profile.
1851
- * </p>
1852
- */
1853
- export interface ProfileTime {
1854
- /**
1855
- * <p>The start time of a profile. It is specified using
1856
- * the ISO 8601 format. For example,
1857
- * 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>
1858
- */
1859
- start?: Date;
1860
- }
1861
- export declare namespace ProfileTime {
1862
- /**
1863
- * @internal
1864
- */
1865
- const filterSensitiveLog: (obj: ProfileTime) => any;
1866
- }
1867
- /**
1868
- * <p>The structure representing the listProfileTimesResponse.</p>
1869
- */
1870
- export interface ListProfileTimesResponse {
1871
- /**
1872
- * <p>The list of start times of the available profiles for the aggregation
1873
- * period in the specified time range.
1874
- * </p>
1875
- */
1876
- profileTimes: ProfileTime[] | undefined;
1877
- /**
1878
- * <p>The <code>nextToken</code> value to include in a future <code>ListProfileTimes</code> request.
1879
- * When the results of a <code>ListProfileTimes</code> request exceed <code>maxResults</code>, this
1880
- * value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more
1881
- * results to return. </p>
1882
- */
1883
- nextToken?: string;
1884
- }
1885
- export declare namespace ListProfileTimesResponse {
1886
- /**
1887
- * @internal
1888
- */
1889
- const filterSensitiveLog: (obj: ListProfileTimesResponse) => any;
1890
- }
1891
- /**
1892
- * <p>The structure representing the listProfilingGroupsRequest.</p>
1893
- */
1894
- export interface ListProfilingGroupsRequest {
1895
- /**
1896
- * <p>The <code>nextToken</code> value returned from a previous paginated
1897
- * <code>ListProfilingGroups</code> request where <code>maxResults</code> was used and the results
1898
- * exceeded the value of that parameter. Pagination continues from the end of the previous results
1899
- * that returned the <code>nextToken</code> value.
1900
- * </p>
1901
- * <note>
1902
- * <p>This token should be treated as an opaque identifier that is only used to retrieve
1903
- * the next items in a list and not for other programmatic purposes.</p>
1904
- * </note>
1905
- */
1906
- nextToken?: string;
1907
- /**
1908
- * <p>The maximum number of profiling groups results returned by <code>ListProfilingGroups</code>
1909
- * in paginated output. When this parameter is used, <code>ListProfilingGroups</code> only returns
1910
- * <code>maxResults</code> results in a single page along with a <code>nextToken</code> response
1911
- * element. The remaining results of the initial request
1912
- * can be seen by sending another <code>ListProfilingGroups</code> request with the returned
1913
- * <code>nextToken</code> value.
1914
- * </p>
1915
- */
1916
- maxResults?: number;
1917
- /**
1918
- * <p>A <code>Boolean</code> value indicating whether to include a description. If <code>true</code>,
1919
- * then a list of
1920
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
1921
- * <code>ProfilingGroupDescription</code>
1922
- * </a> objects
1923
- * that contain detailed information about profiling groups is returned. If <code>false</code>, then
1924
- * a list of profiling group names is returned.</p>
1925
- */
1926
- includeDescription?: boolean;
1927
- }
1928
- export declare namespace ListProfilingGroupsRequest {
1929
- /**
1930
- * @internal
1931
- */
1932
- const filterSensitiveLog: (obj: ListProfilingGroupsRequest) => any;
1933
- }
1934
- /**
1935
- * <p>The structure representing the listProfilingGroupsResponse.</p>
1936
- */
1937
- export interface ListProfilingGroupsResponse {
1938
- /**
1939
- * <p>
1940
- * A returned list of profiling group names. A list of the names is returned only if
1941
- * <code>includeDescription</code> is <code>false</code>, otherwise a list of
1942
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
1943
- * <code>ProfilingGroupDescription</code>
1944
- * </a> objects
1945
- * is returned.
1946
- * </p>
1947
- */
1948
- profilingGroupNames: string[] | undefined;
1949
- /**
1950
- * <p>
1951
- * A returned list
1952
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
1953
- * <code>ProfilingGroupDescription</code>
1954
- * </a>
1955
- * objects. A list of
1956
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
1957
- * <code>ProfilingGroupDescription</code>
1958
- * </a>
1959
- * objects is returned only if <code>includeDescription</code> is <code>true</code>, otherwise a list of profiling group names is returned.
1960
- * </p>
1961
- */
1962
- profilingGroups?: ProfilingGroupDescription[];
1963
- /**
1964
- * <p>The <code>nextToken</code> value to include in a future <code>ListProfilingGroups</code> request.
1965
- * When the results of a <code>ListProfilingGroups</code> request exceed <code>maxResults</code>, this
1966
- * value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more
1967
- * results to return. </p>
1968
- */
1969
- nextToken?: string;
1970
- }
1971
- export declare namespace ListProfilingGroupsResponse {
1972
- /**
1973
- * @internal
1974
- */
1975
- const filterSensitiveLog: (obj: ListProfilingGroupsResponse) => any;
1976
- }
1977
- /**
1978
- * <p>The structure representing the postAgentProfileRequest.</p>
1979
- */
1980
- export interface PostAgentProfileRequest {
1981
- /**
1982
- * <p>
1983
- * The name of the profiling group with the aggregated profile that receives the
1984
- * submitted profiling data.
1985
- * </p>
1986
- */
1987
- profilingGroupName: string | undefined;
1988
- /**
1989
- * <p>
1990
- * The submitted profiling data.
1991
- * </p>
1992
- */
1993
- agentProfile: Uint8Array | undefined;
1994
- /**
1995
- * <p> Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the
1996
- * accidental submission of duplicate profiling data if there are failures and retries. </p>
1997
- */
1998
- profileToken?: string;
1999
- /**
2000
- * <p>
2001
- * The format of the submitted profiling data. The format maps to the
2002
- * <code>Accept</code> and <code>Content-Type</code> headers of the
2003
- * HTTP request. You can specify one of the following:
2004
- * or the default .
2005
- * </p>
2006
- *
2007
- * <ul>
2008
- * <li>
2009
- * <p>
2010
- * <code>application/json</code> — standard JSON format
2011
- * </p>
2012
- * </li>
2013
- * <li>
2014
- * <p>
2015
- * <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information,
2016
- * see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>.
2017
- * </p>
2018
- * </li>
2019
- * </ul>
2020
- */
2021
- contentType: string | undefined;
2022
- }
2023
- export declare namespace PostAgentProfileRequest {
2024
- /**
2025
- * @internal
2026
- */
2027
- const filterSensitiveLog: (obj: PostAgentProfileRequest) => any;
2028
- }
2029
- /**
2030
- * <p>The structure representing the postAgentProfileResponse.</p>
2031
- */
2032
- export interface PostAgentProfileResponse {
2033
- }
2034
- export declare namespace PostAgentProfileResponse {
2035
- /**
2036
- * @internal
2037
- */
2038
- const filterSensitiveLog: (obj: PostAgentProfileResponse) => any;
2039
- }
2040
- /**
2041
- * <p>The structure representing the <code>putPermissionRequest</code>.</p>
2042
- */
2043
- export interface PutPermissionRequest {
2044
- /**
2045
- * <p>The name of the profiling group to grant access to.</p>
2046
- */
2047
- profilingGroupName: string | undefined;
2048
- /**
2049
- * <p>
2050
- * Specifies an action group that contains permissions to add to
2051
- * a profiling group resource. One action group is supported, <code>agentPermissions</code>, which
2052
- * grants permission to perform actions required by the profiling agent, <code>ConfigureAgent</code>
2053
- * and <code>PostAgentProfile</code> permissions.
2054
- * </p>
2055
- */
2056
- actionGroup: ActionGroup | string | undefined;
2057
- /**
2058
- * <p>
2059
- * A list ARNs for the roles and users you want to grant access to the profiling group.
2060
- * Wildcards are not are supported in the ARNs.
2061
- * </p>
2062
- */
2063
- principals: string[] | undefined;
2064
- /**
2065
- * <p>
2066
- * A universally unique identifier (UUID) for the revision of the policy you
2067
- * are adding to the profiling group. Do not specify
2068
- * this when you add permissions to a profiling group for the first time. If a policy already exists on the
2069
- * profiling group, you must specify the <code>revisionId</code>.
2070
- * </p>
2071
- */
2072
- revisionId?: string;
2073
- }
2074
- export declare namespace PutPermissionRequest {
2075
- /**
2076
- * @internal
2077
- */
2078
- const filterSensitiveLog: (obj: PutPermissionRequest) => any;
2079
- }
2080
- /**
2081
- * <p>The structure representing the <code>putPermissionResponse</code>.</p>
2082
- */
2083
- export interface PutPermissionResponse {
2084
- /**
2085
- * <p>
2086
- * The JSON-formatted resource-based policy on the profiling group that includes the
2087
- * added permissions.
2088
- * </p>
2089
- */
2090
- policy: string | undefined;
2091
- /**
2092
- * <p> A universally unique identifier (UUID) for the revision of the resource-based policy
2093
- * that includes the added permissions. The JSON-formatted policy is in the
2094
- * <code>policy</code> element of the response. </p>
2095
- */
2096
- revisionId: string | undefined;
2097
- }
2098
- export declare namespace PutPermissionResponse {
2099
- /**
2100
- * @internal
2101
- */
2102
- const filterSensitiveLog: (obj: PutPermissionResponse) => any;
2103
- }
2104
- /**
2105
- * <p>The structure representing the RemoveNotificationChannelRequest.</p>
2106
- */
2107
- export interface RemoveNotificationChannelRequest {
2108
- /**
2109
- * <p>The name of the profiling group we want to change notification configuration for.</p>
2110
- */
2111
- profilingGroupName: string | undefined;
2112
- /**
2113
- * <p>The id of the channel that we want to stop receiving notifications.</p>
2114
- */
2115
- channelId: string | undefined;
2116
- }
2117
- export declare namespace RemoveNotificationChannelRequest {
2118
- /**
2119
- * @internal
2120
- */
2121
- const filterSensitiveLog: (obj: RemoveNotificationChannelRequest) => any;
2122
- }
2123
- /**
2124
- * <p>The structure representing the RemoveNotificationChannelResponse.</p>
2125
- */
2126
- export interface RemoveNotificationChannelResponse {
2127
- /**
2128
- * <p>The new notification configuration for this profiling group.</p>
2129
- */
2130
- notificationConfiguration?: NotificationConfiguration;
2131
- }
2132
- export declare namespace RemoveNotificationChannelResponse {
2133
- /**
2134
- * @internal
2135
- */
2136
- const filterSensitiveLog: (obj: RemoveNotificationChannelResponse) => any;
2137
- }
2138
- /**
2139
- * <p>
2140
- *
2141
- * The structure representing the <code>removePermissionRequest</code>.</p>
2142
- */
2143
- export interface RemovePermissionRequest {
2144
- /**
2145
- * <p>The name of the profiling group.</p>
2146
- */
2147
- profilingGroupName: string | undefined;
2148
- /**
2149
- * <p>
2150
- * Specifies an action group that contains the permissions to remove from
2151
- * a profiling group's resource-based policy. One action group is supported, <code>agentPermissions</code>, which
2152
- * grants <code>ConfigureAgent</code> and <code>PostAgentProfile</code> permissions.
2153
- * </p>
2154
- */
2155
- actionGroup: ActionGroup | string | undefined;
2156
- /**
2157
- * <p>
2158
- * A universally unique identifier (UUID) for the revision of the resource-based policy from which
2159
- * you want to remove permissions.
2160
- * </p>
2161
- */
2162
- revisionId: string | undefined;
2163
- }
2164
- export declare namespace RemovePermissionRequest {
2165
- /**
2166
- * @internal
2167
- */
2168
- const filterSensitiveLog: (obj: RemovePermissionRequest) => any;
2169
- }
2170
- /**
2171
- * <p>The structure representing the <code>removePermissionResponse</code>.</p>
2172
- */
2173
- export interface RemovePermissionResponse {
2174
- /**
2175
- * <p>
2176
- * The JSON-formatted resource-based policy on the profiling group after
2177
- * the specified permissions were removed.
2178
- * </p>
2179
- */
2180
- policy: string | undefined;
2181
- /**
2182
- * <p> A universally unique identifier (UUID) for the revision of the resource-based policy
2183
- * after the specified permissions were removed. The updated JSON-formatted policy is in the
2184
- * <code>policy</code> element of the response. </p>
2185
- */
2186
- revisionId: string | undefined;
2187
- }
2188
- export declare namespace RemovePermissionResponse {
2189
- /**
2190
- * @internal
2191
- */
2192
- const filterSensitiveLog: (obj: RemovePermissionResponse) => any;
2193
- }
2194
- /**
2195
- * <p>The structure representing the SubmitFeedbackRequest.</p>
2196
- */
2197
- export interface SubmitFeedbackRequest {
2198
- /**
2199
- * <p>The name of the profiling group that is associated with the analysis data.</p>
2200
- */
2201
- profilingGroupName: string | undefined;
2202
- /**
2203
- * <p>The universally unique identifier (UUID) of the
2204
- * <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AnomalyInstance.html">
2205
- * <code>AnomalyInstance</code>
2206
- * </a> object
2207
- * that is included in the analysis data.</p>
2208
- */
2209
- anomalyInstanceId: string | undefined;
2210
- /**
2211
- * <p>
2212
- * The feedback tpye. Thee are two valid values, <code>Positive</code> and <code>Negative</code>.
2213
- * </p>
2214
- */
2215
- type: FeedbackType | string | undefined;
2216
- /**
2217
- * <p>Optional feedback about this anomaly.</p>
2218
- */
2219
- comment?: string;
2220
- }
2221
- export declare namespace SubmitFeedbackRequest {
2222
- /**
2223
- * @internal
2224
- */
2225
- const filterSensitiveLog: (obj: SubmitFeedbackRequest) => any;
2226
- }
2227
- /**
2228
- * <p>The structure representing the SubmitFeedbackResponse.</p>
2229
- */
2230
- export interface SubmitFeedbackResponse {
2231
- }
2232
- export declare namespace SubmitFeedbackResponse {
2233
- /**
2234
- * @internal
2235
- */
2236
- const filterSensitiveLog: (obj: SubmitFeedbackResponse) => any;
2237
- }
2238
- /**
2239
- * <p>The structure representing the updateProfilingGroupRequest.</p>
2240
- */
2241
- export interface UpdateProfilingGroupRequest {
2242
- /**
2243
- * <p>The name of the profiling group to update.</p>
2244
- */
2245
- profilingGroupName: string | undefined;
2246
- /**
2247
- * <p>
2248
- * Specifies whether profiling is enabled or disabled for a profiling group.
2249
- * </p>
2250
- */
2251
- agentOrchestrationConfig: AgentOrchestrationConfig | undefined;
2252
- }
2253
- export declare namespace UpdateProfilingGroupRequest {
2254
- /**
2255
- * @internal
2256
- */
2257
- const filterSensitiveLog: (obj: UpdateProfilingGroupRequest) => any;
2258
- }
2259
- /**
2260
- * <p>The structure representing the updateProfilingGroupResponse.</p>
2261
- */
2262
- export interface UpdateProfilingGroupResponse {
2263
- /**
2264
- * <p>
2265
- * A <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
2266
- * <code>ProfilingGroupDescription</code>
2267
- * </a>
2268
- * that contains information about the returned updated profiling group.
2269
- * </p>
2270
- */
2271
- profilingGroup: ProfilingGroupDescription | undefined;
2272
- }
2273
- export declare namespace UpdateProfilingGroupResponse {
2274
- /**
2275
- * @internal
2276
- */
2277
- const filterSensitiveLog: (obj: UpdateProfilingGroupResponse) => any;
2278
- }
2279
- export interface TagResourceRequest {
2280
- /**
2281
- * <p>
2282
- * The Amazon Resource Name (ARN) of the resource that the tags are added to.
2283
- * </p>
2284
- */
2285
- resourceArn: string | undefined;
2286
- /**
2287
- * <p>
2288
- * The list of tags that are added to the specified resource.
2289
- * </p>
2290
- */
2291
- tags: {
2292
- [key: string]: string;
2293
- } | undefined;
2294
- }
2295
- export declare namespace TagResourceRequest {
2296
- /**
2297
- * @internal
2298
- */
2299
- const filterSensitiveLog: (obj: TagResourceRequest) => any;
2300
- }
2301
- export interface TagResourceResponse {
2302
- }
2303
- export declare namespace TagResourceResponse {
2304
- /**
2305
- * @internal
2306
- */
2307
- const filterSensitiveLog: (obj: TagResourceResponse) => any;
2308
- }
2309
- export interface UntagResourceRequest {
2310
- /**
2311
- * <p>
2312
- * The Amazon Resource Name (ARN) of the resource that contains the tags to remove.
2313
- * </p>
2314
- */
2315
- resourceArn: string | undefined;
2316
- /**
2317
- * <p>
2318
- * A list of tag keys. Existing tags of resources with keys in this list are removed from
2319
- * the specified resource.
2320
- * </p>
2321
- */
2322
- tagKeys: string[] | undefined;
2323
- }
2324
- export declare namespace UntagResourceRequest {
2325
- /**
2326
- * @internal
2327
- */
2328
- const filterSensitiveLog: (obj: UntagResourceRequest) => any;
2329
- }
2330
- export interface UntagResourceResponse {
2331
- }
2332
- export declare namespace UntagResourceResponse {
2333
- /**
2334
- * @internal
2335
- */
2336
- const filterSensitiveLog: (obj: UntagResourceResponse) => any;
2337
- }