@aws-sdk/client-wellarchitected 3.477.0 → 3.481.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 (361) hide show
  1. package/dist-cjs/commands/AssociateLensesCommand.js +18 -41
  2. package/dist-cjs/commands/AssociateProfilesCommand.js +18 -41
  3. package/dist-cjs/commands/CreateLensShareCommand.js +18 -41
  4. package/dist-cjs/commands/CreateLensVersionCommand.js +18 -41
  5. package/dist-cjs/commands/CreateMilestoneCommand.js +18 -41
  6. package/dist-cjs/commands/CreateProfileCommand.js +18 -41
  7. package/dist-cjs/commands/CreateProfileShareCommand.js +18 -41
  8. package/dist-cjs/commands/CreateReviewTemplateCommand.js +18 -41
  9. package/dist-cjs/commands/CreateTemplateShareCommand.js +18 -41
  10. package/dist-cjs/commands/CreateWorkloadCommand.js +18 -41
  11. package/dist-cjs/commands/CreateWorkloadShareCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteLensCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteLensShareCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteProfileCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteProfileShareCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteReviewTemplateCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteTemplateShareCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteWorkloadCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteWorkloadShareCommand.js +18 -41
  20. package/dist-cjs/commands/DisassociateLensesCommand.js +18 -41
  21. package/dist-cjs/commands/DisassociateProfilesCommand.js +18 -41
  22. package/dist-cjs/commands/ExportLensCommand.js +18 -41
  23. package/dist-cjs/commands/GetAnswerCommand.js +18 -41
  24. package/dist-cjs/commands/GetConsolidatedReportCommand.js +18 -41
  25. package/dist-cjs/commands/GetLensCommand.js +18 -41
  26. package/dist-cjs/commands/GetLensReviewCommand.js +18 -41
  27. package/dist-cjs/commands/GetLensReviewReportCommand.js +18 -41
  28. package/dist-cjs/commands/GetLensVersionDifferenceCommand.js +18 -41
  29. package/dist-cjs/commands/GetMilestoneCommand.js +18 -41
  30. package/dist-cjs/commands/GetProfileCommand.js +18 -41
  31. package/dist-cjs/commands/GetProfileTemplateCommand.js +18 -41
  32. package/dist-cjs/commands/GetReviewTemplateAnswerCommand.js +18 -41
  33. package/dist-cjs/commands/GetReviewTemplateCommand.js +18 -41
  34. package/dist-cjs/commands/GetReviewTemplateLensReviewCommand.js +18 -41
  35. package/dist-cjs/commands/GetWorkloadCommand.js +18 -41
  36. package/dist-cjs/commands/ImportLensCommand.js +18 -41
  37. package/dist-cjs/commands/ListAnswersCommand.js +18 -41
  38. package/dist-cjs/commands/ListCheckDetailsCommand.js +18 -41
  39. package/dist-cjs/commands/ListCheckSummariesCommand.js +18 -41
  40. package/dist-cjs/commands/ListLensReviewImprovementsCommand.js +18 -41
  41. package/dist-cjs/commands/ListLensReviewsCommand.js +18 -41
  42. package/dist-cjs/commands/ListLensSharesCommand.js +18 -41
  43. package/dist-cjs/commands/ListLensesCommand.js +18 -41
  44. package/dist-cjs/commands/ListMilestonesCommand.js +18 -41
  45. package/dist-cjs/commands/ListNotificationsCommand.js +18 -41
  46. package/dist-cjs/commands/ListProfileNotificationsCommand.js +18 -41
  47. package/dist-cjs/commands/ListProfileSharesCommand.js +18 -41
  48. package/dist-cjs/commands/ListProfilesCommand.js +18 -41
  49. package/dist-cjs/commands/ListReviewTemplateAnswersCommand.js +18 -41
  50. package/dist-cjs/commands/ListReviewTemplatesCommand.js +18 -41
  51. package/dist-cjs/commands/ListShareInvitationsCommand.js +18 -41
  52. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  53. package/dist-cjs/commands/ListTemplateSharesCommand.js +18 -41
  54. package/dist-cjs/commands/ListWorkloadSharesCommand.js +18 -41
  55. package/dist-cjs/commands/ListWorkloadsCommand.js +18 -41
  56. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  57. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  58. package/dist-cjs/commands/UpdateAnswerCommand.js +18 -41
  59. package/dist-cjs/commands/UpdateGlobalSettingsCommand.js +18 -41
  60. package/dist-cjs/commands/UpdateLensReviewCommand.js +18 -41
  61. package/dist-cjs/commands/UpdateProfileCommand.js +18 -41
  62. package/dist-cjs/commands/UpdateReviewTemplateAnswerCommand.js +18 -41
  63. package/dist-cjs/commands/UpdateReviewTemplateCommand.js +18 -41
  64. package/dist-cjs/commands/UpdateReviewTemplateLensReviewCommand.js +18 -41
  65. package/dist-cjs/commands/UpdateShareInvitationCommand.js +18 -41
  66. package/dist-cjs/commands/UpdateWorkloadCommand.js +18 -41
  67. package/dist-cjs/commands/UpdateWorkloadShareCommand.js +18 -41
  68. package/dist-cjs/commands/UpgradeLensReviewCommand.js +18 -41
  69. package/dist-cjs/commands/UpgradeProfileVersionCommand.js +18 -41
  70. package/dist-cjs/commands/UpgradeReviewTemplateLensReviewCommand.js +18 -41
  71. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  72. package/dist-cjs/pagination/GetConsolidatedReportPaginator.js +2 -24
  73. package/dist-cjs/pagination/ListAnswersPaginator.js +2 -24
  74. package/dist-cjs/pagination/ListCheckDetailsPaginator.js +2 -24
  75. package/dist-cjs/pagination/ListCheckSummariesPaginator.js +2 -24
  76. package/dist-cjs/pagination/ListLensReviewImprovementsPaginator.js +2 -24
  77. package/dist-cjs/pagination/ListLensReviewsPaginator.js +2 -24
  78. package/dist-cjs/pagination/ListLensSharesPaginator.js +2 -24
  79. package/dist-cjs/pagination/ListLensesPaginator.js +2 -24
  80. package/dist-cjs/pagination/ListMilestonesPaginator.js +2 -24
  81. package/dist-cjs/pagination/ListNotificationsPaginator.js +2 -24
  82. package/dist-cjs/pagination/ListProfileNotificationsPaginator.js +2 -24
  83. package/dist-cjs/pagination/ListProfileSharesPaginator.js +2 -24
  84. package/dist-cjs/pagination/ListProfilesPaginator.js +2 -24
  85. package/dist-cjs/pagination/ListReviewTemplateAnswersPaginator.js +2 -24
  86. package/dist-cjs/pagination/ListReviewTemplatesPaginator.js +2 -24
  87. package/dist-cjs/pagination/ListShareInvitationsPaginator.js +2 -24
  88. package/dist-cjs/pagination/ListTemplateSharesPaginator.js +2 -24
  89. package/dist-cjs/pagination/ListWorkloadSharesPaginator.js +2 -24
  90. package/dist-cjs/pagination/ListWorkloadsPaginator.js +2 -24
  91. package/dist-es/commands/AssociateLensesCommand.js +18 -41
  92. package/dist-es/commands/AssociateProfilesCommand.js +18 -41
  93. package/dist-es/commands/CreateLensShareCommand.js +18 -41
  94. package/dist-es/commands/CreateLensVersionCommand.js +18 -41
  95. package/dist-es/commands/CreateMilestoneCommand.js +18 -41
  96. package/dist-es/commands/CreateProfileCommand.js +18 -41
  97. package/dist-es/commands/CreateProfileShareCommand.js +18 -41
  98. package/dist-es/commands/CreateReviewTemplateCommand.js +18 -41
  99. package/dist-es/commands/CreateTemplateShareCommand.js +18 -41
  100. package/dist-es/commands/CreateWorkloadCommand.js +18 -41
  101. package/dist-es/commands/CreateWorkloadShareCommand.js +18 -41
  102. package/dist-es/commands/DeleteLensCommand.js +18 -41
  103. package/dist-es/commands/DeleteLensShareCommand.js +18 -41
  104. package/dist-es/commands/DeleteProfileCommand.js +18 -41
  105. package/dist-es/commands/DeleteProfileShareCommand.js +18 -41
  106. package/dist-es/commands/DeleteReviewTemplateCommand.js +18 -41
  107. package/dist-es/commands/DeleteTemplateShareCommand.js +18 -41
  108. package/dist-es/commands/DeleteWorkloadCommand.js +18 -41
  109. package/dist-es/commands/DeleteWorkloadShareCommand.js +18 -41
  110. package/dist-es/commands/DisassociateLensesCommand.js +18 -41
  111. package/dist-es/commands/DisassociateProfilesCommand.js +18 -41
  112. package/dist-es/commands/ExportLensCommand.js +18 -41
  113. package/dist-es/commands/GetAnswerCommand.js +18 -41
  114. package/dist-es/commands/GetConsolidatedReportCommand.js +18 -41
  115. package/dist-es/commands/GetLensCommand.js +18 -41
  116. package/dist-es/commands/GetLensReviewCommand.js +18 -41
  117. package/dist-es/commands/GetLensReviewReportCommand.js +18 -41
  118. package/dist-es/commands/GetLensVersionDifferenceCommand.js +18 -41
  119. package/dist-es/commands/GetMilestoneCommand.js +18 -41
  120. package/dist-es/commands/GetProfileCommand.js +18 -41
  121. package/dist-es/commands/GetProfileTemplateCommand.js +18 -41
  122. package/dist-es/commands/GetReviewTemplateAnswerCommand.js +18 -41
  123. package/dist-es/commands/GetReviewTemplateCommand.js +18 -41
  124. package/dist-es/commands/GetReviewTemplateLensReviewCommand.js +18 -41
  125. package/dist-es/commands/GetWorkloadCommand.js +18 -41
  126. package/dist-es/commands/ImportLensCommand.js +18 -41
  127. package/dist-es/commands/ListAnswersCommand.js +18 -41
  128. package/dist-es/commands/ListCheckDetailsCommand.js +18 -41
  129. package/dist-es/commands/ListCheckSummariesCommand.js +18 -41
  130. package/dist-es/commands/ListLensReviewImprovementsCommand.js +18 -41
  131. package/dist-es/commands/ListLensReviewsCommand.js +18 -41
  132. package/dist-es/commands/ListLensSharesCommand.js +18 -41
  133. package/dist-es/commands/ListLensesCommand.js +18 -41
  134. package/dist-es/commands/ListMilestonesCommand.js +18 -41
  135. package/dist-es/commands/ListNotificationsCommand.js +18 -41
  136. package/dist-es/commands/ListProfileNotificationsCommand.js +18 -41
  137. package/dist-es/commands/ListProfileSharesCommand.js +18 -41
  138. package/dist-es/commands/ListProfilesCommand.js +18 -41
  139. package/dist-es/commands/ListReviewTemplateAnswersCommand.js +18 -41
  140. package/dist-es/commands/ListReviewTemplatesCommand.js +18 -41
  141. package/dist-es/commands/ListShareInvitationsCommand.js +18 -41
  142. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  143. package/dist-es/commands/ListTemplateSharesCommand.js +18 -41
  144. package/dist-es/commands/ListWorkloadSharesCommand.js +18 -41
  145. package/dist-es/commands/ListWorkloadsCommand.js +18 -41
  146. package/dist-es/commands/TagResourceCommand.js +18 -41
  147. package/dist-es/commands/UntagResourceCommand.js +18 -41
  148. package/dist-es/commands/UpdateAnswerCommand.js +18 -41
  149. package/dist-es/commands/UpdateGlobalSettingsCommand.js +18 -41
  150. package/dist-es/commands/UpdateLensReviewCommand.js +18 -41
  151. package/dist-es/commands/UpdateProfileCommand.js +18 -41
  152. package/dist-es/commands/UpdateReviewTemplateAnswerCommand.js +18 -41
  153. package/dist-es/commands/UpdateReviewTemplateCommand.js +18 -41
  154. package/dist-es/commands/UpdateReviewTemplateLensReviewCommand.js +18 -41
  155. package/dist-es/commands/UpdateShareInvitationCommand.js +18 -41
  156. package/dist-es/commands/UpdateWorkloadCommand.js +18 -41
  157. package/dist-es/commands/UpdateWorkloadShareCommand.js +18 -41
  158. package/dist-es/commands/UpgradeLensReviewCommand.js +18 -41
  159. package/dist-es/commands/UpgradeProfileVersionCommand.js +18 -41
  160. package/dist-es/commands/UpgradeReviewTemplateLensReviewCommand.js +18 -41
  161. package/dist-es/endpoint/EndpointParameters.js +6 -0
  162. package/dist-es/pagination/GetConsolidatedReportPaginator.js +2 -23
  163. package/dist-es/pagination/ListAnswersPaginator.js +2 -23
  164. package/dist-es/pagination/ListCheckDetailsPaginator.js +2 -23
  165. package/dist-es/pagination/ListCheckSummariesPaginator.js +2 -23
  166. package/dist-es/pagination/ListLensReviewImprovementsPaginator.js +2 -23
  167. package/dist-es/pagination/ListLensReviewsPaginator.js +2 -23
  168. package/dist-es/pagination/ListLensSharesPaginator.js +2 -23
  169. package/dist-es/pagination/ListLensesPaginator.js +2 -23
  170. package/dist-es/pagination/ListMilestonesPaginator.js +2 -23
  171. package/dist-es/pagination/ListNotificationsPaginator.js +2 -23
  172. package/dist-es/pagination/ListProfileNotificationsPaginator.js +2 -23
  173. package/dist-es/pagination/ListProfileSharesPaginator.js +2 -23
  174. package/dist-es/pagination/ListProfilesPaginator.js +2 -23
  175. package/dist-es/pagination/ListReviewTemplateAnswersPaginator.js +2 -23
  176. package/dist-es/pagination/ListReviewTemplatesPaginator.js +2 -23
  177. package/dist-es/pagination/ListShareInvitationsPaginator.js +2 -23
  178. package/dist-es/pagination/ListTemplateSharesPaginator.js +2 -23
  179. package/dist-es/pagination/ListWorkloadSharesPaginator.js +2 -23
  180. package/dist-es/pagination/ListWorkloadsPaginator.js +2 -23
  181. package/dist-types/commands/AssociateLensesCommand.d.ts +6 -21
  182. package/dist-types/commands/AssociateProfilesCommand.d.ts +6 -21
  183. package/dist-types/commands/CreateLensShareCommand.d.ts +6 -21
  184. package/dist-types/commands/CreateLensVersionCommand.d.ts +6 -21
  185. package/dist-types/commands/CreateMilestoneCommand.d.ts +6 -21
  186. package/dist-types/commands/CreateProfileCommand.d.ts +6 -21
  187. package/dist-types/commands/CreateProfileShareCommand.d.ts +6 -21
  188. package/dist-types/commands/CreateReviewTemplateCommand.d.ts +6 -21
  189. package/dist-types/commands/CreateTemplateShareCommand.d.ts +6 -21
  190. package/dist-types/commands/CreateWorkloadCommand.d.ts +6 -21
  191. package/dist-types/commands/CreateWorkloadShareCommand.d.ts +6 -21
  192. package/dist-types/commands/DeleteLensCommand.d.ts +6 -21
  193. package/dist-types/commands/DeleteLensShareCommand.d.ts +6 -21
  194. package/dist-types/commands/DeleteProfileCommand.d.ts +6 -21
  195. package/dist-types/commands/DeleteProfileShareCommand.d.ts +6 -21
  196. package/dist-types/commands/DeleteReviewTemplateCommand.d.ts +6 -21
  197. package/dist-types/commands/DeleteTemplateShareCommand.d.ts +6 -21
  198. package/dist-types/commands/DeleteWorkloadCommand.d.ts +6 -21
  199. package/dist-types/commands/DeleteWorkloadShareCommand.d.ts +6 -21
  200. package/dist-types/commands/DisassociateLensesCommand.d.ts +6 -21
  201. package/dist-types/commands/DisassociateProfilesCommand.d.ts +6 -21
  202. package/dist-types/commands/ExportLensCommand.d.ts +6 -21
  203. package/dist-types/commands/GetAnswerCommand.d.ts +6 -21
  204. package/dist-types/commands/GetConsolidatedReportCommand.d.ts +6 -21
  205. package/dist-types/commands/GetLensCommand.d.ts +6 -21
  206. package/dist-types/commands/GetLensReviewCommand.d.ts +6 -21
  207. package/dist-types/commands/GetLensReviewReportCommand.d.ts +6 -21
  208. package/dist-types/commands/GetLensVersionDifferenceCommand.d.ts +6 -21
  209. package/dist-types/commands/GetMilestoneCommand.d.ts +6 -21
  210. package/dist-types/commands/GetProfileCommand.d.ts +6 -21
  211. package/dist-types/commands/GetProfileTemplateCommand.d.ts +6 -21
  212. package/dist-types/commands/GetReviewTemplateAnswerCommand.d.ts +6 -21
  213. package/dist-types/commands/GetReviewTemplateCommand.d.ts +6 -21
  214. package/dist-types/commands/GetReviewTemplateLensReviewCommand.d.ts +6 -21
  215. package/dist-types/commands/GetWorkloadCommand.d.ts +6 -21
  216. package/dist-types/commands/ImportLensCommand.d.ts +6 -21
  217. package/dist-types/commands/ListAnswersCommand.d.ts +6 -21
  218. package/dist-types/commands/ListCheckDetailsCommand.d.ts +6 -21
  219. package/dist-types/commands/ListCheckSummariesCommand.d.ts +6 -21
  220. package/dist-types/commands/ListLensReviewImprovementsCommand.d.ts +6 -21
  221. package/dist-types/commands/ListLensReviewsCommand.d.ts +6 -21
  222. package/dist-types/commands/ListLensSharesCommand.d.ts +6 -21
  223. package/dist-types/commands/ListLensesCommand.d.ts +6 -21
  224. package/dist-types/commands/ListMilestonesCommand.d.ts +6 -21
  225. package/dist-types/commands/ListNotificationsCommand.d.ts +6 -21
  226. package/dist-types/commands/ListProfileNotificationsCommand.d.ts +6 -21
  227. package/dist-types/commands/ListProfileSharesCommand.d.ts +6 -21
  228. package/dist-types/commands/ListProfilesCommand.d.ts +6 -21
  229. package/dist-types/commands/ListReviewTemplateAnswersCommand.d.ts +6 -21
  230. package/dist-types/commands/ListReviewTemplatesCommand.d.ts +6 -21
  231. package/dist-types/commands/ListShareInvitationsCommand.d.ts +6 -21
  232. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  233. package/dist-types/commands/ListTemplateSharesCommand.d.ts +6 -21
  234. package/dist-types/commands/ListWorkloadSharesCommand.d.ts +6 -21
  235. package/dist-types/commands/ListWorkloadsCommand.d.ts +6 -21
  236. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  237. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  238. package/dist-types/commands/UpdateAnswerCommand.d.ts +6 -21
  239. package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +6 -21
  240. package/dist-types/commands/UpdateLensReviewCommand.d.ts +6 -21
  241. package/dist-types/commands/UpdateProfileCommand.d.ts +6 -21
  242. package/dist-types/commands/UpdateReviewTemplateAnswerCommand.d.ts +6 -21
  243. package/dist-types/commands/UpdateReviewTemplateCommand.d.ts +6 -21
  244. package/dist-types/commands/UpdateReviewTemplateLensReviewCommand.d.ts +6 -21
  245. package/dist-types/commands/UpdateShareInvitationCommand.d.ts +6 -21
  246. package/dist-types/commands/UpdateWorkloadCommand.d.ts +6 -21
  247. package/dist-types/commands/UpdateWorkloadShareCommand.d.ts +6 -21
  248. package/dist-types/commands/UpgradeLensReviewCommand.d.ts +6 -21
  249. package/dist-types/commands/UpgradeProfileVersionCommand.d.ts +6 -21
  250. package/dist-types/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +6 -21
  251. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  252. package/dist-types/pagination/GetConsolidatedReportPaginator.d.ts +1 -1
  253. package/dist-types/pagination/ListAnswersPaginator.d.ts +1 -1
  254. package/dist-types/pagination/ListCheckDetailsPaginator.d.ts +1 -1
  255. package/dist-types/pagination/ListCheckSummariesPaginator.d.ts +1 -1
  256. package/dist-types/pagination/ListLensReviewImprovementsPaginator.d.ts +1 -1
  257. package/dist-types/pagination/ListLensReviewsPaginator.d.ts +1 -1
  258. package/dist-types/pagination/ListLensSharesPaginator.d.ts +1 -1
  259. package/dist-types/pagination/ListLensesPaginator.d.ts +1 -1
  260. package/dist-types/pagination/ListMilestonesPaginator.d.ts +1 -1
  261. package/dist-types/pagination/ListNotificationsPaginator.d.ts +1 -1
  262. package/dist-types/pagination/ListProfileNotificationsPaginator.d.ts +1 -1
  263. package/dist-types/pagination/ListProfileSharesPaginator.d.ts +1 -1
  264. package/dist-types/pagination/ListProfilesPaginator.d.ts +1 -1
  265. package/dist-types/pagination/ListReviewTemplateAnswersPaginator.d.ts +1 -1
  266. package/dist-types/pagination/ListReviewTemplatesPaginator.d.ts +1 -1
  267. package/dist-types/pagination/ListShareInvitationsPaginator.d.ts +1 -1
  268. package/dist-types/pagination/ListTemplateSharesPaginator.d.ts +1 -1
  269. package/dist-types/pagination/ListWorkloadSharesPaginator.d.ts +1 -1
  270. package/dist-types/pagination/ListWorkloadsPaginator.d.ts +1 -1
  271. package/dist-types/ts3.4/commands/AssociateLensesCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/commands/AssociateProfilesCommand.d.ts +14 -23
  273. package/dist-types/ts3.4/commands/CreateLensShareCommand.d.ts +14 -23
  274. package/dist-types/ts3.4/commands/CreateLensVersionCommand.d.ts +14 -23
  275. package/dist-types/ts3.4/commands/CreateMilestoneCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +14 -23
  277. package/dist-types/ts3.4/commands/CreateProfileShareCommand.d.ts +14 -23
  278. package/dist-types/ts3.4/commands/CreateReviewTemplateCommand.d.ts +12 -24
  279. package/dist-types/ts3.4/commands/CreateTemplateShareCommand.d.ts +14 -23
  280. package/dist-types/ts3.4/commands/CreateWorkloadCommand.d.ts +14 -23
  281. package/dist-types/ts3.4/commands/CreateWorkloadShareCommand.d.ts +14 -23
  282. package/dist-types/ts3.4/commands/DeleteLensCommand.d.ts +14 -23
  283. package/dist-types/ts3.4/commands/DeleteLensShareCommand.d.ts +14 -23
  284. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +14 -23
  285. package/dist-types/ts3.4/commands/DeleteProfileShareCommand.d.ts +14 -23
  286. package/dist-types/ts3.4/commands/DeleteReviewTemplateCommand.d.ts +12 -24
  287. package/dist-types/ts3.4/commands/DeleteTemplateShareCommand.d.ts +14 -23
  288. package/dist-types/ts3.4/commands/DeleteWorkloadCommand.d.ts +14 -23
  289. package/dist-types/ts3.4/commands/DeleteWorkloadShareCommand.d.ts +14 -23
  290. package/dist-types/ts3.4/commands/DisassociateLensesCommand.d.ts +14 -23
  291. package/dist-types/ts3.4/commands/DisassociateProfilesCommand.d.ts +12 -24
  292. package/dist-types/ts3.4/commands/ExportLensCommand.d.ts +14 -23
  293. package/dist-types/ts3.4/commands/GetAnswerCommand.d.ts +14 -23
  294. package/dist-types/ts3.4/commands/GetConsolidatedReportCommand.d.ts +12 -24
  295. package/dist-types/ts3.4/commands/GetLensCommand.d.ts +12 -23
  296. package/dist-types/ts3.4/commands/GetLensReviewCommand.d.ts +14 -23
  297. package/dist-types/ts3.4/commands/GetLensReviewReportCommand.d.ts +14 -23
  298. package/dist-types/ts3.4/commands/GetLensVersionDifferenceCommand.d.ts +12 -24
  299. package/dist-types/ts3.4/commands/GetMilestoneCommand.d.ts +14 -23
  300. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +14 -23
  301. package/dist-types/ts3.4/commands/GetProfileTemplateCommand.d.ts +14 -23
  302. package/dist-types/ts3.4/commands/GetReviewTemplateAnswerCommand.d.ts +12 -24
  303. package/dist-types/ts3.4/commands/GetReviewTemplateCommand.d.ts +14 -23
  304. package/dist-types/ts3.4/commands/GetReviewTemplateLensReviewCommand.d.ts +12 -24
  305. package/dist-types/ts3.4/commands/GetWorkloadCommand.d.ts +14 -23
  306. package/dist-types/ts3.4/commands/ImportLensCommand.d.ts +14 -23
  307. package/dist-types/ts3.4/commands/ListAnswersCommand.d.ts +14 -23
  308. package/dist-types/ts3.4/commands/ListCheckDetailsCommand.d.ts +14 -23
  309. package/dist-types/ts3.4/commands/ListCheckSummariesCommand.d.ts +14 -23
  310. package/dist-types/ts3.4/commands/ListLensReviewImprovementsCommand.d.ts +12 -24
  311. package/dist-types/ts3.4/commands/ListLensReviewsCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/commands/ListLensSharesCommand.d.ts +14 -23
  313. package/dist-types/ts3.4/commands/ListLensesCommand.d.ts +14 -23
  314. package/dist-types/ts3.4/commands/ListMilestonesCommand.d.ts +14 -23
  315. package/dist-types/ts3.4/commands/ListNotificationsCommand.d.ts +14 -23
  316. package/dist-types/ts3.4/commands/ListProfileNotificationsCommand.d.ts +12 -24
  317. package/dist-types/ts3.4/commands/ListProfileSharesCommand.d.ts +14 -23
  318. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +14 -23
  319. package/dist-types/ts3.4/commands/ListReviewTemplateAnswersCommand.d.ts +12 -24
  320. package/dist-types/ts3.4/commands/ListReviewTemplatesCommand.d.ts +14 -23
  321. package/dist-types/ts3.4/commands/ListShareInvitationsCommand.d.ts +12 -24
  322. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  323. package/dist-types/ts3.4/commands/ListTemplateSharesCommand.d.ts +14 -23
  324. package/dist-types/ts3.4/commands/ListWorkloadSharesCommand.d.ts +14 -23
  325. package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +14 -23
  326. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  327. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  328. package/dist-types/ts3.4/commands/UpdateAnswerCommand.d.ts +14 -23
  329. package/dist-types/ts3.4/commands/UpdateGlobalSettingsCommand.d.ts +12 -24
  330. package/dist-types/ts3.4/commands/UpdateLensReviewCommand.d.ts +14 -23
  331. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +14 -23
  332. package/dist-types/ts3.4/commands/UpdateReviewTemplateAnswerCommand.d.ts +12 -24
  333. package/dist-types/ts3.4/commands/UpdateReviewTemplateCommand.d.ts +12 -24
  334. package/dist-types/ts3.4/commands/UpdateReviewTemplateLensReviewCommand.d.ts +12 -24
  335. package/dist-types/ts3.4/commands/UpdateShareInvitationCommand.d.ts +12 -24
  336. package/dist-types/ts3.4/commands/UpdateWorkloadCommand.d.ts +14 -23
  337. package/dist-types/ts3.4/commands/UpdateWorkloadShareCommand.d.ts +14 -23
  338. package/dist-types/ts3.4/commands/UpgradeLensReviewCommand.d.ts +14 -23
  339. package/dist-types/ts3.4/commands/UpgradeProfileVersionCommand.d.ts +12 -24
  340. package/dist-types/ts3.4/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +12 -24
  341. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  342. package/dist-types/ts3.4/pagination/GetConsolidatedReportPaginator.d.ts +3 -3
  343. package/dist-types/ts3.4/pagination/ListAnswersPaginator.d.ts +3 -3
  344. package/dist-types/ts3.4/pagination/ListCheckDetailsPaginator.d.ts +3 -3
  345. package/dist-types/ts3.4/pagination/ListCheckSummariesPaginator.d.ts +3 -3
  346. package/dist-types/ts3.4/pagination/ListLensReviewImprovementsPaginator.d.ts +3 -3
  347. package/dist-types/ts3.4/pagination/ListLensReviewsPaginator.d.ts +3 -3
  348. package/dist-types/ts3.4/pagination/ListLensSharesPaginator.d.ts +3 -3
  349. package/dist-types/ts3.4/pagination/ListLensesPaginator.d.ts +3 -3
  350. package/dist-types/ts3.4/pagination/ListMilestonesPaginator.d.ts +3 -3
  351. package/dist-types/ts3.4/pagination/ListNotificationsPaginator.d.ts +3 -3
  352. package/dist-types/ts3.4/pagination/ListProfileNotificationsPaginator.d.ts +3 -3
  353. package/dist-types/ts3.4/pagination/ListProfileSharesPaginator.d.ts +3 -3
  354. package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +3 -3
  355. package/dist-types/ts3.4/pagination/ListReviewTemplateAnswersPaginator.d.ts +3 -3
  356. package/dist-types/ts3.4/pagination/ListReviewTemplatesPaginator.d.ts +3 -3
  357. package/dist-types/ts3.4/pagination/ListShareInvitationsPaginator.d.ts +3 -3
  358. package/dist-types/ts3.4/pagination/ListTemplateSharesPaginator.d.ts +3 -3
  359. package/dist-types/ts3.4/pagination/ListWorkloadSharesPaginator.d.ts +3 -3
  360. package/dist-types/ts3.4/pagination/ListWorkloadsPaginator.d.ts +3 -3
  361. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateWorkloadCommand, se_UpdateWorkloadCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateWorkloadCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateWorkloadCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WellArchitectedClient";
