@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,362 +0,0 @@
1
- import {
2
- AddNotificationChannelsCommandInput,
3
- AddNotificationChannelsCommandOutput,
4
- } from "./commands/AddNotificationChannelsCommand";
5
- import {
6
- BatchGetFrameMetricDataCommandInput,
7
- BatchGetFrameMetricDataCommandOutput,
8
- } from "./commands/BatchGetFrameMetricDataCommand";
9
- import { ConfigureAgentCommandInput, ConfigureAgentCommandOutput } from "./commands/ConfigureAgentCommand";
10
- import {
11
- CreateProfilingGroupCommandInput,
12
- CreateProfilingGroupCommandOutput,
13
- } from "./commands/CreateProfilingGroupCommand";
14
- import {
15
- DeleteProfilingGroupCommandInput,
16
- DeleteProfilingGroupCommandOutput,
17
- } from "./commands/DeleteProfilingGroupCommand";
18
- import {
19
- DescribeProfilingGroupCommandInput,
20
- DescribeProfilingGroupCommandOutput,
21
- } from "./commands/DescribeProfilingGroupCommand";
22
- import {
23
- GetFindingsReportAccountSummaryCommandInput,
24
- GetFindingsReportAccountSummaryCommandOutput,
25
- } from "./commands/GetFindingsReportAccountSummaryCommand";
26
- import {
27
- GetNotificationConfigurationCommandInput,
28
- GetNotificationConfigurationCommandOutput,
29
- } from "./commands/GetNotificationConfigurationCommand";
30
- import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
31
- import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
32
- import { GetRecommendationsCommandInput, GetRecommendationsCommandOutput } from "./commands/GetRecommendationsCommand";
33
- import {
34
- ListFindingsReportsCommandInput,
35
- ListFindingsReportsCommandOutput,
36
- } from "./commands/ListFindingsReportsCommand";
37
- import { ListProfileTimesCommandInput, ListProfileTimesCommandOutput } from "./commands/ListProfileTimesCommand";
38
- import {
39
- ListProfilingGroupsCommandInput,
40
- ListProfilingGroupsCommandOutput,
41
- } from "./commands/ListProfilingGroupsCommand";
42
- import {
43
- ListTagsForResourceCommandInput,
44
- ListTagsForResourceCommandOutput,
45
- } from "./commands/ListTagsForResourceCommand";
46
- import { PostAgentProfileCommandInput, PostAgentProfileCommandOutput } from "./commands/PostAgentProfileCommand";
47
- import { PutPermissionCommandInput, PutPermissionCommandOutput } from "./commands/PutPermissionCommand";
48
- import {
49
- RemoveNotificationChannelCommandInput,
50
- RemoveNotificationChannelCommandOutput,
51
- } from "./commands/RemoveNotificationChannelCommand";
52
- import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
53
- import { SubmitFeedbackCommandInput, SubmitFeedbackCommandOutput } from "./commands/SubmitFeedbackCommand";
54
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
55
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
56
- import {
57
- UpdateProfilingGroupCommandInput,
58
- UpdateProfilingGroupCommandOutput,
59
- } from "./commands/UpdateProfilingGroupCommand";
60
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
61
- import {
62
- EndpointsInputConfig,
63
- EndpointsResolvedConfig,
64
- RegionInputConfig,
65
- RegionResolvedConfig,
66
- resolveEndpointsConfig,
67
- resolveRegionConfig,
68
- } from "@aws-sdk/config-resolver";
69
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
70
- import {
71
- HostHeaderInputConfig,
72
- HostHeaderResolvedConfig,
73
- getHostHeaderPlugin,
74
- resolveHostHeaderConfig,
75
- } from "@aws-sdk/middleware-host-header";
76
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
77
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
78
- import {
79
- AwsAuthInputConfig,
80
- AwsAuthResolvedConfig,
81
- getAwsAuthPlugin,
82
- resolveAwsAuthConfig,
83
- } from "@aws-sdk/middleware-signing";
84
- import {
85
- UserAgentInputConfig,
86
- UserAgentResolvedConfig,
87
- getUserAgentPlugin,
88
- resolveUserAgentConfig,
89
- } from "@aws-sdk/middleware-user-agent";
90
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
91
- import {
92
- Client as __Client,
93
- SmithyConfiguration as __SmithyConfiguration,
94
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
95
- } from "@aws-sdk/smithy-client";
96
- import {
97
- Provider,
98
- RegionInfoProvider,
99
- Credentials as __Credentials,
100
- Decoder as __Decoder,
101
- Encoder as __Encoder,
102
- Hash as __Hash,
103
- HashConstructor as __HashConstructor,
104
- HttpHandlerOptions as __HttpHandlerOptions,
105
- Logger as __Logger,
106
- Provider as __Provider,
107
- StreamCollector as __StreamCollector,
108
- UrlParser as __UrlParser,
109
- UserAgent as __UserAgent,
110
- } from "@aws-sdk/types";
111
-
112
- export type ServiceInputTypes =
113
- | AddNotificationChannelsCommandInput
114
- | BatchGetFrameMetricDataCommandInput
115
- | ConfigureAgentCommandInput
116
- | CreateProfilingGroupCommandInput
117
- | DeleteProfilingGroupCommandInput
118
- | DescribeProfilingGroupCommandInput
119
- | GetFindingsReportAccountSummaryCommandInput
120
- | GetNotificationConfigurationCommandInput
121
- | GetPolicyCommandInput
122
- | GetProfileCommandInput
123
- | GetRecommendationsCommandInput
124
- | ListFindingsReportsCommandInput
125
- | ListProfileTimesCommandInput
126
- | ListProfilingGroupsCommandInput
127
- | ListTagsForResourceCommandInput
128
- | PostAgentProfileCommandInput
129
- | PutPermissionCommandInput
130
- | RemoveNotificationChannelCommandInput
131
- | RemovePermissionCommandInput
132
- | SubmitFeedbackCommandInput
133
- | TagResourceCommandInput
134
- | UntagResourceCommandInput
135
- | UpdateProfilingGroupCommandInput;
136
-
137
- export type ServiceOutputTypes =
138
- | AddNotificationChannelsCommandOutput
139
- | BatchGetFrameMetricDataCommandOutput
140
- | ConfigureAgentCommandOutput
141
- | CreateProfilingGroupCommandOutput
142
- | DeleteProfilingGroupCommandOutput
143
- | DescribeProfilingGroupCommandOutput
144
- | GetFindingsReportAccountSummaryCommandOutput
145
- | GetNotificationConfigurationCommandOutput
146
- | GetPolicyCommandOutput
147
- | GetProfileCommandOutput
148
- | GetRecommendationsCommandOutput
149
- | ListFindingsReportsCommandOutput
150
- | ListProfileTimesCommandOutput
151
- | ListProfilingGroupsCommandOutput
152
- | ListTagsForResourceCommandOutput
153
- | PostAgentProfileCommandOutput
154
- | PutPermissionCommandOutput
155
- | RemoveNotificationChannelCommandOutput
156
- | RemovePermissionCommandOutput
157
- | SubmitFeedbackCommandOutput
158
- | TagResourceCommandOutput
159
- | UntagResourceCommandOutput
160
- | UpdateProfilingGroupCommandOutput;
161
-
162
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
163
- /**
164
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
165
- */
166
- requestHandler?: __HttpHandler;
167
-
168
- /**
169
- * A constructor for a class implementing the {@link __Hash} interface
170
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
171
- * @internal
172
- */
173
- sha256?: __HashConstructor;
174
-
175
- /**
176
- * The function that will be used to convert strings into HTTP endpoints.
177
- * @internal
178
- */
179
- urlParser?: __UrlParser;
180
-
181
- /**
182
- * A function that can calculate the length of a request body.
183
- * @internal
184
- */
185
- bodyLengthChecker?: (body: any) => number | undefined;
186
-
187
- /**
188
- * A function that converts a stream into an array of bytes.
189
- * @internal
190
- */
191
- streamCollector?: __StreamCollector;
192
-
193
- /**
194
- * The function that will be used to convert a base64-encoded string to a byte array.
195
- * @internal
196
- */
197
- base64Decoder?: __Decoder;
198
-
199
- /**
200
- * The function that will be used to convert binary data to a base64-encoded string.
201
- * @internal
202
- */
203
- base64Encoder?: __Encoder;
204
-
205
- /**
206
- * The function that will be used to convert a UTF8-encoded string to a byte array.
207
- * @internal
208
- */
209
- utf8Decoder?: __Decoder;
210
-
211
- /**
212
- * The function that will be used to convert binary data to a UTF-8 encoded string.
213
- * @internal
214
- */
215
- utf8Encoder?: __Encoder;
216
-
217
- /**
218
- * The runtime environment.
219
- * @internal
220
- */
221
- runtime?: string;
222
-
223
- /**
224
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
225
- * trait of an operation.
226
- */
227
- disableHostPrefix?: boolean;
228
-
229
- /**
230
- * Value for how many times a request will be made at most in case of retry.
231
- */
232
- maxAttempts?: number | __Provider<number>;
233
-
234
- /**
235
- * Specifies which retry algorithm to use.
236
- */
237
- retryMode?: string | __Provider<string>;
238
-
239
- /**
240
- * Optional logger for logging debug/info/warn/error.
241
- */
242
- logger?: __Logger;
243
-
244
- /**
245
- * Unique service identifier.
246
- * @internal
247
- */
248
- serviceId?: string;
249
-
250
- /**
251
- * The AWS region to which this client will send requests
252
- */
253
- region?: string | __Provider<string>;
254
-
255
- /**
256
- * Default credentials provider; Not available in browser runtime.
257
- * @internal
258
- */
259
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
260
-
261
- /**
262
- * Fetch related hostname, signing name or signing region with given region.
263
- * @internal
264
- */
265
- regionInfoProvider?: RegionInfoProvider;
266
-
267
- /**
268
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
269
- * @internal
270
- */
271
- defaultUserAgentProvider?: Provider<__UserAgent>;
272
- }
273
-
274
- type CodeGuruProfilerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
275
- ClientDefaults &
276
- RegionInputConfig &
277
- EndpointsInputConfig &
278
- RetryInputConfig &
279
- HostHeaderInputConfig &
280
- AwsAuthInputConfig &
281
- UserAgentInputConfig;
282
- /**
283
- * The configuration interface of CodeGuruProfilerClient class constructor that set the region, credentials and other options.
284
- */
285
- export interface CodeGuruProfilerClientConfig extends CodeGuruProfilerClientConfigType {}
286
-
287
- type CodeGuruProfilerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
288
- Required<ClientDefaults> &
289
- RegionResolvedConfig &
290
- EndpointsResolvedConfig &
291
- RetryResolvedConfig &
292
- HostHeaderResolvedConfig &
293
- AwsAuthResolvedConfig &
294
- UserAgentResolvedConfig;
295
- /**
296
- * The resolved configuration interface of CodeGuruProfilerClient class. This is resolved and normalized from the {@link CodeGuruProfilerClientConfig | constructor configuration interface}.
297
- */
298
- export interface CodeGuruProfilerClientResolvedConfig extends CodeGuruProfilerClientResolvedConfigType {}
299
-
300
- /**
301
- * <p>
302
- * This section provides documentation for the Amazon CodeGuru Profiler API operations.
303
- * </p>
304
- * <p>
305
- * Amazon CodeGuru Profiler collects runtime performance data from your live applications, and provides
306
- * recommendations that can help you fine-tune your application performance. Using machine learning
307
- * algorithms, CodeGuru Profiler can help you find your most expensive lines of code and suggest ways you can
308
- * improve efficiency and remove CPU bottlenecks.
309
- * </p>
310
- * <p>
311
- * Amazon CodeGuru Profiler provides different visualizations of profiling data to help you identify what code is
312
- * running on the CPU, see how much time is consumed, and suggest ways to reduce CPU utilization.
313
- * </p>
314
- * <note>
315
- * <p>Amazon CodeGuru Profiler currently supports applications written in all Java virtual machine (JVM)
316
- * languages and Python. While CodeGuru Profiler supports both visualizations and recommendations for applications
317
- * written in Java, it can also generate visualizations and a subset of recommendations for
318
- * applications written in other JVM languages and Python.</p>
319
- * </note>
320
- * <p>
321
- * For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/what-is-codeguru-profiler.html">What is Amazon CodeGuru Profiler</a> in
322
- * the <i>Amazon CodeGuru Profiler User Guide</i>.
323
- * </p>
324
- */
325
- export class CodeGuruProfilerClient extends __Client<
326
- __HttpHandlerOptions,
327
- ServiceInputTypes,
328
- ServiceOutputTypes,
329
- CodeGuruProfilerClientResolvedConfig
330
- > {
331
- /**
332
- * The resolved configuration of CodeGuruProfilerClient class. This is resolved and normalized from the {@link CodeGuruProfilerClientConfig | constructor configuration interface}.
333
- */
334
- readonly config: CodeGuruProfilerClientResolvedConfig;
335
-
336
- constructor(configuration: CodeGuruProfilerClientConfig) {
337
- let _config_0 = __getRuntimeConfig(configuration);
338
- let _config_1 = resolveRegionConfig(_config_0);
339
- let _config_2 = resolveEndpointsConfig(_config_1);
340
- let _config_3 = resolveRetryConfig(_config_2);
341
- let _config_4 = resolveHostHeaderConfig(_config_3);
342
- let _config_5 = resolveAwsAuthConfig(_config_4);
343
- let _config_6 = resolveUserAgentConfig(_config_5);
344
- super(_config_6);
345
- this.config = _config_6;
346
- this.middlewareStack.use(getRetryPlugin(this.config));
347
- this.middlewareStack.use(getContentLengthPlugin(this.config));
348
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
349
- this.middlewareStack.use(getLoggerPlugin(this.config));
350
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
351
- this.middlewareStack.use(getUserAgentPlugin(this.config));
352
- }
353
-
354
- /**
355
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
356
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
357
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
358
- */
359
- destroy(): void {
360
- super.destroy();
361
- }
362
- }
@@ -1,94 +0,0 @@
1
- import { CodeGuruProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruProfilerClient";
2
- import { AddNotificationChannelsRequest, AddNotificationChannelsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1AddNotificationChannelsCommand,
5
- serializeAws_restJson1AddNotificationChannelsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface AddNotificationChannelsCommandInput extends AddNotificationChannelsRequest {}
21
- export interface AddNotificationChannelsCommandOutput extends AddNotificationChannelsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Add up to 2 anomaly notifications channels for a profiling group.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { CodeGuruProfilerClient, AddNotificationChannelsCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import
29
- * // const { CodeGuruProfilerClient, AddNotificationChannelsCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import
30
- * const client = new CodeGuruProfilerClient(config);
31
- * const command = new AddNotificationChannelsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link AddNotificationChannelsCommandInput} for command's `input` shape.
36
- * @see {@link AddNotificationChannelsCommandOutput} for command's `response` shape.
37
- * @see {@link CodeGuruProfilerClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class AddNotificationChannelsCommand extends $Command<
41
- AddNotificationChannelsCommandInput,
42
- AddNotificationChannelsCommandOutput,
43
- CodeGuruProfilerClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: AddNotificationChannelsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: CodeGuruProfilerClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<AddNotificationChannelsCommandInput, AddNotificationChannelsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "CodeGuruProfilerClient";
68
- const commandName = "AddNotificationChannelsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: AddNotificationChannelsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: AddNotificationChannelsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: AddNotificationChannelsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1AddNotificationChannelsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddNotificationChannelsCommandOutput> {
89
- return deserializeAws_restJson1AddNotificationChannelsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,96 +0,0 @@
1
- import { CodeGuruProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruProfilerClient";
2
- import { BatchGetFrameMetricDataRequest, BatchGetFrameMetricDataResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1BatchGetFrameMetricDataCommand,
5
- serializeAws_restJson1BatchGetFrameMetricDataCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface BatchGetFrameMetricDataCommandInput extends BatchGetFrameMetricDataRequest {}
21
- export interface BatchGetFrameMetricDataCommandOutput extends BatchGetFrameMetricDataResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>
25
- * Returns the time series of values for a requested list
26
- * of frame metrics from a time period.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { CodeGuruProfilerClient, BatchGetFrameMetricDataCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import
31
- * // const { CodeGuruProfilerClient, BatchGetFrameMetricDataCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import
32
- * const client = new CodeGuruProfilerClient(config);
33
- * const command = new BatchGetFrameMetricDataCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link BatchGetFrameMetricDataCommandInput} for command's `input` shape.
38
- * @see {@link BatchGetFrameMetricDataCommandOutput} for command's `response` shape.
39
- * @see {@link CodeGuruProfilerClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class BatchGetFrameMetricDataCommand extends $Command<
43
- BatchGetFrameMetricDataCommandInput,
44
- BatchGetFrameMetricDataCommandOutput,
45
- CodeGuruProfilerClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: BatchGetFrameMetricDataCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: CodeGuruProfilerClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<BatchGetFrameMetricDataCommandInput, BatchGetFrameMetricDataCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "CodeGuruProfilerClient";
70
- const commandName = "BatchGetFrameMetricDataCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: BatchGetFrameMetricDataRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: BatchGetFrameMetricDataResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: BatchGetFrameMetricDataCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1BatchGetFrameMetricDataCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BatchGetFrameMetricDataCommandOutput> {
91
- return deserializeAws_restJson1BatchGetFrameMetricDataCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,98 +0,0 @@
1
- import { CodeGuruProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruProfilerClient";
2
- import { ConfigureAgentRequest, ConfigureAgentResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ConfigureAgentCommand,
5
- serializeAws_restJson1ConfigureAgentCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ConfigureAgentCommandInput extends ConfigureAgentRequest {}
21
- export interface ConfigureAgentCommandOutput extends ConfigureAgentResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>
25
- * Used by profiler agents to report their current state and to receive remote
26
- * configuration updates. For example, <code>ConfigureAgent</code> can be used
27
- * to tell an agent whether to profile or not and for how long to return profiling data.
28
- * </p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { CodeGuruProfilerClient, ConfigureAgentCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import
33
- * // const { CodeGuruProfilerClient, ConfigureAgentCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import
34
- * const client = new CodeGuruProfilerClient(config);
35
- * const command = new ConfigureAgentCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link ConfigureAgentCommandInput} for command's `input` shape.
40
- * @see {@link ConfigureAgentCommandOutput} for command's `response` shape.
41
- * @see {@link CodeGuruProfilerClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class ConfigureAgentCommand extends $Command<
45
- ConfigureAgentCommandInput,
46
- ConfigureAgentCommandOutput,
47
- CodeGuruProfilerClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: ConfigureAgentCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: CodeGuruProfilerClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<ConfigureAgentCommandInput, ConfigureAgentCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "CodeGuruProfilerClient";
72
- const commandName = "ConfigureAgentCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: ConfigureAgentRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: ConfigureAgentResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: ConfigureAgentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1ConfigureAgentCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ConfigureAgentCommandOutput> {
93
- return deserializeAws_restJson1ConfigureAgentCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }