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