@aws-sdk/client-eks 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 (304) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/EKS.js +4 -0
  3. package/dist-cjs/commands/AssociateAccessPolicyCommand.js +18 -41
  4. package/dist-cjs/commands/AssociateEncryptionConfigCommand.js +18 -41
  5. package/dist-cjs/commands/AssociateIdentityProviderConfigCommand.js +18 -41
  6. package/dist-cjs/commands/CreateAccessEntryCommand.js +18 -41
  7. package/dist-cjs/commands/CreateAddonCommand.js +18 -41
  8. package/dist-cjs/commands/CreateClusterCommand.js +18 -41
  9. package/dist-cjs/commands/CreateEksAnywhereSubscriptionCommand.js +18 -41
  10. package/dist-cjs/commands/CreateFargateProfileCommand.js +18 -41
  11. package/dist-cjs/commands/CreateNodegroupCommand.js +18 -41
  12. package/dist-cjs/commands/CreatePodIdentityAssociationCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteAccessEntryCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteAddonCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteEksAnywhereSubscriptionCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteFargateProfileCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteNodegroupCommand.js +18 -41
  19. package/dist-cjs/commands/DeletePodIdentityAssociationCommand.js +18 -41
  20. package/dist-cjs/commands/DeregisterClusterCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeAccessEntryCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeAddonCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeAddonConfigurationCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeAddonVersionsCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeClusterCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeEksAnywhereSubscriptionCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeFargateProfileCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeIdentityProviderConfigCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeInsightCommand.js +28 -0
  30. package/dist-cjs/commands/DescribeNodegroupCommand.js +18 -41
  31. package/dist-cjs/commands/DescribePodIdentityAssociationCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeUpdateCommand.js +18 -41
  33. package/dist-cjs/commands/DisassociateAccessPolicyCommand.js +18 -41
  34. package/dist-cjs/commands/DisassociateIdentityProviderConfigCommand.js +18 -41
  35. package/dist-cjs/commands/ListAccessEntriesCommand.js +18 -41
  36. package/dist-cjs/commands/ListAccessPoliciesCommand.js +18 -41
  37. package/dist-cjs/commands/ListAddonsCommand.js +18 -41
  38. package/dist-cjs/commands/ListAssociatedAccessPoliciesCommand.js +18 -41
  39. package/dist-cjs/commands/ListClustersCommand.js +18 -41
  40. package/dist-cjs/commands/ListEksAnywhereSubscriptionsCommand.js +18 -41
  41. package/dist-cjs/commands/ListFargateProfilesCommand.js +18 -41
  42. package/dist-cjs/commands/ListIdentityProviderConfigsCommand.js +18 -41
  43. package/dist-cjs/commands/ListInsightsCommand.js +28 -0
  44. package/dist-cjs/commands/ListNodegroupsCommand.js +18 -41
  45. package/dist-cjs/commands/ListPodIdentityAssociationsCommand.js +18 -41
  46. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  47. package/dist-cjs/commands/ListUpdatesCommand.js +18 -41
  48. package/dist-cjs/commands/RegisterClusterCommand.js +18 -41
  49. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  50. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateAccessEntryCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateAddonCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateClusterConfigCommand.js +18 -41
  54. package/dist-cjs/commands/UpdateClusterVersionCommand.js +18 -41
  55. package/dist-cjs/commands/UpdateEksAnywhereSubscriptionCommand.js +18 -41
  56. package/dist-cjs/commands/UpdateNodegroupConfigCommand.js +18 -41
  57. package/dist-cjs/commands/UpdateNodegroupVersionCommand.js +18 -41
  58. package/dist-cjs/commands/UpdatePodIdentityAssociationCommand.js +18 -41
  59. package/dist-cjs/commands/index.js +2 -0
  60. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  61. package/dist-cjs/models/models_0.js +10 -1
  62. package/dist-cjs/pagination/DescribeAddonVersionsPaginator.js +2 -24
  63. package/dist-cjs/pagination/ListAccessEntriesPaginator.js +2 -24
  64. package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +2 -24
  65. package/dist-cjs/pagination/ListAddonsPaginator.js +2 -24
  66. package/dist-cjs/pagination/ListAssociatedAccessPoliciesPaginator.js +2 -24
  67. package/dist-cjs/pagination/ListClustersPaginator.js +2 -24
  68. package/dist-cjs/pagination/ListEksAnywhereSubscriptionsPaginator.js +2 -24
  69. package/dist-cjs/pagination/ListFargateProfilesPaginator.js +2 -24
  70. package/dist-cjs/pagination/ListIdentityProviderConfigsPaginator.js +2 -24
  71. package/dist-cjs/pagination/ListInsightsPaginator.js +7 -0
  72. package/dist-cjs/pagination/ListNodegroupsPaginator.js +2 -24
  73. package/dist-cjs/pagination/ListPodIdentityAssociationsPaginator.js +2 -24
  74. package/dist-cjs/pagination/ListUpdatesPaginator.js +2 -24
  75. package/dist-cjs/pagination/index.js +1 -0
  76. package/dist-cjs/protocols/Aws_restJson1.js +250 -134
  77. package/dist-es/EKS.js +4 -0
  78. package/dist-es/commands/AssociateAccessPolicyCommand.js +18 -41
  79. package/dist-es/commands/AssociateEncryptionConfigCommand.js +18 -41
  80. package/dist-es/commands/AssociateIdentityProviderConfigCommand.js +18 -41
  81. package/dist-es/commands/CreateAccessEntryCommand.js +18 -41
  82. package/dist-es/commands/CreateAddonCommand.js +18 -41
  83. package/dist-es/commands/CreateClusterCommand.js +18 -41
  84. package/dist-es/commands/CreateEksAnywhereSubscriptionCommand.js +18 -41
  85. package/dist-es/commands/CreateFargateProfileCommand.js +18 -41
  86. package/dist-es/commands/CreateNodegroupCommand.js +18 -41
  87. package/dist-es/commands/CreatePodIdentityAssociationCommand.js +18 -41
  88. package/dist-es/commands/DeleteAccessEntryCommand.js +18 -41
  89. package/dist-es/commands/DeleteAddonCommand.js +18 -41
  90. package/dist-es/commands/DeleteClusterCommand.js +18 -41
  91. package/dist-es/commands/DeleteEksAnywhereSubscriptionCommand.js +18 -41
  92. package/dist-es/commands/DeleteFargateProfileCommand.js +18 -41
  93. package/dist-es/commands/DeleteNodegroupCommand.js +18 -41
  94. package/dist-es/commands/DeletePodIdentityAssociationCommand.js +18 -41
  95. package/dist-es/commands/DeregisterClusterCommand.js +18 -41
  96. package/dist-es/commands/DescribeAccessEntryCommand.js +18 -41
  97. package/dist-es/commands/DescribeAddonCommand.js +18 -41
  98. package/dist-es/commands/DescribeAddonConfigurationCommand.js +18 -41
  99. package/dist-es/commands/DescribeAddonVersionsCommand.js +18 -41
  100. package/dist-es/commands/DescribeClusterCommand.js +18 -41
  101. package/dist-es/commands/DescribeEksAnywhereSubscriptionCommand.js +18 -41
  102. package/dist-es/commands/DescribeFargateProfileCommand.js +18 -41
  103. package/dist-es/commands/DescribeIdentityProviderConfigCommand.js +18 -41
  104. package/dist-es/commands/DescribeInsightCommand.js +24 -0
  105. package/dist-es/commands/DescribeNodegroupCommand.js +18 -41
  106. package/dist-es/commands/DescribePodIdentityAssociationCommand.js +18 -41
  107. package/dist-es/commands/DescribeUpdateCommand.js +18 -41
  108. package/dist-es/commands/DisassociateAccessPolicyCommand.js +18 -41
  109. package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js +18 -41
  110. package/dist-es/commands/ListAccessEntriesCommand.js +18 -41
  111. package/dist-es/commands/ListAccessPoliciesCommand.js +18 -41
  112. package/dist-es/commands/ListAddonsCommand.js +18 -41
  113. package/dist-es/commands/ListAssociatedAccessPoliciesCommand.js +18 -41
  114. package/dist-es/commands/ListClustersCommand.js +18 -41
  115. package/dist-es/commands/ListEksAnywhereSubscriptionsCommand.js +18 -41
  116. package/dist-es/commands/ListFargateProfilesCommand.js +18 -41
  117. package/dist-es/commands/ListIdentityProviderConfigsCommand.js +18 -41
  118. package/dist-es/commands/ListInsightsCommand.js +24 -0
  119. package/dist-es/commands/ListNodegroupsCommand.js +18 -41
  120. package/dist-es/commands/ListPodIdentityAssociationsCommand.js +18 -41
  121. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  122. package/dist-es/commands/ListUpdatesCommand.js +18 -41
  123. package/dist-es/commands/RegisterClusterCommand.js +18 -41
  124. package/dist-es/commands/TagResourceCommand.js +18 -41
  125. package/dist-es/commands/UntagResourceCommand.js +18 -41
  126. package/dist-es/commands/UpdateAccessEntryCommand.js +18 -41
  127. package/dist-es/commands/UpdateAddonCommand.js +18 -41
  128. package/dist-es/commands/UpdateClusterConfigCommand.js +18 -41
  129. package/dist-es/commands/UpdateClusterVersionCommand.js +18 -41
  130. package/dist-es/commands/UpdateEksAnywhereSubscriptionCommand.js +18 -41
  131. package/dist-es/commands/UpdateNodegroupConfigCommand.js +18 -41
  132. package/dist-es/commands/UpdateNodegroupVersionCommand.js +18 -41
  133. package/dist-es/commands/UpdatePodIdentityAssociationCommand.js +18 -41
  134. package/dist-es/commands/index.js +2 -0
  135. package/dist-es/endpoint/EndpointParameters.js +6 -0
  136. package/dist-es/models/models_0.js +9 -0
  137. package/dist-es/pagination/DescribeAddonVersionsPaginator.js +2 -23
  138. package/dist-es/pagination/ListAccessEntriesPaginator.js +2 -23
  139. package/dist-es/pagination/ListAccessPoliciesPaginator.js +2 -23
  140. package/dist-es/pagination/ListAddonsPaginator.js +2 -23
  141. package/dist-es/pagination/ListAssociatedAccessPoliciesPaginator.js +2 -23
  142. package/dist-es/pagination/ListClustersPaginator.js +2 -23
  143. package/dist-es/pagination/ListEksAnywhereSubscriptionsPaginator.js +2 -23
  144. package/dist-es/pagination/ListFargateProfilesPaginator.js +2 -23
  145. package/dist-es/pagination/ListIdentityProviderConfigsPaginator.js +2 -23
  146. package/dist-es/pagination/ListInsightsPaginator.js +4 -0
  147. package/dist-es/pagination/ListNodegroupsPaginator.js +2 -23
  148. package/dist-es/pagination/ListPodIdentityAssociationsPaginator.js +2 -23
  149. package/dist-es/pagination/ListUpdatesPaginator.js +2 -23
  150. package/dist-es/pagination/index.js +1 -0
  151. package/dist-es/protocols/Aws_restJson1.js +244 -132
  152. package/dist-types/EKS.d.ts +14 -0
  153. package/dist-types/EKSClient.d.ts +4 -2
  154. package/dist-types/commands/AssociateAccessPolicyCommand.d.ts +6 -21
  155. package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +6 -21
  156. package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +6 -21
  157. package/dist-types/commands/CreateAccessEntryCommand.d.ts +6 -21
  158. package/dist-types/commands/CreateAddonCommand.d.ts +6 -21
  159. package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
  160. package/dist-types/commands/CreateEksAnywhereSubscriptionCommand.d.ts +6 -21
  161. package/dist-types/commands/CreateFargateProfileCommand.d.ts +6 -21
  162. package/dist-types/commands/CreateNodegroupCommand.d.ts +6 -21
  163. package/dist-types/commands/CreatePodIdentityAssociationCommand.d.ts +6 -21
  164. package/dist-types/commands/DeleteAccessEntryCommand.d.ts +6 -21
  165. package/dist-types/commands/DeleteAddonCommand.d.ts +6 -21
  166. package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
  167. package/dist-types/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +6 -21
  168. package/dist-types/commands/DeleteFargateProfileCommand.d.ts +6 -21
  169. package/dist-types/commands/DeleteNodegroupCommand.d.ts +6 -21
  170. package/dist-types/commands/DeletePodIdentityAssociationCommand.d.ts +6 -21
  171. package/dist-types/commands/DeregisterClusterCommand.d.ts +6 -21
  172. package/dist-types/commands/DescribeAccessEntryCommand.d.ts +6 -21
  173. package/dist-types/commands/DescribeAddonCommand.d.ts +6 -21
  174. package/dist-types/commands/DescribeAddonConfigurationCommand.d.ts +6 -21
  175. package/dist-types/commands/DescribeAddonVersionsCommand.d.ts +6 -21
  176. package/dist-types/commands/DescribeClusterCommand.d.ts +6 -21
  177. package/dist-types/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +6 -21
  178. package/dist-types/commands/DescribeFargateProfileCommand.d.ts +6 -21
  179. package/dist-types/commands/DescribeIdentityProviderConfigCommand.d.ts +6 -21
  180. package/dist-types/commands/DescribeInsightCommand.d.ts +118 -0
  181. package/dist-types/commands/DescribeNodegroupCommand.d.ts +6 -21
  182. package/dist-types/commands/DescribePodIdentityAssociationCommand.d.ts +6 -21
  183. package/dist-types/commands/DescribeUpdateCommand.d.ts +6 -21
  184. package/dist-types/commands/DisassociateAccessPolicyCommand.d.ts +6 -21
  185. package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +6 -21
  186. package/dist-types/commands/ListAccessEntriesCommand.d.ts +6 -21
  187. package/dist-types/commands/ListAccessPoliciesCommand.d.ts +6 -21
  188. package/dist-types/commands/ListAddonsCommand.d.ts +6 -21
  189. package/dist-types/commands/ListAssociatedAccessPoliciesCommand.d.ts +6 -21
  190. package/dist-types/commands/ListClustersCommand.d.ts +6 -21
  191. package/dist-types/commands/ListEksAnywhereSubscriptionsCommand.d.ts +6 -21
  192. package/dist-types/commands/ListFargateProfilesCommand.d.ts +6 -21
  193. package/dist-types/commands/ListIdentityProviderConfigsCommand.d.ts +6 -21
  194. package/dist-types/commands/ListInsightsCommand.d.ts +102 -0
  195. package/dist-types/commands/ListNodegroupsCommand.d.ts +6 -21
  196. package/dist-types/commands/ListPodIdentityAssociationsCommand.d.ts +6 -21
  197. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  198. package/dist-types/commands/ListUpdatesCommand.d.ts +6 -21
  199. package/dist-types/commands/RegisterClusterCommand.d.ts +6 -21
  200. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  201. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  202. package/dist-types/commands/UpdateAccessEntryCommand.d.ts +6 -21
  203. package/dist-types/commands/UpdateAddonCommand.d.ts +6 -21
  204. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +6 -21
  205. package/dist-types/commands/UpdateClusterVersionCommand.d.ts +6 -21
  206. package/dist-types/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +6 -21
  207. package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +6 -21
  208. package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +6 -21
  209. package/dist-types/commands/UpdatePodIdentityAssociationCommand.d.ts +6 -21
  210. package/dist-types/commands/index.d.ts +2 -0
  211. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  212. package/dist-types/models/models_0.d.ts +359 -5
  213. package/dist-types/pagination/DescribeAddonVersionsPaginator.d.ts +1 -1
  214. package/dist-types/pagination/ListAccessEntriesPaginator.d.ts +1 -1
  215. package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +1 -1
  216. package/dist-types/pagination/ListAddonsPaginator.d.ts +1 -1
  217. package/dist-types/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +1 -1
  218. package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
  219. package/dist-types/pagination/ListEksAnywhereSubscriptionsPaginator.d.ts +1 -1
  220. package/dist-types/pagination/ListFargateProfilesPaginator.d.ts +1 -1
  221. package/dist-types/pagination/ListIdentityProviderConfigsPaginator.d.ts +1 -1
  222. package/dist-types/pagination/ListInsightsPaginator.d.ts +7 -0
  223. package/dist-types/pagination/ListNodegroupsPaginator.d.ts +1 -1
  224. package/dist-types/pagination/ListPodIdentityAssociationsPaginator.d.ts +1 -1
  225. package/dist-types/pagination/ListUpdatesPaginator.d.ts +1 -1
  226. package/dist-types/pagination/index.d.ts +1 -0
  227. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  228. package/dist-types/ts3.4/EKS.d.ts +34 -0
  229. package/dist-types/ts3.4/EKSClient.d.ts +12 -0
  230. package/dist-types/ts3.4/commands/AssociateAccessPolicyCommand.d.ts +12 -24
  231. package/dist-types/ts3.4/commands/AssociateEncryptionConfigCommand.d.ts +12 -24
  232. package/dist-types/ts3.4/commands/AssociateIdentityProviderConfigCommand.d.ts +12 -24
  233. package/dist-types/ts3.4/commands/CreateAccessEntryCommand.d.ts +14 -23
  234. package/dist-types/ts3.4/commands/CreateAddonCommand.d.ts +14 -23
  235. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
  236. package/dist-types/ts3.4/commands/CreateEksAnywhereSubscriptionCommand.d.ts +12 -24
  237. package/dist-types/ts3.4/commands/CreateFargateProfileCommand.d.ts +12 -24
  238. package/dist-types/ts3.4/commands/CreateNodegroupCommand.d.ts +14 -23
  239. package/dist-types/ts3.4/commands/CreatePodIdentityAssociationCommand.d.ts +12 -24
  240. package/dist-types/ts3.4/commands/DeleteAccessEntryCommand.d.ts +14 -23
  241. package/dist-types/ts3.4/commands/DeleteAddonCommand.d.ts +14 -23
  242. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
  243. package/dist-types/ts3.4/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +12 -24
  244. package/dist-types/ts3.4/commands/DeleteFargateProfileCommand.d.ts +12 -24
  245. package/dist-types/ts3.4/commands/DeleteNodegroupCommand.d.ts +14 -23
  246. package/dist-types/ts3.4/commands/DeletePodIdentityAssociationCommand.d.ts +12 -24
  247. package/dist-types/ts3.4/commands/DeregisterClusterCommand.d.ts +14 -23
  248. package/dist-types/ts3.4/commands/DescribeAccessEntryCommand.d.ts +14 -23
  249. package/dist-types/ts3.4/commands/DescribeAddonCommand.d.ts +14 -23
  250. package/dist-types/ts3.4/commands/DescribeAddonConfigurationCommand.d.ts +12 -24
  251. package/dist-types/ts3.4/commands/DescribeAddonVersionsCommand.d.ts +12 -24
  252. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +14 -23
  253. package/dist-types/ts3.4/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +12 -24
  254. package/dist-types/ts3.4/commands/DescribeFargateProfileCommand.d.ts +12 -24
  255. package/dist-types/ts3.4/commands/DescribeIdentityProviderConfigCommand.d.ts +12 -24
  256. package/dist-types/ts3.4/commands/DescribeInsightCommand.d.ts +29 -0
  257. package/dist-types/ts3.4/commands/DescribeNodegroupCommand.d.ts +14 -23
  258. package/dist-types/ts3.4/commands/DescribePodIdentityAssociationCommand.d.ts +12 -24
  259. package/dist-types/ts3.4/commands/DescribeUpdateCommand.d.ts +14 -23
  260. package/dist-types/ts3.4/commands/DisassociateAccessPolicyCommand.d.ts +12 -24
  261. package/dist-types/ts3.4/commands/DisassociateIdentityProviderConfigCommand.d.ts +12 -24
  262. package/dist-types/ts3.4/commands/ListAccessEntriesCommand.d.ts +14 -23
  263. package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +14 -23
  264. package/dist-types/ts3.4/commands/ListAddonsCommand.d.ts +14 -23
  265. package/dist-types/ts3.4/commands/ListAssociatedAccessPoliciesCommand.d.ts +12 -24
  266. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +14 -23
  267. package/dist-types/ts3.4/commands/ListEksAnywhereSubscriptionsCommand.d.ts +12 -24
  268. package/dist-types/ts3.4/commands/ListFargateProfilesCommand.d.ts +14 -23
  269. package/dist-types/ts3.4/commands/ListIdentityProviderConfigsCommand.d.ts +12 -24
  270. package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +26 -0
  271. package/dist-types/ts3.4/commands/ListNodegroupsCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/commands/ListPodIdentityAssociationsCommand.d.ts +12 -24
  273. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  274. package/dist-types/ts3.4/commands/ListUpdatesCommand.d.ts +14 -23
  275. package/dist-types/ts3.4/commands/RegisterClusterCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  277. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  278. package/dist-types/ts3.4/commands/UpdateAccessEntryCommand.d.ts +14 -23
  279. package/dist-types/ts3.4/commands/UpdateAddonCommand.d.ts +14 -23
  280. package/dist-types/ts3.4/commands/UpdateClusterConfigCommand.d.ts +14 -23
  281. package/dist-types/ts3.4/commands/UpdateClusterVersionCommand.d.ts +12 -24
  282. package/dist-types/ts3.4/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +12 -24
  283. package/dist-types/ts3.4/commands/UpdateNodegroupConfigCommand.d.ts +12 -24
  284. package/dist-types/ts3.4/commands/UpdateNodegroupVersionCommand.d.ts +12 -24
  285. package/dist-types/ts3.4/commands/UpdatePodIdentityAssociationCommand.d.ts +12 -24
  286. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  287. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  288. package/dist-types/ts3.4/models/models_0.d.ts +82 -0
  289. package/dist-types/ts3.4/pagination/DescribeAddonVersionsPaginator.d.ts +3 -3
  290. package/dist-types/ts3.4/pagination/ListAccessEntriesPaginator.d.ts +3 -3
  291. package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +3 -3
  292. package/dist-types/ts3.4/pagination/ListAddonsPaginator.d.ts +3 -3
  293. package/dist-types/ts3.4/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +3 -3
  294. package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +3 -3
  295. package/dist-types/ts3.4/pagination/ListEksAnywhereSubscriptionsPaginator.d.ts +3 -3
  296. package/dist-types/ts3.4/pagination/ListFargateProfilesPaginator.d.ts +3 -3
  297. package/dist-types/ts3.4/pagination/ListIdentityProviderConfigsPaginator.d.ts +3 -3
  298. package/dist-types/ts3.4/pagination/ListInsightsPaginator.d.ts +11 -0
  299. package/dist-types/ts3.4/pagination/ListNodegroupsPaginator.d.ts +3 -3
  300. package/dist-types/ts3.4/pagination/ListPodIdentityAssociationsPaginator.d.ts +3 -3
  301. package/dist-types/ts3.4/pagination/ListUpdatesPaginator.d.ts +3 -3
  302. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  303. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  304. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdatePodIdentityAssociationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePodIdentityAssociationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EKSClient";
