@aws-sdk/client-eks 3.35.0 → 3.38.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 (374) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/EKS.js +0 -13
  3. package/dist-cjs/EKSClient.js +0 -18
  4. package/dist-cjs/commands/AssociateEncryptionConfigCommand.js +0 -28
  5. package/dist-cjs/commands/AssociateIdentityProviderConfigCommand.js +0 -32
  6. package/dist-cjs/commands/CreateAddonCommand.js +0 -30
  7. package/dist-cjs/commands/CreateClusterCommand.js +0 -43
  8. package/dist-cjs/commands/CreateFargateProfileCommand.js +0 -48
  9. package/dist-cjs/commands/CreateNodegroupCommand.js +0 -34
  10. package/dist-cjs/commands/DeleteAddonCommand.js +0 -27
  11. package/dist-cjs/commands/DeleteClusterCommand.js +0 -32
  12. package/dist-cjs/commands/DeleteFargateProfileCommand.js +0 -32
  13. package/dist-cjs/commands/DeleteNodegroupCommand.js +0 -25
  14. package/dist-cjs/commands/DeregisterClusterCommand.js +0 -25
  15. package/dist-cjs/commands/DescribeAddonCommand.js +0 -25
  16. package/dist-cjs/commands/DescribeAddonVersionsCommand.js +0 -25
  17. package/dist-cjs/commands/DescribeClusterCommand.js +0 -33
  18. package/dist-cjs/commands/DescribeFargateProfileCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeIdentityProviderConfigCommand.js +0 -25
  20. package/dist-cjs/commands/DescribeNodegroupCommand.js +0 -25
  21. package/dist-cjs/commands/DescribeUpdateCommand.js +0 -29
  22. package/dist-cjs/commands/DisassociateIdentityProviderConfigCommand.js +0 -28
  23. package/dist-cjs/commands/ListAddonsCommand.js +0 -25
  24. package/dist-cjs/commands/ListClustersCommand.js +0 -25
  25. package/dist-cjs/commands/ListFargateProfilesCommand.js +0 -26
  26. package/dist-cjs/commands/ListIdentityProviderConfigsCommand.js +0 -25
  27. package/dist-cjs/commands/ListNodegroupsCommand.js +0 -26
  28. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  29. package/dist-cjs/commands/ListUpdatesCommand.js +0 -26
  30. package/dist-cjs/commands/RegisterClusterCommand.js +0 -34
  31. package/dist-cjs/commands/TagResourceCommand.js +0 -31
  32. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  33. package/dist-cjs/commands/UpdateAddonCommand.js +0 -25
  34. package/dist-cjs/commands/UpdateClusterConfigCommand.js +0 -51
  35. package/dist-cjs/commands/UpdateClusterVersionCommand.js +0 -35
  36. package/dist-cjs/commands/UpdateNodegroupConfigCommand.js +0 -29
  37. package/dist-cjs/commands/UpdateNodegroupVersionCommand.js +0 -42
  38. package/dist-cjs/commands/index.js +37 -0
  39. package/dist-cjs/endpoints.js +1 -2
  40. package/dist-cjs/index.js +5 -53
  41. package/dist-cjs/models/index.js +0 -1
  42. package/dist-cjs/models/models_0.js +0 -361
  43. package/dist-cjs/pagination/DescribeAddonVersionsPaginator.js +0 -11
  44. package/dist-cjs/pagination/Interfaces.js +0 -1
  45. package/dist-cjs/pagination/ListAddonsPaginator.js +0 -11
  46. package/dist-cjs/pagination/ListClustersPaginator.js +0 -11
  47. package/dist-cjs/pagination/ListFargateProfilesPaginator.js +0 -11
  48. package/dist-cjs/pagination/ListIdentityProviderConfigsPaginator.js +0 -11
  49. package/dist-cjs/pagination/ListNodegroupsPaginator.js +0 -11
  50. package/dist-cjs/pagination/ListUpdatesPaginator.js +0 -11
  51. package/dist-cjs/pagination/index.js +11 -0
  52. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  53. package/dist-cjs/runtimeConfig.browser.js +1 -6
  54. package/dist-cjs/runtimeConfig.js +2 -7
  55. package/dist-cjs/runtimeConfig.native.js +0 -4
  56. package/dist-cjs/runtimeConfig.shared.js +0 -4
  57. package/dist-cjs/waiters/index.js +11 -0
  58. package/dist-cjs/waiters/waitForAddonActive.js +0 -10
  59. package/dist-cjs/waiters/waitForAddonDeleted.js +0 -10
  60. package/dist-cjs/waiters/waitForClusterActive.js +0 -10
  61. package/dist-cjs/waiters/waitForClusterDeleted.js +0 -10
  62. package/dist-cjs/waiters/waitForFargateProfileActive.js +0 -10
  63. package/dist-cjs/waiters/waitForFargateProfileDeleted.js +0 -10
  64. package/dist-cjs/waiters/waitForNodegroupActive.js +0 -10
  65. package/dist-cjs/waiters/waitForNodegroupDeleted.js +0 -10
  66. package/dist-es/EKS.js +0 -1
  67. package/dist-es/EKSClient.js +0 -1
  68. package/dist-es/commands/AssociateEncryptionConfigCommand.js +0 -1
  69. package/dist-es/commands/AssociateIdentityProviderConfigCommand.js +0 -1
  70. package/dist-es/commands/CreateAddonCommand.js +0 -1
  71. package/dist-es/commands/CreateClusterCommand.js +0 -1
  72. package/dist-es/commands/CreateFargateProfileCommand.js +0 -1
  73. package/dist-es/commands/CreateNodegroupCommand.js +0 -1
  74. package/dist-es/commands/DeleteAddonCommand.js +0 -1
  75. package/dist-es/commands/DeleteClusterCommand.js +0 -1
  76. package/dist-es/commands/DeleteFargateProfileCommand.js +0 -1
  77. package/dist-es/commands/DeleteNodegroupCommand.js +0 -1
  78. package/dist-es/commands/DeregisterClusterCommand.js +0 -1
  79. package/dist-es/commands/DescribeAddonCommand.js +0 -1
  80. package/dist-es/commands/DescribeAddonVersionsCommand.js +0 -1
  81. package/dist-es/commands/DescribeClusterCommand.js +0 -1
  82. package/dist-es/commands/DescribeFargateProfileCommand.js +0 -1
  83. package/dist-es/commands/DescribeIdentityProviderConfigCommand.js +0 -1
  84. package/dist-es/commands/DescribeNodegroupCommand.js +0 -1
  85. package/dist-es/commands/DescribeUpdateCommand.js +0 -1
  86. package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js +0 -1
  87. package/dist-es/commands/ListAddonsCommand.js +0 -1
  88. package/dist-es/commands/ListClustersCommand.js +0 -1
  89. package/dist-es/commands/ListFargateProfilesCommand.js +0 -1
  90. package/dist-es/commands/ListIdentityProviderConfigsCommand.js +0 -1
  91. package/dist-es/commands/ListNodegroupsCommand.js +0 -1
  92. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  93. package/dist-es/commands/ListUpdatesCommand.js +0 -1
  94. package/dist-es/commands/RegisterClusterCommand.js +0 -1
  95. package/dist-es/commands/TagResourceCommand.js +0 -1
  96. package/dist-es/commands/UntagResourceCommand.js +0 -1
  97. package/dist-es/commands/UpdateAddonCommand.js +0 -1
  98. package/dist-es/commands/UpdateClusterConfigCommand.js +0 -1
  99. package/dist-es/commands/UpdateClusterVersionCommand.js +0 -1
  100. package/dist-es/commands/UpdateNodegroupConfigCommand.js +0 -1
  101. package/dist-es/commands/UpdateNodegroupVersionCommand.js +0 -1
  102. package/dist-es/commands/index.js +34 -0
  103. package/dist-es/endpoints.js +1 -2
  104. package/dist-es/index.js +5 -53
  105. package/dist-es/models/index.js +0 -1
  106. package/dist-es/models/models_0.js +0 -1
  107. package/dist-es/pagination/DescribeAddonVersionsPaginator.js +0 -1
  108. package/dist-es/pagination/Interfaces.js +0 -1
  109. package/dist-es/pagination/ListAddonsPaginator.js +0 -1
  110. package/dist-es/pagination/ListClustersPaginator.js +0 -1
  111. package/dist-es/pagination/ListFargateProfilesPaginator.js +0 -1
  112. package/dist-es/pagination/ListIdentityProviderConfigsPaginator.js +0 -1
  113. package/dist-es/pagination/ListNodegroupsPaginator.js +0 -1
  114. package/dist-es/pagination/ListUpdatesPaginator.js +0 -1
  115. package/dist-es/pagination/index.js +8 -0
  116. package/dist-es/protocols/Aws_restJson1.js +0 -1
  117. package/dist-es/runtimeConfig.browser.js +1 -2
  118. package/dist-es/runtimeConfig.js +2 -3
  119. package/dist-es/runtimeConfig.native.js +0 -1
  120. package/dist-es/runtimeConfig.shared.js +0 -1
  121. package/dist-es/waiters/index.js +8 -0
  122. package/dist-es/waiters/waitForAddonActive.js +0 -1
  123. package/dist-es/waiters/waitForAddonDeleted.js +0 -1
  124. package/dist-es/waiters/waitForClusterActive.js +0 -1
  125. package/dist-es/waiters/waitForClusterDeleted.js +0 -1
  126. package/dist-es/waiters/waitForFargateProfileActive.js +0 -1
  127. package/dist-es/waiters/waitForFargateProfileDeleted.js +0 -1
  128. package/dist-es/waiters/waitForNodegroupActive.js +0 -1
  129. package/dist-es/waiters/waitForNodegroupDeleted.js +0 -1
  130. package/dist-types/commands/index.d.ts +34 -0
  131. package/dist-types/index.d.ts +5 -52
  132. package/dist-types/pagination/index.d.ts +8 -0
  133. package/dist-types/ts3.4/EKS.d.ts +35 -285
  134. package/dist-types/ts3.4/EKSClient.d.ts +24 -98
  135. package/dist-types/ts3.4/commands/AssociateEncryptionConfigCommand.d.ts +2 -23
  136. package/dist-types/ts3.4/commands/AssociateIdentityProviderConfigCommand.d.ts +2 -27
  137. package/dist-types/ts3.4/commands/CreateAddonCommand.d.ts +2 -25
  138. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -38
  139. package/dist-types/ts3.4/commands/CreateFargateProfileCommand.d.ts +2 -43
  140. package/dist-types/ts3.4/commands/CreateNodegroupCommand.d.ts +2 -29
  141. package/dist-types/ts3.4/commands/DeleteAddonCommand.d.ts +2 -22
  142. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -27
  143. package/dist-types/ts3.4/commands/DeleteFargateProfileCommand.d.ts +2 -27
  144. package/dist-types/ts3.4/commands/DeleteNodegroupCommand.d.ts +2 -20
  145. package/dist-types/ts3.4/commands/DeregisterClusterCommand.d.ts +2 -20
  146. package/dist-types/ts3.4/commands/DescribeAddonCommand.d.ts +2 -20
  147. package/dist-types/ts3.4/commands/DescribeAddonVersionsCommand.d.ts +2 -20
  148. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +2 -28
  149. package/dist-types/ts3.4/commands/DescribeFargateProfileCommand.d.ts +2 -20
  150. package/dist-types/ts3.4/commands/DescribeIdentityProviderConfigCommand.d.ts +2 -20
  151. package/dist-types/ts3.4/commands/DescribeNodegroupCommand.d.ts +2 -20
  152. package/dist-types/ts3.4/commands/DescribeUpdateCommand.d.ts +2 -24
  153. package/dist-types/ts3.4/commands/DisassociateIdentityProviderConfigCommand.d.ts +2 -23
  154. package/dist-types/ts3.4/commands/ListAddonsCommand.d.ts +2 -20
  155. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -20
  156. package/dist-types/ts3.4/commands/ListFargateProfilesCommand.d.ts +2 -21
  157. package/dist-types/ts3.4/commands/ListIdentityProviderConfigsCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/ListNodegroupsCommand.d.ts +2 -21
  159. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  160. package/dist-types/ts3.4/commands/ListUpdatesCommand.d.ts +2 -21
  161. package/dist-types/ts3.4/commands/RegisterClusterCommand.d.ts +2 -29
  162. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -26
  163. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  164. package/dist-types/ts3.4/commands/UpdateAddonCommand.d.ts +2 -20
  165. package/dist-types/ts3.4/commands/UpdateClusterConfigCommand.d.ts +2 -46
  166. package/dist-types/ts3.4/commands/UpdateClusterVersionCommand.d.ts +2 -30
  167. package/dist-types/ts3.4/commands/UpdateNodegroupConfigCommand.d.ts +2 -24
  168. package/dist-types/ts3.4/commands/UpdateNodegroupVersionCommand.d.ts +2 -37
  169. package/dist-types/ts3.4/commands/index.d.ts +34 -0
  170. package/dist-types/ts3.4/index.d.ts +5 -52
  171. package/dist-types/ts3.4/models/models_0.d.ts +525 -2214
  172. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  173. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  174. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  175. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  176. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  177. package/dist-types/ts3.4/waiters/index.d.ts +8 -0
  178. package/dist-types/ts3.4/waiters/waitForAddonActive.d.ts +2 -9
  179. package/dist-types/ts3.4/waiters/waitForAddonDeleted.d.ts +2 -9
  180. package/dist-types/ts3.4/waiters/waitForClusterActive.d.ts +2 -9
  181. package/dist-types/ts3.4/waiters/waitForClusterDeleted.d.ts +2 -9
  182. package/dist-types/ts3.4/waiters/waitForFargateProfileActive.d.ts +2 -9
  183. package/dist-types/ts3.4/waiters/waitForFargateProfileDeleted.d.ts +2 -9
  184. package/dist-types/ts3.4/waiters/waitForNodegroupActive.d.ts +2 -9
  185. package/dist-types/ts3.4/waiters/waitForNodegroupDeleted.d.ts +2 -9
  186. package/dist-types/waiters/index.d.ts +8 -0
  187. package/package.json +34 -31
  188. package/dist-cjs/EKS.js.map +0 -1
  189. package/dist-cjs/EKSClient.js.map +0 -1
  190. package/dist-cjs/commands/AssociateEncryptionConfigCommand.js.map +0 -1
  191. package/dist-cjs/commands/AssociateIdentityProviderConfigCommand.js.map +0 -1
  192. package/dist-cjs/commands/CreateAddonCommand.js.map +0 -1
  193. package/dist-cjs/commands/CreateClusterCommand.js.map +0 -1
  194. package/dist-cjs/commands/CreateFargateProfileCommand.js.map +0 -1
  195. package/dist-cjs/commands/CreateNodegroupCommand.js.map +0 -1
  196. package/dist-cjs/commands/DeleteAddonCommand.js.map +0 -1
  197. package/dist-cjs/commands/DeleteClusterCommand.js.map +0 -1
  198. package/dist-cjs/commands/DeleteFargateProfileCommand.js.map +0 -1
  199. package/dist-cjs/commands/DeleteNodegroupCommand.js.map +0 -1
  200. package/dist-cjs/commands/DeregisterClusterCommand.js.map +0 -1
  201. package/dist-cjs/commands/DescribeAddonCommand.js.map +0 -1
  202. package/dist-cjs/commands/DescribeAddonVersionsCommand.js.map +0 -1
  203. package/dist-cjs/commands/DescribeClusterCommand.js.map +0 -1
  204. package/dist-cjs/commands/DescribeFargateProfileCommand.js.map +0 -1
  205. package/dist-cjs/commands/DescribeIdentityProviderConfigCommand.js.map +0 -1
  206. package/dist-cjs/commands/DescribeNodegroupCommand.js.map +0 -1
  207. package/dist-cjs/commands/DescribeUpdateCommand.js.map +0 -1
  208. package/dist-cjs/commands/DisassociateIdentityProviderConfigCommand.js.map +0 -1
  209. package/dist-cjs/commands/ListAddonsCommand.js.map +0 -1
  210. package/dist-cjs/commands/ListClustersCommand.js.map +0 -1
  211. package/dist-cjs/commands/ListFargateProfilesCommand.js.map +0 -1
  212. package/dist-cjs/commands/ListIdentityProviderConfigsCommand.js.map +0 -1
  213. package/dist-cjs/commands/ListNodegroupsCommand.js.map +0 -1
  214. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  215. package/dist-cjs/commands/ListUpdatesCommand.js.map +0 -1
  216. package/dist-cjs/commands/RegisterClusterCommand.js.map +0 -1
  217. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  218. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  219. package/dist-cjs/commands/UpdateAddonCommand.js.map +0 -1
  220. package/dist-cjs/commands/UpdateClusterConfigCommand.js.map +0 -1
  221. package/dist-cjs/commands/UpdateClusterVersionCommand.js.map +0 -1
  222. package/dist-cjs/commands/UpdateNodegroupConfigCommand.js.map +0 -1
  223. package/dist-cjs/commands/UpdateNodegroupVersionCommand.js.map +0 -1
  224. package/dist-cjs/endpoints.js.map +0 -1
  225. package/dist-cjs/index.js.map +0 -1
  226. package/dist-cjs/models/index.js.map +0 -1
  227. package/dist-cjs/models/models_0.js.map +0 -1
  228. package/dist-cjs/pagination/DescribeAddonVersionsPaginator.js.map +0 -1
  229. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  230. package/dist-cjs/pagination/ListAddonsPaginator.js.map +0 -1
  231. package/dist-cjs/pagination/ListClustersPaginator.js.map +0 -1
  232. package/dist-cjs/pagination/ListFargateProfilesPaginator.js.map +0 -1
  233. package/dist-cjs/pagination/ListIdentityProviderConfigsPaginator.js.map +0 -1
  234. package/dist-cjs/pagination/ListNodegroupsPaginator.js.map +0 -1
  235. package/dist-cjs/pagination/ListUpdatesPaginator.js.map +0 -1
  236. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  237. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  238. package/dist-cjs/runtimeConfig.js.map +0 -1
  239. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  240. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  241. package/dist-cjs/waiters/waitForAddonActive.js.map +0 -1
  242. package/dist-cjs/waiters/waitForAddonDeleted.js.map +0 -1
  243. package/dist-cjs/waiters/waitForClusterActive.js.map +0 -1
  244. package/dist-cjs/waiters/waitForClusterDeleted.js.map +0 -1
  245. package/dist-cjs/waiters/waitForFargateProfileActive.js.map +0 -1
  246. package/dist-cjs/waiters/waitForFargateProfileDeleted.js.map +0 -1
  247. package/dist-cjs/waiters/waitForNodegroupActive.js.map +0 -1
  248. package/dist-cjs/waiters/waitForNodegroupDeleted.js.map +0 -1
  249. package/dist-es/EKS.js.map +0 -1
  250. package/dist-es/EKSClient.js.map +0 -1
  251. package/dist-es/commands/AssociateEncryptionConfigCommand.js.map +0 -1
  252. package/dist-es/commands/AssociateIdentityProviderConfigCommand.js.map +0 -1
  253. package/dist-es/commands/CreateAddonCommand.js.map +0 -1
  254. package/dist-es/commands/CreateClusterCommand.js.map +0 -1
  255. package/dist-es/commands/CreateFargateProfileCommand.js.map +0 -1
  256. package/dist-es/commands/CreateNodegroupCommand.js.map +0 -1
  257. package/dist-es/commands/DeleteAddonCommand.js.map +0 -1
  258. package/dist-es/commands/DeleteClusterCommand.js.map +0 -1
  259. package/dist-es/commands/DeleteFargateProfileCommand.js.map +0 -1
  260. package/dist-es/commands/DeleteNodegroupCommand.js.map +0 -1
  261. package/dist-es/commands/DeregisterClusterCommand.js.map +0 -1
  262. package/dist-es/commands/DescribeAddonCommand.js.map +0 -1
  263. package/dist-es/commands/DescribeAddonVersionsCommand.js.map +0 -1
  264. package/dist-es/commands/DescribeClusterCommand.js.map +0 -1
  265. package/dist-es/commands/DescribeFargateProfileCommand.js.map +0 -1
  266. package/dist-es/commands/DescribeIdentityProviderConfigCommand.js.map +0 -1
  267. package/dist-es/commands/DescribeNodegroupCommand.js.map +0 -1
  268. package/dist-es/commands/DescribeUpdateCommand.js.map +0 -1
  269. package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js.map +0 -1
  270. package/dist-es/commands/ListAddonsCommand.js.map +0 -1
  271. package/dist-es/commands/ListClustersCommand.js.map +0 -1
  272. package/dist-es/commands/ListFargateProfilesCommand.js.map +0 -1
  273. package/dist-es/commands/ListIdentityProviderConfigsCommand.js.map +0 -1
  274. package/dist-es/commands/ListNodegroupsCommand.js.map +0 -1
  275. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  276. package/dist-es/commands/ListUpdatesCommand.js.map +0 -1
  277. package/dist-es/commands/RegisterClusterCommand.js.map +0 -1
  278. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  279. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  280. package/dist-es/commands/UpdateAddonCommand.js.map +0 -1
  281. package/dist-es/commands/UpdateClusterConfigCommand.js.map +0 -1
  282. package/dist-es/commands/UpdateClusterVersionCommand.js.map +0 -1
  283. package/dist-es/commands/UpdateNodegroupConfigCommand.js.map +0 -1
  284. package/dist-es/commands/UpdateNodegroupVersionCommand.js.map +0 -1
  285. package/dist-es/endpoints.js.map +0 -1
  286. package/dist-es/index.js.map +0 -1
  287. package/dist-es/models/index.js.map +0 -1
  288. package/dist-es/models/models_0.js.map +0 -1
  289. package/dist-es/pagination/DescribeAddonVersionsPaginator.js.map +0 -1
  290. package/dist-es/pagination/Interfaces.js.map +0 -1
  291. package/dist-es/pagination/ListAddonsPaginator.js.map +0 -1
  292. package/dist-es/pagination/ListClustersPaginator.js.map +0 -1
  293. package/dist-es/pagination/ListFargateProfilesPaginator.js.map +0 -1
  294. package/dist-es/pagination/ListIdentityProviderConfigsPaginator.js.map +0 -1
  295. package/dist-es/pagination/ListNodegroupsPaginator.js.map +0 -1
  296. package/dist-es/pagination/ListUpdatesPaginator.js.map +0 -1
  297. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  298. package/dist-es/runtimeConfig.browser.js.map +0 -1
  299. package/dist-es/runtimeConfig.js.map +0 -1
  300. package/dist-es/runtimeConfig.native.js.map +0 -1
  301. package/dist-es/runtimeConfig.shared.js.map +0 -1
  302. package/dist-es/waiters/waitForAddonActive.js.map +0 -1
  303. package/dist-es/waiters/waitForAddonDeleted.js.map +0 -1
  304. package/dist-es/waiters/waitForClusterActive.js.map +0 -1
  305. package/dist-es/waiters/waitForClusterDeleted.js.map +0 -1
  306. package/dist-es/waiters/waitForFargateProfileActive.js.map +0 -1
  307. package/dist-es/waiters/waitForFargateProfileDeleted.js.map +0 -1
  308. package/dist-es/waiters/waitForNodegroupActive.js.map +0 -1
  309. package/dist-es/waiters/waitForNodegroupDeleted.js.map +0 -1
  310. package/jest.config.js +0 -4
  311. package/src/EKS.ts +0 -1383
  312. package/src/EKSClient.ts +0 -392
  313. package/src/commands/AssociateEncryptionConfigCommand.ts +0 -101
  314. package/src/commands/AssociateIdentityProviderConfigCommand.ts +0 -110
  315. package/src/commands/CreateAddonCommand.ts +0 -100
  316. package/src/commands/CreateClusterCommand.ts +0 -113
  317. package/src/commands/CreateFargateProfileCommand.ts +0 -118
  318. package/src/commands/CreateNodegroupCommand.ts +0 -104
  319. package/src/commands/DeleteAddonCommand.ts +0 -97
  320. package/src/commands/DeleteClusterCommand.ts +0 -102
  321. package/src/commands/DeleteFargateProfileCommand.ts +0 -102
  322. package/src/commands/DeleteNodegroupCommand.ts +0 -95
  323. package/src/commands/DeregisterClusterCommand.ts +0 -95
  324. package/src/commands/DescribeAddonCommand.ts +0 -95
  325. package/src/commands/DescribeAddonVersionsCommand.ts +0 -95
  326. package/src/commands/DescribeClusterCommand.ts +0 -103
  327. package/src/commands/DescribeFargateProfileCommand.ts +0 -95
  328. package/src/commands/DescribeIdentityProviderConfigCommand.ts +0 -103
  329. package/src/commands/DescribeNodegroupCommand.ts +0 -95
  330. package/src/commands/DescribeUpdateCommand.ts +0 -99
  331. package/src/commands/DisassociateIdentityProviderConfigCommand.ts +0 -109
  332. package/src/commands/ListAddonsCommand.ts +0 -95
  333. package/src/commands/ListClustersCommand.ts +0 -95
  334. package/src/commands/ListFargateProfilesCommand.ts +0 -96
  335. package/src/commands/ListIdentityProviderConfigsCommand.ts +0 -100
  336. package/src/commands/ListNodegroupsCommand.ts +0 -96
  337. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  338. package/src/commands/ListUpdatesCommand.ts +0 -96
  339. package/src/commands/RegisterClusterCommand.ts +0 -104
  340. package/src/commands/TagResourceCommand.ts +0 -101
  341. package/src/commands/UntagResourceCommand.ts +0 -95
  342. package/src/commands/UpdateAddonCommand.ts +0 -95
  343. package/src/commands/UpdateClusterConfigCommand.ts +0 -121
  344. package/src/commands/UpdateClusterVersionCommand.ts +0 -105
  345. package/src/commands/UpdateNodegroupConfigCommand.ts +0 -99
  346. package/src/commands/UpdateNodegroupVersionCommand.ts +0 -112
  347. package/src/endpoints.ts +0 -86
  348. package/src/index.ts +0 -53
  349. package/src/models/index.ts +0 -1
  350. package/src/models/models_0.ts +0 -4086
  351. package/src/pagination/DescribeAddonVersionsPaginator.ts +0 -59
  352. package/src/pagination/Interfaces.ts +0 -8
  353. package/src/pagination/ListAddonsPaginator.ts +0 -55
  354. package/src/pagination/ListClustersPaginator.ts +0 -59
  355. package/src/pagination/ListFargateProfilesPaginator.ts +0 -59
  356. package/src/pagination/ListIdentityProviderConfigsPaginator.ts +0 -59
  357. package/src/pagination/ListNodegroupsPaginator.ts +0 -59
  358. package/src/pagination/ListUpdatesPaginator.ts +0 -55
  359. package/src/protocols/Aws_restJson1.ts +0 -5805
  360. package/src/runtimeConfig.browser.ts +0 -41
  361. package/src/runtimeConfig.native.ts +0 -17
  362. package/src/runtimeConfig.shared.ts +0 -17
  363. package/src/runtimeConfig.ts +0 -46
  364. package/src/waiters/waitForAddonActive.ts +0 -63
  365. package/src/waiters/waitForAddonDeleted.ts +0 -50
  366. package/src/waiters/waitForClusterActive.ts +0 -63
  367. package/src/waiters/waitForClusterDeleted.ts +0 -66
  368. package/src/waiters/waitForFargateProfileActive.ts +0 -58
  369. package/src/waiters/waitForFargateProfileDeleted.ts +0 -53
  370. package/src/waiters/waitForNodegroupActive.ts +0 -55
  371. package/src/waiters/waitForNodegroupDeleted.ts +0 -50
  372. package/tsconfig.es.json +0 -10
  373. package/tsconfig.json +0 -33
  374. package/tsconfig.types.json +0 -9