26
- const commandName = "UpdateWorkloadCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WellArchitectedApiServiceLambda",
35
- operation: "UpdateWorkload",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateWorkloadCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateWorkloadCommand(output, context);
46
- }
7
+ export class UpdateWorkloadCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WellArchitectedApiServiceLambda", "UpdateWorkload", {})
19
+ .n("WellArchitectedClient", "UpdateWorkloadCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateWorkloadCommand)
22
+ .de(de_UpdateWorkloadCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateWorkloadShareCommand, se_UpdateWorkloadShareCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateWorkloadShareCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateWorkloadShareCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WellArchitectedClient";
26
- const commandName = "UpdateWorkloadShareCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WellArchitectedApiServiceLambda",
35
- operation: "UpdateWorkloadShare",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateWorkloadShareCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateWorkloadShareCommand(output, context);
46
- }
7
+ export class UpdateWorkloadShareCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WellArchitectedApiServiceLambda", "UpdateWorkloadShare", {})
19
+ .n("WellArchitectedClient", "UpdateWorkloadShareCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateWorkloadShareCommand)
22
+ .de(de_UpdateWorkloadShareCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpgradeLensReviewCommand, se_UpgradeLensReviewCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpgradeLensReviewCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpgradeLensReviewCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WellArchitectedClient";
26
- const commandName = "UpgradeLensReviewCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WellArchitectedApiServiceLambda",
35
- operation: "UpgradeLensReview",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpgradeLensReviewCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpgradeLensReviewCommand(output, context);
46
- }
7
+ export class UpgradeLensReviewCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WellArchitectedApiServiceLambda", "UpgradeLensReview", {})
19
+ .n("WellArchitectedClient", "UpgradeLensReviewCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpgradeLensReviewCommand)
22
+ .de(de_UpgradeLensReviewCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpgradeProfileVersionCommand, se_UpgradeProfileVersionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpgradeProfileVersionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpgradeProfileVersionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WellArchitectedClient";
26
- const commandName = "UpgradeProfileVersionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WellArchitectedApiServiceLambda",
35
- operation: "UpgradeProfileVersion",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpgradeProfileVersionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpgradeProfileVersionCommand(output, context);
46
- }
7
+ export class UpgradeProfileVersionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WellArchitectedApiServiceLambda", "UpgradeProfileVersion", {})
19
+ .n("WellArchitectedClient", "UpgradeProfileVersionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpgradeProfileVersionCommand)
22
+ .de(de_UpgradeProfileVersionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpgradeReviewTemplateLensReviewCommand, se_UpgradeReviewTemplateLensReviewCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpgradeReviewTemplateLensReviewCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpgradeReviewTemplateLensReviewCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WellArchitectedClient";
26
- const commandName = "UpgradeReviewTemplateLensReviewCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WellArchitectedApiServiceLambda",
35
- operation: "UpgradeReviewTemplateLensReview",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpgradeReviewTemplateLensReviewCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpgradeReviewTemplateLensReviewCommand(output, context);
46
- }
7
+ export class UpgradeReviewTemplateLensReviewCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WellArchitectedApiServiceLambda", "UpgradeReviewTemplateLensReview", {})
19
+ .n("WellArchitectedClient", "UpgradeReviewTemplateLensReviewCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpgradeReviewTemplateLensReviewCommand)
22
+ .de(de_UpgradeReviewTemplateLensReviewCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "wellarchitected",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetConsolidatedReportCommand, } from "../commands/GetConsolidatedReportCommand";
2
3
  import { WellArchitectedClient } from "../WellArchitectedClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetConsolidatedReportCommand(input), ...args);
5
- };
6
- export async function* paginateGetConsolidatedReport(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof WellArchitectedClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetConsolidatedReport = createPaginator(WellArchitectedClient, GetConsolidatedReportCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAnswersCommand } from "../commands/ListAnswersCommand";
2
3
  import { WellArchitectedClient } from "../WellArchitectedClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAnswersCommand(input), ...args);
5
- };
6
- export async function* paginateListAnswers(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof WellArchitectedClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAnswers = createPaginator(WellArchitectedClient, ListAnswersCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListCheckDetailsCommand, } from "../commands/ListCheckDetailsCommand";
2
3
  import { WellArchitectedClient } from "../WellArchitectedClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListCheckDetailsCommand(input), ...args);
5
- };
6
- export async function* paginateListCheckDetails(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof WellArchitectedClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListCheckDetails = createPaginator(WellArchitectedClient, ListCheckDetailsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListCheckSummariesCommand, } from "../commands/ListCheckSummariesCommand";
2
3
  import { WellArchitectedClient } from "../WellArchitectedClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListCheckSummariesCommand(input), ...args);
5
- };
6
- export async function* paginateListCheckSummaries(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof WellArchitectedClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListCheckSummaries = createPaginator(WellArchitectedClient, ListCheckSummariesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListLensReviewImprovementsCommand, } from "../commands/ListLensReviewImprovementsCommand";
2
3
  import { WellArchitectedClient } from "../WellArchitectedClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListLensReviewImprovementsCommand(input), ...args);
5
- };
6
- export async function* paginateListLensReviewImprovements(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof WellArchitectedClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListLensReviewImprovements = createPaginator(WellArchitectedClient, ListLensReviewImprovementsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListLensReviewsCommand, } from "../commands/ListLensReviewsCommand";
2
3
  import { WellArchitectedClient } from "../WellArchitectedClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListLensReviewsCommand(input), ...args);
5
- };
6
- export async function* paginateListLensReviews(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof WellArchitectedClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListLensReviews = createPaginator(WellArchitectedClient, ListLensReviewsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListLensSharesCommand, } from "../commands/ListLensSharesCommand";
2
3
  import { WellArchitectedClient } from "../WellArchitectedClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListLensSharesCommand(input), ...args);
5
- };
6
- export async function* paginateListLensShares(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof WellArchitectedClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListLensShares = createPaginator(WellArchitectedClient, ListLensSharesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListLensesCommand } from "../commands/ListLensesCommand";
2
3
  import { WellArchitectedClient } from "../WellArchitectedClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListLensesCommand(input), ...args);
5
- };
6
- export async function* paginateListLenses(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof WellArchitectedClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListLenses = createPaginator(WellArchitectedClient, ListLensesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListMilestonesCommand, } from "../commands/ListMilestonesCommand";
2
3
  import { WellArchitectedClient } from "../WellArchitectedClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListMilestonesCommand(input), ...args);
5
- };
6
- export async function* paginateListMilestones(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof WellArchitectedClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListMilestones = createPaginator(WellArchitectedClient, ListMilestonesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListNotificationsCommand, } from "../commands/ListNotificationsCommand";
2
3
  import { WellArchitectedClient } from "../WellArchitectedClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListNotificationsCommand(input), ...args);
5
- };
6
- export async function* paginateListNotifications(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof WellArchitectedClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListNotifications = createPaginator(WellArchitectedClient, ListNotificationsCommand, "NextToken", "NextToken", "MaxResults");