29
- const commandName = "UpdatePodIdentityAssociationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWesleyFrontend",
38
- operation: "UpdatePodIdentityAssociation",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdatePodIdentityAssociationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdatePodIdentityAssociationCommand)(output, context);
49
- }
10
+ class UpdatePodIdentityAssociationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWesleyFrontend", "UpdatePodIdentityAssociation", {})
22
+ .n("EKSClient", "UpdatePodIdentityAssociationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdatePodIdentityAssociationCommand)
25
+ .de(Aws_restJson1_1.de_UpdatePodIdentityAssociationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdatePodIdentityAssociationCommand = UpdatePodIdentityAssociationCommand;
@@ -27,6 +27,7 @@ tslib_1.__exportStar(require("./DescribeClusterCommand"), exports);
27
27
  tslib_1.__exportStar(require("./DescribeEksAnywhereSubscriptionCommand"), exports);
28
28
  tslib_1.__exportStar(require("./DescribeFargateProfileCommand"), exports);
29
29
  tslib_1.__exportStar(require("./DescribeIdentityProviderConfigCommand"), exports);
30
+ tslib_1.__exportStar(require("./DescribeInsightCommand"), exports);
30
31
  tslib_1.__exportStar(require("./DescribeNodegroupCommand"), exports);
31
32
  tslib_1.__exportStar(require("./DescribePodIdentityAssociationCommand"), exports);
32
33
  tslib_1.__exportStar(require("./DescribeUpdateCommand"), exports);
@@ -40,6 +41,7 @@ tslib_1.__exportStar(require("./ListClustersCommand"), exports);
40
41
  tslib_1.__exportStar(require("./ListEksAnywhereSubscriptionsCommand"), exports);
41
42
  tslib_1.__exportStar(require("./ListFargateProfilesCommand"), exports);
42
43
  tslib_1.__exportStar(require("./ListIdentityProviderConfigsCommand"), exports);
44
+ tslib_1.__exportStar(require("./ListInsightsCommand"), exports);
43
45
  tslib_1.__exportStar(require("./ListNodegroupsCommand"), exports);
44
46
  tslib_1.__exportStar(require("./ListPodIdentityAssociationsCommand"), exports);
45
47
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourcePropagationDelayException = exports.ConnectorConfigProvider = exports.NotFoundException = exports.BadRequestException = exports.EksAnywhereSubscriptionStatus = exports.ConfigStatus = exports.NodegroupStatus = exports.NodegroupIssueCode = exports.TaintEffect = exports.CapacityTypes = exports.FargateProfileStatus = exports.EksAnywhereSubscriptionTermUnit = exports.EksAnywhereSubscriptionLicenseType = exports.UnsupportedAvailabilityZoneException = exports.ServiceUnavailableException = exports.ClusterStatus = exports.ClusterIssueCode = exports.LogType = exports.IpFamily = exports.ResolveConflicts = exports.ResourceLimitExceededException = exports.ResourceInUseException = exports.ClientException = exports.UpdateType = exports.UpdateStatus = exports.UpdateParamType = exports.ErrorCode = exports.ServerException = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.InvalidParameterException = exports.AMITypes = exports.AddonStatus = exports.AddonIssueCode = exports.AccessScopeType = exports.AccessDeniedException = exports.AuthenticationMode = void 0;
3
+ exports.ResourcePropagationDelayException = exports.ConnectorConfigProvider = exports.NotFoundException = exports.BadRequestException = exports.EksAnywhereSubscriptionStatus = exports.InsightStatusValue = exports.Category = exports.ConfigStatus = exports.NodegroupStatus = exports.NodegroupIssueCode = exports.TaintEffect = exports.CapacityTypes = exports.FargateProfileStatus = exports.EksAnywhereSubscriptionTermUnit = exports.EksAnywhereSubscriptionLicenseType = exports.UnsupportedAvailabilityZoneException = exports.ServiceUnavailableException = exports.ClusterStatus = exports.ClusterIssueCode = exports.LogType = exports.IpFamily = exports.ResolveConflicts = exports.ResourceLimitExceededException = exports.ResourceInUseException = exports.ClientException = exports.UpdateType = exports.UpdateStatus = exports.UpdateParamType = exports.ErrorCode = exports.ServerException = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.InvalidParameterException = exports.AMITypes = exports.AddonStatus = exports.AddonIssueCode = exports.AccessScopeType = exports.AccessDeniedException = exports.AuthenticationMode = void 0;
4
4
  const EKSServiceException_1 = require("./EKSServiceException");
5
5
  exports.AuthenticationMode = {
6
6
  API: "API",
@@ -388,6 +388,15 @@ exports.ConfigStatus = {
388
388
  CREATING: "CREATING",
389
389
  DELETING: "DELETING",
390
390
  };
391
+ exports.Category = {
392
+ UPGRADE_READINESS: "UPGRADE_READINESS",
393
+ };
394
+ exports.InsightStatusValue = {
395
+ ERROR: "ERROR",
396
+ PASSING: "PASSING",
397
+ UNKNOWN: "UNKNOWN",
398
+ WARNING: "WARNING",
399
+ };
391
400
  exports.EksAnywhereSubscriptionStatus = {
392
401
  ACTIVE: "ACTIVE",
393
402
  CREATING: "CREATING",
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeAddonVersions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeAddonVersionsCommand_1 = require("../commands/DescribeAddonVersionsCommand");
5
6
  const EKSClient_1 = require("../EKSClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeAddonVersionsCommand_1.DescribeAddonVersionsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeAddonVersions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof EKSClient_1.EKSClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected EKS | EKSClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeAddonVersions = paginateDescribeAddonVersions;
7
+ exports.paginateDescribeAddonVersions = (0, core_1.createPaginator)(EKSClient_1.EKSClient, DescribeAddonVersionsCommand_1.DescribeAddonVersionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAccessEntries = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAccessEntriesCommand_1 = require("../commands/ListAccessEntriesCommand");
5
6
  const EKSClient_1 = require("../EKSClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAccessEntriesCommand_1.ListAccessEntriesCommand(input), ...args);
8
- };
9
- async function* paginateListAccessEntries(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof EKSClient_1.EKSClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected EKS | EKSClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAccessEntries = paginateListAccessEntries;
7
+ exports.paginateListAccessEntries = (0, core_1.createPaginator)(EKSClient_1.EKSClient, ListAccessEntriesCommand_1.ListAccessEntriesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAccessPolicies = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAccessPoliciesCommand_1 = require("../commands/ListAccessPoliciesCommand");
5
6
  const EKSClient_1 = require("../EKSClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAccessPoliciesCommand_1.ListAccessPoliciesCommand(input), ...args);
8
- };
9
- async function* paginateListAccessPolicies(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof EKSClient_1.EKSClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected EKS | EKSClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAccessPolicies = paginateListAccessPolicies;
7
+ exports.paginateListAccessPolicies = (0, core_1.createPaginator)(EKSClient_1.EKSClient, ListAccessPoliciesCommand_1.ListAccessPoliciesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAddons = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAddonsCommand_1 = require("../commands/ListAddonsCommand");
5
6
  const EKSClient_1 = require("../EKSClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAddonsCommand_1.ListAddonsCommand(input), ...args);
8
- };
9
- async function* paginateListAddons(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof EKSClient_1.EKSClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected EKS | EKSClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAddons = paginateListAddons;
7
+ exports.paginateListAddons = (0, core_1.createPaginator)(EKSClient_1.EKSClient, ListAddonsCommand_1.ListAddonsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAssociatedAccessPolicies = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAssociatedAccessPoliciesCommand_1 = require("../commands/ListAssociatedAccessPoliciesCommand");
5
6
  const EKSClient_1 = require("../EKSClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAssociatedAccessPoliciesCommand_1.ListAssociatedAccessPoliciesCommand(input), ...args);
8
- };
9
- async function* paginateListAssociatedAccessPolicies(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof EKSClient_1.EKSClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected EKS | EKSClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAssociatedAccessPolicies = paginateListAssociatedAccessPolicies;
7
+ exports.paginateListAssociatedAccessPolicies = (0, core_1.createPaginator)(EKSClient_1.EKSClient, ListAssociatedAccessPoliciesCommand_1.ListAssociatedAccessPoliciesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListClusters = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListClustersCommand_1 = require("../commands/ListClustersCommand");
5
6
  const EKSClient_1 = require("../EKSClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListClustersCommand_1.ListClustersCommand(input), ...args);
8
- };
9
- async function* paginateListClusters(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof EKSClient_1.EKSClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected EKS | EKSClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListClusters = paginateListClusters;
7
+ exports.paginateListClusters = (0, core_1.createPaginator)(EKSClient_1.EKSClient, ListClustersCommand_1.ListClustersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListEksAnywhereSubscriptions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListEksAnywhereSubscriptionsCommand_1 = require("../commands/ListEksAnywhereSubscriptionsCommand");
5
6
  const EKSClient_1 = require("../EKSClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListEksAnywhereSubscriptionsCommand_1.ListEksAnywhereSubscriptionsCommand(input), ...args);
8
- };
9
- async function* paginateListEksAnywhereSubscriptions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof EKSClient_1.EKSClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected EKS | EKSClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListEksAnywhereSubscriptions = paginateListEksAnywhereSubscriptions;
7
+ exports.paginateListEksAnywhereSubscriptions = (0, core_1.createPaginator)(EKSClient_1.EKSClient, ListEksAnywhereSubscriptionsCommand_1.ListEksAnywhereSubscriptionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFargateProfiles = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListFargateProfilesCommand_1 = require("../commands/ListFargateProfilesCommand");
5
6
  const EKSClient_1 = require("../EKSClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListFargateProfilesCommand_1.ListFargateProfilesCommand(input), ...args);
8
- };
9
- async function* paginateListFargateProfiles(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof EKSClient_1.EKSClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected EKS | EKSClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListFargateProfiles = paginateListFargateProfiles;
7
+ exports.paginateListFargateProfiles = (0, core_1.createPaginator)(EKSClient_1.EKSClient, ListFargateProfilesCommand_1.ListFargateProfilesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListIdentityProviderConfigs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListIdentityProviderConfigsCommand_1 = require("../commands/ListIdentityProviderConfigsCommand");
5
6
  const EKSClient_1 = require("../EKSClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListIdentityProviderConfigsCommand_1.ListIdentityProviderConfigsCommand(input), ...args);
8
- };
9
- async function* paginateListIdentityProviderConfigs(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof EKSClient_1.EKSClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected EKS | EKSClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListIdentityProviderConfigs = paginateListIdentityProviderConfigs;
7
+ exports.paginateListIdentityProviderConfigs = (0, core_1.createPaginator)(EKSClient_1.EKSClient, ListIdentityProviderConfigsCommand_1.ListIdentityProviderConfigsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListInsights = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListInsightsCommand_1 = require("../commands/ListInsightsCommand");
6
+ const EKSClient_1 = require("../EKSClient");
7
+ exports.paginateListInsights = (0, core_1.createPaginator)(EKSClient_1.EKSClient, ListInsightsCommand_1.ListInsightsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListNodegroups = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListNodegroupsCommand_1 = require("../commands/ListNodegroupsCommand");
5
6
  const EKSClient_1 = require("../EKSClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListNodegroupsCommand_1.ListNodegroupsCommand(input), ...args);
8
- };
9
- async function* paginateListNodegroups(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof EKSClient_1.EKSClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected EKS | EKSClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListNodegroups = paginateListNodegroups;
7
+ exports.paginateListNodegroups = (0, core_1.createPaginator)(EKSClient_1.EKSClient, ListNodegroupsCommand_1.ListNodegroupsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListPodIdentityAssociations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListPodIdentityAssociationsCommand_1 = require("../commands/ListPodIdentityAssociationsCommand");
5
6
  const EKSClient_1 = require("../EKSClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListPodIdentityAssociationsCommand_1.ListPodIdentityAssociationsCommand(input), ...args);
8
- };
9
- async function* paginateListPodIdentityAssociations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof EKSClient_1.EKSClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected EKS | EKSClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListPodIdentityAssociations = paginateListPodIdentityAssociations;
7
+ exports.paginateListPodIdentityAssociations = (0, core_1.createPaginator)(EKSClient_1.EKSClient, ListPodIdentityAssociationsCommand_1.ListPodIdentityAssociationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListUpdates = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListUpdatesCommand_1 = require("../commands/ListUpdatesCommand");
5
6
  const EKSClient_1 = require("../EKSClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListUpdatesCommand_1.ListUpdatesCommand(input), ...args);
8
- };
9
- async function* paginateListUpdates(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof EKSClient_1.EKSClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected EKS | EKSClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListUpdates = paginateListUpdates;
7
+ exports.paginateListUpdates = (0, core_1.createPaginator)(EKSClient_1.EKSClient, ListUpdatesCommand_1.ListUpdatesCommand, "nextToken", "nextToken", "maxResults");
@@ -11,6 +11,7 @@ tslib_1.__exportStar(require("./ListClustersPaginator"), exports);
11
11
  tslib_1.__exportStar(require("./ListEksAnywhereSubscriptionsPaginator"), exports);
12
12
  tslib_1.__exportStar(require("./ListFargateProfilesPaginator"), exports);
13
13
  tslib_1.__exportStar(require("./ListIdentityProviderConfigsPaginator"), exports);
14
+ tslib_1.__exportStar(require("./ListInsightsPaginator"), exports);
14
15
  tslib_1.__exportStar(require("./ListNodegroupsPaginator"), exports);
15
16
  tslib_1.__exportStar(require("./ListPodIdentityAssociationsPaginator"), exports);
16
17
  tslib_1.__exportStar(require("./ListUpdatesPaginator"), exports);