@aws-sdk/client-codeguruprofiler 3.31.0 → 3.35.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 (359) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/cjs → dist-cjs}/CodeGuruProfiler.js +0 -0
  3. package/dist-cjs/CodeGuruProfiler.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/CodeGuruProfilerClient.js +14 -14
  5. package/dist-cjs/CodeGuruProfilerClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/AddNotificationChannelsCommand.js +5 -5
  7. package/dist-cjs/commands/AddNotificationChannelsCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/BatchGetFrameMetricDataCommand.js +5 -5
  9. package/dist-cjs/commands/BatchGetFrameMetricDataCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/ConfigureAgentCommand.js +5 -5
  11. package/dist-cjs/commands/ConfigureAgentCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/CreateProfilingGroupCommand.js +5 -5
  13. package/dist-cjs/commands/CreateProfilingGroupCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/commands/DeleteProfilingGroupCommand.js +5 -5
  15. package/dist-cjs/commands/DeleteProfilingGroupCommand.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/commands/DescribeProfilingGroupCommand.js +5 -5
  17. package/dist-cjs/commands/DescribeProfilingGroupCommand.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/commands/GetFindingsReportAccountSummaryCommand.js +5 -5
  19. package/dist-cjs/commands/GetFindingsReportAccountSummaryCommand.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/commands/GetNotificationConfigurationCommand.js +5 -5
  21. package/dist-cjs/commands/GetNotificationConfigurationCommand.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/commands/GetPolicyCommand.js +5 -5
  23. package/dist-cjs/commands/GetPolicyCommand.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/commands/GetProfileCommand.js +5 -5
  25. package/dist-cjs/commands/GetProfileCommand.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/commands/GetRecommendationsCommand.js +5 -5
  27. package/dist-cjs/commands/GetRecommendationsCommand.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/commands/ListFindingsReportsCommand.js +5 -5
  29. package/dist-cjs/commands/ListFindingsReportsCommand.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/commands/ListProfileTimesCommand.js +5 -5
  31. package/dist-cjs/commands/ListProfileTimesCommand.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/commands/ListProfilingGroupsCommand.js +5 -5
  33. package/dist-cjs/commands/ListProfilingGroupsCommand.js.map +1 -0
  34. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +5 -5
  35. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/commands/PostAgentProfileCommand.js +5 -5
  37. package/dist-cjs/commands/PostAgentProfileCommand.js.map +1 -0
  38. package/{dist/cjs → dist-cjs}/commands/PutPermissionCommand.js +5 -5
  39. package/dist-cjs/commands/PutPermissionCommand.js.map +1 -0
  40. package/{dist/cjs → dist-cjs}/commands/RemoveNotificationChannelCommand.js +5 -5
  41. package/dist-cjs/commands/RemoveNotificationChannelCommand.js.map +1 -0
  42. package/{dist/cjs → dist-cjs}/commands/RemovePermissionCommand.js +5 -5
  43. package/dist-cjs/commands/RemovePermissionCommand.js.map +1 -0
  44. package/{dist/cjs → dist-cjs}/commands/SubmitFeedbackCommand.js +5 -5
  45. package/dist-cjs/commands/SubmitFeedbackCommand.js.map +1 -0
  46. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +5 -5
  47. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  48. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -5
  49. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  50. package/{dist/cjs → dist-cjs}/commands/UpdateProfilingGroupCommand.js +5 -5
  51. package/dist-cjs/commands/UpdateProfilingGroupCommand.js.map +1 -0
  52. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  53. package/dist-cjs/endpoints.js.map +1 -0
  54. package/dist-cjs/index.js +35 -0
  55. package/dist-cjs/index.js.map +1 -0
  56. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  57. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  58. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  59. package/dist-cjs/models/models_0.js.map +1 -0
  60. package/{dist/cjs → dist-cjs}/pagination/GetFindingsReportAccountSummaryPaginator.js +0 -0
  61. package/dist-cjs/pagination/GetFindingsReportAccountSummaryPaginator.js.map +1 -0
  62. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  63. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  64. package/{dist/cjs → dist-cjs}/pagination/ListFindingsReportsPaginator.js +0 -0
  65. package/dist-cjs/pagination/ListFindingsReportsPaginator.js.map +1 -0
  66. package/{dist/cjs → dist-cjs}/pagination/ListProfileTimesPaginator.js +0 -0
  67. package/dist-cjs/pagination/ListProfileTimesPaginator.js.map +1 -0
  68. package/{dist/cjs → dist-cjs}/pagination/ListProfilingGroupsPaginator.js +0 -0
  69. package/dist-cjs/pagination/ListProfilingGroupsPaginator.js.map +1 -0
  70. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +116 -116
  71. package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
  72. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  73. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  74. package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
  75. package/dist-cjs/runtimeConfig.js.map +1 -0
  76. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  77. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  78. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  79. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  80. package/{dist/es → dist-es}/CodeGuruProfiler.js +1 -26
  81. package/dist-es/CodeGuruProfiler.js.map +1 -0
  82. package/{dist/es → dist-es}/CodeGuruProfilerClient.js +2 -32
  83. package/dist-es/CodeGuruProfilerClient.js.map +1 -0
  84. package/{dist/es → dist-es}/commands/AddNotificationChannelsCommand.js +4 -29
  85. package/dist-es/commands/AddNotificationChannelsCommand.js.map +1 -0
  86. package/{dist/es → dist-es}/commands/BatchGetFrameMetricDataCommand.js +4 -31
  87. package/dist-es/commands/BatchGetFrameMetricDataCommand.js.map +1 -0
  88. package/{dist/es → dist-es}/commands/ConfigureAgentCommand.js +4 -33
  89. package/dist-es/commands/ConfigureAgentCommand.js.map +1 -0
  90. package/{dist/es → dist-es}/commands/CreateProfilingGroupCommand.js +4 -29
  91. package/dist-es/commands/CreateProfilingGroupCommand.js.map +1 -0
  92. package/{dist/es → dist-es}/commands/DeleteProfilingGroupCommand.js +4 -29
  93. package/dist-es/commands/DeleteProfilingGroupCommand.js.map +1 -0
  94. package/{dist/es → dist-es}/commands/DescribeProfilingGroupCommand.js +4 -34
  95. package/dist-es/commands/DescribeProfilingGroupCommand.js.map +1 -0
  96. package/{dist/es → dist-es}/commands/GetFindingsReportAccountSummaryCommand.js +4 -35
  97. package/dist-es/commands/GetFindingsReportAccountSummaryCommand.js.map +1 -0
  98. package/{dist/es → dist-es}/commands/GetNotificationConfigurationCommand.js +4 -29
  99. package/dist-es/commands/GetNotificationConfigurationCommand.js.map +1 -0
  100. package/{dist/es → dist-es}/commands/GetPolicyCommand.js +4 -31
  101. package/dist-es/commands/GetPolicyCommand.js.map +1 -0
  102. package/dist-es/commands/GetProfileCommand.js +40 -0
  103. package/dist-es/commands/GetProfileCommand.js.map +1 -0
  104. package/{dist/es → dist-es}/commands/GetRecommendationsCommand.js +4 -40
  105. package/dist-es/commands/GetRecommendationsCommand.js.map +1 -0
  106. package/{dist/es → dist-es}/commands/ListFindingsReportsCommand.js +4 -29
  107. package/dist-es/commands/ListFindingsReportsCommand.js.map +1 -0
  108. package/{dist/es → dist-es}/commands/ListProfileTimesCommand.js +4 -30
  109. package/dist-es/commands/ListProfileTimesCommand.js.map +1 -0
  110. package/{dist/es → dist-es}/commands/ListProfilingGroupsCommand.js +4 -35
  111. package/dist-es/commands/ListProfilingGroupsCommand.js.map +1 -0
  112. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -31
  113. package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
  114. package/{dist/es → dist-es}/commands/PostAgentProfileCommand.js +4 -35
  115. package/dist-es/commands/PostAgentProfileCommand.js.map +1 -0
  116. package/dist-es/commands/PutPermissionCommand.js +40 -0
  117. package/dist-es/commands/PutPermissionCommand.js.map +1 -0
  118. package/{dist/es → dist-es}/commands/RemoveNotificationChannelCommand.js +4 -29
  119. package/dist-es/commands/RemoveNotificationChannelCommand.js.map +1 -0
  120. package/dist-es/commands/RemovePermissionCommand.js +40 -0
  121. package/dist-es/commands/RemovePermissionCommand.js.map +1 -0
  122. package/{dist/es → dist-es}/commands/SubmitFeedbackCommand.js +4 -30
  123. package/dist-es/commands/SubmitFeedbackCommand.js.map +1 -0
  124. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -31
  125. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  126. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -31
  127. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  128. package/{dist/es → dist-es}/commands/UpdateProfilingGroupCommand.js +4 -29
  129. package/dist-es/commands/UpdateProfilingGroupCommand.js.map +1 -0
  130. package/{dist/es → dist-es}/endpoints.js +1 -1
  131. package/dist-es/endpoints.js.map +1 -0
  132. package/{dist/es → dist-es}/index.js +0 -0
  133. package/dist-es/index.js.map +1 -0
  134. package/{dist/es → dist-es}/models/index.js +0 -0
  135. package/dist-es/models/index.js.map +1 -0
  136. package/{dist/es → dist-es}/models/models_0.js +0 -291
  137. package/dist-es/models/models_0.js.map +1 -0
  138. package/{dist/es → dist-es}/pagination/GetFindingsReportAccountSummaryPaginator.js +16 -28
  139. package/dist-es/pagination/GetFindingsReportAccountSummaryPaginator.js.map +1 -0
  140. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  141. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  142. package/{dist/es → dist-es}/pagination/ListFindingsReportsPaginator.js +16 -28
  143. package/dist-es/pagination/ListFindingsReportsPaginator.js.map +1 -0
  144. package/{dist/es → dist-es}/pagination/ListProfileTimesPaginator.js +16 -28
  145. package/dist-es/pagination/ListProfileTimesPaginator.js.map +1 -0
  146. package/{dist/es → dist-es}/pagination/ListProfilingGroupsPaginator.js +16 -28
  147. package/dist-es/pagination/ListProfilingGroupsPaginator.js.map +1 -0
  148. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +580 -585
  149. package/dist-es/protocols/Aws_restJson1.js.map +1 -0
  150. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  151. package/dist-es/runtimeConfig.browser.js.map +1 -0
  152. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  153. package/dist-es/runtimeConfig.js.map +1 -0
  154. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  155. package/dist-es/runtimeConfig.native.js.map +1 -0
  156. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  157. package/dist-es/runtimeConfig.shared.js.map +1 -0
  158. package/{dist/types → dist-types}/CodeGuruProfiler.d.ts +1 -1
  159. package/{dist/types → dist-types}/CodeGuruProfilerClient.d.ts +8 -8
  160. package/{dist/types → dist-types}/commands/AddNotificationChannelsCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/commands/BatchGetFrameMetricDataCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/commands/ConfigureAgentCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/commands/CreateProfilingGroupCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/commands/DeleteProfilingGroupCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/commands/DescribeProfilingGroupCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/commands/GetFindingsReportAccountSummaryCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/commands/GetNotificationConfigurationCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/commands/GetPolicyCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/commands/GetProfileCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/commands/GetRecommendationsCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/commands/ListFindingsReportsCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/commands/ListProfileTimesCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/commands/ListProfilingGroupsCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/commands/PostAgentProfileCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/commands/PutPermissionCommand.d.ts +2 -2
  177. package/{dist/types → dist-types}/commands/RemoveNotificationChannelCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/commands/RemovePermissionCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/commands/SubmitFeedbackCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/commands/UpdateProfilingGroupCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  184. package/{dist/types → dist-types}/index.d.ts +0 -0
  185. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  186. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  187. package/{dist/types → dist-types}/pagination/GetFindingsReportAccountSummaryPaginator.d.ts +1 -1
  188. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  189. package/{dist/types → dist-types}/pagination/ListFindingsReportsPaginator.d.ts +1 -1
  190. package/{dist/types → dist-types}/pagination/ListProfileTimesPaginator.d.ts +1 -1
  191. package/{dist/types → dist-types}/pagination/ListProfilingGroupsPaginator.d.ts +1 -1
  192. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  193. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  194. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  195. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  196. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  197. package/{dist/types → dist-types}/ts3.4/CodeGuruProfiler.d.ts +1 -1
  198. package/{dist/types → dist-types}/ts3.4/CodeGuruProfilerClient.d.ts +8 -8
  199. package/{dist/types → dist-types}/ts3.4/commands/AddNotificationChannelsCommand.d.ts +2 -2
  200. package/{dist/types → dist-types}/ts3.4/commands/BatchGetFrameMetricDataCommand.d.ts +2 -2
  201. package/{dist/types → dist-types}/ts3.4/commands/ConfigureAgentCommand.d.ts +2 -2
  202. package/{dist/types → dist-types}/ts3.4/commands/CreateProfilingGroupCommand.d.ts +2 -2
  203. package/{dist/types → dist-types}/ts3.4/commands/DeleteProfilingGroupCommand.d.ts +2 -2
  204. package/{dist/types → dist-types}/ts3.4/commands/DescribeProfilingGroupCommand.d.ts +2 -2
  205. package/{dist/types → dist-types}/ts3.4/commands/GetFindingsReportAccountSummaryCommand.d.ts +2 -2
  206. package/{dist/types → dist-types}/ts3.4/commands/GetNotificationConfigurationCommand.d.ts +2 -2
  207. package/{dist/types → dist-types}/ts3.4/commands/GetPolicyCommand.d.ts +2 -2
  208. package/{dist/types → dist-types}/ts3.4/commands/GetProfileCommand.d.ts +2 -2
  209. package/{dist/types → dist-types}/ts3.4/commands/GetRecommendationsCommand.d.ts +2 -2
  210. package/{dist/types → dist-types}/ts3.4/commands/ListFindingsReportsCommand.d.ts +2 -2
  211. package/{dist/types → dist-types}/ts3.4/commands/ListProfileTimesCommand.d.ts +2 -2
  212. package/{dist/types → dist-types}/ts3.4/commands/ListProfilingGroupsCommand.d.ts +2 -2
  213. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  214. package/{dist/types → dist-types}/ts3.4/commands/PostAgentProfileCommand.d.ts +2 -2
  215. package/{dist/types → dist-types}/ts3.4/commands/PutPermissionCommand.d.ts +2 -2
  216. package/{dist/types → dist-types}/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +2 -2
  217. package/{dist/types → dist-types}/ts3.4/commands/RemovePermissionCommand.d.ts +2 -2
  218. package/{dist/types → dist-types}/ts3.4/commands/SubmitFeedbackCommand.d.ts +2 -2
  219. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  220. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  221. package/{dist/types → dist-types}/ts3.4/commands/UpdateProfilingGroupCommand.d.ts +2 -2
  222. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  223. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  224. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  225. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  226. package/{dist/types → dist-types}/ts3.4/pagination/GetFindingsReportAccountSummaryPaginator.d.ts +1 -1
  227. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  228. package/{dist/types → dist-types}/ts3.4/pagination/ListFindingsReportsPaginator.d.ts +1 -1
  229. package/{dist/types → dist-types}/ts3.4/pagination/ListProfileTimesPaginator.d.ts +1 -1
  230. package/{dist/types → dist-types}/ts3.4/pagination/ListProfilingGroupsPaginator.d.ts +1 -1
  231. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  232. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  233. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  234. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  235. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  236. package/package.json +50 -50
  237. package/{CodeGuruProfiler.ts → src/CodeGuruProfiler.ts} +2 -1
  238. package/{CodeGuruProfilerClient.ts → src/CodeGuruProfilerClient.ts} +58 -57
  239. package/{commands → src/commands}/AddNotificationChannelsCommand.ts +8 -7
  240. package/{commands → src/commands}/BatchGetFrameMetricDataCommand.ts +8 -7
  241. package/{commands → src/commands}/ConfigureAgentCommand.ts +8 -7
  242. package/{commands → src/commands}/CreateProfilingGroupCommand.ts +8 -7
  243. package/{commands → src/commands}/DeleteProfilingGroupCommand.ts +8 -7
  244. package/{commands → src/commands}/DescribeProfilingGroupCommand.ts +8 -7
  245. package/{commands → src/commands}/GetFindingsReportAccountSummaryCommand.ts +8 -7
  246. package/{commands → src/commands}/GetNotificationConfigurationCommand.ts +8 -7
  247. package/{commands → src/commands}/GetPolicyCommand.ts +8 -7
  248. package/{commands → src/commands}/GetProfileCommand.ts +8 -7
  249. package/{commands → src/commands}/GetRecommendationsCommand.ts +8 -7
  250. package/{commands → src/commands}/ListFindingsReportsCommand.ts +8 -7
  251. package/{commands → src/commands}/ListProfileTimesCommand.ts +8 -7
  252. package/{commands → src/commands}/ListProfilingGroupsCommand.ts +8 -7
  253. package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
  254. package/{commands → src/commands}/PostAgentProfileCommand.ts +8 -7
  255. package/{commands → src/commands}/PutPermissionCommand.ts +8 -7
  256. package/{commands → src/commands}/RemoveNotificationChannelCommand.ts +8 -7
  257. package/{commands → src/commands}/RemovePermissionCommand.ts +8 -7
  258. package/{commands → src/commands}/SubmitFeedbackCommand.ts +8 -7
  259. package/{commands → src/commands}/TagResourceCommand.ts +8 -7
  260. package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
  261. package/{commands → src/commands}/UpdateProfilingGroupCommand.ts +8 -7
  262. package/{endpoints.ts → src/endpoints.ts} +1 -1
  263. package/{index.ts → src/index.ts} +0 -0
  264. package/{models → src/models}/index.ts +0 -0
  265. package/{models → src/models}/models_0.ts +0 -0
  266. package/{pagination → src/pagination}/GetFindingsReportAccountSummaryPaginator.ts +2 -1
  267. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  268. package/{pagination → src/pagination}/ListFindingsReportsPaginator.ts +2 -1
  269. package/{pagination → src/pagination}/ListProfileTimesPaginator.ts +2 -1
  270. package/{pagination → src/pagination}/ListProfilingGroupsPaginator.ts +2 -1
  271. package/{protocols → src/protocols}/Aws_restJson1.ts +46 -45
  272. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  273. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  274. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  275. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  276. package/tsconfig.es.json +1 -3
  277. package/tsconfig.json +7 -7
  278. package/tsconfig.types.json +9 -0
  279. package/dist/cjs/CodeGuruProfiler.js.map +0 -1
  280. package/dist/cjs/CodeGuruProfilerClient.js.map +0 -1
  281. package/dist/cjs/commands/AddNotificationChannelsCommand.js.map +0 -1
  282. package/dist/cjs/commands/BatchGetFrameMetricDataCommand.js.map +0 -1
  283. package/dist/cjs/commands/ConfigureAgentCommand.js.map +0 -1
  284. package/dist/cjs/commands/CreateProfilingGroupCommand.js.map +0 -1
  285. package/dist/cjs/commands/DeleteProfilingGroupCommand.js.map +0 -1
  286. package/dist/cjs/commands/DescribeProfilingGroupCommand.js.map +0 -1
  287. package/dist/cjs/commands/GetFindingsReportAccountSummaryCommand.js.map +0 -1
  288. package/dist/cjs/commands/GetNotificationConfigurationCommand.js.map +0 -1
  289. package/dist/cjs/commands/GetPolicyCommand.js.map +0 -1
  290. package/dist/cjs/commands/GetProfileCommand.js.map +0 -1
  291. package/dist/cjs/commands/GetRecommendationsCommand.js.map +0 -1
  292. package/dist/cjs/commands/ListFindingsReportsCommand.js.map +0 -1
  293. package/dist/cjs/commands/ListProfileTimesCommand.js.map +0 -1
  294. package/dist/cjs/commands/ListProfilingGroupsCommand.js.map +0 -1
  295. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  296. package/dist/cjs/commands/PostAgentProfileCommand.js.map +0 -1
  297. package/dist/cjs/commands/PutPermissionCommand.js.map +0 -1
  298. package/dist/cjs/commands/RemoveNotificationChannelCommand.js.map +0 -1
  299. package/dist/cjs/commands/RemovePermissionCommand.js.map +0 -1
  300. package/dist/cjs/commands/SubmitFeedbackCommand.js.map +0 -1
  301. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  302. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  303. package/dist/cjs/commands/UpdateProfilingGroupCommand.js.map +0 -1
  304. package/dist/cjs/endpoints.js.map +0 -1
  305. package/dist/cjs/index.js +0 -35
  306. package/dist/cjs/index.js.map +0 -1
  307. package/dist/cjs/models/models_0.js.map +0 -1
  308. package/dist/cjs/package.json +0 -93
  309. package/dist/cjs/pagination/GetFindingsReportAccountSummaryPaginator.js.map +0 -1
  310. package/dist/cjs/pagination/ListFindingsReportsPaginator.js.map +0 -1
  311. package/dist/cjs/pagination/ListProfileTimesPaginator.js.map +0 -1
  312. package/dist/cjs/pagination/ListProfilingGroupsPaginator.js.map +0 -1
  313. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  314. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  315. package/dist/cjs/runtimeConfig.js.map +0 -1
  316. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  317. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  318. package/dist/es/CodeGuruProfiler.js.map +0 -1
  319. package/dist/es/CodeGuruProfilerClient.js.map +0 -1
  320. package/dist/es/commands/AddNotificationChannelsCommand.js.map +0 -1
  321. package/dist/es/commands/BatchGetFrameMetricDataCommand.js.map +0 -1
  322. package/dist/es/commands/ConfigureAgentCommand.js.map +0 -1
  323. package/dist/es/commands/CreateProfilingGroupCommand.js.map +0 -1
  324. package/dist/es/commands/DeleteProfilingGroupCommand.js.map +0 -1
  325. package/dist/es/commands/DescribeProfilingGroupCommand.js.map +0 -1
  326. package/dist/es/commands/GetFindingsReportAccountSummaryCommand.js.map +0 -1
  327. package/dist/es/commands/GetNotificationConfigurationCommand.js.map +0 -1
  328. package/dist/es/commands/GetPolicyCommand.js.map +0 -1
  329. package/dist/es/commands/GetProfileCommand.js +0 -136
  330. package/dist/es/commands/GetProfileCommand.js.map +0 -1
  331. package/dist/es/commands/GetRecommendationsCommand.js.map +0 -1
  332. package/dist/es/commands/ListFindingsReportsCommand.js.map +0 -1
  333. package/dist/es/commands/ListProfileTimesCommand.js.map +0 -1
  334. package/dist/es/commands/ListProfilingGroupsCommand.js.map +0 -1
  335. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  336. package/dist/es/commands/PostAgentProfileCommand.js.map +0 -1
  337. package/dist/es/commands/PutPermissionCommand.js +0 -90
  338. package/dist/es/commands/PutPermissionCommand.js.map +0 -1
  339. package/dist/es/commands/RemoveNotificationChannelCommand.js.map +0 -1
  340. package/dist/es/commands/RemovePermissionCommand.js +0 -73
  341. package/dist/es/commands/RemovePermissionCommand.js.map +0 -1
  342. package/dist/es/commands/SubmitFeedbackCommand.js.map +0 -1
  343. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  344. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  345. package/dist/es/commands/UpdateProfilingGroupCommand.js.map +0 -1
  346. package/dist/es/endpoints.js.map +0 -1
  347. package/dist/es/index.js.map +0 -1
  348. package/dist/es/models/index.js.map +0 -1
  349. package/dist/es/models/models_0.js.map +0 -1
  350. package/dist/es/package.json +0 -93
  351. package/dist/es/pagination/GetFindingsReportAccountSummaryPaginator.js.map +0 -1
  352. package/dist/es/pagination/ListFindingsReportsPaginator.js.map +0 -1
  353. package/dist/es/pagination/ListProfileTimesPaginator.js.map +0 -1
  354. package/dist/es/pagination/ListProfilingGroupsPaginator.js.map +0 -1
  355. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  356. package/dist/es/runtimeConfig.browser.js.map +0 -1
  357. package/dist/es/runtimeConfig.js.map +0 -1
  358. package/dist/es/runtimeConfig.native.js.map +0 -1
  359. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