package/src/EKS.ts DELETED
@@ -1,1383 +0,0 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
-
3
- import {
4
- AssociateEncryptionConfigCommand,
5
- AssociateEncryptionConfigCommandInput,
6
- AssociateEncryptionConfigCommandOutput,
7
- } from "./commands/AssociateEncryptionConfigCommand";
8
- import {
9
- AssociateIdentityProviderConfigCommand,
10
- AssociateIdentityProviderConfigCommandInput,
11
- AssociateIdentityProviderConfigCommandOutput,
12
- } from "./commands/AssociateIdentityProviderConfigCommand";
13
- import { CreateAddonCommand, CreateAddonCommandInput, CreateAddonCommandOutput } from "./commands/CreateAddonCommand";
14
- import {
15
- CreateClusterCommand,
16
- CreateClusterCommandInput,
17
- CreateClusterCommandOutput,
18
- } from "./commands/CreateClusterCommand";
19
- import {
20
- CreateFargateProfileCommand,
21
- CreateFargateProfileCommandInput,
22
- CreateFargateProfileCommandOutput,
23
- } from "./commands/CreateFargateProfileCommand";
24
- import {
25
- CreateNodegroupCommand,
26
- CreateNodegroupCommandInput,
27
- CreateNodegroupCommandOutput,
28
- } from "./commands/CreateNodegroupCommand";
29
- import { DeleteAddonCommand, DeleteAddonCommandInput, DeleteAddonCommandOutput } from "./commands/DeleteAddonCommand";
30
- import {
31
- DeleteClusterCommand,
32
- DeleteClusterCommandInput,
33
- DeleteClusterCommandOutput,
34
- } from "./commands/DeleteClusterCommand";
35
- import {
36
- DeleteFargateProfileCommand,
37
- DeleteFargateProfileCommandInput,
38
- DeleteFargateProfileCommandOutput,
39
- } from "./commands/DeleteFargateProfileCommand";
40
- import {
41
- DeleteNodegroupCommand,
42
- DeleteNodegroupCommandInput,
43
- DeleteNodegroupCommandOutput,
44
- } from "./commands/DeleteNodegroupCommand";
45
- import {
46
- DeregisterClusterCommand,
47
- DeregisterClusterCommandInput,
48
- DeregisterClusterCommandOutput,
49
- } from "./commands/DeregisterClusterCommand";
50
- import {
51
- DescribeAddonCommand,
52
- DescribeAddonCommandInput,
53
- DescribeAddonCommandOutput,
54
- } from "./commands/DescribeAddonCommand";
55
- import {
56
- DescribeAddonVersionsCommand,
57
- DescribeAddonVersionsCommandInput,
58
- DescribeAddonVersionsCommandOutput,
59
- } from "./commands/DescribeAddonVersionsCommand";
60
- import {
61
- DescribeClusterCommand,
62
- DescribeClusterCommandInput,
63
- DescribeClusterCommandOutput,
64
- } from "./commands/DescribeClusterCommand";
65
- import {
66
- DescribeFargateProfileCommand,
67
- DescribeFargateProfileCommandInput,
68
- DescribeFargateProfileCommandOutput,
69
- } from "./commands/DescribeFargateProfileCommand";
70
- import {
71
- DescribeIdentityProviderConfigCommand,
72
- DescribeIdentityProviderConfigCommandInput,
73
- DescribeIdentityProviderConfigCommandOutput,
74
- } from "./commands/DescribeIdentityProviderConfigCommand";
75
- import {
76
- DescribeNodegroupCommand,
77
- DescribeNodegroupCommandInput,
78
- DescribeNodegroupCommandOutput,
79
- } from "./commands/DescribeNodegroupCommand";
80
- import {
81
- DescribeUpdateCommand,
82
- DescribeUpdateCommandInput,
83
- DescribeUpdateCommandOutput,
84
- } from "./commands/DescribeUpdateCommand";
85
- import {
86
- DisassociateIdentityProviderConfigCommand,
87
- DisassociateIdentityProviderConfigCommandInput,
88
- DisassociateIdentityProviderConfigCommandOutput,
89
- } from "./commands/DisassociateIdentityProviderConfigCommand";
90
- import { ListAddonsCommand, ListAddonsCommandInput, ListAddonsCommandOutput } from "./commands/ListAddonsCommand";
91
- import {
92
- ListClustersCommand,
93
- ListClustersCommandInput,
94
- ListClustersCommandOutput,
95
- } from "./commands/ListClustersCommand";
96
- import {
97
- ListFargateProfilesCommand,
98
- ListFargateProfilesCommandInput,
99
- ListFargateProfilesCommandOutput,
100
- } from "./commands/ListFargateProfilesCommand";
101
- import {
102
- ListIdentityProviderConfigsCommand,
103
- ListIdentityProviderConfigsCommandInput,
104
- ListIdentityProviderConfigsCommandOutput,
105
- } from "./commands/ListIdentityProviderConfigsCommand";
106
- import {
107
- ListNodegroupsCommand,
108
- ListNodegroupsCommandInput,
109
- ListNodegroupsCommandOutput,
110
- } from "./commands/ListNodegroupsCommand";
111
- import {
112
- ListTagsForResourceCommand,
113
- ListTagsForResourceCommandInput,
114
- ListTagsForResourceCommandOutput,
115
- } from "./commands/ListTagsForResourceCommand";
116
- import { ListUpdatesCommand, ListUpdatesCommandInput, ListUpdatesCommandOutput } from "./commands/ListUpdatesCommand";
117
- import {
118
- RegisterClusterCommand,
119
- RegisterClusterCommandInput,
120
- RegisterClusterCommandOutput,
121
- } from "./commands/RegisterClusterCommand";
122
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
123
- import {
124
- UntagResourceCommand,
125
- UntagResourceCommandInput,
126
- UntagResourceCommandOutput,
127
- } from "./commands/UntagResourceCommand";
128
- import { UpdateAddonCommand, UpdateAddonCommandInput, UpdateAddonCommandOutput } from "./commands/UpdateAddonCommand";
129
- import {
130
- UpdateClusterConfigCommand,
131
- UpdateClusterConfigCommandInput,
132
- UpdateClusterConfigCommandOutput,
133
- } from "./commands/UpdateClusterConfigCommand";
134
- import {
135
- UpdateClusterVersionCommand,
136
- UpdateClusterVersionCommandInput,
137
- UpdateClusterVersionCommandOutput,
138
- } from "./commands/UpdateClusterVersionCommand";
139
- import {
140
- UpdateNodegroupConfigCommand,
141
- UpdateNodegroupConfigCommandInput,
142
- UpdateNodegroupConfigCommandOutput,
143
- } from "./commands/UpdateNodegroupConfigCommand";
144
- import {
145
- UpdateNodegroupVersionCommand,
146
- UpdateNodegroupVersionCommandInput,
147
- UpdateNodegroupVersionCommandOutput,
148
- } from "./commands/UpdateNodegroupVersionCommand";
149
- import { EKSClient } from "./EKSClient";
150
-
151
- /**
152
- * <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on
153
- * Amazon Web Services without needing to stand up or maintain your own Kubernetes control plane.
154
- * Kubernetes is an open-source system for automating the deployment, scaling, and
155
- * management of containerized applications. </p>
156
- * <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you can use
157
- * all the existing plugins and tooling from the Kubernetes community. Applications running
158
- * on Amazon EKS are fully compatible with applications running on any standard Kubernetes
159
- * environment, whether running in on-premises data centers or public clouds. This means
160
- * that you can easily migrate any standard Kubernetes application to Amazon EKS without any
161
- * code modification required.</p>
162
- */
163
- export class EKS extends EKSClient {
164
- /**
165
- * <p>Associate encryption configuration to an existing cluster.</p>
166
- * <p>You can use this API to enable encryption on existing clusters which do not have
167
- * encryption already enabled. This allows you to implement a defense-in-depth security
168
- * strategy without migrating applications to new Amazon EKS clusters.</p>
169
- */
170
- public associateEncryptionConfig(
171
- args: AssociateEncryptionConfigCommandInput,
172
- options?: __HttpHandlerOptions
173
- ): Promise<AssociateEncryptionConfigCommandOutput>;
174
- public associateEncryptionConfig(
175
- args: AssociateEncryptionConfigCommandInput,
176
- cb: (err: any, data?: AssociateEncryptionConfigCommandOutput) => void
177
- ): void;
178
- public associateEncryptionConfig(
179
- args: AssociateEncryptionConfigCommandInput,
180
- options: __HttpHandlerOptions,
181
- cb: (err: any, data?: AssociateEncryptionConfigCommandOutput) => void
182
- ): void;
183
- public associateEncryptionConfig(
184
- args: AssociateEncryptionConfigCommandInput,
185
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateEncryptionConfigCommandOutput) => void),
186
- cb?: (err: any, data?: AssociateEncryptionConfigCommandOutput) => void
187
- ): Promise<AssociateEncryptionConfigCommandOutput> | void {
188
- const command = new AssociateEncryptionConfigCommand(args);
189
- if (typeof optionsOrCb === "function") {
190
- this.send(command, optionsOrCb);
191
- } else if (typeof cb === "function") {
192
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
193
- this.send(command, optionsOrCb || {}, cb);
194
- } else {
195
- return this.send(command, optionsOrCb);
196
- }
197
- }
198
-
199
- /**
200
- * <p>Associate an identity provider configuration to a cluster.</p>
201
- * <p>If you want to authenticate identities using an identity provider, you can create an
202
- * identity provider configuration and associate it to your cluster. After configuring
203
- * authentication to your cluster you can create Kubernetes <code>roles</code> and
204
- * <code>clusterroles</code> to assign permissions to the roles, and then bind the
205
- * roles to the identities using Kubernetes <code>rolebindings</code> and
206
- * <code>clusterrolebindings</code>. For more information see <a href="https://kubernetes.io/docs/reference/access-authn-authz/rbac/">Using RBAC
207
- * Authorization</a> in the Kubernetes documentation.</p>
208
- */
209
- public associateIdentityProviderConfig(
210
- args: AssociateIdentityProviderConfigCommandInput,
211
- options?: __HttpHandlerOptions
212
- ): Promise<AssociateIdentityProviderConfigCommandOutput>;
213
- public associateIdentityProviderConfig(
214
- args: AssociateIdentityProviderConfigCommandInput,
215
- cb: (err: any, data?: AssociateIdentityProviderConfigCommandOutput) => void
216
- ): void;
217
- public associateIdentityProviderConfig(
218
- args: AssociateIdentityProviderConfigCommandInput,
219
- options: __HttpHandlerOptions,
220
- cb: (err: any, data?: AssociateIdentityProviderConfigCommandOutput) => void
221
- ): void;
222
- public associateIdentityProviderConfig(
223
- args: AssociateIdentityProviderConfigCommandInput,
224
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateIdentityProviderConfigCommandOutput) => void),
225
- cb?: (err: any, data?: AssociateIdentityProviderConfigCommandOutput) => void
226
- ): Promise<AssociateIdentityProviderConfigCommandOutput> | void {
227
- const command = new AssociateIdentityProviderConfigCommand(args);
228
- if (typeof optionsOrCb === "function") {
229
- this.send(command, optionsOrCb);
230
- } else if (typeof cb === "function") {
231
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
232
- this.send(command, optionsOrCb || {}, cb);
233
- } else {
234
- return this.send(command, optionsOrCb);
235
- }
236
- }
237
-
238
- /**
239
- * <p>Creates an Amazon EKS add-on.</p>
240
- * <p>Amazon EKS add-ons help to automate the provisioning and lifecycle management of common
241
- * operational software for Amazon EKS clusters. Amazon EKS add-ons can only be used with Amazon EKS
242
- * clusters running version 1.18 with platform version <code>eks.3</code> or later because
243
- * add-ons rely on the Server-side Apply Kubernetes feature, which is only available in
244
- * Kubernetes 1.18 and later.</p>
245
- */
246
- public createAddon(args: CreateAddonCommandInput, options?: __HttpHandlerOptions): Promise<CreateAddonCommandOutput>;
247
- public createAddon(args: CreateAddonCommandInput, cb: (err: any, data?: CreateAddonCommandOutput) => void): void;
248
- public createAddon(
249
- args: CreateAddonCommandInput,
250
- options: __HttpHandlerOptions,
251
- cb: (err: any, data?: CreateAddonCommandOutput) => void
252
- ): void;
253
- public createAddon(
254
- args: CreateAddonCommandInput,
255
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAddonCommandOutput) => void),
256
- cb?: (err: any, data?: CreateAddonCommandOutput) => void
257
- ): Promise<CreateAddonCommandOutput> | void {
258
- const command = new CreateAddonCommand(args);
259
- if (typeof optionsOrCb === "function") {
260
- this.send(command, optionsOrCb);
261
- } else if (typeof cb === "function") {
262
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
263
- this.send(command, optionsOrCb || {}, cb);
264
- } else {
265
- return this.send(command, optionsOrCb);
266
- }
267
- }
268
-
269
- /**
270
- * <p>Creates an Amazon EKS control plane. </p>
271
- * <p>The Amazon EKS control plane consists of control plane instances that run the Kubernetes
272
- * software, such as <code>etcd</code> and the API server. The control plane runs in an
273
- * account managed by Amazon Web Services, and the Kubernetes API is exposed via the Amazon EKS API server
274
- * endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its
275
- * own set of Amazon EC2 instances.</p>
276
- * <p>The cluster control plane is provisioned across multiple Availability Zones and
277
- * fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC
278
- * subnets to provide connectivity from the control plane instances to the nodes (for
279
- * example, to support <code>kubectl exec</code>, <code>logs</code>, and <code>proxy</code>
280
- * data flows).</p>
281
- * <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane via
282
- * the Kubernetes API server endpoint and a certificate file that is created for your
283
- * cluster.</p>
284
- *
285
- * <p>Cluster creation typically takes several minutes. After you create an Amazon EKS cluster,
286
- * you must configure your Kubernetes tooling to communicate with the API server and launch
287
- * nodes into your cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster
288
- * Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS nodes</a> in the <i>Amazon EKS User Guide</i>.</p>
289
- */
290
- public createCluster(
291
- args: CreateClusterCommandInput,
292
- options?: __HttpHandlerOptions
293
- ): Promise<CreateClusterCommandOutput>;
294
- public createCluster(
295
- args: CreateClusterCommandInput,
296
- cb: (err: any, data?: CreateClusterCommandOutput) => void
297
- ): void;
298
- public createCluster(
299
- args: CreateClusterCommandInput,
300
- options: __HttpHandlerOptions,
301
- cb: (err: any, data?: CreateClusterCommandOutput) => void
302
- ): void;
303
- public createCluster(
304
- args: CreateClusterCommandInput,
305
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateClusterCommandOutput) => void),
306
- cb?: (err: any, data?: CreateClusterCommandOutput) => void
307
- ): Promise<CreateClusterCommandOutput> | void {
308
- const command = new CreateClusterCommand(args);
309
- if (typeof optionsOrCb === "function") {
310
- this.send(command, optionsOrCb);
311
- } else if (typeof cb === "function") {
312
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
313
- this.send(command, optionsOrCb || {}, cb);
314
- } else {
315
- return this.send(command, optionsOrCb);
316
- }
317
- }
318
-
319
- /**
320
- * <p>Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate
321
- * profile in a cluster to be able to run pods on Fargate.</p>
322
- * <p>The Fargate profile allows an administrator to declare which pods run on Fargate and specify
323
- * which pods run on which Fargate profile. This declaration is done through the profile’s
324
- * selectors. Each profile can have up to five selectors that contain a namespace and
325
- * labels. A namespace is required for every selector. The label field consists of multiple
326
- * optional key-value pairs. Pods that match the selectors are scheduled on Fargate. If a
327
- * to-be-scheduled pod matches any of the selectors in the Fargate profile, then that pod is
328
- * run on Fargate.</p>
329
- * <p>When you create a Fargate profile, you must specify a pod execution role to use with the
330
- * pods that are scheduled with the profile. This role is added to the cluster's Kubernetes
331
- * <a href="https://kubernetes.io/docs/admin/authorization/rbac/">Role Based Access
332
- * Control</a> (RBAC) for authorization so that the <code>kubelet</code> that is
333
- * running on the Fargate infrastructure can register with your Amazon EKS cluster so that it can
334
- * appear in your cluster as a node. The pod execution role also provides IAM permissions
335
- * to the Fargate infrastructure to allow read access to Amazon ECR image repositories. For more
336
- * information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html">Pod Execution Role</a> in the <i>Amazon EKS User Guide</i>.</p>
337
- * <p>Fargate profiles are immutable. However, you can create a new updated profile to replace
338
- * an existing profile and then delete the original after the updated profile has finished
339
- * creating.</p>
340
- * <p>If any Fargate profiles in a cluster are in the <code>DELETING</code> status, you must
341
- * wait for that Fargate profile to finish deleting before you can create any other profiles
342
- * in that cluster.</p>
343
- * <p>For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html">Fargate Profile</a> in the <i>Amazon EKS User Guide</i>.</p>
344
- */
345
- public createFargateProfile(
346
- args: CreateFargateProfileCommandInput,
347
- options?: __HttpHandlerOptions
348
- ): Promise<CreateFargateProfileCommandOutput>;
349
- public createFargateProfile(
350
- args: CreateFargateProfileCommandInput,
351
- cb: (err: any, data?: CreateFargateProfileCommandOutput) => void
352
- ): void;
353
- public createFargateProfile(
354
- args: CreateFargateProfileCommandInput,
355
- options: __HttpHandlerOptions,
356
- cb: (err: any, data?: CreateFargateProfileCommandOutput) => void
357
- ): void;
358
- public createFargateProfile(
359
- args: CreateFargateProfileCommandInput,
360
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFargateProfileCommandOutput) => void),
361
- cb?: (err: any, data?: CreateFargateProfileCommandOutput) => void
362
- ): Promise<CreateFargateProfileCommandOutput> | void {
363
- const command = new CreateFargateProfileCommand(args);
364
- if (typeof optionsOrCb === "function") {
365
- this.send(command, optionsOrCb);
366
- } else if (typeof cb === "function") {
367
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
368
- this.send(command, optionsOrCb || {}, cb);
369
- } else {
370
- return this.send(command, optionsOrCb);
371
- }
372
- }
373
-
374
- /**
375
- * <p>Creates a managed node group for an Amazon EKS cluster. You can only create a node group
376
- * for your cluster that is equal to the current Kubernetes version for the cluster. All
377
- * node groups are created with the latest AMI release version for the respective minor
378
- * Kubernetes version of the cluster, unless you deploy a custom AMI using a launch
379
- * template. For more information about using launch templates, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch
380
- * template support</a>.</p>
381
- * <p>An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that
382
- * are managed by Amazon Web Services for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS
383
- * optimized Amazon Linux 2 AMI. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html">Managed
384
- * Node Groups</a> in the <i>Amazon EKS User Guide</i>. </p>
385
- */
386
- public createNodegroup(
387
- args: CreateNodegroupCommandInput,
388
- options?: __HttpHandlerOptions
389
- ): Promise<CreateNodegroupCommandOutput>;
390
- public createNodegroup(
391
- args: CreateNodegroupCommandInput,
392
- cb: (err: any, data?: CreateNodegroupCommandOutput) => void
393
- ): void;
394
- public createNodegroup(
395
- args: CreateNodegroupCommandInput,
396
- options: __HttpHandlerOptions,
397
- cb: (err: any, data?: CreateNodegroupCommandOutput) => void
398
- ): void;
399
- public createNodegroup(
400
- args: CreateNodegroupCommandInput,
401
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateNodegroupCommandOutput) => void),
402
- cb?: (err: any, data?: CreateNodegroupCommandOutput) => void
403
- ): Promise<CreateNodegroupCommandOutput> | void {
404
- const command = new CreateNodegroupCommand(args);
405
- if (typeof optionsOrCb === "function") {
406
- this.send(command, optionsOrCb);
407
- } else if (typeof cb === "function") {
408
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
409
- this.send(command, optionsOrCb || {}, cb);
410
- } else {
411
- return this.send(command, optionsOrCb);
412
- }
413
- }
414
-
415
- /**
416
- * <p>Delete an Amazon EKS add-on.</p>
417
- * <p>When you remove the add-on, it will also be deleted from the cluster. You can always
418
- * manually start an add-on on the cluster using the Kubernetes API.</p>
419
- */
420
- public deleteAddon(args: DeleteAddonCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAddonCommandOutput>;
421
- public deleteAddon(args: DeleteAddonCommandInput, cb: (err: any, data?: DeleteAddonCommandOutput) => void): void;
422
- public deleteAddon(
423
- args: DeleteAddonCommandInput,
424
- options: __HttpHandlerOptions,
425
- cb: (err: any, data?: DeleteAddonCommandOutput) => void
426
- ): void;
427
- public deleteAddon(
428
- args: DeleteAddonCommandInput,
429
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAddonCommandOutput) => void),
430
- cb?: (err: any, data?: DeleteAddonCommandOutput) => void
431
- ): Promise<DeleteAddonCommandOutput> | void {
432
- const command = new DeleteAddonCommand(args);
433
- if (typeof optionsOrCb === "function") {
434
- this.send(command, optionsOrCb);
435
- } else if (typeof cb === "function") {
436
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
437
- this.send(command, optionsOrCb || {}, cb);
438
- } else {
439
- return this.send(command, optionsOrCb);
440
- }
441
- }
442
-
443
- /**
444
- * <p>Deletes the Amazon EKS cluster control plane.</p>
445
- * <p>If you have active services in your cluster that are associated with a load balancer,
446
- * you must delete those services before deleting the cluster so that the load balancers
447
- * are deleted properly. Otherwise, you can have orphaned resources in your VPC that
448
- * prevent you from being able to delete the VPC. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html">Deleting a
449
- * Cluster</a> in the <i>Amazon EKS User Guide</i>.</p>
450
- * <p>If you have managed node groups or Fargate profiles attached to the cluster, you must
451
- * delete them first. For more information, see <a>DeleteNodegroup</a> and <a>DeleteFargateProfile</a>.</p>
452
- */
453
- public deleteCluster(
454
- args: DeleteClusterCommandInput,
455
- options?: __HttpHandlerOptions
456
- ): Promise<DeleteClusterCommandOutput>;
457
- public deleteCluster(
458
- args: DeleteClusterCommandInput,
459
- cb: (err: any, data?: DeleteClusterCommandOutput) => void
460
- ): void;
461
- public deleteCluster(
462
- args: DeleteClusterCommandInput,
463
- options: __HttpHandlerOptions,
464
- cb: (err: any, data?: DeleteClusterCommandOutput) => void
465
- ): void;
466
- public deleteCluster(
467
- args: DeleteClusterCommandInput,
468
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteClusterCommandOutput) => void),
469
- cb?: (err: any, data?: DeleteClusterCommandOutput) => void
470
- ): Promise<DeleteClusterCommandOutput> | void {
471
- const command = new DeleteClusterCommand(args);
472
- if (typeof optionsOrCb === "function") {
473
- this.send(command, optionsOrCb);
474
- } else if (typeof cb === "function") {
475
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
476
- this.send(command, optionsOrCb || {}, cb);
477
- } else {
478
- return this.send(command, optionsOrCb);
479
- }
480
- }
481
-
482
- /**
483
- * <p>Deletes an Fargate profile.</p>
484
- * <p>When you delete a Fargate profile, any pods running on Fargate that were created with the
485
- * profile are deleted. If those pods match another Fargate profile, then they are scheduled
486
- * on Fargate with that profile. If they no longer match any Fargate profiles, then they are not
487
- * scheduled on Fargate and they may remain in a pending state.</p>
488
- * <p>Only one Fargate profile in a cluster can be in the <code>DELETING</code> status at a
489
- * time. You must wait for a Fargate profile to finish deleting before you can delete any
490
- * other profiles in that cluster.</p>
491
- */
492
- public deleteFargateProfile(
493
- args: DeleteFargateProfileCommandInput,
494
- options?: __HttpHandlerOptions
495
- ): Promise<DeleteFargateProfileCommandOutput>;
496
- public deleteFargateProfile(
497
- args: DeleteFargateProfileCommandInput,
498
- cb: (err: any, data?: DeleteFargateProfileCommandOutput) => void
499
- ): void;
500
- public deleteFargateProfile(
501
- args: DeleteFargateProfileCommandInput,
502
- options: __HttpHandlerOptions,
503
- cb: (err: any, data?: DeleteFargateProfileCommandOutput) => void
504
- ): void;
505
- public deleteFargateProfile(
506
- args: DeleteFargateProfileCommandInput,
507
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFargateProfileCommandOutput) => void),
508
- cb?: (err: any, data?: DeleteFargateProfileCommandOutput) => void
509
- ): Promise<DeleteFargateProfileCommandOutput> | void {
510
- const command = new DeleteFargateProfileCommand(args);
511
- if (typeof optionsOrCb === "function") {
512
- this.send(command, optionsOrCb);
513
- } else if (typeof cb === "function") {
514
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
515
- this.send(command, optionsOrCb || {}, cb);
516
- } else {
517
- return this.send(command, optionsOrCb);
518
- }
519
- }
520
-
521
- /**
522
- * <p>Deletes an Amazon EKS node group for a cluster.</p>
523
- */
524
- public deleteNodegroup(
525
- args: DeleteNodegroupCommandInput,
526
- options?: __HttpHandlerOptions
527
- ): Promise<DeleteNodegroupCommandOutput>;
528
- public deleteNodegroup(
529
- args: DeleteNodegroupCommandInput,
530
- cb: (err: any, data?: DeleteNodegroupCommandOutput) => void
531
- ): void;
532
- public deleteNodegroup(
533
- args: DeleteNodegroupCommandInput,
534
- options: __HttpHandlerOptions,
535
- cb: (err: any, data?: DeleteNodegroupCommandOutput) => void
536
- ): void;
537
- public deleteNodegroup(
538
- args: DeleteNodegroupCommandInput,
539
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteNodegroupCommandOutput) => void),
540
- cb?: (err: any, data?: DeleteNodegroupCommandOutput) => void
541
- ): Promise<DeleteNodegroupCommandOutput> | void {
542
- const command = new DeleteNodegroupCommand(args);
543
- if (typeof optionsOrCb === "function") {
544
- this.send(command, optionsOrCb);
545
- } else if (typeof cb === "function") {
546
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
547
- this.send(command, optionsOrCb || {}, cb);
548
- } else {
549
- return this.send(command, optionsOrCb);
550
- }
551
- }
552
-
553
- /**
554
- * <p>Deregisters a connected cluster to remove it from the Amazon EKS control plane.</p>
555
- */
556
- public deregisterCluster(
557
- args: DeregisterClusterCommandInput,
558
- options?: __HttpHandlerOptions
559
- ): Promise<DeregisterClusterCommandOutput>;
560
- public deregisterCluster(
561
- args: DeregisterClusterCommandInput,
562
- cb: (err: any, data?: DeregisterClusterCommandOutput) => void
563
- ): void;
564
- public deregisterCluster(
565
- args: DeregisterClusterCommandInput,
566
- options: __HttpHandlerOptions,
567
- cb: (err: any, data?: DeregisterClusterCommandOutput) => void
568
- ): void;
569
- public deregisterCluster(
570
- args: DeregisterClusterCommandInput,
571
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterClusterCommandOutput) => void),
572
- cb?: (err: any, data?: DeregisterClusterCommandOutput) => void
573
- ): Promise<DeregisterClusterCommandOutput> | void {
574
- const command = new DeregisterClusterCommand(args);
575
- if (typeof optionsOrCb === "function") {
576
- this.send(command, optionsOrCb);
577
- } else if (typeof cb === "function") {
578
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
579
- this.send(command, optionsOrCb || {}, cb);
580
- } else {
581
- return this.send(command, optionsOrCb);
582
- }
583
- }
584
-
585
- /**
586
- * <p>Describes an Amazon EKS add-on.</p>
587
- */
588
- public describeAddon(
589
- args: DescribeAddonCommandInput,
590
- options?: __HttpHandlerOptions
591
- ): Promise<DescribeAddonCommandOutput>;
592
- public describeAddon(
593
- args: DescribeAddonCommandInput,
594
- cb: (err: any, data?: DescribeAddonCommandOutput) => void
595
- ): void;
596
- public describeAddon(
597
- args: DescribeAddonCommandInput,
598
- options: __HttpHandlerOptions,
599
- cb: (err: any, data?: DescribeAddonCommandOutput) => void
600
- ): void;
601
- public describeAddon(
602
- args: DescribeAddonCommandInput,
603
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAddonCommandOutput) => void),
604
- cb?: (err: any, data?: DescribeAddonCommandOutput) => void
605
- ): Promise<DescribeAddonCommandOutput> | void {
606
- const command = new DescribeAddonCommand(args);
607
- if (typeof optionsOrCb === "function") {
608
- this.send(command, optionsOrCb);
609
- } else if (typeof cb === "function") {
610
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
611
- this.send(command, optionsOrCb || {}, cb);
612
- } else {
613
- return this.send(command, optionsOrCb);
614
- }
615
- }
616
-
617
- /**
618
- * <p>Describes the Kubernetes versions that the add-on can be used with.</p>
619
- */
620
- public describeAddonVersions(
621
- args: DescribeAddonVersionsCommandInput,
622
- options?: __HttpHandlerOptions
623
- ): Promise<DescribeAddonVersionsCommandOutput>;
624
- public describeAddonVersions(
625
- args: DescribeAddonVersionsCommandInput,
626
- cb: (err: any, data?: DescribeAddonVersionsCommandOutput) => void
627
- ): void;
628
- public describeAddonVersions(
629
- args: DescribeAddonVersionsCommandInput,
630
- options: __HttpHandlerOptions,
631
- cb: (err: any, data?: DescribeAddonVersionsCommandOutput) => void
632
- ): void;
633
- public describeAddonVersions(
634
- args: DescribeAddonVersionsCommandInput,
635
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAddonVersionsCommandOutput) => void),
636
- cb?: (err: any, data?: DescribeAddonVersionsCommandOutput) => void
637
- ): Promise<DescribeAddonVersionsCommandOutput> | void {
638
- const command = new DescribeAddonVersionsCommand(args);
639
- if (typeof optionsOrCb === "function") {
640
- this.send(command, optionsOrCb);
641
- } else if (typeof cb === "function") {
642
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
643
- this.send(command, optionsOrCb || {}, cb);
644
- } else {
645
- return this.send(command, optionsOrCb);
646
- }
647
- }
648
-
649
- /**
650
- * <p>Returns descriptive information about an Amazon EKS cluster.</p>
651
- * <p>The API server endpoint and certificate authority data returned by this operation are
652
- * required for <code>kubelet</code> and <code>kubectl</code> to communicate with your
653
- * Kubernetes API server. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html">Create a
654
- * kubeconfig for Amazon EKS</a>.</p>
655
- * <note>
656
- * <p>The API server endpoint and certificate authority data aren't available until the
657
- * cluster reaches the <code>ACTIVE</code> state.</p>
658
- * </note>
659
- */
660
- public describeCluster(
661
- args: DescribeClusterCommandInput,
662
- options?: __HttpHandlerOptions
663
- ): Promise<DescribeClusterCommandOutput>;
664
- public describeCluster(
665
- args: DescribeClusterCommandInput,
666
- cb: (err: any, data?: DescribeClusterCommandOutput) => void
667
- ): void;
668
- public describeCluster(
669
- args: DescribeClusterCommandInput,
670
- options: __HttpHandlerOptions,
671
- cb: (err: any, data?: DescribeClusterCommandOutput) => void
672
- ): void;
673
- public describeCluster(
674
- args: DescribeClusterCommandInput,
675
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeClusterCommandOutput) => void),
676
- cb?: (err: any, data?: DescribeClusterCommandOutput) => void
677
- ): Promise<DescribeClusterCommandOutput> | void {
678
- const command = new DescribeClusterCommand(args);
679
- if (typeof optionsOrCb === "function") {
680
- this.send(command, optionsOrCb);
681
- } else if (typeof cb === "function") {
682
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
683
- this.send(command, optionsOrCb || {}, cb);
684
- } else {
685
- return this.send(command, optionsOrCb);
686
- }
687
- }
688
-
689
- /**
690
- * <p>Returns descriptive information about an Fargate profile.</p>
691
- */
692
- public describeFargateProfile(
693
- args: DescribeFargateProfileCommandInput,
694
- options?: __HttpHandlerOptions
695
- ): Promise<DescribeFargateProfileCommandOutput>;
696
- public describeFargateProfile(
697
- args: DescribeFargateProfileCommandInput,
698
- cb: (err: any, data?: DescribeFargateProfileCommandOutput) => void
699
- ): void;
700
- public describeFargateProfile(
701
- args: DescribeFargateProfileCommandInput,
702
- options: __HttpHandlerOptions,
703
- cb: (err: any, data?: DescribeFargateProfileCommandOutput) => void
704
- ): void;
705
- public describeFargateProfile(
706
- args: DescribeFargateProfileCommandInput,
707
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFargateProfileCommandOutput) => void),
708
- cb?: (err: any, data?: DescribeFargateProfileCommandOutput) => void
709
- ): Promise<DescribeFargateProfileCommandOutput> | void {
710
- const command = new DescribeFargateProfileCommand(args);
711
- if (typeof optionsOrCb === "function") {
712
- this.send(command, optionsOrCb);
713
- } else if (typeof cb === "function") {
714
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
715
- this.send(command, optionsOrCb || {}, cb);
716
- } else {
717
- return this.send(command, optionsOrCb);
718
- }
719
- }
720
-
721
- /**
722
- * <p>Returns descriptive information about an identity provider configuration.</p>
723
- */
724
- public describeIdentityProviderConfig(
725
- args: DescribeIdentityProviderConfigCommandInput,
726
- options?: __HttpHandlerOptions
727
- ): Promise<DescribeIdentityProviderConfigCommandOutput>;
728
- public describeIdentityProviderConfig(
729
- args: DescribeIdentityProviderConfigCommandInput,
730
- cb: (err: any, data?: DescribeIdentityProviderConfigCommandOutput) => void
731
- ): void;
732
- public describeIdentityProviderConfig(
733
- args: DescribeIdentityProviderConfigCommandInput,
734
- options: __HttpHandlerOptions,
735
- cb: (err: any, data?: DescribeIdentityProviderConfigCommandOutput) => void
736
- ): void;
737
- public describeIdentityProviderConfig(
738
- args: DescribeIdentityProviderConfigCommandInput,
739
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeIdentityProviderConfigCommandOutput) => void),
740
- cb?: (err: any, data?: DescribeIdentityProviderConfigCommandOutput) => void
741
- ): Promise<DescribeIdentityProviderConfigCommandOutput> | void {
742
- const command = new DescribeIdentityProviderConfigCommand(args);
743
- if (typeof optionsOrCb === "function") {
744
- this.send(command, optionsOrCb);
745
- } else if (typeof cb === "function") {
746
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
747
- this.send(command, optionsOrCb || {}, cb);
748
- } else {
749
- return this.send(command, optionsOrCb);
750
- }
751
- }
752
-
753
- /**
754
- * <p>Returns descriptive information about an Amazon EKS node group.</p>
755
- */
756
- public describeNodegroup(
757
- args: DescribeNodegroupCommandInput,
758
- options?: __HttpHandlerOptions
759
- ): Promise<DescribeNodegroupCommandOutput>;
760
- public describeNodegroup(
761
- args: DescribeNodegroupCommandInput,
762
- cb: (err: any, data?: DescribeNodegroupCommandOutput) => void
763
- ): void;
764
- public describeNodegroup(
765
- args: DescribeNodegroupCommandInput,
766
- options: __HttpHandlerOptions,
767
- cb: (err: any, data?: DescribeNodegroupCommandOutput) => void
768
- ): void;
769
- public describeNodegroup(
770
- args: DescribeNodegroupCommandInput,
771
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeNodegroupCommandOutput) => void),
772
- cb?: (err: any, data?: DescribeNodegroupCommandOutput) => void
773
- ): Promise<DescribeNodegroupCommandOutput> | void {
774
- const command = new DescribeNodegroupCommand(args);
775
- if (typeof optionsOrCb === "function") {
776
- this.send(command, optionsOrCb);
777
- } else if (typeof cb === "function") {
778
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
779
- this.send(command, optionsOrCb || {}, cb);
780
- } else {
781
- return this.send(command, optionsOrCb);
782
- }
783
- }
784
-
785
- /**
786
- * <p>Returns descriptive information about an update against your Amazon EKS cluster or
787
- * associated managed node group.</p>
788
- * <p>When the status of the update is <code>Succeeded</code>, the update is complete. If an
789
- * update fails, the status is <code>Failed</code>, and an error detail explains the reason
790
- * for the failure.</p>
791
- */
792
- public describeUpdate(
793
- args: DescribeUpdateCommandInput,
794
- options?: __HttpHandlerOptions
795
- ): Promise<DescribeUpdateCommandOutput>;
796
- public describeUpdate(
797
- args: DescribeUpdateCommandInput,
798
- cb: (err: any, data?: DescribeUpdateCommandOutput) => void
799
- ): void;
800
- public describeUpdate(
801
- args: DescribeUpdateCommandInput,
802
- options: __HttpHandlerOptions,
803
- cb: (err: any, data?: DescribeUpdateCommandOutput) => void
804
- ): void;
805
- public describeUpdate(
806
- args: DescribeUpdateCommandInput,
807
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeUpdateCommandOutput) => void),
808
- cb?: (err: any, data?: DescribeUpdateCommandOutput) => void
809
- ): Promise<DescribeUpdateCommandOutput> | void {
810
- const command = new DescribeUpdateCommand(args);
811
- if (typeof optionsOrCb === "function") {
812
- this.send(command, optionsOrCb);
813
- } else if (typeof cb === "function") {
814
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
815
- this.send(command, optionsOrCb || {}, cb);
816
- } else {
817
- return this.send(command, optionsOrCb);
818
- }
819
- }
820
-
821
- /**
822
- * <p>Disassociates an identity provider configuration from a cluster. If you disassociate
823
- * an identity provider from your cluster, users included in the provider can no longer
824
- * access the cluster. However, you can still access the cluster with Amazon Web Services IAM
825
- * users.</p>
826
- */
827
- public disassociateIdentityProviderConfig(
828
- args: DisassociateIdentityProviderConfigCommandInput,
829
- options?: __HttpHandlerOptions
830
- ): Promise<DisassociateIdentityProviderConfigCommandOutput>;
831
- public disassociateIdentityProviderConfig(
832
- args: DisassociateIdentityProviderConfigCommandInput,
833
- cb: (err: any, data?: DisassociateIdentityProviderConfigCommandOutput) => void
834
- ): void;
835
- public disassociateIdentityProviderConfig(
836
- args: DisassociateIdentityProviderConfigCommandInput,
837
- options: __HttpHandlerOptions,
838
- cb: (err: any, data?: DisassociateIdentityProviderConfigCommandOutput) => void
839
- ): void;
840
- public disassociateIdentityProviderConfig(
841
- args: DisassociateIdentityProviderConfigCommandInput,
842
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateIdentityProviderConfigCommandOutput) => void),
843
- cb?: (err: any, data?: DisassociateIdentityProviderConfigCommandOutput) => void
844
- ): Promise<DisassociateIdentityProviderConfigCommandOutput> | void {
845
- const command = new DisassociateIdentityProviderConfigCommand(args);
846
- if (typeof optionsOrCb === "function") {
847
- this.send(command, optionsOrCb);
848
- } else if (typeof cb === "function") {
849
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
850
- this.send(command, optionsOrCb || {}, cb);
851
- } else {
852
- return this.send(command, optionsOrCb);
853
- }
854
- }
855
-
856
- /**
857
- * <p>Lists the available add-ons.</p>
858
- */
859
- public listAddons(args: ListAddonsCommandInput, options?: __HttpHandlerOptions): Promise<ListAddonsCommandOutput>;
860
- public listAddons(args: ListAddonsCommandInput, cb: (err: any, data?: ListAddonsCommandOutput) => void): void;
861
- public listAddons(
862
- args: ListAddonsCommandInput,
863
- options: __HttpHandlerOptions,
864
- cb: (err: any, data?: ListAddonsCommandOutput) => void
865
- ): void;
866
- public listAddons(
867
- args: ListAddonsCommandInput,
868
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAddonsCommandOutput) => void),
869
- cb?: (err: any, data?: ListAddonsCommandOutput) => void
870
- ): Promise<ListAddonsCommandOutput> | void {
871
- const command = new ListAddonsCommand(args);
872
- if (typeof optionsOrCb === "function") {
873
- this.send(command, optionsOrCb);
874
- } else if (typeof cb === "function") {
875
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
876
- this.send(command, optionsOrCb || {}, cb);
877
- } else {
878
- return this.send(command, optionsOrCb);
879
- }
880
- }
881
-
882
- /**
883
- * <p>Lists the Amazon EKS clusters in your Amazon Web Services account in the specified Region.</p>
884
- */
885
- public listClusters(
886
- args: ListClustersCommandInput,
887
- options?: __HttpHandlerOptions
888
- ): Promise<ListClustersCommandOutput>;
889
- public listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
890
- public listClusters(
891
- args: ListClustersCommandInput,
892
- options: __HttpHandlerOptions,
893
- cb: (err: any, data?: ListClustersCommandOutput) => void
894
- ): void;
895
- public listClusters(
896
- args: ListClustersCommandInput,
897
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListClustersCommandOutput) => void),
898
- cb?: (err: any, data?: ListClustersCommandOutput) => void
899
- ): Promise<ListClustersCommandOutput> | void {
900
- const command = new ListClustersCommand(args);
901
- if (typeof optionsOrCb === "function") {
902
- this.send(command, optionsOrCb);
903
- } else if (typeof cb === "function") {
904
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
905
- this.send(command, optionsOrCb || {}, cb);
906
- } else {
907
- return this.send(command, optionsOrCb);
908
- }
909
- }
910
-
911
- /**
912
- * <p>Lists the Fargate profiles associated with the specified cluster in your Amazon Web Services
913
- * account in the specified Region.</p>
914
- */
915
- public listFargateProfiles(
916
- args: ListFargateProfilesCommandInput,
917
- options?: __HttpHandlerOptions
918
- ): Promise<ListFargateProfilesCommandOutput>;
919
- public listFargateProfiles(
920
- args: ListFargateProfilesCommandInput,
921
- cb: (err: any, data?: ListFargateProfilesCommandOutput) => void
922
- ): void;
923
- public listFargateProfiles(
924
- args: ListFargateProfilesCommandInput,
925
- options: __HttpHandlerOptions,
926
- cb: (err: any, data?: ListFargateProfilesCommandOutput) => void
927
- ): void;
928
- public listFargateProfiles(
929
- args: ListFargateProfilesCommandInput,
930
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFargateProfilesCommandOutput) => void),
931
- cb?: (err: any, data?: ListFargateProfilesCommandOutput) => void
932
- ): Promise<ListFargateProfilesCommandOutput> | void {
933
- const command = new ListFargateProfilesCommand(args);
934
- if (typeof optionsOrCb === "function") {
935
- this.send(command, optionsOrCb);
936
- } else if (typeof cb === "function") {
937
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
938
- this.send(command, optionsOrCb || {}, cb);
939
- } else {
940
- return this.send(command, optionsOrCb);
941
- }
942
- }
943
-
944
- /**
945
- * <p>A list of identity provider configurations.</p>
946
- */
947
- public listIdentityProviderConfigs(
948
- args: ListIdentityProviderConfigsCommandInput,
949
- options?: __HttpHandlerOptions
950
- ): Promise<ListIdentityProviderConfigsCommandOutput>;
951
- public listIdentityProviderConfigs(
952
- args: ListIdentityProviderConfigsCommandInput,
953
- cb: (err: any, data?: ListIdentityProviderConfigsCommandOutput) => void
954
- ): void;
955
- public listIdentityProviderConfigs(
956
- args: ListIdentityProviderConfigsCommandInput,
957
- options: __HttpHandlerOptions,
958
- cb: (err: any, data?: ListIdentityProviderConfigsCommandOutput) => void
959
- ): void;
960
- public listIdentityProviderConfigs(
961
- args: ListIdentityProviderConfigsCommandInput,
962
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListIdentityProviderConfigsCommandOutput) => void),
963
- cb?: (err: any, data?: ListIdentityProviderConfigsCommandOutput) => void
964
- ): Promise<ListIdentityProviderConfigsCommandOutput> | void {
965
- const command = new ListIdentityProviderConfigsCommand(args);
966
- if (typeof optionsOrCb === "function") {
967
- this.send(command, optionsOrCb);
968
- } else if (typeof cb === "function") {
969
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
970
- this.send(command, optionsOrCb || {}, cb);
971
- } else {
972
- return this.send(command, optionsOrCb);
973
- }
974
- }
975
-
976
- /**
977
- * <p>Lists the Amazon EKS managed node groups associated with the specified cluster in your
978
- * Amazon Web Services account in the specified Region. Self-managed node groups are not listed.</p>
979
- */
980
- public listNodegroups(
981
- args: ListNodegroupsCommandInput,
982
- options?: __HttpHandlerOptions
983
- ): Promise<ListNodegroupsCommandOutput>;
984
- public listNodegroups(
985
- args: ListNodegroupsCommandInput,
986
- cb: (err: any, data?: ListNodegroupsCommandOutput) => void
987
- ): void;
988
- public listNodegroups(
989
- args: ListNodegroupsCommandInput,
990
- options: __HttpHandlerOptions,
991
- cb: (err: any, data?: ListNodegroupsCommandOutput) => void
992
- ): void;
993
- public listNodegroups(
994
- args: ListNodegroupsCommandInput,
995
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListNodegroupsCommandOutput) => void),
996
- cb?: (err: any, data?: ListNodegroupsCommandOutput) => void
997
- ): Promise<ListNodegroupsCommandOutput> | void {
998
- const command = new ListNodegroupsCommand(args);
999
- if (typeof optionsOrCb === "function") {
1000
- this.send(command, optionsOrCb);
1001
- } else if (typeof cb === "function") {
1002
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1003
- this.send(command, optionsOrCb || {}, cb);
1004
- } else {
1005
- return this.send(command, optionsOrCb);
1006
- }
1007
- }
1008
-
1009
- /**
1010
- * <p>List the tags for an Amazon EKS resource.</p>
1011
- */
1012
- public listTagsForResource(
1013
- args: ListTagsForResourceCommandInput,
1014
- options?: __HttpHandlerOptions
1015
- ): Promise<ListTagsForResourceCommandOutput>;
1016
- public listTagsForResource(
1017
- args: ListTagsForResourceCommandInput,
1018
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1019
- ): void;
1020
- public listTagsForResource(
1021
- args: ListTagsForResourceCommandInput,
1022
- options: __HttpHandlerOptions,
1023
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1024
- ): void;
1025
- public listTagsForResource(
1026
- args: ListTagsForResourceCommandInput,
1027
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1028
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1029
- ): Promise<ListTagsForResourceCommandOutput> | void {
1030
- const command = new ListTagsForResourceCommand(args);
1031
- if (typeof optionsOrCb === "function") {
1032
- this.send(command, optionsOrCb);
1033
- } else if (typeof cb === "function") {
1034
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1035
- this.send(command, optionsOrCb || {}, cb);
1036
- } else {
1037
- return this.send(command, optionsOrCb);
1038
- }
1039
- }
1040
-
1041
- /**
1042
- * <p>Lists the updates associated with an Amazon EKS cluster or managed node group in your Amazon Web Services
1043
- * account, in the specified Region.</p>
1044
- */
1045
- public listUpdates(args: ListUpdatesCommandInput, options?: __HttpHandlerOptions): Promise<ListUpdatesCommandOutput>;
1046
- public listUpdates(args: ListUpdatesCommandInput, cb: (err: any, data?: ListUpdatesCommandOutput) => void): void;
1047
- public listUpdates(
1048
- args: ListUpdatesCommandInput,
1049
- options: __HttpHandlerOptions,
1050
- cb: (err: any, data?: ListUpdatesCommandOutput) => void
1051
- ): void;
1052
- public listUpdates(
1053
- args: ListUpdatesCommandInput,
1054
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListUpdatesCommandOutput) => void),
1055
- cb?: (err: any, data?: ListUpdatesCommandOutput) => void
1056
- ): Promise<ListUpdatesCommandOutput> | void {
1057
- const command = new ListUpdatesCommand(args);
1058
- if (typeof optionsOrCb === "function") {
1059
- this.send(command, optionsOrCb);
1060
- } else if (typeof cb === "function") {
1061
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1062
- this.send(command, optionsOrCb || {}, cb);
1063
- } else {
1064
- return this.send(command, optionsOrCb);
1065
- }
1066
- }
1067
-
1068
- /**
1069
- * <p>Connects a Kubernetes cluster to the Amazon EKS control plane. </p>
1070
- * <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes.
1071
- * </p>
1072
- * <p>Cluster connection requires two steps. First, send a <code>
1073
- * <a>RegisterClusterRequest</a>
1074
- * </code> to add it to the Amazon EKS control plane.</p>
1075
- * <p>Second, a <a href="https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml">Manifest</a> containing the <code>activationID</code> and <code>activationCode</code> must be applied to the Kubernetes cluster through it's native provider to provide visibility.</p>
1076
- *
1077
- * <p>After the Manifest is updated and applied, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within a set amount of time,
1078
- * then the connected cluster will no longer be visible and must be deregistered. See <a>DeregisterCluster</a>.</p>
1079
- */
1080
- public registerCluster(
1081
- args: RegisterClusterCommandInput,
1082
- options?: __HttpHandlerOptions
1083
- ): Promise<RegisterClusterCommandOutput>;
1084
- public registerCluster(
1085
- args: RegisterClusterCommandInput,
1086
- cb: (err: any, data?: RegisterClusterCommandOutput) => void
1087
- ): void;
1088
- public registerCluster(
1089
- args: RegisterClusterCommandInput,
1090
- options: __HttpHandlerOptions,
1091
- cb: (err: any, data?: RegisterClusterCommandOutput) => void
1092
- ): void;
1093
- public registerCluster(
1094
- args: RegisterClusterCommandInput,
1095
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterClusterCommandOutput) => void),
1096
- cb?: (err: any, data?: RegisterClusterCommandOutput) => void
1097
- ): Promise<RegisterClusterCommandOutput> | void {
1098
- const command = new RegisterClusterCommand(args);
1099
- if (typeof optionsOrCb === "function") {
1100
- this.send(command, optionsOrCb);
1101
- } else if (typeof cb === "function") {
1102
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1103
- this.send(command, optionsOrCb || {}, cb);
1104
- } else {
1105
- return this.send(command, optionsOrCb);
1106
- }
1107
- }
1108
-
1109
- /**
1110
- * <p>Associates the specified tags to a resource with the specified
1111
- * <code>resourceArn</code>. If existing tags on a resource are not specified in the
1112
- * request parameters, they are not changed. When a resource is deleted, the tags
1113
- * associated with that resource are deleted as well. Tags that you create for Amazon EKS
1114
- * resources do not propagate to any other resources associated with the cluster. For
1115
- * example, if you tag a cluster with this operation, that tag does not automatically
1116
- * propagate to the subnets and nodes associated with the cluster.</p>
1117
- */
1118
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1119
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1120
- public tagResource(
1121
- args: TagResourceCommandInput,
1122
- options: __HttpHandlerOptions,
1123
- cb: (err: any, data?: TagResourceCommandOutput) => void
1124
- ): void;
1125
- public tagResource(
1126
- args: TagResourceCommandInput,
1127
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1128
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1129
- ): Promise<TagResourceCommandOutput> | void {
1130
- const command = new TagResourceCommand(args);
1131
- if (typeof optionsOrCb === "function") {
1132
- this.send(command, optionsOrCb);
1133
- } else if (typeof cb === "function") {
1134
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1135
- this.send(command, optionsOrCb || {}, cb);
1136
- } else {
1137
- return this.send(command, optionsOrCb);
1138
- }
1139
- }
1140
-
1141
- /**
1142
- * <p>Deletes specified tags from a resource.</p>
1143
- */
1144
- public untagResource(
1145
- args: UntagResourceCommandInput,
1146
- options?: __HttpHandlerOptions
1147
- ): Promise<UntagResourceCommandOutput>;
1148
- public untagResource(
1149
- args: UntagResourceCommandInput,
1150
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1151
- ): void;
1152
- public untagResource(
1153
- args: UntagResourceCommandInput,
1154
- options: __HttpHandlerOptions,
1155
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1156
- ): void;
1157
- public untagResource(
1158
- args: UntagResourceCommandInput,
1159
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1160
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1161
- ): Promise<UntagResourceCommandOutput> | void {
1162
- const command = new UntagResourceCommand(args);
1163
- if (typeof optionsOrCb === "function") {
1164
- this.send(command, optionsOrCb);
1165
- } else if (typeof cb === "function") {
1166
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1167
- this.send(command, optionsOrCb || {}, cb);
1168
- } else {
1169
- return this.send(command, optionsOrCb);
1170
- }
1171
- }
1172
-
1173
- /**
1174
- * <p>Updates an Amazon EKS add-on.</p>
1175
- */
1176
- public updateAddon(args: UpdateAddonCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAddonCommandOutput>;
1177
- public updateAddon(args: UpdateAddonCommandInput, cb: (err: any, data?: UpdateAddonCommandOutput) => void): void;
1178
- public updateAddon(
1179
- args: UpdateAddonCommandInput,
1180
- options: __HttpHandlerOptions,
1181
- cb: (err: any, data?: UpdateAddonCommandOutput) => void
1182
- ): void;
1183
- public updateAddon(
1184
- args: UpdateAddonCommandInput,
1185
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAddonCommandOutput) => void),
1186
- cb?: (err: any, data?: UpdateAddonCommandOutput) => void
1187
- ): Promise<UpdateAddonCommandOutput> | void {
1188
- const command = new UpdateAddonCommand(args);
1189
- if (typeof optionsOrCb === "function") {
1190
- this.send(command, optionsOrCb);
1191
- } else if (typeof cb === "function") {
1192
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1193
- this.send(command, optionsOrCb || {}, cb);
1194
- } else {
1195
- return this.send(command, optionsOrCb);
1196
- }
1197
- }
1198
-
1199
- /**
1200
- * <p>Updates an Amazon EKS cluster configuration. Your cluster continues to function during the
1201
- * update. The response output includes an update ID that you can use to track the status
1202
- * of your cluster update with the <a>DescribeUpdate</a> API operation.</p>
1203
- * <p>You can use this API operation to enable or disable exporting the Kubernetes control
1204
- * plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't
1205
- * exported to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS
1206
- * Cluster Control Plane Logs</a> in the
1207
- * <i>
1208
- * <i>Amazon EKS User Guide</i>
1209
- * </i>.</p>
1210
- * <note>
1211
- * <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported
1212
- * control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch Pricing</a>.</p>
1213
- * </note>
1214
- * <p>You can also use this API operation to enable or disable public and private access to
1215
- * your cluster's Kubernetes API server endpoint. By default, public access is enabled, and
1216
- * private access is disabled. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster
1217
- * endpoint access control</a> in the <i>
1218
- * <i>Amazon EKS User Guide</i>
1219
- * </i>. </p>
1220
- * <important>
1221
- * <p>You can't update the subnets or security group IDs for an existing cluster.</p>
1222
- * </important>
1223
- * <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
1224
- * an update, the cluster status moves to <code>UPDATING</code> (this status transition is
1225
- * eventually consistent). When the update is complete (either <code>Failed</code> or
1226
- * <code>Successful</code>), the cluster status moves to <code>Active</code>.</p>
1227
- */
1228
- public updateClusterConfig(
1229
- args: UpdateClusterConfigCommandInput,
1230
- options?: __HttpHandlerOptions
1231
- ): Promise<UpdateClusterConfigCommandOutput>;
1232
- public updateClusterConfig(
1233
- args: UpdateClusterConfigCommandInput,
1234
- cb: (err: any, data?: UpdateClusterConfigCommandOutput) => void
1235
- ): void;
1236
- public updateClusterConfig(
1237
- args: UpdateClusterConfigCommandInput,
1238
- options: __HttpHandlerOptions,
1239
- cb: (err: any, data?: UpdateClusterConfigCommandOutput) => void
1240
- ): void;
1241
- public updateClusterConfig(
1242
- args: UpdateClusterConfigCommandInput,
1243
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateClusterConfigCommandOutput) => void),
1244
- cb?: (err: any, data?: UpdateClusterConfigCommandOutput) => void
1245
- ): Promise<UpdateClusterConfigCommandOutput> | void {
1246
- const command = new UpdateClusterConfigCommand(args);
1247
- if (typeof optionsOrCb === "function") {
1248
- this.send(command, optionsOrCb);
1249
- } else if (typeof cb === "function") {
1250
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1251
- this.send(command, optionsOrCb || {}, cb);
1252
- } else {
1253
- return this.send(command, optionsOrCb);
1254
- }
1255
- }
1256
-
1257
- /**
1258
- * <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your cluster continues
1259
- * to function during the update. The response output includes an update ID that you can
1260
- * use to track the status of your cluster update with the <a>DescribeUpdate</a>
1261
- * API operation.</p>
1262
- * <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
1263
- * an update, the cluster status moves to <code>UPDATING</code> (this status transition is
1264
- * eventually consistent). When the update is complete (either <code>Failed</code> or
1265
- * <code>Successful</code>), the cluster status moves to <code>Active</code>.</p>
1266
- * <p>If your cluster has managed node groups attached to it, all of your node groups’
1267
- * Kubernetes versions must match the cluster’s Kubernetes version in order to update the
1268
- * cluster to a new Kubernetes version.</p>
1269
- */
1270
- public updateClusterVersion(
1271
- args: UpdateClusterVersionCommandInput,
1272
- options?: __HttpHandlerOptions
1273
- ): Promise<UpdateClusterVersionCommandOutput>;
1274
- public updateClusterVersion(
1275
- args: UpdateClusterVersionCommandInput,
1276
- cb: (err: any, data?: UpdateClusterVersionCommandOutput) => void
1277
- ): void;
1278
- public updateClusterVersion(
1279
- args: UpdateClusterVersionCommandInput,
1280
- options: __HttpHandlerOptions,
1281
- cb: (err: any, data?: UpdateClusterVersionCommandOutput) => void
1282
- ): void;
1283
- public updateClusterVersion(
1284
- args: UpdateClusterVersionCommandInput,
1285
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateClusterVersionCommandOutput) => void),
1286
- cb?: (err: any, data?: UpdateClusterVersionCommandOutput) => void
1287
- ): Promise<UpdateClusterVersionCommandOutput> | void {
1288
- const command = new UpdateClusterVersionCommand(args);
1289
- if (typeof optionsOrCb === "function") {
1290
- this.send(command, optionsOrCb);
1291
- } else if (typeof cb === "function") {
1292
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1293
- this.send(command, optionsOrCb || {}, cb);
1294
- } else {
1295
- return this.send(command, optionsOrCb);
1296
- }
1297
- }
1298
-
1299
- /**
1300
- * <p>Updates an Amazon EKS managed node group configuration. Your node group continues to
1301
- * function during the update. The response output includes an update ID that you can use
1302
- * to track the status of your node group update with the <a>DescribeUpdate</a>
1303
- * API operation. Currently you can update the Kubernetes labels for a node group or the
1304
- * scaling configuration.</p>
1305
- */
1306
- public updateNodegroupConfig(
1307
- args: UpdateNodegroupConfigCommandInput,
1308
- options?: __HttpHandlerOptions
1309
- ): Promise<UpdateNodegroupConfigCommandOutput>;
1310
- public updateNodegroupConfig(
1311
- args: UpdateNodegroupConfigCommandInput,
1312
- cb: (err: any, data?: UpdateNodegroupConfigCommandOutput) => void
1313
- ): void;
1314
- public updateNodegroupConfig(
1315
- args: UpdateNodegroupConfigCommandInput,
1316
- options: __HttpHandlerOptions,
1317
- cb: (err: any, data?: UpdateNodegroupConfigCommandOutput) => void
1318
- ): void;
1319
- public updateNodegroupConfig(
1320
- args: UpdateNodegroupConfigCommandInput,
1321
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateNodegroupConfigCommandOutput) => void),
1322
- cb?: (err: any, data?: UpdateNodegroupConfigCommandOutput) => void
1323
- ): Promise<UpdateNodegroupConfigCommandOutput> | void {
1324
- const command = new UpdateNodegroupConfigCommand(args);
1325
- if (typeof optionsOrCb === "function") {
1326
- this.send(command, optionsOrCb);
1327
- } else if (typeof cb === "function") {
1328
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1329
- this.send(command, optionsOrCb || {}, cb);
1330
- } else {
1331
- return this.send(command, optionsOrCb);
1332
- }
1333
- }
1334
-
1335
- /**
1336
- * <p>Updates the Kubernetes version or AMI version of an Amazon EKS managed node group.</p>
1337
- * <p>You can update a node group using a launch template only if the node group was
1338
- * originally deployed with a launch template. If you need to update a custom AMI in a node
1339
- * group that was deployed with a launch template, then update your custom AMI, specify the
1340
- * new ID in a new version of the launch template, and then update the node group to the
1341
- * new version of the launch template.</p>
1342
- * <p>If you update without a launch template, then you can update to the latest available
1343
- * AMI version of a node group's current Kubernetes version by not specifying a Kubernetes
1344
- * version in the request. You can update to the latest AMI version of your cluster's
1345
- * current Kubernetes version by specifying your cluster's Kubernetes version in the
1346
- * request. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html">Amazon EKS
1347
- * optimized Amazon Linux 2 AMI versions</a> in the <i>Amazon EKS User Guide</i>.</p>
1348
- * <p>You cannot roll back a node group to an earlier Kubernetes version or AMI
1349
- * version.</p>
1350
- * <p>When a node in a managed node group is terminated due to a scaling action or update,
1351
- * the pods in that node are drained first. Amazon EKS attempts to drain the nodes gracefully
1352
- * and will fail if it is unable to do so. You can <code>force</code> the update if Amazon EKS
1353
- * is unable to drain the nodes as a result of a pod disruption budget issue.</p>
1354
- */
1355
- public updateNodegroupVersion(
1356
- args: UpdateNodegroupVersionCommandInput,
1357
- options?: __HttpHandlerOptions
1358
- ): Promise<UpdateNodegroupVersionCommandOutput>;
1359
- public updateNodegroupVersion(
1360
- args: UpdateNodegroupVersionCommandInput,
1361
- cb: (err: any, data?: UpdateNodegroupVersionCommandOutput) => void
1362
- ): void;
1363
- public updateNodegroupVersion(
1364
- args: UpdateNodegroupVersionCommandInput,
1365
- options: __HttpHandlerOptions,
1366
- cb: (err: any, data?: UpdateNodegroupVersionCommandOutput) => void
1367
- ): void;
1368
- public updateNodegroupVersion(
1369
- args: UpdateNodegroupVersionCommandInput,
1370
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateNodegroupVersionCommandOutput) => void),
1371
- cb?: (err: any, data?: UpdateNodegroupVersionCommandOutput) => void
1372
- ): Promise<UpdateNodegroupVersionCommandOutput> | void {
1373
- const command = new UpdateNodegroupVersionCommand(args);
1374
- if (typeof optionsOrCb === "function") {
1375
- this.send(command, optionsOrCb);
1376
- } else if (typeof cb === "function") {
1377
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1378
- this.send(command, optionsOrCb || {}, cb);
1379
- } else {
1380
- return this.send(command, optionsOrCb);
1381
- }
1382
- }
1383
- }