2
2
  import { CodeGuruProfiler } from "../CodeGuruProfiler";
3
3
  import { CodeGuruProfilerClient } from "../CodeGuruProfilerClient";
4
4
  import { GetFindingsReportAccountSummaryCommand, } from "../commands/GetFindingsReportAccountSummaryCommand";
5
- /**
6
- * @private
7
- */
8
5
  var makePagedClientRequest = function (client, input) {
9
6
  var args = [];
10
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
13
10
  return __awaiter(void 0, void 0, void 0, function () {
14
11
  return __generator(this, function (_a) {
15
12
  switch (_a.label) {
16
- case 0: return [4 /*yield*/, client.send.apply(client, __spreadArray([new GetFindingsReportAccountSummaryCommand(input)], __read(args), false))];
17
- case 1:
18
- // @ts-ignore
19
- return [2 /*return*/, _a.sent()];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new GetFindingsReportAccountSummaryCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
20
15
  }
21
16
  });
22
17
  });
23
18
  };
24
- /**
25
- * @private
26
- */
27
19
  var makePagedRequest = function (client, input) {
28
20
  var args = [];
29
21
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
32
24
  return __awaiter(void 0, void 0, void 0, function () {
33
25
  return __generator(this, function (_a) {
34
26
  switch (_a.label) {
35
- case 0: return [4 /*yield*/, client.getFindingsReportAccountSummary.apply(client, __spreadArray([input], __read(args), false))];
36
- case 1:
37
- // @ts-ignore
38
- return [2 /*return*/, _a.sent()];
27
+ case 0: return [4, client.getFindingsReportAccountSummary.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
39
29
  }
40
30
  });
41
31
  });
@@ -54,32 +44,30 @@ export function paginateGetFindingsReportAccountSummary(config, input) {
54
44
  hasNext = true;
55
45
  _a.label = 1;
56
46
  case 1:
57
- if (!hasNext) return [3 /*break*/, 9];
47
+ if (!hasNext) return [3, 9];
58
48
  input.nextToken = token;
59
49
  input["maxResults"] = config.pageSize;
60
- if (!(config.client instanceof CodeGuruProfiler)) return [3 /*break*/, 3];
61
- return [4 /*yield*/, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
50
+ if (!(config.client instanceof CodeGuruProfiler)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
62
52
  case 2:
63
53
  page = _a.sent();
64
- return [3 /*break*/, 6];
54
+ return [3, 6];
65
55
  case 3:
66
- if (!(config.client instanceof CodeGuruProfilerClient)) return [3 /*break*/, 5];
67
- return [4 /*yield*/, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
56
+ if (!(config.client instanceof CodeGuruProfilerClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
68
58
  case 4:
69
59
  page = _a.sent();
70
- return [3 /*break*/, 6];
60
+ return [3, 6];
71
61
  case 5: throw new Error("Invalid client, expected CodeGuruProfiler | CodeGuruProfilerClient");
72
- case 6: return [4 /*yield*/, __await(page)];
73
- case 7: return [4 /*yield*/, _a.sent()];
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
74
64
  case 8:
75
65
  _a.sent();
76
66
  token = page.nextToken;
77
67
  hasNext = !!token;
78
- return [3 /*break*/, 1];
79
- case 9: return [4 /*yield*/, __await(undefined)];
80
- case 10:
81
- // @ts-ignore
82
- return [2 /*return*/, _a.sent()];
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
83
71
  }
84
72
  });
85
73
  });
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetFindingsReportAccountSummaryPaginator.js","sourceRoot":"","sources":["../../src/pagination/GetFindingsReportAccountSummaryPaginator.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,sCAAsC,GAGvC,MAAM,oDAAoD,CAAC;AAM5D,IAAM,sBAAsB,GAAG,UAC7B,MAA8B,EAC9B,KAAkD;IAClD,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,IAAI,OAAX,MAAM,iBAAM,IAAI,sCAAsC,CAAC,KAAK,CAAC,UAAK,IAAI,KAAC;wBAApF,WAAO,SAA6E,EAAC;;;;CACtF,CAAC;AAIF,IAAM,gBAAgB,GAAG,UACvB,MAAwB,EACxB,KAAkD;IAClD,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,+BAA+B,OAAtC,MAAM,iBAAiC,KAAK,UAAK,IAAI,KAAC;wBAAnE,WAAO,SAA4D,EAAC;;;;CACrE,CAAC;AACF,MAAM,UAAiB,uCAAuC,CAC5D,MAA+C,EAC/C,KAAkD;IAClD,6BAA2B;SAA3B,UAA2B,EAA3B,qBAA2B,EAA3B,IAA2B;QAA3B,4CAA2B;;;;;;;oBAGvB,KAAK,GAAuC,MAAM,CAAC,aAAa,IAAI,SAAS,CAAC;oBAC9E,OAAO,GAAG,IAAI,CAAC;;;yBAEZ,OAAO;oBACZ,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC;oBACxB,KAAK,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;yBAClC,CAAA,MAAM,CAAC,MAAM,YAAY,gBAAgB,CAAA,EAAzC,cAAyC;oBACpC,mBAAM,gBAAgB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAA3E,IAAI,GAAG,SAAoE,CAAC;;;yBACnE,CAAA,MAAM,CAAC,MAAM,YAAY,sBAAsB,CAAA,EAA/C,cAA+C;oBACjD,mBAAM,sBAAsB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAAjF,IAAI,GAAG,SAA0E,CAAC;;wBAElF,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;2CAElF,IAAI;wBAAV,sBAAU;;oBAAV,SAAU,CAAC;oBACX,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;oBACvB,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC;;2CAGb,SAAS;yBAAhB,sBAAiB;;;;CAClB"}
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../pagination/Interfaces.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../src/pagination/Interfaces.ts"],"names":[],"mappings":""}
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
2
2
  import { CodeGuruProfiler } from "../CodeGuruProfiler";
3
3
  import { CodeGuruProfilerClient } from "../CodeGuruProfilerClient";
4
4
  import { ListFindingsReportsCommand, } from "../commands/ListFindingsReportsCommand";
5
- /**
6
- * @private
7
- */
8
5
  var makePagedClientRequest = function (client, input) {
9
6
  var args = [];
10
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
13
10
  return __awaiter(void 0, void 0, void 0, function () {
14
11
  return __generator(this, function (_a) {
15
12
  switch (_a.label) {
16
- case 0: return [4 /*yield*/, client.send.apply(client, __spreadArray([new ListFindingsReportsCommand(input)], __read(args), false))];
17
- case 1:
18
- // @ts-ignore
19
- return [2 /*return*/, _a.sent()];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListFindingsReportsCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
20
15
  }
21
16
  });
22
17
  });
23
18
  };
24
- /**
25
- * @private
26
- */
27
19
  var makePagedRequest = function (client, input) {
28
20
  var args = [];
29
21
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
32
24
  return __awaiter(void 0, void 0, void 0, function () {
33
25
  return __generator(this, function (_a) {
34
26
  switch (_a.label) {
35
- case 0: return [4 /*yield*/, client.listFindingsReports.apply(client, __spreadArray([input], __read(args), false))];
36
- case 1:
37
- // @ts-ignore
38
- return [2 /*return*/, _a.sent()];
27
+ case 0: return [4, client.listFindingsReports.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
39
29
  }
40
30
  });
41
31
  });
@@ -54,32 +44,30 @@ export function paginateListFindingsReports(config, input) {
54
44
  hasNext = true;
55
45
  _a.label = 1;
56
46
  case 1:
57
- if (!hasNext) return [3 /*break*/, 9];
47
+ if (!hasNext) return [3, 9];
58
48
  input.nextToken = token;
59
49
  input["maxResults"] = config.pageSize;
60
- if (!(config.client instanceof CodeGuruProfiler)) return [3 /*break*/, 3];
61
- return [4 /*yield*/, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
50
+ if (!(config.client instanceof CodeGuruProfiler)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
62
52
  case 2:
63
53
  page = _a.sent();
64
- return [3 /*break*/, 6];
54
+ return [3, 6];
65
55
  case 3:
66
- if (!(config.client instanceof CodeGuruProfilerClient)) return [3 /*break*/, 5];
67
- return [4 /*yield*/, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
56
+ if (!(config.client instanceof CodeGuruProfilerClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
68
58
  case 4:
69
59
  page = _a.sent();
70
- return [3 /*break*/, 6];
60
+ return [3, 6];
71
61
  case 5: throw new Error("Invalid client, expected CodeGuruProfiler | CodeGuruProfilerClient");
72
- case 6: return [4 /*yield*/, __await(page)];
73
- case 7: return [4 /*yield*/, _a.sent()];
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
74
64
  case 8:
75
65
  _a.sent();
76
66
  token = page.nextToken;
77
67
  hasNext = !!token;
78
- return [3 /*break*/, 1];
79
- case 9: return [4 /*yield*/, __await(undefined)];
80
- case 10:
81
- // @ts-ignore
82
- return [2 /*return*/, _a.sent()];
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
83
71
  }
84
72
  });
85
73
  });
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListFindingsReportsPaginator.js","sourceRoot":"","sources":["../../src/pagination/ListFindingsReportsPaginator.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,0BAA0B,GAG3B,MAAM,wCAAwC,CAAC;AAMhD,IAAM,sBAAsB,GAAG,UAC7B,MAA8B,EAC9B,KAAsC;IACtC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,IAAI,OAAX,MAAM,iBAAM,IAAI,0BAA0B,CAAC,KAAK,CAAC,UAAK,IAAI,KAAC;wBAAxE,WAAO,SAAiE,EAAC;;;;CAC1E,CAAC;AAIF,IAAM,gBAAgB,GAAG,UACvB,MAAwB,EACxB,KAAsC;IACtC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,mBAAmB,OAA1B,MAAM,iBAAqB,KAAK,UAAK,IAAI,KAAC;wBAAvD,WAAO,SAAgD,EAAC;;;;CACzD,CAAC;AACF,MAAM,UAAiB,2BAA2B,CAChD,MAA+C,EAC/C,KAAsC;IACtC,6BAA2B;SAA3B,UAA2B,EAA3B,qBAA2B,EAA3B,IAA2B;QAA3B,4CAA2B;;;;;;;oBAGvB,KAAK,GAAuC,MAAM,CAAC,aAAa,IAAI,SAAS,CAAC;oBAC9E,OAAO,GAAG,IAAI,CAAC;;;yBAEZ,OAAO;oBACZ,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC;oBACxB,KAAK,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;yBAClC,CAAA,MAAM,CAAC,MAAM,YAAY,gBAAgB,CAAA,EAAzC,cAAyC;oBACpC,mBAAM,gBAAgB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAA3E,IAAI,GAAG,SAAoE,CAAC;;;yBACnE,CAAA,MAAM,CAAC,MAAM,YAAY,sBAAsB,CAAA,EAA/C,cAA+C;oBACjD,mBAAM,sBAAsB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAAjF,IAAI,GAAG,SAA0E,CAAC;;wBAElF,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;2CAElF,IAAI;wBAAV,sBAAU;;oBAAV,SAAU,CAAC;oBACX,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;oBACvB,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC;;2CAGb,SAAS;yBAAhB,sBAAiB;;;;CAClB"}
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
2
2
  import { CodeGuruProfiler } from "../CodeGuruProfiler";
3
3
  import { CodeGuruProfilerClient } from "../CodeGuruProfilerClient";
4
4
  import { ListProfileTimesCommand, } from "../commands/ListProfileTimesCommand";
5
- /**
6
- * @private
7
- */
8
5
  var makePagedClientRequest = function (client, input) {
9
6
  var args = [];
10
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
13
10
  return __awaiter(void 0, void 0, void 0, function () {
14
11
  return __generator(this, function (_a) {
15
12
  switch (_a.label) {
16
- case 0: return [4 /*yield*/, client.send.apply(client, __spreadArray([new ListProfileTimesCommand(input)], __read(args), false))];
17
- case 1:
18
- // @ts-ignore
19
- return [2 /*return*/, _a.sent()];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListProfileTimesCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
20
15
  }
21
16
  });
22
17
  });
23
18
  };
24
- /**
25
- * @private
26
- */
27
19
  var makePagedRequest = function (client, input) {
28
20
  var args = [];
29
21
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
32
24
  return __awaiter(void 0, void 0, void 0, function () {
33
25
  return __generator(this, function (_a) {
34
26
  switch (_a.label) {
35
- case 0: return [4 /*yield*/, client.listProfileTimes.apply(client, __spreadArray([input], __read(args), false))];
36
- case 1:
37
- // @ts-ignore
38
- return [2 /*return*/, _a.sent()];
27
+ case 0: return [4, client.listProfileTimes.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
39
29
  }
40
30
  });
41
31
  });
@@ -54,32 +44,30 @@ export function paginateListProfileTimes(config, input) {
54
44
  hasNext = true;
55
45
  _a.label = 1;
56
46
  case 1:
57
- if (!hasNext) return [3 /*break*/, 9];
47
+ if (!hasNext) return [3, 9];
58
48
  input.nextToken = token;
59
49
  input["maxResults"] = config.pageSize;
60
- if (!(config.client instanceof CodeGuruProfiler)) return [3 /*break*/, 3];
61
- return [4 /*yield*/, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
50
+ if (!(config.client instanceof CodeGuruProfiler)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
62
52
  case 2:
63
53
  page = _a.sent();
64
- return [3 /*break*/, 6];
54
+ return [3, 6];
65
55
  case 3:
66
- if (!(config.client instanceof CodeGuruProfilerClient)) return [3 /*break*/, 5];
67
- return [4 /*yield*/, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
56
+ if (!(config.client instanceof CodeGuruProfilerClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
68
58
  case 4:
69
59
  page = _a.sent();
70
- return [3 /*break*/, 6];
60
+ return [3, 6];
71
61
  case 5: throw new Error("Invalid client, expected CodeGuruProfiler | CodeGuruProfilerClient");
72
- case 6: return [4 /*yield*/, __await(page)];
73
- case 7: return [4 /*yield*/, _a.sent()];
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
74
64
  case 8:
75
65
  _a.sent();
76
66
  token = page.nextToken;
77
67
  hasNext = !!token;
78
- return [3 /*break*/, 1];
79
- case 9: return [4 /*yield*/, __await(undefined)];
80
- case 10:
81
- // @ts-ignore
82
- return [2 /*return*/, _a.sent()];
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
83
71
  }
84
72
  });
85
73
  });
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListProfileTimesPaginator.js","sourceRoot":"","sources":["../../src/pagination/ListProfileTimesPaginator.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,uBAAuB,GAGxB,MAAM,qCAAqC,CAAC;AAM7C,IAAM,sBAAsB,GAAG,UAC7B,MAA8B,EAC9B,KAAmC;IACnC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,IAAI,OAAX,MAAM,iBAAM,IAAI,uBAAuB,CAAC,KAAK,CAAC,UAAK,IAAI,KAAC;wBAArE,WAAO,SAA8D,EAAC;;;;CACvE,CAAC;AAIF,IAAM,gBAAgB,GAAG,UACvB,MAAwB,EACxB,KAAmC;IACnC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,gBAAgB,OAAvB,MAAM,iBAAkB,KAAK,UAAK,IAAI,KAAC;wBAApD,WAAO,SAA6C,EAAC;;;;CACtD,CAAC;AACF,MAAM,UAAiB,wBAAwB,CAC7C,MAA+C,EAC/C,KAAmC;IACnC,6BAA2B;SAA3B,UAA2B,EAA3B,qBAA2B,EAA3B,IAA2B;QAA3B,4CAA2B;;;;;;;oBAGvB,KAAK,GAAuC,MAAM,CAAC,aAAa,IAAI,SAAS,CAAC;oBAC9E,OAAO,GAAG,IAAI,CAAC;;;yBAEZ,OAAO;oBACZ,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC;oBACxB,KAAK,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;yBAClC,CAAA,MAAM,CAAC,MAAM,YAAY,gBAAgB,CAAA,EAAzC,cAAyC;oBACpC,mBAAM,gBAAgB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAA3E,IAAI,GAAG,SAAoE,CAAC;;;yBACnE,CAAA,MAAM,CAAC,MAAM,YAAY,sBAAsB,CAAA,EAA/C,cAA+C;oBACjD,mBAAM,sBAAsB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAAjF,IAAI,GAAG,SAA0E,CAAC;;wBAElF,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;2CAElF,IAAI;wBAAV,sBAAU;;oBAAV,SAAU,CAAC;oBACX,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;oBACvB,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC;;2CAGb,SAAS;yBAAhB,sBAAiB;;;;CAClB"}
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
2
2
  import { CodeGuruProfiler } from "../CodeGuruProfiler";
3
3
  import { CodeGuruProfilerClient } from "../CodeGuruProfilerClient";
4
4
  import { ListProfilingGroupsCommand, } from "../commands/ListProfilingGroupsCommand";
5
- /**
6
- * @private
7
- */
8
5
  var makePagedClientRequest = function (client, input) {
9
6
  var args = [];
10
7
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
13
10
  return __awaiter(void 0, void 0, void 0, function () {
14
11
  return __generator(this, function (_a) {
15
12
  switch (_a.label) {
16
- case 0: return [4 /*yield*/, client.send.apply(client, __spreadArray([new ListProfilingGroupsCommand(input)], __read(args), false))];
17
- case 1:
18
- // @ts-ignore
19
- return [2 /*return*/, _a.sent()];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListProfilingGroupsCommand(input)], __read(args)))];
14
+ case 1: return [2, _a.sent()];
20
15
  }
21
16
  });
22
17
  });
23
18
  };
24
- /**
25
- * @private
26
- */
27
19
  var makePagedRequest = function (client, input) {
28
20
  var args = [];
29
21
  for (var _i = 2; _i < arguments.length; _i++) {
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
32
24
  return __awaiter(void 0, void 0, void 0, function () {
33
25
  return __generator(this, function (_a) {
34
26
  switch (_a.label) {
35
- case 0: return [4 /*yield*/, client.listProfilingGroups.apply(client, __spreadArray([input], __read(args), false))];
36
- case 1:
37
- // @ts-ignore
38
- return [2 /*return*/, _a.sent()];
27
+ case 0: return [4, client.listProfilingGroups.apply(client, __spreadArray([input], __read(args)))];
28
+ case 1: return [2, _a.sent()];
39
29
  }
40
30
  });
41
31
  });
@@ -54,32 +44,30 @@ export function paginateListProfilingGroups(config, input) {
54
44
  hasNext = true;
55
45
  _a.label = 1;
56
46
  case 1:
57
- if (!hasNext) return [3 /*break*/, 9];
47
+ if (!hasNext) return [3, 9];
58
48
  input.nextToken = token;
59
49
  input["maxResults"] = config.pageSize;
60
- if (!(config.client instanceof CodeGuruProfiler)) return [3 /*break*/, 3];
61
- return [4 /*yield*/, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
50
+ if (!(config.client instanceof CodeGuruProfiler)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
62
52
  case 2:
63
53
  page = _a.sent();
64
- return [3 /*break*/, 6];
54
+ return [3, 6];
65
55
  case 3:
66
- if (!(config.client instanceof CodeGuruProfilerClient)) return [3 /*break*/, 5];
67
- return [4 /*yield*/, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
56
+ if (!(config.client instanceof CodeGuruProfilerClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
68
58
  case 4:
69
59
  page = _a.sent();
70
- return [3 /*break*/, 6];
60
+ return [3, 6];
71
61
  case 5: throw new Error("Invalid client, expected CodeGuruProfiler | CodeGuruProfilerClient");
72
- case 6: return [4 /*yield*/, __await(page)];
73
- case 7: return [4 /*yield*/, _a.sent()];
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
74
64
  case 8:
75
65
  _a.sent();
76
66
  token = page.nextToken;
77
67
  hasNext = !!token;
78
- return [3 /*break*/, 1];
79
- case 9: return [4 /*yield*/, __await(undefined)];
80
- case 10:
81
- // @ts-ignore
82
- return [2 /*return*/, _a.sent()];
68
+ return [3, 1];
69
+ case 9: return [4, __await(undefined)];
70
+ case 10: return [2, _a.sent()];
83
71
  }
84
72
  });
85
73
  });
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListProfilingGroupsPaginator.js","sourceRoot":"","sources":["../../src/pagination/ListProfilingGroupsPaginator.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,0BAA0B,GAG3B,MAAM,wCAAwC,CAAC;AAMhD,IAAM,sBAAsB,GAAG,UAC7B,MAA8B,EAC9B,KAAsC;IACtC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,IAAI,OAAX,MAAM,iBAAM,IAAI,0BAA0B,CAAC,KAAK,CAAC,UAAK,IAAI,KAAC;wBAAxE,WAAO,SAAiE,EAAC;;;;CAC1E,CAAC;AAIF,IAAM,gBAAgB,GAAG,UACvB,MAAwB,EACxB,KAAsC;IACtC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,mBAAmB,OAA1B,MAAM,iBAAqB,KAAK,UAAK,IAAI,KAAC;wBAAvD,WAAO,SAAgD,EAAC;;;;CACzD,CAAC;AACF,MAAM,UAAiB,2BAA2B,CAChD,MAA+C,EAC/C,KAAsC;IACtC,6BAA2B;SAA3B,UAA2B,EAA3B,qBAA2B,EAA3B,IAA2B;QAA3B,4CAA2B;;;;;;;oBAGvB,KAAK,GAAuC,MAAM,CAAC,aAAa,IAAI,SAAS,CAAC;oBAC9E,OAAO,GAAG,IAAI,CAAC;;;yBAEZ,OAAO;oBACZ,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC;oBACxB,KAAK,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;yBAClC,CAAA,MAAM,CAAC,MAAM,YAAY,gBAAgB,CAAA,EAAzC,cAAyC;oBACpC,mBAAM,gBAAgB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAA3E,IAAI,GAAG,SAAoE,CAAC;;;yBACnE,CAAA,MAAM,CAAC,MAAM,YAAY,sBAAsB,CAAA,EAA/C,cAA+C;oBACjD,mBAAM,sBAAsB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAAjF,IAAI,GAAG,SAA0E,CAAC;;wBAElF,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;2CAElF,IAAI;wBAAV,sBAAU;;oBAAV,SAAU,CAAC;oBACX,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;oBACvB,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC;;2CAGb,SAAS;yBAAhB,sBAAiB;;;;CAClB"}